
/* Font: Google Fonts stylesheet (part of the brand; change with --brand-font) */

/* =====================================================================
   BRAND: change these for Anksight
   Every brand colour and the typeface live here. Light and dark use
   these through the semantic tokens below; nothing else names a brand hex.
   ===================================================================== */
:root {
  --brand-primary: #143A5C;        /* navy: primary buttons, navy band (light) */
  --brand-primary-dark: #9CC3EA;   /* primary on the dark theme */
  --brand-accent: #E97E27;         /* orange: markers, focus, ticks */
  --brand-accent-text: #A8500C;    /* orange dark enough for text on white */
  --brand-accent-dark: #F2A25E;    /* orange on the dark theme */
  --brand-bar-1: #E97E27;          /* logo bar 1 (orange) */
  --brand-bar-2: #E5197E;          /* logo bar 2 (pink) */
  --brand-bar-3: #5CAD52;          /* logo bar 3 (green) */
  --brand-bar-4: #2196CC;          /* logo bar 4 (blue) */
  --brand-font: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
/* ===== end BRAND ===== */

/* ---------- Semantic tokens: light (default) ---------- */
:root {
  color-scheme: light;
  --bg: #F5F7FA;
  --bg-band: #EDF1F6;
  --surface: #FFFFFF;
  --surface-2: #F1F4F8;
  --ink: #15233A;
  --ink-2: #3A4A60;
  --muted: #56667B;
  --line: #DDE3EB;
  --line-2: #C5CFDB;
  --primary: var(--brand-primary);
  --on-primary: #FFFFFF;
  --primary-soft: #E7EEF6;
  --primary-hover: #0F2E4A;
  --accent: var(--brand-accent);
  --accent-text: var(--brand-accent-text);
  --accent-soft: #FCEEE2;
  --good: #1D7A4C;  --good-soft: #E3F3EA;
  --warn: #9A5B00;  --warn-soft: #FBF0DF;
  --bad: #B3261E;   --bad-soft: #FBE8E6;
  --age-0: #9FB3C8; --age-1: #E5B24E; --age-2: #DD8A3E; --age-3: #C44A3E;
  --header-bg: #F5F7FA;
  --fix-bg: var(--warn-soft);
  --navy-bg: var(--brand-primary);
  --navy-ink: #FFFFFF;
  --navy-muted: #C9D6E4;
  --navy-line: #2E5275;
  --navy-accent: var(--brand-accent);
  --focus: var(--brand-accent);
  --shadow-1: 0 1px 2px rgba(20, 40, 70, .06), 0 10px 24px -14px rgba(20, 40, 70, .22);
  --shadow-2: 0 2px 4px rgba(20, 40, 70, .05), 0 30px 60px -30px rgba(20, 58, 92, .38);
  /* product mock screens */
  --m-bg: #F4F6FA;
  --m-surface: #FFFFFF;
  --m-chrome: #E9EDF3;
  --m-head: #F7F9FC;
  --m-line: #E2E7EE;
  --m-line-2: #C9D2DD;
  --m-ink: #16233A;
  --m-muted: #5E6D80;
  --m-side: #0A1B33;
  --m-frame: #0A1B33;
  --m-pill: #EEF2F7;
}

/* ---------- Scale ---------- */
:root {
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px; --s6: 32px; --s7: 48px; --s8: 64px; --s9: 96px;
  --r-sm: 8px; --r-md: 14px; --r-lg: 20px;
  --ease: cubic-bezier(.25, 1, .5, 1);
  --z-sticky: 20; --z-tag: 30;
  --fs-xs: .8125rem; --fs-sm: .875rem; --fs-md: 1rem; --fs-lg: 1.25rem; --fs-xl: 1.5625rem;
  --fs-h2: clamp(1.6rem, 1.25rem + 1.5vw, 2.4rem);
  --fs-h1: clamp(2rem, 1.45rem + 2.3vw, 3rem);
  --fs-hero: clamp(2.1rem, 1.3rem + 2.8vw, 3.35rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--brand-font);
  font-size: var(--fs-md);
  line-height: 1.6;
  font-weight: 450;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: var(--header-bg);
}
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { margin: 0; line-height: 1.18; letter-spacing: -0.02em; text-wrap: balance; color: var(--ink); }
h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.025em; }
h3 { font-size: var(--fs-lg); font-weight: 750; }
h4 { font-size: var(--fs-md); font-weight: 750; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }
a { color: var(--primary); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }
.num, .mock, table { font-variant-numeric: tabular-nums; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.i { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.i-fill { fill: currentColor; stroke: none; }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: 1264px;
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}
.band { padding-block: clamp(56px, 7vw, 104px); }
.band-tight { padding-block: clamp(40px, 5vw, 72px); }
.band-alt { background: var(--bg-band); }
.band-surface { background: var(--surface); border-block: 1px solid var(--line); }
.stack > * + * { margin-top: var(--s4); }
.lede { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ink-2); max-width: 62ch; }
.section-head { display: grid; gap: var(--s3); max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--ink-2); max-width: 64ch; }
.min0 { min-width: 0; }

/* ---------- Buttons, links, tags ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 46px; padding: 10px 20px;
  border-radius: var(--r-sm); border: 1.5px solid transparent;
  font-weight: 700; font-size: .975rem; line-height: 1.2; text-decoration: none; cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease), color .16s var(--ease), transform .12s var(--ease);
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--on-primary); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-secondary { background: transparent; color: var(--primary); border-color: var(--line-2); }
.btn-secondary:hover { border-color: var(--primary); background: var(--primary-soft); }
.btn-sm { min-height: 40px; padding: 8px 14px; font-size: .9rem; }
.btn-on-navy { background: transparent; color: var(--navy-ink); border-color: var(--navy-line); }
.btn-on-navy:hover { border-color: var(--navy-ink); }
.cta-row { display: flex; flex-wrap: wrap; gap: var(--s3); align-items: center; }
.text-link {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--primary);
  text-decoration: none; border-bottom: 1.5px solid var(--line-2); padding-block: 2px;
}
.text-link:hover { border-bottom-color: var(--accent); }
.text-link .i { width: 16px; height: 16px; transition: transform .16s var(--ease); }
.text-link:hover .i { transform: translateX(3px); }
.tag {
  display: inline-flex; align-items: center; gap: 4px; white-space: nowrap;
  font-size: .72rem; font-weight: 700; letter-spacing: .01em; line-height: 1;
  padding: 4px 8px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); background: var(--surface);
  vertical-align: middle;
}
.tag-soon { color: var(--accent-text); border-color: var(--accent); background: var(--accent-soft); }
.tag-req { color: var(--ink-2); }
.tag-sample { color: var(--muted); }

/* ---------- Prototype tag ---------- */
.proto-tag {
  position: fixed; z-index: var(--z-tag);
  left: max(12px, env(safe-area-inset-left, 0px));
  bottom: max(12px, env(safe-area-inset-bottom, 0px));
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px; border-radius: 999px;
  background: var(--surface); color: var(--ink-2); border: 1px solid var(--line-2);
  font-size: .75rem; font-weight: 700; box-shadow: var(--shadow-1); pointer-events: none;
}
.proto-tag::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

/* ---------- Header ---------- */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 40; padding: 8px 14px; border-radius: var(--r-sm);
  background: var(--primary); color: var(--on-primary); border: 0; font-weight: 700; cursor: pointer;
}
.skip:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: var(--z-sticky);
  background: var(--header-bg); border-bottom: 1px solid var(--line);
}
.header-row { display: flex; align-items: center; gap: var(--s4); min-height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); flex: none; }
.logo .mark { width: 34px; height: auto; }
.wordmark { display: grid; line-height: 1; }
.wm-name { font-weight: 800; font-size: 1.28rem; letter-spacing: -0.02em; }
.wm-sub { font-weight: 700; font-size: .56rem; letter-spacing: .32em; color: var(--muted); margin-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 2px; margin-left: var(--s4); }
.site-nav a {
  position: relative; padding: 10px 12px; border-radius: var(--r-sm); text-decoration: none;
  color: var(--ink-2); font-weight: 650; font-size: .95rem;
}
.site-nav a:hover { color: var(--ink); background: var(--surface-2); }
.site-nav a[aria-current="page"] { color: var(--ink); }
.site-nav a[aria-current="page"]::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--accent);
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: var(--s2); }
.icon-btn {
  display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: var(--r-sm);
  background: transparent; border: 1px solid var(--line); color: var(--ink-2); cursor: pointer;
}
.icon-btn:hover { color: var(--ink); border-color: var(--line-2); background: var(--surface-2); }
.menu-btn { display: none; }
.nav-demo { display: none; }
@media (max-width: 1039px) {
  .menu-btn { display: inline-flex; gap: 6px; align-items: center; height: 42px; padding: 0 12px; border-radius: var(--r-sm); border: 1px solid var(--line); background: transparent; cursor: pointer; font-weight: 700; color: var(--ink); }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0; margin: 0;
    background: var(--header-bg); border-bottom: 1px solid var(--line);
    padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px));
    box-shadow: var(--shadow-1);
  }
  .site-header.nav-open .site-nav { display: flex; }
  .site-nav a { padding: 14px 8px; border-bottom: 1px solid var(--line); border-radius: 0; font-size: 1.05rem; }
  .site-nav a[aria-current="page"]::after { left: 8px; right: auto; width: 28px; bottom: 6px; }
  .nav-demo { display: flex; margin-top: 12px; }
  .header-actions { gap: 6px; }
}
@media (max-width: 559px) {
  .header-actions .btn { display: none; }
}

