/* Homileto website (homileto.com). Same brand as the app: Gold #d4b06a, Blue #3c5c90, Charcoal #1f2937, set in Manrope. */

@font-face { font-family: "Manrope"; src: url("/assets/fonts/manrope.woff") format("woff"); font-weight: 200 800; font-style: normal; font-display: swap; }

:root {
  --gold: #d4b06a; --gold-deep: #a07a32; --gold-soft: #f6ecd6; --gold-ink: #6b4f1d;
  --blue: #3c5c90; --blue-hover: #2c4570;
  --charcoal: #1f2937; --charcoal-2: #283445; --charcoal-line: #374357;
  --ink: #1f2937; --body: #4b5563; --muted: #6b7280; --on-dark: #f3f4f6; --on-dark-muted: #c9ced6;
  --bg: #ffffff; --bg-soft: #f4f5f7; --line: #e2e5ea; --line-strong: #cfd5de;
  --radius: 12px; --wrap: 1240px;
  --shadow-shot: 0 2px 4px rgba(31,41,55,.05), 0 30px 60px -28px rgba(31,41,55,.32);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; font-size: 1rem; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
a:hover { color: var(--blue-hover); }
h1, h2, h3 { margin: 0; color: var(--ink); }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--blue); color: #fff; padding: .6rem 1rem; border-radius: 8px; z-index: 10; }
.skip:focus { top: 1rem; color: #fff; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.narrow { max-width: 900px; }
.soft { background: var(--bg-soft); }
.rule-top { border-top: 1px solid var(--line); }
.rule-bottom { border-bottom: 1px solid var(--line); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: .95rem 1.4rem; border-radius: var(--radius); font-weight: 700; text-decoration: none; line-height: 1.2; transition: background .15s, border-color .15s, color .15s; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-hover); color: #fff; }
.btn-outline { border: 1px solid var(--line-strong); background: #fff; color: var(--ink); font-weight: 600; }
.btn-outline:hover { border-color: var(--blue); color: var(--blue); }
.btn-outline-blue { border: 1px solid var(--blue); color: var(--blue); background: #fff; }
.btn-outline-blue:hover { background: var(--blue); color: #fff; }
.btn-gold { background: var(--gold); color: var(--charcoal); font-weight: 800; }
.btn-gold:hover { background: #e2c487; color: var(--charcoal); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.fine { font-size: .9rem; color: var(--muted); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 5; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: .5rem 1rem; align-items: center; justify-content: space-between; padding-top: .7rem; padding-bottom: .7rem; }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { height: 32px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: .25rem 1.4rem; align-items: center; font-size: .95rem; font-weight: 600; }
.nav a { text-decoration: none; color: var(--body); min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover { color: var(--blue); }
.nav a[aria-current="page"] { color: var(--blue); box-shadow: inset 0 -2px 0 var(--gold); }
.nav .btn { color: #fff; padding: .6rem 1.1rem; }
.nav .btn:hover { color: #fff; }
.brand .logo-icon, .nav .label-sm { display: none; }
@media (max-width: 560px) {
  .brand img { height: 28px; }
  .nav { gap: .25rem 1rem; font-size: .9rem; }
  .nav .hide-sm { display: none; }
}
/* Small phones: round logo and a shorter button so the header stays on one row */
@media (max-width: 480px) {
  .site-header .wrap { flex-wrap: nowrap; }
  .brand .logo-full { display: none; }
  .brand .logo-icon { display: block; height: 34px; width: 34px; }
  .nav { flex-wrap: nowrap; gap: .9rem; }
  .nav .label-lg { display: none; }
  .nav .label-sm { display: inline; }
  .nav .btn { padding: .55rem .9rem; }
}

/* Type helpers */
.eyebrow { font-size: .8rem; font-weight: 800; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: .6rem; }
.eyebrow.blue { color: var(--blue); }
.eyebrow.gold { color: var(--gold); }
.h-xl { font-weight: 800; font-size: clamp(2.5rem, 6vw, 4.4rem); line-height: 1.03; letter-spacing: -.04em; }
.h-lg { font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.1; letter-spacing: -.03em; }
.h-md { font-weight: 800; font-size: clamp(1.8rem, 3.2vw, 2.5rem); line-height: 1.12; letter-spacing: -.025em; }
.lead { font-size: 1.15rem; color: var(--body); }
.blue { color: var(--blue); }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Screenshot frames */
.shot { margin: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-shot); }
.shot-bar { display: flex; gap: .45rem; align-items: center; padding: .7rem 1rem; border-bottom: 1px solid var(--line); background: #f9fafb; }
.shot-bar span { width: 10px; height: 10px; border-radius: 50%; background: #d8dce2; }
.shot-bar .url { width: auto; height: auto; margin: 0 auto; border-radius: 6px; background: #fff; border: 1px solid var(--line); font-size: .78rem; color: var(--muted); padding: .1rem 2.5rem; }
.phone { margin: 0; border-radius: 26px; overflow: hidden; border: 6px solid var(--charcoal); background: var(--charcoal); box-shadow: 0 30px 50px -20px rgba(31,41,55,.45); }
.phone img { border-radius: 20px; }

/* Home: hero */
.hero-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; padding-top: clamp(3rem, 6vw, 5.5rem); padding-bottom: clamp(3rem, 6vw, 5.5rem); }
.hero-title { font-size: clamp(3rem, 5.4vw, 5.6rem); line-height: .98; letter-spacing: -.045em; }
.hero-title > span { display: block; }
.hero-title .thin { font-weight: 300; color: var(--muted); }
.hero-title .bold { font-weight: 800; }
.hero-title .dot { color: var(--gold); }
.hero-copy .lead { margin-top: 1.5rem; max-width: 30rem; }
.hero-copy .btn-row { margin-top: 2rem; }
.hero-copy .fine { margin-top: .8rem; }
.hero-media { position: relative; padding-bottom: 2rem; padding-right: clamp(1rem, 4vw, 3rem); }
.hero-media .phone { position: absolute; right: 0; bottom: 0; width: clamp(96px, 24%, 200px); border-width: 5px; border-radius: 22px; }
.hero-media .phone img { border-radius: 17px; }
.promises-band { border-top: 1px solid var(--line); }
.promises { padding-top: 3rem; padding-bottom: 3rem; }
/* Tablets and phones: the screenshot goes under the text */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-title { font-size: clamp(3rem, 11vw, 5.25rem); }
  .hero-copy .lead { max-width: 36rem; }
}
@media (max-width: 600px) { .page-head { padding-top: 3rem; } .shot-bar .url { padding: .1rem 1rem; } }
@media (max-width: 420px) { .hero-copy .btn-row .btn { flex: 1 1 100%; } }

.promises { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.promise { display: flex; gap: .85rem; align-items: flex-start; }
.promise svg { flex: none; margin-top: 2px; }
.promise strong { display: block; font-weight: 800; }
.promise p { color: var(--body); font-size: .95rem; margin-top: .2rem; }

/* Home: journey */
.journey { padding-top: 6rem; padding-bottom: 5rem; }
.journey .h-lg { max-width: 20ch; margin-bottom: 3rem; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 2rem 1.5rem; }
.step-img { border-radius: 12px; overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4 / 3; }
.step-img img { width: 100%; height: 100%; object-fit: cover; }
.step-num { margin-top: 1.25rem; font-size: 2.6rem; font-weight: 200; line-height: 1; color: var(--blue); }
.step-num.gold { color: var(--gold-deep); }
.step h3 { margin: .6rem 0 .35rem; font-size: 1.25rem; font-weight: 800; }
.step p { color: var(--body); }

/* Dark feature band */
.band-dark { background: var(--charcoal); color: var(--on-dark); border-radius: 24px; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center; }
.band-dark h2 { color: var(--on-dark); }
.band-dark p { color: var(--on-dark-muted); }
.band-dark .copy { flex: 1 1 360px; padding: 3.5rem 2.5rem; }
.band-dark .copy p { margin-top: 1rem; }
.band-dark .copy a.more { margin-top: 1.25rem; color: var(--gold); font-weight: 700; text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.band-dark .copy a.more:hover { color: #e6c88d; }
.band-dark .pic { flex: 1.4 1 480px; min-width: 0; align-self: stretch; padding-top: 2.5rem; }
.band-dark .pic img { border-radius: 14px 0 0 0; border-top: 1px solid var(--charcoal-line); border-left: 1px solid var(--charcoal-line); }
@media (max-width: 600px) { .band-dark .copy { padding: 2.5rem 1.5rem; } }

.name { padding-top: 1rem; padding-bottom: 6rem; display: flex; flex-wrap: wrap; gap: 3rem; align-items: center; }
.name-mark { flex: 1 1 360px; display: flex; gap: 1.5rem; align-items: center; }
.name-mark img { width: 96px; height: 96px; flex: none; }
.name-mark p { font-size: clamp(2.4rem, 5vw, 3.75rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--blue); }
.name-text { flex: 1 1 440px; }
.name-text h2 { font-size: 1.35rem; font-weight: 800; margin-bottom: .6rem; }
.name-text p { color: var(--body); font-size: 1.1rem; }

/* Closing call to action */
.cta .wrap { padding-top: 5rem; padding-bottom: 5rem; display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.cta .copy { flex: 1 1 420px; }
.cta .copy p { margin-top: .6rem; color: var(--body); font-size: 1.1rem; }

/* Features page */
.page-head { padding-top: 4.5rem; padding-bottom: 3rem; }
.page-head .h-xl { max-width: 17ch; margin: 0 auto; }
.page-head .lead { margin-top: 1.25rem; max-width: 40rem; }
.jump { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: .5rem; justify-content: center; font-size: .9rem; font-weight: 700; }
.jump a { text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem; min-height: 44px; display: inline-flex; align-items: center; background: #fff; }
.jump a:hover { border-color: var(--blue); color: var(--blue); }

.feature { padding-top: 5rem; padding-bottom: 5rem; display: flex; flex-wrap: wrap; gap: 3rem; align-items: center; scroll-margin-top: 80px; }
.feature.flip { flex-wrap: wrap-reverse; }
.feature .copy { flex: 1 1 340px; max-width: 440px; }
.feature .copy p { margin-top: 1rem; color: var(--body); }
.feature .copy .lead { font-size: 1.08rem; }
.feature .media { flex: 1.6 1 520px; min-width: 0; }
.ticks { margin: 1.25rem 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: .6rem; font-weight: 600; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks li::before { content: ""; flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); margin-top: .55rem; }
.chips { margin-top: 1.25rem; display: flex; flex-wrap: wrap; gap: .4rem; }
.chips span { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: .25rem .6rem; font-size: .85rem; font-weight: 700; }
.chips .es { background: var(--gold-soft); border-color: #ead7ae; color: var(--gold-ink); }

.podium { padding-top: 5.5rem; padding-bottom: 5rem; scroll-margin-top: 80px; }
.podium-head { display: flex; flex-wrap: wrap; gap: 2rem; align-items: flex-end; justify-content: space-between; margin-bottom: 2.5rem; }
.podium-head .copy { flex: 1 1 480px; max-width: 640px; }
.podium-head .copy p { margin-top: 1rem; }
.toggle { display: inline-flex; gap: .25rem; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 12px; padding: .25rem; }
.toggle button { font: inherit; font-size: .9rem; font-weight: 700; border: 0; border-radius: 9px; padding: .55rem 1.1rem; min-height: 44px; cursor: pointer; background: transparent; color: var(--body); }
.toggle button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(31,41,55,.15); }
.podium .shot { border-radius: 18px; }
.podium .shot img[hidden] { display: none; }
.facts { margin-top: 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.facts strong { display: block; font-weight: 800; }
.facts p { margin-top: .25rem; color: var(--body); font-size: .95rem; }

.phones { flex: 1.4 1 480px; min-width: 0; display: flex; gap: 1.25rem; justify-content: center; align-items: flex-end; }
.phones .phone { width: 30%; max-width: 230px; box-shadow: 0 24px 40px -20px rgba(31,41,55,.4); }
.phones .phone.up { margin-bottom: 2rem; }

.private { padding-bottom: 5rem; }
.private .band-dark { padding: 3.5rem 2.5rem; gap: 2.5rem; }
.private img { width: 104px; height: 104px; flex: none; }
.private .copy { flex: 999 1 480px; min-width: 0; padding: 0; }
.private .copy p { max-width: 44rem; }

/* Pricing page */
.plans { padding-top: 1.5rem; padding-bottom: 4rem; }
.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; align-items: stretch; }
.plan { border: 1px solid var(--line); border-radius: 20px; padding: 2.25rem; display: flex; flex-direction: column; gap: 1.25rem; position: relative; }
.plan.best { border: 2px solid var(--blue); box-shadow: 0 30px 50px -30px rgba(60,92,144,.45); }
.plan h2 { font-size: 1.15rem; font-weight: 800; color: var(--body); }
.plan.best h2 { color: var(--blue); }
.price { margin-top: .4rem; font-size: 3.25rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.plan .note { margin-top: .4rem; color: var(--muted); }
.plan .btn { margin-top: auto; }
.badge { position: absolute; top: -.9rem; left: 2.25rem; background: var(--gold); color: var(--charcoal); font-size: .8rem; font-weight: 800; padding: .3rem .8rem; border-radius: 999px; }
.included { margin-top: 2.5rem; background: var(--bg-soft); border-radius: 20px; padding: 2rem 2.25rem; }
.included h2 { font-size: 1.1rem; font-weight: 800; margin-bottom: 1rem; }
.included ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: .65rem 2rem; }
.included li { display: flex; gap: .6rem; align-items: flex-start; }
.included svg { flex: none; margin-top: 3px; }

.faq .wrap { padding-top: 5rem; padding-bottom: 5rem; }
.faq .h-lg { margin-bottom: 2rem; }
.faq-list { display: flex; flex-direction: column; gap: .75rem; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 1.4rem; }
.faq summary { cursor: pointer; font-weight: 800; font-size: 1.05rem; padding: 1.1rem 0; list-style: none; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; color: var(--blue); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--body); padding-bottom: 1.2rem; }
.faq .more { margin-top: 2rem; color: var(--body); }

/* Footer */
.site-footer { border-top: 1px solid var(--line); }
.site-footer .wrap { padding-top: 2.5rem; padding-bottom: 2.5rem; display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; justify-content: space-between; align-items: flex-start; font-size: .9rem; color: var(--muted); }
.site-footer .brand-col { display: flex; flex-direction: column; gap: .6rem; }
.site-footer .brand-col img { height: 26px; width: auto; align-self: flex-start; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; font-weight: 600; }
.site-footer nav a { color: var(--body); text-decoration: none; min-height: 44px; display: inline-flex; align-items: center; }
.site-footer nav a:hover { color: var(--blue); }

/* 404 */
.notfound { padding-top: 7rem; padding-bottom: 7rem; }
.notfound .btn-row { justify-content: center; margin-top: 2rem; }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
