/* ==========================================================================
   Nest GI · Homepage
   Brand system: Nest Teal #157986 + Nest Lime #BEF09A (sampled from the logo),
   deepened with Ink and warmed with Eggshell.
   ========================================================================== */

/* ---------- Fonts (self-hosted, latin subset) ---------- */
@font-face {
  font-family: "Figtree";
  src: url("/case-studies/concepts/_assets/8330490a01c60c196eae00b8.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/case-studies/concepts/_assets/ae2661e19b77e3c9306161d1.woff2") format("woff2");
  font-weight: 400 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("/case-studies/concepts/_assets/93fa4af3e561914efd4c3bb4.woff2") format("woff2");
  font-weight: 400 600;
  font-style: italic;
  font-display: swap;
}
/* Metric-matched fallbacks keep layout shift low while fonts load */
@font-face {
  font-family: "Fraunces Fallback";
  src: local("Georgia");
  size-adjust: 104%;
  ascent-override: 94%;
  descent-override: 25%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Figtree Fallback";
  src: local("Arial");
  size-adjust: 97%;
  ascent-override: 98%;
  descent-override: 26%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --ink: #0c2f33;
  --ink-2: #113d42;
  --ink-3: #164a50;
  --teal: #157986;          /* Nest Teal, from the wordmark */
  --teal-700: #10606b;
  --teal-300: #8cc3c9;
  --teal-100: #d4ebed;
  --teal-50: #ebf5f5;
  --lime: #bef09a;          /* Nest Lime, from the mark */
  --lime-soft: #d4f5bb;
  --lime-pale: #e3f3a6;     /* existing secondary lime */
  --lime-50: #f2fbe6;
  --egg: #f8f6ef;           /* Eggshell */
  --sand: #efebe0;
  --paper: #ffffff;
  --text: var(--ink);
  --muted: #4a6366;
  --muted-on-dark: rgba(248, 246, 239, .74);
  --line: rgba(12, 47, 51, .12);
  --line-strong: rgba(12, 47, 51, .22);
  --line-on-dark: rgba(248, 246, 239, .12);
  --error: #b42318;

  --font-display: "Fraunces", "Fraunces Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Figtree", "Figtree Fallback", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius-s: 12px;
  --radius: 18px;
  --radius-l: 26px;
  --shadow-s: 0 1px 2px rgba(12, 47, 51, .06), 0 2px 10px rgba(12, 47, 51, .05);
  --shadow: 0 2px 4px rgba(12, 47, 51, .04), 0 16px 40px -12px rgba(12, 47, 51, .2);
  --shadow-l: 0 40px 90px -24px rgba(3, 22, 25, .55), 0 2px 6px rgba(3, 22, 25, .12);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--egg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-underline-offset: .18em; }
h1, h2, h3, h4, p, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
strong, b { font-weight: 700; }
::selection { background: var(--lime); color: var(--ink); }

:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible { outline-color: var(--lime); }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: .7rem 1rem; border-radius: 10px; background: var(--lime); color: var(--ink);
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}
.icon--fill { fill: currentColor; stroke: none; }

/* ---------- Type ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.75rem, 1.35rem + 4.9vw, 5.4rem);
  line-height: 1.01;
  letter-spacing: -.025em;
}
.h2 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 1.35rem + 2.6vw, 3.55rem);
  line-height: 1.05;
  letter-spacing: -.022em;
  text-wrap: balance;
}
.h2--xl { font-size: clamp(2.5rem, 1.4rem + 3.8vw, 4.6rem); }
.display em, .h2 em { font-style: italic; font-weight: 400; }
.h2 em { color: var(--teal); }
.on-dark .h2 em { color: var(--lime); }

.lead {
  font-size: clamp(1.1rem, 1.02rem + .35vw, 1.28rem);
  line-height: 1.55;
  color: var(--muted);
  max-width: 44ch;
  text-wrap: pretty;
}
.on-dark .lead { color: var(--muted-on-dark); }

.eyebrow {
  display: inline-flex; align-items: center; gap: .65rem;
  margin-bottom: 1.1rem;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: var(--teal);
}
.eyebrow::before {
  content: ""; width: 26px; height: 10px; flex: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 8.5h24M18 8.5 22 1.5' fill='none' stroke='%23157986' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat center / contain;
}
.on-dark .eyebrow { color: var(--lime); }
.on-dark .eyebrow::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 10'%3E%3Cpath d='M1 8.5h24M18 8.5 22 1.5' fill='none' stroke='%23BEF09A' stroke-width='2.4'/%3E%3C/svg%3E");
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink); --btn-fg: var(--egg);
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 48px; padding: .8rem 1.35rem;
  border: 1.5px solid transparent; border-radius: 999px;
  background: var(--btn-bg); color: var(--btn-fg);
  font-weight: 700; font-size: 1rem; line-height: 1.2; text-decoration: none; white-space: nowrap;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s var(--ease), box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn .icon { width: 1.15em; height: 1.15em; }
.btn__arrow { transition: transform .25s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }
.btn--sm { min-height: 42px; padding: .6rem 1.1rem; font-size: .95rem; }
.btn--lg { min-height: 56px; padding: 1rem 1.6rem; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--ink); box-shadow: 0 6px 20px -8px rgba(190, 240, 154, .55); }
.btn--lime:hover { --btn-bg: #cdf6ae; box-shadow: 0 10px 26px -8px rgba(190, 240, 154, .7); }
.btn--ink:hover { --btn-bg: var(--teal); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--ghost-light { --btn-bg: transparent; --btn-fg: var(--egg); border-color: rgba(248, 246, 239, .3); }
.btn--ghost-light:hover { border-color: var(--lime); --btn-fg: #fff; }

/* ---------- Status dot ---------- */
.status-dot {
  display: inline-block; width: 8px; height: 8px; flex: none; border-radius: 50%;
  background: var(--teal-300);
}
.is-open .status-dot { background: #7fe06a; animation: pulse 2.4s infinite; }
.status-dot--ink { background: var(--teal); }
.is-open .status-dot--ink { background: #1f9d55; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(127, 224, 106, .55); }
  70% { box-shadow: 0 0 0 8px rgba(127, 224, 106, 0); }
  100% { box-shadow: 0 0 0 0 rgba(127, 224, 106, 0); }
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  padding-block: 18px;
  color: var(--egg);
  transition: background-color .3s, padding .3s, box-shadow .3s;
}
.site-header.is-scrolled,
.site-header.is-menu-open {
  padding-block: 10px;
  background: rgba(12, 47, 51, .94);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line-on-dark);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; }
