/* ==========================================================================
   Reternly — site styles
   Livery: navy base, yellow accent. One family (Archivo), width carries voice:
   expanded for display, normal for reading.
   ========================================================================== */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-vf.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  /* Navy */
  --navy-950: #07122a;
  --navy-900: #0c1b38;
  --navy-800: #142950;
  --navy-700: #1e3866;
  --navy-600: #2e4d85;
  --navy-400: #6e83ad;
  --navy-200: #bac6dd;
  --navy-100: #dde4f0;
  --mist: #eef2f8;
  --white: #ffffff;

  /* Brass */
  --yellow: #ffc933;
  --yellow-300: #ffdb70;
  --yellow-100: #fff4d1;
  --yellow-700: #8a6200;

  /* Status */
  --green: #2e9e6e;
  --green-300: #7fd8ae;
  --green-100: #dcf3e8;
  --red-300: #f19a8f;

  /* Roles */
  --ink: var(--navy-900);
  --slate: #4f5b76;
  --line: #d7deea;
  --line-dark: rgba(186, 198, 221, 0.16);

  /* Type */
  --font: "Archivo", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --fs-display: clamp(3.1rem, 0.9rem + 6.6vw, 7.25rem);
  --fs-h1: clamp(2.6rem, 1.4rem + 4.4vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.25rem + 2.6vw, 3.4rem);
  --fs-h3: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --fs-lead: clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --fs-body: 1.0625rem;
  --fs-small: 0.9375rem;
  --fs-xs: 0.8125rem;

  /* Space & shape */
  --wrap: 1240px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(84px, 10vw, 148px);
  --r-sm: 6px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;
  --shadow-ui: 0 1px 0 rgba(255, 255, 255, 0.04) inset, 0 30px 60px -20px rgba(3, 9, 24, 0.55);
  --shadow-ui-light: 0 24px 50px -24px rgba(12, 27, 56, 0.28), 0 2px 6px rgba(12, 27, 56, 0.06);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* ---------------------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: 1.6;
  color: var(--ink);
  background: var(--white);
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.skip {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--yellow); color: var(--navy-950); padding: 10px 16px; border-radius: var(--r-sm);
  font-weight: 600; text-decoration: none;
}
.skip:focus { top: 16px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ---------------------------------------------------------------- type */
.display, .h1, .h2, .h3 { font-stretch: 125%; letter-spacing: -0.015em; text-wrap: balance; }
.display { font-size: var(--fs-display); font-weight: 700; line-height: 0.9; letter-spacing: -0.03em; }
.h1 { font-size: var(--fs-h1); font-weight: 680; line-height: 0.98; letter-spacing: -0.025em; }
.h2 { font-size: var(--fs-h2); font-weight: 650; line-height: 1.04; }
.h3 { font-size: var(--fs-h3); font-weight: 620; line-height: 1.2; font-stretch: 112%; letter-spacing: -0.01em; }
.lead { font-size: var(--fs-lead); line-height: 1.5; max-width: 38em; text-wrap: pretty; }
.prose { max-width: 40em; }
.prose p + p { margin-top: 1em; }
.muted { color: var(--slate); }
.small { font-size: var(--fs-small); }
.kicker {
  font-size: var(--fs-small); font-weight: 600; color: var(--yellow-700);
  margin-bottom: 18px; display: block;
}
.on-dark .kicker { color: var(--yellow-300); }
.tnum { font-variant-numeric: tabular-nums; }

/* ---------------------------------------------------------------- layout */
.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * 0.6); }
.on-dark { background: var(--navy-900); color: var(--white); }
.on-dark .muted { color: var(--navy-200); }
.on-deep { background: var(--navy-950); color: var(--white); }
.on-deep .muted { color: var(--navy-200); }
.on-mist { background: var(--mist); }
.head { display: grid; gap: 22px; max-width: 54rem; margin-bottom: clamp(48px, 6vw, 80px); }
.head--split {
  max-width: none; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); align-items: end; gap: 40px 64px;
}
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.split--wide-right { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
.split--top { align-items: start; }
.stack-sm > * + * { margin-top: 12px; }
.stack > * + * { margin-top: 24px; }
.stack-lg > * + * { margin-top: 40px; }

/* ---------------------------------------------------------------- buttons */
.btn {
  --btn-bg: var(--yellow); --btn-fg: var(--navy-950); --btn-bd: var(--yellow);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 10px;
  background: var(--btn-bg); color: var(--btn-fg); border: 1.5px solid var(--btn-bd);
  font-size: 1rem; font-weight: 640; font-stretch: 108%; letter-spacing: 0.005em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .18s var(--ease), border-color .18s var(--ease), color .18s var(--ease);
}
.btn:hover { --btn-bg: var(--yellow-300); --btn-bd: var(--yellow-300); }
.btn--ghost { --btn-bg: transparent; --btn-fg: currentColor; --btn-bd: rgba(186, 198, 221, .45); }
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .06); --btn-bd: var(--white); }
.btn--navy { --btn-bg: var(--navy-900); --btn-fg: var(--white); --btn-bd: var(--navy-900); }
.btn--navy:hover { --btn-bg: var(--navy-700); --btn-bd: var(--navy-700); }
.btn--outline { --btn-bg: transparent; --btn-fg: var(--navy-900); --btn-bd: var(--navy-200); }
.btn--outline:hover { --btn-bg: var(--white); --btn-bd: var(--navy-900); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .9375rem; border-radius: 9px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.link {
  color: inherit; font-weight: 620; text-decoration: underline; text-decoration-thickness: 1.5px;
  text-underline-offset: 5px; text-decoration-color: var(--yellow);
}
.link:hover { text-decoration-color: currentColor; }
.note { font-size: var(--fs-small); color: var(--slate); }
.on-dark .note, .on-deep .note, .page-hero .note { color: var(--navy-100); }

/* ---------------------------------------------------------------- header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  color: var(--white); background: transparent;
  transition: background-color .25s var(--ease), box-shadow .25s var(--ease);
}
.site-header--overlay { position: fixed; left: 0; right: 0; }
.site-header.is-solid, .site-header--solid {
  background: rgba(7, 18, 42, .92); backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  box-shadow: 0 1px 0 var(--line-dark);
}
.site-header__bar { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { display: inline-flex; color: var(--white); text-decoration: none; }
.brand svg { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: 20px; }
.nav a {
  padding: 10px 14px; border-radius: 8px; font-size: .9688rem; font-weight: 520;
  text-decoration: none; color: var(--navy-100);
}
.nav a:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.nav a[aria-current="page"] { color: var(--white); box-shadow: inset 0 -2px 0 var(--yellow); border-radius: 8px 8px 0 0; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.header-actions .text-link {
  padding: 10px 12px; font-size: .9688rem; font-weight: 520; color: var(--navy-100); text-decoration: none; border-radius: 8px;
}
.header-actions .text-link:hover { color: var(--white); background: rgba(255, 255, 255, .06); }
.lang {
  display: inline-flex; border: 1px solid var(--line-dark); border-radius: 999px; padding: 3px; margin-right: 6px;
}
.lang a {
  font-size: .8125rem; font-weight: 600; padding: 4px 10px; border-radius: 999px; text-decoration: none; color: var(--navy-200);
}
.lang a[aria-current="true"] { background: var(--navy-700); color: var(--white); }
.menu-btn {
  display: none; margin-left: auto; width: 46px; height: 46px; border-radius: 10px;
  border: 1px solid var(--line-dark); background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 20px; height: 2px; background: var(--white); border-radius: 2px; position: relative; content: "";
  transition: transform .2s var(--ease), background-color .2s;
}
.menu-btn span::before { position: absolute; top: -6px; }
.menu-btn span::after { position: absolute; top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.mobile-nav { display: none; }

@media (max-width: 1080px) {
  .nav, .header-actions .text-link, .header-actions .lang { display: none; }
  .header-actions { margin-left: auto; }
  .menu-btn { display: inline-flex; margin-left: 0; }
  .mobile-nav {
    position: fixed; inset: 76px 0 0 0; background: var(--navy-950); color: var(--white); padding: 24px var(--gutter) 40px;
    overflow-y: auto; z-index: 49;
  }
  .menu-open .mobile-nav { display: block; }
  .menu-open { overflow: hidden; }
  .menu-open .site-header { background: var(--navy-950); }
  .mobile-nav a.m-link {
    display: block; padding: 16px 0; font-size: 1.5rem; font-weight: 620; font-stretch: 115%;
    color: var(--white); text-decoration: none; border-bottom: 1px solid var(--line-dark);
  }
  .mobile-nav .btn-row { margin-top: 28px; }
  .mobile-nav .btn { flex: 1 1 200px; }
  .mobile-nav .lang { display: inline-flex; margin-top: 28px; }
}
@media (max-width: 520px) {
  .header-actions .btn { display: none; }
}

/* ---------------------------------------------------------------- hero (home, light) */
.hero {
  position: relative; overflow: hidden; text-align: center;
  background: linear-gradient(to bottom, var(--white) 60%, var(--mist));
  padding: calc(76px + clamp(56px, 8vw, 104px)) 0 0;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(to right, rgba(12, 27, 56, .05) 1px, transparent 1px), linear-gradient(to bottom, rgba(12, 27, 56, .05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(ellipse 60% 55% at 50% 20%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 60% 55% at 50% 20%, #000 20%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; left: 50%; bottom: -260px; width: 1100px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(255, 201, 51, .22), transparent); pointer-events: none;
}
.hero__inner { position: relative; z-index: 1; }
.hero__pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px 7px 12px; border: 1px solid var(--line);
  border-radius: 999px; background: var(--white); font-size: var(--fs-small); font-weight: 560; color: var(--navy-800);
}
.hero__pill span { width: 8px; height: 8px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px var(--yellow-100); }
.hero__title {
  margin: 28px auto 0; font-size: clamp(2.8rem, 0.5rem + 5.6vw, 5.4rem); font-weight: 700; font-stretch: 125%;
  letter-spacing: -0.035em; line-height: 1; color: var(--navy-900); text-wrap: balance;
}
.hero__title em { font-style: normal; padding: 0 .04em; background: linear-gradient(transparent 60%, var(--yellow) 60%, var(--yellow) 88%, transparent 88%); }
.hero__lead { max-width: 42rem; margin: 26px auto 0; font-size: var(--fs-lead); color: var(--slate); text-wrap: pretty; }
.hero__cta { justify-content: center; margin-top: 36px; }
.hero .note { margin-top: 16px; }
.nf-art { margin: clamp(40px, 5vw, 64px) auto 0; max-width: 640px; }
.nf-art img {
  display: block; width: 100%; height: auto; mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 50%, #000 62%, transparent 100%);
}
.hero__screen {
  position: relative; z-index: 1; max-width: 1060px; height: clamp(300px, 36vw, 470px); margin: clamp(56px, 7vw, 84px) auto 0;
  text-align: left; border: 1px solid var(--line); border-bottom: 0; border-radius: 20px 20px 0 0; overflow: hidden;
  box-shadow: 0 30px 80px -30px rgba(12, 27, 56, .35);
  mask-image: linear-gradient(#000 55%, transparent); -webkit-mask-image: linear-gradient(#000 55%, transparent);
}
.hero__screen .app { height: 540px; }
@media (max-width: 680px) {
  .hero__screen { height: 230px; }
  .hero__screen .app { width: 1000px; height: 600px; transform: scale(.34); transform-origin: top left; }
}

/* Light header while it sits over the light home hero */
body:has(.hero) .site-header { color: var(--navy-900); }
body:has(.hero) .site-header.is-solid { background: rgba(255, 255, 255, .92); box-shadow: 0 1px 0 var(--line); }
body:has(.hero) .site-header .brand { color: var(--navy-900); --logo-accent: #F5B800; }
body:has(.hero) .nav a, body:has(.hero) .header-actions .text-link { color: var(--slate); }
body:has(.hero) .nav a:hover, body:has(.hero) .header-actions .text-link:hover { color: var(--navy-900); background: rgba(12, 27, 56, .05); }
body:has(.hero) .lang { border-color: var(--line); }
body:has(.hero) .lang a { color: var(--slate); }
body:has(.hero) .lang a[aria-current="true"] { background: var(--navy-900); color: var(--white); }
body:has(.hero) .menu-btn { border-color: var(--line); }
body:has(.hero) .menu-btn span, body:has(.hero) .menu-btn span::before, body:has(.hero) .menu-btn span::after { background: var(--navy-900); }
body:has(.hero).menu-open .site-header { background: var(--navy-950); color: var(--white); }
body:has(.hero).menu-open .site-header .brand { color: var(--white); --logo-accent: var(--yellow); }
body:has(.hero).menu-open .menu-btn { border-color: var(--line-dark); }
body:has(.hero).menu-open .menu-btn span { background: transparent; }
body:has(.hero).menu-open .menu-btn span::before, body:has(.hero).menu-open .menu-btn span::after { background: var(--white); }

/* ---------------------------------------------------------------- statement (home, after hero) */
.stmt { padding-top: clamp(64px, 7vw, 104px); }
.stmt__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(40px, 5vw, 88px); align-items: center; }
.stmt__title { font-size: clamp(2.2rem, 1.2rem + 3vw, 3.75rem); line-height: 1.02; }
.stmt__lead { margin-top: 28px; font-size: clamp(1.25rem, 1.1rem + .6vw, 1.6rem); font-weight: 600; font-stretch: 105%; line-height: 1.3; color: var(--navy-900); text-wrap: balance; }
.stmt__text { margin-top: 18px; max-width: 34rem; font-size: var(--fs-lead); color: var(--slate); text-wrap: pretty; }
.stmt__art { margin: 0; }
.stmt__art img {
  display: block; width: 100%; height: auto; mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse 72% 70% at 50% 46%, #000 62%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 72% 70% at 50% 46%, #000 62%, transparent 100%);
}
@media (max-width: 1080px) { .stmt__grid { grid-template-columns: minmax(0, 1fr); } .stmt__art { max-width: 640px; } }

/* Centred section heads (sections with even grids below) */
.head--center { margin-inline: auto; text-align: center; justify-items: center; max-width: 50rem; }
.head--center .lead { max-width: 42rem; }
.head--center .tag { justify-self: center; }
.pills--center { justify-content: center; }
.role--card { background: var(--mist); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 56px); }

/* ---------------------------------------------------------------- UI mock kit */
.ui {
  --ui-bg: var(--navy-900); --ui-fg: var(--white); --ui-sub: var(--navy-200); --ui-line: rgba(186, 198, 221, .14);
  --ui-tile: var(--navy-800);
  background: var(--ui-bg); color: var(--ui-fg); border-radius: var(--r-lg);
  border: 1px solid var(--ui-line); box-shadow: var(--shadow-ui);
  font-size: .9375rem; line-height: 1.45;
}
.ui--light {
  --ui-bg: var(--white); --ui-fg: var(--navy-900); --ui-sub: var(--slate); --ui-line: var(--line); --ui-tile: var(--mist);
  box-shadow: var(--shadow-ui-light);
}
.ui__bar {
  display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--ui-line);
  font-size: .8125rem; color: var(--ui-sub);
}
.ui__bar b { color: var(--ui-fg); font-weight: 620; }
.ui__dots { display: flex; gap: 6px; }
.ui__dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--ui-line); }
.ui__body { padding: 20px; }
.ui__title { font-weight: 640; font-stretch: 110%; font-size: 1.0625rem; letter-spacing: -0.005em; }
.ui__sub { color: var(--ui-sub); font-size: .8438rem; }
.ui__row { display: flex; align-items: center; gap: 14px; }
.ui__row + .ui__row { margin-top: 10px; }
.ui__sep { height: 1px; background: var(--ui-line); margin: 16px 0; }
.ui__field { display: grid; gap: 3px; }
.ui__field dt { font-size: .75rem; color: var(--ui-sub); }
.ui__field dd { font-weight: 560; }
.ui__fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.ui__tile {
  flex: none; display: grid; place-items: center; width: 72px; height: 72px; border-radius: 14px;
  background: var(--ui-tile); color: var(--yellow-300);
}
.ui--light .ui__tile { color: var(--yellow-700); }
.ui__tile--lg { width: 100%; height: 168px; border-radius: 16px; }
.ui__tile svg { width: 56%; height: 56%; }
.ui__tile--lg svg { width: auto; height: 60%; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px;
  font-size: .75rem; font-weight: 620; white-space: nowrap; line-height: 1.4;
  background: rgba(186, 198, 221, .12); color: var(--navy-100);
}
.chip::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.chip--yellow { background: rgba(255, 201, 51, .16); color: var(--yellow-300); }
.chip--green { background: rgba(46, 158, 110, .18); color: var(--green-300); }
.ui--light .chip { background: var(--mist); color: var(--slate); }
.ui--light .chip--yellow { background: var(--yellow-100); color: var(--yellow-700); }
.ui--light .chip--green { background: var(--green-100); color: #1d7a52; }
.ui__btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 38px; padding: 0 14px;
  border-radius: 9px; font-size: .8438rem; font-weight: 640; background: var(--yellow); color: var(--navy-950);
}
.ui__btn--quiet { background: transparent; color: var(--ui-fg); border: 1px solid var(--ui-line); }
.meter { height: 6px; border-radius: 6px; background: var(--ui-line); overflow: hidden; flex: 1; }
.meter i { display: block; height: 100%; border-radius: 6px; background: var(--yellow); }
.match__score { width: 120px; }
.dash__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.dash__table { width: 100%; border-collapse: collapse; margin-top: 16px; font-size: .875rem; }
/* Mocks that must shrink to fit narrow screens */
.cq { container-type: inline-size; }
@container (max-width: 440px) {
  .match__score { width: auto; }
  .match__score .meter { display: none; }
  .dash__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .dash__table { font-size: .8125rem; }
  .dash__table .chip { padding: 3px 8px; font-size: .6875rem; }
}
@container (max-width: 300px) {
  .match__score + .ui__btn--quiet { display: none; }
  .dash__table .ui__tile { display: none; }
}
.avatar {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--navy-700); color: var(--white); font-size: .8125rem; font-weight: 650;
}
.ui--light .avatar { background: var(--navy-100); color: var(--navy-900); }

