/* AI Office landing page. UNIVA Night Studio canvas (#05070C, UNIVA blue, cyan highlights) set in
   self-hosted Instrument Serif (display) and Instrument Sans (reading). The signature element is the
   org chart: the Owner on top and nine AI roles drawn as charter files. Dark only, like /academy. */
@font-face { font-family: "Instrument Sans"; src: url("/fonts/instrument-sans-var.woff2") format("woff2"); font-weight: 400 700; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif.woff2") format("woff2"); font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("/fonts/instrument-serif-italic.woff2") format("woff2"); font-style: italic; font-display: swap; }

:root {
  --bg: #05070C; --bg2: #0A0E17; --surface: #0C111C; --line: rgba(255,255,255,.09); --line2: rgba(255,255,255,.16);
  --ink: #F2F4F8; --muted: rgba(242,244,248,.7); --faint: rgba(242,244,248,.54);
  --blue: #0054FF; --blue-hi: #3B7BFF; --cyan: #8CC8FF; --ok: #7EE0A8; --warn: #FFC58A;
  --mitos: #5732D0; --gold: #E3B347;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --sans: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "Cascadia Mono", "SF Mono", Consolas, monospace;
  --r: 22px; --pill: 999px;
  --ease: cubic-bezier(.2,.7,.2,1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(44vmax 44vmax at 10% 0%, rgba(0,84,255,.16), transparent 70%), radial-gradient(36vmax 36vmax at 100% 40%, rgba(59,123,255,.07), transparent 70%), radial-gradient(44vmax 44vmax at 30% 100%, rgba(0,84,255,.09), transparent 70%); }
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
.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; }
.num { font-variant-numeric: tabular-nums; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
@media (min-width: 720px) { .wrap { padding-left: 32px; padding-right: 32px; } }

.skip { position: absolute; left: 16px; top: 12px; z-index: 50; padding: 10px 16px; border-radius: var(--pill); background: var(--ink); color: var(--bg); font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.skip:focus { transform: none; }

h1, h2, h3 { font-weight: 400; text-wrap: balance; }
h1, h2 { font-family: var(--serif); letter-spacing: -.02em; line-height: 1; }
h1 em, h2 em { font-style: italic; color: var(--cyan); }
.label, .kicker, .eyebrow, .file { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.kicker { color: var(--cyan); margin-bottom: 18px; }

/* Header */
.top { position: relative; z-index: 10; padding-top: calc(10px + env(safe-area-inset-top, 0px)); }
.top-in { display: flex; align-items: center; gap: 12px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); flex: none; }
.brand img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.brand small { font-size: 13px; font-weight: 600; color: var(--muted); padding-left: 12px; border-left: 1px solid var(--line2); line-height: 1.2; }
.top-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.link { padding: 10px 12px; border-radius: var(--pill); font-size: 14px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color .2s; }
.link:hover { color: var(--ink); }
.pill { display: inline-flex; align-items: center; padding: 9px 18px; border-radius: var(--pill); font-size: 14px; font-weight: 600; text-decoration: none; }
.pill-blue { background: var(--blue); color: #fff; }
.pill-blue:hover { background: var(--blue-hi); }
@media (max-width: 640px) { .hide-sm { display: none; } .brand small { display: none; } .link { padding: 10px 8px; } }
/* EN / BM switch, the hairline pill from /academy */
.lang { display: inline-flex; flex: none; padding: 3px; margin-right: 6px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--line2); }
.lang button { min-width: 34px; min-height: 26px; padding: 6px 10px; border: 0; border-radius: var(--pill); background: none; font: 500 11px/1 var(--mono); letter-spacing: .06em; color: var(--muted); }
.lang button:hover { color: var(--ink); }
.lang button[aria-pressed="true"] { background: var(--ink); color: #000; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 14px 26px; border: 0; border-radius: var(--pill); font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: background .2s, transform .25s var(--ease), box-shadow .25s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 14px 40px -14px rgba(0,84,255,.75), inset 0 1px 0 rgba(255,255,255,.18); }
.btn-blue:hover { background: var(--blue-hi); }
.btn-ghost { background: rgba(255,255,255,.06); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line2); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.btn-wide { width: 100%; }
.btn:disabled { opacity: .6; cursor: progress; }
.text-btn { border: 0; background: none; padding: 4px 0; color: var(--cyan); font-size: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* 1. Hero */
.hero { padding: clamp(40px, 8vw, 96px) 0 clamp(56px, 8vw, 104px); text-align: center; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 620px; z-index: -1; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 56px 56px; background-position: center top;
  -webkit-mask-image: radial-gradient(60% 70% at 50% 0%, #000 0%, transparent 75%); mask-image: radial-gradient(60% 70% at 50% 0%, #000 0%, transparent 75%); opacity: .55; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: var(--pill); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); color: var(--muted); }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(140,200,255,.15); }
.hero h1 { margin: 26px auto 0; max-width: 13ch; font-size: clamp(52px, 10.5vw, 132px); line-height: .92; }
.lede { margin: 26px auto 0; max-width: 40ch; font-size: clamp(17px, 2vw, 21px); color: var(--muted); }

.screen { margin: clamp(36px, 6vw, 64px) auto 0; max-width: 980px; padding: 8px; border-radius: calc(var(--r) + 8px);
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.015)); box-shadow: inset 0 0 0 1px var(--line2), 0 60px 120px -50px rgba(0,84,255,.55), 0 30px 60px -30px rgba(0,0,0,.9); }
.screen-bar { display: flex; align-items: center; gap: 7px; padding: 6px 10px 12px; }
.screen-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.16); }
.screen-bar span { margin-left: auto; margin-right: auto; padding-right: 41px; font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.screen-frame { border-radius: var(--r); overflow: hidden; background: #000; }
.vsl { width: 100%; aspect-ratio: 16 / 9; max-height: 80vh; object-fit: contain; background: #000; }

/* Course roll bar under the VSL: every module (emphasised) followed by its lessons, in two rows that run in opposite
   directions. Each row is two identical lists side by side, slid by one list's width so the loop is seamless. Paused on
   hover, keyboard focus or a touch-hold (offer.js); reduced motion gets the first lists as a static list in columns. */
.modules { margin: 26px auto 0; max-width: 980px; }
.modules-label { margin-bottom: 12px; color: var(--cyan); }
.ticker { overflow: hidden; padding: 13px 0; border-block: 1px solid var(--line2); background: rgba(255,255,255,.025); -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
.ticker:focus-visible { outline-offset: -2px; border-radius: 0; }
.ticker-track { display: flex; width: max-content; }
.ticker-track + .ticker-track { margin-top: 10px; }
.ticker-list { display: flex; flex: none; }
.ticker-module { display: flex; align-items: baseline; gap: 10px; white-space: nowrap; font-size: 16px; font-weight: 600; line-height: 1.35; }
.ticker-module::after { content: ""; align-self: center; width: 5px; height: 5px; margin: 0 26px 0 16px; border-radius: 50%; background: var(--blue-hi); }
.ticker-module b { font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; color: var(--cyan); }
.ticker-lessons { display: flex; align-items: baseline; }
.ticker-lessons li { font-size: 14px; font-weight: 400; color: var(--muted); }
.ticker-lessons li::before { content: "·"; margin: 0 10px; color: var(--faint); }
.ticker-lessons li:first-child::before { content: "›"; margin-left: 4px; color: var(--cyan); }
@media (prefers-reduced-motion: no-preference) {
  .ticker { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
  .ticker-track { animation: ticker 62s linear infinite; }
  .ticker-track + .ticker-track { animation-direction: reverse; }
  .ticker:focus-visible .ticker-track, .ticker.is-held .ticker-track { animation-play-state: paused; }
  @media (hover: hover) { .ticker:hover .ticker-track { animation-play-state: paused; } }
  @keyframes ticker { to { transform: translateX(-50%); } }
}
@media (prefers-reduced-motion: reduce) {
  .ticker { padding: 18px 16px 4px; columns: 2 300px; column-gap: 36px; text-align: left; }
  .ticker-track, .ticker-list { display: block; width: auto; }
  .ticker-track + .ticker-track { margin-top: 0; }
  .ticker-list[aria-hidden] { display: none; }
  .ticker-module { display: block; padding-bottom: 14px; white-space: normal; break-inside: avoid; }
  .ticker-module::after { display: none; }
  .ticker-module b { margin-right: 8px; }
  .ticker-lessons { display: block; margin-top: 3px; line-height: 1.5; }
  .ticker-lessons li { display: inline; }
  .ticker-lessons li::before { margin: 0 7px; }
  .ticker-lessons li:first-child::before { content: none; }
}

.hero-cta { margin-top: 32px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.was s { color: var(--faint); text-decoration-thickness: 1.5px; white-space: nowrap; }
.was b { color: var(--ink); font-weight: 600; }

@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .8s var(--ease) both; }
  .r1 { animation-delay: .06s; } .r2 { animation-delay: .14s; } .r3 { animation-delay: .24s; } .r4 { animation-delay: .34s; }
  @keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
}

/* Sections */
.sec { padding: clamp(64px, 10vw, 128px) 0; border-top: 1px solid var(--line); }
.sec h2 { font-size: clamp(40px, 6.4vw, 76px); }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }

/* 2. Why */
.why .wrap { --why-gap: clamp(40px, 6vw, 72px); display: grid; gap: var(--why-gap); }
.why-copy { display: grid; gap: 28px; }
.why h2 { max-width: 17ch; }
.why-text { display: grid; gap: 16px; max-width: 60ch; color: var(--muted); }
.why-text b { color: var(--ink); font-weight: 600; }
@media (min-width: 980px) { .why-copy { grid-template-columns: 1.15fr 1fr; align-items: end; } .why-copy .kicker { grid-column: 1 / -1; margin-bottom: -10px; } }

.org { position: relative; display: grid; justify-items: center; }
.owner { position: relative; z-index: 1; display: grid; gap: 4px; justify-items: center; text-align: center; width: min(100%, 360px); padding: 22px 24px; border-radius: var(--r);
  background: radial-gradient(120% 140% at 50% 0%, rgba(0,84,255,.5), transparent 70%), linear-gradient(160deg, #0d1d52, #081232); box-shadow: inset 0 0 0 1px rgba(140,200,255,.35), 0 30px 60px -30px rgba(0,84,255,.6); }
.owner strong { font-family: var(--serif); font-size: 40px; font-weight: 400; line-height: 1; }
.owner > span:last-child { color: var(--muted); font-size: 15px; }
.owner .file { color: var(--cyan); }
/* JARVIS, the Owner's personal assistant on WhatsApp and Telegram, sits between the Owner and the CEO and passes the
   work on: a pill with a live dot, not a role card */
.jarvis { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 10px; margin-top: 34px; padding: 8px 18px 8px 14px; border-radius: var(--pill); font-size: 14px; line-height: 1.3; color: var(--muted); background: #0a1531; box-shadow: inset 0 0 0 1px rgba(126,224,168,.42), 0 12px 32px -14px rgba(126,224,168,.4); }
.jarvis::before { content: ""; position: absolute; left: 50%; bottom: 100%; width: 1px; height: 34px; background: linear-gradient(rgba(140,200,255,.25), var(--cyan)); }
.jarvis strong { font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: .14em; color: var(--ink); }
.jarvis-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px rgba(126,224,168,.18); }
/* Connector: a trunk from the Owner down to a rail across the roles */
.roles { position: relative; width: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 64px; }
.roles::before { content: ""; position: absolute; left: 50%; top: -64px; height: 46px; width: 1px; background: linear-gradient(var(--cyan), rgba(140,200,255,.25)); }
.roles::after { content: ""; position: absolute; left: calc(100% / 6); right: calc(100% / 6); top: -18px; height: 1px; background: rgba(140,200,255,.3); }
.role { position: relative; display: grid; gap: 6px; align-content: start; padding: 18px 20px 20px; border-radius: 16px; background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .3s, transform .3s var(--ease); }
.role:hover { box-shadow: inset 0 0 0 1px rgba(140,200,255,.4); transform: translateY(-2px); }
.role:nth-child(-n+3)::before { content: ""; position: absolute; left: 50%; top: -18px; height: 18px; width: 1px; background: rgba(140,200,255,.3); }
.role .file { font-size: 11px; color: var(--cyan); opacity: .85; }
.role strong { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.role > span:not(.file) { color: var(--muted); font-size: 15px; line-height: 1.45; }
/* each role's duties and what the same hire costs on the market */
.role-sub { display: grid; gap: 4px; margin: 4px 0 0; padding: 0 0 0 16px; list-style: disc; color: var(--muted); font-size: 13.5px; line-height: 1.4; }
.role-sub li { display: list-item; }
.role-sub li::marker { color: var(--cyan); }
.role-pay { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 5px; margin-top: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.role-pay .num { font-size: 13px; letter-spacing: 0; color: var(--ink); }
.role-pay span { text-transform: none; }
/* the phone panel is only ever opened on phones */
.role-detail { display: none; }
/* Nine real hires against the AI Office price, one strip under the chart */
.org-cost { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; gap: 14px; margin-top: 28px; }
.cost { display: grid; gap: 6px; align-content: start; padding: 20px 22px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line); background: linear-gradient(180deg, rgba(255,255,255,.045), rgba(255,255,255,.012)); }
.cost .label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cost strong { display: flex; align-items: baseline; gap: 6px; font-weight: 400; color: var(--muted); font-size: 15px; }
.cost strong .num { font-family: var(--serif); font-size: clamp(34px, 4vw, 46px); line-height: 1; color: var(--ink); }
.cost small { color: var(--faint); font-size: 13px; line-height: 1.45; }
.cost-hire strong .num { text-decoration: line-through; text-decoration-color: rgba(255,120,120,.75); text-decoration-thickness: 2px; }
.cost-us { background: radial-gradient(120% 140% at 50% 0%, rgba(0,84,255,.4), transparent 75%), linear-gradient(160deg, #0d1d52, #081232); box-shadow: inset 0 0 0 1px rgba(140,200,255,.45), 0 30px 60px -34px rgba(0,84,255,.7); }
.cost-us .label { color: var(--cyan); }
.cost-vs { align-self: center; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.org-note { margin-top: 28px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: var(--pill); font-family: var(--mono); font-size: 13px; color: var(--ink); background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--line); }
.org-note .label { font-size: 11px; }
.org-note span[aria-hidden] { color: var(--faint); }
.org-src { width: 100%; margin: 14px 0 0; font-size: 12px; line-height: 1.7; color: var(--faint); text-align: center; }
.org-src a { color: var(--muted); text-decoration: underline; text-decoration-color: var(--line2); text-underline-offset: 3px; white-space: nowrap; }
.org-src a:hover { color: var(--cyan); }
.org-src span[aria-hidden] { margin: 0 2px; }
.org-frame { display: none; }
/* Phones: a compact org chart inside an office boundary labelled "AI Office anda". Titles only; the .md names and the
   descriptions stay in the list for screen readers. Owner > CEO, with the PA & strategist and the CTO beside the CEO,
   and the six other roles in two columns on one trunk under the CEO (module 02's structure). */
@media (max-width: 720px) {
  .org { justify-items: stretch; margin-top: 34px; padding: 20px 12px 18px; border-radius: 18px; background: linear-gradient(180deg, rgba(0,84,255,.08), rgba(255,255,255,.01) 60%); box-shadow: inset 0 0 0 1px rgba(140,200,255,.32); }
  .org-frame { position: absolute; bottom: calc(100% - 1px); left: 16px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px 6px; border-radius: 10px 10px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); background: #0a1531; box-shadow: inset 1px 1px 0 rgba(140,200,255,.32), inset -1px 0 0 rgba(140,200,255,.32); }
  .org-frame svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
  .owner { justify-self: center; width: auto; min-width: 128px; gap: 2px; padding: 10px 22px 12px; border-radius: 14px; }
  .owner strong { font-size: 28px; }
  .owner .file { font-size: 11px; }
  .jarvis > span, .owner > span:last-child, .role .file, .role > span:not(.file) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
  .jarvis { justify-self: center; gap: 7px; margin-top: 16px; padding: 5px 13px 5px 11px; }
  .jarvis::before { height: 16px; background: rgba(140,200,255,.5); }
  .jarvis strong { font-size: 12px; }
  .jarvis-dot { width: 7px; height: 7px; }
  .roles { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px 20px; margin-top: 22px; padding: 0; }
  .roles::before { top: -22px; height: 22px; background: rgba(140,200,255,.5); }
  .roles::after, .roles .role::before, .roles .role::after { content: none; }
  .role { grid-column: span 3; place-items: center; align-content: center; min-height: 46px; padding: 10px 6px; border-radius: 12px; text-align: center; background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px var(--line2); }
  .role strong { font-size: 14px; line-height: 1.2; letter-spacing: 0; }
  .role:hover { transform: none; box-shadow: inset 0 0 0 1px rgba(140,200,255,.4); }
  .role:nth-child(1) { grid-area: 1 / 3 / 2 / 5; background: radial-gradient(120% 140% at 50% 0%, rgba(0,84,255,.4), transparent 75%), rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px rgba(140,200,255,.45); }
  .role:nth-child(2) { grid-area: 1 / 5 / 2 / 7; }
  .role:nth-child(3) { grid-area: 1 / 1 / 2 / 3; }
  /* the PA & strategist and the CTO sit beside the CEO */
  .roles .role:nth-child(3)::after, .roles .role:nth-child(2)::before { content: ""; position: absolute; top: 50%; width: 20px; height: 1px; background: rgba(140,200,255,.45); }
  .roles .role:nth-child(3)::after { right: -20px; }
  .roles .role:nth-child(2)::before { left: -20px; }
  /* the trunk runs down the gap between the two columns, from the CEO to the last row */
  .roles .role:nth-child(n+4)::after { content: ""; position: absolute; top: 50%; width: 10px; height: 1px; background: rgba(140,200,255,.45); }
  .roles .role:nth-child(2n+4)::after { right: -10px; }
  .roles .role:nth-child(2n+5)::after { left: -10px; }
  .roles .role:nth-child(2n+5)::before { content: ""; position: absolute; left: -10.5px; top: -10px; width: 1px; height: calc(100% + 10px); background: rgba(140,200,255,.45); }
  .roles .role:nth-child(2n+5):last-of-type::before { height: calc(50% + 10px); }
  .org-note { justify-self: center; margin-top: 18px; }
  /* the tiles are buttons: tap one and its charter opens in the panel under the chart */
  .role { cursor: pointer; }
  .role .role-sub, .role .role-pay { display: none; }
  .role.is-open { background: radial-gradient(120% 140% at 50% 0%, rgba(0,84,255,.45), transparent 75%), rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--cyan); }
  .role-detail { position: relative; display: grid; gap: 6px; margin-top: 14px; padding: 16px 44px 16px 16px; border-radius: 14px; background: linear-gradient(180deg, rgba(0,84,255,.14), rgba(255,255,255,.02)); box-shadow: inset 0 0 0 1px rgba(140,200,255,.4); }
  .role-detail[hidden] { display: none; }
  .role-detail .file { font-size: 11px; color: var(--cyan); }
  .role-detail strong { font-size: 18px; font-weight: 600; }
  .role-detail > span:not(.file) { color: var(--muted); font-size: 14px; line-height: 1.45; }
  .role-detail .role-sub { display: grid; }
  .role-detail .role-pay { display: inline-flex; }
  .role-detail-close { position: absolute; top: 10px; right: 10px; width: 30px; height: 30px; border: 0; border-radius: 50%; font-size: 18px; line-height: 1; color: var(--ink); background: rgba(255,255,255,.08); cursor: pointer; }
  .org-cost { grid-template-columns: 1fr; gap: 8px; margin-top: 18px; }
  .cost { padding: 14px 16px; }
  .cost strong .num { font-size: 30px; }
  .cost-vs { justify-self: center; }
}
/* Roles light up one after another when the chart scrolls into view (JS adds .is-armed first) */
@media (prefers-reduced-motion: no-preference) {
  .org.is-armed .role { opacity: 0; transform: translateY(10px); }
  .org.is-in .role { opacity: 1; transform: none; transition: opacity .6s var(--ease), transform .6s var(--ease); transition-delay: calc(var(--i, 0) * 60ms); }
}

/* JARVIS speaks under the chart (org-motion.js), on one phone turned in 3D like the phones on the homepage: a chat in
   the familiar messenger look where the Owner asks and JARVIS answers with a file, a picture or a video album. The tag
   marks it as an illustration. The phone has a fixed size, so nothing below moves while the chat plays. The chat is
   one transcript; without JavaScript, or with reduced motion, all of it shows and scrolls inside the phone. */
.jsays { justify-self: center; display: grid; justify-items: center; gap: 10px; width: min(100%, 520px); margin-top: calc(18px - var(--why-gap)); }
.jsays-cap { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 6px 10px; text-align: center; }
.jsays-tag { padding: 4px 10px; border-radius: var(--pill); font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--warn); background: rgba(255,197,138,.06); box-shadow: inset 0 0 0 1px rgba(255,197,138,.45); }
.jsays-note { font-size: 13px; color: var(--faint); }
.jphone-stage { display: grid; justify-items: center; width: 100%; padding: 22px 0 34px; perspective: 1400px; background: radial-gradient(56% 50% at 50% 55%, rgba(0,84,255,.32), transparent 70%); }
/* the homepage phone (#10131b body, a hairline rim, a deep drop shadow), with a side edge drawn by stacked shadows */
.jphone { position: relative; width: min(320px, 100%); aspect-ratio: 320 / 660; padding: 9px; border-radius: 48px; background: #10131b; transform: rotateY(-17deg) rotateX(5deg) rotateZ(1deg);
  box-shadow: 0 0 0 1px rgba(255,255,255,.12), inset 0 0 0 2px #2a303c, 1px 0 0 #2f3543, 2px 0 0 #2b313e, 3px 1px 0 #272c38, 4px 1px 0 #232833, 5px 1px 0 #20242e, 6px 2px 0 #1c2029, 7px 2px 0 #181b23, 0 40px 80px -20px rgba(0,0,0,.8), 30px 30px 70px -30px rgba(0,84,255,.45); }
/* the side button */
.jphone::before { content: ""; position: absolute; top: 23%; right: -9px; width: 3px; height: 64px; border-radius: 0 3px 3px 0; background: #2f3543; }
.jphone-screen { position: relative; display: flex; flex-direction: column; height: 100%; overflow: hidden; border-radius: 40px; font: 13px/1.35 system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: #111b21; background: #efeae2; }
/* the camera island and a soft glare across the glass */
.jphone-screen::before { content: ""; position: absolute; z-index: 3; top: 9px; left: 50%; width: 82px; height: 23px; margin-left: -41px; border-radius: 12px; background: #05070c; }
.jphone-screen::after { content: ""; position: absolute; z-index: 4; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.16), rgba(255,255,255,0) 34%); }
.wa-status { flex: none; display: flex; align-items: center; justify-content: space-between; height: 40px; padding: 8px 24px 0 30px; font-size: 12.5px; font-weight: 600; color: #fff; background: #008069; }
.wa-status svg { width: 46px; height: 11px; fill: currentColor; }
.wa-head { flex: none; display: flex; align-items: center; gap: 9px; padding: 4px 10px 9px 4px; color: #fff; background: #008069; }
.wa-head svg { flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wa-head .wa-back { width: 20px; height: 20px; margin-right: -6px; }
.wa-avatar { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 700 15px/1 var(--sans); color: #fff; background: linear-gradient(160deg, var(--cyan), var(--blue)); }
.wa-who { flex: 1; display: grid; min-width: 0; line-height: 1.2; }
.wa-who b { font-size: 15px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wa-who small { font-size: 11.5px; opacity: .85; }
.wa-body { position: relative; flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  background: #efeae2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120' fill='none' stroke='%23000' stroke-opacity='.055' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='18' cy='20' r='7'/%3E%3Cpath d='M70 12l6 10H64z'/%3E%3Crect x='94' y='14' width='14' height='10' rx='3'/%3E%3Cpath d='M12 70c6-8 14-8 20 0M60 64h16M68 56v16'/%3E%3Ccircle cx='100' cy='70' r='4'/%3E%3Cpath d='M20 104l8-8 8 8M96 100c4 6 12 6 16 0'/%3E%3Crect x='58' y='96' width='16' height='12' rx='6'/%3E%3C/svg%3E") 0 0 / 120px; }
.wa-body::-webkit-scrollbar { display: none; }
.wa-log { display: grid; gap: 6px; padding: 10px 12px 12px; }
.wa-day { justify-self: center; margin-bottom: 2px; padding: 4px 10px; border-radius: 7px; font-size: 11px; text-transform: uppercase; letter-spacing: .02em; color: #54656f; background: #fff; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.wa-msg { max-width: 82%; }
.wa-out { justify-self: end; }
.wa-in { justify-self: start; }
.wa-media { width: 76%; }
.wa-media.wa-tall { width: 60%; }
.wa-bubble { position: relative; display: flow-root; padding: 6px 8px 7px 9px; border-radius: 8px; overflow-wrap: anywhere; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.wa-bubble::before { content: ""; position: absolute; top: 0; width: 8px; height: 13px; background: inherit; }
.wa-out .wa-bubble { border-top-right-radius: 0; background: #d9fdd3; }
.wa-out .wa-bubble::before { right: -8px; clip-path: polygon(0 0, 100% 0, 0 100%); }
.wa-in .wa-bubble, .wa-typing { border-top-left-radius: 0; background: #fff; }
.wa-in .wa-bubble::before, .wa-typing::before { left: -8px; clip-path: polygon(0 0, 100% 0, 100% 100%); }
.wa-media .wa-bubble { padding: 3px 3px 6px; }
.wa-cap { display: flow-root; padding: 4px 5px 0 6px; }
.wa-meta { float: right; display: inline-flex; align-items: center; gap: 3px; margin: 7px -2px -4px 10px; font-size: 10.5px; line-height: 1; color: #667781; }
.wa-ticks { width: 16px; height: 11px; fill: none; stroke: #53bdeb; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.wa-src { display: block; padding: 4px 6px 0; font-size: 10.5px; font-weight: 600; letter-spacing: .02em; color: #667781; }
/* attachments, all drawn here except the two pictures */
.wa-doc, .wa-photo, .wa-dash, .wa-album, .wa-shot, .wa-price { display: block; overflow: hidden; border-radius: 6px; }
/* a screenshot of the updated product page */
.wa-shot { background: #fff; box-shadow: inset 0 0 0 1px rgba(11,20,26,.08); }
.wa-shot svg { display: block; width: 100%; height: auto; }
/* raw-material cost this week and the suggested +5% per sales channel */
.wa-price { display: grid; gap: 6px; padding: 10px 10px 9px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(245,165,36,.32), transparent 60%), linear-gradient(160deg, #2a1a06, #120c05); }
.wa-price-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,240,220,.72); }
.wa-price-top b { flex: none; white-space: nowrap; font-size: 26px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: #ffc65c; }
.wa-price-chart { width: 100%; height: auto; }
.wa-price-sub { font-size: 10px; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,240,220,.6); }
.wa-plats { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; overflow-wrap: normal; }
.wa-plat { display: flex; align-items: center; gap: 4px; min-width: 0; padding: 5px 5px; white-space: nowrap; border-radius: 5px; font-size: 11px; font-weight: 500; background: rgba(255,255,255,.08); }
.wa-plat i { flex: none; width: 8px; height: 8px; border-radius: 50%; }
.wa-plat b { margin-left: auto; font-size: 10.5px; font-weight: 700; color: #7EE0A8; }
/* latest revenue across platforms: the total, then a split bar with no figures */
.wa-rev { display: grid; gap: 7px; overflow: hidden; border-radius: 6px; padding: 10px 10px 9px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(37,211,102,.32), transparent 60%), linear-gradient(160deg, #06281a, #04140d); }
.wa-rev-top { font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: rgba(220,255,236,.72); }
.wa-rev-num { display: flex; align-items: baseline; gap: 5px; font-size: 30px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: #7EE0A8; }
.wa-rev-num small { font-size: 13px; font-weight: 600; letter-spacing: 0; color: rgba(220,255,236,.85); }
.wa-rev-bar { display: flex; gap: 2px; height: 9px; overflow: hidden; border-radius: 5px; }
.wa-rev-bar i { display: block; }
.wa-rev-keys { overflow-wrap: normal; white-space: nowrap; display: grid; grid-template-columns: 1fr 1fr; gap: 3px 8px; font-size: 10.5px; color: rgba(255,255,255,.82); }
.wa-rev-keys span { display: flex; align-items: center; gap: 5px; }
.wa-rev-keys i { flex: none; width: 7px; height: 7px; border-radius: 50%; }
.wa-p-web { background: #3B7BFF; } .wa-p-shopee { background: #ee4d2d; } .wa-p-tiktok { background: #fe2c55; box-shadow: -2px 0 0 #25f4ee; } .wa-p-shopify { background: #95bf47; }
.wa-doc { background: #f0f2f5; }
.wa-doc-page { display: block; background: #fff; border-bottom: 1px solid rgba(11,20,26,.08); }
.wa-doc-page svg { width: 100%; height: auto; }
.wa-doc-row { display: flex; align-items: center; gap: 8px; padding: 8px 9px 1px; }
.wa-pdf { flex: none; width: 22px; height: 27px; }
.wa-doc-name { min-width: 0; font-size: 12.5px; font-weight: 500; line-height: 1.25; }
.wa-doc-meta { display: block; padding: 1px 9px 7px 39px; font-size: 10.5px; color: #667781; }
.wa-photo { background: #0b1220; }
.wa-photo img { width: 100%; height: auto; }
.wa-dash { display: grid; gap: 7px; padding: 10px 10px 9px; color: #fff; background: radial-gradient(120% 90% at 100% 0%, rgba(0,84,255,.5), transparent 60%), linear-gradient(160deg, #0d1d52, #081232); }
.wa-dash-top { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; font-size: 10.5px; letter-spacing: .04em; text-transform: uppercase; color: rgba(242,244,248,.72); }
.wa-dash-top b { font-size: 28px; font-weight: 700; line-height: 1; letter-spacing: -.02em; color: #fff; }
.wa-dash-chart { width: 100%; height: auto; }
.wa-dash-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.wa-dash-row i { height: 16px; border-radius: 4px; background: linear-gradient(90deg, rgba(140,200,255,.35) 0 45%, rgba(255,255,255,.08) 45%); }
.wa-dash-row i:nth-child(2) { background: linear-gradient(90deg, rgba(126,224,168,.4) 0 70%, rgba(255,255,255,.08) 70%); }
.wa-album { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.wa-tile { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 4px; }
.wa-tile::before { content: ""; position: absolute; left: 50%; top: 50%; width: 26px; height: 26px; margin: -13px 0 0 -13px; border-radius: 50%; background: rgba(0,0,0,.42) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 10'%3E%3Cpath d='M3 2l5 3-5 3z' fill='%23fff'/%3E%3C/svg%3E") 55% 50% / 12px no-repeat; }
.wa-tile small { position: absolute; left: 6px; bottom: 4px; font-size: 9.5px; font-weight: 600; color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.6); }
/* a talking head, a product shot, a text slide, then the rest of the album */
.wa-t1 { background: radial-gradient(circle at 50% 36%, #e9bc93 0 15%, transparent 16%), radial-gradient(ellipse 36% 30% at 50% 100%, #10131b 0 97%, transparent 100%), linear-gradient(165deg, #3B7BFF, #5732D0); }
.wa-t2 { background: radial-gradient(ellipse 34% 7% at 50% 80%, rgba(0,0,0,.22), transparent), linear-gradient(#e3b347, #e3b347) 50% 56% / 34% 40% no-repeat, linear-gradient(160deg, #fff1df, #f7b7a3); }
.wa-t3 { background: linear-gradient(#fff, #fff) 18% 26% / 62% 7% no-repeat, linear-gradient(#fff, #fff) 18% 40% / 44% 7% no-repeat, linear-gradient(#7EE0A8, #7EE0A8) 18% 70% / 32% 9% no-repeat, linear-gradient(160deg, #0a1531, #0d1d52); }
.wa-t4 { background: linear-gradient(160deg, #8CC8FF, #0054FF); }
.wa-t4::before { content: none; }
.wa-t4 b { position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; font-weight: 500; color: #fff; background: rgba(0,0,0,.45); }
.wa-album-tag { position: absolute; left: 7px; top: 7px; display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px 3px 6px; border-radius: 99px; font-size: 10px; font-weight: 600; color: #fff; background: rgba(0,0,0,.55); }
.wa-album-tag svg { width: 8px; height: 8px; fill: currentColor; }
.wa-typing { position: relative; justify-self: start; display: inline-flex; gap: 4px; padding: 11px 12px; border-radius: 8px; border-top-left-radius: 0; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.wa-typing::before { content: ""; position: absolute; top: 0; width: 8px; height: 13px; background: inherit; }
.wa-typing i { width: 7px; height: 7px; border-radius: 50%; background: #8696a0; }
.wa-type { position: relative; flex: none; display: flex; align-items: center; gap: 6px; padding: 6px 8px 20px; background: #efeae2; }
.wa-type::after { content: ""; position: absolute; left: 50%; bottom: 6px; width: 96px; height: 4px; margin-left: -48px; border-radius: 2px; background: #111b21; }
.wa-input { flex: 1; display: flex; align-items: center; gap: 8px; height: 38px; padding: 0 12px; border-radius: 99px; color: #8696a0; background: #fff; box-shadow: 0 1px .5px rgba(11,20,26,.13); }
.wa-input > span { flex: 1; }
.wa-input svg, .wa-mic svg { flex: none; width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.wa-mic { flex: none; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; color: #fff; background: #00a884; }
@media (max-width: 720px) {
  .jphone-stage { padding: 16px 0 26px; }
  .jphone { width: min(288px, 100%); transform: rotateY(-8deg) rotateX(3deg); }
  .wa-head { gap: 7px; padding-right: 8px; }
  .wa-head svg { width: 17px; height: 17px; }
  .wa-avatar { width: 30px; height: 30px; font-size: 13px; }
  .wa-who b { font-size: 13.5px; }
}
/* While the chat plays (org-motion.js adds .is-live) it no longer scrolls by hand: the messages still to come wait,
   transparent but still in the list, below the bottom edge */
.jsays.is-live .wa-body { overflow: hidden; }
.jsays.is-live .wa-msg:not(.is-in) { opacity: 0; }

/* 3. What you get */
.get h2 { max-width: 14ch; }
.items { display: grid; gap: 16px; counter-reset: item; }
.item { display: grid; grid-template-columns: auto 1fr; gap: clamp(16px, 4vw, 48px); padding: clamp(24px, 4vw, 44px); border-radius: var(--r); background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)); box-shadow: inset 0 0 0 1px var(--line); }
.item-no { font-family: var(--serif); font-size: clamp(44px, 6vw, 72px); line-height: .85; color: transparent; -webkit-text-stroke: 1px rgba(140,200,255,.6); }
.item-body { display: grid; gap: 14px; align-content: start; min-width: 0; }
.item h3 { font-family: var(--serif); font-size: clamp(30px, 4vw, 44px); line-height: 1.05; letter-spacing: -.01em; }
.item-body > p:not(.label) { color: var(--muted); max-width: 58ch; }
.ticks { display: grid; gap: 10px; margin-top: 4px; }
.ticks li, .includes li { position: relative; padding-left: 30px; }
.ticks li::before, .includes li::before { content: ""; position: absolute; left: 0; top: .32em; width: 18px; height: 18px; border-radius: 50%; background: rgba(0,84,255,.22) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CC8FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 12px no-repeat; }
@media (min-width: 900px) { .ticks { grid-template-columns: 1fr 1fr; column-gap: 32px; } }

/* The main course leads; the complimentary group sits under it in the Mitos gold */
.item-main { background: radial-gradient(90% 120% at 100% 0%, rgba(0,84,255,.28), transparent 65%), linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.012)); box-shadow: inset 0 0 0 1px rgba(140,200,255,.32), 0 40px 80px -50px rgba(0,84,255,.7); }
.item-main h3 { font-size: clamp(36px, 5.2vw, 60px); }
.item-main .label { color: var(--cyan); }
.item-bonus { box-shadow: inset 0 0 0 1px rgba(227,179,71,.22); }
.item-bonus .item-no { -webkit-text-stroke-color: rgba(227,179,71,.6); }
.item-bonus .label { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.tag { display: inline-flex; align-items: center; padding: 3px 9px; border-radius: var(--pill); font-family: var(--mono); font-size: 11px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.4; white-space: nowrap; }
.tag-gold { background: rgba(227,179,71,.14); color: var(--gold); box-shadow: inset 0 0 0 1px rgba(227,179,71,.4); }
.tag-soon { background: rgba(255,255,255,.06); color: var(--muted); box-shadow: inset 0 0 0 1px var(--line2); }
.tag-new { background: rgba(0,84,255,.22); color: var(--cyan); box-shadow: inset 0 0 0 1px rgba(140,200,255,.45); }
.ticks .tag, .item .label .tag { vertical-align: 1px; }
/* the AI Office modules, numbered like the course */
.ticks.one { grid-template-columns: none; }
.mods li { padding-left: 34px; }
.mods li::before { content: none; }
.mods .num { position: absolute; left: 0; top: .28em; font-family: var(--mono); font-size: 12px; color: var(--cyan); }
.bonus { display: grid; gap: 12px; margin-top: 4px; }
@media (min-width: 640px) { .bonus { grid-template-columns: 1fr 1fr; } }
.bonus-card { display: flex; align-items: center; gap: 16px; padding: 18px; border-radius: 18px; text-decoration: none; background: radial-gradient(120% 160% at 0% 0%, rgba(87,50,208,.3), transparent 65%), rgba(255,255,255,.025); box-shadow: inset 0 0 0 1px rgba(227,179,71,.22); transition: box-shadow .25s, transform .25s var(--ease); }
a.bonus-card:hover { box-shadow: inset 0 0 0 1px rgba(227,179,71,.55); transform: translateY(-2px); }
.bonus-card img, .bonus-icon { width: 48px; height: 48px; border-radius: 12px; flex: none; }
.bonus-icon { display: grid; place-items: center; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px var(--line2); }
.bonus-icon svg { width: 26px; height: 26px; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linejoin: round; }
.bonus-card > span:last-child { display: grid; gap: 2px; justify-items: start; min-width: 0; }
.bonus-card strong { font-size: 18px; font-weight: 600; }
.bonus-card small { color: var(--muted); font-size: 14px; }
.bonus-card .url { font-family: var(--mono); font-size: 12px; color: var(--faint); overflow-wrap: anywhere; }
.bonus-card .tag { margin-top: 4px; }
.includes .tag { margin-right: 4px; vertical-align: 1px; }
.includes b { font-weight: 600; }

/* 3b. DIY AI staff versus AI Office */
/* Phones get a compact three-column table with short strings (.sm); wide screens get the full sentences (.lg) */
.compare.sec { padding: 56px 0; }
.compare .sec-head { display: grid; gap: 14px; margin-bottom: 24px; }
.compare .kicker { margin-bottom: 0; }
.compare h2 { max-width: 15ch; font-size: 40px; }
.compare .sec-head > p:last-child { max-width: 52ch; color: var(--muted); }
.compare .lg { display: none; }
.cmp { display: grid; }
.cmp-row { display: grid; grid-template-columns: 74px minmax(0, 1fr) minmax(0, 1fr); }
.cmp-label, .cmp-cell { border-top: 1px solid var(--line); }
.cmp-head .cmp-label, .cmp-head .cmp-cell { border-top: 0; }
.cmp-label { padding: 11px 6px 11px 0; font-family: var(--mono); font-size: 11px; line-height: 1.3; letter-spacing: .04em; text-transform: uppercase; color: var(--cyan); overflow-wrap: anywhere; }
.cmp-cell { padding: 9px 10px; font-size: 14px; line-height: 1.35; }
.cmp-old { color: var(--muted); }
.cmp-new { color: var(--ink); font-weight: 500; background: rgba(0,84,255,.12); border-top-color: rgba(140,200,255,.14); box-shadow: inset 1px 0 0 rgba(140,200,255,.32), inset -1px 0 0 rgba(140,200,255,.32); }
.cmp-new b { font-weight: 600; }
.cmp-head .cmp-cell { display: grid; align-content: end; padding: 12px 10px 10px; }
.cmp-head .label { display: none; }
.cmp-head strong { font-family: var(--serif); font-size: 21px; font-weight: 400; line-height: 1.05; letter-spacing: -.01em; }
.cmp-head .cmp-old strong { color: var(--muted); }
.cmp-head .cmp-new { border-radius: 16px 16px 0 0; background: radial-gradient(120% 140% at 50% 0%, rgba(0,84,255,.5), transparent 70%), linear-gradient(160deg, #0d1d52, #081232); box-shadow: inset 0 1px 0 rgba(140,200,255,.38), inset 1px 0 0 rgba(140,200,255,.38), inset -1px 0 0 rgba(140,200,255,.38); }
.cmp-head .cmp-new .label { color: var(--cyan); }
.cmp-row:last-child .cmp-new { border-radius: 0 0 16px 16px; box-shadow: inset 1px 0 0 rgba(140,200,255,.32), inset -1px 0 0 rgba(140,200,255,.32), inset 0 -1px 0 rgba(140,200,255,.32), 0 40px 70px -40px rgba(0,84,255,.7); }
.compare .org-note { margin-top: 20px; }
@media (min-width: 860px) {
  .compare.sec { padding: clamp(64px, 10vw, 128px) 0; }
  .compare .sec-head { gap: 20px; margin-bottom: clamp(32px, 5vw, 56px); }
  .compare h2 { font-size: clamp(40px, 6.4vw, 76px); }
  .compare .sm { display: none; }
  .compare .lg { display: inline; }
  .cmp-row { grid-template-columns: minmax(160px, .62fr) 1fr 1fr; }
  .cmp-label { padding: 26px 24px 26px 0; font-size: 12px; letter-spacing: .08em; overflow-wrap: normal; }
  .cmp-cell { position: relative; padding: 24px 32px 24px 66px; font-size: 17px; line-height: 1.45; }
  .cmp-new { font-weight: 400; background: rgba(0,84,255,.1); }
  .cmp-cell::before { content: ""; position: absolute; left: 32px; top: 25px; width: 20px; height: 20px; border-radius: 50%; }
  .cmp-old::before { background: rgba(255,255,255,.06) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F2F4F8' stroke-opacity='.55' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M8 8l8 8M16 8l-8 8'/%3E%3C/svg%3E") center / 11px no-repeat; box-shadow: inset 0 0 0 1px var(--line2); }
  .cmp-new::before { background: rgba(0,84,255,.35) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238CC8FF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 13px no-repeat; }
  .cmp-head .cmp-cell { gap: 6px; align-content: start; padding: 26px 32px 24px; }
  .cmp-head .cmp-cell::before { display: none; }
  .cmp-head .label { display: block; font-size: 11px; }
  .cmp-head strong { font-size: 34px; }
  .cmp-head .cmp-new { border-radius: var(--r) var(--r) 0 0; }
  .cmp-row:last-child .cmp-new { border-radius: 0 0 var(--r) var(--r); box-shadow: inset 1px 0 0 rgba(140,200,255,.32), inset -1px 0 0 rgba(140,200,255,.32), inset 0 -1px 0 rgba(140,200,255,.32), 0 50px 90px -50px rgba(0,84,255,.7); }
  .compare .org-note { margin-top: 28px; }
}

/* 4. Pricing */
.pricing { background: radial-gradient(60% 60% at 80% 40%, rgba(0,84,255,.13), transparent 70%); }
.pricing-in { display: grid; gap: 40px; align-items: start; }
.pricing-copy h2 { max-width: 11ch; }
.pricing-copy > p:last-child { margin-top: 24px; max-width: 40ch; color: var(--muted); }
@media (min-width: 960px) { .pricing-in { grid-template-columns: 1fr minmax(0, 500px); gap: 64px; } .pricing-copy { position: sticky; top: 40px; } }
.price-card { display: grid; gap: 24px; padding: clamp(22px, 4vw, 36px); border-radius: 28px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.015)), var(--surface); box-shadow: inset 0 0 0 1px var(--line2), 0 50px 100px -50px rgba(0,84,255,.6); }
.price-head { display: grid; gap: 8px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.price { display: flex; align-items: baseline; gap: 10px; }
.amount { font-family: var(--serif); font-size: clamp(64px, 12vw, 88px); line-height: .9; letter-spacing: -.02em; }
.per { color: var(--muted); font-size: 18px; }
.was { color: var(--faint); font-size: 15px; }
.price-lock { display: flex; align-items: flex-start; gap: 9px; justify-self: start; padding: 9px 13px; border-radius: 12px; font-size: 14px; line-height: 1.45; color: var(--ink); background: rgba(0,84,255,.16); box-shadow: inset 0 0 0 1px rgba(140,200,255,.38); }
.price-lock svg { width: 16px; height: 16px; flex: none; margin-top: 2px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.billing { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; margin: 16px 0 14px; border-radius: var(--pill); box-shadow: inset 0 0 0 1px var(--line2); }
.billing[hidden] { display: none; }
.billing button { position: relative; display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 6px 8px; min-height: 44px; padding: 8px 12px; border: 0; border-radius: var(--pill); background: none; font-size: 15px; font-weight: 600; line-height: 1.2; color: var(--muted); cursor: pointer; transition: background .2s var(--ease), color .2s var(--ease); }
.billing button:hover { color: var(--ink); }
.billing button[aria-pressed="true"] { background: var(--ink); color: #000; }
/* The annual saving sits on the pill's top-right edge: gold, bobbing gently, with a light sweeping across it. */
.billing .save { position: absolute; top: -17px; right: -6px; z-index: 1; overflow: hidden; padding: 6px 12px; border-radius: var(--pill); background: linear-gradient(135deg, #F4D27A, var(--gold) 55%, #C9952B); box-shadow: 0 0 0 3px var(--surface), 0 10px 24px -8px rgba(227,179,71,.8); font: 700 13px/1.2 var(--mono); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; color: #1A1200; }
.billing .save::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(255,255,255,.75) 50%, transparent 65%); transform: translateX(-120%); }
@media (prefers-reduced-motion: no-preference) {
  .billing .save { animation: save-bob 2.6s ease-in-out infinite; }
  .billing .save::after { animation: save-shine 3.2s ease-in-out infinite 1s; }
  @keyframes save-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-2deg); } }
  @keyframes save-shine { 0%, 55% { transform: translateX(-120%); } 85%, 100% { transform: translateX(120%); } }
}
.includes { display: grid; gap: 12px; }
.renews { font-size: 14px; color: var(--muted); padding: 14px 16px; border-radius: 14px; background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--line); }

.checkout { display: grid; gap: 16px; }
.join { display: grid; gap: 14px; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; font-size: 15px; color: var(--muted); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--blue); cursor: pointer; }
.check a { color: var(--cyan); text-underline-offset: 3px; }
.msg { min-height: 1.4em; font-size: 14px; color: var(--muted); }
.msg:empty { min-height: 0; }
.msg.is-error { color: var(--warn); }
.panel { display: grid; gap: 12px; padding: 20px; border-radius: 18px; background: rgba(255,255,255,.035); box-shadow: inset 0 0 0 1px var(--line2); outline: none; }
.panel:focus-visible { box-shadow: inset 0 0 0 2px var(--cyan); }
.panel h3 { font-family: var(--serif); font-size: 30px; line-height: 1.05; }
.panel > p:not(.label) { color: var(--muted); font-size: 15px; }
.panel-ok { box-shadow: inset 0 0 0 1px rgba(126,224,168,.45); background: radial-gradient(120% 120% at 0% 0%, rgba(126,224,168,.12), transparent 60%), rgba(255,255,255,.03); }
.panel-ok h3 { color: var(--ok); }
.panel form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; font-size: 14px; font-weight: 600; }
.field input { width: 100%; min-height: 50px; padding: 12px 16px; border-radius: 14px; border: 1px solid var(--line2); background: rgba(0,0,0,.35); font-size: 16px; font-weight: 400; }
.field input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; border-color: transparent; }
.field[hidden] { display: none; }
.field-hint { font-size: 13px; font-weight: 400; line-height: 1.5; color: var(--faint); }
.field-hint a { color: var(--cyan); }
.code { display: grid; gap: 12px; }
.turnstile:empty { display: none; }
.turnstile { min-height: 65px; }
.google { display: flex; justify-content: center; min-height: 44px; }
.or { display: flex; align-items: center; gap: 12px; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line2); }
.account { font-size: 14px; color: var(--muted); overflow-wrap: anywhere; }
.account b { color: var(--ink); font-weight: 600; }
.panel > p.until { color: var(--ink); font-weight: 600; }
.renew { display: grid; gap: 10px; }
.renew-note { color: var(--warn); font-size: 15px; font-weight: 600; }
.renew .small { color: var(--faint); font-size: 13px; }
.renew .small a { color: var(--cyan); text-underline-offset: 3px; }
.closed-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }
.closed-actions .btn { flex: 1 1 180px; min-height: 48px; padding: 12px 18px; font-size: 15px; }
.trust { display: grid; gap: 10px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.trust li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; }
.trust svg { width: 20px; height: 20px; fill: none; stroke: var(--cyan); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.trust a { color: var(--ink); text-underline-offset: 3px; }

/* 5. FAQ */
.faq-in { display: grid; gap: 8px; }
@media (min-width: 960px) { .faq-in { grid-template-columns: 1fr 1.4fr; gap: 64px; } }
.faq-list { display: grid; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-child { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; font-size: 19px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.plus { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line2); }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 11px; height: 1.5px; background: var(--ink); transform: translate(-50%, -50%); transition: transform .25s var(--ease); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); }
details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.faq details p { padding: 0 44px 24px 0; color: var(--muted); max-width: 62ch; }
.faq details a { color: var(--cyan); text-underline-offset: 3px; }

/* Footer, as on /academy */
.foot { padding: 36px 0 calc(44px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.foot .wrap { display: grid; gap: 12px; }
.foot-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.foot .brand img { height: 30px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot nav a { text-decoration: none; }
.foot nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.foot .fine { font-size: 13px; color: var(--faint); }

@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }
.vsl-soon { display: grid; place-content: center; gap: 8px; text-align: center; padding: 24px; background: radial-gradient(120% 90% at 50% 0%, rgba(37, 99, 235, .35), #05070f 70%); }
.vsl-soon span { font: 600 12px/1 ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .18em; text-transform: uppercase; opacity: .7; }
.vsl-soon b { font-size: clamp(1.2rem, 3vw, 1.8rem); }
.vsl-soon p { margin: 0; opacity: .75; }
/* Payment method on the price card: CHIP opens straight on FPX's bank list or on DuitNow QR. */
.pay-methods { min-width: 0; margin: 0; padding: 0; border: 0; }
.pay-methods legend { margin-bottom: 8px; padding: 0; font-size: 14px; font-weight: 600; }
.pay-list { display: grid; border-radius: 16px; overflow: hidden; box-shadow: inset 0 0 0 1px var(--line2); }
.pay-method { position: relative; display: grid; grid-template-columns: 22px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 14px 16px; cursor: pointer; }
.pay-method + .pay-method { border-top: 1px solid var(--line); }
.pay-method input { position: absolute; opacity: 0; pointer-events: none; }
.pay-method:has(input:checked) { background: rgba(126,224,168,.07); }
.pay-method:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: -2px; }
.pay-dot { width: 22px; height: 22px; border-radius: 50%; box-shadow: inset 0 0 0 2px var(--line2); display: grid; place-items: center; }
.pay-method input:checked + .pay-dot { background: var(--ok); box-shadow: none; }
.pay-method input:checked + .pay-dot::after { content: ""; width: 9px; height: 5px; border: 2px solid #05210F; border-top: 0; border-right: 0; transform: rotate(-45deg) translate(1px, -1px); }
.pay-method-text { display: grid; gap: 2px; min-width: 0; }
.pay-method-text b { font-size: 15px; font-weight: 600; }
.pay-method-text small { font-size: 12.5px; color: var(--faint); }
/* The official FPX and DuitNow QR marks (from CHIP's checkout), on white as their guidelines show them. */
.pay-logo { display: grid; place-items: center; width: 72px; height: 42px; border-radius: 8px; background: #fff; }
.pay-logo img { display: block; width: auto; max-width: 60px; height: auto; max-height: 22px; }
.pay-logo img[src$="pay-duitnow.svg"] { max-height: 36px; }
.pay-note { font-size: 13px; color: var(--faint); text-align: center; }
.pay-note a { color: var(--cyan); }

/* What students say: real quotes as chat-like cards; a still row, or a slow loop once there are three or more */
.voices { padding: clamp(56px, 8vw, 96px) 0; }
.voices h2 { font-size: clamp(34px, 5vw, 56px); }
.voices-sub { margin: 14px 0 0; max-width: 560px; font-size: 18px; color: var(--muted); }
.voices-viewport { margin-top: clamp(28px, 4vw, 44px); overflow-x: auto; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.voices-viewport::-webkit-scrollbar { display: none; }
.voices-track { display: flex; gap: 18px; width: max-content; margin: 0 auto; padding: 4px max(16px, calc((100vw - 1180px) / 2 + 16px)); }
.voices-track.is-moving { animation: voices-loop var(--voices-time, 40s) linear infinite; }
.voices-viewport:hover .is-moving, .voices-viewport:focus-within .is-moving, .voices-viewport:active .is-moving { animation-play-state: paused; }
@keyframes voices-loop { to { transform: translateX(calc(-50% - 9px)); } }
.voice { flex: none; width: min(420px, calc(100vw - 48px)); margin: 0; padding: 22px 22px 18px; display: flex; flex-direction: column; gap: 12px; border-radius: 22px; background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02)), var(--surface); box-shadow: inset 0 0 0 1px var(--line2), 0 24px 60px -36px rgba(0,84,255,.6); }
.voice blockquote { margin: 0; }
.voice-shot { display: block; width: 100%; height: auto; max-height: 380px; object-fit: contain; border-radius: 14px; background: #a9c98f; box-shadow: 0 0 0 1px var(--line2); }
.voice-theme { margin: 0; font: 600 12px/1.3 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.voice blockquote p { margin: 0; font-size: 19px; line-height: 1.5; color: var(--ink); }
.voice-gloss { margin: 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.voice-gloss:empty { display: none; }
.voice figcaption { margin-top: auto; display: flex; align-items: center; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); }
.voice-avatar { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font: 700 15px/1 var(--sans); color: #fff; background: linear-gradient(160deg, var(--cyan), var(--blue)); }
.voice figcaption b { display: block; font-size: 15px; }
.voice figcaption small { display: block; font: 500 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--faint); }