.brand { flex: none; border-radius: 8px; }
.brand img { height: 66px; width: auto; transition: height .3s var(--ease); }
.is-scrolled .brand img { height: 54px; }

.primary-nav { margin-inline: auto; }
.primary-nav ul { display: flex; gap: .15rem; }
.primary-nav a {
  display: block; padding: .55rem .85rem; border-radius: 999px;
  color: rgba(248, 246, 239, .84); font-weight: 600; font-size: .96rem; text-decoration: none;
  transition: color .2s, background-color .2s;
}
.primary-nav a:hover { color: #fff; background: rgba(248, 246, 239, .08); }

.header-actions { display: flex; align-items: center; gap: .9rem; margin-left: auto; }
.primary-nav + .header-actions { margin-left: 0; }
.header-login {
  display: inline-flex; align-items: center; gap: .4rem;
  color: rgba(248, 246, 239, .7); font-size: .88rem; font-weight: 600; text-decoration: none;
}
.header-login:hover { color: var(--lime); }
.header-login .icon { width: 1.05em; height: 1.05em; }
.header-phone {
  display: inline-flex; align-items: center; gap: .6rem;
  color: var(--egg); text-decoration: none; line-height: 1.15;
}
.header-phone__text { display: grid; }
.header-phone small { font-size: .72rem; font-weight: 600; color: rgba(248, 246, 239, .66); }
.header-phone strong { font-size: 1.02rem; letter-spacing: .01em; }
.header-phone:hover strong { color: var(--lime); }
.header-phone__icon { display: none; }

.nav-toggle {
  display: none; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid rgba(248, 246, 239, .25); background: transparent; color: var(--egg);
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.mobile-menu {
  position: fixed; inset: var(--menu-top, 74px) 0 0; z-index: 49;
  background: var(--ink); color: var(--egg);
  overflow-y: auto; padding: 24px 0 40px;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__links a {
  display: block; padding: .9rem 0; border-bottom: 1px solid var(--line-on-dark);
  font-family: var(--font-display); font-size: 1.75rem; text-decoration: none;
}
.mobile-menu__actions { display: grid; gap: .75rem; margin-top: 28px; }
.mobile-menu__login {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .6rem;
  color: var(--muted-on-dark); text-decoration: none; font-weight: 600;
}
body.menu-open { overflow: hidden; }

@media (max-width: 1240px) { .header-login { display: none; } }
@media (max-width: 1080px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
}
@media (max-width: 640px) {
  :root { --header-h: 70px; }
  .site-header { padding-block: 12px; }
  .brand img, .is-scrolled .brand img { height: 48px; }
  .header-actions { gap: .5rem; }
  .header-phone__text { display: none; }
  .header-phone .status-dot { display: none; }
  .header-phone__icon { display: block; width: 20px; height: 20px; }
  .header-phone {
    width: 46px; height: 46px; justify-content: center; border-radius: 50%;
    border: 1.5px solid rgba(248, 246, 239, .25);
  }
  .header-cta { min-height: 42px; padding: .5rem .95rem; font-size: .9rem; }
}
@media (max-width: 359px) { .header-cta { display: none; } }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative; isolation: isolate; overflow: hidden; overflow: clip;
  padding-top: calc(var(--header-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(40px, 5vw, 64px);
  background:
    radial-gradient(900px 560px at 88% 8%, rgba(21, 121, 134, .62), transparent 62%),
    radial-gradient(700px 520px at -5% 105%, rgba(21, 121, 134, .32), transparent 60%),
    var(--ink);
  color: var(--egg);
}
.weave {
  position: absolute; z-index: -1; pointer-events: none; max-width: none;
  fill: none; stroke: var(--lime); stroke-width: 11; stroke-linecap: butt;
}
.hero__form { position: relative; }
.weave--cradle {
  z-index: -1; left: 50%; bottom: -12%; width: 176%;
  transform: translateX(-50%);
  stroke-width: 8; opacity: .3;
}
.weave--cradle path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 2.4s .2s var(--ease) forwards; }
.weave--cradle path:nth-child(2) { animation-delay: .35s; }
.weave--cradle path:nth-child(3) { animation-delay: .5s; }
.weave--cradle path:nth-child(4) { animation-delay: .65s; }
.weave--cradle path:nth-child(5) { animation-delay: .8s; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: center;
}
.hero__copy { padding-block: 8px; }
.hero h1 { margin: 22px 0 24px; max-width: 12ch; color: #fff; }
.hero h1 em { color: var(--lime); }
.twig-word { position: relative; white-space: nowrap; }
.twig {
  position: absolute; left: 0; right: 4%; bottom: -.16em; width: 96%; height: .3em;
  fill: none; stroke: var(--lime); stroke-width: 5; stroke-linecap: butt;
  overflow: visible;
}
.twig path { stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1s .9s var(--ease) forwards; }
.twig path:nth-child(2) { animation-delay: 1.6s; animation-duration: .4s; }
.hero .lead { max-width: 40ch; }

.hero__ticks { display: flex; flex-wrap: wrap; gap: .6rem 1.4rem; margin-top: 28px; }
.hero__ticks li {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .98rem; color: rgba(248, 246, 239, .9);
}
.hero__ticks .icon {
  width: 22px; height: 22px; padding: 4px; border-radius: 50%;
  background: rgba(190, 240, 154, .16); color: var(--lime); stroke-width: 2.6;
}

/* Trustpilot badge */
.tp-badge {
  display: inline-flex; align-items: center; flex-wrap: wrap; gap: .45rem .7rem;
  padding: .5rem .95rem .5rem .55rem; border-radius: 999px;
  background: rgba(248, 246, 239, .07); border: 1px solid rgba(248, 246, 239, .13);
  font-size: .9rem; color: rgba(248, 246, 239, .82); text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
.tp-badge:hover { background: rgba(248, 246, 239, .12); border-color: rgba(248, 246, 239, .25); }
.tp-badge strong { color: #fff; }
.tp-badge__label { font-weight: 800; color: #fff; padding-left: .4rem; }
.tp-stars { display: inline-flex; gap: 2px; color: #00b67a; }
.tp-stars svg { width: 19px; height: 19px; fill: currentColor; }
.tp-stars--lg svg { width: 30px; height: 30px; }

/* Quote card */
.quote-card {
  position: relative;
  display: flex; flex-direction: column;
  background: var(--paper); color: var(--ink);
  border-radius: var(--radius-l);
  padding: clamp(20px, 2.4vw, 30px);
  box-shadow: var(--shadow-l);
}
.quote-card::before {
  content: ""; position: absolute; inset: -10px; z-index: -1; border-radius: calc(var(--radius-l) + 10px);
  background: linear-gradient(140deg, rgba(190, 240, 154, .35), rgba(190, 240, 154, 0) 45%, rgba(21, 121, 134, .4));
  opacity: .55;
}
.quote-card__head {
  display: flex; align-items: center; gap: .9rem;
  padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line);
}
.avatars { display: flex; flex: none; }
.avatars img {
  width: 42px; height: 42px; border-radius: 50%;
  border: 2.5px solid var(--paper); margin-left: -12px; background: var(--teal);
}
.avatars img:first-child { margin-left: 0; }
.quote-card__title { font-weight: 800; font-size: 1.08rem; line-height: 1.25; }
.quote-card__status {
  display: flex; align-items: center; gap: .45rem;
  font-size: .86rem; color: var(--muted); line-height: 1.35;
}
.quote-card__status .status-dot { background: var(--teal-300); }
.is-open .quote-card__status .status-dot { background: #1f9d55; animation: pulse-green 2.4s infinite; }
@keyframes pulse-green {
  0% { box-shadow: 0 0 0 0 rgba(31, 157, 85, .45); }
  70% { box-shadow: 0 0 0 7px rgba(31, 157, 85, 0); }
  100% { box-shadow: 0 0 0 0 rgba(31, 157, 85, 0); }
}
.qform { flex: 1; display: flex; flex-direction: column; }
.quote-card.is-done .quote-card__foot { display: none; }
.quote-card__foot {
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line);
  font-size: .9rem; color: var(--muted);
}
.quote-card__foot .icon { width: 16px; height: 16px; color: var(--teal); }
.quote-card__foot a { color: var(--ink); font-weight: 700; }

/* Multi-step form */
.qprogress {
  display: flex; align-items: center; gap: .8rem; margin-bottom: 14px;
  font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--teal);
}
.qprogress__bar { flex: 1; height: 6px; border-radius: 99px; background: var(--teal-50); overflow: hidden; }
.qprogress__bar span {
  display: block; height: 100%; width: var(--progress, 33.333%);
  border-radius: inherit; background: linear-gradient(90deg, var(--teal), #3aa6b0);
  transition: width .45s var(--ease);
}
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.qstep legend {
  display: block; padding: 0; margin-bottom: 14px;
  font-family: var(--font-display); font-weight: 500; font-size: 1.55rem; line-height: 1.15; letter-spacing: -.01em;
}
.qstep legend:focus { outline: none; }
.js .qstep { display: none; }
.js .qstep.is-active { display: block; animation: step-in .4s var(--ease) both; }
.no-js .qstep + .qstep { margin-top: 28px; }
@keyframes step-in { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }

.options { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.options--rows { grid-template-columns: 1fr; gap: 8px; }
.option { position: relative; display: block; cursor: pointer; }
.option input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.option__body {
  display: flex; flex-direction: column; gap: .1rem; height: 100%;
  padding: 13px 14px; border-radius: 14px;
  border: 1.5px solid var(--line-strong); background: var(--paper);
  transition: border-color .15s, background-color .15s, box-shadow .15s, transform .15s var(--ease);
}
.option__body > .icon { width: 26px; height: 26px; margin-bottom: 8px; color: var(--teal); }
.option__title { display: block; font-weight: 700; font-size: .98rem; line-height: 1.25; }
.option__sub { display: block; font-size: .8rem; line-height: 1.35; color: var(--muted); }
.option:hover .option__body { border-color: var(--teal); transform: translateY(-1px); box-shadow: var(--shadow-s); }
.option input:checked + .option__body {
  border-color: var(--teal); background: var(--teal-50); box-shadow: inset 0 0 0 1px var(--teal);
}
.option input:focus-visible + .option__body { outline: 3px solid var(--teal); outline-offset: 2px; }
.option--row .option__body { flex-direction: row; align-items: center; gap: 12px; padding: 12px 14px; }
.option__radio {
  width: 20px; height: 20px; flex: none; border-radius: 50%;
  border: 2px solid var(--line-strong); background: var(--paper);
  transition: border-color .15s, box-shadow .15s;
}
.option input:checked + .option__body .option__radio { border-color: var(--teal); box-shadow: inset 0 0 0 4px var(--paper); background: var(--teal); }

.qback {
  display: inline-flex; align-items: center; gap: .35rem; margin-top: 12px; padding: .35rem .1rem;
  background: none; border: 0; color: var(--muted); font-weight: 600; font-size: .9rem;
}
.qback:hover { color: var(--ink); }
.qback .icon { width: 16px; height: 16px; }
.no-js .qback, .no-js .qnext { display: none; }
.qnext { margin-top: 14px; }

.field { display: grid; gap: .35rem; margin-bottom: 12px; }
.field label { font-size: .86rem; font-weight: 700; }
.field input, .field select {
  width: 100%; min-height: 50px; padding: .75rem .95rem;
  border: 1.5px solid var(--line-strong); border-radius: 12px; background: var(--paper);
  font-size: 1rem; transition: border-color .15s, box-shadow .15s;
  -webkit-appearance: none; appearance: none;
}
.field select {
  padding-right: 2.6rem;
  background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C2F33' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .9rem center / 18px;
}
.field input:hover, .field select:hover { border-color: var(--teal-300); }
.field input:focus, .field select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(21, 121, 134, .16); }
.field.has-error input { border-color: var(--error); }
.field.has-error input:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, .14); }
.field__error, .qerror { font-size: .84rem; font-weight: 600; color: var(--error); }
.qerror { margin-top: 10px; }
.qerror a { color: inherit; }
.qstep .btn[type="submit"] { margin-top: 6px; }
.btn.is-loading { opacity: .75; pointer-events: none; }
.fineprint {
  display: flex; gap: .55rem; align-items: flex-start; margin-top: 12px;
  font-size: .8rem; line-height: 1.45; color: var(--muted);
}
.fineprint .icon { width: 16px; height: 16px; margin-top: 1px; color: var(--teal); }
.fineprint a { color: var(--ink); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.qdone { margin-block: auto; text-align: center; padding: 8px 4px 4px; }
.qdone:focus { outline: none; }
.qdone__icon {
  display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 16px;
  border-radius: 50%; background: var(--lime); color: var(--ink);
  animation: pop .5s var(--ease) both;
}
.qdone__icon .icon { width: 30px; height: 30px; stroke-width: 2.6; }
@keyframes pop { from { transform: scale(.4); opacity: 0; } to { transform: none; opacity: 1; } }
.qdone__title { font-family: var(--font-display); font-weight: 500; font-size: 1.6rem; line-height: 1.15; margin-bottom: 10px; }
.qdone p { color: var(--muted); margin-bottom: 18px; }

/* Proof strip */
.hero__proof {
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(40px, 6vw, 72px);
  border: 1px solid var(--line-on-dark); border-radius: var(--radius);
  background: rgba(8, 34, 37, .45);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.proof-item {
  display: flex; align-items: center; gap: .85rem; padding: 18px 22px;
  font-size: .88rem; line-height: 1.35; color: var(--muted-on-dark);
}
.proof-item + .proof-item { border-left: 1px solid var(--line-on-dark); }
.proof-item strong { display: block; font-size: 1rem; color: #fff; }
.proof-item .icon { width: 30px; height: 30px; color: var(--lime); stroke-width: 1.5; }

@media (max-width: 1080px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero h1 { max-width: 14ch; }
  .quote-card { max-width: 620px; }
  .hero__proof { grid-template-columns: 1fr 1fr; }
  .proof-item:nth-child(3) { border-left: 0; }
  .proof-item:nth-child(n + 3) { border-top: 1px solid var(--line-on-dark); }
}
@media (max-width: 560px) {
  .hero { padding-top: calc(var(--header-h) + 26px); }
  .hero h1 { margin: 18px 0 16px; }
  .hero .lead { font-size: 1.04rem; }
  .hero__ticks { margin-top: 18px; gap: .45rem 1rem; }
  .hero__ticks li { font-size: .9rem; }
  .tp-badge { gap: .35rem .55rem; padding: .4rem .8rem .4rem .45rem; font-size: .8rem; }
  .tp-badge__label { padding-left: .3rem; }
  .tp-stars svg { width: 16px; height: 16px; }
  .weave--cradle { width: 160%; bottom: -6%; opacity: .24; }
  .options { gap: 8px; }
  .option__body { padding: 12px; }
  .option__sub { font-size: .76rem; }
  .hero__proof { grid-template-columns: 1fr; }
  .proof-item { padding: 14px 18px; }
  .proof-item + .proof-item { border-left: 0; border-top: 1px solid var(--line-on-dark); }
}

/* ==========================================================================
   Insurer marquee
   ========================================================================== */
.insurers { padding-block: 34px 38px; background: var(--paper); border-bottom: 1px solid var(--line); }
.insurers__label { text-align: center; font-size: .92rem; font-weight: 600; color: var(--muted); margin-bottom: 22px; text-wrap: balance; }
.marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: 64px; padding-right: 64px; }
.marquee img { height: var(--h, 34px); width: auto; opacity: .66; transition: opacity .2s; }
.marquee img:hover { opacity: 1; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Sections
   ========================================================================== */
.section { position: relative; padding-block: clamp(76px, 9vw, 128px); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-inline: auto; text-align: center; }

/* ---------- Why ---------- */
.why { background: var(--egg); }
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.why .h2 { margin-bottom: 22px; }
.questions-wrap { margin-top: clamp(48px, 6vw, 72px); }
.why__qlabel {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 18px;
  font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.why__qlabel::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.questions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.questions li {
  display: flex; align-items: center; gap: .8rem;
  padding: 16px 18px; border-radius: var(--radius);
  background: var(--paper); border: 1px solid var(--line);
  font-weight: 600; font-size: .98rem; line-height: 1.35;
  transition: transform .25s var(--ease), box-shadow .25s;
}
.questions li:hover { transform: translateY(-2px); box-shadow: var(--shadow-s); }
.questions li::before {
  content: "?"; display: grid; place-items: center; flex: none; width: 34px; height: 34px; border-radius: 50%;
  background: var(--lime); color: var(--ink);
  font-family: var(--font-display); font-style: italic; font-weight: 600; font-size: 1.15rem; line-height: 1;
}
@media (max-width: 900px) { .questions { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .questions { grid-template-columns: 1fr; } }

.compare { background: var(--paper); border-radius: var(--radius-l); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.compare table { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.45; }
.compare th, .compare td { padding: 16px 18px; text-align: left; vertical-align: top; }
.compare thead th { padding-top: 20px; padding-bottom: 14px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.compare tbody tr + tr > * { border-top: 1px solid var(--line); }
.compare tbody th { font-weight: 700; width: 30%; }
.compare tbody td:not(.col-nest) { color: var(--muted); width: 32%; }
.compare .col-nest { background: var(--teal-50); font-weight: 600; }
.compare thead .col-nest { color: var(--ink); }
.compare__nest { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 999px; background: var(--ink); color: var(--lime); letter-spacing: .08em; }
.compare td.col-nest { display: table-cell; }
.compare td .icon { display: inline-block; width: 18px; height: 18px; margin: 0 .4rem -.2rem 0; color: var(--teal); stroke-width: 2.4; }

@media (max-width: 1080px) { .why__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) {
  .compare thead td { display: none; }
  .compare thead tr, .compare tbody tr { display: grid; grid-template-columns: 1fr 1fr; }
  .compare tbody th { grid-column: 1 / -1; width: auto; padding-bottom: 4px; }
  .compare tbody tr + tr > * { border-top: 0; }
  .compare tbody tr + tr > th { border-top: 1px solid var(--line); }
  .compare tbody td, .compare thead th { width: auto !important; padding: 8px 14px 16px; }
  .compare th, .compare td { padding-inline: 14px; font-size: .9rem; }
}

/* ---------- Cover ---------- */
.cover { background: var(--paper); }
.cover-grid {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px;
  grid-template-areas:
    "home home landlord"
    "lease spec spec"
    "comm tenant help";
}
.cover-grid > :nth-child(1) { grid-area: home; }
.cover-grid > :nth-child(2) { grid-area: landlord; }
.cover-grid > :nth-child(3) { grid-area: lease; }
.cover-grid > :nth-child(4) { grid-area: spec; }
.cover-grid > :nth-child(5) { grid-area: comm; }
.cover-grid > :nth-child(6) { grid-area: tenant; }
.cover-grid > :nth-child(7) { grid-area: help; }

.card {
  position: relative; overflow: hidden; overflow: clip;
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: clamp(24px, 2.6vw, 34px);
  border-radius: var(--radius-l); border: 1px solid var(--line); background: var(--egg);
  transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 1.4rem; font-weight: 800; letter-spacing: -.012em; line-height: 1.2; }
.card p { color: var(--muted); }
.card__icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px;
  background: var(--lime); color: var(--ink);
}
.card__icon .icon { width: 28px; height: 28px; }
.card__link {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: auto; padding-top: 6px;
  font-weight: 800; color: var(--teal); text-decoration: none;
}
.card__link::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.card__link .icon { transition: transform .25s var(--ease); }
.card:hover .card__link .icon { transform: translateX(4px); }
.card--home {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .9fr); gap: clamp(20px, 3vw, 40px); align-items: stretch;
  background: linear-gradient(160deg, var(--lime-50), var(--egg) 60%);
}
.card--home__main { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.policy-peek {
  align-self: center; width: 100%;
  padding: 18px 20px; border-radius: var(--radius); background: var(--paper);
  border: 1px solid var(--line); box-shadow: var(--shadow-s);
}
.policy-peek__title {
  display: flex; align-items: center; gap: .5rem; margin-bottom: 10px;
  font-size: .76rem !important; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal) !important;
}
.policy-peek__title .icon { width: 18px; height: 18px; }
.policy-peek li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; font-size: .94rem; font-weight: 700; }
.policy-peek li + li { border-top: 1px dashed var(--line-strong); }
.policy-peek li span { display: inline-flex; align-items: center; gap: .55rem; }
.policy-peek li span::before {
  content: ""; width: 18px; height: 18px; flex: none; border-radius: 50%;
  background: var(--lime) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230C2F33' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4L18 8'/%3E%3C/svg%3E") no-repeat center / 12px;
}
.policy-peek em { font-style: normal; font-size: .8rem; font-weight: 600; color: var(--muted); }

.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips li {
  padding: .3rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 700;
  background: var(--paper); border: 1px solid var(--line); color: var(--teal-700);
}

.card--dark { background: var(--ink); color: var(--egg); border-color: transparent; }
.card--dark p { color: var(--muted-on-dark); }
.card--specialist { padding: clamp(28px, 3.2vw, 44px); }
.card--specialist h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.3rem); line-height: 1.1; letter-spacing: -.02em; max-width: 16ch; }
.card--specialist > p { max-width: 46ch; }
.card__kicker { font-size: .78rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime) !important; }
.card__weave {
  position: absolute; right: -70px; bottom: -40px; width: 400px; max-width: none; pointer-events: none;
  fill: none; stroke: var(--lime); stroke-width: 12; opacity: .13;
}
.ticklist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 22px; margin: 6px 0 10px; }
.ticklist li { display: flex; gap: .55rem; align-items: flex-start; font-size: .95rem; font-weight: 600; line-height: 1.35; color: rgba(248, 246, 239, .92); }
.ticklist .icon { width: 18px; height: 18px; margin-top: 1px; color: var(--lime); stroke-width: 2.6; }

.card--help { background: var(--lime); border-color: transparent; }
.card--help p { color: var(--ink); opacity: .82; }
.avatars--lg img { width: 50px; height: 50px; border-color: var(--lime); }

@media (max-width: 1080px) {
  .cover-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "home home"
      "landlord lease"
      "spec spec"
      "comm tenant"
      "help help";
  }
}
@media (max-width: 640px) {
  .cover-grid { grid-template-columns: 1fr; grid-template-areas: "home" "landlord" "lease" "spec" "comm" "tenant" "help"; }
  .card--home { grid-template-columns: 1fr; }
  .ticklist { grid-template-columns: 1fr; }
}

/* ---------- How ---------- */
.how { background: var(--egg); }
.steps { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.steps::before {
  content: ""; position: absolute; top: 64px; left: 12%; right: 12%; height: 2px; z-index: 0;
  background-image: linear-gradient(90deg, var(--teal-300) 50%, transparent 0);
  background-size: 12px 2px;
}
.step {
  position: relative; z-index: 1;
  padding: clamp(26px, 2.6vw, 36px); border-radius: var(--radius-l);
  background: var(--paper); border: 1px solid var(--line);
}
.step__num {
  display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 22px;
  border-radius: 50%; background: var(--ink); color: var(--lime);
  font-family: var(--font-display); font-style: italic; font-size: 1.6rem; line-height: 1;
}
.step h3 { font-size: 1.3rem; font-weight: 800; line-height: 1.25; margin-bottom: 8px; }
.step p { color: var(--muted); }

.callout {
  display: flex; align-items: center; gap: clamp(18px, 3vw, 32px);
  margin-top: 22px; padding: clamp(22px, 2.6vw, 30px) clamp(22px, 3vw, 36px);
  border-radius: var(--radius-l); background: var(--teal-100);
}
.callout__icon { display: grid; place-items: center; width: 60px; height: 60px; flex: none; border-radius: 50%; background: var(--paper); color: var(--teal); }
.callout__icon .icon { width: 28px; height: 28px; }
.callout__text { flex: 1; }
.callout h3 { font-size: 1.2rem; font-weight: 800; margin-bottom: 4px; }
.callout p { color: var(--ink); opacity: .8; max-width: 70ch; }

@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; }
  .steps::before { top: 12%; bottom: 12%; left: 62px; right: auto; width: 2px; height: auto; background-image: linear-gradient(180deg, var(--teal-300) 50%, transparent 0); background-size: 2px 12px; }
  .callout { flex-wrap: wrap; }
  .callout .btn { width: 100%; }
}

/* ---------- Reviews ---------- */
.reviews { background: var(--paper); }
.reviews__head { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(32px, 5vw, 72px); align-items: end; margin-bottom: clamp(36px, 5vw, 56px); }
.reviews .h2 { margin-bottom: 20px; }
.rating-card {
  display: grid; justify-items: start; gap: 10px;
  padding: 28px 30px; border-radius: var(--radius-l);
  background: var(--ink); color: var(--egg); text-decoration: none;
  transition: transform .3s var(--ease), box-shadow .3s;
}
.rating-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.rating-card__score { font-family: var(--font-display); font-size: 4.6rem; line-height: .9; letter-spacing: -.03em; color: #fff; }
.rating-card__text { font-size: 1rem; color: var(--muted-on-dark); }
.rating-card__text strong { color: #fff; }
.rating-card__link { display: inline-flex; align-items: center; gap: .4rem; margin-top: 6px; font-weight: 800; color: var(--lime); }
.rating-card__link .icon { transition: transform .25s var(--ease); }
.rating-card:hover .rating-card__link .icon { transform: translateX(4px); }

.review-grid { columns: 3 300px; column-gap: 18px; }
.review {
  break-inside: avoid; margin-bottom: 18px;
  padding: 26px; border-radius: var(--radius-l);
  background: var(--egg); border: 1px solid var(--line);
}
.review__tag {
  display: inline-block; margin-bottom: 14px; padding: .28rem .7rem; border-radius: 999px;
  background: var(--paper); border: 1px solid var(--line);
  font-size: .76rem; font-weight: 800; letter-spacing: .02em; color: var(--teal-700);
}
.stars { display: flex; gap: 2px; color: #f5b301; }
.stars .icon { width: 18px; height: 18px; }
.review blockquote { margin: 12px 0 20px; }
.review blockquote p { font-size: 1.02rem; line-height: 1.6; }
.review__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; border-top: 1px solid var(--line); }
.review__name { font-weight: 800; }
.adviser-chip {
  display: inline-flex; align-items: center; gap: .45rem;
  padding: 3px 11px 3px 3px; border-radius: 999px; background: var(--teal-100);
  font-size: .8rem; font-weight: 700; color: var(--ink);
}
.adviser-chip img, .adviser-chip__initial { width: 26px; height: 26px; border-radius: 50%; }
.adviser-chip__initial { display: grid; place-items: center; background: var(--teal); color: #fff; font-size: .75rem; font-weight: 800; }
.adviser-chip--plain { padding: 5px 11px; }
.adviser-chip::before { content: "Adviser"; font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--teal-700); order: -1; display: none; }
.rail-controls { display: none; }

@media (max-width: 900px) {
  .reviews__head { grid-template-columns: 1fr; align-items: start; }
  .review-rail { margin-inline: calc(var(--gutter) * -1); }
  .review-grid {
    columns: auto; display: flex; gap: 14px; overflow-x: auto;
    padding: 4px var(--gutter) 8px; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter);
    scrollbar-width: none;
  }
  .review-grid::-webkit-scrollbar { display: none; }
  .review { flex: 0 0 min(84%, 380px); margin: 0; scroll-snap-align: start; }
  .rail-controls { display: flex; justify-content: flex-end; gap: 8px; padding: 14px var(--gutter) 0; }
  .rail-btn {
    display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
    background: var(--paper); border: 1.5px solid var(--line-strong); color: var(--ink);
  }
  .rail-btn .icon { width: 20px; height: 20px; }
}

/* ---------- Team ---------- */
.team { background: var(--egg); }
.team__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: end; margin-bottom: clamp(40px, 5vw, 64px); }
.team-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 32px 18px; }
.member { width: calc((100% - 6 * 18px) / 7); min-width: 132px; text-align: center; }
.member img {
  width: 100%; max-width: 170px; aspect-ratio: 1; margin: 0 auto 14px; border-radius: 50%;
  box-shadow: 0 0 0 6px var(--paper), var(--shadow-s);
  transition: transform .35s var(--ease);
}
.member:hover img { transform: translateY(-5px) rotate(-2deg); }
.member h3 { font-size: 1.02rem; font-weight: 800; line-height: 1.3; }
.member p { font-size: .86rem; color: var(--muted); }

.team__foot { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); gap: 18px; margin-top: clamp(48px, 6vw, 80px); }
.values { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-radius: var(--radius-l); background: var(--paper); border: 1px solid var(--line); }
.values li { padding: 26px 22px; }
.values li + li { border-left: 1px solid var(--line); }
.values .icon { width: 30px; height: 30px; color: var(--teal); margin-bottom: 14px; }
.values h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.35rem; margin-bottom: 4px; }
.values p { font-size: .9rem; color: var(--muted); line-height: 1.45; }

