/* Lithaya public website.
   Layout: a single 1160px column of bands; product screenshots carry the visuals,
   type does the rest. Colours follow the Lithaya app (navy ink, clinical blue). */
[hidden] { display: none !important; }
:root {
  --bg: #f5f7fb;          /* page ground, faint blue cast */
  --surface: #ffffff;     /* cards, header */
  --sunk: #eaf0f8;        /* alternate band */
  --ink: #12213a;         /* headings + body */
  --ink-2: #3c4c66;       /* secondary text */
  --muted: #66758d;       /* captions */
  --line: #d9e1ee;
  --line-2: #c3cfe2;
  --navy: #0f2a56;        /* footer, strong bands */
  --navy-ink: #e9eef8;
  --navy-muted: #a9b8d3;
  --accent: #2456b3;      /* links, primary buttons */
  --accent-hover: #1b4592; /* a blue button under the pointer: slightly darker, the text stays as it is */
  --accent-ink: #ffffff;
  --accent-soft: #e6eefb;
  --ok: #157a4f;  --ok-soft: #e3f4ec;
  --warn: #93560a; --warn-soft: #fff1d6;
  --crit: #b42318; --crit-soft: #fde9e7;

  --f-display: "Source Serif 4", "Source Serif Pro", Georgia, "Times New Roman", serif;
  --f-body: "IBM Plex Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  --f-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 72px; --s-9: 104px;
  --r-s: 6px; --r-m: 10px; --r-l: 14px;
  --shadow: 0 1px 2px rgba(15, 42, 86, .06), 0 10px 30px -12px rgba(15, 42, 86, .22);
  --wrap: 1160px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0c1421; --surface: #121c2d; --sunk: #0f1828;
    --ink: #e6ecf6; --ink-2: #b9c5d8; --muted: #8c9bb3;
    --line: #223149; --line-2: #2d3f5c;
    --navy: #08111f; --navy-ink: #e6ecf6; --navy-muted: #8c9bb3;
    --accent: #7ea6f2; --accent-hover: #6690e0; --accent-ink: #0a1426; --accent-soft: #17284a;
    --ok: #5cc995; --ok-soft: #10301f; --warn: #f0b45a; --warn-soft: #33250c; --crit: #f08479; --crit-soft: #3a1714;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -12px rgba(0, 0, 0, .6);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0c1421; --surface: #121c2d; --sunk: #0f1828;
  --ink: #e6ecf6; --ink-2: #b9c5d8; --muted: #8c9bb3;
  --line: #223149; --line-2: #2d3f5c;
  --navy: #08111f; --navy-ink: #e6ecf6; --navy-muted: #8c9bb3;
  --accent: #7ea6f2; --accent-hover: #6690e0; --accent-ink: #0a1426; --accent-soft: #17284a;
  --ok: #5cc995; --ok-soft: #10301f; --warn: #f0b45a; --warn-soft: #33250c; --crit: #f08479; --crit-soft: #3a1714;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 12px 30px -12px rgba(0, 0, 0, .6);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font: 400 17px/1.6 var(--f-body);
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--surface); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--f-display); color: var(--ink); text-wrap: balance; margin: 0; letter-spacing: -.01em; }
h1 { font-size: clamp(2.25rem, 1.4rem + 3.2vw, 3.6rem); line-height: 1.08; font-weight: 600; }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.6vw, 2.45rem); line-height: 1.15; font-weight: 600; }
h3 { font-size: 1.28rem; line-height: 1.3; font-weight: 600; }
p { margin: 0; }
.lead { font-size: 1.16rem; color: var(--ink-2); max-width: 62ch; }
.muted { color: var(--muted); }
.eyebrow { font: 600 .78rem/1.2 var(--f-mono); letter-spacing: .09em; text-transform: uppercase; color: var(--accent); }
.mono { font-family: var(--f-mono); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--surface); padding: 8px 12px; z-index: 100; }
.skip:focus { left: max(16px, env(safe-area-inset-left, 0px)); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.band { padding-block: var(--s-9); }
.band.tight { padding-block: var(--s-8); }
.band.short { padding-block: var(--s-7); }   /* the closing photo bands of Guided Review and Academy */
.band.sunk { background: var(--sunk); border-block: 1px solid var(--line); }
.band.navy { background: var(--navy); color: var(--navy-ink); }
.band.navy h2, .band.navy h3 { color: var(--navy-ink); }
.band.navy .lead, .band.navy .muted { color: var(--navy-muted); }
.band.navy .ask { color: var(--navy-ink); }
.stack { display: grid; gap: var(--s-4); }
.stack-l { display: grid; gap: var(--s-6); }
.section-head { display: grid; gap: var(--s-3); max-width: 760px; margin-bottom: var(--s-7); }

/* Header */
.site-head { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--surface) 92%, transparent); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.site-head .wrap { display: flex; align-items: center; gap: var(--s-5); min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-weight: 600; font-size: 1.08rem; flex: none; }
.brand-mark { width: 34px; height: 34px; border-radius: 9px; background: var(--navy); color: #fff; display: grid; place-items: center; font: 700 .82rem/1 var(--f-body); letter-spacing: .02em; }
:root[data-theme="dark"] .brand-mark { background: var(--accent); color: var(--accent-ink); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .brand-mark { background: var(--accent); color: var(--accent-ink); } }
.nav { display: flex; align-items: center; gap: var(--s-1); margin-left: auto; }
.nav a { color: var(--ink-2); text-decoration: none; font-size: .95rem; font-weight: 500; padding: 8px 7px; border-radius: var(--r-s); white-space: nowrap; }
.nav a:hover { color: var(--ink); background: var(--sunk); }
.nav a[aria-current="page"] { color: var(--accent); background: var(--accent-soft); }
.head-actions { display: flex; align-items: center; gap: var(--s-2); flex: none; white-space: nowrap; }
.menu-btn { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); color: var(--ink); border-radius: var(--r-s); padding: 8px 12px; font: 500 .95rem var(--f-body); cursor: pointer; }
@media (max-width: 1220px) {
  .menu-btn { display: inline-flex; }
  .site-head .wrap { flex-wrap: wrap; }
  .nav, .head-actions { display: none; width: 100%; }
  .site-head.open .nav { display: grid; margin: 0; padding-bottom: var(--s-2); }
  .site-head.open .head-actions { display: flex; padding-bottom: var(--s-4); }
  .nav a { padding: 12px 10px; font-size: 1.02rem; }
}

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 10px 18px; border-radius: var(--r-s); font: 600 .97rem/1.2 var(--f-body); text-decoration: none; border: 1px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-quiet { color: var(--ink-2); padding-inline: 10px; }
.btn-quiet:hover { color: var(--accent); }
.band.navy .btn-ghost { background: transparent; color: var(--navy-ink); border-color: rgba(233, 238, 248, .35); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }

