/* ==========================================================================
   You@Uni early-access site
   Palette: navy #1C2541 · teal #0B7A75 · gold #F0A500 · gray #F3F4F7 · white
   ========================================================================== */

/* ---------- Fonts (self-hosted Inter, Latin subset) ---------- */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400; font-display: swap; src: url("../fonts/inter-400.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 500; font-display: swap; src: url("../fonts/inter-500.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 600; font-display: swap; src: url("../fonts/inter-600.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 700; font-display: swap; src: url("../fonts/inter-700.woff2") format("woff2"); }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 800; font-display: swap; src: url("../fonts/inter-800.woff2") format("woff2"); }
@font-face {
  font-family: "Inter Fallback";
  src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
  size-adjust: 107.4%;
  ascent-override: 90.2%;
  descent-override: 22.5%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --navy: #1c2541;
  --navy-900: #131a32;
  --navy-800: #182038;
  --navy-700: #2a3659;
  --navy-200: #c9cedd;

  --teal: #0b7a75;
  --teal-600: #0a6661;
  --teal-300: #5ccfc7;
  --teal-100: #d5ecea;
  --teal-50: #ebf5f4;

  --gold: #f0a500;
  --gold-600: #c77f12;
  --gold-100: #fcebc2;
  --gold-50: #fff7e0;

  --bg: #f3f4f7;
  --card: #fff;
  --line: rgba(28, 37, 65, 0.1);
  --field-line: #8a93a8;

  --ink: #1c2541;
  --ink-2: #424d69;
  --ink-3: #5a6480;
  --danger: #b42318;
  --danger-bg: #fef3f2;

  /* same four colors as the app's workload scale */
  --free: #16a34a;
  --light: #ca8a04;
  --moderate: #f97316;
  --heavy: #dc2626;

  --font: "Inter", "Inter Fallback", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 12px;
  --r-md: 18px;
  --r-lg: 28px;
  --r-xl: 36px;

  --shadow-sm: 0 1px 2px rgba(19, 26, 50, 0.05), 0 4px 14px rgba(19, 26, 50, 0.05);
  --shadow-md: 0 1px 2px rgba(19, 26, 50, 0.05), 0 14px 34px -8px rgba(19, 26, 50, 0.13);
  --shadow-lg: 0 2px 4px rgba(19, 26, 50, 0.06), 0 32px 70px -18px rgba(19, 26, 50, 0.3);

  --container: 1180px;
  --gutter: clamp(20px, 5vw, 40px);
  --header-h: 68px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --focus: var(--teal);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 20px);
  color-scheme: light;
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink-2);
  font: 400 1.0625rem/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { color: var(--ink); text-wrap: balance; font-feature-settings: "cv11", "ss03"; }
p { text-wrap: pretty; }
a { color: var(--teal); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--teal-600); }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus { outline: none; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 6px; }
.on-dark { --focus: var(--gold); }
::selection { background: var(--gold); color: var(--navy); }

.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 12px; background: #fff; color: var(--navy);
  font-weight: 700; text-decoration: none; box-shadow: var(--shadow-lg);
  transition: top 0.2s var(--ease);
}
.skip-link:focus-visible { top: 14px; outline-color: var(--gold); }

