@font-face { font-family: 'Montserrat'; src: url('/fonts/mont-400.woff2') format('woff2'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/mont-500.woff2') format('woff2'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/mont-600.woff2') format('woff2'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/mont-700.woff2') format('woff2'); font-weight: 700; font-display: swap; }
@font-face { font-family: 'Montserrat'; src: url('/fonts/mont-800.woff2') format('woff2'); font-weight: 800; font-display: swap; }

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #FFFAF5;
  --sand: #F7EEE5;
  --sand-2: #EFE2D5;
  --white: #FFFFFF;
  --ink: #1A1714;
  --ink-2: #4A423B;
  --ink-3: #7A6F66;
  --line: #E8DCCF;
  --orange: #E65C2D;
  --orange-deep: #C74A1F;
  --peach: #FDE8DD;
  --sky: #70A5E9;
  --sky-wash: #E7F0FC;
  --font: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1140px;
  --nav-h: 72px;
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

h1, h2, h3 { font-weight: 800; letter-spacing: -0.02em; line-height: 1.12; }
h1 { font-size: clamp(36px, 5.4vw, 58px); letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.6vw, 40px); }
h3 { font-size: 20px; font-weight: 700; letter-spacing: -0.01em; line-height: 1.3; }
.lede { font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 32em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font: 700 16px/1 var(--font);
  padding: 17px 30px;
  border-radius: 999px;
  text-decoration: none;
  border: 0; cursor: pointer;
  transition: background-color .15s ease, transform .15s ease;
}
.btn-main { background: var(--orange); color: var(--white); box-shadow: 0 8px 20px -8px rgba(230,92,45,.55); }
.btn-main:hover { background: var(--orange-deep); }
.btn-main:active { transform: translateY(1px); }
.btn-quiet { color: var(--ink); background: var(--white); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-quiet:hover { box-shadow: inset 0 0 0 1.5px var(--ink-3); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,250,245,.92);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav .wrap { height: var(--nav-h); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo img { height: 21px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 30px; list-style: none; }
.nav-links a { text-decoration: none; font-size: 15px; font-weight: 600; color: var(--ink-2); }
.nav-links a:hover { color: var(--orange-deep); }
.nav-links .btn { padding: 12px 22px; font-size: 15px; color: var(--white); }
@media (max-width: 860px) { .nav-links li:not(:last-child) { display: none; } }
@media (max-width: 400px) { .logo img { height: 17px; } }

/* HERO */
.hero { padding: 64px 0 104px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; z-index: -1;
  width: 720px; height: 720px; right: -160px; top: -120px;
  background: radial-gradient(circle, var(--peach) 0%, rgba(253,232,221,0) 68%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 64px; align-items: center; }
.hero h1 { margin-bottom: 18px; }
.hero .sub { font-size: clamp(21px, 2.4vw, 26px); font-weight: 700; color: var(--orange-deep); letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 16px; }
.hero .lede { margin-bottom: 34px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* The lead card: the one thing that moves */
.card-lead {
  background: var(--white);
  border-radius: 22px;
  box-shadow: 0 1px 0 var(--line), 0 30px 60px -28px rgba(120,60,20,.28);
  overflow: hidden;
  position: relative;
}
.card-top {
  padding: 22px 26px 20px;
  background: var(--peach);
  display: flex; align-items: center; gap: 14px;
}
.avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: grid; place-items: center;
  font-weight: 800; font-size: 18px; flex-shrink: 0;
}
.card-top .who { flex: 1; min-width: 0; }
.card-top .name { font-weight: 800; font-size: 19px; letter-spacing: -0.01em; }
.card-top .what { font-size: 14px; color: var(--ink-2); }
.ready {
  font-size: 13px; font-weight: 700; color: var(--white); background: var(--ink);
  padding: 7px 12px; border-radius: 999px; white-space: nowrap;
}
.card-intro { padding: 18px 26px 4px; font-size: 14px; font-weight: 600; color: var(--ink-3); }
.checks { list-style: none; padding: 6px 26px 8px; }
.checks li { display: grid; grid-template-columns: 26px 1fr auto; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 15.5px; font-weight: 600; }
.checks li:last-child { border-bottom: 0; }
.checks .dot { width: 26px; height: 26px; border-radius: 50%; background: var(--peach); color: var(--orange-deep); display: grid; place-items: center; }
.checks .dot svg { width: 14px; height: 14px; }
.checks small { font-size: 13px; font-weight: 500; color: var(--ink-3); text-align: right; }
.card-foot {
  margin: 8px 18px 18px; padding: 16px 18px; border-radius: 14px;
  background: var(--sand); display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 14px; color: var(--ink-2);
}
.card-foot strong { font-size: 22px; color: var(--ink); letter-spacing: -0.02em; display: block; line-height: 1.1; }
.card-note { font-size: 13px; color: var(--ink-3); margin-top: 14px; text-align: center; }

@media (prefers-reduced-motion: no-preference) {
  .js .checks li { opacity: 0; transform: translateX(-8px); }
  .js .checks.play li { animation: tick .45s ease forwards; }
  .js .checks.play li:nth-child(1) { animation-delay: .25s; }
  .js .checks.play li:nth-child(2) { animation-delay: .6s; }
  .js .checks.play li:nth-child(3) { animation-delay: .95s; }
  .js .checks.play li:nth-child(4) { animation-delay: 1.3s; }
  .js .checks.play li:nth-child(5) { animation-delay: 1.65s; }
  .js .ready { opacity: 0; transform: scale(.9); transition: opacity .35s ease, transform .35s ease; }
  .js .card-lead.done .ready { opacity: 1; transform: none; }
}
@keyframes tick { to { opacity: 1; transform: none; } }

@media (max-width: 920px) {
  .hero { padding: 36px 0 80px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
}
@media (max-width: 440px) {
  .card-top, .card-intro, .checks { padding-left: 18px; padding-right: 18px; }
  .checks li { grid-template-columns: 26px 1fr; }
  .checks small { grid-column: 2; text-align: left; margin-top: -6px; }
  .ready { display: none; }
}

/* CHANNELS */
.channels { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.channels .wrap { display: flex; align-items: center; gap: 12px 40px; padding-top: 24px; padding-bottom: 24px; flex-wrap: wrap; justify-content: center; }
.channels p { font-size: 15px; font-weight: 600; color: var(--ink-3); }
.channels ul { list-style: none; display: flex; gap: 10px 34px; flex-wrap: wrap; justify-content: center; }
.channels li { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 17px; color: var(--ink-2); letter-spacing: -0.01em; }
.channels li svg { width: 22px; height: 22px; fill: currentColor; flex-shrink: 0; }

/* SECTIONS */
.section { padding: 112px 0; }
.bg-white { background: var(--white); }
.bg-sand { background: var(--sand); }
.head { max-width: 38em; margin-bottom: 52px; }
.head.center { margin-left: auto; margin-right: auto; text-align: center; }
.head h2 { margin-bottom: 16px; }
.head p { font-size: 18px; color: var(--ink-2); }
@media (max-width: 700px) { .section { padding: 80px 0; } .head { margin-bottom: 36px; } }

/* WHAT WE DO */
.do-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.do {
  background: var(--white); border-radius: 20px; padding: 30px 28px;
  box-shadow: 0 0 0 1px var(--line);
}
.do .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--peach); color: var(--orange-deep); display: grid; place-items: center; margin-bottom: 20px; }
.do .ic svg { width: 26px; height: 26px; }
.do h3 { margin-bottom: 8px; }
.do p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 920px) { .do-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .do-grid { grid-template-columns: 1fr; } }

/* PORTAL */
.portal-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.portal-grid > * { min-width: 0; }
.portal-copy h2 { margin-bottom: 16px; }
.portal-copy > p { color: var(--ink-2); font-size: 18px; margin-bottom: 26px; }
.points p { color: var(--ink-2); font-size: 16px; padding: 14px 0; border-top: 1px solid var(--sand-2); }
.points b { color: var(--ink); font-weight: 700; }
.dash { background: var(--white); border-radius: 22px; padding: 26px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -34px rgba(120,60,20,.3); }
.dash-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.dash-top strong { font-size: 17px; }
.dash-top span { font-size: 13px; color: var(--ink-3); background: var(--sand); padding: 4px 10px; border-radius: 999px; }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 20px; }
.kpi { background: var(--cream); border-radius: 14px; padding: 14px 16px; }
.kpi dt { font-size: 13px; color: var(--ink-3); font-weight: 600; margin-bottom: 4px; }
.kpi dd { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; }
.kpi.key { background: var(--peach); }
.kpi.key dd { color: var(--orange-deep); }
.tbl-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14.5px; min-width: 440px; }
th { text-align: right; font-weight: 600; font-size: 13px; color: var(--ink-3); padding: 0 0 10px 10px; border-bottom: 1px solid var(--line); }
td { text-align: right; padding: 11px 0 11px 10px; border-bottom: 1px solid var(--line); color: var(--ink-2); }
th:first-child, td:first-child { text-align: left; padding-left: 0; }
td:first-child { color: var(--ink); font-weight: 700; }
tr.total td { border-bottom: 0; color: var(--ink); font-weight: 800; }
td.key, tr.total td.key { color: var(--orange-deep); font-weight: 700; }
.dash-note { font-size: 14px; color: var(--ink-2); margin-top: 16px; padding: 12px 14px; background: var(--sky-wash); border-radius: 12px; }
@media (max-width: 960px) {
  .portal-grid { grid-template-columns: 1fr; gap: 40px; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .dash { padding: 18px; }
}

/* TOGETHER: a real sequence */
.together { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; counter-reset: t; }
.together li { counter-increment: t; background: var(--white); border-radius: 20px; padding: 28px; box-shadow: 0 0 0 1px var(--line); }
.together li::before {
  content: counter(t);
  display: grid; place-items: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  font-weight: 800; font-size: 18px; margin-bottom: 18px;
}
.together h3 { margin-bottom: 8px; }
.together p { color: var(--ink-2); font-size: 16px; }
@media (max-width: 820px) { .together { grid-template-columns: 1fr; } }

/* PRICING */
.models { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.model { background: var(--cream); border-radius: 20px; padding: 28px; box-shadow: 0 0 0 1px var(--line); }
.model.pop { background: var(--peach); box-shadow: 0 0 0 2px var(--orange); }
.model h3 { margin-bottom: 10px; }
.model p { color: var(--ink-2); font-size: 16px; }
.model .best { margin-top: 16px; font-size: 14.5px; font-weight: 600; color: var(--ink); }
.small-print { margin-top: 28px; font-size: 15.5px; color: var(--ink-2); max-width: 50em; }
@media (max-width: 860px) { .models { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--white); border-radius: 16px; box-shadow: 0 0 0 1px var(--line); margin-bottom: 12px; }
.faq summary {
  list-style: none; cursor: pointer;
  padding: 20px 60px 20px 24px; position: relative;
  font-weight: 700; font-size: 17px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; position: absolute; right: 24px; top: 50%; width: 12px; height: 12px; margin-top: -9px;
  border-right: 2.5px solid var(--orange); border-bottom: 2.5px solid var(--orange);
  transform: rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -3px; }
.faq details p { padding: 0 24px 22px; color: var(--ink-2); font-size: 16px; }

/* CONTACT */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: start; }
.contact-side h2 { margin-bottom: 16px; }
.contact-side > p { color: var(--ink-2); margin-bottom: 30px; font-size: 18px; }
.meet { display: grid; grid-template-columns: 96px 1fr; gap: 20px; align-items: center; background: var(--white); border-radius: 20px; padding: 22px; box-shadow: 0 0 0 1px var(--line); }
.meet img { width: 96px; height: 96px; }
.meet p { font-size: 15.5px; color: var(--ink-2); }
.meet strong { color: var(--ink); display: block; font-size: 17px; margin-bottom: 4px; }

form.lead { background: var(--white); border-radius: 24px; padding: 32px; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -34px rgba(120,60,20,.3); }
.goal { border: 0; margin-bottom: 22px; }
.goal legend { font-weight: 800; font-size: 19px; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; }
.chips input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chips span {
  display: inline-block; padding: 11px 18px; border-radius: 999px;
  font-size: 15px; font-weight: 700; color: var(--ink-2);
  background: var(--cream); box-shadow: inset 0 0 0 1.5px var(--line);
  transition: background-color .15s, color .15s;
}
.chips input:checked + span { background: var(--orange); color: var(--white); box-shadow: none; }
.chips input:focus-visible + span { outline: 2.5px solid var(--orange); outline-offset: 2px; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.field label { font-size: 14.5px; font-weight: 700; }
.field label small { font-weight: 500; color: var(--ink-3); font-size: 13.5px; }
.field input, .field select, .field textarea {
  font: 500 16px/1.4 var(--font); color: var(--ink);
  padding: 13px 16px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--cream);
  width: 100%;
}
.field textarea { resize: vertical; min-height: 92px; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C74A1F' stroke-width='2' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 40px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 4px var(--peach); }
[aria-invalid="true"] { border-color: #B42318 !important; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: 14px; color: var(--ink-2); margin: 6px 0 22px; align-items: start; }
.consent input { width: 20px; height: 20px; margin-top: 1px; accent-color: var(--orange); }
.consent a { color: var(--orange-deep); font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
form.lead .btn { width: 100%; padding: 19px; font-size: 17px; }
form.lead .btn[disabled] { opacity: .6; cursor: wait; }
.form-error { color: #B42318; font-size: 15px; font-weight: 600; margin-top: 12px; min-height: 1.4em; }
.thanks { text-align: center; padding: 28px 8px; }
.thanks .big { width: 64px; height: 64px; border-radius: 50%; background: var(--peach); color: var(--orange-deep); display: grid; place-items: center; margin: 0 auto 18px; }
.thanks .big svg { width: 30px; height: 30px; }
.thanks h3 { font-size: 26px; margin-bottom: 10px; }
.thanks p { color: var(--ink-2); }
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 44px; } }
@media (max-width: 520px) { .row { grid-template-columns: 1fr; gap: 0; } form.lead { padding: 22px; } .meet { grid-template-columns: 72px 1fr; } .meet img { width: 72px; height: 72px; } }

/* FOOTER */
footer { background: var(--ink); color: #CFC5BB; padding: 48px 0; font-size: 15px; }
footer .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
footer img { height: 16px; width: auto; filter: invert(1) brightness(1.1); margin-bottom: 12px; }
footer a { color: var(--white); }
footer .legal { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
footer .legal button { font: inherit; color: var(--white); background: none; border: 0; text-decoration: underline; cursor: pointer; }

/* ---------- service pages ---------- */
.crumbs { font-size: 14px; color: var(--ink-3); margin-bottom: 22px; }
.crumbs a { color: var(--ink-3); text-decoration: none; font-weight: 600; }
.crumbs a:hover { color: var(--orange-deep); }
.page-hero { padding: 56px 0 88px; position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; z-index: -1; width: 720px; height: 720px; right: -200px; top: -200px; background: radial-gradient(circle, var(--peach) 0%, rgba(253,232,221,0) 68%); }
.page-hero .inner { max-width: 44em; }
.page-hero h1 { margin-bottom: 18px; }
.page-hero .sub { font-size: clamp(20px, 2.3vw, 24px); font-weight: 700; color: var(--orange-deep); letter-spacing: -0.015em; line-height: 1.3; margin-bottom: 16px; }
.page-hero .lede { margin-bottom: 32px; }
.intro-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.intro-grid p { color: var(--ink-2); font-size: 18px; margin-bottom: 18px; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related a { display: block; text-decoration: none; background: var(--white); border-radius: 18px; padding: 22px 24px; box-shadow: 0 0 0 1px var(--line); transition: box-shadow .15s; }
.related a:hover { box-shadow: 0 0 0 2px var(--orange); }
.related b { display: block; font-size: 17px; margin-bottom: 4px; }
.related span { font-size: 15px; color: var(--ink-3); }
@media (max-width: 860px) { .intro-grid { grid-template-columns: 1fr; gap: 20px; } .related { grid-template-columns: 1fr; } }

/* ---------- services hub on the home page ---------- */
.svc-groups { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.svc-groups h3 { font-size: 15px; font-weight: 700; color: var(--ink-3); margin-bottom: 12px; }
.svc-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.svc-groups .practice .svc-list { grid-template-columns: 1fr; }
.svc-list a { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-decoration: none; background: var(--white); border-radius: 16px; padding: 18px 20px; box-shadow: 0 0 0 1px var(--line); font-weight: 700; font-size: 16px; transition: box-shadow .15s; }
.svc-list a:hover { box-shadow: 0 0 0 2px var(--orange); }
.svc-list a svg { width: 18px; height: 18px; color: var(--orange); flex-shrink: 0; }
@media (max-width: 860px) { .svc-groups { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .svc-list { grid-template-columns: 1fr; } }

/* ---------- footer columns ---------- */
footer .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; width: 100%; margin-bottom: 28px; }
footer .foot-h { color: var(--white); font-size: 14px; font-weight: 700; margin-bottom: 10px; }
footer ul { list-style: none; display: grid; gap: 6px; }
footer ul a { color: #CFC5BB; text-decoration: none; }
footer ul a:hover { color: var(--white); }
footer .base { width: 100%; border-top: 1px solid #3A332D; padding-top: 20px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
@media (max-width: 760px) { footer .cols { grid-template-columns: 1fr; gap: 22px; } }
.together.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .together.cols-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .together.cols-4 { grid-template-columns: 1fr; } }

/* ---------- qualifying funnel ---------- */
.fn-head { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.fn-back { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--sand); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.fn-back:hover { background: var(--sand-2); color: var(--ink); }
.fn-back svg { width: 18px; height: 18px; }
.fn-progress { flex: 1; height: 8px; border-radius: 999px; background: var(--sand); overflow: hidden; }
.fn-progress i { display: block; height: 100%; width: 0; background: var(--orange); border-radius: 999px; transition: width .35s ease; }
.fn-stage { min-height: 360px; }
.fn-count { font-size: 13.5px; font-weight: 700; color: var(--orange-deep); margin-bottom: 6px; }
.fn-q { font-size: 22px; font-weight: 800; letter-spacing: -0.015em; line-height: 1.25; margin-bottom: 6px; }
.fn-hint { font-size: 14.5px; color: var(--ink-3); margin-bottom: 4px; }
.fn-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; }
.fn-card {
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
  text-align: left; cursor: pointer; padding: 16px; border-radius: 16px;
  background: var(--cream); border: 2px solid var(--line);
  font: 700 15px/1.3 var(--font); color: var(--ink);
  transition: border-color .15s, background-color .15s, transform .15s;
}
.fn-card svg { width: 30px; height: 30px; color: var(--orange-deep); }
.fn-card:hover { border-color: var(--orange); }
.fn-card.on { border-color: var(--orange); background: var(--peach); }
.fn-opts { display: grid; gap: 10px; margin-top: 18px; }
.fn-opt {
  display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer;
  padding: 15px 18px; border-radius: 14px; background: var(--cream); border: 2px solid var(--line);
  font: 600 16px/1.3 var(--font); color: var(--ink);
  transition: border-color .15s, background-color .15s;
}
.fn-opt i { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line); flex-shrink: 0; background: var(--white); position: relative; }
.fn-opt.multi i { border-radius: 6px; }
.fn-opt:hover { border-color: var(--orange); }
.fn-opt.on { border-color: var(--orange); background: var(--peach); }
.fn-opt.on i { border-color: var(--orange); background: var(--orange); }
.fn-opt.on i::after { content: ''; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.fn-card:focus-visible, .fn-opt:focus-visible { outline: 2.5px solid var(--orange); outline-offset: 2px; }
.fn-warn { color: #B42318; font-size: 14.5px; font-weight: 600; min-height: 1.4em; margin: 10px 0 6px; }
.fn-next { width: 100%; }
.shake { animation: shake .4s ease; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
.fn-eval { list-style: none; margin-top: 20px; display: grid; gap: 14px; }
.fn-eval li { display: flex; align-items: center; gap: 12px; font-weight: 600; color: var(--ink-3); transition: color .2s; }
.fn-eval li.done { color: var(--ink); }
.fn-spin { width: 22px; height: 22px; border-radius: 50%; border: 2.5px solid var(--sand-2); border-top-color: var(--orange); animation: spin .8s linear infinite; flex-shrink: 0; position: relative; }
.fn-eval li.done .fn-spin { animation: none; border-color: var(--orange); background: var(--orange); }
.fn-eval li.done .fn-spin::after { content: ''; position: absolute; left: 6px; top: 2.5px; width: 5px; height: 10px; border: solid var(--white); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }
.fn-verdict { margin-bottom: 22px; }
.fn-badge { width: 44px; height: 44px; border-radius: 50%; background: var(--orange); color: var(--white); display: grid; place-items: center; margin-bottom: 14px; }
.fn-badge svg { width: 24px; height: 24px; }
.fn-verdict p { color: var(--ink-2); font-size: 16px; margin-top: 8px; }
.fn-start { background: var(--peach); border-radius: 12px; padding: 12px 14px; }
.fn-start b { color: var(--ink); }
.fn-lead-in { font-weight: 700; color: var(--ink) !important; }
form.fn .fn-stage:has(.fn-verdict) { min-height: 0; }
@media (max-width: 420px) { .fn-cards { gap: 8px; } .fn-card { padding: 13px; font-size: 14px; } }
@media (prefers-reduced-motion: reduce) { .fn-spin { animation: none; } .shake { animation: none; } }

/* ---------- CTA rows ---------- */
.cta-row {
  margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 16px 24px; flex-wrap: wrap;
  background: var(--white); border-radius: 20px; padding: 22px 26px; box-shadow: 0 0 0 1px var(--line);
}
.bg-white .cta-row { background: var(--cream); }
.cta-row p { font-size: 18px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink); }
.cta-row .btn { flex-shrink: 0; }
.portal-cta { margin-top: 26px; }
@media (max-width: 600px) { .cta-row { flex-direction: column; align-items: stretch; text-align: center; padding: 22px 20px; } }

/* ---------- form pop-up ---------- */
.pm { position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; padding: 20px; }
.pm[hidden] { display: none; }
.pm-back { position: absolute; inset: 0; background: rgba(26,23,20,.55); opacity: 0; transition: opacity .2s ease; }
.pm-dialog {
  position: relative; width: 100%; max-width: 620px; max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px);
  background: var(--white); border-radius: 24px; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 40px 80px -20px rgba(40,20,5,.45);
  opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .22s ease, transform .22s ease;
}
.pm.in .pm-back { opacity: 1; }
.pm.in .pm-dialog { opacity: 1; transform: none; }
.pm-head { display: flex; align-items: center; gap: 12px; padding: 18px 20px 16px 24px; border-bottom: 1px solid var(--line); }
.pm-head img { width: 40px; height: 40px; flex-shrink: 0; }
.pm-head > div { flex: 1; min-width: 0; }
.pm-title { font-weight: 800; font-size: 17px; letter-spacing: -0.01em; line-height: 1.25; }
.pm-sub { font-size: 13.5px; color: var(--ink-3); }
.pm-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--sand); color: var(--ink-2); display: grid; place-items: center; cursor: pointer; flex-shrink: 0; }
.pm-x:hover { background: var(--sand-2); color: var(--ink); }
.pm-x svg { width: 18px; height: 18px; }
.pm-body { overflow-y: auto; overscroll-behavior: contain; padding: 24px; -webkit-overflow-scrolling: touch; }
.pm-body form.lead { box-shadow: none; padding: 0; border-radius: 0; }
.pm-body .fn-stage { min-height: 0; }
html.pm-open, html.pm-open body { overflow: hidden; }
@media (max-width: 600px) {
  .pm { padding: 0; align-items: flex-end; }
  .pm-dialog { max-width: none; border-radius: 22px 22px 0 0; max-height: 94vh; max-height: 94dvh; transform: translateY(40px); }
  .pm-body { padding: 20px 18px calc(20px + env(safe-area-inset-bottom)); }
}
@media (prefers-reduced-motion: reduce) { .pm-back, .pm-dialog { transition: none; } }
.fn-back[hidden] { display: none; }
.thanks-close { display: none; margin-top: 22px; }
.pm-body .thanks-close { display: inline-flex; }

/* ---------- phone with country code ---------- */
.tel { display: flex; gap: 8px; }
.tel input { flex: 1; min-width: 0; }
.cc { position: relative; flex-shrink: 0; }
.cc-show {
  display: flex; align-items: center; gap: 6px; height: 100%; min-height: 50px; padding: 0 34px 0 14px;
  border: 1.5px solid var(--line); border-radius: 12px; background: var(--cream);
  font: 600 16px/1 var(--font); color: var(--ink); white-space: nowrap;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23C74A1F' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center;
}
.cc select { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; font-size: 16px; }
.cc select:focus-visible + .cc-show, .cc:focus-within .cc-show { border-color: var(--orange); box-shadow: 0 0 0 4px var(--peach); background-color: var(--white); }

/* ---------- services dropdown ---------- */
.has-menu { position: relative; }
.nav-drop { display: inline-flex; align-items: center; gap: 7px; font: 600 15px/1 var(--font); color: var(--ink-2); background: none; border: 0; cursor: pointer; padding: 10px 0; }
.nav-drop svg { width: 11px; height: 8px; transition: transform .2s ease; }
.nav-drop:hover, .nav-drop[aria-expanded="true"] { color: var(--orange-deep); }
.nav-drop[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega {
  position: absolute; top: calc(100% + 12px); left: 50%; transform: translateX(-38%);
  width: 560px; display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px;
  background: var(--white); border-radius: 20px; padding: 22px 24px;
  box-shadow: 0 0 0 1px var(--line), 0 24px 48px -20px rgba(80,40,10,.3);
}
.mega[hidden] { display: none; }
.mega::before { content: ''; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.mega-h { font-size: 13px; font-weight: 700; color: var(--ink-3); margin-bottom: 8px; }
.mega ul { list-style: none; display: grid; gap: 2px; }
.mega ul a { display: block; padding: 8px 10px; margin: 0 -10px; border-radius: 10px; font-weight: 600; font-size: 15px; color: var(--ink); text-decoration: none; }
.mega ul a:hover, .mega ul a[aria-current="page"] { background: var(--peach); color: var(--orange-deep); }
.mega .mega-all { display: inline-block; margin-top: 14px; font-size: 14.5px; font-weight: 700; color: var(--orange-deep); text-decoration: none; }
.mega .mega-all:hover { text-decoration: underline; }

/* ---------- mobile menu ---------- */
.burger { display: none; width: 44px; height: 44px; border-radius: 12px; border: 0; background: var(--sand); cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; flex-shrink: 0; }
.burger span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .2s ease, opacity .2s ease; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mnav { position: fixed; left: 0; right: 0; top: var(--nav-h); bottom: 0; z-index: 49; background: var(--cream); overflow-y: auto; padding: 18px 0 32px; border-top: 1px solid var(--line); }
.mnav[hidden] { display: none; }
.mnav .mega-h { margin: 14px 0 6px; }
.mnav ul { list-style: none; }
.mnav ul a { display: block; padding: 11px 0; font-weight: 700; font-size: 17px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav ul a[aria-current="page"] { color: var(--orange-deep); }
.mnav-main { margin-top: 22px; }
.mnav-main a { font-size: 18px; }
.mnav-cta { width: 100%; margin-top: 26px; }
html.mnav-open, html.mnav-open body { overflow: hidden; }
@media (max-width: 860px) {
  .burger { display: flex; }
  .nav .wrap { gap: 12px; }
  .nav nav { margin-left: auto; }
}
@media (max-width: 400px) { .nav-links .btn { padding: 11px 16px; font-size: 14px; } }
.nav-links .btn { white-space: nowrap; }
@media (max-width: 480px) {
  .logo img { height: 16px; }
  .nav-links .btn { padding: 10px 14px; font-size: 14px; }
  .burger { width: 40px; height: 40px; }
}