/* Hero: the copy beside a silent preview of the Clinical Workspace, faint contour lines behind */
.hero { position: relative; overflow: hidden; padding-block: var(--s-8) var(--s-8); }
.hero > .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: var(--s-7); align-items: center; }
.hero-copy { display: grid; gap: var(--s-5); }
.hero-note { font: 500 .8rem/1.5 var(--f-mono); color: var(--muted); letter-spacing: .02em; }
.contours { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; pointer-events: none; }
.contours path { fill: none; stroke: var(--line-2); stroke-width: 1.2; vector-effect: non-scaling-stroke; opacity: .7; }
/* the silent preview beside the headline (package 68): a link that opens the full video (site.js, data-watch) */
.hero-clip { margin: 0; display: grid; gap: 10px; }
.hero-clip-open { position: relative; display: block; border-radius: 18px; overflow: hidden; background: var(--surface); box-shadow: 0 1px 2px rgba(15, 42, 86, .06), 0 18px 44px -16px rgba(15, 42, 86, .35); }
.hero-clip-open video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; }
.hero-clip-badge { position: absolute; right: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px;
  background: rgba(15, 42, 86, .9); color: #fff; font: 600 .88rem/1 var(--f-body); }
.hero-clip-badge span { font-size: .8em; }
.hero-clip-open:hover .hero-clip-badge { background: var(--accent-hover); }
.hero-clip-open:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.hero-clip figcaption { font: 500 .75rem/1.4 var(--f-mono); color: var(--muted); text-align: right; }
/* the full video in a pop-up on the home page */
dialog.watch { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 32px); padding: 16px; border: 0; border-radius: var(--r-l); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
dialog.watch::backdrop { background: rgba(9, 20, 40, .78); }
.watch-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.watch-head .eyebrow { margin: 0; }
dialog.watch video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: var(--r-m); background: #0f2a56; }
.watch-note { margin: 10px 0 0; font-size: .85rem; color: var(--muted); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } }

/* Photos (img/photos/: textures until the real photos arrive, see website/PHOTOS.md) */
.photo { position: relative; margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-l); overflow: hidden; background: var(--sunk); }
.photo img, .photo video { display: block; width: 100%; height: 100%; object-fit: cover; }
.page-intro.with-photo .intro-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: center; }
.intro-copy { display: grid; gap: var(--s-4); }
@media (max-width: 900px) { .page-intro.with-photo .intro-grid { grid-template-columns: 1fr; } .page-intro.with-photo .photo { aspect-ratio: 16 / 9; } }
/* A photo beside a section heading (cards below), beside a stack of cards, or behind a navy band */
.head-photo { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s-7); align-items: center; margin-bottom: var(--s-7); }
.head-photo.wide { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }   /* the picture larger than the text (the Library search clip) */
.head-photo .section-head { margin-bottom: 0; }
.cards-photo { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s-7); align-items: center; }
.band.with-photo { position: relative; overflow: hidden; isolation: isolate; }
.band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band.with-photo::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(15, 42, 86, .95) 30%, rgba(15, 42, 86, .72)); }
@media (max-width: 900px) { .head-photo, .head-photo.wide, .cards-photo { grid-template-columns: 1fr; gap: var(--s-5); } .head-photo .photo, .cards-photo .photo { aspect-ratio: 16 / 9; } .head-photo.wide .photo { aspect-ratio: 4 / 3; } }

