/* Homepage only. The other pages keep style.css, so changing this file cannot affect them. */
:root {
  --bg: #ffffff; --soft: #f6f8f7; --ink: #142023; --muted: #5b6b70; --line: #e6ebe9;
  --accent: #0a3594; --accent-dark: #072769; --accent-soft: #e9effb; --bright: #0a6fd6; --slate: #3c5478;
  --red: #b3261e; --red-bg: #fbe9e7; --amber: #b07a00;
  --shadow: 0 1px 2px rgba(16,32,30,.04), 0 8px 28px rgba(16,32,30,.07);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 18px; line-height: 1.6; }
a { color: inherit; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

header.top { border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 28px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.02em; margin-right: auto; }
.brand i { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: var(--accent); color: #fff; font-style: normal; font-size: 1rem; }
nav.links, nav.acct { display: flex; gap: 24px; align-items: center; font-size: 0.98rem; }
nav.links a, nav.acct a { text-decoration: none; color: var(--muted); }
nav.acct a { color: var(--accent); font-weight: 600; }
nav.acct a.btn { color: #fff; padding: 9px 16px; font-size: 0.95rem; box-shadow: none; }
nav.acct a.warn { color: var(--red); }

.hero { padding: 88px 0 96px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; align-items: center; }
h1 { font-size: 3.1rem; line-height: 1.1; letter-spacing: -0.035em; margin: 0 0 20px; font-weight: 800; }
.lead { font-size: 1.2rem; color: var(--muted); margin: 0 0 32px; max-width: 30em; }
.lead b { color: var(--ink); font-weight: 600; }
.btn { display: inline-block; background: var(--accent); color: #fff; text-decoration: none; font-weight: 600; font-size: 1.08rem; padding: 16px 30px; border-radius: 12px; box-shadow: 0 6px 18px rgba(10,53,148,.22); }
.btn:hover { background: var(--accent-dark); }
.btn span { margin-left: 6px; }
.under { margin: 14px 0 0; font-size: 0.95rem; color: var(--muted); }
.count { margin: 18px 0 0; font-size: 0.95rem; color: var(--accent); font-weight: 600; }
.translate { margin: 18px 0 0; font-size: 0.85rem; color: var(--muted); }

.card { background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); padding: 26px 28px; }
.tag { font-size: 0.78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin: 0 0 12px; }
.pill { display: inline-block; background: var(--red-bg); color: var(--red); font-weight: 700; font-size: 0.8rem; letter-spacing: .05em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.costs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0; }
.costs div { background: var(--soft); border-radius: 12px; padding: 12px 14px; }
.costs small { display: block; color: var(--muted); font-size: 0.82rem; }
.costs strong { font-size: 1.25rem; letter-spacing: -0.01em; }
.qs { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; }
.qs li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-top: 1px solid var(--line); }
.dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.dot.red { background: var(--red); } .dot.amber { background: var(--amber); }
.note { font-size: 0.8rem; color: var(--muted); margin: 12px 0 0; }

.how { background: var(--soft); padding: 88px 0; }
h2 { font-size: 2rem; letter-spacing: -0.03em; margin: 0 0 40px; text-align: center; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: #fff; border-radius: 16px; padding: 28px; border: 1px solid var(--line); }
.num { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; margin-bottom: 16px; }
.step h3 { margin: 0 0 6px; font-size: 1.12rem; }
.step p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.center { text-align: center; margin: 40px 0 0; }

.trust { padding: 80px 0; text-align: center; }
.trust p { color: var(--muted); margin: 0 auto; max-width: 36em; }
.trust p.big { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; color: var(--ink); }
.trust .who { margin-top: 20px; font-size: 0.98rem; }
.trust .who b { color: var(--ink); }

footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 0.9rem; color: var(--muted); }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer .flinks a { text-decoration: none; margin-left: 20px; }

@media (max-width: 760px) {
  body { font-size: 17px; }
  header.top .wrap { gap: 16px; }
  header.top .wrap { height: auto; flex-wrap: wrap; padding-top: 10px; padding-bottom: 10px; row-gap: 6px; }
  nav.links { order: 3; width: 100%; gap: 18px; overflow-x: auto; white-space: nowrap; font-size: .9rem; }
  nav.acct a.btn { display: none; }
  .hero { padding: 48px 0 56px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 40px; }
  h1 { font-size: 2.3rem; }
  .btn { display: block; text-align: center; }
  .under, .count, .translate { text-align: center; }
  .how { padding: 56px 0; }
  h2 { font-size: 1.6rem; margin-bottom: 24px; }
  .steps { grid-template-columns: 1fr; }
  .trust { padding: 56px 0; }
  .trust p.big { font-size: 1.35rem; }
  footer .flinks a { margin: 0 16px 0 0; display: inline-block; }
}

/* Why Fincham exists + done-for-you review (added 10 Oct) */
.eyebrow { text-align: center; font-size: 0.8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--accent); font-weight: 700; margin: 0 0 10px; }
.mission { padding: 88px 0; }
.mission h2 { margin-bottom: 24px; }
.mlead { max-width: 40em; margin: 0 auto 16px; text-align: center; color: var(--muted); font-size: 1.1rem; }
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.pillars div { border-top: 3px solid var(--accent); padding-top: 16px; }
.pillars h3 { margin: 0 0 6px; font-size: 1.1rem; }
.pillars p { margin: 0; color: var(--muted); font-size: 0.98rem; }
.review { padding: 0 0 88px; }
.review-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--accent-soft); border-color: transparent; box-shadow: none; padding: 36px 40px; }
.review-card h2 { text-align: left; margin: 0 0 8px; font-size: 1.6rem; }
.review-card p { margin: 0; color: var(--ink); max-width: 36em; }
.review-card .btn { flex: none; }
footer .wrap span a { text-decoration: none; }
@media (max-width: 760px) {
  .mission { padding: 56px 0; }
  .mlead { text-align: left; }
  .pillars { grid-template-columns: 1fr; gap: 20px; margin-top: 32px; }
  .review { padding-bottom: 56px; }
  .review-card { flex-direction: column; align-items: stretch; padding: 28px 24px; }
}