/* ---------- View motion ---------- */
.view { animation: rise .42s var(--ease) both; }
@keyframes rise { from { transform: translateY(6px); } to { transform: none; } }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 88px) clamp(48px, 7vw, 104px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); gap: clamp(32px, 5vw, 64px); align-items: center; }
.hero-copy { display: grid; gap: var(--s5); min-width: 0; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; color: var(--ink-2); font-size: .95rem; }
.hero-kicker .mark { width: 22px; }
.hero h1 { font-size: var(--fs-hero); line-height: 1.06; letter-spacing: -0.035em; }
.tick { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: .1em; text-underline-offset: .12em; text-decoration-skip-ink: none; }
.hero-facts { list-style: none; display: grid; gap: 10px; padding-top: var(--s4); border-top: 1px solid var(--line); }
.hero-facts li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .95rem; }
.hero-facts .i { color: var(--good); margin-top: 2px; width: 18px; height: 18px; }
.hero-visual { position: relative; min-width: 0; padding-bottom: 64px; }
.hv-desk { margin-right: 29%; }
.hv-phone { position: absolute; right: 0; bottom: 0; width: 31%; max-width: 230px; }
.mock-note { margin-top: var(--s3); font-size: var(--fs-xs); color: var(--muted); display: flex; gap: 8px; align-items: center; }
@media (max-width: 959px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 759px) {
  .hero-visual { padding-bottom: 0; }
  .hv-desk { margin-right: 0; }
  .hv-phone { position: relative; width: 64%; max-width: 250px; margin: -28px 0 0 auto; }
}

/* ---------- Jobs list ---------- */
.split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.split-head { display: grid; gap: var(--s4); position: sticky; top: 100px; }
.split-head p { color: var(--ink-2); }
.jobs { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); }
.jobs li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 22px 0; border-top: 1px solid var(--line); }
.jobs .i { width: 24px; height: 24px; color: var(--primary); margin-top: 2px; }
.jobs h3 { font-size: 1.1rem; margin-bottom: 4px; }
.jobs p { color: var(--ink-2); font-size: .975rem; }
@media (max-width: 899px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .split-head { position: static; }
}
@media (max-width: 599px) { .jobs { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Mini data path (home) ---------- */
.dmini { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin-top: var(--s6); }
.dmini li { position: relative; padding: 18px 28px 18px 0; display: grid; gap: 6px; align-content: start; min-width: 0; }
.dmini li + li { padding-left: 28px; border-left: 1px solid var(--line); }
.dmini .dm-ico { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--surface); color: var(--primary); }
.dmini b { font-size: 1.05rem; font-weight: 750; }
.dmini .dm-d { color: var(--ink-2); font-size: .95rem; }
.dmini .dm-arrow { position: absolute; right: -12px; top: 28px; width: 24px; height: 24px; display: grid; place-items: center; background: var(--bg); color: var(--accent-text); z-index: 1; }
.dmini li:last-child .dm-arrow { display: none; }
@media (max-width: 859px) {
  .dmini { grid-template-columns: minmax(0, 1fr); }
  .dmini li, .dmini li + li { padding: 16px 0 16px 0; border-left: 0; border-top: 1px solid var(--line); grid-template-columns: auto minmax(0, 1fr); column-gap: 14px; }
  .dmini li > b, .dmini .dm-d { grid-column: 2; }
  .dmini .dm-ico { grid-column: 1; grid-row: 1 / span 2; }
  .dmini .dm-arrow { right: auto; left: 10px; top: auto; bottom: -12px; transform: rotate(90deg); }
}

/* ---------- Lead features ---------- */
.feat { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding-block: clamp(32px, 4vw, 56px); }
.feat + .feat { border-top: 1px solid var(--line); }
.feat:nth-of-type(even) .feat-copy { order: 2; }
.feat-copy { display: grid; gap: var(--s4); min-width: 0; }
.feat-copy h3 { font-size: clamp(1.35rem, 1.1rem + .9vw, 1.85rem); font-weight: 800; letter-spacing: -0.025em; }
.feat-copy > p { color: var(--ink-2); }
.feat-mock { min-width: 0; }
.ticks { list-style: none; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); font-size: .95rem; }
.ticks .i { color: var(--accent-text); width: 18px; height: 18px; margin-top: 3px; }
.feat-label { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-weight: 700; font-size: .9rem; }
.feat-label .i { color: var(--primary); }
@media (max-width: 899px) {
  .feat { grid-template-columns: minmax(0, 1fr); }
  .feat:nth-of-type(even) .feat-copy { order: 0; }
}

/* ---------- Who it is for ---------- */
.roles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); }
.role { padding: 24px 28px 8px 0; min-width: 0; }
.role + .role { padding-left: 28px; border-left: 1px solid var(--line); }
.role-top { display: flex; align-items: center; gap: 10px; margin-bottom: var(--s4); }
.role-top .i { color: var(--primary); width: 24px; height: 24px; }
.role dl { margin: 0; display: grid; gap: 14px; }
.role dt { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
.role dd { margin: 2px 0 0; color: var(--ink-2); }
.doors { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
@media (max-width: 859px) {
  .roles { grid-template-columns: minmax(0, 1fr); }
  .role, .role + .role { padding: 24px 0 20px; border-left: 0; }
  .role + .role { border-top: 1px solid var(--line); }
}

/* ---------- Freshness ---------- */
.fresh { list-style: none; display: grid; grid-template-columns: repeat(var(--cols, 3), minmax(0, 1fr)); gap: 0; position: relative; }
.fresh li { position: relative; padding: 30px 24px 0 0; min-width: 0; }
.fresh li::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 2px; background: var(--line-2); }
.fresh li::after { content: ""; position: absolute; left: 0; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: var(--surface); border: 2.5px solid var(--primary); }
.fresh b { display: block; font-size: 1.05rem; font-weight: 750; margin-bottom: 6px; }
.fresh span { color: var(--ink-2); font-size: .95rem; display: block; }
.fresh-4 { --cols: 4; }
.must { margin-top: var(--s5); display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--r-md); background: var(--surface-2); color: var(--ink-2); font-size: .95rem; }
.must .i { color: var(--accent-text); margin-top: 2px; }
@media (max-width: 859px) {
  .fresh, .fresh-4 { grid-template-columns: minmax(0, 1fr); }
  .fresh li { padding: 0 0 22px 30px; }
  .fresh li::before { left: 6px; right: auto; top: 14px; bottom: 0; width: 2px; height: auto; }
  .fresh li:last-child::before { display: none; }
  .fresh li::after { top: 4px; }
}