.icon {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0 1.4rem;
  border: 0; border-radius: 14px;
  font-weight: 700; font-size: 1rem; line-height: 1; letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  transition: background-color 0.2s, transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.btn--primary {
  background: var(--teal); color: #fff;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.2), 0 10px 22px -10px rgba(11, 122, 117, 0.9);
}
.btn--primary:hover { background: var(--teal-600); color: #fff; transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0) scale(0.99); }
.btn--sm { min-height: 42px; padding: 0 1.05rem; font-size: 0.9375rem; border-radius: 12px; }
.btn--lg { min-height: 54px; padding: 0 1.9rem; font-size: 1.0625rem; border-radius: 16px; }
.btn--block { width: 100%; }
.btn .icon { width: 1.15em; height: 1.15em; transition: transform 0.25s var(--ease); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn[disabled] { opacity: 0.75; cursor: progress; transform: none; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(28, 37, 65, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  backdrop-filter: saturate(1.3) blur(14px);
  transition: box-shadow 0.3s;
}
.site-header.is-scrolled { box-shadow: 0 10px 30px -14px rgba(8, 12, 28, 0.7); }
.site-header__bar { display: flex; align-items: center; gap: 0.75rem; height: var(--header-h); }

.brand {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: #fff; text-decoration: none;
  font-weight: 800; font-size: 1.3rem; letter-spacing: -0.035em; flex: none;
}
.brand:hover { color: #fff; }
.brand img { width: 34px; height: auto; }

.nav { display: none; }
.nav__link {
  display: block; padding: 0.55rem 0.9rem; border-radius: 10px;
  color: rgba(255, 255, 255, 0.86); text-decoration: none; font-weight: 500; font-size: 0.9375rem;
  transition: color 0.2s, background-color 0.2s;
}
.nav__link:hover { color: #fff; background: rgba(255, 255, 255, 0.08); }
.header-cta { margin-left: auto; }
.nav-toggle {
  display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0;
  background: transparent; border: 1px solid rgba(255, 255, 255, 0.22); border-radius: 12px; color: #fff;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 899.98px) {
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    padding: 8px var(--gutter) 22px;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 24px 40px -20px rgba(8, 12, 28, 0.8);
  }
  .nav.is-open { display: block; }
  .nav__link { padding: 0.95rem 0.5rem; font-size: 1.125rem; border-bottom: 1px solid rgba(255, 255, 255, 0.07); border-radius: 0; }
  .nav__link:last-child { border-bottom: 0; }
}
@media (max-width: 389.98px) {
  .brand span { font-size: 1.15rem; }
  .header-cta { padding: 0 0.8rem; font-size: 0.875rem; }
}
@media (max-width: 359.98px) {
  .site-header .brand span { display: none; } /* the logo mark carries the brand on very narrow phones */
}
@media (min-width: 900px) {
  .nav { display: flex; align-items: center; gap: 0.15rem; margin-left: auto; }
  .header-cta { margin-left: 0.6rem; }
  .nav-toggle { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip;
  background: var(--navy); color: #fff;
  padding-block: clamp(32px, 4.6vw, 52px) clamp(64px, 8vw, 104px);
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__bg::before { /* teal glow, top right */
  content: ""; position: absolute; right: -24%; top: -46%;
  width: min(1040px, 135vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 122, 117, 0.7), rgba(11, 122, 117, 0.3) 46%, rgba(11, 122, 117, 0) 74%);
}
.hero__bg::after { /* gold glow, bottom left */
  content: ""; position: absolute; left: -26%; bottom: -52%;
  width: min(900px, 125vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 165, 0, 0.36), rgba(240, 165, 0, 0.12) 52%, rgba(240, 165, 0, 0) 74%);
}
.hero__dots {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1.4px);
  background-size: 30px 30px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 72% 28%, #000 0%, transparent 72%);
  mask-image: radial-gradient(ellipse 70% 60% at 72% 28%, #000 0%, transparent 72%);
}
.hero__inner { display: grid; gap: 52px; align-items: center; }

.eyebrow-chip {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.4rem 0.9rem 0.4rem 0.7rem; margin-bottom: 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.18); border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #e6e9f2; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em;
}
.eyebrow-chip::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 0 4px rgba(240, 165, 0, 0.22);
}

.hero h1 {
  color: #fff; font-weight: 800;
  font-size: clamp(2.75rem, 1.5rem + 5.4vw, 4.3rem);
  line-height: 1.02; letter-spacing: -0.042em;
}
.hero h1 span { display: block; }
.swash { position: relative; display: inline-block !important; padding-bottom: 0.1em; }
.swash svg {
  position: absolute; left: 0; bottom: -0.04em; width: 100%; height: 0.22em; overflow: visible;
  stroke: var(--gold); stroke-width: 5; stroke-linecap: round; fill: none;
}
.swash path { stroke-dasharray: 320; stroke-dashoffset: 320; animation: draw 1.1s 0.9s var(--ease) forwards; }
.hero__lead {
  max-width: 34rem; margin-top: 1.25rem;
  color: #d9ddea; font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem); line-height: 1.58;
}
.hero__note { margin-top: 1rem; color: var(--navy-200); font-size: 0.9375rem; text-align: center; }

/* ---------- Sign-up card ---------- */
.signup {
  margin-top: 1.6rem; max-width: 36rem;
  padding: clamp(22px, 3vw, 26px);
  background: #fff; color: var(--ink-2);
  border-radius: var(--r-lg); box-shadow: var(--shadow-lg);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.signup h2 { font-size: 1.375rem; line-height: 1.2; letter-spacing: -0.02em; font-weight: 800; }
.signup__hint { margin-top: 0.3rem; color: var(--ink-3); font-size: 0.9375rem; }
.form { display: grid; gap: 12px; margin-top: 1.05rem; }
.form__row { display: grid; gap: 12px; }
@media (min-width: 360px) { .form__row { grid-template-columns: 1fr 1fr; } }

.field > label:not(.check) { display: block; margin-bottom: 0.4rem; color: var(--ink); font-size: 0.875rem; font-weight: 600; }
.field input {
  width: 100%; height: 50px; padding: 0 14px;
  border: 1.5px solid var(--field-line); border-radius: 12px; background: #fff;
  color: var(--ink); font-size: 1rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field input::placeholder { color: #7b849a; }
.field input:hover { border-color: var(--ink-3); }
.field input:focus { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(11, 122, 117, 0.2); outline: none; }
.field.has-error input { border-color: var(--danger); background: var(--danger-bg); }
.field.has-error input:focus { box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.18); }
.field__error {
  display: none; align-items: flex-start; gap: 0.4rem; margin-top: 0.4rem;
  color: var(--danger); font-size: 0.875rem; font-weight: 500; line-height: 1.35;
}
.field__error .icon { width: 1.05em; height: 1.05em; margin-top: 0.12em; }
.has-error > .field__error { display: flex; }

.check { position: relative; display: grid; grid-template-columns: 26px 1fr; gap: 12px; align-items: start; cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 26px; height: 26px; margin: 0; cursor: pointer; }
.check__box {
  position: relative; width: 26px; height: 26px; margin-top: 1px;
  border: 1.5px solid var(--field-line); border-radius: 8px; background: #fff;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.check__box::after {
  content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 12px;
  border: solid #fff; border-width: 0 2.5px 2.5px 0; border-radius: 1px;
  transform: rotate(45deg) scale(0); transition: transform 0.2s var(--ease);
}
.check input:checked + .check__box { background: var(--teal); border-color: var(--teal); }
.check input:checked + .check__box::after { transform: rotate(45deg) scale(1); }
.check input:focus-visible + .check__box { box-shadow: 0 0 0 4px rgba(11, 122, 117, 0.28); border-color: var(--teal); }
.check__text { color: var(--ink); font-size: 0.9375rem; line-height: 1.45; font-weight: 500; }
.field--check.has-error .check__box { border-color: var(--danger); background: var(--danger-bg); }
.field--check .field__error { margin-left: 38px; }

.form__legal { color: var(--ink-3); font-size: 0.8125rem; line-height: 1.5; text-align: center; }
.form__legal a { color: var(--teal); font-weight: 600; }
.form__status {
  display: none; align-items: flex-start; gap: 0.55rem;
  padding: 0.8rem 1rem; border-radius: 12px; background: var(--danger-bg);
  color: var(--danger); font-size: 0.9375rem; font-weight: 500;
}
.form__status.is-visible { display: flex; }
.form__status .icon { margin-top: 0.1em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn .spinner {
  display: none; width: 1.15em; height: 1.15em; border-radius: 50%;
  border: 2.5px solid rgba(255, 255, 255, 0.35); border-top-color: #fff; animation: spin 0.7s linear infinite;
}
.btn.is-loading .spinner { display: inline-block; }
.btn.is-loading .btn__arrow { display: none; }

.signup__done { display: none; text-align: center; padding: 0.6rem 0 0.4rem; }
.signup.is-done .signup__form { display: none; }
.signup.is-done .signup__done { display: block; }
.signup__done:focus { outline: none; }
.done-badge {
  display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1.1rem;
  border-radius: 50%; background: var(--teal-50); color: var(--teal); box-shadow: 0 0 0 8px rgba(11, 122, 117, 0.08);
}
.done-badge svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.done-badge path { stroke-dasharray: 30; stroke-dashoffset: 30; }
.signup.is-done .done-badge path { animation: draw 0.6s 0.15s var(--ease) forwards; }
.signup__done h3 { font-size: 1.5rem; line-height: 1.2; font-weight: 800; letter-spacing: -0.025em; }
.signup__done p { margin-top: 0.5rem; color: var(--ink-2); }

/* ---------- Phones ---------- */
.phone {
  --w: 260px;
  position: relative; width: var(--w); aspect-ratio: 9 / 19.2;
  padding: calc(var(--w) * 0.034);
  border-radius: calc(var(--w) * 0.168);
  background: linear-gradient(155deg, #3a4670 0%, #1b2342 38%, #0d1226 100%);
  box-shadow:
    inset 0 0 0 1.5px rgba(255, 255, 255, 0.16),
    inset 0 0 0 calc(var(--w) * 0.012) rgba(8, 12, 28, 0.9),
    0 44px 80px -24px rgba(6, 10, 24, 0.6),
    0 14px 28px -12px rgba(6, 10, 24, 0.4);
}
.phone::before, .phone::after { /* side buttons */
  content: ""; position: absolute; width: 3px; border-radius: 2px; background: #2c3558;
}
.phone::before { left: -2.5px; top: 20%; height: 7%; box-shadow: 0 calc(var(--w) * 0.2) 0 #2c3558; }
.phone::after { right: -2.5px; top: 27%; height: 11%; }
.phone__island {
  position: absolute; z-index: 3; left: 50%; top: calc(var(--w) * 0.052); translate: -50% 0;
  width: 29%; height: calc(var(--w) * 0.082); border-radius: 999px; background: #05070f;
}
.phone__screen {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: calc(var(--w) * 0.134); background: #fff;
}
.phone--chat .screen { /* html screen (Wes chat) */
  width: 100%; height: 100%; overflow: hidden; background: #fff;
  border-radius: calc(var(--w) * 0.134);
}

/* floating motion for hero phones */
@keyframes float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -9px; } }

/* hero composition */
.hero__phones { position: relative; container-type: inline-size; width: min(100%, 560px); margin-inline: auto; aspect-ratio: 1 / 1.02; }
.hero__phones .ring {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%;
  width: 92%; aspect-ratio: 1; border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.13);
}
.hero__phones .ring::after {
  content: ""; position: absolute; left: 13%; top: 11%; width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 7px rgba(240, 165, 0, 0.2), 0 0 26px rgba(240, 165, 0, 0.7);
}
.hero__phones .phone { --w: 230px; position: absolute; }
@supports (width: 1cqw) { .hero__phones .phone { --w: 51cqw; } }
.hero__phones .phone--a { left: 1%; top: 6%; rotate: -5deg; }
.hero__phones .phone--b { right: 1%; top: 17%; rotate: 4deg; z-index: 2; }
.hero__phones .phone--a { animation: float 9s ease-in-out infinite; }
.hero__phones .phone--b { animation: float 9s ease-in-out -4.5s infinite; }
@media (min-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1.04fr) minmax(0, 0.96fr); gap: clamp(32px, 4vw, 64px); }
  .hero__phones { margin-inline: 0 -2%; }
}

/* ---------- Strip ---------- */
.strip { position: relative; z-index: 2; background: #fff; border-bottom: 1px solid var(--line); }
.strip p {
  display: flex; align-items: center; justify-content: center; gap: 0.7rem;
  padding: 1.05rem 0; color: var(--ink); font-size: 0.9375rem; font-weight: 600; letter-spacing: -0.005em; text-align: center;
}
.strip p::before, .strip p::after { content: ""; width: 7px; height: 7px; background: var(--gold); transform: rotate(45deg); border-radius: 1px; flex: none; }

/* ---------- Section scaffolding ---------- */
.section { position: relative; padding-block: clamp(56px, 7vw, 96px); }
.section__head { max-width: 40rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section__head--center { margin-inline: auto; text-align: center; }
.kicker {
  display: inline-flex; align-items: center; gap: 0.6rem;
  color: var(--teal); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.11em; text-transform: uppercase;
}
.kicker::before { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--gold); }
.section__head--center .kicker::after { content: ""; width: 22px; height: 3px; border-radius: 2px; background: var(--gold); }
h2.title { margin-top: 0.8rem; font-size: clamp(1.95rem, 1.3rem + 2.5vw, 3rem); line-height: 1.08; letter-spacing: -0.034em; font-weight: 800; }
.lead { margin-top: 1rem; font-size: 1.125rem; color: var(--ink-2); }

/* ---------- Features ---------- */
.features { padding-top: clamp(56px, 7vw, 96px); }
.feature { display: grid; gap: 34px; align-items: center; }
.feature + .feature, .wes + .feature { margin-top: clamp(72px, 10vw, 136px); }
.feature h2 { margin-top: 0.9rem; font-size: clamp(1.8rem, 1.25rem + 2.2vw, 2.75rem); line-height: 1.08; letter-spacing: -0.034em; font-weight: 800; }
.feature__eyebrow {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.35rem 0.8rem 0.35rem 0.55rem; border-radius: 999px;
  background: var(--teal-50); color: var(--teal-600);
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.01em;
}
.feature__eyebrow .icon { width: 1.15rem; height: 1.15rem; }
.checklist { display: grid; gap: 0.95rem; margin-top: 1.6rem; }
.checklist li { display: grid; grid-template-columns: 28px 1fr; gap: 14px; align-items: start; font-size: 1.0625rem; line-height: 1.55; }
.checklist .tick {
  display: grid; place-items: center; width: 28px; height: 28px; margin-top: -1px;
  border-radius: 50%; background: var(--teal); color: #fff;
}
.checklist .tick .icon { width: 15px; height: 15px; stroke-width: 2.6; }
.legend { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 1.5rem; }
.legend li {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.8rem; border-radius: 999px; background: #fff; border: 1px solid var(--line);
  color: var(--ink); font-size: 0.875rem; font-weight: 600; box-shadow: var(--shadow-sm);
}
.legend li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c); }

.stage {
  position: relative; container-type: inline-size; isolation: isolate; overflow: hidden;
  display: grid; place-items: center;
  padding: clamp(32px, 6cqw, 56px) 0;
  border-radius: var(--r-xl); background: #fff; box-shadow: var(--shadow-md);
}
.stage::before { /* soft color wash */
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(60% 55% at 85% 12%, var(--wash-a, rgba(11, 122, 117, 0.16)), transparent 70%),
    radial-gradient(55% 50% at 8% 92%, var(--wash-b, rgba(240, 165, 0, 0.16)), transparent 70%);
}
.stage::after { /* ring that echoes the @ mark */
  content: ""; position: absolute; z-index: -1; left: 50%; top: 50%; translate: -50% -50%;
  width: 88%; aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed rgba(28, 37, 65, 0.1);
}
.stage .phone { --w: 240px; }
@supports (width: 1cqw) { .stage .phone { --w: min(268px, 62cqw); } }
.stage--gold { --wash-a: rgba(240, 165, 0, 0.2); --wash-b: rgba(11, 122, 117, 0.14); }
.stage--blue { --wash-a: rgba(28, 37, 65, 0.1); --wash-b: rgba(11, 122, 117, 0.16); }

@media (min-width: 900px) {
  .feature { grid-template-columns: 1fr 1fr; gap: clamp(48px, 6.5vw, 104px); }
  .feature--flip .feature__media { order: -1; }
}

/* ---------- Wes panel ---------- */
.wes {
  position: relative; isolation: isolate; overflow: hidden;
  margin-top: clamp(72px, 10vw, 136px);
  padding: clamp(36px, 6vw, 72px) clamp(24px, 5vw, 72px);
  border-radius: var(--r-xl); background: var(--navy); color: #fff;
}
.wes::before {
  content: ""; position: absolute; z-index: -1; right: -20%; top: -40%; width: min(900px, 120%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 122, 117, 0.65), rgba(11, 122, 117, 0.25) 48%, transparent 74%);
}
.wes::after {
  content: ""; position: absolute; z-index: -1; left: -22%; bottom: -55%; width: min(780px, 110%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 165, 0, 0.3), rgba(240, 165, 0, 0.1) 52%, transparent 74%);
}
.wes .feature { margin: 0; }
.wes h2 { color: #fff; }
.wes .feature__eyebrow { background: rgba(255, 255, 255, 0.1); color: #fff; }
.wes .checklist li { color: #dde1ee; }
.wes .checklist .tick { background: var(--gold); color: var(--navy); }
.wes__media { display: grid; justify-items: center; gap: 18px; container-type: inline-size; }
.wes__media .phone { --w: 270px; }
@supports (width: 1cqw) { .wes__media .phone { --w: min(300px, 76cqw); } }
.pill-label {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 0.95rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.01em;
}
.pill-label::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }

/* chat screen (sizes in cqw, so it scales with the phone) */
.phone--chat { container-type: inline-size; }
.screen--chat { display: flex; flex-direction: column; background: #f7f8fb; font-size: 4.55cqw; line-height: 1.32; color: #111827; }
.sb { display: flex; justify-content: space-between; align-items: center; padding: 3.7cqw 7.5cqw 0; height: 11cqw; font-size: 3.5cqw; font-weight: 700; color: #111827; }
.sb__icons { display: inline-flex; gap: 1.4cqw; align-items: center; }
.sb__icons i { display: block; background: #111827; border-radius: 1cqw; }
.sb__icons i:nth-child(1) { width: 4.4cqw; height: 2.4cqw; clip-path: polygon(0 100%, 0 70%, 30% 70%, 30% 40%, 60% 40%, 60% 0, 100% 0, 100% 100%); }
.sb__icons i:nth-child(2) { width: 5cqw; height: 3.2cqw; border-radius: 1cqw 1cqw 0 0; clip-path: polygon(0 100%, 50% 0, 100% 100%); }
.sb__icons i:nth-child(3) { width: 6.6cqw; height: 3.2cqw; border-radius: 1cqw; }
.chat__head {
  display: grid; justify-items: center; gap: 0.5cqw; padding: 2.4cqw 4cqw 3cqw;
  background: rgba(255, 255, 255, 0.92); border-bottom: 1px solid rgba(17, 24, 39, 0.08);
}
.chat__avatar { display: grid; place-items: center; width: 11.5cqw; height: 11.5cqw; border-radius: 50%; background: var(--navy); }
.chat__avatar img { width: 7.2cqw; height: auto; }
.chat__name { font-size: 3.5cqw; font-weight: 700; color: #111827; }
.chat__name small { display: block; color: #6b7280; font-size: 2.9cqw; font-weight: 500; }
.chat__body { display: flex; flex-direction: column; gap: 3.1cqw; padding: 3.5cqw 4cqw 3cqw; flex: 1; }
.chat__day { align-self: center; margin: 0 0 0.6cqw; color: var(--ink-3); font-size: 3cqw; font-weight: 600; }
.msg {
  max-width: 84%; padding: 3cqw 4cqw; border-radius: 5.6cqw; font-size: 4.35cqw; line-height: 1.34;
}
.msg--wes { align-self: flex-start; background: #e8eaf0; color: #111827; border-bottom-left-radius: 1.4cqw; }
.msg--you { align-self: flex-end; background: var(--teal); color: #fff; border-bottom-right-radius: 1.4cqw; }
.chat__input {
  display: flex; align-items: center; justify-content: space-between;
  margin: 0 4cqw 4.5cqw; padding: 2.2cqw 2.2cqw 2.2cqw 4cqw; border: 1px solid rgba(17, 24, 39, 0.14); border-radius: 999px;
  background: #fff; color: var(--ink-3); font-size: 3.7cqw;
}
.chat__send { display: grid; place-items: center; width: 7cqw; height: 7cqw; border-radius: 50%; background: var(--teal); }
.chat__send::after { content: ""; width: 2.3cqw; height: 2.3cqw; border: solid #fff; border-width: 0.6cqw 0.6cqw 0 0; rotate: -45deg; translate: -0.3cqw 0.3cqw; }

/* messages play in one by one */
.js .chat .msg { opacity: 0; transform: translateY(8px) scale(0.97); }
.js .chat.is-visible .msg { animation: pop 0.55s var(--ease) both; animation-delay: calc(0.35s + var(--i) * 0.7s); }

/* ---------- How it works ---------- */
.steps { display: grid; gap: 18px; counter-reset: step; }
.step {
  position: relative; padding: 28px 26px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.step__num {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1.1rem;
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px var(--gold);
}
.step__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: var(--teal-50); color: var(--teal); }
.step__icon .icon { width: 26px; height: 26px; }
.step h3 { font-size: 1.3rem; line-height: 1.25; font-weight: 800; letter-spacing: -0.022em; }
.step p { margin-top: 0.55rem; font-size: 1rem; }
@media (min-width: 860px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* ---------- You stay in control ---------- */
.cards { display: grid; gap: 16px; }
.card {
  padding: 26px; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--shadow-sm);
}
.card__icon { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: 1.1rem; border-radius: 14px; background: var(--teal); color: #fff; }
.card__icon .icon { width: 24px; height: 24px; }
.card__label { color: var(--teal); font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; }
.card p { margin-top: 0.4rem; color: var(--ink); font-size: 1.125rem; line-height: 1.45; font-weight: 600; letter-spacing: -0.01em; }
@media (min-width: 800px) { .cards { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 36px; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-sm); transition: box-shadow 0.3s; }
.faq details[open] { box-shadow: var(--shadow-md); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  min-height: 68px; padding: 18px 22px; list-style: none; cursor: pointer;
  color: var(--ink); font-size: 1.0625rem; line-height: 1.4; font-weight: 700; letter-spacing: -0.012em;
  border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--teal-600); }
.faq .plus {
  position: relative; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--teal-50); color: var(--teal);
  transition: background-color 0.25s, color 0.25s, rotate 0.3s var(--ease);
}
.faq .plus::before, .faq .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; }
.faq .plus::after { rotate: 90deg; transition: rotate 0.3s var(--ease); }
.faq details[open] .plus { background: var(--teal); color: #fff; }
.faq details[open] .plus::after { rotate: 0deg; }
.faq__a { padding: 0 22px 22px; max-width: 46rem; }
.faq__a p + p { margin-top: 0.75rem; }
.faq__contact { margin-top: 1.5rem; color: var(--ink-2); }
.faq__contact a { font-weight: 600; }
@media (min-width: 900px) {
  .faq { grid-template-columns: 0.8fr 1.2fr; gap: clamp(48px, 7vw, 104px); align-items: start; }
  .faq__head { position: sticky; top: calc(var(--header-h) + 36px); margin: 0; }
}
@supports (interpolate-size: allow-keywords) {
  .faq { interpolate-size: allow-keywords; }
  .faq details::details-content { block-size: 0; overflow: clip; transition: block-size 0.35s var(--ease), content-visibility 0.35s allow-discrete; }
  .faq details[open]::details-content { block-size: auto; }
}

/* ---------- Final call to action ---------- */
.cta-wrap { padding-top: clamp(8px, 2vw, 24px); padding-bottom: clamp(64px, 8vw, 112px); }
.cta {
  position: relative; isolation: isolate; overflow: hidden; text-align: center;
  padding: clamp(48px, 8vw, 96px) var(--gutter);
  border-radius: var(--r-xl); background: var(--navy); color: #fff;
}
.cta::before {
  content: ""; position: absolute; z-index: -1; right: -18%; top: -70%; width: min(820px, 120%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 122, 117, 0.7), rgba(11, 122, 117, 0.26) 48%, transparent 74%);
}
.cta::after {
  content: ""; position: absolute; z-index: -1; left: -18%; bottom: -80%; width: min(760px, 110%); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 165, 0, 0.34), rgba(240, 165, 0, 0.1) 52%, transparent 74%);
}
.cta h2 { color: #fff; font-size: clamp(2.25rem, 1.4rem + 3.8vw, 4rem); line-height: 1.03; letter-spacing: -0.042em; font-weight: 800; }
.cta p { max-width: 30rem; margin: 1.1rem auto 0; color: #d9ddea; font-size: 1.125rem; }
.cta .btn { margin-top: 2rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #d9ddea; padding-block: clamp(44px, 6vw, 72px) 36px; }
.site-footer__top { display: grid; gap: 28px; align-items: center; }
.footer-links { display: flex; flex-wrap: wrap; gap: 6px 26px; }
.footer-links a { color: #fff; font-weight: 600; font-size: 0.9375rem; text-decoration: none; padding: 6px 0; }
.footer-links a:hover { color: var(--gold); text-decoration: underline; text-underline-offset: 0.25em; }
.site-footer__fine { margin-top: 2.2rem; padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, 0.12); display: grid; gap: 0.7rem; font-size: 0.9rem; color: var(--navy-200); }
.site-footer__fine p:first-child { max-width: 46rem; }
@media (min-width: 760px) {
  .site-footer__top { grid-template-columns: auto 1fr; gap: 48px; }
  .footer-links { justify-content: flex-end; }
}

/* ---------- Cookie banner ---------- */
.cookie {
  position: fixed; z-index: 90; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  padding: 18px 18px 16px; background: #fff; color: var(--ink-2);
  border: 1px solid var(--line); border-radius: var(--r-md);
  box-shadow: 0 2px 4px rgba(19, 26, 50, 0.08), 0 28px 60px -12px rgba(19, 26, 50, 0.4);
  animation: rise 0.5s 0.6s var(--ease) both;
}
.cookie[hidden] { display: none; }
.cookie h2 { display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; font-weight: 800; letter-spacing: -0.015em; }
.cookie p { margin-top: 0.4rem; font-size: 0.9rem; line-height: 1.5; }
.cookie__actions { display: flex; gap: 10px; margin-top: 14px; }
.cookie__actions .btn { flex: 1; min-height: 44px; padding: 0 1rem; font-size: 0.9375rem; }
.btn--ghost { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--field-line); }
.btn--ghost:hover { background: var(--bg); color: var(--ink); }
@media (min-width: 640px) { .cookie { left: auto; right: 24px; bottom: 24px; width: 400px; } }

/* ---------- Legal pages ---------- */
.legal-hero { position: relative; isolation: isolate; overflow: clip; background: var(--navy); color: #fff; padding-block: clamp(48px, 7vw, 88px) clamp(64px, 8vw, 104px); }
.legal-hero::before {
  content: ""; position: absolute; z-index: -1; right: -20%; top: -80%; width: min(860px, 120vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(11, 122, 117, 0.6), rgba(11, 122, 117, 0.2) 48%, transparent 74%);
}
.legal-hero::after {
  content: ""; position: absolute; z-index: -1; left: -20%; bottom: -90%; width: min(700px, 100vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 165, 0, 0.28), rgba(240, 165, 0, 0.08) 52%, transparent 74%);
}
.legal-hero h1 { color: #fff; font-size: clamp(2.4rem, 1.4rem + 4vw, 3.9rem); line-height: 1.04; letter-spacing: -0.04em; font-weight: 800; }
.legal-hero p { margin-top: 1rem; color: var(--navy-200); font-size: 1rem; }
.legal-hero .kicker { color: var(--teal-300); margin-bottom: 1rem; }
.legal-body { margin-top: calc(-1 * clamp(28px, 4vw, 44px)); position: relative; z-index: 2; padding-bottom: clamp(64px, 9vw, 112px); }
.legal-card { max-width: 52rem; margin-inline: auto; padding: clamp(26px, 5vw, 56px); background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-md); }
.legal-card section + section { margin-top: 2.2rem; padding-top: 2.2rem; border-top: 1px solid var(--line); }
.legal-card h2 { font-size: clamp(1.25rem, 1.1rem + 0.7vw, 1.6rem); line-height: 1.25; letter-spacing: -0.022em; font-weight: 800; }
.legal-card h2 + * { margin-top: 0.7rem; }
.legal-card .note { color: var(--ink-3); font-size: 0.95rem; }
.placeholder { display: inline-block; padding: 0.35rem 0.75rem; border-radius: 8px; background: var(--gold-50); border: 1px dashed var(--gold-600); color: #6b4300; font-weight: 600; font-size: 0.95rem; }
.legal-card a { font-weight: 600; }
.back-link { display: inline-flex; align-items: center; gap: 0.4rem; margin-bottom: 1.2rem; color: var(--navy-200); font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.back-link:hover { color: #fff; }
.back-link .icon { rotate: 180deg; width: 1.05em; height: 1.05em; }

/* ---------- Motion ---------- */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes spin { to { rotate: 360deg; } }
@keyframes rise { from { opacity: 0; translate: 0 18px; } to { opacity: 1; translate: 0 0; } }
@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes hero-in { from { translate: 0 16px; } to { translate: 0 0; } }
@keyframes hero-fade { from { opacity: 0; translate: 0 22px; } to { opacity: 1; translate: 0 0; } }

/* Text is visible from the first paint (only a short rise-up), so nothing waits on an animation. */
.js .hero .eyebrow-chip, .js .hero h1, .js .hero__lead, .js .hero .signup, .js .hero__note {
  animation: hero-in 0.8s var(--ease) backwards;
}
.js .hero__phones { animation: hero-fade 1s var(--ease) backwards; }
.js .hero .eyebrow-chip { animation-delay: 0.05s; }
.js .hero h1 { animation-delay: 0.12s; }
.js .hero__lead { animation-delay: 0.24s; }
.js .hero .signup { animation-delay: 0.36s; }
.js .hero__note { animation-delay: 0.48s; }
.js .hero__phones { animation-delay: 0.25s; }

.js .reveal { opacity: 0; translate: 0 22px; transition: opacity 0.8s var(--ease), translate 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.is-visible { opacity: 1; translate: 0 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; translate: none; }
  .js .chat .msg { opacity: 1; transform: none; }
  .swash path { stroke-dashoffset: 0; }
  .hero__phones .phone { animation: none; }
}

/* ---------- Forced colors (Windows high contrast) ---------- */
@media (forced-colors: active) {
  .btn, .field input, .check__box, .card, .step, .faq details, .signup { border: 1px solid CanvasText; }
  .check input:checked + .check__box::after { border-color: HighlightText; }
}