/* The six worries: alternating photo rows */
.worries { display: grid; gap: var(--s-8); }
.worry { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s-7); align-items: center; }
.worry:nth-child(even) { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.worry:nth-child(even) .photo { order: 2; }
.worry .photo { aspect-ratio: 16 / 11; }
.worry-copy { display: grid; gap: var(--s-3); }
.worry-copy h3 { font-size: clamp(1.35rem, 1.1rem + .8vw, 1.75rem); line-height: 1.25; }
.worry-copy p { color: var(--ink-2); max-width: 54ch; }
.tags { list-style: none; margin: var(--s-2) 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s-2); }
.tags li { font: 500 .8rem var(--f-body); padding: 4px 11px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink-2); }
@media (max-width: 860px) { .worries { gap: var(--s-7); } .worry, .worry:nth-child(even) { grid-template-columns: 1fr; gap: var(--s-4); } .worry:nth-child(even) .photo { order: 0; } .worry .photo { aspect-ratio: 16 / 9; } }

/* Asks · Weighs · Drafts · Remembers: tabs that move on by themselves while the section is in view */
.verbs { display: grid; gap: var(--s-6); }
.verb-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.verb-tabs button { position: relative; display: grid; gap: 4px; text-align: left; padding: var(--s-4) 0 var(--s-3); background: none; border: 0; border-top: 2px solid var(--line-2); cursor: pointer; color: var(--muted); font: inherit; }
.verb-tabs b { font: 600 clamp(1.3rem, 1rem + 1vw, 1.75rem)/1.1 var(--f-display); color: var(--muted); }
.verb-tabs span { font-size: .92rem; line-height: 1.4; }
.verb-tabs i { position: absolute; left: 0; top: -2px; height: 2px; width: 0; background: var(--accent); }
.verb-tabs [aria-selected="true"] b { color: var(--ink); }
.verb-tabs [aria-selected="true"] span { color: var(--ink-2); }
.verb-tabs [aria-selected="true"] i { width: 100%; }
.verb-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 6fr); gap: var(--s-7); align-items: center; animation: fadein .5s ease both; }
.verb-panel p { color: var(--ink-2); }
/* Things that move on by themselves (site.js, rotate): the fill line of the item shown runs for --rotate-time */
[data-rotate] { --rotate-time: 7s; }
[data-rotate].auto [aria-selected="true"] > i, [data-rotate].auto .now > i { animation: rotatefill var(--rotate-time) linear forwards; }
[data-rotate].auto.paused [aria-selected="true"] > i, [data-rotate].auto.paused .now > i { animation-play-state: paused; }
@keyframes rotatefill { from { width: 0; } to { width: 100%; } }
@media (max-width: 900px) { .verb-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); } .verb-panel { grid-template-columns: 1fr; gap: var(--s-5); } }

/* Your day: role tabs over a slowly drifting textured band */
.drift { position: relative; overflow: hidden; isolation: isolate;
  background: radial-gradient(60% 80% at 15% 20%, color-mix(in srgb, var(--accent) 14%, transparent), transparent 70%),
              radial-gradient(50% 70% at 85% 80%, color-mix(in srgb, #36a3a0 16%, transparent), transparent 70%), var(--sunk);
  background-size: 140% 140%, 140% 140%, auto; animation: drift 38s ease-in-out infinite alternate; }
.drift::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .35; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .06 0 0 0 0 .16 0 0 0 0 .34 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.role-tabs { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; margin-bottom: var(--s-6); border-radius: 999px; background: var(--surface); border: 1px solid var(--line); }
.role-tabs button { border: 0; background: none; padding: 9px 18px; border-radius: 999px; font: 600 .95rem var(--f-body); color: var(--ink-2); cursor: pointer; }
.role-tabs button:hover { color: var(--accent); }
.role-tabs [aria-selected="true"], .role-tabs [aria-selected="true"]:hover { background: var(--accent); color: var(--accent-ink); }
.role-tabs [aria-selected="true"]:hover { background: var(--accent-hover); }
.role-tabs button { position: relative; overflow: hidden; }
.role-tabs i { position: absolute; left: 0; bottom: 0; height: 3px; width: 0; background: rgba(255, 255, 255, .55); }
.role-panel { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: var(--s-6); align-items: stretch; animation: fadein .45s ease both; }
.role-panel .photo { aspect-ratio: auto; min-height: 320px; }
.day { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-4); }
.day li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: var(--s-5); display: grid; gap: var(--s-2); align-content: start; }
.day h3 { font-size: 1.15rem; }
.day p { color: var(--ink-2); font-size: .97rem; }
.when { font: 600 .72rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 900px) { .role-panel { grid-template-columns: 1fr; } .role-panel .photo { aspect-ratio: 16 / 9; min-height: 0; } }
@media (max-width: 560px) { .day { grid-template-columns: 1fr; } .role-tabs { display: flex; border-radius: var(--r-m); } .role-tabs button { flex: 1 1 40%; border-radius: var(--r-s); } }