/* ---------- Navy security band ---------- */
.band-navy { background: var(--navy-bg); color: var(--navy-ink); }
.band-navy h2, .band-navy h3 { color: var(--navy-ink); }
.band-navy .section-head p { color: var(--navy-muted); }
.band-navy a { color: var(--navy-ink); }
.sec-facts { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 4vw, 56px); }
.sec-facts li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px; padding: 18px 0; border-top: 1px solid var(--navy-line); }
.sec-facts .i { color: var(--navy-accent); margin-top: 3px; }
.sec-facts b { display: block; font-weight: 750; margin-bottom: 2px; }
.sec-facts span { color: var(--navy-muted); font-size: .95rem; }
@media (max-width: 759px) { .sec-facts { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Setup path ---------- */
.setup { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; counter-reset: step; }
.setup li { counter-increment: step; display: grid; gap: 6px; align-content: start; min-width: 0; padding-top: 14px; border-top: 1px solid var(--line-2); }
.setup li::before { content: counter(step); font-weight: 800; font-size: 1.5rem; color: var(--accent-text); line-height: 1; }
.setup b { font-weight: 750; }
.setup li > span:not(.lane-chip) { color: var(--ink-2); font-size: .95rem; }
.lane-chip { justify-self: start; font-size: .72rem; font-weight: 700; color: var(--muted); border: 1px solid var(--line-2); border-radius: 999px; padding: 3px 8px; display: inline-flex; gap: 5px; align-items: center; }
.lane-chip .i { width: 13px; height: 13px; }
.note { display: flex; gap: 12px; align-items: flex-start; margin-top: var(--s6); padding: 16px 18px; border-radius: var(--r-md); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); }
.note .i { color: var(--accent-text); margin-top: 2px; }
@media (max-width: 959px) { .setup { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 559px) { .setup { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Help preview + videos ---------- */
.help-prev { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.art-links { list-style: none; display: grid; }
.art-links li { border-top: 1px solid var(--line); }
.art-links a { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 2px; text-decoration: none; color: var(--ink); font-weight: 650; }
.art-links a:hover { color: var(--primary); }
.art-links a .i { color: var(--muted); width: 18px; height: 18px; }
.art-links small { display: block; color: var(--muted); font-weight: 500; font-size: var(--fs-xs); }
.vids { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 28px 24px; }
.vids-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.vid { display: grid; gap: 10px; align-content: start; min-width: 0; }
.vid-poster { position: relative; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--m-bg); aspect-ratio: 16 / 9; }
.vid-poster svg { width: 100%; height: 100%; }
.vid-len { position: absolute; right: 10px; bottom: 10px; padding: 3px 7px; border-radius: 6px; background: var(--surface); color: var(--ink); font-size: .75rem; font-weight: 750; border: 1px solid var(--line); }
.vid-state { position: absolute; left: 10px; top: 10px; padding: 4px 8px; border-radius: 999px; background: var(--surface); color: var(--accent-text); font-size: .72rem; font-weight: 750; border: 1px solid var(--accent); }
.vid h3 { font-size: 1.02rem; }
.vid-ch { list-style: none; counter-reset: ch; display: grid; gap: 3px; font-size: .875rem; color: var(--ink-2); }
.vid-ch li { counter-increment: ch; display: flex; gap: 8px; }
.vid-ch li::before { content: counter(ch); color: var(--muted); font-weight: 700; min-width: 1ch; }
.vid-ch-label { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); }
@media (max-width: 899px) { .help-prev { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 559px) { .vids-2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Closing CTA ---------- */
.closing { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.closing-copy { display: grid; gap: var(--s4); }
.closing-copy p { color: var(--ink-2); }
@media (max-width: 859px) { .closing { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Forms ---------- */
.pform { display: grid; gap: 14px; }
.pform-panel { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); }
.field { display: grid; gap: 6px; font-weight: 650; font-size: .925rem; color: var(--ink); }
.field input, .field textarea, .field select {
  font: inherit; font-weight: 500; font-size: 1rem; color: var(--ink);
  background: var(--bg); border: 1.5px solid var(--line-2); border-radius: var(--r-sm); padding: 11px 12px; min-height: 46px; width: 100%;
}
.field textarea { min-height: 84px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.radios { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.radios legend { font-weight: 650; font-size: .925rem; margin-bottom: 6px; padding: 0; }
.radios label { display: flex; gap: 10px; align-items: center; font-weight: 550; cursor: pointer; padding: 8px 10px; border: 1px solid var(--line); border-radius: var(--r-sm); }
.radios input { accent-color: var(--primary); width: 18px; height: 18px; margin: 0; }
.form-msg { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--good-soft); color: var(--good); font-weight: 650; }
.form-msg:empty { display: none; }
.form-fine { font-size: var(--fs-xs); color: var(--muted); }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
@media (max-width: 559px) { .two { grid-template-columns: minmax(0, 1fr); } }

dialog.dlg {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); overflow: auto;
  padding: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); color: var(--ink); box-shadow: var(--shadow-2);
}
dialog.dlg::backdrop { background: rgba(8, 18, 32, .55); }
.dlg .pform { padding: clamp(20px, 4vw, 32px); }
.dlg-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.dlg-head h2 { font-size: 1.6rem; }
.dlg-intro { color: var(--ink-2); }

/* ---------- Page heads ---------- */
.page-head { padding-block: clamp(40px, 6vw, 80px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head .wrap { display: grid; gap: var(--s4); }
.page-head p { color: var(--ink-2); max-width: 66ch; font-size: 1.08rem; }
.stamp { display: inline-flex; align-items: center; gap: 8px; font-size: var(--fs-sm); color: var(--muted); font-weight: 650; }
.stamp .i { width: 16px; height: 16px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--s2); }
.jump button, .jump a, .chip-btn {
  min-height: 38px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface);
  color: var(--ink-2); font-weight: 650; font-size: .9rem; cursor: pointer;
}
.jump button:hover, .jump a:hover, .chip-btn:hover { border-color: var(--primary); color: var(--primary); }
.legend-row { display: flex; flex-wrap: wrap; gap: 10px 20px; color: var(--muted); font-size: var(--fs-sm); }
.legend-row span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Tour ---------- */
.tour { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.tour-steps { list-style: none; display: grid; gap: 4px; counter-reset: ts; }
.tour-steps button {
  counter-increment: ts; width: 100%; text-align: left; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2px 12px;
  padding: 14px 14px; border-radius: var(--r-md); border: 1px solid transparent; background: transparent; cursor: pointer; color: var(--ink-2);
}
.tour-steps button::before { content: counter(ts); grid-row: 1 / span 2; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--line-2); font-weight: 800; color: var(--muted); }
.tour-steps button b { color: var(--ink); font-weight: 750; }
.tour-steps button span { font-size: .9rem; }
.tour-steps button:hover { background: var(--surface-2); }
.tour-steps button[aria-selected="true"] { background: var(--surface); border-color: var(--line-2); box-shadow: var(--shadow-1); }
.tour-steps button[aria-selected="true"]::before { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.tour-nav { display: flex; gap: 8px; margin-top: var(--s4); }
@media (max-width: 899px) { .tour { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Feature groups ---------- */
.feat-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: start; }
.group-nav { position: sticky; top: 92px; display: grid; gap: 2px; }
.group-nav p { font-size: var(--fs-xs); font-weight: 700; color: var(--muted); margin-bottom: 6px; }
.group-nav button, .group-nav a { text-align: left; padding: 8px 10px; border-radius: var(--r-sm); border: 0; background: transparent; color: var(--ink-2); font-weight: 650; cursor: pointer; display: flex; gap: 10px; align-items: center; }
.group-nav button .i, .group-nav a .i { width: 18px; height: 18px; color: var(--muted); }
.group-nav button:hover, .group-nav a:hover { background: var(--surface-2); color: var(--ink); }
.fgroup { padding-bottom: clamp(36px, 5vw, 64px); scroll-margin-top: 96px; }
.fgroup + .fgroup { padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }
.fgroup-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.fgroup-head .i { width: 26px; height: 26px; color: var(--primary); }
.fgroup-head h2 { font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem); }
.fgroup-intro { color: var(--ink-2); margin-bottom: var(--s5); max-width: 62ch; }
.flist { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(20px, 3vw, 40px); }
.flist li { padding: 16px 0; border-top: 1px solid var(--line); min-width: 0; }
.flist h3 { font-size: 1.02rem; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-bottom: 4px; }
.flist p { color: var(--ink-2); font-size: .95rem; }
.soon-block { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 16px; align-items: start; padding: 20px; border: 1px dashed var(--line-2); border-radius: var(--r-md); }
.soon-block .i { width: 26px; height: 26px; color: var(--accent-text); }
@media (max-width: 959px) {
  .feat-layout { grid-template-columns: minmax(0, 1fr); }
  .group-nav { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .group-nav p { width: 100%; }
  .group-nav button, .group-nav a { border: 1px solid var(--line-2); border-radius: 999px; padding: 6px 12px; font-size: .9rem; }
  .group-nav button .i, .group-nav a .i { display: none; }
}
@media (max-width: 639px) { .flist { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Data path (full) ---------- */
.dpath { display: grid; grid-template-columns: minmax(0, 1fr) 128px minmax(0, 1fr) 128px minmax(0, 1fr); align-items: stretch; }
.zone { border: 1.5px dashed var(--line-2); border-radius: var(--r-lg); padding: 16px; display: grid; gap: 10px; align-content: start; min-width: 0; background: var(--bg); }
.zone-label { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: .95rem; color: var(--ink); margin-bottom: 4px; }
.zone-label .i { color: var(--primary); }
.node { display: grid; gap: 4px; padding: 14px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line-2); min-width: 0; }
.node b { font-weight: 800; font-size: 1rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.node > span { color: var(--ink-2); font-size: .9rem; }
.node-key { border-color: var(--primary); box-shadow: inset 0 0 0 1px var(--primary); }
.vlink { display: flex; align-items: center; gap: 10px; padding-left: 18px; color: var(--muted); font-size: .82rem; font-weight: 600; }
.vlink::before { content: ""; width: 2px; height: 26px; background: var(--line-2); flex: none; }
.hop { display: flex; flex-direction: column; justify-content: center; gap: 10px; padding: 0 10px; text-align: center; min-width: 0; }
.hop-line { position: relative; height: 2px; background: var(--ink-2); margin-right: 8px; }
.hop-line::after { content: ""; position: absolute; right: -8px; top: -5px; border-left: 9px solid var(--ink-2); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.hop-line::before { content: ""; position: absolute; inset: -4px 0; background: radial-gradient(circle, var(--accent) 3.5px, transparent 4.5px) no-repeat; background-size: 10px 10px; animation: pkt 2.6s linear infinite; }
@keyframes pkt { from { background-position: 0% 50%; } to { background-position: 100% 50%; } }
.hop-label { font-size: .8rem; font-weight: 650; color: var(--ink-2); line-height: 1.35; }
.dpath-back { display: flex; align-items: center; gap: 12px; margin-top: var(--s4); padding: 12px 16px; border: 1.5px dashed var(--line-2); border-radius: var(--r-md); color: var(--ink-2); font-size: .92rem; }
.dpath-back .i { color: var(--muted); transform: scaleX(-1); }
.sg-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: var(--s4); margin-top: var(--s5); }
.sg { padding: 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.sg h3 { font-size: 1.05rem; display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sg ul { list-style: none; display: grid; gap: 8px; }
.sg li { display: flex; gap: 10px; color: var(--ink-2); font-size: .94rem; }
.sg li::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; margin-top: .62em; background: currentColor; opacity: .55; }
.sg-stay h3 .i { color: var(--good); }
.sg-go h3 .i { color: var(--accent-text); }
@media (max-width: 959px) {
  .dpath { grid-template-columns: minmax(0, 1fr); }
  .hop { flex-direction: row; align-items: center; justify-content: flex-start; text-align: left; padding: 6px 0 6px 28px; min-height: 64px; }
  .hop-line { width: 2px; height: 48px; margin: 0 0 8px; flex: none; }
  .hop-line::after { right: auto; left: -5px; top: auto; bottom: -8px; border-left: 6px solid transparent; border-right: 6px solid transparent; border-top: 9px solid var(--ink-2); border-bottom: 0; }
  .hop-line::before { inset: 0 -4px; animation-name: pktv; }
  .sg-wrap { grid-template-columns: minmax(0, 1fr); }
}
@keyframes pktv { from { background-position: 50% 0%; } to { background-position: 50% 100%; } }

/* ---------- Swimlane ---------- */
.lanes-box { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.lanes { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; padding: 18px; position: relative; }
.lane-bg { border-radius: var(--r-md); background: var(--surface-2); z-index: 0; margin: -8px; }
.lane-label { z-index: 1; display: flex; align-items: center; gap: 10px; padding: 4px 4px 8px; font-weight: 800; font-size: .95rem; border-bottom: 1px solid var(--line-2); }
.lane-label .i { color: var(--primary); }
.ls { z-index: 1; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 2px 12px; align-content: start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--surface); border: 1px solid var(--line-2); min-width: 0; position: relative; }
.ls-n { grid-row: 1 / span 3; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--accent); font-weight: 800; color: var(--accent-text); font-size: .85rem; }
.ls b { font-weight: 750; font-size: .98rem; line-height: 1.3; }
.ls > span:not(.ls-n):not(.lane-chip) { font-size: .9rem; color: var(--ink-2); line-height: 1.45; }
.ls .lane-chip { display: none; }
.ls-both { border-style: dashed; border-color: var(--primary); }
.ls-both::before, .ls-both::after { content: none; }
@media (max-width: 759px) {
  .lanes-box { overflow: visible; border: 0; background: transparent; }
  .lanes { display: grid; grid-template-columns: minmax(0, 1fr); min-width: 0; padding: 0; gap: 10px; }
  .lanes .lane-bg, .lanes .lane-label { display: none; }
  .ls { grid-column: auto !important; grid-row: auto !important; margin: 0; }
  .ls .lane-chip { display: inline-flex; }
}

/* ---------- Reminder loop ---------- */
.rloop { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: var(--s5); align-items: stretch; }
.rl-box { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); min-width: 0; }
.rl-box h3 { font-size: 1.08rem; margin-bottom: var(--s4); display: flex; gap: 10px; align-items: center; }
.rl-box h3 .i { color: var(--primary); }
.vsteps { list-style: none; counter-reset: vs; display: grid; gap: 0; }
.vsteps li { counter-increment: vs; position: relative; display: grid; grid-template-columns: 32px minmax(0, 1fr); gap: 12px; padding-bottom: 18px; }
.vsteps li::before { content: counter(vs); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid var(--primary); color: var(--primary); font-weight: 800; font-size: .9rem; background: var(--surface); position: relative; z-index: 1; }
.vsteps li::after { content: ""; position: absolute; left: 14px; top: 30px; bottom: 0; width: 2px; background: var(--line-2); }
.vsteps li:last-child { padding-bottom: 0; }
.vsteps li:last-child::after { display: none; }
.vsteps b { display: block; font-weight: 750; }
.vsteps span { color: var(--ink-2); font-size: .92rem; }
.cycle { display: grid; gap: 0; position: relative; padding-right: 44px; }
.cy-node { position: relative; padding: 12px 14px; border-radius: var(--r-sm); border: 1px solid var(--line-2); background: var(--bg); font-size: .93rem; color: var(--ink-2); }
.cy-node b { color: var(--ink); font-weight: 750; display: block; }
.cy-down { height: 22px; margin-left: 22px; border-left: 2px solid var(--line-2); position: relative; }
.cy-down::after { content: ""; position: absolute; left: -7px; bottom: -1px; border-top: 8px solid var(--line-2); border-left: 6px solid transparent; border-right: 6px solid transparent; }
.cy-back { position: absolute; right: 8px; top: 24px; bottom: 24px; width: 28px; border: 2px solid var(--line-2); border-left: 0; border-radius: 0 14px 14px 0; }
.cy-back::after { content: ""; position: absolute; left: -4px; top: -7px; border-right: 8px solid var(--line-2); border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.cy-back span { position: absolute; right: -6px; top: 50%; transform: translate(100%, -50%) rotate(90deg); transform-origin: left center; font-size: .72rem; font-weight: 700; color: var(--muted); white-space: nowrap; display: none; }
.exits { margin-top: var(--s5); display: grid; gap: 8px; }
.exits > p { font-weight: 800; display: flex; gap: 8px; align-items: center; }
.exits > p .i { color: var(--bad); }
.exit-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.exit-list li { padding: 12px; border-radius: var(--r-sm); background: var(--bad-soft); color: var(--ink); font-weight: 650; font-size: .9rem; }
.exit-list li small { display: block; font-weight: 500; color: var(--ink-2); margin-top: 2px; }
@media (max-width: 899px) { .rloop { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 559px) { .exit-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Figure differs explainer ---------- */
.explain { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.checks { list-style: none; counter-reset: ck; display: grid; gap: 14px; }
.checks li { counter-increment: ck; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.checks li::before { content: counter(ck); display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: .9rem; }
.checks b { display: block; font-weight: 750; }
.checks span { color: var(--ink-2); font-size: .94rem; }
.exfig { margin: 0; padding: 20px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 14px; min-width: 0; }
.exfig figcaption { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; align-items: center; font-weight: 800; }
.ex-cols { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); gap: 8px; align-items: stretch; }
.ex-col { padding: 14px; border-radius: var(--r-md); background: var(--surface-2); min-width: 0; display: grid; gap: 8px; align-content: start; }
.ex-col h4 { font-size: .88rem; color: var(--ink-2); }
.ex-row { display: flex; justify-content: space-between; gap: 8px; font-size: .88rem; color: var(--ink-2); }
.ex-row b { color: var(--ink); font-weight: 700; white-space: nowrap; }
.ex-row.minus b { color: var(--bad); }
.ex-row.total { border-top: 1px solid var(--line-2); padding-top: 8px; font-weight: 700; color: var(--ink); }
.ex-note { font-size: .82rem; color: var(--ink-2); }
.ex-arrow { display: grid; place-items: center; color: var(--accent-text); }
.ex-result { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: var(--r-sm); background: var(--good-soft); color: var(--ink); font-size: .94rem; }
.ex-result .i { color: var(--good); margin-top: 2px; }
@media (max-width: 899px) { .explain { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 519px) {
  .ex-cols { grid-template-columns: minmax(0, 1fr); }
  .ex-arrow { transform: rotate(90deg); height: 24px; }
}

/* ---------- Security page ---------- */
.fact-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.fact-group { padding: 24px 0; border-top: 1px solid var(--line); min-width: 0; }
.fact-group h3 { display: flex; align-items: center; gap: 10px; font-size: 1.12rem; margin-bottom: 12px; }
.fact-group h3 .i { color: var(--primary); width: 22px; height: 22px; }
.fact-group ul { list-style: none; display: grid; gap: 10px; }
.fact-group li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; color: var(--ink-2); font-size: .95rem; }
.fact-group li .i { color: var(--good); width: 18px; height: 18px; margin-top: 3px; }
.grid-box { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.rgrid { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .92rem; }
.rgrid th, .rgrid td { padding: 12px 12px; border-bottom: 1px solid var(--line); text-align: center; }
.rgrid thead th { font-size: .85rem; color: var(--ink-2); font-weight: 750; background: var(--surface-2); }
.rgrid th[scope="row"] { text-align: left; font-weight: 650; color: var(--ink); }
.rgrid tr:last-child td, .rgrid tr:last-child th { border-bottom: 0; }
.rg-yes { color: var(--good); font-weight: 750; display: inline-flex; align-items: center; gap: 4px; }
.rg-yes .i { width: 18px; height: 18px; }
.rg-no { color: var(--muted); }
.rg-part { font-size: .8rem; font-weight: 700; color: var(--ink-2); }
.noclaim { padding: clamp(20px, 3vw, 32px); border-radius: var(--r-lg); background: var(--surface-2); border: 1px solid var(--line); }
.noclaim h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.7rem); margin-bottom: var(--s4); }
.noclaim ul { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 32px; }
.noclaim li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; color: var(--ink-2); font-size: .95rem; }
.noclaim li .i { color: var(--muted); width: 18px; height: 18px; margin-top: 3px; }
@media (max-width: 759px) {
  .fact-groups, .noclaim ul { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Help page ---------- */
.search { position: relative; max-width: 640px; }
.search .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.search input { width: 100%; font: inherit; font-size: 1.05rem; font-weight: 500; color: var(--ink); background: var(--surface); border: 1.5px solid var(--line-2); border-radius: var(--r-md); padding: 14px 14px 14px 46px; min-height: 54px; }
.search input:focus { outline: 2px solid var(--focus); outline-offset: 1px; border-color: transparent; }
.search-status { font-size: var(--fs-sm); color: var(--muted); margin-top: 8px; min-height: 1.4em; }
.help-groups { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(24px, 4vw, 56px); }
.hgroup { min-width: 0; }
.hgroup-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); margin-bottom: 2px; }
.hgroup-head h2 { font-size: 1.2rem; display: flex; gap: 10px; align-items: baseline; }
.hgroup-head h2 .step { color: var(--accent-text); font-weight: 800; }
.hgroup-head small { color: var(--muted); font-weight: 650; font-size: var(--fs-xs); white-space: nowrap; }
.hgroup-fix { grid-column: 1 / -1; padding: 22px; border-radius: var(--r-lg); background: var(--fix-bg); border: 1px solid var(--line); }
.hgroup-fix .hgroup-head { border-bottom-color: var(--warn); }
.hgroup-fix .arts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.art { border-bottom: 1px solid var(--line); }
.hgroup-fix .art { border-bottom-color: var(--line-2); }
.art summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 13px 2px; font-weight: 650; color: var(--ink); }
.art summary::-webkit-details-marker { display: none; }
.art summary .i { width: 18px; height: 18px; color: var(--muted); margin-top: 3px; transition: transform .2s var(--ease); }
.art[open] summary .i { transform: rotate(45deg); }
.art summary:hover { color: var(--primary); }
.art-body { padding: 0 2px 16px; color: var(--ink-2); font-size: .95rem; display: grid; gap: 10px; }
.art-body ul { list-style: disc; padding-left: 1.2em; display: grid; gap: 4px; }
.help-empty { padding: 20px; border-radius: var(--r-md); border: 1px dashed var(--line-2); color: var(--ink-2); }
.faq { max-width: 860px; }
.faq .art summary { font-size: 1.05rem; padding: 16px 2px; }
.contact { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); }
.contact-item { padding: 22px; border-radius: var(--r-lg); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; align-content: start; min-width: 0; }
.contact-item h3 { display: flex; gap: 10px; align-items: center; font-size: 1.05rem; }
.contact-item h3 .i { color: var(--primary); }
.contact-item p { color: var(--ink-2); font-size: .95rem; }
.email-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.email-text { font-weight: 800; font-size: 1.1rem; color: var(--ink); overflow-wrap: anywhere; }
@media (max-width: 759px) {
  .help-groups, .hgroup-fix .arts, .contact { grid-template-columns: minmax(0, 1fr); }
  .hgroup-fix { padding: 18px 16px; }
}

/* ---------- Pricing ---------- */
.tbc { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-md); background: var(--accent-soft); color: var(--ink); max-width: 860px; }
.tbc .i { color: var(--accent-text); width: 24px; height: 24px; }
.tbc b { display: block; font-size: 1.1rem; font-weight: 800; }
.tbc span { color: var(--ink-2); }
.plans-box { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); }
.plans { width: 100%; border-collapse: collapse; min-width: 340px; font-size: .95rem; }
.plans th, .plans td { padding: 13px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.plans thead th { text-align: left; background: var(--surface-2); padding-block: 18px; }
.plans thead th b { display: block; font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.plans thead th span { display: block; font-size: var(--fs-xs); font-weight: 600; color: var(--muted); margin-top: 2px; }
.plans tbody th { text-align: left; font-weight: 600; color: var(--ink-2); width: 40%; }
.plans td { color: var(--ink); font-weight: 650; }
.plans .grp th { background: var(--bg); font-size: var(--fs-xs); font-weight: 800; color: var(--muted); padding-block: 10px; }
.plans .yes { color: var(--good); display: inline-flex; }
.plans .no { color: var(--muted); font-weight: 500; }
.plans tr:last-child th, .plans tr:last-child td { border-bottom: 0; }
.plan-notes { list-style: none; display: grid; gap: 10px; max-width: 760px; }
.plan-notes li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; color: var(--ink-2); }
.plan-notes .i { color: var(--primary); width: 18px; height: 18px; margin-top: 3px; }
@media (max-width: 559px) {
  .plans { font-size: .86rem; }
  .plans th, .plans td { padding: 11px 8px; }
  .plans tbody th { width: 38%; }
  .plans thead th b { font-size: 1rem; }
}

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); background: var(--surface); padding-block: 48px 88px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) repeat(3, minmax(0, 1fr)); gap: 32px; }
.foot-grid h2 { font-size: .9rem; margin-bottom: 10px; }
.foot-grid ul { list-style: none; display: grid; gap: 6px; }
.foot-grid a { color: var(--ink-2); text-decoration: none; font-weight: 600; font-size: .95rem; }
.foot-grid a:hover { color: var(--primary); text-decoration: underline; }
.foot-about p { color: var(--ink-2); font-size: .95rem; margin-top: 12px; max-width: 40ch; }
.foot-fine { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; color: var(--muted); font-size: var(--fs-xs); }
.foot-text { color: var(--ink-2); font-weight: 650; font-size: .95rem; overflow-wrap: anywhere; }
@media (max-width: 859px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-about { grid-column: 1 / -1; } }

/* =====================================================================
   Product mock screens (drawn, sample data)
   ===================================================================== */
.mock { color: var(--m-ink); font-size: 13px; line-height: 1.4; }
.mwin { container-type: inline-size; background: var(--m-surface); border: 1px solid var(--m-line-2); border-radius: var(--r-md); box-shadow: var(--shadow-2); overflow: hidden; }
.mwin-bar { display: flex; align-items: center; gap: 10px; padding: 9px 12px; background: var(--m-chrome); border-bottom: 1px solid var(--m-line); }
.mwin-dots { display: flex; gap: 5px; flex: none; }
.mwin-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--m-line-2); }
.mwin-url { flex: 1; min-width: 0; padding: 4px 10px; border-radius: 6px; background: var(--m-surface); color: var(--m-muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-top { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--m-line); background: var(--m-surface); }
.m-top .mark { width: 18px; }
.m-title { font-weight: 800; font-size: 14px; white-space: nowrap; }
.m-sub { color: var(--m-muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.m-sync { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--m-line-2); font-size: 11px; font-weight: 700; color: var(--m-ink); white-space: nowrap; }
.m-sync .i { width: 13px; height: 13px; }
.m-body { padding: 12px 14px 14px; background: var(--m-bg); display: grid; gap: 10px; }
.m-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.m-chips span { padding: 4px 9px; border-radius: 999px; background: var(--m-surface); border: 1px solid var(--m-line); color: var(--m-muted); font-size: 11.5px; font-weight: 700; }
.m-chips span.on { background: var(--primary); border-color: var(--primary); color: var(--on-primary); }
.m-card { background: var(--m-surface); border: 1px solid var(--m-line); border-radius: 10px; overflow: hidden; }
.m-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.m-table th { text-align: left; font-weight: 700; font-size: 11px; color: var(--m-muted); background: var(--m-head); padding: 8px 10px; border-bottom: 1px solid var(--m-line); white-space: nowrap; }
.m-table td { padding: 9px 10px; border-bottom: 1px solid var(--m-line); vertical-align: middle; }
.m-table tr:last-child td { border-bottom: 0; }
.m-table .r { text-align: right; white-space: nowrap; }
.m-table .cust { font-weight: 700; }
.m-table .cust small { display: block; font-weight: 500; color: var(--m-muted); font-size: 11px; }
.m-od { color: var(--bad); font-weight: 700; }
.ab { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; min-width: 70px; }
.ab span { display: block; height: 100%; }
.a0 { background: var(--age-0); } .a1 { background: var(--age-1); } .a2 { background: var(--age-2); } .a3 { background: var(--age-3); }
.m-acts { display: flex; gap: 5px; justify-content: flex-end; }
.m-act { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 7px; border: 1px solid var(--m-line-2); color: var(--m-ink); background: var(--m-surface); }
.m-act .i { width: 14px; height: 14px; }
.m-legend { display: flex; flex-wrap: wrap; gap: 6px 12px; font-size: 11px; color: var(--m-muted); }
.m-legend span { display: inline-flex; align-items: center; gap: 5px; }
.m-legend i { width: 10px; height: 10px; border-radius: 3px; }
@container (max-width: 560px) {
  .m-hide-sm { display: none; }
}
@container (max-width: 400px) {
  .m-hide-xs { display: none; }
  .m-table { font-size: 12px; }
  .m-table th, .m-table td { padding: 8px 7px; }
  .m-sub { display: none; }
}

/* phone */
.phone { container-type: inline-size; background: var(--m-surface); border: 7px solid var(--m-frame); border-radius: 30px; box-shadow: var(--shadow-2); overflow: hidden; }
.ph-screen { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; padding: 10px 10px 0; background: var(--m-bg); }
.ph-status { display: flex; justify-content: space-between; font-size: 10.5px; font-weight: 800; color: var(--m-ink); padding: 2px 6px 0; }
.ph-status i { width: 42px; height: 9px; border-radius: 5px; background: var(--m-line-2); }
.ph-url { font-size: 10.5px; color: var(--m-muted); background: var(--m-surface); border: 1px solid var(--m-line); border-radius: 8px; padding: 5px 8px; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-head { display: flex; align-items: center; gap: 7px; font-weight: 800; font-size: 13px; padding: 2px 2px 0; }
.ph-head .mark { width: 14px; }
.ph-head small { margin-left: auto; min-width: 0; font-weight: 600; font-size: 10.5px; color: var(--m-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph-card { background: var(--m-surface); border: 1px solid var(--m-line); border-radius: 12px; padding: 10px 11px; display: grid; gap: 4px; }
.ph-card span { font-size: 11px; color: var(--m-muted); font-weight: 700; }
.ph-card b { font-size: 17px; font-weight: 800; letter-spacing: -0.01em; }
.ph-card small { font-size: 11px; color: var(--m-muted); }
.ph-card small em { font-style: normal; color: var(--bad); font-weight: 750; }
.ph-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.ph-row b { font-size: 13px; }
.ph-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 2px -10px 0; border-top: 1px solid var(--m-line); background: var(--m-surface); padding: 7px 12px 10px; }
.ph-tabs span { display: grid; justify-items: center; gap: 3px; font-size: 9.5px; font-weight: 700; color: var(--m-muted); }
.ph-tabs span i { width: 16px; height: 4px; border-radius: 2px; background: var(--m-line-2); }
.ph-tabs span.on { color: var(--primary); }
.ph-tabs span.on i { background: var(--primary); }

/* party drawer */
.pt-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; }
.pt-name { font-weight: 800; font-size: 15px; }
.pt-bal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; }
.pt-bal b { font-size: 20px; font-weight: 800; }
.pt-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--good); font-size: 11.5px; font-weight: 750; }
.pt-ok .i { width: 13px; height: 13px; }
.pt-follow { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 10px; padding: 10px 12px; border-radius: 10px; background: var(--m-surface); border: 1px dashed var(--m-line-2); font-size: 12px; }
.pt-follow .i { width: 16px; height: 16px; color: var(--accent-text); grid-row: 1 / span 2; }
.pt-follow b { font-weight: 750; }
.pt-follow span { color: var(--m-muted); }
.pt-tabs { display: flex; gap: 14px; border-bottom: 1px solid var(--m-line); font-size: 12px; font-weight: 700; color: var(--m-muted); padding: 0 2px; }
.pt-tabs span { padding: 6px 0; }
.pt-tabs span.on { color: var(--m-ink); box-shadow: inset 0 -2px 0 var(--accent); }
.st { display: inline-block; padding: 2px 7px; border-radius: 999px; font-size: 10.5px; font-weight: 750; white-space: nowrap; }
.st-un { background: var(--bad-soft); color: var(--bad); }
.st-part { background: var(--warn-soft); color: var(--warn); }
.st-nd { background: var(--m-pill); color: var(--m-muted); }
.m-btn { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 7px; border: 1px solid var(--m-line-2); background: var(--m-surface); font-size: 11.5px; font-weight: 700; color: var(--m-ink); white-space: nowrap; }
.m-btn .i { width: 13px; height: 13px; }

/* plan chart */
.pl-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 11.5px; color: var(--m-muted); font-weight: 650; }
.pl-legend span { display: inline-flex; align-items: center; gap: 6px; }
.pl-legend i { width: 12px; height: 8px; border-radius: 2px; }
.pl-bars { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; padding: 14px 12px 10px; }
.pl-g { display: grid; gap: 6px; justify-items: center; min-width: 0; }
.pl-g > span { font-size: 11px; font-weight: 650; color: var(--m-muted); white-space: nowrap; }
.pl-now > span { color: var(--m-ink); font-weight: 800; }
.pl-cols { width: 100%; height: 112px; display: flex; align-items: flex-end; justify-content: center; gap: 3px; border-bottom: 1px solid var(--m-line-2); background: repeating-linear-gradient(to top, transparent 0 36.33px, var(--m-line) 36.33px 37.33px); }
.pl-cols i { display: block; width: min(14px, 28%); border-radius: 3px 3px 0 0; }
.pl-none { height: 0; }
.pl-planned { background: var(--age-0); }
.pl-actual { background: var(--primary); }
.pl-out { background: var(--age-2); }

/* reminder email */
.rm { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 10px; }
.rm-mail { background: var(--m-surface); border: 1px solid var(--m-line); border-radius: 10px; padding: 12px 14px; display: grid; gap: 8px; font-size: 12.5px; }
.rm-meta { display: grid; gap: 2px; padding-bottom: 8px; border-bottom: 1px solid var(--m-line); color: var(--m-muted); font-size: 11.5px; }
.rm-meta b { color: var(--m-ink); font-weight: 700; }
.rm-subj { font-weight: 800; font-size: 13px; color: var(--m-ink); }
.rm-mail p { color: var(--m-ink); }
.rm-unsub { color: var(--m-muted); font-size: 11px; text-decoration: underline; }
.rm-set { display: grid; gap: 0; background: var(--m-surface); border: 1px solid var(--m-line); border-radius: 10px; padding: 4px 12px; font-size: 12px; align-content: start; }
.rm-set div { display: grid; gap: 2px; padding: 8px 0; border-bottom: 1px solid var(--m-line); }
.rm-set div:last-child { border-bottom: 0; }
.rm-set span { color: var(--m-muted); font-size: 11px; font-weight: 650; }
.rm-set b { font-weight: 750; }
.rm-set .ok { color: var(--good); display: inline-flex; gap: 4px; align-items: center; }
.rm-set .ok .i { width: 13px; height: 13px; }
@container (max-width: 520px) { .rm { grid-template-columns: minmax(0, 1fr); } }

/* gst */
.gs-sum { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.gs-sum div { background: var(--m-surface); border: 1px solid var(--m-line); border-radius: 10px; padding: 10px; display: grid; gap: 2px; }
.gs-sum b { font-size: 18px; font-weight: 800; }
.gs-sum span { font-size: 11px; color: var(--m-muted); font-weight: 650; line-height: 1.3; }
.gs-sum .ok b { color: var(--good); }
.gs-sum .att b { color: var(--warn); }
.gs-list { background: var(--m-surface); border: 1px solid var(--m-line); border-radius: 10px; }
.gs-list div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--m-line); font-size: 12.5px; }
.gs-list div:last-child { border-bottom: 0; }
.gs-list span { min-width: 0; }
.gs-list small { color: var(--m-muted); display: block; font-size: 11px; }
@container (max-width: 480px) { .gs-sum { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* team */
.tm-list { background: var(--m-surface); border: 1px solid var(--m-line); border-radius: 10px; }
.tm-row { display: grid; grid-template-columns: 30px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 12px; border-bottom: 1px solid var(--m-line); }
.tm-row:last-child { border-bottom: 0; }
.tm-av { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-size: 10.5px; font-weight: 800; background: var(--m-pill); color: var(--m-ink); }
.tm-who b { display: block; font-weight: 750; font-size: 12.5px; }
.tm-who span { color: var(--m-muted); font-size: 11px; }
.tm-role { padding: 3px 8px; border-radius: 999px; border: 1px solid var(--m-line-2); font-size: 11px; font-weight: 750; white-space: nowrap; }
.tm-role.sales { border-color: var(--accent); color: var(--accent-text); }
.tm-view { display: grid; gap: 6px; padding: 10px 12px; border-radius: 10px; border: 1px dashed var(--accent); background: var(--m-surface); font-size: 12px; }
.tm-view b { font-weight: 800; }
.tm-view ul { list-style: none; display: grid; gap: 4px; }
.tm-view li { display: flex; justify-content: space-between; gap: 8px; }
.tm-view .hid { color: var(--m-muted); }

/* dashboard */
.db-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.db-cards div { background: var(--m-surface); border: 1px solid var(--m-line); border-radius: 10px; padding: 10px 11px; display: grid; gap: 3px; }
.db-cards span { font-size: 11px; color: var(--m-muted); font-weight: 700; }
.db-cards b { font-size: 16px; font-weight: 800; }
.db-cards .od b { color: var(--bad); }
.db-tl { display: grid; grid-template-columns: repeat(12, 1fr); gap: 3px; }
.db-tl span { height: 6px; border-radius: 3px; background: var(--m-line-2); }
.db-tl span.done { background: var(--age-0); }
.db-tl span.now { background: var(--accent); }
.db-tl-l { display: flex; justify-content: space-between; font-size: 10.5px; color: var(--m-muted); font-weight: 650; }
.db-today { background: var(--m-surface); border: 1px solid var(--m-line); border-radius: 10px; }
.db-today div { display: flex; gap: 8px; align-items: center; padding: 8px 12px; border-bottom: 1px solid var(--m-line); font-size: 12px; }
.db-today div:last-child { border-bottom: 0; }
.db-today .i { width: 14px; height: 14px; color: var(--accent-text); }
@container (max-width: 460px) { .db-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hop-line::before { display: none; }
}

/* =====================================================================
   Multi-page site additions (screenshots, video, help articles, forms).
   Uses only the semantic tokens defined above.
   ===================================================================== */
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url("fonts/manrope-400.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 500; font-display: swap; src: url("fonts/manrope-500.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url("fonts/manrope-600.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url("fonts/manrope-700.woff2") format("woff2"); }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url("fonts/manrope-800.woff2") format("woff2"); }

main { display: block; }
main:focus { outline: none; }
.skip { text-decoration: none; }
.site-nav a { white-space: nowrap; }

/* ---------- Real screenshots ---------- */
.shot { margin: 0; display: grid; gap: 10px; min-width: 0; }
.shot-frame {
  display: block; overflow: hidden; border-radius: var(--r-md); background: var(--surface);
  border: 1px solid var(--line-2); box-shadow: var(--shadow-2); text-decoration: none;
  transition: transform .24s var(--ease), box-shadow .24s var(--ease);
}
.shot-frame:hover { transform: translateY(-2px); }
.shot-frame img { width: 100%; height: auto; }
.shot-bar { display: flex; align-items: center; gap: 12px; height: 30px; padding: 0 12px; background: var(--m-chrome); border-bottom: 1px solid var(--m-line); }
.shot-url { flex: 1; max-width: 300px; margin-inline: auto; height: 18px; border-radius: 6px; background: var(--surface); color: var(--muted); font-size: .7rem; font-weight: 650; display: grid; place-items: center; }
.shot figcaption { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; font-size: var(--fs-sm); color: var(--ink-2); }
.shot-phone { justify-items: center; }
.shot-phone .shot-frame { width: min(100%, 300px); border-radius: 30px; border: 8px solid var(--m-frame); }
.shot-phone figcaption { width: min(100%, 300px); }
.shots-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); align-items: start; }
.shots-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); align-items: start; }
.shots-main { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: center; }
.fgroup .shot { margin-bottom: var(--s5); }
.fgroup .shots-2 { margin-bottom: var(--s5); }
@media (max-width: 899px) { .shots-row { grid-template-columns: minmax(0, 1fr); } .shots-main { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 639px) { .shots-2 { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Video player ---------- */
.vplayer { margin: 0; display: grid; gap: 12px; min-width: 0; }
.vp-frame { border-radius: var(--r-md); overflow: hidden; background: #0A1B33; border: 1px solid var(--line-2); box-shadow: var(--shadow-2); aspect-ratio: 16 / 9; }
.vp-frame video { display: block; width: 100%; height: 100%; object-fit: contain; background: #0A1B33; }
.vplayer figcaption { display: grid; gap: 2px; }
.vplayer figcaption b { font-size: 1.05rem; font-weight: 750; }
.vplayer figcaption span { font-size: var(--fs-sm); color: var(--muted); }
.vp-ch { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; }
.vp-ch button {
  display: inline-flex; gap: 6px; align-items: baseline; padding: 6px 10px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--line-2); background: var(--surface); font-size: .82rem; font-weight: 650; color: var(--ink-2);
}
.vp-ch button span { color: var(--accent-text); font-variant-numeric: tabular-nums; font-weight: 750; }
.vp-ch button:hover { border-color: var(--primary); color: var(--primary); }
.watch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.watch .section-head { margin-bottom: 0; }
@media (max-width: 899px) { .watch { grid-template-columns: minmax(0, 1fr); } }
.vids-help { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 28px; }
@media (max-width: 759px) { .vids-help { grid-template-columns: minmax(0, 1fr); } }
.vid-lib { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 40px 28px; }

/* ---------- Help centre ---------- */
.hgroup-intro { color: var(--muted); font-size: var(--fs-sm); margin: 8px 0 4px; }
.hlist { list-style: none; display: grid; }
.hlist li { border-bottom: 1px solid var(--line); }
.hlist a { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding: 12px 2px; text-decoration: none; color: var(--ink); font-weight: 650; }
.hlist a:hover { color: var(--primary); }
.hlist a .i { width: 16px; height: 16px; margin-top: 4px; color: var(--muted); transition: transform .16s var(--ease); }
.hlist a:hover .i { transform: translateX(3px); color: var(--accent-text); }
.hgroup-fix .hlist { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
.hgroup-fix .hlist li { border-bottom-color: var(--line-2); }
@media (max-width: 759px) { .hgroup-fix .hlist { grid-template-columns: minmax(0, 1fr); } }
a.chip-btn { text-decoration: none; color: var(--ink-2); }
.page-head-art { padding-bottom: clamp(20px, 3vw, 32px); }
.page-head-art h1 { font-size: clamp(1.7rem, 1.3rem + 1.6vw, 2.5rem); max-width: 30ch; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: var(--fs-sm); font-weight: 650; color: var(--muted); }
.crumbs a { color: var(--ink-2); text-decoration: none; }
.crumbs a:hover { color: var(--primary); text-decoration: underline; }
.art-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 300px); gap: clamp(28px, 5vw, 72px); align-items: start; }
@media (max-width: 899px) { .art-layout { grid-template-columns: minmax(0, 1fr); } }
.prose { max-width: 72ch; display: grid; gap: 16px; font-size: 1.04rem; }
.prose ul, .prose ol { padding-left: 1.3em; display: grid; gap: 8px; }
.prose li::marker { color: var(--accent-text); font-weight: 750; }
.prose .note { margin-top: 4px; }
.prose .shot, .prose .explain { margin-top: 12px; }
.prose .explain { grid-template-columns: minmax(0, 1fr); }
.art-video { margin-top: 12px; }
.art-pn { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.art-pn a { display: grid; gap: 2px; text-decoration: none; color: var(--ink); font-weight: 700; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--r-md); background: var(--surface); }
.art-pn a:hover { border-color: var(--primary); }
.art-pn a.next { text-align: right; }
.art-pn small { color: var(--muted); font-weight: 650; font-size: var(--fs-xs); }
@media (max-width: 559px) { .art-pn { grid-template-columns: minmax(0, 1fr); } .art-pn a.next { text-align: left; } }
.art-side { display: grid; gap: 28px; position: sticky; top: 96px; }
.art-side h2 { font-size: 1rem; margin-bottom: 4px; }
.hlist-sm a { font-size: .95rem; padding: 10px 2px; }
.stuck { padding: 18px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 10px; }
.stuck p { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 899px) { .art-side { position: static; } }

/* ---------- Forms ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-msg a { color: inherit; font-weight: 750; }
.pform.sent .field, .pform.sent .radios, .pform.sent .two, .pform.sent button[type="submit"] { display: none; }
.pform h3 { font-size: 1.35rem; }
dialog.dlg { position: fixed; }
.dlg-close { position: absolute; top: 14px; right: 14px; z-index: 1; background: var(--surface); }
.dlg .pform h3 { padding-right: 48px; }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-side { display: grid; gap: 28px; }
.contact-side h2 { font-size: 1.2rem; }
.contact-side .contact-item { padding: 20px; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); display: grid; gap: 10px; }
.next-steps { list-style: none; counter-reset: ns; display: grid; gap: 14px; }
.next-steps li { counter-increment: ns; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; }
.next-steps li::before { content: counter(ns); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--primary-soft); color: var(--primary); font-weight: 800; font-size: .9rem; }
.next-steps b { display: block; }
.next-steps span { color: var(--ink-2); font-size: .95rem; }
@media (max-width: 899px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- For CAs ---------- */
.access { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--surface); overflow: hidden; }
.access > div { padding: clamp(18px, 2.5vw, 28px); display: grid; gap: 8px; align-content: start; }
.access > div + div { border-left: 1px solid var(--line); }
.access .n { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--on-primary); font-weight: 800; font-size: .9rem; }
.access p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 859px) { .access { grid-template-columns: minmax(0, 1fr); } .access > div + div { border-left: 0; border-top: 1px solid var(--line); } }
.not-list { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.not-list li { display: flex; gap: 10px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); border: 1px dashed var(--line-2); color: var(--ink-2); }
.not-list .i { color: var(--muted); margin-top: 2px; }
@media (max-width: 859px) { .not-list { grid-template-columns: minmax(0, 1fr); } }

/* ---------- 404 ---------- */
.lost { min-height: 50vh; display: grid; align-content: center; gap: 18px; }
.lost .art-links { max-width: 560px; }

/* ---------- Misc ---------- */
.band-head-row { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 36px); }
.band-head-row .section-head { margin-bottom: 0; }
@media print { .site-header, .site-footer, dialog, .vp-ch { display: none !important; } body { background: #fff; } }

/* mobile menu: keep the demo button a real button */
.site-nav .btn-primary, .site-nav .btn-primary:hover { color: var(--on-primary); background: var(--primary); border-bottom: 0; }
.group-nav a, .jump a { text-decoration: none; }
.form-msg.err { background: var(--warn-soft); color: var(--warn); }

/* =====================================================================
   chartford.in design system, applied to the app website.
   Values copied from the live chartford.in stylesheet (8 Nov 2026):
   same tokens, Manrope, four-pill logo with equalizer motion, translucent
   68px header, 11px buttons, pulse-dot tag, drifting brand orbs, blur-up
   hero stagger, scroll reveals and the navy-to-orange scroll bar.
   Owner rule (chartford.in): brand motion stays ON even when the OS asks
   for reduced motion. Content is always visible without JavaScript.
   ===================================================================== */
:root {
  --navy: #143A5C; --navy-d: #0f2d47; --slate: #5A6a7d; --paper: #FBFCFE;
  --o: #E97E27; --pk: #E5197E; --gn: #5CAD52; --bl: #2196CC;
  --eo: cubic-bezier(0.23, 1, 0.32, 1);
  --eio: cubic-bezier(0.77, 0, 0.175, 1);
  --r: 14px;

  --brand-primary: var(--navy);
  --brand-accent: var(--o);
  --bg: var(--paper);
  --bg-band: #F3F6FA;
  --surface: #FFFFFF;
  --surface-2: #F3F6FA;
  --ink: #16233A;
  --ink-2: #3A4A60;
  --muted: #5A6A7D;
  --line: #E4E9F0;
  --line-2: #D6DEE8;
  --primary: var(--navy);
  --primary-hover: var(--navy-d);
  --primary-soft: rgba(20, 58, 92, .06);
  --header-bg: rgba(251, 252, 254, .82);
  --navy-bg: var(--navy);
  --ease: var(--eo);
  --r-sm: 11px; --r-md: 14px; --r-lg: 22px;
  --shadow-1: 0 16px 34px -14px rgba(20, 58, 92, .3);
  --shadow-2: 0 30px 70px -30px rgba(20, 58, 92, .35);
}

body { background: var(--paper); line-height: 1.55; overflow-x: hidden; }
h1, h2, h3 { letter-spacing: -0.025em; font-weight: 800; }
h1, h2 { line-height: 1.08; }
.wrap { max-width: 1228px; }
.band { padding-block: clamp(64px, 8vw, 88px); }
.section-head { max-width: 36em; margin-bottom: 44px; }
.section-head h2, .closing-copy h2 { font-size: clamp(27px, 3.4vw, 40px); }
.section-head p, .closing-copy p { color: var(--slate); font-size: 16.5px; }
.lede { color: var(--slate); font-size: clamp(16px, 1.4vw, 18.5px); }
.page-head { position: relative; overflow: hidden; border-bottom: 1px solid var(--line); background: var(--paper); }
.page-head h1 { font-size: clamp(32px, 4.2vw, 52px); }
.page-head p { color: var(--slate); }
.page-head .wrap { position: relative; z-index: 1; }

/* ---------- Logo: the four pills, drawn in CSS like chartford.in ---------- */
.cf { display: inline-flex; flex-direction: column; gap: 3px; line-height: 0; flex: 0 0 auto; }
.cf i { display: block; height: 6px; border-radius: 3px; transform-origin: left center; }
.cf .p1 { width: 22px; background: var(--o); } .cf .p2 { width: 32px; background: var(--pk); }
.cf .p3 { width: 28px; background: var(--gn); } .cf .p4 { width: 16px; background: var(--bl); }
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex: none; }
.brand .n { font-weight: 800; font-size: 18px; letter-spacing: -0.02em; display: block; line-height: 1.1; }
.brand .s { font-size: 9px; font-weight: 700; letter-spacing: 2.5px; text-transform: uppercase; color: var(--muted); display: block; margin-top: 1px; line-height: 1.2; }
.brand .app { margin-left: 2px; padding: 3px 8px; border-radius: 999px; background: rgba(20, 58, 92, .06); color: var(--navy); font-size: 11px; font-weight: 800; letter-spacing: .02em; }
.site-header .brand .cf { transition: transform .2s var(--eo); }
.site-header .brand:hover .cf { transform: translateY(-1px); }
.site-header .brand .cf i { animation: cfDraw .6s var(--eo) backwards, eqSoft 2.6s var(--eio) .6s infinite; }
.site-header .brand .cf .p2 { animation-delay: .08s, .68s; }
.site-header .brand .cf .p3 { animation-delay: .16s, .76s; }
.site-header .brand .cf .p4 { animation-delay: .24s, .84s; }
@keyframes cfDraw { from { transform: scaleX(.12); opacity: 0; } to { transform: scaleX(1); opacity: 1; } }
@keyframes eqSoft { 0%, 100% { transform: scaleX(.8); } 50% { transform: scaleX(1); } }
@keyframes eq { 0%, 100% { transform: scaleX(.62); } 50% { transform: scaleX(1); } }
@media (hover: hover) { .site-header .brand:hover .cf i { animation: eq 1.1s var(--eio) infinite; } }

/* ---------- Header ---------- */
.site-header { background: var(--header-bg); -webkit-backdrop-filter: saturate(1.4) blur(12px); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid #EEF1F6; }
.header-row { min-height: 68px; }
.site-nav { gap: 4px; margin-left: 28px; }
.site-nav a { padding: 8px 12px; border-radius: 9px; font-size: 14px; font-weight: 600; color: var(--slate); transition: color .18s var(--eo), background .18s var(--eo); }
.site-nav a:hover { color: var(--navy); background: rgba(20, 58, 92, .06); }
.site-nav a[aria-current="page"] { color: var(--navy); background: rgba(20, 58, 92, .06); }
.site-nav a[aria-current="page"]::after { display: none; }
.menu-btn { border-radius: 11px !important; border: 1.5px solid var(--line) !important; background: #fff !important; }
@media (max-width: 1039px) {
  .site-header .site-nav { background: #fff; box-shadow: 0 24px 40px -24px rgba(20, 58, 92, .35); }
  .site-nav a { border-radius: 0; }
  .site-nav a[aria-current="page"] { background: transparent; }
}

/* ---------- Buttons ---------- */
.btn { border-radius: 11px; transition: transform .12s var(--eo), filter .18s var(--eo), background .2s var(--eo), color .2s var(--eo), border-color .2s var(--eo); }
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-d); }
.btn-secondary { background: transparent; color: var(--navy); border: 1.5px solid var(--line); }
.btn-secondary:hover { border-color: var(--navy); background: #fff; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 16px; }
.header-actions .btn-sm { min-height: 40px; padding: 0 17px; font-size: 14px; }
.text-link { color: var(--navy); }

/* ---------- Tag with the pulsing dot (one per page, in the hero) ---------- */
.tag-live { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--navy); background: rgba(20, 58, 92, .06); padding: 6px 13px; border-radius: 999px; width: fit-content; }
.tag-live .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gn); animation: pulse 2.4s var(--eo) infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(92, 173, 82, .45); } 70% { box-shadow: 0 0 0 8px rgba(92, 173, 82, 0); } 100% { box-shadow: 0 0 0 0 rgba(92, 173, 82, 0); } }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 7vw, 84px) clamp(48px, 6vw, 72px); }
.hero > .wrap { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(38px, 5vw, 62px); line-height: 1.05; letter-spacing: -0.03em; }
.hero h1 em { font-style: normal; color: var(--navy); }
.tick { text-decoration-color: var(--o); }
.hero-facts .i { color: var(--gn); }