/* timeline inside mocks */
.tl { list-style: none; margin: 0; padding: 0; position: relative; }
.tl li { position: relative; padding-left: 28px; padding-bottom: 16px; }
.tl li:last-child { padding-bottom: 0; }
.tl li::before {
  content: ""; position: absolute; left: 4px; top: 6px; width: 10px; height: 10px; border-radius: 50%;
  border: 2px solid var(--ui-line); background: var(--ui-bg);
}
.tl li::after {
  content: ""; position: absolute; left: 8px; top: 20px; bottom: 0; width: 2px; background: var(--ui-line);
}
.tl li:last-child::after { display: none; }
.tl li.done::before { border-color: var(--yellow); background: var(--yellow); }
.tl li.done::after { background: var(--yellow); }
.tl li.now::before { border-color: var(--yellow); box-shadow: 0 0 0 4px rgba(255, 201, 51, .2); }
.tl b { display: block; font-weight: 600; font-size: .875rem; }
.tl span { color: var(--ui-sub); font-size: .8125rem; }

/* phone frame */
.phone {
  width: min(100%, 320px); border-radius: 44px; padding: 10px; background: #050b1a;
  box-shadow: 0 0 0 1.5px rgba(186, 198, 221, .18), var(--shadow-ui);
}
.phone__screen { border-radius: 35px; overflow: hidden; background: var(--white); color: var(--navy-900); min-height: 560px; position: relative; }
.phone__screen--dark { background: var(--navy-900); color: var(--white); }
.phone__notch { width: 96px; height: 26px; border-radius: 0 0 16px 16px; background: #050b1a; margin: 0 auto; }
.phone__status { display: flex; justify-content: space-between; padding: 6px 24px 0; font-size: .75rem; font-weight: 620; margin-top: -24px; }

@keyframes panel-fade { from { opacity: 0; } }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------------------------------------------------------------- cost / before-after */
.cost { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.cost__figure { font-size: clamp(4.5rem, 2.4rem + 6vw, 8.5rem); font-weight: 720; font-stretch: 125%; line-height: .85; letter-spacing: -0.04em; color: var(--navy-900); white-space: nowrap; }
.cost__figure small { font-size: var(--fs-lead); letter-spacing: 0; font-weight: 600; font-stretch: 105%; display: block; margin-top: 18px; color: var(--yellow-700); white-space: normal; }
.compare { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--white); }
.compare__col { padding: 24px clamp(20px, 2.4vw, 32px) 26px; }
.compare__col + .compare__col { border-left: 1px solid var(--line); background: var(--navy-900); color: var(--white); }
.compare__col h3 { font-size: 1rem; font-weight: 650; font-stretch: 112%; margin-bottom: 16px; }
.compare__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.compare__col li { display: flex; gap: 12px; align-items: flex-start; font-size: .9688rem; line-height: 1.4; }
.compare__col li svg { flex: none; width: 18px; height: 18px; margin-top: 2px; }
.compare__col--before li { color: var(--slate); }
.compare__col--before li svg { color: #b4bccb; }
.compare__col--after li svg { color: var(--yellow); }

/* ---------------------------------------------------------------- steps (real sequence) */
.steps { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; list-style: none; padding: 0; margin: 0; }
.steps::before {
  content: ""; position: absolute; top: 15px; left: 16px; right: 16px; height: 3px; border-radius: 3px;
  background: linear-gradient(to right, var(--yellow) 0 100%);
  opacity: .9;
}
.step { position: relative; padding-top: 56px; }
.step__no {
  position: absolute; top: 0; left: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow); color: var(--navy-950);
  font-weight: 700; font-size: .875rem; font-variant-numeric: tabular-nums;
  box-shadow: 0 0 0 6px var(--section-bg, var(--navy-900));
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--navy-200); font-size: var(--fs-small); }
.on-mist .step p, .step--light p { color: var(--slate); }
.step__time { display: block; margin-top: 14px; font-size: var(--fs-xs); font-weight: 620; color: var(--yellow-300); }
.on-mist .step__time { color: var(--yellow-700); }
.step .ui { margin-top: 24px; }