/* Navy band: what Lithaya does and leaves to you, with facts instead of badges */
.band.navy .card { background: rgba(255, 255, 255, .05); border-color: rgba(233, 238, 248, .14); }
.band.navy .ticks li { color: var(--navy-ink); }
.band.navy .ticks li::before { border-color: #8fb3f5; }
.band.navy .eyebrow { color: #8fb3f5; }
.band.navy a:not(.btn) { color: #b9d0fa; }
.facts { list-style: none; margin: var(--s-7) 0 0; padding: var(--s-6) 0 0; border-top: 1px solid rgba(233, 238, 248, .16); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); }
.facts li { display: grid; gap: var(--s-2); align-content: start; }
.facts b { font: 600 clamp(2.4rem, 1.8rem + 2vw, 3.4rem)/1 var(--f-display); color: var(--navy-ink); }
.facts span { color: var(--navy-muted); font-size: .95rem; }
.trust-line { margin-top: var(--s-6); color: var(--navy-muted); max-width: 70ch; }
@media (max-width: 860px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Ending: two picture tiles */
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
.tile { position: relative; display: grid; min-height: 240px; border-radius: var(--r-l); overflow: hidden; text-decoration: none; color: #fff; isolation: isolate; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .8s ease; }
.tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 24, 50, .05) 20%, rgba(10, 24, 50, .78)); }
.tile:hover img { transform: scale(1.04); }
.tile-copy { align-self: end; display: grid; gap: var(--s-2); padding: var(--s-5); }
.tile-copy strong { font: 600 clamp(1.3rem, 1.1rem + .8vw, 1.6rem)/1.15 var(--f-display); }
.tile-copy > span { color: rgba(255, 255, 255, .86); max-width: 40ch; }
.tile-kicker { font: 600 .74rem var(--f-mono) !important; letter-spacing: .08em; text-transform: uppercase; }
.tile-go { margin-top: var(--s-2); font-weight: 600; color: #fff !important; }
.tile:focus-visible { outline-offset: 4px; }
@media (max-width: 760px) { .tiles { grid-template-columns: 1fr; } .tile { min-height: 220px; } }

/* Motion: sections rise into view as you scroll (only when site.js runs and motion is allowed) */
.motion .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.motion .reveal.in { opacity: 1; transform: none; }
@keyframes fadein { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { background-position: 0% 0%, 100% 100%, 0 0; } to { background-position: 100% 60%, 0% 30%, 0 0; } }

/* Screenshot frame */
.shot { margin: 0; border-radius: var(--r-l); overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow); }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--sunk); }
.shot-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.shot-bar span { margin-left: 8px; font: 500 .74rem var(--f-mono); color: var(--muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shot figcaption { padding: 10px 14px; font-size: .86rem; color: var(--muted); border-top: 1px solid var(--line); }
.phone { margin: 0 auto; max-width: 300px; border-radius: 28px; padding: 10px; background: var(--navy); box-shadow: var(--shadow); }
.phone img { border-radius: 20px; }

/* Steps (a real sequence) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); counter-reset: step; }
.steps li { counter-increment: step; display: grid; gap: var(--s-2); align-content: start; padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); }
.steps li::before { content: "Step " counter(step); font: 600 .74rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.steps p { color: var(--ink-2); font-size: .97rem; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* Split feature rows */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); gap: var(--s-7); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; align-content: start; }
.ticks li { position: relative; padding-left: 28px; color: var(--ink-2); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .5em; width: 12px; height: 7px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
/* Lines brought in once in view (site.js, data-stagger), hidden only once the script has armed the list: one after another,
   sliding up (data-stagger, the Workspace follow-up ticks), or all together, wiped in from left to right (data-stagger="wipe",
   the Guided Review cards) */
[data-stagger=""].armed li { opacity: 0; transform: translateY(12px); }
[data-stagger=""].armed li.in { opacity: 1; transform: none; transition: opacity .6s ease, transform .6s ease; }
[data-stagger="wipe"].armed li { clip-path: inset(0 100% 0 0); }
[data-stagger="wipe"].armed li.in { clip-path: inset(0); transition: clip-path 1s cubic-bezier(.3, .1, .3, 1); }
/* A plain list, one item per line (the library cards); .cols: blue-dot points in two columns, top to bottom, --rows per
   column (set on the list), one column on phones (the two built-in library cards) */
.lines { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; color: var(--ink-2); }
.lines.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-rows: repeat(var(--rows), auto); grid-auto-flow: column; column-gap: var(--s-6); list-style: disc; padding-left: 1.2em; }
.lines.cols li::marker { color: var(--accent); }
@media (max-width: 560px) { .lines.cols { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-flow: row; } }