/* drifting brand orbs, as on chartford.in */
.orbs { position: absolute; inset: -10%; z-index: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; mix-blend-mode: multiply; opacity: .42; filter: blur(1px); will-change: transform; }
.orb.o1 { width: 50vw; max-width: 660px; aspect-ratio: 1; background: radial-gradient(circle at 36% 34%, #F4A24A, #E97E27); top: -12%; right: 2%; animation: orbA 24s ease-in-out infinite; }
.orb.o2 { width: 46vw; max-width: 600px; aspect-ratio: 1; background: radial-gradient(circle at 40% 40%, #ef4a97, #E5197E); top: 4%; right: 22%; animation: orbB 28s ease-in-out infinite; }
.orb.o3 { width: 44vw; max-width: 580px; aspect-ratio: 1; background: radial-gradient(circle at 44% 44%, #7ac970, #5CAD52); top: -2%; right: 34%; animation: orbC 26s ease-in-out infinite; }
.orb.o4 { width: 38vw; max-width: 520px; aspect-ratio: 1; background: radial-gradient(circle at 42% 42%, #4bb4e0, #2196CC); top: 22%; right: -4%; animation: orbA 31s ease-in-out infinite; }
.orbs::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--paper) 30%, rgba(251, 252, 254, .55) 62%, rgba(251, 252, 254, .1)); }
@keyframes orbA { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-24px, 20px) scale(1.06); } }
@keyframes orbB { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(26px, -18px) scale(1.05); } }
@keyframes orbC { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(-18px, -22px) scale(1.07); } }
.orbs-soft .orb { opacity: .16; }
.orbs-soft::after { background: linear-gradient(90deg, var(--paper) 40%, rgba(251, 252, 254, .7)); }
@media (max-width: 899px) { .orbs::after { background: linear-gradient(180deg, rgba(251, 252, 254, .2), var(--paper) 70%); } }
@media (max-width: 640px) { .orb { opacity: .3; } .orb.o1 { max-width: 360px; } .orb.o2 { max-width: 330px; } .orb.o3 { max-width: 320px; } .orb.o4 { max-width: 280px; } }

/* floating chips on the hero screens (chartford.in's .chip) */
.hero-visual { isolation: isolate; }
.chip { position: absolute; z-index: 2; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 11px 14px; box-shadow: 0 16px 34px -14px rgba(20, 58, 92, .3); display: flex; align-items: center; gap: 11px; animation: float 5s var(--eio) infinite; }
.chip .cal { width: 38px; height: 38px; border-radius: 10px; background: rgba(233, 126, 39, .12); color: var(--o); display: grid; place-items: center; flex: 0 0 auto; }
.chip .cal.g { background: rgba(33, 150, 204, .12); color: var(--bl); }
.chip .cal.v { background: rgba(92, 173, 82, .14); color: #2E7D32; }
.chip .cal .i { width: 19px; height: 19px; }
.chip .t b { font-size: 13.5px; display: block; line-height: 1.25; }
.chip .t span { font-size: 12px; color: var(--slate); line-height: 1.3; display: block; }
.chip-a { left: -18px; top: 46%; }
.chip-b { right: 26%; top: -18px; animation-delay: 1.2s; }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@media (max-width: 959px) { .chip-a { left: 8px; top: auto; bottom: 36%; } .chip-b { right: 8px; top: -14px; } }
@media (max-width: 519px) { .chip { display: none; } }

/* ---------- Surfaces ---------- */
.band-surface { background: #fff; border-block: 1px solid #EEF1F6; }
.band-alt { background: var(--bg-band); }
.mwin, .shot-frame, .vp-frame, .pform-panel { border-radius: var(--r-lg); }
.pform-panel { box-shadow: var(--shadow-2); border-color: var(--line); }
.feat-mock .mwin, .hv-desk .mwin { box-shadow: 0 34px 74px -30px rgba(11, 31, 58, .45); }
.band-navy { background: linear-gradient(180deg, #173e63, var(--navy-d)); }
.sec-facts .i { color: var(--o); }

/* ---------- Footer: navy, like chartford.in ---------- */
.site-footer { background: var(--navy-d); color: #B9C7D8; border-top: 0; padding-block: 56px 34px; }
.site-footer .brand { color: #fff; }
.site-footer .brand .s { color: #8298b0; }
.site-footer .brand .app { background: rgba(255, 255, 255, .1); color: #fff; }
.foot-grid h2 { color: #fff; font-size: .95rem; }
.foot-grid a { color: #B9C7D8; font-weight: 600; transition: color .18s var(--eo); }
.foot-grid a:hover { color: #fff; text-decoration: none; }
.foot-about p { color: #B9C7D8; }
.foot-fine { border-top-color: rgba(255, 255, 255, .10); color: #8298b0; font-size: 12.5px; margin-top: 34px; padding-top: 22px; }

/* ---------- Motion: scroll bar, hero stagger, reveals ---------- */
.scroll-prog { position: fixed; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--o)); transform: scaleX(0); transform-origin: left; z-index: 200; will-change: transform; pointer-events: none; }
.io-ready .rv { opacity: 0; transform: translateY(20px); }
.io-ready .rv.in { opacity: 1; transform: none; transition: opacity .7s var(--eo), transform .7s var(--eo); }
.stg-in { animation: stgIn .6s var(--eo) both; }
@keyframes stgIn { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
.jobs li, .flist li, .hlist a, .art-links a { transition: background .18s var(--eo), color .18s var(--eo); }
.shot-frame { transition: transform .35s var(--eo), box-shadow .35s var(--eo); }
.shot-frame:hover { transform: translateY(-4px); box-shadow: 0 40px 80px -34px rgba(20, 58, 92, .45); }

/* The prototype's reduced-motion block switches every animation off; chartford.in
   keeps brand motion on for everyone (owner's rule), so restore it here. */
@media (prefers-reduced-motion: reduce) {
  .site-header .brand .cf i { animation: cfDraw .6s var(--eo) backwards, eqSoft 2.6s var(--eio) .6s infinite !important; }
  .orb.o1 { animation: orbA 24s ease-in-out infinite !important; }
  .orb.o2 { animation: orbB 28s ease-in-out infinite !important; }
  .orb.o3 { animation: orbC 26s ease-in-out infinite !important; }
  .orb.o4 { animation: orbA 31s ease-in-out infinite !important; }
  .chip { animation: float 5s var(--eio) infinite !important; }
  .chip-b { animation-delay: 1.2s !important; }
  .tag-live .dot { animation: pulse 2.4s var(--eo) infinite !important; }
  .stg-in { animation: stgIn .6s var(--eo) both !important; }
  .io-ready .rv.in { transition: opacity .7s var(--eo), transform .7s var(--eo) !important; }
}