/* ---------------------------------------------------------------- platform tabs */
.tabs { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.tablist { display: grid; gap: 2px; }
.tab {
  all: unset; box-sizing: border-box; cursor: pointer; display: grid; grid-template-columns: 40px 1fr; gap: 4px 14px; align-items: start;
  padding: 18px 18px 18px 14px; border-radius: var(--r-md); border-left: 3px solid transparent;
}
.tab:hover { background: var(--mist); }
.tab:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.tab[aria-selected="true"] { background: var(--mist); border-left-color: var(--yellow); }
.tab__icon { grid-row: span 2; width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-900); color: var(--yellow-300); }
.tab__icon svg { width: 20px; height: 20px; }
.tab__name { font-weight: 640; font-stretch: 110%; font-size: 1.0625rem; }
.tab__desc { font-size: var(--fs-small); color: var(--slate); display: none; }
.tab[aria-selected="true"] .tab__desc { display: block; }
.tabpanel[hidden] { display: none; }
.tabpanel { animation: panel-in .35s var(--ease); }
.on-dark .tab:hover, .on-dark .tab[aria-selected="true"] { background: var(--navy-800); }
.on-dark .tab__desc { color: var(--navy-200); }
.on-dark .tab__icon { background: var(--navy-700); }
.tab__chev { display: none; }
.tabstage {
  background: var(--mist); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 40px);
  min-height: 620px; display: grid; align-items: center;
}
/* Desktop: the screen area is locked to one size, the same height as the tab list
   with a tab open, so switching tabs never moves the page. Screens sit centred;
   the tall phone screen is scaled down to fit. */
