/* =========================================================================
   StartUrWeb — site stylesheet
   Hand-authored design system. No framework, no reset boilerplate beyond
   what is used, no external CSS dependency.
   ========================================================================= */

/* --- Fonts (self-hosted, with a system fallback stack) ------------------ */
@font-face {
  font-family: 'Inter';
  src: url('../fonts/inter-var.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Sora';
  src: url('../fonts/sora-600.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- Tokens ------------------------------------------------------------- */
:root {
  --ink:        #0b1220;
  --ink-soft:   #1c2635;
  --body:       #39424f;
  --muted:      #5f697a;
  --faint:      #8b95a6;
  --line:       #e2e7f0;
  --line-strong:#cdd6e5;
  --surface:    #ffffff;
  --surface-2:  #f6f8fc;
  --surface-3:  #eef2f9;
  --night:      #0b1220;
  --night-2:    #121b2c;
  --night-line: rgba(255,255,255,.12);

  --brand:      #2f6bff;
  --brand-deep: #1d47c4;
  --brand-soft: #eaf0ff;
  --brand-ring: rgba(47,107,255,.28);
  --green:      #0f9d6e;
  --green-soft: #e6f7f0;
  --amber:      #b4761b;
  --amber-soft: #fdf3e2;
  --violet:     #6d5ae0;
  --violet-soft:#efedfd;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Sora', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, monospace;

  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-pill: 999px;

  --sh-xs: 0 1px 2px rgba(11,18,32,.06);
  --sh-sm: 0 2px 6px rgba(11,18,32,.05), 0 1px 2px rgba(11,18,32,.04);
  --sh-md: 0 10px 26px -12px rgba(11,18,32,.18), 0 2px 6px rgba(11,18,32,.04);
  --sh-lg: 0 28px 60px -30px rgba(11,18,32,.32), 0 8px 20px -12px rgba(11,18,32,.12);
  --sh-brand: 0 16px 34px -16px rgba(47,107,255,.5);

  --wrap: 1180px;
  --wrap-narrow: 820px;
  --gutter: 24px;
}

/* --- Reset (only what is needed) --------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--surface);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.65;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.018em;
  margin: 0 0 .5em;
  font-weight: 600;
}
h1 { font-size: clamp(2.15rem, 1.4rem + 2.6vw, 3.5rem); letter-spacing: -0.028em; }
h2 { font-size: clamp(1.65rem, 1.15rem + 1.7vw, 2.5rem); letter-spacing: -0.024em; }
h3 { font-size: clamp(1.16rem, 1.02rem + .5vw, 1.4rem); }
h4 { font-size: 1.03rem; }
p { margin: 0 0 1rem; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
ul, ol { margin: 0 0 1rem; padding-left: 1.15rem; }
li { margin-bottom: .4rem; }
strong { color: var(--ink-soft); font-weight: 600; }
button { font: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2.5rem 0; }
::selection { background: var(--brand-soft); color: var(--ink); }

:focus-visible {
  outline: 2.5px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* --- Layout ------------------------------------------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding: clamp(3.5rem, 2rem + 5vw, 6.5rem) 0; position: relative; }
.section--tight { padding: clamp(2.5rem, 1.5rem + 3vw, 4rem) 0; }
.section--soft { background: var(--surface-2); }
.section--soft-top { background: linear-gradient(180deg, var(--surface-2), #fff 78%); }
.section--night { background: var(--night); color: #c3ccdd; }
.section--night h2, .section--night h3, .section--night h4 { color: #fff; }
.section--night a { color: #b9c9f7; }
.section--rule { border-top: 1px solid var(--line); }

.grid { display: grid; gap: 22px; }
.grid--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.grid--split { grid-template-columns: minmax(0,1.05fr) minmax(0,.95fr); gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: center; }
.grid--split-wide { grid-template-columns: minmax(0,1.5fr) minmax(0,1fr); gap: clamp(1.75rem, 1rem + 3vw, 3.5rem); }
.grid--gap-lg { gap: 30px; }

.stack > * + * { margin-top: 1rem; }
.center { text-align: center; }
.center .sec-head { margin-inline: auto; }

/* --- Typography helpers ------------------------------------------------- */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--brand-deep);
  margin: 0 0 .85rem;
  font-family: var(--font-body);
}
.eyebrow::before {
  content: '';
  width: 22px; height: 2px;
  background: linear-gradient(90deg, var(--brand), var(--green));
  border-radius: 2px;
}
.section--night .eyebrow { color: #9fb6f5; }
.sec-head { max-width: 720px; margin-bottom: clamp(1.75rem, 1rem + 2vw, 3rem); }
.sec-head--center { text-align: center; margin-inline: auto; }
.sec-head--center .eyebrow::before { display: none; }
.sec-head__title { margin-bottom: .6rem; }
.sec-head__lede { font-size: 1.075rem; color: var(--muted); margin: 0; max-width: 64ch; }
.sec-head--center .sec-head__lede { margin-inline: auto; }
.lede { font-size: 1.12rem; color: var(--body); }
.small { font-size: .9rem; }
.muted { color: var(--muted); }
.faint { color: var(--faint); }
.tabular { font-variant-numeric: tabular-nums; }
.nowrap { white-space: nowrap; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .82rem 1.35rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: .95rem;
  line-height: 1.2;
  font-family: var(--font-body);
  cursor: pointer;
  text-decoration: none !important;
  transition: transform .16s ease, box-shadow .2s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn__icon { width: 17px; height: 17px; transition: transform .2s ease; }
.btn:hover .btn__icon { transform: translateX(3px); }
.btn--primary {
  background: linear-gradient(180deg, #3d75ff, var(--brand) 55%, var(--brand-deep));
  color: #fff;
  box-shadow: var(--sh-brand);
}
.btn--primary:hover { transform: translateY(-1px); box-shadow: 0 20px 38px -16px rgba(47,107,255,.6); }
.btn--dark { background: var(--ink); color: #fff; box-shadow: var(--sh-md); }
.btn--dark:hover { background: var(--ink-soft); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-strong); box-shadow: var(--sh-xs); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand-deep); background: #fbfcff; }
.btn--quiet { background: var(--surface-3); color: var(--ink); }
.btn--quiet:hover { background: #e4eaf5; }
.btn--light { background: rgba(255,255,255,.1); color: #fff; border-color: var(--night-line); }
.btn--light:hover { background: rgba(255,255,255,.18); }
.btn--sm { padding: .6rem 1rem; font-size: .875rem; }
.btn--lg { padding: 1rem 1.7rem; font-size: 1rem; }
.btn--block { width: 100%; }
.btn[disabled], .btn[aria-disabled='true'] { opacity: .6; pointer-events: none; }

.textlink {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  font-weight: 600;
  font-size: .95rem;
  color: var(--brand-deep);
}
.textlink .icon { width: 16px; height: 16px; }

/* --- Header ------------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: .75rem 1rem;
  z-index: 999;
  border-radius: 0 0 var(--r-xs) 0;
}
.skip-link:focus { left: 0; }

.topbar {
  background: var(--night);
  color: #b9c4d8;
  font-size: .82rem;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 40px;
}
.topbar__note { margin: 0; display: flex; align-items: center; gap: .55rem; }
.topbar .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #35d39b;
  box-shadow: 0 0 0 3px rgba(53,211,155,.18);
  flex: none;
}
.topbar__link { display: inline-flex; align-items: center; gap: .35rem; color: #cdd8ee; font-weight: 500; }
.topbar__link:hover { color: #fff; }
.topbar__icon { width: 14px; height: 14px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease, background-color .25s ease;
}
.site-header.is-stuck { box-shadow: 0 10px 30px -22px rgba(11,18,32,.5); background: rgba(255,255,255,.95); }
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none !important; flex: none; }
.logo-lockup { display: inline-flex; align-items: center; gap: .6rem; }
.logo-mark { flex: none; }
.logo-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.brand--light .logo-word { color: #fff; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: .35rem; list-style: none; margin: 0; padding: 0; }
.nav__list li { margin: 0; }
.nav__link {
  display: inline-block;
  white-space: nowrap;
  padding: .5rem .72rem;
  border-radius: var(--r-xs);
  color: var(--ink-soft);
  font-size: .93rem;
  font-weight: 500;
  text-decoration: none !important;
  transition: background-color .16s ease, color .16s ease;
}
.nav__link:hover { background: var(--surface-3); color: var(--ink); }
.nav__link.is-active { color: var(--brand-deep); font-weight: 600; }
.nav__link--quiet { color: var(--muted); }
.site-header__actions { display: flex; align-items: center; gap: .6rem; flex: none; }

.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line-strong);
  background: #fff;
  border-radius: var(--r-xs);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle__bars { display: grid; gap: 4px; width: 18px; }
.nav-toggle__bars span { display: block; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.nav__panel-foot { display: none; }
.nav__panel-note { font-size: .85rem; color: var(--muted); margin: 0 0 1rem; }
.nav__panel-links { display: flex; flex-wrap: wrap; gap: 1.1rem; margin: 1rem 0 0; font-size: .88rem; }

/* --- Icon defaults ------------------------------------------------------ */
.icon { width: 22px; height: 22px; flex: none; }

/* --- Hero --------------------------------------------------------------- */
.hero {
  position: relative;
  padding: clamp(3rem, 2rem + 5vw, 6rem) 0 clamp(3rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -12%, rgba(47,107,255,.13), transparent 62%),
    radial-gradient(760px 420px at 8% 4%, rgba(15,157,110,.10), transparent 60%),
    linear-gradient(180deg, #fbfcff, #ffffff 72%);
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(11,18,32,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(11,18,32,.045) 1px, transparent 1px);
  background-size: 74px 74px;
  mask-image: radial-gradient(900px 480px at 62% 8%, #000 8%, transparent 72%);
  -webkit-mask-image: radial-gradient(900px 480px at 62% 8%, #000 8%, transparent 72%);
  pointer-events: none;
}
.hero > .wrap { position: relative; z-index: 1; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(0, .94fr);
  gap: clamp(2rem, 1rem + 4vw, 4.5rem);
  align-items: center;
}
.hero__title { margin-bottom: 1.1rem; }
.hero__title em {
  font-style: normal;
  background: linear-gradient(100deg, var(--brand-deep), var(--brand) 45%, var(--green));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__lede { font-size: clamp(1.05rem, 1rem + .35vw, 1.22rem); color: var(--body); max-width: 60ch; margin-bottom: 1.6rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-bottom: 1.5rem; }
.hero__points { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; list-style: none; padding: 0; margin: 0; }
.hero__points li {
  display: flex; align-items: center; gap: .45rem;
  font-size: .9rem; color: var(--muted); margin: 0;
}
.hero__points .icon { width: 17px; height: 17px; color: var(--green); }

/* Hero visual: layered "review" stack — no fake dashboard screenshot */
.hero-visual { position: relative; }
.hv-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-lg);
  overflow: hidden;
}
.hv-card__bar {
  display: flex; align-items: center; gap: .6rem;
  padding: .8rem 1rem;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, #fbfcfe, #f6f8fc);
}
.hv-card__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line-strong); }
.hv-card__label {
  margin-left: auto;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--faint);
  font-weight: 600;
}
.hv-card__body { padding: 1.15rem 1.25rem 1.35rem; }
.hv-row { display: flex; align-items: center; gap: .7rem; padding: .5rem 0; border-bottom: 1px dashed var(--line); }
.hv-row:last-child { border-bottom: 0; }
.hv-row__tick {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--green-soft); color: var(--green);
  display: grid; place-items: center; flex: none;
}
.hv-row__tick .icon { width: 13px; height: 13px; }
.hv-row__text { font-size: .9rem; color: var(--ink-soft); font-weight: 500; }
.hv-row__tag {
  margin-left: auto; font-size: .7rem; font-weight: 600;
  letter-spacing: .04em; text-transform: uppercase;
  padding: .18rem .5rem; border-radius: var(--r-pill);
  background: var(--brand-soft); color: var(--brand-deep);
}
.hv-row__tag--amber { background: var(--amber-soft); color: var(--amber); }
.hv-row__tag--green { background: var(--green-soft); color: var(--green); }

.hv-float {
  position: absolute;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-md);
  padding: .8rem .95rem;
  display: flex; align-items: center; gap: .7rem;
}
.hv-float--week { left: -26px; bottom: 60px; }
.hv-float--review { right: -22px; top: -18px; }
.hv-float__icon {
  width: 34px; height: 34px; border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep);
}
.hv-float--review .hv-float__icon { background: var(--violet-soft); color: var(--violet); }
.hv-float__k { font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 600; }
.hv-float__v { font-size: .92rem; font-weight: 600; color: var(--ink); font-family: var(--font-display); }

/* --- Marquee-free logo/trust strip ------------------------------------- */
.assure {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
}
.assure__inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap: 1.5rem;
  padding: 1.6rem 0;
}
.assure__item { display: flex; align-items: flex-start; gap: .7rem; }
.assure__item .icon { color: var(--brand); width: 20px; height: 20px; margin-top: 2px; }
.assure__k { font-size: .9rem; font-weight: 600; color: var(--ink); margin: 0 0 .1rem; }
.assure__v { font-size: .84rem; color: var(--muted); margin: 0; line-height: 1.5; }

/* --- Cards -------------------------------------------------------------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.5rem;
  box-shadow: var(--sh-sm);
  position: relative;
  transition: transform .2s ease, box-shadow .22s ease, border-color .2s ease;
}
.card--hover:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--line-strong); }
.card--flat { box-shadow: none; }
.card__icon {
  width: 42px; height: 42px;
  border-radius: var(--r-sm);
  display: grid; place-items: center;
  background: var(--brand-soft); color: var(--brand-deep);
  margin-bottom: .95rem;
}
.card__icon .icon { width: 22px; height: 22px; }
.card h3 { margin-bottom: .45rem; font-size: 1.1rem; }
.card p { margin: 0; font-size: .95rem; color: var(--muted); }
.card__meta { margin-top: 1rem; font-size: .85rem; color: var(--faint); display: flex; align-items: center; gap: .4rem; }

.tone-green .card__icon, .card__icon--green { background: var(--green-soft); color: var(--green); }
.card__icon--amber { background: var(--amber-soft); color: var(--amber); }
.card__icon--violet { background: var(--violet-soft); color: var(--violet); }
.card__icon--ink { background: var(--surface-3); color: var(--ink); }

/* --- Problem / solution ------------------------------------------------ */
.problem-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.problem-list li {
  display: flex; gap: .85rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 3px solid var(--amber);
  border-radius: var(--r-sm);
  font-size: .95rem;
  margin: 0;
}
.problem-list .icon { color: var(--amber); width: 20px; height: 20px; margin-top: 2px; }

/* --- Report mockup ------------------------------------------------------ */
/* An icon placed directly inside a card heading should sit on the text
   baseline rather than floating above it. */
.card > h3 > .icon:first-child,
.card > h2 > .icon:first-child {
  width: 18px; height: 18px;
  margin-right: .35rem;
  vertical-align: -.18em;
  color: var(--brand);
}

/* --- What we can point out, by website type ----------------------------- */
.bt-intro {
  display: flex; flex-wrap: wrap; gap: .5rem;
  margin: -0.5rem 0 1.5rem;
}
.bt-list {
  border-top: 1px solid var(--line);
  margin-bottom: 1.35rem;
}
.bt-item { border-bottom: 1px solid var(--line); }
.bt-item__q {
  display: flex; align-items: center; gap: 1rem; width: 100%;
  background: none; border: 0; cursor: pointer; text-align: left;
  padding: 1.05rem .25rem;
  font: inherit; color: var(--ink);
  transition: color .18s ease;
}
.bt-item__q:hover { color: var(--brand-deep); }
.bt-item__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 38px; height: 38px; border-radius: var(--r-sm);
  background: var(--brand-soft); color: var(--brand-deep);
}
.bt-item__icon .icon { width: 19px; height: 19px; }
.bt-item__head { display: grid; gap: .1rem; flex: 1 1 auto; min-width: 0; }
.bt-item__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(1rem, .96rem + .2vw, 1.1rem);
}
.bt-item__examples { font-size: .83rem; color: var(--faint); }
.bt-item__a { padding: 0 3rem 1.35rem 3.4rem; }
.bt-item__a[hidden] { display: none; }
.bt-item__a[data-open='true'] { display: block; animation: fadeUp .28s ease both; }
.bt-item__blurb {
  margin: 0 0 .9rem; font-size: .95rem; color: var(--body);
  padding-left: .85rem; border-left: 2px solid var(--brand);
}
.bt-points { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.bt-points li { display: flex; gap: .6rem; margin: 0; font-size: .93rem; color: var(--body); }
.bt-points .icon { width: 17px; height: 17px; color: var(--green); margin-top: 3px; flex: none; }
.bt-footnote { font-size: .88rem; color: var(--muted); margin: 0; max-width: 78ch; }
.bt-footnote .textlink { margin-left: .35rem; white-space: nowrap; }

/* Compact teaser used on the homepage. */
.bt-preview { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.bt-preview li { display: flex; gap: .65rem; margin: 0; }
.bt-preview__icon {
  display: inline-flex; align-items: center; justify-content: center; flex: none;
  width: 30px; height: 30px; border-radius: var(--r-xs);
  background: var(--surface-2); color: var(--brand-deep);
}
.bt-preview__icon .icon { width: 16px; height: 16px; }
.bt-preview__title { display: block; font-weight: 600; color: var(--ink); font-size: .93rem; }
.bt-preview__point { display: block; font-size: .88rem; color: var(--muted); }

/* Live panel on the request form: what we would look at for the chosen type. */
.bt-now {
  margin-top: 1rem; padding: 1rem 1.15rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: var(--r-md);
}
.bt-now__head { display: flex; align-items: center; gap: .55rem; margin-bottom: .6rem; }
.bt-now__head .icon { width: 17px; height: 17px; color: var(--brand); }
.bt-now__title { font-weight: 600; color: var(--ink); font-size: .93rem; }
.bt-now__examples { font-size: .82rem; color: var(--faint); margin: 0 0 .7rem; }
.bt-now__blurb { font-size: .9rem; color: var(--body); margin: 0 0 .75rem; }
.bt-now .bt-points li { font-size: .89rem; }
.bt-now__more { margin: .8rem 0 0; font-size: .85rem; }

/* --- Steps -------------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 0; }
.step {
  display: grid;
  grid-template-columns: 78px minmax(0,1fr);
  gap: 1.5rem;
  padding: 1.75rem 0;
  border-top: 1px solid var(--line);
  position: relative;
}
.step:last-child { border-bottom: 1px solid var(--line); }
.step__num {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--brand);
  letter-spacing: -0.02em;
  line-height: 1;
  padding-top: .25rem;
}
.step__body h3 { margin-bottom: .45rem; }
.step__body p { margin-bottom: .6rem; color: var(--body); }
.step__detail {
  display: inline-flex; align-items: center; gap: .45rem;
  font-size: .85rem; color: var(--muted);
  background: var(--surface-2);
  border: 1px solid var(--line);
  padding: .35rem .7rem;
  border-radius: var(--r-pill);
  margin: 0;
}
.step__detail .icon { width: 15px; height: 15px; color: var(--green); }

/* --- Workflow strip ----------------------------------------------------- */
.workflow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .5rem;
  padding: 1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  box-shadow: var(--sh-xs);
}
.workflow__step {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .88rem; font-weight: 600; color: var(--ink);
  padding: .3rem .55rem;
  border-radius: var(--r-xs);
}
.workflow__step--accent { background: var(--brand-soft); color: var(--brand-deep); }
.workflow__step--final { background: var(--green-soft); color: var(--green); }
.workflow .icon { width: 15px; height: 15px; color: var(--faint); }

/* --- Differentiation ---------------------------------------------------- */
.diff-list { display: grid; gap: 12px; }
.diff-item {
  display: grid;
  grid-template-columns: 148px minmax(0,1fr);
  gap: 1.25rem;
  padding: 1.1rem 1.25rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  align-items: baseline;
}
.diff-item__label { font-size: .8rem; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; font-weight: 600; }
.diff-item__title { font-weight: 600; color: var(--ink); }
.diff-item__body { font-size: .93rem; color: var(--muted); }

/* --- Audience lists ----------------------------------------------------- */
.audience {
  display: flex; flex-wrap: wrap; gap: .5rem;
  list-style: none; padding: 0; margin: 0 0 1.5rem;
}
.audience li {
  margin: 0;
  padding: .45rem .85rem;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--r-pill);
  font-size: .9rem;
  color: var(--ink-soft);
  font-weight: 500;
  transition: border-color .18s ease, color .18s ease, background-color .18s ease;
}
.audience li:hover { border-color: var(--brand); color: var(--brand-deep); background: #fbfcff; }

.notfor-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.notfor-list li {
  display: flex; gap: .75rem; margin: 0;
  padding: .85rem 1rem;
  background: var(--surface-2);
  border-radius: var(--r-sm);
  font-size: .93rem;
}
.notfor-list .icon { color: var(--faint); width: 18px; height: 18px; margin-top: 3px; flex: none; }
.notfor-list strong { display: block; color: var(--ink); }

/* --- Pricing ------------------------------------------------------------ */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 22px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.6rem;
  box-shadow: var(--sh-sm);
  position: relative;
}
.plan--featured { border-color: var(--ink); box-shadow: var(--sh-lg); }
.plan__head { padding-bottom: 1.15rem; border-bottom: 1px solid var(--line); margin-bottom: 1.15rem; }
.plan__name { font-family: var(--font-display); font-size: 1.12rem; color: var(--ink); margin: 0 0 .7rem; }
.plan__price { display: flex; align-items: baseline; gap: .4rem; flex-wrap: wrap; margin-bottom: .35rem; }
.plan__amount { font-family: var(--font-display); font-size: 2.3rem; font-weight: 600; color: var(--ink); letter-spacing: -0.03em; line-height: 1; }
.plan__period { font-size: .95rem; color: var(--muted); }
.plan__setup {
  display: inline-block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--amber);
  background: var(--amber-soft);
  padding: .22rem .55rem;
  border-radius: var(--r-xs);
  margin-bottom: .5rem;
}
.plan__display { font-size: .9rem; color: var(--muted); margin: 0; font-variant-numeric: tabular-nums; }
.plan__includes { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.plan__includes li { display: flex; gap: .6rem; margin: 0; font-size: .92rem; color: var(--body); }
.plan__includes .icon { width: 17px; height: 17px; color: var(--green); margin-top: 3px; flex: none; }
.plan__foot { margin-top: auto; }
.plan__billing { font-size: .82rem; color: var(--faint); margin: .75rem 0 0; }
.plan__term {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .78rem; text-transform: uppercase; letter-spacing: .07em;
  color: var(--faint); font-weight: 600; margin-bottom: .6rem;
}
.plan__term .icon { width: 14px; height: 14px; }

.pricing-note {
  display: flex; align-items: flex-start; gap: .75rem;
  padding: 1rem 1.25rem;
  background: var(--brand-soft);
  border-radius: var(--r-md);
  border: 1px solid #d5e1ff;
  font-size: .93rem;
  color: var(--ink-soft);
}
.pricing-note .icon { color: var(--brand-deep); width: 20px; height: 20px; margin-top: 2px; flex: none; }

.terms-box {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: #fff;
  overflow: hidden;
  margin-top: 1.5rem;
}
.terms-box__row { display: grid; grid-template-columns: 210px minmax(0,1fr); gap: 1rem; padding: .95rem 1.35rem; border-top: 1px solid var(--line); font-size: .92rem; }
.terms-box__row:first-child { border-top: 0; }
.terms-box__row dt, .terms-box__k { color: var(--muted); font-weight: 600; }
.terms-box__row dd, .terms-box__v { margin: 0; color: var(--ink-soft); }

/* --- FAQ ---------------------------------------------------------------- */
.faq-groups { display: grid; gap: 2.5rem; }
.faq-group__title {
  display: flex; align-items: center; gap: .6rem;
  font-size: .82rem; text-transform: uppercase; letter-spacing: .09em;
  color: var(--faint); font-weight: 600; margin: 0 0 1rem;
}
.faq-group__title::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.25rem;
  padding: 1.15rem 0;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display);
  font-size: 1.02rem; font-weight: 600; color: var(--ink);
  line-height: 1.4;
  transition: color .18s ease;
}
.faq__q:hover { color: var(--brand-deep); }
.faq__icon {
  flex: none; width: 26px; height: 26px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  color: var(--muted);
  transition: transform .25s ease, background-color .2s ease, color .2s ease, border-color .2s ease;
  margin-top: 1px;
}
.faq__icon .icon { width: 15px; height: 15px; }
.faq__q[aria-expanded='true'] .faq__icon { transform: rotate(180deg); background: var(--ink); border-color: var(--ink); color: #fff; }
.faq__a { display: none; padding: 0 3rem 1.35rem 0; }
.faq__a[data-open='true'] { display: block; animation: fadeUp .28s ease both; }
.faq__a p { margin: 0 0 .8rem; color: var(--body); font-size: .95rem; }
.faq__a p:last-child { margin-bottom: 0; }

.faq-compact { display: grid; gap: 0; }

/* --- CTA bands ---------------------------------------------------------- */
.final-cta {
  position: relative;
  background:
    radial-gradient(680px 340px at 88% 0%, rgba(47,107,255,.28), transparent 60%),
    radial-gradient(520px 300px at 4% 100%, rgba(15,157,110,.22), transparent 62%),
    linear-gradient(180deg, #0c1424, #0b1220);
  color: #c9d2e2;
  padding: clamp(3rem, 2rem + 4vw, 5rem) 0;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(to right, rgba(255,255,255,.05) 1px, transparent 1px),
                    linear-gradient(to bottom, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(700px 380px at 70% 20%, #000, transparent 75%);
  -webkit-mask-image: radial-gradient(700px 380px at 70% 20%, #000, transparent 75%);
}
.final-cta__inner { position: relative; display: grid; grid-template-columns: minmax(0,1.3fr) minmax(0,.9fr); gap: 2rem; align-items: center; }
.final-cta h2 { color: #fff; margin-bottom: .6rem; }
.final-cta p { color: #b3c0d6; margin: 0; max-width: 56ch; }
.final-cta__actions { display: flex; flex-wrap: wrap; gap: .75rem; justify-content: flex-end; }
.final-cta__trust {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  list-style: none; padding: 1.25rem 0 0; margin: 0;
  border-top: 1px solid var(--night-line);
  font-size: .88rem; color: #9fadc6;
}
.final-cta__trust li { display: inline-flex; align-items: center; gap: .5rem; margin: 0; }
.final-cta__trust .icon { width: 17px; height: 17px; color: #4fd3a3; }

/* --- Page header -------------------------------------------------------- */
.page-hero {
  padding: clamp(2.5rem, 1.5rem + 3.5vw, 4.25rem) 0 clamp(1.75rem, 1rem + 2.5vw, 2.75rem);
  background: linear-gradient(180deg, var(--surface-2), #fff 92%);
  border-bottom: 1px solid var(--line);
}
.page-hero__grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(0,.75fr); gap: 2rem; align-items: end; }
.page-hero h1 { margin-bottom: .75rem; max-width: 26ch; }
.page-hero__lede { font-size: clamp(1.02rem, .98rem + .3vw, 1.16rem); color: var(--muted); max-width: 62ch; margin: 0; }
.page-hero__aside { display: flex; flex-direction: column; gap: .75rem; align-items: flex-start; }

.crumbs { margin-bottom: 1.15rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin: 0; font-size: .82rem; color: var(--faint); }
.crumbs li { display: flex; align-items: center; gap: .4rem; margin: 0; }
.crumbs li + li::before { content: '/'; color: var(--line-strong); }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand-deep); }

/* --- Prose (legal, about) ---------------------------------------------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 2.25rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.75rem; font-size: 1.16rem; }
.prose p, .prose li { color: var(--body); }
.prose ul { padding-left: 1.2rem; }
.prose .prose__meta { font-size: .85rem; color: var(--faint); }
.prose__block { padding: 1.35rem 0; border-top: 1px solid var(--line); }
.prose__block:first-of-type { border-top: 0; padding-top: 0; }
.prose__block p:last-child { margin-bottom: 0; }

/* --- Forms -------------------------------------------------------------- */
.form-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,.85fr); gap: clamp(2rem,1.5rem + 3vw,4rem); align-items: start; }
/* The application form is far taller than the sidebar, so the sidebar follows
   the reader instead of ending early and leaving an empty column. If a short
   viewport makes it taller than the screen it scrolls internally rather than
   being pinned past the fold. */
.form-layout > aside {
  position: sticky;
  top: 92px;
  align-self: start;
  max-height: calc(100vh - 116px);
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--line-strong) transparent;
}
.form-layout > aside::-webkit-scrollbar { width: 8px; }
.form-layout > aside::-webkit-scrollbar-thumb {
  background: var(--line-strong); border-radius: 999px;
}

/* On a short viewport the sidebar is taller than the space below the header.
   Rather than trapping its last card in a nested scroll area, let the column
   flow normally with the page so every card can simply be read by scrolling. */
@media (min-width: 981px) and (max-height: 800px) {
  .form-layout > aside {
    position: static;
    max-height: none;
    overflow: visible;
  }
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.form-card__head { padding: clamp(1.35rem,1rem + 1vw,2rem); border-bottom: 1px solid var(--line); background: linear-gradient(180deg,#fbfcfe,#f7f9fd); }
.form-card__head h1, .form-card__head h2 { margin-bottom: .4rem; }
.form-card__head p { margin: 0; color: var(--muted); font-size: .96rem; }
.form-card__body { padding: clamp(1.35rem,1rem + 1vw,2rem); }

.fset { border: 0; padding: 0; margin: 0 0 2rem; }
.fset:last-of-type { margin-bottom: 1.25rem; }
.fset__legend {
  display: flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-size: .92rem; font-weight: 600; color: var(--ink);
  padding: 0; margin-bottom: 1rem; width: 100%;
}
.fset__legend::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.fset__legend .icon { width: 17px; height: 17px; color: var(--brand); }
.fset__note { font-size: .85rem; color: var(--faint); margin: -.5rem 0 1rem; }

.fgrid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1rem 1.15rem; }
.field { display: flex; flex-direction: column; }
.field--full { grid-column: 1 / -1; }
.field > label {
  font-size: .87rem; font-weight: 600; color: var(--ink-soft);
  margin-bottom: .4rem; display: flex; align-items: center; gap: .35rem;
}
.field .req { color: var(--brand); }
.field__hint { font-size: .8rem; color: var(--faint); margin: .35rem 0 0; }
.field input[type='text'], .field input[type='email'], .field input[type='url'],
.field input[type='tel'], .field select, .field textarea {
  width: 100%;
  padding: .72rem .85rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: .95rem;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3.5px var(--brand-ring);
}
.field input::placeholder, .field textarea::placeholder { color: #a9b2c1; }
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235f697a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .7rem center;
  background-size: 18px;
  padding-right: 2.3rem;
}
.field--error input, .field--error select, .field--error textarea { border-color: #d7453f; background: #fffafa; }
.field__error { display: flex; align-items: center; gap: .35rem; font-size: .82rem; color: #c0362f; margin: .4rem 0 0; font-weight: 500; }
.field__error .icon { width: 14px; height: 14px; }

.check { display: flex; gap: .7rem; align-items: flex-start; font-size: .9rem; color: var(--body); }
.check input { width: 18px; height: 18px; margin-top: .2rem; accent-color: var(--brand); flex: none; }
.check label { font-weight: 400; }
.check--error { color: #c0362f; }

.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.form-actions__note { font-size: .83rem; color: var(--faint); margin: 0; flex: 1 1 220px; }

.notice { display: flex; gap: .75rem; padding: 1rem 1.15rem; border-radius: var(--r-md); font-size: .93rem; margin-bottom: 1.5rem; }
.notice--error { background: #fdf3f2; border: 1px solid #f3cfcb; color: #8d2b25; }
.notice--success { background: var(--green-soft); border: 1px solid #bde7d5; color: #0b6b4c; }
.notice .icon { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.notice strong { display: block; margin-bottom: .15rem; color: inherit; }
.notice ul { margin: .4rem 0 0; padding-left: 1.1rem; font-size: .9rem; }

/* --- Plan chooser (radio cards) ---------------------------------------- */
.plan-picker { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: .75rem; }
.plan-option { position: relative; display: flex; }
.plan-option input { position: absolute; opacity: 0; width: 100%; height: 100%; left: 0; top: 0; margin: 0; cursor: pointer; }
.plan-option__box {
  /* This is a <span> in the markup, so it must be told to lay out as a block.
     Without this the border and padding collapse to an inline box and the
     option no longer reads as a card. */
  display: block;
  width: 100%;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  padding: .9rem 1rem;
  background: #fff;
  transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}
.plan-option__name { font-weight: 600; color: var(--ink); font-size: .95rem; display: block; margin-bottom: .2rem; }
.plan-option__price { display: block; font-size: .82rem; color: var(--muted); font-variant-numeric: tabular-nums; line-height: 1.4; }
.plan-option input:checked + .plan-option__box {
  border-color: var(--brand);
  background: #f7faff;
  box-shadow: 0 0 0 3px var(--brand-ring);
}
.plan-option input:focus-visible + .plan-option__box { outline: 2.5px solid var(--brand); outline-offset: 2px; }

/* --- Confirmation panel ------------------------------------------------- */
.confirm {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-md);
  overflow: hidden;
}
.confirm__banner {
  padding: 1.5rem clamp(1.35rem,1rem + 1vw,2rem);
  background: linear-gradient(135deg, #0d1a33, #123a63 60%, #0f9d6e);
  color: #fff;
}
.confirm__banner h1, .confirm__banner h2 { color: #fff; margin-bottom: .4rem; }
.confirm__banner p { margin: 0; color: #d5e2f5; }
.confirm__body { padding: clamp(1.35rem,1rem + 1vw,2rem); }
.confirm__ref {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--mono); font-size: .95rem;
  background: var(--surface-3); color: var(--ink);
  padding: .4rem .75rem; border-radius: var(--r-xs);
  margin-bottom: 1.25rem;
}
.confirm__steps { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .75rem; counter-reset: c; }
.confirm__steps li { display: flex; gap: .8rem; margin: 0; font-size: .94rem; }
.confirm__steps li::before {
  counter-increment: c; content: counter(c);
  flex: none; width: 24px; height: 24px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand-deep);
  display: grid; place-items: center; font-size: .78rem; font-weight: 700;
}

/* --- Sidebar / aside panels -------------------------------------------- */
.aside-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 1.1rem 1.2rem;
  box-shadow: var(--sh-xs);
}
.aside-card + .aside-card { margin-top: .75rem; }
.aside-card h3 { font-size: 1rem; margin-bottom: .6rem; }
.aside-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.aside-card li { display: flex; gap: .6rem; margin: 0; font-size: .89rem; color: var(--muted); }
.aside-card .icon { width: 18px; height: 18px; color: var(--green); margin-top: 2px; flex: none; }
/* The whole sidebar column is already sticky and scrolls internally, so an
   individually sticky card inside it would fight that and jump. The modifier
   stays in the markup for intent, but must not pin a second time. */
.aside-card--sticky { position: static; }
.aside-card--ink { background: var(--night); border-color: var(--night); color: #b9c4d8; }
.aside-card--ink h3 { color: #fff; }
.aside-card--ink li { color: #a8b4c9; }
.aside-card--ink .icon { color: #4fd3a3; }

/* --- Misc blocks -------------------------------------------------------- */
.quote {
  border-left: 3px solid var(--brand);
  padding: .35rem 0 .35rem 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.05rem,.98rem + .4vw,1.28rem);
  color: var(--ink);
  line-height: 1.45;
  margin: 0;
}
.quote--night { color: #fff; border-color: #4fd3a3; }

.stat-strip { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.25rem; }
.stat { padding: 1.25rem; border-left: 2px solid var(--line); }
.stat:first-child { border-left-color: var(--brand); }
.stat__k { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); font-weight: 600; margin: 0 0 .35rem; }
.stat__v { font-family: var(--font-display); font-size: 1.05rem; color: var(--ink); margin: 0; }

.cycle { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 0; }
.cycle__step { padding: 1.15rem 1rem 1.15rem 1.25rem; border-left: 2px solid var(--line); }
.cycle__step:first-child { border-left-color: var(--brand); }
.cycle__k { font-family: var(--font-display); font-size: .98rem; color: var(--ink); margin: 0 0 .3rem; }
.cycle__v { font-size: .85rem; color: var(--muted); margin: 0; }

.divider-note {
  display: flex; align-items: center; gap: .9rem;
  font-size: .88rem; color: var(--muted);
  margin: 1.5rem 0;
}
.divider-note::before, .divider-note::after { content: ''; flex: 1; height: 1px; background: var(--line); }

.contact-methods { display: grid; gap: 1rem; }
.contact-method { display: flex; gap: .85rem; align-items: flex-start; }
.contact-method__icon {
  width: 38px; height: 38px; border-radius: var(--r-sm);
  display: grid; place-items: center; flex: none;
  background: var(--brand-soft); color: var(--brand-deep);
}
.contact-method__icon .icon { width: 19px; height: 19px; }
.contact-method__k { font-size: .84rem; color: var(--faint); margin: 0 0 .1rem; }
.contact-method__v { margin: 0; color: var(--ink); font-weight: 500; }

/* --- Error page --------------------------------------------------------- */
.errorpage { padding: clamp(3rem,2rem + 5vw,6rem) 0; }
.errorpage__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 3rem + 8vw, 8rem);
  line-height: 1;
  letter-spacing: -0.05em;
  background: linear-gradient(120deg, var(--brand-deep), var(--brand) 50%, var(--green));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin: 0 0 .5rem;
}

/* --- Search / utility --------------------------------------------------- */
.pill-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .3rem .7rem; border-radius: var(--r-pill);
  background: var(--surface-3); color: var(--ink-soft);
  font-size: .8rem; font-weight: 500;
}
.pill .icon { width: 14px; height: 14px; }

/* --- Footer ------------------------------------------------------------- */
.site-footer { background: var(--night); color: #a9b4c7; padding: clamp(2.75rem,2rem + 3vw,4rem) 0 1.5rem; }
.site-footer a { color: #cdd7e8; }
.site-footer a:hover { color: #fff; }
.site-footer__top { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,1.4fr); gap: clamp(2rem,1.5rem + 2vw,4rem); padding-bottom: 2.25rem; }
.site-footer__tagline { font-family: var(--font-display); color: #fff; font-size: 1rem; margin: .9rem 0 .6rem; letter-spacing: -0.01em; }
.site-footer__blurb { font-size: .89rem; color: #96a2b8; max-width: 46ch; margin-bottom: 1rem; }
.site-footer__mail { display: flex; align-items: center; gap: .5rem; font-size: .9rem; margin: 0; }
.site-footer__mail .icon { width: 17px; height: 17px; color: #4fd3a3; }
.site-footer__cols { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1.5rem; }
.site-footer__heading { font-family: var(--font-body); font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; color: #7d8aa0; margin: 0 0 .85rem; font-weight: 600; }
.site-footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .5rem; }
.site-footer__col li { margin: 0; font-size: .9rem; }
.site-footer__workflow {
  display: flex; flex-wrap: wrap; align-items: center; gap: .35rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--night-line);
  border-bottom: 1px solid var(--night-line);
  font-size: .82rem; color: #8e9bb2;
}
.site-footer .wf-step { display: inline-flex; align-items: center; gap: .35rem; }
.site-footer .wf-step__sep { display: inline-flex; }
.site-footer .wf-step__sep .icon { width: 13px; height: 13px; color: #46536b; }
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding-top: 1.35rem; font-size: .82rem; }
.site-footer__legal { margin: 0; color: #7d8aa0; }
.site-footer__legal-links { display: flex; flex-wrap: wrap; gap: 1.25rem; list-style: none; padding: 0; margin: 0; }
.site-footer__legal-links li { margin: 0; }

/* --- Back to top -------------------------------------------------------- */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--sh-md);
  cursor: pointer;
  display: grid; place-items: center;
  opacity: 0; visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  z-index: 50;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top .icon { transform: rotate(180deg); width: 18px; height: 18px; }

/* --- Reveal animation --------------------------------------------------- */
.js [data-reveal] { opacity: 0; transform: translateY(14px); }
.js [data-reveal].is-in { opacity: 1; transform: none; transition: opacity .6s cubic-bezier(.22,.7,.3,1), transform .6s cubic-bezier(.22,.7,.3,1); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* --- Responsive -------------------------------------------------------- */
/* The full header row — brand, six nav links, the secondary link and the
   primary CTA — needs about 1240px to sit comfortably on one line. Below that
   the secondary link is dropped first, since the CTA carries the same journey. */
@media (max-width: 1240px) {
  .site-header__actions .header-secondary { display: none; }
  .site-header__inner { gap: 1.1rem; }
  .nav__link { padding: .5rem .62rem; }
}

@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .cycle { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .cycle__step:nth-child(4) { border-left-color: var(--line); }
  .site-footer__cols { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .assure__inner { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.15rem; }
  .hv-float--week { left: -8px; }
  .hv-float--review { right: -6px; }

  /* The nav plus both header actions need roughly 1180px to sit on one line.
     Below that, drop the secondary link and tighten spacing so nothing wraps. */
  .site-header__actions .header-secondary { display: none; }
  .site-header__inner { gap: 1rem; }
  .nav__link { padding: .5rem .6rem; }
}

@media (max-width: 980px) {
  :root { --gutter: 20px; }
  .nav {
    position: fixed;
    inset: 0 0 auto 0;
    top: var(--header-offset, 72px);
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--sh-md);
    padding: 1rem var(--gutter) 1.5rem;
    display: none;
    max-height: calc(100vh - 72px);
    overflow-y: auto;
    margin-left: 0;
  }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav__link { display: block; padding: .85rem .5rem; border-bottom: 1px solid var(--line); font-size: 1rem; border-radius: 0; }
  .nav__link.is-active { color: var(--brand-deep); }
  .nav-toggle { display: flex; }
  .site-header__actions .btn--sm { display: none; }
  .site-header__actions .header-secondary { display: none; }
  .nav__panel-foot { display: block; padding-top: .5rem; }
  .nav__panel-foot .btn { width: 100%; }

  .hero__grid { grid-template-columns: 1fr; }
  .hero-visual { order: 2; }
  .grid--split, .grid--split-wide { grid-template-columns: 1fr; gap: 2rem; }
  .page-hero__grid { grid-template-columns: 1fr; align-items: start; gap: 1.5rem; }
  .plans { grid-template-columns: 1fr; gap: 18px; }
  .form-layout { grid-template-columns: 1fr; }
  .form-layout > aside {
    position: static;
    max-height: none;
    overflow: visible;
  }
  .aside-card--sticky { position: static; }
  .final-cta__inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .final-cta__actions { justify-content: flex-start; }
  .site-footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .diff-item { grid-template-columns: 1fr; gap: .35rem; }
  .terms-box__row { grid-template-columns: 1fr; gap: .25rem; padding: .8rem 1rem; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .cycle { grid-template-columns: 1fr; }
  .cycle__step { border-left-color: var(--line); padding-left: 1rem; }
  .cycle__step:first-child { border-left-color: var(--brand); }
  .fgrid { grid-template-columns: 1fr; }
  .plan-picker { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr; }
  .step { grid-template-columns: 46px minmax(0,1fr); gap: 1rem; }
  .step__num { font-size: 1.2rem; }
  .site-footer__cols { grid-template-columns: 1fr; gap: 1.5rem; }
  .assure__inner { grid-template-columns: 1fr; }
  .topbar__note { font-size: .78rem; }
  .topbar__link { display: none; }
  .faq__a { padding-right: 0; }
  .hv-float { display: none; }
  .section { padding: 3rem 0; }
  .to-top { right: 14px; bottom: 14px; }
  .final-cta__actions { flex-direction: column; align-items: stretch; }
  .final-cta__actions .btn { width: 100%; }
}

@media (max-width: 420px) {
  .logo-word { font-size: 1.05rem; }
  .hero__actions .btn { width: 100%; }
  /* Very small phones: a card is narrower than a long button label, so allow
     the label to wrap rather than force the card past the screen edge. */
  .plan .btn,
  .plan-picker .btn { white-space: normal; }
}

/* --- Print -------------------------------------------------------------- */
@media print {
  .topbar, .site-header, .final-cta, .to-top, .site-footer { display: none !important; }
  body { color: #000; font-size: 11pt; }
  .card, .plan { box-shadow: none; border-color: #999; }
  a { color: #000; text-decoration: underline; }
}