/* Highlighter (package 54, site.js): a soft yellow marker behind key phrases, swept from left to right once in view.
   <span class="hl"> since package 61 (Elementor's Heading and Paragraph keep spans, not <mark>). */
.hl { color: inherit; padding: 0 .12em; margin: 0 -.06em; border-radius: .25em .5em .35em .6em / .5em .3em .6em .35em;
  background: linear-gradient(100deg, rgba(255, 214, 64, .30), rgba(255, 220, 80, .62) 6%, rgba(255, 214, 64, .5) 94%, rgba(255, 214, 64, .25)) no-repeat 0 0 / 100% 100%;
  -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sweep .hl { background-size: 0 100%; transition: background-size .7s cubic-bezier(.3, .1, .3, 1); }
.sweep .hl.lit { background-size: 100% 100%; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .hl { background-image: linear-gradient(100deg, rgba(250, 204, 21, .14), rgba(250, 204, 21, .3) 6%, rgba(250, 204, 21, .24) 94%, rgba(250, 204, 21, .1)); } }
:root[data-theme="dark"] .hl { background-image: linear-gradient(100deg, rgba(250, 204, 21, .14), rgba(250, 204, 21, .3) 6%, rgba(250, 204, 21, .24) 94%, rgba(250, 204, 21, .1)); }

/* Differential specimen */
.specimen { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-l); box-shadow: var(--shadow); overflow: hidden; }
.specimen-head { padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-4); align-items: baseline; justify-content: space-between; }
.specimen-head strong { font-family: var(--f-display); font-size: 1.2rem; }
/* the app's 12 columns: titles in title case, never split mid-word; the table slides sideways with Condition pinned */
.specimen-head .slide-hint { flex-basis: 100%; font-size: .85rem; color: var(--accent); font-weight: 600; }
.table-scroll { overflow-x: auto; padding-bottom: 4px; scrollbar-width: auto; scrollbar-color: var(--line-2) var(--sunk); }
.table-scroll::-webkit-scrollbar { height: 12px; } .table-scroll::-webkit-scrollbar-track { background: var(--sunk); }
.table-scroll::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 8px; border: 2px solid var(--sunk); }
.table-scroll:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
table.ddx { border-collapse: separate; border-spacing: 0; font-size: .92rem; min-width: 1900px; }
.ddx th, .ddx td { text-align: left; padding: 12px var(--s-4); border-bottom: 1px solid var(--line); vertical-align: top; }
.ddx thead th { font: 700 .82rem/1.35 var(--f-body); color: var(--ink-2); background: var(--sunk); word-break: normal; overflow-wrap: normal; hyphens: manual; }
.ddx td { color: var(--ink-2); overflow-wrap: break-word; }
.ddx tbody th { font-weight: 600; color: var(--ink); }
.ddx tr > :first-child { position: sticky; left: 0; z-index: 1; min-width: 190px; background: var(--surface); box-shadow: 1px 0 0 var(--line); }
.ddx thead tr > :first-child { z-index: 2; background: var(--sunk); }
.ddx tr:last-child > * { border-bottom: 0; }
.fit { display: inline-flex; flex-direction: column; gap: 4px; }
.fit-bar { display: block; width: 64px; height: 5px; border-radius: 3px; background: var(--line); overflow: hidden; }
.fit-bar i { display: block; height: 100%; border-radius: 3px; background: var(--accent); }
.mnm, .lead-tag { display: table; margin-top: 5px; border-radius: 5px; padding: 1px 7px; font: 700 .72rem/1.5 var(--f-body); white-space: nowrap; }
.mnm { background: var(--crit); color: #fff; }
.mnm::before { content: "⚠ "; }
.lead-tag { font-weight: 600; background: var(--sunk); color: var(--muted); }
.pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font: 600 .78rem/1.5 var(--f-body); white-space: nowrap; }
.pill.high { background: var(--crit-soft); color: var(--crit); }
.pill.mod { background: var(--warn-soft); color: var(--warn); }
.pill.low { background: var(--accent-soft); color: var(--accent); }
.pill.vlow { background: var(--sunk); color: var(--muted); }
.pill.ok { background: var(--ok-soft); color: var(--ok); }

/* Cards (used sparingly: pricing, contact channels) */
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s-5); }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .grid-2 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: var(--s-6); display: grid; gap: var(--s-3); align-content: start; }
.card p { color: var(--ink-2); }

/* Sliders (site.js, data-slider): a row of cards (3 in view, 1 on phones) or of whole slides (.slider.one), moved by the
   arrows, the dots or a swipe. Without the script the row simply scrolls sideways. */