/* ---- Polish (10 Oct): Inter, glow, gradient headline, card depth, sticky header, motion ---- */
@font-face { font-family: "Inter"; src: url("/fonts/inter-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }
:root { --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --ease: cubic-bezier(.2,.7,.2,1); }
body { font-feature-settings: "cv11", "ss01"; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-feature-settings: "cv11", "ss01", "ss03"; }

header.top { position: sticky; top: 0; z-index: 10; background: rgba(255,255,255,.78); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px); border-bottom-color: transparent; transition: border-color .2s, box-shadow .2s; }
header.top.scrolled { border-bottom-color: var(--line); box-shadow: 0 1px 12px rgba(16,32,30,.05); }

.hero { position: relative; overflow: hidden; }
.glow { position: absolute; inset: -20% -10% auto -10%; height: 760px; pointer-events: none; z-index: 0;
  background: radial-gradient(520px 340px at 78% 30%, rgba(10,111,214,.20), transparent 70%),
              radial-gradient(460px 300px at 18% 8%, rgba(10,53,148,.12), transparent 70%),
              radial-gradient(380px 260px at 60% 85%, rgba(60,84,120,.10), transparent 70%); }
.hero .wrap { position: relative; z-index: 1; }
.grad { background: linear-gradient(92deg, #0a3594 0%, #0a52b8 45%, #0a6fd6 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }

.stack { position: relative; perspective: 1400px; }
.stack .card#example { position: relative; transform: rotateY(-6deg) rotateX(2deg); transform-origin: left center; transition: transform .6s var(--ease), box-shadow .6s var(--ease);
  box-shadow: 0 1px 1px rgba(16,32,30,.04), 0 12px 24px -8px rgba(16,32,30,.10), 0 40px 80px -24px rgba(10,53,148,.22); }
.stack:hover .card#example { transform: rotateY(-2deg) rotateX(1deg) translateY(-4px); }
.ghost { position: absolute; inset: 22px -18px -18px 22px; background: linear-gradient(160deg, #eef3fc, #e6eefa); border: 1px solid var(--line); box-shadow: none; transform: rotateY(-6deg) rotateX(2deg); }

.btn { transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 10px 24px rgba(10,53,148,.30); }
.btn span { display: inline-block; transition: transform .18s var(--ease); }
.btn:hover span { transform: translateX(3px); }

.step, .pillars > div { transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }

.icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); margin-bottom: 14px; }
.icon svg { width: 22px; height: 22px; fill: none; stroke: var(--accent); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pillars > div { border-top: 0; padding-top: 0; }

html.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
html.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; transition: none; }
  .stack .card#example, .ghost { transform: none; }
  .btn, .btn span, .step { transition: none; }
}
@media (max-width: 760px) {
  .stack .card#example, .ghost { transform: none; }
  .ghost { inset: 14px -8px -10px 14px; }
  .glow { height: 520px; }
}
.costs strong { white-space: nowrap; font-size: 1.15rem; }
.glow { -webkit-mask-image: linear-gradient(to bottom, #000 55%, transparent 92%); mask-image: linear-gradient(to bottom, #000 55%, transparent 92%); }
@media (max-width: 760px) { .costs strong { font-size: 1.02rem; } }
.brand img { display: block; height: 44px; width: auto; }
@media (max-width: 760px) { .brand img { height: 36px; } }
.more { margin: 14px 0 0; font-size: 0.95rem; font-weight: 600; }
.more a { color: var(--accent); text-decoration: none; }
.more a:hover span { margin-left: 4px; }
nav.links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
@media (max-width: 760px) { nav.links { flex-wrap: wrap; overflow: visible; white-space: normal; gap: 4px 16px; font-size: .88rem; } }