.awards { display: grid; gap: 10px; }
.award {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line);
  font-size: .88rem; color: var(--muted); line-height: 1.35;
}
.award .icon { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--teal-50); color: var(--teal); flex: none; }
.award small { display: block; font-size: .7rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.award strong { display: block; color: var(--ink); font-size: .98rem; }
.award--win { background: var(--ink); border-color: transparent; color: var(--muted-on-dark); }
.award--win .icon { background: var(--lime); color: var(--ink); }
.award--win small { color: var(--lime); }
.award--win strong { color: #fff; }

@media (max-width: 1080px) {
  .team__head, .team__foot { grid-template-columns: 1fr; }
  .member { width: calc((100% - 3 * 18px) / 4); }
}
@media (max-width: 760px) {
  .values { grid-template-columns: 1fr 1fr; }
  .values li:nth-child(3) { border-left: 0; }
  .values li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .member { width: calc((100% - 18px) / 2); min-width: 0; }
  .values li { padding: 20px 16px; }
}

/* ---------- Partners ---------- */
.partners { background: var(--ink); color: var(--egg); overflow: hidden; overflow: clip; isolation: isolate; }
.weave--partners { left: -200px; bottom: -160px; width: 760px; opacity: .08; transform: rotate(14deg); }
.partners__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.partners .h2 { margin-bottom: 22px; color: #fff; }
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; margin: clamp(36px, 4vw, 48px) 0; }
.benefits .icon { width: 28px; height: 28px; color: var(--lime); }
.benefits h3 { margin: 12px 0 4px; font-size: 1.06rem; font-weight: 800; color: #fff; }
.benefits p { font-size: .94rem; line-height: 1.5; color: var(--muted-on-dark); }
.partners__ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.portal {
  position: relative; border-radius: 22px; background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow-l); overflow: hidden;
  transform: perspective(1400px) rotateY(-6deg) rotateX(2deg);
  transition: transform .6s var(--ease);
}
.portal:hover { transform: none; }
.portal__bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: var(--sand); border-bottom: 1px solid var(--line); }
.portal__bar span { width: 10px; height: 10px; border-radius: 50%; background: rgba(12, 47, 51, .18); }
.portal__bar em { margin-left: 10px; padding: .2rem .8rem; border-radius: 999px; background: var(--paper); font-style: normal; font-size: .75rem; color: var(--muted); }
.portal__body { padding: 24px; }
.portal__row { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.portal__label { font-size: .72rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
.portal__client { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; }
.portal__meta { font-size: .86rem; color: var(--muted); }
.pill { padding: .25rem .65rem; border-radius: 999px; font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.pill--live { display: inline-flex; align-items: center; gap: .35rem; background: #e7f7ec; color: #1f7a45; }
.pill--live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #1f9d55; animation: pulse-green 2.4s infinite; }
.timeline { position: relative; display: grid; gap: 16px; padding: 20px 0; }
.timeline::before { content: ""; position: absolute; left: 13px; top: 30px; bottom: 34px; width: 2px; background: var(--teal-100); }
.timeline li { position: relative; display: flex; gap: 14px; align-items: flex-start; }
.timeline strong { display: block; font-size: .95rem; }
.timeline small { display: block; font-size: .8rem; color: var(--muted); }
.timeline__dot { display: grid; place-items: center; width: 28px; height: 28px; flex: none; border-radius: 50%; background: var(--paper); border: 2px solid var(--teal-100); }
.timeline__dot .icon { width: 14px; height: 14px; stroke-width: 3; }
.timeline .is-done .timeline__dot { background: var(--teal); border-color: var(--teal); color: #fff; }
.timeline .is-current .timeline__dot { border-color: var(--teal); }
.timeline .is-current .timeline__dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 3px rgba(190, 240, 154, .4); }
.portal__earn { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 14px; background: var(--lime-50); border: 1px solid rgba(21, 121, 134, .12); font-size: .88rem; line-height: 1.4; }
.portal__earn .icon { width: 26px; height: 26px; color: var(--teal); }

@media (max-width: 1080px) {
  .partners__grid { grid-template-columns: 1fr; }
  .portal { max-width: 560px; transform: none; }
}
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- FAQ ---------- */
.faq { background: var(--paper); }
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.faq__intro { position: sticky; top: calc(var(--header-h) + 32px); }
.faq .h2 { margin-bottom: 20px; }
.contact-mini { display: grid; gap: 10px; margin-top: 30px; padding: 22px 24px; border-radius: var(--radius); background: var(--egg); border: 1px solid var(--line); }
.contact-mini a, .contact-mini p { display: flex; align-items: center; gap: .6rem; font-weight: 700; text-decoration: none; font-size: .98rem; }
.contact-mini p { font-weight: 500; color: var(--muted); font-size: .9rem; }
.contact-mini .icon { width: 20px; height: 20px; color: var(--teal); }
.contact-mini a:hover { color: var(--teal); }
.faq__list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  padding: 22px 0; cursor: pointer; list-style: none;
  font-weight: 700; font-size: 1.12rem; line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon {
  width: 34px; height: 34px; padding: 7px; flex: none; border-radius: 50%;
  background: var(--egg); color: var(--teal); transition: transform .3s var(--ease), background-color .2s;
}
.faq summary:hover .icon { background: var(--lime); color: var(--ink); }
.faq details[open] summary .icon { transform: rotate(45deg); background: var(--ink); color: var(--lime); }
.faq__answer { padding: 0 52px 24px 0; color: var(--muted); }
.faq__answer a { color: var(--teal); font-weight: 600; }
.faq details[open] .faq__answer { animation: fade-down .35s var(--ease) both; }
@keyframes fade-down { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) {
  .faq__grid { grid-template-columns: 1fr; }
  .faq__intro { position: static; }
  .faq__answer { padding-right: 0; }
}

/* ---------- Final CTA ---------- */
.cta { background: var(--lime); color: var(--ink); overflow: hidden; overflow: clip; isolation: isolate; }
.weave--cta { right: -160px; top: -140px; width: 720px; stroke: var(--ink); opacity: .07; }
.cta__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.cta .h2 em { color: var(--teal-700); }
.cta .h2 { margin-bottom: 20px; }
.cta .lead { color: var(--ink); opacity: .82; }
.cta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px; margin-top: 32px; }
.cta__phone { display: inline-flex; align-items: center; gap: .55rem; font-family: var(--font-display); font-size: clamp(1.7rem, 1.3rem + 1.4vw, 2.3rem); text-decoration: none; letter-spacing: -.01em; }
.cta__phone .icon { width: .8em; height: .8em; }
.cta__phone:hover { color: var(--teal-700); }
.cta__hours { display: flex; align-items: center; gap: .55rem; margin-top: 18px; font-weight: 600; font-size: .95rem; }

.callback-card { padding: clamp(24px, 3vw, 36px); border-radius: var(--radius-l); background: var(--paper); box-shadow: var(--shadow); }
.callback-card h3 { font-family: var(--font-display); font-weight: 500; font-size: 1.75rem; line-height: 1.15; }
.callback-card__sub { margin: 6px 0 20px; color: var(--muted); }
.cbform__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.cbform .btn { margin-top: 6px; }
.cbdone { display: flex; align-items: center; gap: 14px; margin-top: 16px; padding: 16px; border-radius: 14px; background: var(--lime-50); }
.cbdone:focus { outline: none; }
.cbdone .qdone__icon { width: 44px; height: 44px; margin: 0; flex: none; }
.cbdone .qdone__icon .icon { width: 22px; height: 22px; }
.cbdone p { font-size: .95rem; line-height: 1.45; }
@media (max-width: 900px) { .cta__grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .cbform__fields { grid-template-columns: 1fr; } }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--ink); color: var(--muted-on-dark); padding-top: clamp(64px, 8vw, 96px); font-size: .95rem; overflow: hidden; overflow: clip; }
.footer-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr) 1.3fr; gap: 40px 32px; }
.footer-brand img { height: 92px; width: auto; margin-bottom: 20px; }
.footer-brand p { max-width: 32ch; }
.footer-title { margin-bottom: 16px; font-size: .76rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: var(--lime); }
.site-footer nav li + li { margin-top: 10px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--lime); }
.footer-contact { display: grid; gap: 8px; align-content: start; }
.footer-contact p { margin-top: 6px; }
.footer-phone { font-family: var(--font-display); font-size: 1.7rem; color: #fff; line-height: 1.2; }
.socials { display: flex; gap: 10px; margin-top: 22px; }
.socials a {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line-on-dark); color: var(--egg);
}
.socials a:hover { background: var(--lime); border-color: var(--lime); color: var(--ink); }
.socials .icon { width: 20px; height: 20px; }
.footer-sign {
  margin-top: clamp(56px, 7vw, 88px);
  font-family: var(--font-display); font-style: italic; font-weight: 400;
  font-size: clamp(3.5rem, 1rem + 11vw, 11.5rem); line-height: .9; letter-spacing: -.035em;
  color: var(--lime); opacity: .14; white-space: nowrap; user-select: none;
}
.footer-legal {
  display: grid; gap: 16px; margin-top: 28px; padding-block: 28px 36px;
  border-top: 1px solid var(--line-on-dark); font-size: .82rem; color: rgba(248, 246, 239, .56);
}
.footer-legal p { max-width: 110ch; }
.footer-legal ul { display: flex; flex-wrap: wrap; gap: 6px 22px; }
@media (max-width: 1080px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand, .footer-contact { grid-column: span 3; }
  .footer-contact { grid-column: auto; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-contact { grid-column: 1 / -1; }
  .site-footer { padding-bottom: 84px; }
}

/* ==========================================================================
   Simple pages (thank you, 404)
   ========================================================================== */
.simple-page {
  min-height: 100vh; min-height: 100svh; display: grid; place-items: center;
  background:
    radial-gradient(900px 560px at 88% 8%, rgba(21, 121, 134, .62), transparent 62%),
    radial-gradient(700px 520px at -5% 105%, rgba(21, 121, 134, .32), transparent 60%),
    var(--ink);
  color: var(--egg); overflow: hidden; overflow: clip;
}
.simple { position: relative; isolation: isolate; width: min(100% - 2 * var(--gutter), 720px); padding-block: 64px; text-align: center; }
.simple__logo { display: inline-block; margin-bottom: 40px; border-radius: 8px; }
.simple__logo img { height: 96px; width: auto; }
.simple .h2 { color: #fff; margin-bottom: 18px; }
.simple .lead { margin-inline: auto; }
.simple__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.simple__hours { margin-top: 24px; font-size: .9rem; color: var(--muted-on-dark); }
.weave--simple { left: 50%; top: 50%; width: 900px; transform: translate(-50%, -18%); opacity: .12; }

/* ==========================================================================
   Sticky mobile CTA
   ========================================================================== */
.mobile-cta {
  position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 45;
  display: none; gap: 8px; padding: 8px; border-radius: 20px;
  background: rgba(12, 47, 51, .96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-l); color: var(--egg);
  transform: translateY(160%); transition: transform .4s var(--ease);
}
.mobile-cta .btn { flex: 1; min-height: 50px; padding-inline: 1rem; }
.mobile-cta .btn--ghost-light { flex: .7; }
.mobile-cta.is-visible { transform: none; }
@media (max-width: 760px) { .mobile-cta { display: flex; } }

/* ==========================================================================
   Motion
   ========================================================================== */
.js [data-reveal] {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .marquee__group { flex-wrap: wrap; justify-content: center; row-gap: 24px; padding-right: 0; }
  .marquee__group[aria-hidden="true"] { display: none; }
  .marquee { -webkit-mask-image: none; mask-image: none; }
}

@media print {
  .site-header, .mobile-cta, .marquee, .weave { display: none !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