.slider { --per: 3; }
.slider.one { --per: 1; }
.slider[data-rotate] { --rotate-time: 5s; }
.slider.every-8 { --rotate-time: 8s; }
@media (max-width: 720px) { .slider { --per: 1; } }
.slider-view { overflow-x: auto; }
.slider.on .slider-view { overflow: hidden; touch-action: pan-y; }
.slider-track { position: relative; display: flex; gap: var(--s-5); transition: transform .6s ease; }
.slider-track > * { flex: 0 0 calc((100% - (var(--per) - 1) * var(--s-5)) / var(--per)); min-width: 0; }
.slider-track > .slide { display: grid; align-content: center; }   /* whole slides: the shorter ones sit in the middle */
.slider-nav { display: none; align-items: center; justify-content: center; gap: var(--s-3); margin-top: var(--s-5); }
.slider.on .slider-nav { display: flex; }
.slider-arrow { flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); font: 600 1.35rem/1 var(--f-body); cursor: pointer; display: grid; place-items: center; padding: 0 0 3px; }
.slider-arrow:hover { border-color: var(--accent); color: var(--accent); }
.slider-count { position: relative; min-width: 7.5em; padding-bottom: 6px; text-align: center; font: 500 .85rem var(--f-mono); color: var(--muted); }
.slider-count > i, .slider-dots button > i { position: absolute; left: 0; bottom: 0; height: 2px; width: 0; background: var(--accent); }
.slider-dots { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; min-width: 0; }
.slider-dots button { position: relative; overflow: hidden; width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; background: var(--line-2); cursor: pointer; }
.slider-dots button.now { width: 32px; }
.slider-dots button.now > i { height: 100%; }
.slider-dots.named button { width: auto; height: auto; padding: 8px 12px 10px; background: none; border-radius: var(--r-s); font: 600 .9rem var(--f-body); color: var(--muted); }
.slider-dots.named button:hover { color: var(--accent); }
.slider-dots.named button.now { color: var(--ink); }
.slider-dots.named button > i { height: 2px; }
.slider-dots button:not(.now) > i { display: none; }
.slider:not(.auto) .slider-dots button.now > i { width: 100%; }   /* not moving by itself: the current dot is simply blue */
.plain-item { display: grid; gap: var(--s-2); align-content: start; }
.plain-item p { color: var(--ink-2); }
.quote { margin: 0 0 var(--s-7); max-width: 58rem; border-left: 4px solid var(--accent); padding: var(--s-1) 0 var(--s-1) var(--s-5); }
.quote p { font-family: var(--f-display); font-size: clamp(1.25rem, 1rem + .9vw, 1.6rem); line-height: 1.35; color: var(--ink); }
.quote footer { margin-top: var(--s-3); font-size: .95rem; color: var(--muted); }
.ask { font-family: var(--f-display); font-style: italic; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.35; color: var(--accent); margin: 0 0 var(--s-2); max-width: 46ch; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s-5); align-items: stretch; }
@media (max-width: 960px) { .plans { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }
.plans.four { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-4); }
.plans.four .plan { padding: var(--s-5); }
.plans.four .plan-top { min-height: 3.4rem; align-items: flex-start; }   /* names on one or two lines: the prices stay level */
@media (min-width: 1101px) { .plans.four .plan .for { min-height: 4.9rem; } }   /* four in a row: the lists start level too */
@media (max-width: 1100px) { .plans.four { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; } }
@media (max-width: 640px) { .plans.four { grid-template-columns: 1fr; max-width: 560px; } }
.price-note { font-size: .85rem; color: var(--muted); }
.plan { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-l); padding: var(--s-6); display: flex; flex-direction: column; gap: var(--s-4); }
.plan.featured { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan-top { display: flex; justify-content: space-between; align-items: center; gap: var(--s-3); }
.plan-name { font: 600 1.35rem var(--f-display); }
.plan-tag { font: 600 .72rem var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 3px 8px; border-radius: 999px; }
.price { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.price b { font: 600 2.7rem/1 var(--f-display); }
.price span { color: var(--muted); }
.plan .for { color: var(--ink-2); min-height: 3.2em; }
.plan .ticks { flex: 1; font-size: .95rem; }
.plan .ticks li.head { padding-left: 0; font-weight: 600; color: var(--ink); }
.plan .ticks li.head::before { display: none; }
.compare-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-l); background: var(--surface); }
table.compare { width: 100%; border-collapse: collapse; min-width: 620px; font-size: .95rem; }
.compare th, .compare td { padding: 12px 18px; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { font: 600 1.05rem var(--f-display); background: var(--sunk); }
.compare tbody th { font-weight: 500; color: var(--ink-2); }
.compare .grp th { text-align: left; font: 600 .74rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--surface); padding-top: 20px; }
.yes { color: var(--ok); font-weight: 700; }
.no { color: var(--muted); }

/* FAQ */
.faq { display: grid; gap: 0; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: var(--s-5) 40px var(--s-5) 0; font-weight: 600; font-size: 1.05rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 50%; transform: translateY(-50%); font: 400 1.5rem var(--f-body); color: var(--accent); }
.faq details[open] summary::after { content: "–"; }
.faq .answer { padding: 0 0 var(--s-5); color: var(--ink-2); max-width: 70ch; display: grid; gap: var(--s-3); }