@media (min-width: 1081px) {
  .tabs[data-tabs="vertical"] { align-items: stretch; }
  .tabs[data-tabs="vertical"] .tablist { display: flex; flex-direction: column; justify-content: space-between; min-height: 560px; }
  .tabs[data-tabs="vertical"] .tabstage { min-height: 560px; overflow: hidden; place-items: center; }
  .tabs[data-tabs="vertical"] .tabpanel { width: 100%; }
  .tabs[data-tabs="vertical"] .tabpanel .feature__visual { zoom: .82; }
}

/* pill tabs (roles, faq) */
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 40px; }
.pill {
  all: unset; box-sizing: border-box; cursor: pointer; padding: 10px 18px; border-radius: 999px;
  border: 1px solid var(--line); font-weight: 600; font-size: .9688rem; background: var(--white);
}
.pill:hover { border-color: var(--navy-400); }
.pill:focus-visible { outline: 3px solid var(--yellow); outline-offset: 2px; }
.pill[aria-selected="true"] { background: var(--navy-900); border-color: var(--navy-900); color: var(--white); }
.on-dark .pill { background: transparent; border-color: var(--line-dark); color: var(--navy-100); }
.on-dark .pill[aria-selected="true"] { background: var(--yellow); color: var(--navy-950); border-color: var(--yellow); }

