/* --------------------------------------------------------------------------
   A friendly software landing page: navy, one bright blue, a yellow accent,
   soft blue hero, example screens, pastel icon tiles. Every figure is quoted
   from a document, so nothing here may distort a number.
   -------------------------------------------------------------------------- */

:root {
  color-scheme: light;

  --navy:        #0f1f4b;
  --navy-2:      #1a2d66;
  --blue:        #2f5fea;   /* 5.3:1 with white text */
  --blue-deep:   #2449c7;
  --blue-soft:   #eef3ff;
  --blue-line:   #d6e1ff;
  --yellow:      #fbbf24;
  --yellow-deep: #f59e0b;

  --ink:   #111827;
  --ink-2: #4b5563;   /* 7.6:1 on white, 6.9:1 on --blue-soft */
  --ink-3: #6b7280;   /* 4.8:1 on white */
  --line:  #e5e7eb;
  --line-2:#d1d5db;
  --soft:  #f8fafc;

  --green: #15803d; --green-soft: #dcfce7;
  --amber: #b45309; --amber-soft: #fef3c7;
  --red:   #b91c1c; --red-soft:   #fee2e2;

  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --pad: clamp(1.25rem, 5vw, 2.5rem);
  --r-sm: 8px;
  --r: 12px;
  --r-lg: 18px;
  --shadow: 0 1px 2px rgba(16, 24, 40, 0.05), 0 12px 32px -14px rgba(16, 24, 40, 0.2);
  --shadow-lg: 0 30px 70px -30px rgba(15, 31, 75, 0.45);
}

*, *::before, *::after { box-sizing: border-box; }
/* `hidden` must always win, even over components that set their own display. */
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 5.5rem; -webkit-text-size-adjust: 100%; }
html.modal-open { overflow: hidden; }

body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.6;
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; line-height: 1.15; }
a { color: var(--blue); }
a:hover { color: var(--blue-deep); }
ul { margin: 0; padding: 0; list-style: none; }

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