/* Notice band */
.notice { border: 1px solid var(--line-2); border-left: 4px solid var(--warn); background: var(--warn-soft); color: var(--ink); border-radius: var(--r-m); padding: var(--s-4) var(--s-5); display: grid; gap: 4px; }
.notice.info { border-left-color: var(--accent); background: var(--accent-soft); }
.notice strong { font-weight: 600; }

/* Data-flow table on Trust */
.flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border: 1px solid var(--line-2); border-radius: var(--r-l); overflow: hidden; background: var(--surface); }
.flow > div { padding: var(--s-5); display: grid; gap: var(--s-2); align-content: start; border-right: 1px solid var(--line); }
.flow > div:last-child { border-right: 0; }
.flow .where { font: 600 .74rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.flow ul { margin: 0; padding-left: 18px; color: var(--ink-2); font-size: .95rem; display: grid; gap: 4px; }
@media (max-width: 860px) { .flow { grid-template-columns: 1fr; } .flow > div { border-right: 0; border-bottom: 1px solid var(--line); } .flow > div:last-child { border-bottom: 0; } }

/* Forms */
.form { display: grid; gap: var(--s-4); }
.field { display: grid; gap: 6px; align-content: start; }   /* beside a field with a longer hint, the box keeps its height */
.field label { font-weight: 600; font-size: .95rem; }
.field .hint { font-size: .86rem; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; font: 400 1rem var(--f-body); color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 11px 12px; }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.form-note { margin: var(--s-2) 0 0; font-size: .9rem; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.check input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { border-radius: var(--r-m); padding: var(--s-4); font-size: .97rem; }
.form-status.ok { background: var(--ok-soft); color: var(--ok); border: 1px solid var(--ok); }
.form-status.err { background: var(--crit-soft); color: var(--crit); border: 1px solid var(--crit); }
.form-status.warn { background: var(--warn-soft); color: var(--ink); border: 1px solid var(--warn); display: grid; gap: var(--s-3); }   /* Sign in on a second device: Continue / Cancel */

/* Members on WordPress (package 62): Subscribe, My account and Update your card hold Restrict Content's forms
   (#rcp_registration_form, the subscription table, the card form) in one white box, with Lithaya's fields and buttons. */
.member-box { max-width: 760px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: var(--s-6); }
@media (max-width: 480px) { .member-box { padding: var(--s-5); } }
.member-panel { display: grid; gap: var(--s-4); }
.member-panel h2 { font-size: 1.35rem; margin: 0; }
.member-panel p { margin: 0; color: var(--ink-2); }
.member-panel .member-sub { margin-top: var(--s-4); }
.member-box form { display: grid; gap: var(--s-4); }
.member-box fieldset { border: 0; margin: 0; padding: 0; display: grid; gap: var(--s-3); }
.member-box legend, .member-box .rcp_header { font: 600 .74rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding: 0; margin-bottom: var(--s-2); }
.member-box label { font-weight: 600; font-size: .95rem; }
.member-box p { margin: 0; }
.member-box form p { display: grid; gap: 6px; }
.member-box input[type=text], .member-box input[type=email], .member-box input[type=password], .member-box select, .member-box .StripeElement, .member-box #rcp-card-element {
  width: 100%; font: 400 1rem var(--f-body); color: var(--ink); background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r-s); padding: 11px 12px; }