/* ---------------------------------------------------------------- lists */
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; }
.checks svg { width: 20px; height: 20px; color: var(--yellow-700); margin-top: 3px; }
.on-dark .checks svg, .on-deep .checks svg { color: var(--yellow); }
.checks b { font-weight: 640; }
.points { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 32px; list-style: none; padding: 0; margin: 0; }
.points--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.points--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.point { border-top: 1px solid var(--line); padding-top: 22px; }
.on-dark .point, .on-deep .point { border-top-color: var(--line-dark); }
.point__icon { width: 24px; height: 24px; color: var(--yellow-700); margin-bottom: 18px; }
.on-dark .point__icon, .on-deep .point__icon { color: var(--yellow); }
.point h3 { font-size: 1.125rem; font-weight: 640; font-stretch: 110%; margin-bottom: 8px; letter-spacing: -0.005em; }
.point p { color: var(--slate); font-size: var(--fs-small); }
.on-dark .point p, .on-deep .point p { color: var(--navy-200); }

/* ---------------------------------------------------------------- role panel */
.role { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.role__title { font-size: clamp(1.75rem, 1.2rem + 1.8vw, 2.6rem); font-weight: 650; font-stretch: 120%; line-height: 1.06; letter-spacing: -0.02em; text-wrap: balance; }

/* ---------------------------------------------------------------- guest section */
/* Guest section: phone on the left, the four benefits on the right */
/* guest benefits (home): four cards */
.benefits { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.benefit { background: var(--white); border-radius: var(--r-lg); padding: clamp(26px, 2.4vw, 34px); box-shadow: 0 1px 2px rgba(12, 27, 56, .05); }
.benefit__icon { width: 44px; height: 44px; padding: 11px; border-radius: 12px; background: var(--navy-900); color: var(--yellow-300); margin-bottom: 26px; display: block; }
.benefit h3 { font-size: 1.25rem; font-weight: 650; font-stretch: 110%; letter-spacing: -0.01em; margin-bottom: 10px; }
.benefit p { color: var(--slate); font-size: 1rem; }
@media (max-width: 1080px) { .benefits { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .benefits { grid-template-columns: minmax(0, 1fr); gap: 14px; } }

/* ---------------------------------------------------------------- pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  display: flex; flex-direction: column; gap: 22px; padding: 32px; border-radius: var(--r-xl);
  border: 1px solid var(--line); background: var(--white);
}
.plan--feature { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.plan__name { font-size: 1.375rem; font-weight: 660; font-stretch: 118%; letter-spacing: -0.01em; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.plan__tag { font-size: .75rem; font-weight: 640; font-stretch: 100%; letter-spacing: 0; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--slate); }
.plan--feature .plan__tag { background: rgba(255, 201, 51, .18); color: var(--yellow-300); }
.plan__price { font-size: 3rem; font-weight: 700; font-stretch: 125%; letter-spacing: -0.03em; line-height: 1; }
.plan__price small { font-size: 1rem; font-weight: 520; font-stretch: 100%; letter-spacing: 0; color: var(--slate); margin-left: 6px; }
.plan--feature .plan__price small, .plan--feature .muted { color: var(--navy-200); }
.plan__price--text { font-size: 1.75rem; line-height: 1.15; }
.plan .checks { gap: 10px; font-size: var(--fs-small); }
.plan .btn { margin-top: auto; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--white); }
.compare-table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: var(--fs-small); }
.compare-table th, .compare-table td { padding: 14px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.compare-table thead th { font-weight: 660; font-stretch: 112%; font-size: 1rem; background: var(--mist); position: sticky; top: 0; }
.compare-table tbody th { font-weight: 520; }
.compare-table td { text-align: center; width: 18%; }
.compare-table tr.group th { background: var(--white); font-weight: 660; font-stretch: 110%; color: var(--navy-900); padding-top: 26px; font-size: 1rem; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.yes { color: var(--green); font-weight: 700; }
.no { color: #a8b0c0; }

/* ---------------------------------------------------------------- faq */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; align-items: center;
  padding: 24px 0; font-size: 1.1875rem; font-weight: 620; font-stretch: 106%; letter-spacing: -0.005em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 14px; height: 14px; border-right: 2px solid var(--navy-900); border-bottom: 2px solid var(--navy-900);
  transform: translateY(-3px) rotate(45deg); transition: transform .2s var(--ease);
}
.faq details[open] summary::after { transform: translateY(3px) rotate(-135deg); }
.faq__a { padding: 0 0 28px; max-width: 46rem; color: var(--slate); }
.faq__a p + p, .faq__a p + ul, .faq__a ul + p { margin-top: 12px; }
.faq__a ul { padding-left: 1.2em; display: grid; gap: 4px; }
.faq-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(32px, 5vw, 80px); align-items: start; }
.faq-nav { position: sticky; top: 108px; display: grid; gap: 4px; }
.faq-nav a { padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 560; color: var(--slate); }
.faq-nav a:hover { background: var(--mist); color: var(--navy-900); }
.faq-group + .faq-group { margin-top: 72px; }
.faq-group h2 { margin-bottom: 24px; }

/* ---------------------------------------------------------------- page hero (inner) */
.page-hero {
  position: relative; overflow: hidden; background: var(--navy-950); color: var(--white);
  padding: calc(76px + clamp(56px, 8vw, 112px)) 0 clamp(56px, 7vw, 96px);
}
.page-hero .lead { color: var(--navy-100); margin-top: 26px; }
.page-hero .btn-row { margin-top: 36px; }
.page-hero__rule { margin-top: clamp(48px, 6vw, 80px); height: 3px; background: linear-gradient(to right, var(--yellow) 0 var(--rule, 33%), var(--navy-700) var(--rule, 33%)); border-radius: 3px; }

/* ---------------------------------------------------------------- feature rows (product) */
.feature { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(96px, 12vw, 160px); }
.feature--flip > :first-child { order: 2; }
.feature__visual { display: flex; justify-content: center; }
.feature__art {
  display: block; width: 100%; max-width: 600px; height: auto; mix-blend-mode: multiply;
  mask-image: radial-gradient(ellipse 74% 72% at 50% 50%, #000 64%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 74% 72% at 50% 50%, #000 64%, transparent 100%);
}
.feature .checks { margin-top: 28px; }

/* ---------------------------------------------------------------- flow strip */
.flow { display: flex; flex-wrap: wrap; gap: 0; list-style: none; padding: 0; margin: 0; counter-reset: flow; }
.flow li {
  flex: 1 1 0; min-width: 104px; position: relative; padding: 46px 10px 0 0; font-weight: 600; font-size: .9688rem; line-height: 1.3;
}
.flow li::before {
  content: ""; position: absolute; top: 12px; left: 0; width: 18px; height: 18px; border-radius: 50%;
  background: var(--yellow); box-shadow: 0 0 0 5px var(--navy-900); z-index: 1;
}
.flow li::after { content: ""; position: absolute; top: 20px; left: 0; right: 0; height: 2px; background: var(--yellow); opacity: .5; }
.flow li:last-child::after { display: none; }
.flow li span { display: block; font-weight: 450; font-size: var(--fs-xs); color: var(--navy-200); margin-top: 4px; }
.flow li.guest-step::before { background: var(--white); }

/* ---------------------------------------------------------------- cta band */
.cta-band { background: var(--navy-950); color: var(--white); position: relative; overflow: hidden; }
.cta-band__inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px clamp(32px, 4vw, 64px); align-items: stretch; }
.cta-band .h1 { max-width: 11em; }
.cta-band__copy .stack { margin-top: 28px; max-width: 32rem; }
/* The drawing spans exactly from the top of the headline to the bottom of the buttons */
.cta-band__art { margin: 0; position: relative; min-height: 0; }
.cta-band__art img {
  position: absolute; top: 0; right: 0; height: 100%; width: auto; max-width: calc(100% + 48px);
  object-fit: contain; object-position: right bottom;
  mask-image: linear-gradient(to left, transparent, #000 8%); -webkit-mask-image: linear-gradient(to left, transparent, #000 8%);
}
@media (max-width: 1080px) {
  .cta-band__art { width: 100%; max-width: 560px; justify-self: center; }
  .cta-band__art img { position: static; width: 100%; height: auto; max-width: none; }
}

/* ---------------------------------------------------------------- company */
.statement { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 3.1rem); font-weight: 600; font-stretch: 118%; line-height: 1.12; letter-spacing: -0.02em; max-width: 22em; text-wrap: balance; }
.mv { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.mv__item { padding: clamp(28px, 3vw, 44px); border-radius: var(--r-xl); background: var(--navy-900); color: var(--white); }
.mv__item:nth-child(2) { background: var(--mist); color: var(--navy-900); }
.mv__item h3 { margin-bottom: 18px; font-size: 1rem; font-weight: 640; color: var(--yellow-300); font-stretch: 112%; }
.mv__item:nth-child(2) h3 { color: var(--yellow-700); }
.mv__item p { font-size: clamp(1.25rem, 1.05rem + .7vw, 1.6rem); line-height: 1.35; font-weight: 520; font-stretch: 108%; text-wrap: pretty; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 3px solid var(--yellow); }
.trio > div { padding: 32px 32px 0 0; }
.trio > div + div { padding-left: 32px; border-left: 1px solid var(--line-dark); }
.trio b { display: block; font-size: clamp(2rem, 1.4rem + 2vw, 3rem); font-weight: 700; font-stretch: 125%; letter-spacing: -0.03em; line-height: 1; margin-bottom: 14px; }
.trio span { color: var(--navy-200); }
.office { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.office dt { font-size: var(--fs-small); color: var(--slate); margin-bottom: 6px; }
.office dd { font-weight: 560; }

/* ---------------------------------------------------------------- forms */
.form { display: grid; gap: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: var(--fs-small); font-weight: 600; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 1rem; color: var(--navy-900); background: var(--white);
  border: 1.5px solid var(--line); border-radius: 10px; padding: 13px 14px; min-height: 50px; width: 100%;
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--navy-900); box-shadow: 0 0 0 3px rgba(255, 201, 51, .35); }
.field small { color: var(--slate); font-size: var(--fs-xs); }
.choice { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.choice legend { font-size: var(--fs-small); font-weight: 600; margin-bottom: 10px; padding: 0; }
.choice label { cursor: pointer; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 560; font-size: .9375rem; }
.choice input:checked + span { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.choice input:focus-visible + span { outline: 3px solid var(--yellow); outline-offset: 2px; }
.consent { display: grid; grid-template-columns: 20px 1fr; gap: 12px; font-size: var(--fs-small); color: var(--slate); align-items: start; }
.consent input { width: 18px; height: 18px; margin-top: 3px; accent-color: var(--navy-900); }
.form__status { font-weight: 600; padding: 14px 16px; border-radius: 10px; background: var(--green-100); color: #1d7a52; }
.form__status[hidden] { display: none; }
.card-panel { padding: clamp(28px, 3.4vw, 48px); border-radius: var(--r-xl); background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-ui-light); }

/* ---------------------------------------------------------------- legal */
.legal { max-width: 46rem; }
.legal h2 { font-size: 1.375rem; font-weight: 650; font-stretch: 112%; margin: 40px 0 12px; }
.legal p, .legal li { color: var(--slate); }
.legal ul { padding-left: 1.2em; display: grid; gap: 6px; margin-top: 10px; }
.callout { padding: 18px 20px; border-radius: var(--r-md); background: var(--yellow-100); color: #5e430e; font-size: var(--fs-small); }

/* ---------------------------------------------------------------- footer */
.site-footer { border-top: 1px solid var(--line-dark); background: var(--navy-950); color: var(--navy-200); padding: clamp(64px, 8vw, 104px) 0 36px; font-size: var(--fs-small); }
.footer__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.footer__brand svg { height: 36px; width: auto; color: var(--white); }
.footer__brand p { margin-top: 22px; max-width: 22rem; }
.footer__col h2 { font-size: .9375rem; font-weight: 640; color: var(--white); margin-bottom: 16px; font-stretch: 108%; }
.footer__col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__col a { text-decoration: none; color: var(--navy-200); }
.footer__col a:hover { color: var(--white); }
.footer__base {
  margin-top: clamp(56px, 7vw, 88px); padding-top: 28px; border-top: 1px solid var(--line-dark);
  display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center;
}
.footer__base address { font-style: normal; }
.social { display: flex; gap: 10px; }
.social a {
  width: 40px; height: 40px; border-radius: 10px; display: grid; place-items: center;
  border: 1px solid var(--line-dark); color: var(--navy-100);
}
.social a:hover { color: var(--white); border-color: var(--navy-400); }
.social svg { width: 18px; height: 18px; }
.footer__guest {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 32px;
  padding: 22px 26px; border-radius: var(--r-lg); background: var(--navy-900); margin-bottom: clamp(48px, 6vw, 72px);
  color: var(--navy-100);
}
.footer__guest b { color: var(--white); font-weight: 620; }

/* ---------------------------------------------------------------- brand guide */
.swatches { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }
.swatch { border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--line); background: var(--white); }
.swatch i { display: block; height: 116px; }
.swatch div { padding: 14px 16px; font-size: var(--fs-small); }
.swatch b { display: block; font-weight: 640; }
.swatch code { color: var(--slate); font-size: var(--fs-xs); }
.logo-tile { border-radius: var(--r-lg); padding: clamp(32px, 5vw, 64px); display: grid; place-items: center; min-height: 220px; border: 1px solid var(--line); }
.logo-tile img { max-height: 64px; max-width: 100%; width: auto; }
.logo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.type-spec { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 16px 40px; align-items: baseline; padding: 26px 0; border-top: 1px solid var(--line); }
.type-spec dt { font-size: var(--fs-small); color: var(--slate); }
.type-spec dt b { display: block; color: var(--navy-900); font-weight: 640; margin-bottom: 4px; }


/* ---------------------------------------------------------------- inner page extras */
.feature__visual > .ui { width: 100%; max-width: 580px; }
.feature .h2 { font-size: clamp(1.9rem, 1.2rem + 2vw, 2.85rem); }
.who { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.who > div { padding: 18px 20px; border-radius: var(--r-md); background: var(--mist); }
.who > div + div { background: var(--navy-900); color: var(--white); }
.who dt { display: flex; align-items: center; gap: 8px; font-size: var(--fs-small); font-weight: 650; margin-bottom: 6px; }
.who dt svg { width: 18px; height: 18px; color: var(--yellow-700); }
.who > div + div dt svg { color: var(--yellow); }
.who dd { font-size: var(--fs-small); line-height: 1.5; }
.who > div:first-child dd { color: var(--slate); }
.who > div + div dd { color: var(--navy-100); }
.step-time { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-weight: 620; font-size: var(--fs-small); color: var(--yellow-700); }
.step-time svg { width: 18px; height: 18px; }
.steps--light::before { background: var(--yellow); }
.step--light p { color: var(--slate); }
.step--light .step__no { box-shadow: 0 0 0 6px var(--mist); }
a.pill { text-decoration: none; color: inherit; }
@media (max-width: 680px) { .who { grid-template-columns: 1fr; } }

/* ---------------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .split, .split--wide-right, .feature, .tabs, .role, .cost, .cta-band__inner, .head--split, .faq-layout { grid-template-columns: minmax(0, 1fr); }
  .feature--flip > :first-child { order: 0; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
  .steps::before { display: none; }
  .points { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .points--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  /* Platform tabs become an accordion: each screen opens under its own feature */
  .tabs[data-tabs="vertical"] { display: flex; flex-direction: column; align-items: stretch; gap: 0; }
  .tabs[data-tabs="vertical"] .tablist, .tabs[data-tabs="vertical"] .tabstage { display: contents; }
  .tabs[data-tabs="vertical"] .tab { order: var(--o); grid-template-columns: 40px minmax(0, 1fr) 20px; margin-top: 4px; }
  .tabs[data-tabs="vertical"] .tab__chev { display: block; grid-column: 3; grid-row: 1; width: 20px; height: 20px; margin-top: 10px; color: var(--slate); transition: transform .25s var(--ease); }
  .tabs[data-tabs="vertical"] .tab[aria-selected="true"] .tab__chev { transform: rotate(180deg); color: var(--navy-900); }
  .tabs[data-tabs="vertical"] .tab__desc { grid-column: 2 / -1; }
  .tabs[data-tabs="vertical"] .tab[aria-selected="true"] { border-radius: var(--r-md) var(--r-md) 0 0; }
  .tabs[data-tabs="vertical"] .tabpanel {
    order: var(--o); background: var(--mist); border-left: 3px solid var(--yellow);
    border-radius: 0 0 var(--r-md) var(--r-md); padding: 6px 14px 18px; animation-name: panel-fade;
  }
  .tabs[data-tabs="vertical"] .tabpanel > * { max-width: 560px; margin-inline: auto; }
  .plans { grid-template-columns: minmax(0, 1fr); max-width: 560px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer__brand { grid-column: 1 / -1; }
  .faq-nav { position: static; display: flex; flex-wrap: wrap; }
  .logo-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .steps, .points, .points--3, .points--2, .mv, .trio, .office, .form__row, .compare { grid-template-columns: minmax(0, 1fr); }
  .compare__col + .compare__col { border-left: 0; }
  .trio > div, .trio > div + div { padding: 24px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
  .ui__fields { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .logo-grid { grid-template-columns: 1fr; }
  .type-spec { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Body copy in the opening statement sections (problem & solution) */
.prose--intro { font-size: 1.125rem; line-height: 1.6; }

/* Section tag (home: problem & solution) */
.tag {
  justify-self: start; display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 12px; border-radius: 999px; background: var(--yellow-100); color: var(--navy-900);
  font-size: .875rem; font-weight: 620; line-height: 1.2;
}
.tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow-700); }

/* ---------------------------------------------------------------- why Reternly (home) */
.why { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why__col { padding: 4px clamp(24px, 3vw, 48px); border-left: 1px solid var(--line); }
.why__col:first-child { padding-left: 0; border-left: 0; }
.why__col:last-child { padding-right: 0; }
.why__icon {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 24px;
  background: var(--navy-900); color: var(--yellow-300);
}
.why__icon svg { width: 22px; height: 22px; }
.why__title { margin-bottom: 22px; }
.why__item + .why__item { margin-top: 20px; }
.why__item h4 { font-size: 1rem; font-weight: 640; color: var(--navy-900); margin-bottom: 6px; }
.why__item p { font-size: var(--fs-small); color: var(--slate); }
@media (max-width: 1080px) {
  .why { grid-template-columns: minmax(0, 1fr); }
  .why__col, .why__col:last-child { padding: 32px 0; border-left: 0; border-top: 1px solid var(--line); }
  .why__col:first-child { padding-top: 0; border-top: 0; }
  .why__col:last-child { padding-bottom: 0; }
}

/* Operator app screen (home hero) */
.app { display: grid; grid-template-columns: 64px minmax(0, 1fr); grid-template-rows: minmax(0, 1fr); height: 100%; border: 0; border-radius: 0; box-shadow: none; }
.app__side { display: grid; justify-items: center; align-content: start; gap: 10px; padding: 26px 0; border-right: 1px solid var(--ui-line); background: var(--mist); }
.app__logo { width: 34px; height: 34px; margin-bottom: 14px; border-radius: 10px; display: grid; place-items: center; background: var(--navy-900); padding: 6px; }
.app__logo svg { width: 100%; height: auto; display: block; }
.app__nav { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; color: var(--slate); }
.app__nav svg { width: 19px; height: 19px; }
.app__nav.is-active { background: var(--white); color: var(--navy-900); box-shadow: 0 1px 2px rgba(12, 27, 56, .08); }
.app__main { display: flex; flex-direction: column; min-height: 0; overflow: hidden; padding: 30px 28px 24px; }
.app__title { font-size: 1.5rem; font-weight: 650; font-stretch: 115%; letter-spacing: -0.01em; line-height: 1.1; }

/* Operator overview mock */
.ov__head { display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.ov__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.ov__actions .ui__btn { min-height: 34px; padding: 0 12px; gap: 6px; font-size: .8125rem; }
.ov__actions svg { width: 15px; height: 15px; }
.ov__stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.ov__split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 12px; margin-top: 12px; flex: 1; min-height: 0; }
.ov__split .ov__chart { margin-top: 0; }
.ov__cases { display: flex; flex-direction: column; padding: 14px; border: 1px solid var(--ui-line); border-radius: 12px; font-size: .8125rem; }
.ov__cases .ov__table { flex: 1; height: 100%; }
.app .ov__chart { display: flex; flex-direction: column; }
.app .ov__bars { flex: 1; height: auto; min-height: 80px; }
.app .ov__split { grid-template-rows: minmax(0, 1fr); }
.app .ov__split > * { min-height: 0; overflow: hidden; }
.ov__cases > b { font-weight: 620; }
.ov__stat { padding: 12px 14px; border-radius: 12px; background: var(--ui-tile); }
.ov__stat b { display: block; font-size: 1.5rem; font-weight: 700; font-stretch: 120%; line-height: 1; }
.ov__stat b.is-accent { color: var(--yellow-700); }
.ov__stat span { display: block; margin-top: 6px; font-size: .75rem; line-height: 1.3; color: var(--ui-sub); }
.ov__chart { margin-top: 12px; padding: 14px; border: 1px solid var(--ui-line); border-radius: 12px; font-size: .8125rem; }
.ov__chart b { font-weight: 620; }
.ov__bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; height: 100px; margin-top: 12px; }
.ov__bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; gap: 6px; }
.ov__bar i { width: 100%; max-width: 22px; border-radius: 5px 5px 2px 2px; background: var(--navy-200); }
.ov__bar.is-today i { background: var(--yellow); }
.ov__bar span { font-size: .6875rem; line-height: 1; color: var(--ui-sub); }
.ov__table { width: 100%; border-collapse: collapse; margin-top: 10px; font-size: .8125rem; }
.ov__table td { padding: 8px 0; border-top: 1px solid var(--ui-line); }
.ov__table td:last-child { text-align: right; }
.ov__item { display: flex; align-items: center; gap: 10px; font-weight: 560; }
.ov__item .ui__tile { width: 30px; height: 30px; border-radius: 8px; }
@container (max-width: 620px) {
  .ov__stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
/* Inside the laptop: drop the counters on small screens so the chart and table keep their room */
@container (max-width: 640px) {
  .app .ov__stats { display: none; }
}
/* Open cases card: show only the rows that fit in full */
.app .ov__cases { container: cases / size; }
.app .ov__table td { padding: 7px 0; }
/* Each row is 45px; the title and gap above the table take 29px */
@container cases (max-height: 254px) { .ov__table tr:nth-child(n+5) { display: none; } }
@container cases (max-height: 209px) { .ov__table tr:nth-child(n+4) { display: none; } }
@container cases (max-height: 164px) { .ov__table tr:nth-child(n+3) { display: none; } }
@container cases (max-height: 119px) { .ov__table tr:nth-child(n+2) { display: none; } }
@container cases (max-width: 240px) { .ov__table td:nth-child(2), .ov__table .ui__tile { display: none; } }
@container (max-width: 360px) {
  .ov__actions .ui__btn--quiet { display: none; }
  .ov__stats { gap: 6px; }
  .ov__stat { padding: 10px; }
  .ov__stat b { font-size: 1.2rem; }
  .ov__table .chip { padding: 3px 8px; font-size: .6875rem; }
}

/* Section tag: a heading block with the tag above it */
.head__title { display: grid; gap: 22px; justify-items: start; }
.on-dark .tag, .on-deep .tag { background: rgba(255, 201, 51, .16); color: var(--yellow-300); }
.on-dark .tag::before, .on-deep .tag::before { background: var(--yellow); }