.wrap { max-width: 76rem; margin: 0 auto; padding-inline: var(--pad); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0.5rem; z-index: 60; background: var(--navy); color: #fff; padding: 0.7rem 1rem; border-radius: var(--r-sm); }
.skip-link:focus { left: 0.5rem; color: #fff; }

.icon { width: 24px; height: 24px; flex: none; display: block; }
.icon--sm { width: 18px; height: 18px; }

.h2 { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 2.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; text-wrap: balance; }
.lede { max-width: 40rem; margin: 1rem auto 0; font-size: 1.125rem; color: var(--ink-2); text-wrap: balance; }
.intro { margin-bottom: clamp(3rem, 7vw, 5rem); }

.section { padding-block: clamp(4rem, 9vw, 7rem); }
.section--soft { background: var(--soft); }
.section--tight { padding-block: clamp(1rem, 3vw, 2rem); }
.section--rule { border-top: 1px solid var(--line); }

/* -- buttons --------------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font: inherit; font-weight: 650; font-size: 0.9375rem; line-height: 1.2;
  padding: 0.7rem 1.15rem;
  border: 1px solid transparent; border-radius: var(--r-sm);
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--blue); color: #fff; }
.btn--primary:hover { background: var(--blue-deep); color: #fff; }
.btn--yellow { background: var(--yellow); color: var(--navy); }
.btn--yellow:hover { background: var(--yellow-deep); color: var(--navy); }
.btn--ghost { background: #fff; color: var(--ink); border-color: var(--line-2); }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--lg { padding: 0.85rem 1.4rem; font-size: 1rem; }
.btn--xl { padding: 1rem 1.6rem; font-size: 1.0625rem; }
.btn:disabled { opacity: 0.6; cursor: progress; }


/* -- top bar and nav ------------------------------------------------------- */

.topbar { background: var(--navy); color: #fff; font-size: 0.9375rem; }
.topbar p { margin: 0; padding-block: 0.6rem; text-align: center; }
.topbar a { color: #fff; font-weight: 600; text-underline-offset: 0.2em; }
.topbar a:hover { color: var(--yellow); }
.topbar__badge {
  display: inline-block; padding: 0.05rem 0.45rem; border-radius: 6px;
  background: var(--yellow); color: var(--navy);
  font-weight: 800; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.04em;
}

.nav {
  position: sticky; top: 0; z-index: 40;
  background: color-mix(in srgb, var(--blue-soft) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in srgb, var(--blue-line) 70%, transparent);
}
@supports not (backdrop-filter: blur(1px)) { .nav { background: var(--blue-soft); } }

.nav__inner { display: flex; align-items: center; gap: 2rem; min-height: 4.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--blue); text-decoration: none; font-size: 1.4rem; font-weight: 800; letter-spacing: -0.04em; }
.brand:hover { color: var(--blue); }
.brand .mark { display: block; }
.brand--light { color: #fff; }
.brand--light:hover { color: #fff; }
.brand--light .mark { color: var(--blue); }

.lang { display: inline-flex; align-items: center; gap: 0.35rem; margin: 0; font-size: 0.875rem; font-weight: 600; color: var(--ink-2); }
.lang .icon { color: var(--ink-3); }
.lang a { color: var(--ink-2); text-decoration: none; padding: 0.15rem 0.1rem; }
.lang a:hover { color: var(--blue); text-decoration: underline; }
.lang [aria-current] { color: var(--ink); }
.lang span[aria-hidden] { color: var(--line-2); }

.nav__links { flex: 1; display: flex; gap: 0.25rem; }
.nav__links a { padding: 0.45rem 0.8rem; border-radius: var(--r-sm); color: var(--ink); text-decoration: none; font-weight: 550; }
.nav__links a:hover { background: #fff; color: var(--ink); }

@media (max-width: 44rem) {
  .nav__links { display: none; }
  .nav__inner { justify-content: space-between; }
}

/* -- hero ------------------------------------------------------------------ */

.hero { position: relative; overflow: hidden; background: var(--blue-soft); padding-block: clamp(3rem, 7vw, 5.5rem) clamp(8rem, 14vw, 11rem); }
.hero::before, .hero::after {
  content: ""; position: absolute; pointer-events: none;
  background-image: radial-gradient(var(--blue-line) 1.6px, transparent 1.6px);
  background-size: 22px 22px;
}
.hero::before { top: 0; right: 0; width: 26rem; height: 16rem; }
.hero::after { bottom: 0; left: 0; width: 14rem; height: 14rem; }

.hero__grid { position: relative; z-index: 1; display: grid; gap: 3rem; align-items: center; }
@media (min-width: 64rem) { .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); } }

.hero__title { font-size: clamp(2.6rem, 1.6rem + 4.2vw, 4.4rem); font-weight: 800; letter-spacing: -0.045em; line-height: 1.04; text-wrap: balance; }
.hl { text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 0.11em; text-underline-offset: 0.12em; text-decoration-skip-ink: none; }
.hero__sub { margin: 1.5rem 0 0; max-width: 34rem; font-size: 1.1875rem; line-height: 1.55; color: var(--ink-2); }
.hero__cta { margin: 2rem 0 0; }
.ticks { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1.5rem; color: var(--ink-2); font-size: 0.9375rem; }
.ticks li { display: inline-flex; align-items: center; gap: 0.4rem; }
.ticks .icon { color: var(--blue); stroke-width: 2.4; }

/* the example app window */
.hero__visual { min-width: 0; }
@media (min-width: 64rem) { .hero__visual { margin-right: calc(-1 * var(--pad) - 6rem); } }

.app { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow-lg); overflow: hidden; font-size: 0.8125rem; }
.app__bar { display: flex; align-items: center; gap: 0.4rem; padding: 0.7rem 0.9rem; border-bottom: 1px solid var(--line); }
.app__bar i { width: 0.65rem; height: 0.65rem; border-radius: 50%; background: #f87171; }
.app__bar i:nth-child(2) { background: #fbbf24; }
.app__bar i:nth-child(3) { background: #34d399; }
.example { margin-left: auto; padding: 0.1rem 0.5rem; border-radius: 999px; background: var(--blue-soft); color: var(--blue-deep); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.02em; }
.app__body { display: grid; grid-template-columns: 11rem minmax(0, 1fr); }
.app__side { padding: 1rem 0.75rem; border-right: 1px solid var(--line); background: #fbfcff; }
.app__brand { display: flex; align-items: center; gap: 0.35rem; margin: 0 0 1rem; padding-left: 0.4rem; color: var(--blue); font-weight: 800; font-size: 0.9375rem; letter-spacing: -0.03em; }
.app__brand .mark { width: 18px; height: 18px; }
.app__side li { padding: 0.4rem 0.6rem; border-radius: 6px; color: var(--ink-2); }
.app__side li.is-active { background: var(--blue-soft); color: var(--blue-deep); font-weight: 650; }
.app__main { padding: 1.1rem 1.25rem 1.25rem; min-width: 0; }
.app__crumb { margin: 0; color: var(--ink-3); font-size: 0.75rem; }
.app__title { margin: 0.1rem 0 0.9rem; font-size: 1.125rem; font-weight: 750; letter-spacing: -0.02em; }
.app__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin-bottom: 1rem; }
.app__stats div { padding: 0.55rem 0.7rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
.app__stats b { display: block; font-size: 1.0625rem; letter-spacing: -0.02em; }
.app__stats span { color: var(--ink-3); font-size: 0.6875rem; }
.app__sub { margin: 0 0 0.4rem; font-weight: 700; }
@media (max-width: 40rem) { .app__body { grid-template-columns: minmax(0, 1fr); } .app__side { display: none; } }

.duties { border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.duty { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 0.75rem; padding: 0.55rem 0.75rem; border-top: 1px solid var(--line); }
.duty:first-child { border-top: 0; }
.duty__label { font-weight: 600; min-width: 0; }
.duty__meta { color: var(--ink-3); font-size: 0.75rem; white-space: nowrap; }
.duties--roomy { border: 0; border-radius: 0; }
.duties--roomy .duty { padding: 0.8rem 1.1rem; font-size: 0.9375rem; }
@media (max-width: 30rem) { .duty { grid-template-columns: minmax(0, 1fr) auto; } .duty__meta { display: none; } }

.state { padding: 0.12rem 0.55rem; border-radius: 999px; font-size: 0.6875rem; font-weight: 700; white-space: nowrap; }
.state--done { background: var(--green-soft); color: var(--green); }
.state--due { background: var(--amber-soft); color: var(--amber); }
.state--missing { background: var(--red-soft); color: var(--red); }

/* -- audience cards -------------------------------------------------------- */

.audiences { position: relative; z-index: 2; margin-top: clamp(-7rem, -10vw, -4rem); }
.audiences__panel { display: grid; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
@media (min-width: 52rem) { .audiences__panel { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.aud { display: flex; flex-direction: column; padding: 1.25rem 1.25rem 1.5rem; }
.aud + .aud { border-top: 1px solid var(--line); }
@media (min-width: 52rem) { .aud + .aud { border-top: 0; border-left: 1px solid var(--line); } }
.aud__art { border-radius: var(--r); overflow: hidden; aspect-ratio: 2 / 1; }
.aud__art svg { display: block; width: 100%; height: 100%; }
.aud__title { margin: 1.25rem 0 0.5rem; font-size: 1.1875rem; font-weight: 750; letter-spacing: -0.02em; }
.aud__body { color: var(--ink-2); font-size: 0.9375rem; }
.aud__link { margin-top: auto; padding-top: 1rem; font-weight: 650; text-decoration: none; }
.aud__link:hover { text-decoration: underline; }

/* -- product features ------------------------------------------------------ */

.feature { display: grid; gap: 2.5rem; align-items: center; }
.feature + .feature { margin-top: clamp(4rem, 9vw, 7rem); }
@media (min-width: 58rem) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(3rem, 7vw, 6rem); }
  .feature--flip .feature__copy { order: 2; }
}
.feature__copy { max-width: 32rem; }
.feature__title { margin: 1rem 0 1rem; font-size: clamp(1.75rem, 1.3rem + 1.6vw, 2.4rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
.feature__body { color: var(--ink-2); font-size: 1.0625rem; }
.feature__visual { min-width: 0; }

.pill { display: inline-block; margin: 0; padding: 0.25rem 0.7rem; border-radius: 999px; font-size: 0.8125rem; font-weight: 650; }
.pill--blue   { background: #e0eaff; color: #1e3fae; }
.pill--purple { background: #f0e7ff; color: #6d28d9; }
.pill--amber  { background: #fff3d1; color: #92400e; }
.pill--red    { background: var(--red-soft); color: var(--red); }

.mock { background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.mock__head { display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--line); background: #fbfcff; font-weight: 700; font-size: 0.9375rem; }

.lines { padding: 0.25rem 1.1rem; }
.lines__row { padding: 0.9rem 0; border-top: 1px solid var(--line); }
.lines__row:first-child { border-top: 0; }
.lines__top { display: flex; justify-content: space-between; gap: 1rem; font-weight: 650; }
.lines__charged { white-space: nowrap; }
.lines__row.is-flagged .lines__charged { color: var(--red); }
.lines__meta { display: block; margin-top: 0.15rem; color: var(--ink-3); font-size: 0.8125rem; }
/* One shared track width, so both rates are drawn to the same scale. */
.lines__bar { height: 0.5rem; margin-top: 0.6rem; border-radius: 999px; background: #eef0f4; overflow: hidden; }
.lines__bar span { display: block; height: 100%; width: var(--bar); min-width: 4px; border-radius: 999px; background: var(--line-2); -webkit-print-color-adjust: exact; print-color-adjust: exact; }
.lines__row.is-flagged .lines__bar span { background: var(--red); }
.lines__foot { margin: 0; padding: 0.85rem 1.1rem; border-top: 1px solid var(--line); background: #fff8f8; color: var(--ink-2); font-size: 0.875rem; }
.lines__foot b { color: var(--red); font-size: 1.0625rem; }

.thread { padding: 0.35rem 0; }
.msg { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 0.85rem; align-items: start; padding: 0.85rem 1.1rem; }
.msg + .msg { border-top: 1px solid var(--line); }
.msg__dot { width: 0.7rem; height: 0.7rem; margin-top: 0.35rem; border-radius: 50%; background: var(--blue); }
.msg--reminded .msg__dot { background: var(--yellow-deep); }
.msg--received .msg__dot { background: var(--green); }
.msg__from { display: block; font-size: 0.75rem; color: var(--ink-3); }
.msg__subject { display: block; font-weight: 600; font-size: 0.9375rem; }
.msg__side { text-align: right; }
.msg__when { display: block; font-size: 0.75rem; color: var(--ink-3); }
.msg__state { display: inline-block; margin-top: 0.2rem; padding: 0.1rem 0.5rem; border-radius: 999px; background: #e0eaff; color: #1e3fae; font-size: 0.6875rem; font-weight: 700; }
.msg--reminded .msg__state { background: var(--amber-soft); color: var(--amber); }
.msg--received .msg__state { background: var(--green-soft); color: var(--green); }

/* -- proof ----------------------------------------------------------------- */

.proof { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 58rem) { .proof { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 5rem; } }
.proof__title { margin-top: 1rem; }
.proof__body { margin-top: 1.25rem; max-width: 36rem; font-size: 1.125rem; color: var(--ink-2); }
.proof__figure { display: flex; flex-direction: column; align-items: center; text-align: center; padding: clamp(1.5rem, 5vw, 2.5rem) clamp(1rem, 4vw, 2rem); background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }
.proof__big { font-size: clamp(4.5rem, 3rem + 6vw, 7rem); font-weight: 900; letter-spacing: -0.06em; line-height: 1; color: var(--navy); }
.proof__caption { margin-top: 0.5rem; color: var(--ink-2); }
/* Wraps on narrow screens; without this the two rates push the whole section
   wider than a small phone. */
.proof__rates { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.6rem; margin-top: 1.75rem; }
.proof__rates div { padding: 0.6rem 0.9rem; border: 1px solid var(--line); border-radius: var(--r-sm); }
.proof__rates div.is-flagged { border-color: #fecaca; background: #fff8f8; color: var(--red); }
.proof__rates span { display: block; font-weight: 800; font-size: 1.125rem; letter-spacing: -0.02em; }
.proof__rates small { color: var(--ink-3); }

/* -- call banner ----------------------------------------------------------- */

.callbar { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; padding: 1.75rem 2rem; border-radius: var(--r-lg); background: var(--navy); color: #fff; }
.callbar__icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--navy-2); color: var(--yellow); }
.callbar__text { flex: 1; min-width: 14rem; }
.callbar__title { font-size: 1.375rem; font-weight: 750; letter-spacing: -0.02em; }
.callbar__text p { margin: 0.25rem 0 0; color: #c7d2fe; }

/* -- toolset --------------------------------------------------------------- */

.tiles { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); }
.tile { padding: 1.75rem; border: 1px solid var(--line); border-radius: var(--r); text-align: center; transition: box-shadow 0.2s ease; }
.tile:hover { box-shadow: var(--shadow); }
.tile__icon { display: inline-grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; }
.tone--blue   { background: #e0eaff; color: #1e3fae; }
.tone--purple { background: #f0e7ff; color: #6d28d9; }
.tone--green  { background: var(--green-soft); color: var(--green); }
.tone--orange { background: #ffedd5; color: #c2410c; }
.tone--amber  { background: #fef3c7; color: #92400e; }
.tone--indigo { background: #e0e7ff; color: #3730a3; }
.tile__title { margin: 1rem 0 0.5rem; font-size: 1.125rem; font-weight: 750; letter-spacing: -0.015em; }
.tile__body { color: var(--ink-2); font-size: 0.9375rem; }

/* -- pricing --------------------------------------------------------------- */

.prices { display: grid; gap: 1.75rem 1.25rem; padding-top: 0.75rem; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); max-width: 64rem; margin: 0 auto; align-items: stretch; }
.price { position: relative; display: flex; flex-direction: column; padding: 2rem; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); }
/* A 1px border plus a 1px ring, so the featured card's content lines up with the others. */
.price--featured { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue), var(--shadow); }
.price__name { font-size: 1rem; font-weight: 650; color: var(--ink-2); }
.price__amount { margin: 0.6rem 0 0; line-height: 1.1; }
.price__amount b { font-size: 2.5rem; font-weight: 850; letter-spacing: -0.045em; }
.price__amount .price__word { font-size: 2.5rem; letter-spacing: -0.04em; }
.price__unit { font-size: 0.9375rem; font-weight: 500; color: var(--ink-3); letter-spacing: 0; }
.price__was { margin-right: 0.35rem; font-size: 1.5rem; font-weight: 650; color: var(--ink-3); text-decoration-thickness: 2px; text-decoration-color: var(--red); }
.price__badge {
  position: absolute; top: 0; right: 1.25rem; transform: translateY(-50%);
  margin: 0; padding: 0.3rem 0.7rem; border-radius: 999px;
  background: var(--yellow); color: var(--navy);
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.01em;
  box-shadow: 0 2px 6px rgba(15, 31, 75, 0.15);
}
.price__kind { margin: 0 0 0.35rem; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue); }
.price__then { margin: 0.35rem 0 0; font-size: 0.875rem; color: var(--ink-3); }
.price__amount span { color: var(--ink-3); }
.price__detail { margin-top: 1rem; color: var(--ink-2); }
.price__cta { margin-top: auto; padding-top: 1.5rem; }
.prices__compare { max-width: 64rem; margin: 1.5rem auto 0; padding: 1rem 1.25rem; border-radius: var(--r); background: #fff; border: 1px dashed var(--line-2); text-align: center; color: var(--ink-2); }
.prices__compare strong { color: var(--ink); }

/* -- about and questions --------------------------------------------------- */

.about { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 58rem) { .about { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); } }
.about__body p { font-size: 1.125rem; color: var(--ink-2); }

.faq-wrap { max-width: 48rem; }
.faq { margin-top: 2.5rem; border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; cursor: pointer; list-style: none; font-size: 1.0625rem; font-weight: 650; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex: none; font-size: 1.5rem; line-height: 1; color: var(--blue); }
.qa[open] summary::after { content: "\2212"; }
.qa p { margin: -0.25rem 0 1.25rem; color: var(--ink-2); }

/* -- closing --------------------------------------------------------------- */

.closing { background: linear-gradient(#fff 50%, var(--navy) 50%); padding-top: 2rem; }
.closing__block { padding: clamp(2.5rem, 6vw, 4rem) 1.5rem; border-radius: var(--r-lg); background: var(--blue); color: #fff; text-align: center; box-shadow: var(--shadow-lg); }
.closing__title { font-size: clamp(1.75rem, 1.3rem + 1.8vw, 2.5rem); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.closing__block > p { margin: 0.75rem auto 0; max-width: 34rem; color: #dbe4ff; }
.closing__buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.75rem !important; }

/* -- privacy and terms ----------------------------------------------------- */

.legal { padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem); }
.legal__wrap { max-width: 44rem; }
.legal__back { margin: 0 0 1.5rem; font-size: 0.9375rem; }
.legal__back a { color: var(--ink-2); text-decoration: none; }
.legal__back a:hover { color: var(--blue); }
.legal__title { font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem); font-weight: 800; letter-spacing: -0.035em; }
.legal__updated { margin: 0.5rem 0 0; font-size: 0.875rem; color: var(--ink-3); }
.legal__intro { margin: 1.5rem 0 0; font-size: 1.125rem; color: var(--ink-2); }
.legal__section { margin-top: 2.5rem; }
.legal__section h2 { font-size: 1.25rem; font-weight: 750; letter-spacing: -0.02em; margin-bottom: 0.75rem; }
.legal__section p { color: var(--ink-2); line-height: 1.65; }
.legal__section p + p { margin-top: 0.85rem; }
.legal__section strong { color: var(--ink); font-weight: 650; }

/* -- footer ---------------------------------------------------------------- */

.footer { background: var(--navy); color: #c7d2fe; padding-block: 3.5rem 2rem; font-size: 0.9375rem; }
.footer__grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(10rem, 1fr)); }
.footer__brand { grid-column: span 2; max-width: 22rem; }
@media (max-width: 36rem) { .footer__brand { grid-column: auto; } }
.footer__brand p { margin-top: 0.75rem; }
.footer__title { margin: 0 0 0.75rem; color: #fff; font-weight: 700; }
.footer__col li + li { margin-top: 0.45rem; }
.footer a { color: #c7d2fe; text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; }
.footer .brand { color: #fff; }
.footer__bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--navy-2); font-size: 0.8125rem; }
.footer__bottom p { margin: 0 0 0.35rem; }
.footer__bottom b { color: #fff; }

/* -- the pop-up (and its in-page fallback) --------------------------------- */

.starter-home { background: var(--soft); padding-block: clamp(3rem, 7vw, 5rem); }
.starter-home .starter { max-width: 36rem; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow); }

.starter { padding: clamp(1.4rem, 4vw, 2.25rem); }
.starter__top { display: flex; align-items: center; gap: 1rem; min-height: 0.5rem; }
.starter__progress { position: relative; flex: 1; margin: 0; padding-bottom: 0.7rem; font-size: 0.8125rem; font-weight: 650; color: var(--ink-3); }
.starter__progress::before, .starter__progress::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; border-radius: 999px; }
.starter__progress::before { right: 0; background: var(--line); }
.starter__progress::after { width: var(--progress, 0%); background: var(--blue); transition: width 0.25s ease; }
.starter__close { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; margin-left: auto; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink); cursor: pointer; }
.starter__close:hover { background: var(--line); }
.starter__noscript { color: var(--ink-2); padding: 0.85rem 1rem; background: var(--amber-soft); border-radius: var(--r-sm); }
.starter:not(.is-enhanced) [data-back] { display: none; }

.step { margin-top: 1.25rem; }
.step__q { font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.75rem); font-weight: 800; letter-spacing: -0.025em; line-height: 1.2; margin-bottom: 1.25rem; }
.step__q:focus { outline: none; }
.step__lead { margin: -0.5rem 0 0.75rem; color: var(--ink-2); }
.step__actions { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 1.5rem; }

.field { display: flex; flex-direction: column; margin-bottom: 1rem; }
.field__label { font-weight: 650; font-size: 0.9375rem; margin-bottom: 0.4rem; }
.field__hint { margin: -0.15rem 0 0.5rem; color: var(--ink-3); font-size: 0.875rem; }
.field__control { position: relative; display: block; margin-top: auto; }
.field__suffix { position: absolute; right: 0.9rem; top: 50%; transform: translateY(-50%); color: var(--ink-3); pointer-events: none; }
.has-suffix input { padding-right: 3rem; }

input[type="text"], input[type="email"] {
  width: 100%;
  font: inherit; font-size: 1.125rem; color: var(--ink);
  padding: 0.8rem 0.95rem;
  background: #fff;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
}
input[type="text"]:focus, input[type="email"]:focus { outline: 3px solid color-mix(in srgb, var(--blue) 30%, transparent); outline-offset: 0; border-color: var(--blue); }
input[type="file"] { font: inherit; font-size: 0.9375rem; max-width: 100%; }

.grid2 { display: grid; gap: 0 1rem; }
.grid2 > * { min-width: 0; }
.grid2--keep { grid-template-columns: 1fr 1fr; }
@media (min-width: 30rem) { .grid2 { grid-template-columns: 1fr 1fr; } }

.chips { border: 0; margin: 0 0 1rem; padding: 0; min-width: 0; }
.chips legend { padding: 0; margin-bottom: 0.5rem; font-weight: 650; font-size: 0.9375rem; }
.chips__row { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-block; padding: 0.5rem 0.95rem; border: 1px solid var(--line-2); border-radius: 999px; font-size: 0.9375rem; }
.chip:hover span { border-color: var(--blue); }
.chip input:checked + span { border-color: var(--blue); background: var(--blue-soft); color: var(--blue-deep); font-weight: 650; }
.chip input:focus-visible + span { outline: 3px solid var(--blue); outline-offset: 2px; }

.result__figure { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.5rem); font-weight: 650; line-height: 1.35; letter-spacing: -0.015em; }
.result__figure strong { color: var(--blue); font-weight: 850; }
.result__note { padding: 0.85rem 1rem; border-radius: var(--r-sm); background: var(--blue-soft); color: var(--ink-2); font-size: 0.9375rem; }
.result__verdict { font-size: clamp(1.25rem, 1.1rem + 0.8vw, 1.6rem); font-weight: 700; letter-spacing: -0.025em; line-height: 1.3; }
/* Only the figure carries the colour; the sentence around it stays calm. */
.hot { font-weight: 800; }
.hot--above { color: var(--red); }
.hot--below { color: var(--blue); }

.chips2 { display: flex; gap: 0.6rem; margin: 1.25rem 0; }
.chips2 > * { flex: 1; min-width: 0; padding: 0.7rem 0.85rem; border: 1px solid var(--line-2); border-radius: var(--r-sm); }
.chips2 span { display: block; font-size: 0.75rem; color: var(--ink-3); line-height: 1.3; }
.chips2 b { display: block; margin-top: 0.15rem; font-size: 1.25rem; font-weight: 800; letter-spacing: -0.03em; color: var(--blue); }
.chips2 .is-ref b { color: var(--ink); }
.chips2 i { display: block; font-style: normal; font-size: 0.75rem; color: var(--ink-3); }
.chips2 small { display: block; margin-top: 0.35rem; font-size: 0.625rem; font-style: italic; text-align: right; color: var(--ink-3); }
@media (max-width: 20rem) { .chips2 { flex-direction: column; } }

.result__position { font-weight: 650; }
.result__source { font-size: 0.8125rem; color: var(--ink-3); }
.scale { position: relative; height: 0.625rem; margin: 1.5rem 0 1.25rem; border-radius: 999px; background: var(--line); }
.scale__band { position: absolute; top: 0; bottom: 0; border-radius: 999px; background: #c9d7ff; }
.scale__mark { position: absolute; top: 50%; width: 1.2rem; height: 1.2rem; transform: translate(-50%, -50%); border-radius: 50%; background: var(--navy); box-shadow: 0 0 0 3px #fff; }

.result__sent { padding: 0.85rem 1rem; border-radius: var(--r-sm); background: var(--green-soft); color: #14532d; font-weight: 600; }
.optional { font-weight: 400; color: var(--ink-3); }

.sharpen { margin-top: 1rem; border: 1px solid var(--line); border-radius: var(--r); }
.sharpen summary { padding: 0.9rem 1.25rem; cursor: pointer; font-weight: 650; }
.sharpen__body { padding: 0 1.25rem 1.25rem; }

/* The offer wears the same badge and blue ring as the highlighted Owner review
   price card, so it reads as the same product. */
.offer { position: relative; margin-top: 1.4rem; padding: 1.35rem 1.25rem 1.1rem; border: 1px solid var(--blue); border-radius: var(--r); box-shadow: 0 0 0 1px var(--blue), var(--shadow); background: #fff; }
.offer__badge { position: absolute; top: 0; left: 1.1rem; transform: translateY(-50%); margin: 0; padding: 0.22rem 0.6rem; border-radius: 999px; background: var(--yellow); color: var(--navy); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.01em; white-space: nowrap; }
.offer__title { margin: 0; font-size: 1.0625rem; font-weight: 750; letter-spacing: -0.015em; line-height: 1.35; }
.offer__body { margin: 0.35rem 0 1rem; font-size: 0.9rem; line-height: 1.5; color: var(--ink-2); }
.offer__btn { width: 100%; }

.drop {
  position: relative;
  display: flex; align-items: center;
  min-height: 4.5rem;
  border: 1.5px dashed #b9c7f5; border-radius: var(--r);
  background: linear-gradient(180deg, #fbfcff, var(--blue-soft));
  transition: border-color 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
}
/* The real input covers the zone: click opens the picker, and dropping a file
   works natively — with or without JavaScript. */
.drop input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; z-index: 1; }
.drop:hover, .drop.is-over { border-color: var(--blue); box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue) 12%, transparent); }
.drop:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px color-mix(in srgb, var(--blue) 30%, transparent); }
.drop__empty { display: grid; grid-template-columns: auto 1fr; column-gap: 0.85rem; align-items: center; padding: 0.8rem 1rem; pointer-events: none; }
.drop__icon { grid-row: span 2; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%; background: #fff; color: var(--blue); box-shadow: var(--shadow); }
.drop__title { font-weight: 650; font-size: 0.9375rem; }
.drop__hint { font-size: 0.8125rem; color: var(--ink-3); }
.drop.has-file { min-height: 0; border-style: solid; border-color: var(--line-2); background: #fff; }
.drop.has-file .drop__empty { display: none; }
.drop.has-file input[type="file"] { pointer-events: none; }
.drop__file { position: relative; z-index: 2; display: flex; align-items: center; gap: 0.75rem; width: 100%; padding: 0.85rem 0.9rem; }
.drop__file-icon { display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: var(--r-sm); background: var(--blue-soft); color: var(--blue); flex: none; }
.drop__file-text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.drop__name { font-weight: 600; font-size: 0.9375rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.drop__size { font-size: 0.8125rem; color: var(--ink-3); }
.drop__clear { display: grid; place-items: center; width: 2rem; height: 2rem; border: 0; border-radius: 50%; background: var(--soft); color: var(--ink-2); cursor: pointer; flex: none; }
.drop__clear:hover { background: var(--line); color: var(--ink); }
.drop.is-error { border-color: #fecaca; background: #fff8f8; }
/* The review form has three uses; only the texts for the current one show. */
.step[data-mode]:not([data-mode="review"]) .for-review,
.step[data-mode]:not([data-mode="waitlist"]) .for-waitlist,
.step[data-mode]:not([data-mode="lawyer"]) .for-lawyer,
.step[data-mode="lawyer"] .no-lawyer { display: none; }
.upload__status { margin-top: 0.4rem; font-size: 0.8125rem; font-weight: 600; }
.upload__status:empty { display: none; }
.drop:not(.is-error) ~ .upload__status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.drop.is-error ~ .upload__status { color: var(--red); }

.form-error { margin: 1rem 0 0; padding: 0.75rem 1rem; border-radius: var(--r-sm); background: var(--red-soft); color: var(--red); font-size: 0.9375rem; }
.form-error a { color: var(--red); }
.done { display: flex; gap: 0.75rem; align-items: flex-start; margin: 0.5rem 0 0; padding: 1rem 1.25rem; border-radius: var(--r); background: var(--green-soft); color: #14532d; font-weight: 600; }
.done .icon { color: var(--green); stroke-width: 2.4; }
.done:focus { outline: none; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.starter__foot { display: flex; align-items: center; justify-content: center; gap: 0.4rem; margin: 1.5rem 0 0; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 0.8125rem; text-align: center; }

/* the dialog itself */
dialog.modal { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: transparent; }
dialog.modal[open] { display: grid; place-items: center; }
dialog.modal::backdrop { background: rgba(15, 31, 75, 0.55); }
.modal__panel { width: min(34rem, calc(100% - 2rem)); max-height: calc(100dvh - 2rem); overflow: auto; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); overscroll-behavior: contain; }
/* The main button stays in reach: if a step is taller than the screen, its
   actions stick to the bottom of the panel instead of hiding below the fold. */
.modal .step__actions { position: sticky; bottom: 0; z-index: 3; margin-top: 1rem; padding-block: 0.75rem; background: #fff; }
.modal .step__actions::before { content: ""; position: absolute; left: 0; right: 0; bottom: 100%; height: 1rem; background: linear-gradient(rgba(255,255,255,0), #fff); pointer-events: none; }
.modal .starter__foot { margin-top: 0.5rem; }
/* Shorter screens (most laptops, phones): tighter rhythm so steps fit. */
@media (max-height: 56rem) {
  .modal .starter { padding-block: 1.1rem 1rem; }
  .modal .step { margin-top: 0.5rem; }
  .modal .step__q { margin-bottom: 0.9rem; }
  .modal .field { margin-bottom: 0.75rem; }
  .modal .starter__foot { padding-top: 0.75rem; }
}
/* Phones: the result has to show its button without scrolling. */
@media (max-width: 30rem) {
  .modal .result__verdict { font-size: 1.15rem; }
  .modal .chips2 { margin: 0.85rem 0; }
  .modal .chips2 > * { padding: 0.55rem 0.7rem; }
  .modal .result__sent, .modal .form-error { padding: 0.6rem 0.8rem; font-size: 0.875rem; }
  .modal .offer { margin-top: 1.1rem; padding: 1.1rem 1rem 0.9rem; }
  .modal .offer__title { font-size: 1rem; }
  .modal .offer__body { font-size: 0.85rem; line-height: 1.45; margin-bottom: 0.8rem; }
}
@media (max-width: 30rem) {
  dialog.modal[open] { place-items: end stretch; }
  .modal__panel { width: 100%; max-height: 92dvh; border-radius: 20px 20px 0 0; }
}
@media (prefers-reduced-motion: no-preference) {
  dialog.modal[open] .modal__panel { animation: modal-in 0.2s ease-out; }
  @keyframes modal-in { from { opacity: 0; transform: translateY(12px) scale(0.98); } to { opacity: 1; transform: none; } }
  @supports (animation-timeline: view()) {
    .lines__bar span { animation: draw-bar linear both; animation-timeline: view(); animation-range: entry 10% entry 80%; }
    @keyframes draw-bar { from { width: 0; } to { width: var(--bar); } }
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* -- print ----------------------------------------------------------------- */

@page { margin: 16mm 14mm; }
@media print {
  body { font-size: 10.5pt; }
  .topbar, .nav__links, .btn, .skip-link, .starter-home, .modal, .callbar .btn, .closing__buttons, .aud__link, .hero__visual { display: none !important; }
  .nav { position: static; background: #fff; backdrop-filter: none; }
  .hero, .section--soft, .closing { background: #fff; padding-block: 1rem; }
  .hero::before, .hero::after { display: none; }
  .audiences { margin-top: 0; }
  .section { padding-block: 1.25rem; }
  .mock, .tile, .price, .proof__figure, .audiences__panel { box-shadow: none; break-inside: avoid; }
  .closing__block, .callbar, .footer { background: #fff; color: #000; box-shadow: none; }
  .closing__block > p, .callbar__text p, .footer, .footer a { color: #333; }
  .lines__bar span { background: #000 !important; }
  .qa p { display: block; }
}