.member-box input:focus, .member-box select:focus, .member-box .StripeElement--focus { outline: 3px solid var(--accent-soft); border-color: var(--accent); }
.member-box ul.rcp_subscription_level_fieldset, .member-box .rcp_subscription_fieldset ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-2); }
.member-box li.rcp_subscription_level { border: 1px solid var(--line); border-radius: var(--r-m); padding: var(--s-3) var(--s-4); display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.member-box input[type=radio], .member-box input[type=checkbox] { width: 18px; height: 18px; accent-color: var(--accent); }
.member-box form p:has(> input[type=checkbox]) { display: flex; gap: 10px; align-items: center; }   /* the Terms and Privacy Policy ticks beside their labels */
.member-box .rcp_level_description { flex-basis: 100%; color: var(--muted); font-size: .9rem; }
.member-box input[type=submit], .member-box button[type=submit], .member-box .rcp_button, .member-box a.button {
  justify-self: start; font: 600 .97rem var(--f-body); color: #fff; background: var(--accent); border: 1px solid var(--accent); border-radius: var(--r-s); padding: 11px 20px; cursor: pointer; text-decoration: none; }
.member-box table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.member-box th, .member-box td { text-align: left; border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.member-box .rcp_error, .member-box .rcp_message.error { background: var(--crit-soft); color: var(--crit); border: 1px solid var(--crit); border-radius: var(--r-m); padding: var(--s-3) var(--s-4); }
.member-box .rcp_success, .member-box .rcp_message.success { background: var(--ok-soft); color: var(--ok); border: 1px solid var(--ok); border-radius: var(--r-m); padding: var(--s-3) var(--s-4); }

/* Sign in (package 59): one white card centered on a white page, no menu or footer (build.py "bare" pages); the logo goes
   Home. The card holds the reason the page was shown, then the form (or Forgot your password, a new password, or "You are
   signed in"); "No account yet?" under a line, hidden when a trial or plan has ended. */
body.bare { background: var(--surface); }
body.bare::before { display: none; }
.auth { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; padding: var(--s-6) max(16px, env(safe-area-inset-right, 0px)) var(--s-6) max(16px, env(safe-area-inset-left, 0px)); }
.auth-card { width: 100%; max-width: 420px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow); padding: var(--s-6); display: grid; gap: var(--s-4); }
@media (max-width: 480px) { .auth-card { padding: var(--s-5); } }
.auth-brand { justify-self: center; margin-bottom: var(--s-1); }
.auth-card h2 { font-size: 1.25rem; margin: 0; }
.auth-card p { margin: 0; color: var(--ink-2); }
.auth-card .form { gap: var(--s-4); }
.auth-card .btn-primary.full { width: 100%; justify-content: center; }
.auth-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: var(--s-2); font-size: .95rem; }
.auth-foot { text-align: center; font-size: .95rem; border-top: 1px solid var(--line); padding-top: var(--s-4); }
.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; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: var(--s-7); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.side-box { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); padding: var(--s-5); display: grid; gap: var(--s-4); }
.side-box dl { margin: 0; display: grid; gap: var(--s-3); }
.side-box dt { font: 600 .74rem var(--f-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.side-box dd { margin: 2px 0 0; }
.copy-line { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.copy-btn { font: 500 .82rem var(--f-body); padding: 4px 10px; border-radius: var(--r-s); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); cursor: pointer; }

/* Legal documents */
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: var(--s-8); align-items: start; }
.doc-toc { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 92px); display: grid; gap: 2px; font-size: .9rem; }
.doc-toc a { color: var(--ink-2); text-decoration: none; padding: 5px 10px; border-left: 2px solid var(--line); }
.doc-toc a:hover { color: var(--accent); border-left-color: var(--accent); }
.doc-body { display: grid; gap: var(--s-6); max-width: 72ch; }
.doc-body section { display: grid; gap: var(--s-3); scroll-margin-top: 96px; }
.doc-body h2 { font-size: 1.45rem; }
.doc-body p, .doc-body li { color: var(--ink-2); }
.doc-body ul { margin: 0; padding-left: 22px; display: grid; gap: 6px; }
.doc-meta { font: 500 .82rem var(--f-mono); color: var(--muted); }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; } .doc-toc { position: static; } }

/* Page intro */
.page-intro { padding-block: var(--s-8) var(--s-7); border-bottom: 1px solid var(--line); background: var(--surface); }
.page-intro .wrap { display: grid; gap: var(--s-4); }
.badge-pilot { display: inline-flex; align-items: center; gap: 6px; width: fit-content; font: 600 .74rem var(--f-mono); letter-spacing: .07em; text-transform: uppercase; color: var(--warn); background: var(--warn-soft); padding: 4px 10px; border-radius: 999px; }

/* Footer */
.site-foot { background: var(--navy); color: var(--navy-muted); padding-block: var(--s-8) var(--s-6); font-size: .93rem; }
.site-foot a { color: var(--navy-ink); text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: var(--s-6); }
.foot-grid h2 { font: 600 .74rem var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--navy-muted); margin-bottom: var(--s-3); }
.foot-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-brand { display: grid; gap: var(--s-3); max-width: 34ch; }
.foot-brand .brand { color: var(--navy-ink); }
.foot-note { margin-top: var(--s-5); font: 500 .78rem/1.6 var(--f-mono); letter-spacing: .03em; }   /* © under Product, the email under Company */
@media (max-width: 860px) { .foot-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .foot-brand { grid-column: 1 / -1; } }

/* Full-case video: poster with a play button, native controls, chapter buttons */
.video-box { position: relative; background: #0f2a56; }
.video-box video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; background: #0f2a56; }
.video-play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: inline-flex; align-items: center; gap: 10px;
  border: 0; border-radius: 999px; padding: 14px 26px; background: var(--accent); color: var(--accent-ink); font: 600 1.05rem var(--f-body);
  box-shadow: 0 12px 34px rgba(15, 42, 86, .4); cursor: pointer; }
.video-play span { font-size: .9em; }
.video-play { white-space: nowrap; }
@media (max-width: 560px) { .video-play { padding: 10px 18px; font-size: .95rem; } }
.video-play:hover { background: var(--accent-hover); } .video-play:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }
.video-box.playing .video-play { display: none; }
.chapters { display: flex; flex-wrap: wrap; gap: var(--s-2); margin-top: var(--s-4); }
.chapter { border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); border-radius: 999px; padding: 6px 12px; font: 500 .86rem var(--f-body); cursor: pointer; }
.chapter .mono { font-family: var(--f-mono); color: var(--muted); margin-right: 4px; font-size: .8rem; }
.chapter:hover, .chapter.on { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
