/* TeamAccess website: plain HTML + CSS, no external fonts, scripts or trackers. */
:root {
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --surface: #ffffff;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-faint: #94a3b8;
  --line: #e2e8f0;
  --accent: #2563eb;
  --accent-ink: #ffffff;
  --accent-soft: #eaf1ff;
  --good: #16a34a;
  --bad: #dc2626;
  --amber: #f5b301;
  --shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 12px 32px rgba(15, 23, 42, .08);
  --radius: 14px;
  --stage: #0f1115;
  --stage-tile: #161a22;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b1020;
    --bg-soft: #0f1629;
    --surface: #131b30;
    --ink: #e8edf7;
    --ink-soft: #a7b3c8;
    --ink-faint: #64748b;
    --line: #22304d;
    --accent: #5b8cff;
    --accent-ink: #0b1020;
    --accent-soft: #16244a;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px rgba(0, 0, 0, .35);
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.6 "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand svg { width: 30px; height: 30px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--ink-soft); padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.nav a:hover { color: var(--ink); background: var(--bg-soft); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav .btn { margin-left: 8px; }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--accent-ink); background: var(--accent); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; color: var(--ink); font: inherit; cursor: pointer; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  .nav.open { display: flex; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 10px; border: 1px solid transparent;
  font: inherit; font-weight: 600; cursor: pointer; text-decoration: none !important;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-small { padding: 8px 14px; font-size: 14px; }

/* Download button: a soft pulse, a light sweep and a bobbing arrow. Switched off for people who prefer reduced motion. */
.btn-download { position: relative; overflow: hidden; animation: dl-pulse 2.6s ease-out infinite; }
.btn-download svg { width: 18px; height: 18px; flex: none; animation: dl-bob 1.6s ease-in-out infinite; }
.btn-download::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .38), transparent); transform: skewX(-20deg); animation: dl-shine 3.8s ease-in-out infinite; pointer-events: none; }
.btn-download:hover { animation-play-state: paused; }
@keyframes dl-pulse {
  0%   { box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent), 0 0 0 0 color-mix(in srgb, var(--accent) 45%, transparent); }
  70%  { box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent), 0 0 0 16px transparent; }
  100% { box-shadow: 0 6px 16px color-mix(in srgb, var(--accent) 35%, transparent), 0 0 0 0 transparent; }
}
@keyframes dl-bob { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
@keyframes dl-shine { 0%, 55% { left: -60%; } 100% { left: 130%; } }
@media (prefers-reduced-motion: reduce) { .btn-download, .btn-download svg, .btn-download::after { animation: none !important; } }

/* Card icons: pop in when the card scrolls into view, float gently, and fill with the accent colour on hover. */
.card { transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.icon { transition: opacity .5s ease, transform .55s cubic-bezier(.34, 1.56, .64, 1), background .2s ease, color .2s ease; }
.icon svg { animation: icon-float 4s ease-in-out infinite; }
.cards .card:nth-child(2) .icon svg { animation-delay: -.7s; }
.cards .card:nth-child(3) .icon svg { animation-delay: -1.4s; }
.cards .card:nth-child(4) .icon svg { animation-delay: -2.1s; }
.cards .card:nth-child(5) .icon svg { animation-delay: -2.8s; }
.cards .card:nth-child(6) .icon svg { animation-delay: -3.5s; }
.js .card:not(.in) .icon { opacity: 0; transform: scale(.4) rotate(-24deg); }
.cards .card:nth-child(3n+2) .icon { transition-delay: .08s, .08s, 0s, 0s; }
.cards .card:nth-child(3n) .icon { transition-delay: .16s, .16s, 0s, 0s; }
.card:hover .icon { background: var(--accent); color: var(--accent-ink); transform: scale(1.12) rotate(-6deg); transition-delay: 0s; }
.card:hover .icon svg { animation-play-state: paused; }
@keyframes icon-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@media (prefers-reduced-motion: reduce) { .js .card:not(.in) .icon { opacity: 1; transform: none; } .icon svg { animation: none !important; } }

/* Ticks: each line slides in and its tick pops as the list scrolls into view, one after the other. */
.ticks li { transition: opacity .5s ease, transform .5s ease; }
.ticks li::before { transition: transform .5s cubic-bezier(.34, 1.56, .64, 1), opacity .3s ease, box-shadow .3s ease; }
.js .ticks li:not(.in) { opacity: 0; transform: translateX(-14px); }
.js .ticks li:not(.in)::before { opacity: 0; transform: scale(0) rotate(-90deg); }
.ticks li.in:nth-child(2), .ticks li.in:nth-child(2)::before { transition-delay: .1s; }
.ticks li.in:nth-child(3), .ticks li.in:nth-child(3)::before { transition-delay: .2s; }
.ticks li.in:nth-child(4), .ticks li.in:nth-child(4)::before { transition-delay: .3s; }
.ticks li.in:nth-child(5), .ticks li.in:nth-child(5)::before { transition-delay: .4s; }
.ticks li.in:nth-child(6), .ticks li.in:nth-child(6)::before { transition-delay: .5s; }
.ticks li.in:nth-child(7), .ticks li.in:nth-child(7)::before { transition-delay: .6s; }
.ticks li.in:nth-child(8), .ticks li.in:nth-child(8)::before { transition-delay: .7s; }
.ticks li.in:hover::before { transform: scale(1.18); box-shadow: 0 0 0 5px color-mix(in srgb, var(--accent) 22%, transparent); transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) { .js .ticks li:not(.in), .js .ticks li:not(.in)::before { opacity: 1; transform: none; } }

/* Steps 1 2 3: each card rises in, its number spins in, then a soft ring runs 1, 2, 3 again and again. */
.step { transition: transform .2s ease, box-shadow .2s ease; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.steps .step:nth-child(1) { --d: 0s; --r: 1.4s; }
.steps .step:nth-child(2) { --d: .15s; --r: 2.9s; }
.steps .step:nth-child(3) { --d: .3s; --r: 4.4s; }
.js .step:not(.in), .js .step:not(.in)::before { opacity: 0; }
.js .step.in { animation: step-in .6s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: var(--d); }
.js .step.in::before { animation: step-pop .6s cubic-bezier(.34, 1.56, .64, 1) backwards, step-ring 4.5s ease-out infinite; animation-delay: calc(var(--d) + .25s), var(--r); }
@keyframes step-in { from { opacity: 0; transform: translateY(18px); } }
@keyframes step-pop { from { opacity: 0; transform: scale(0) rotate(-120deg); } }
@keyframes step-ring {
  0%   { box-shadow: 0 0 0 0 color-mix(in srgb, var(--accent) 55%, transparent); }
  25%  { box-shadow: 0 0 0 12px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@media (prefers-reduced-motion: reduce) { .js .step:not(.in), .js .step:not(.in)::before { opacity: 1; } .js .step.in, .js .step.in::before { animation: none; } }

/* Flow diagram: packets travel both ways between the PCs and the server, and the server glows as they arrive. */
.flow .link { position: relative; width: 88px; height: 26px; flex: none; }
.flow .link::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: repeating-linear-gradient(90deg, var(--ink-faint) 0 6px, transparent 6px 12px); opacity: .55; }
.flow .link i { position: absolute; width: 9px; height: 9px; border-radius: 50%; left: 0; opacity: 0; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 22%, transparent); animation: flow-right 2.4s linear infinite; }
.flow .link i:nth-child(1) { top: 2px; }
.flow .link i:nth-child(2) { bottom: 2px; background: var(--good); box-shadow: 0 0 0 4px color-mix(in srgb, var(--good) 22%, transparent); animation-name: flow-left; animation-delay: -1.2s; }
.flow .node.server + .link i:nth-child(1) { animation-delay: -1.2s; }
.flow .node.server + .link i:nth-child(2) { animation-delay: 0s; }
.flow .node.server { animation: node-glow 2.4s ease-in-out infinite; }
@keyframes flow-right { 0% { left: 0; opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: calc(100% - 9px); opacity: 0; } }
@keyframes flow-left { 0% { left: calc(100% - 9px); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { left: 0; opacity: 0; } }
@keyframes node-glow { 0%, 100% { box-shadow: 0 0 0 0 transparent; } 50% { box-shadow: 0 0 0 8px color-mix(in srgb, var(--accent) 18%, transparent); } }
@media (max-width: 560px) { .flow .link { width: 44px; } }
@media (prefers-reduced-motion: reduce) { .flow .link i { display: none; } .flow .node.server { animation: none; } }

/* The white download button on the blue banner: same pulse, sweep and arrow, tuned for a light button. */
.btn-light.btn-download { animation-name: dl-pulse-light; }
.btn-light.btn-download::after { background: linear-gradient(100deg, transparent, rgba(37, 99, 235, .22), transparent); }
@keyframes dl-pulse-light {
  0%   { box-shadow: 0 8px 20px rgba(0, 0, 0, .18), 0 0 0 0 rgba(255, 255, 255, .55); }
  70%  { box-shadow: 0 8px 20px rgba(0, 0, 0, .18), 0 0 0 16px rgba(255, 255, 255, 0); }
  100% { box-shadow: 0 8px 20px rgba(0, 0, 0, .18), 0 0 0 0 rgba(255, 255, 255, 0); }
}

/* ---------- hero ---------- */
.hero { padding: 72px 0 40px; background:
  radial-gradient(900px 400px at 85% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
  radial-gradient(700px 320px at 0% 0%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 999px; }
h1 { font-size: clamp(34px, 5vw, 56px); line-height: 1.08; letter-spacing: -.02em; margin: 18px 0 18px; }
.lead { font-size: 19px; color: var(--ink-soft); max-width: 34em; margin: 0 0 28px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px 10px; margin: 28px 0 0; padding: 0; list-style: none; }
.chips li { font-size: 14px; color: var(--ink-soft); background: var(--surface); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; }
@media (max-width: 900px) { .hero { padding-top: 44px; } .hero-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- sections ---------- */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
.section-head { max-width: 660px; margin: 0 0 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
h2 { font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.015em; margin: 0 0 12px; }
h3 { font-size: 19px; margin: 0 0 6px; }
.section-head p { color: var(--ink-soft); font-size: 18px; margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 1px 2px rgba(15, 23, 42, .04); }
.card p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }
.icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; margin-bottom: 16px; }
.icon svg { width: 24px; height: 24px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split.reverse > :first-child { order: 2; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } .split.reverse > :first-child { order: 0; } }

.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-soft); }
.ticks li strong { color: var(--ink); }
.ticks li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-6.5' fill='none' stroke='%232563eb' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-weight: 700; margin-bottom: 14px; }
.step p { margin: 0; color: var(--ink-soft); font-size: 15.5px; }

.flow { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; color: var(--ink-soft); font-size: 15px; }
.flow .node { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 16px; font-weight: 600; color: var(--ink); }
.flow .node.server { background: var(--accent-soft); border-color: transparent; color: var(--accent); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 0 20px; }
.faq summary { cursor: pointer; padding: 16px 0; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0 0 16px; color: var(--ink-soft); }

/* ---------- get ---------- */
.get { text-align: center; }
.get-box { background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 92%, #000), color-mix(in srgb, var(--accent) 60%, #6d28d9)); color: #fff; border-radius: 22px; padding: 48px 28px; }
.get-box h2 { color: #fff; }
.get-box p { color: rgba(255, 255, 255, .88); max-width: 40em; margin: 0 auto 8px; font-size: 18px; }
.get-box .btn-light { background: #fff; color: #1d4ed8; margin-top: 18px; }
.get-note { font-size: 14px !important; margin-top: 18px !important; color: rgba(255, 255, 255, .75) !important; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0; color: var(--ink-soft); font-size: 14.5px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; align-items: center; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }

/* ---------- app mock-ups (drawn in CSS, no real names or IDs) ---------- */
.mock { border-radius: 14px; overflow: hidden; background: var(--stage); box-shadow: var(--shadow); border: 1px solid color-mix(in srgb, var(--line) 70%, transparent); font-size: 13px; color: #e5e7eb; }
.mock-bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: var(--surface); border-bottom: 1px solid var(--line); color: var(--ink); }
.mock-bar b { margin-right: 8px; font-size: 13px; }
.mock-bar .sp { flex: 1; }
.pill { font-size: 11.5px; padding: 4px 9px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); color: var(--ink); white-space: nowrap; }
.pill.red { background: #fde8e8; color: #b91c1c; border-color: transparent; }
.pill.blue { background: var(--accent); color: #fff; border-color: transparent; }
.mock-screen { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1e3a8a, #0b1224 70%); position: relative; }
.win { position: absolute; background: #f3f4f6; border-radius: 8px; box-shadow: 0 10px 28px rgba(0, 0, 0, .45); overflow: hidden; color: #111827; }
.win i { display: block; height: 8px; margin: 8px 10px 0; border-radius: 4px; background: #d1d5db; }
.win i.short { width: 50%; }
.win i.mid { width: 72%; }
.win .hd { height: 18px; background: #e5e7eb; display: flex; align-items: center; gap: 4px; padding: 0 8px; }
.win .hd span { width: 7px; height: 7px; border-radius: 50%; background: #9ca3af; }
.cursor { position: absolute; width: 0; height: 0; border-left: 9px solid transparent; border-right: 9px solid transparent; border-bottom: 16px solid #fff; transform: rotate(-25deg); filter: drop-shadow(0 1px 1px rgba(0,0,0,.6)); }
.toast { position: absolute; right: 10px; bottom: 10px; background: rgba(15, 17, 21, .92); color: #e5e7eb; border-radius: 9px; padding: 8px 12px; font-size: 12px; display: flex; gap: 8px; align-items: center; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--good); display: inline-block; }
.dot.red { background: #ef4444; }

.grid-mock { padding: 8px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; background: var(--stage); }
.tile { position: relative; border-radius: 9px; background: var(--stage-tile); aspect-ratio: 4 / 3; display: grid; place-items: center; border: 2px solid #232836; overflow: hidden; }
.tile.speaking { border-color: var(--good); }
.tile .av { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; font-size: 17px; }
.tile .nm { position: absolute; left: 6px; bottom: 6px; background: rgba(0, 0, 0, .65); padding: 2px 7px; border-radius: 5px; font-size: 11px; }
.tile .hand { position: absolute; right: 6px; top: 6px; background: var(--amber); color: #1f1400; font-weight: 700; padding: 1px 6px; border-radius: 6px; font-size: 11px; }
.tile .react { position: absolute; top: 4px; left: 50%; transform: translateX(-50%); font-size: 26px; }
.tile.cam { background: linear-gradient(160deg, #14532d, #052e16); }
.tile.cam2 { background: linear-gradient(160deg, #1e3a8a, #0b122b); }
.tile.cam3 { background: linear-gradient(160deg, #7c2d12, #2a1007); }
.mock-foot { display: flex; gap: 6px; flex-wrap: wrap; padding: 9px 10px; background: var(--surface); border-top: 1px solid var(--line); color: var(--ink); }

.panel { background: var(--surface); color: var(--ink); border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 22px; font-size: 14.5px; }
.panel h4 { margin: 0 0 4px; font-size: 16px; }
.panel .sub { color: var(--ink-soft); font-size: 13px; margin: 0 0 14px; }
.row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); }
.row:first-of-type { border-top: 0; }
.switch { width: 38px; height: 22px; border-radius: 999px; background: var(--line); position: relative; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .15s; }
.switch.on { background: var(--accent); }
.switch.on::after { transform: translateX(16px); }
.wait { margin-top: 14px; background: color-mix(in srgb, var(--accent) 8%, var(--surface)); border: 1px solid var(--accent); border-radius: 12px; padding: 12px 14px; }
.wait .who { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 4px 0; }
.wait .who span:first-child { font-weight: 600; }
.stack > * + * { margin-top: 18px; }

/* Grid children may shrink below their content, so the mock-ups never widen the page on a phone. */
.hero-grid > *, .split > * { min-width: 0; }
.mock-bar { overflow: hidden; }
.mock-bar b, .mock-bar span { white-space: nowrap; }
@media (max-width: 560px) {
  .mock-bar .pill:not(.red) { display: none; }
  .mock-bar > span:not(.sp):not(.pill) { display: none; }
  .grid-mock { grid-template-columns: repeat(2, 1fr); }
  .get-box { padding: 36px 20px; }
}

/* ---------- guide page ---------- */
.guide { display: grid; grid-template-columns: 230px 1fr; gap: 48px; padding: 48px 0 72px; align-items: start; }
.toc { position: sticky; top: 88px; display: grid; gap: 2px; font-size: 14.5px; }
.toc a { color: var(--ink-soft); padding: 7px 12px; border-radius: 8px; border-left: 2px solid transparent; }
.toc a:hover { background: var(--bg-soft); color: var(--ink); text-decoration: none; }
.doc h1 { font-size: clamp(30px, 4vw, 42px); margin-top: 0; }
.doc h2 { font-size: 27px; margin: 56px 0 12px; padding-top: 8px; }
.doc h3 { margin: 26px 0 6px; }
.doc p, .doc li { color: var(--ink-soft); }
.doc ol, .doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); }
.doc kbd, .doc code { font: 13.5px/1.4 ui-monospace, "Cascadia Mono", Consolas, monospace; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 6px; padding: 1px 6px; color: var(--ink); }
.note { border-left: 4px solid var(--accent); background: var(--accent-soft); padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 18px 0; color: var(--ink); }
.note.warn { border-color: var(--amber); background: color-mix(in srgb, var(--amber) 14%, var(--surface)); }
.doc table { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 15px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.doc th { color: var(--ink); font-weight: 600; width: 32%; }
.doc td { color: var(--ink-soft); }
@media (max-width: 900px) { .guide { grid-template-columns: 1fr; gap: 12px; } .toc { position: static; display: flex; flex-wrap: wrap; gap: 6px; } .toc a { border: 1px solid var(--line); } }
