/* Campuslit website. One accent, one typeface, no external requests (everything is served from this site). */
@font-face { font-family: "Plus Jakarta Sans"; src: url("assets/fonts/jakarta-latin.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  --bg: #f6f8fd; --surface: #ffffff; --ink: #0e1a33; --ink-2: #33415f; --muted: #566683; --line: #e1e7f3; --line-2: #cdd7ec;
  --accent: #2f5bea; --accent-2: #2147c4; --accent-soft: #e9efff; --navy: #0b1d40; --navy-2: #12295a; --gold: #f2b84b; --ok: #16794a; --warn-bg: #fff4dc; --warn-ink: #8a5a00;
  --r: 20px; --r-s: 12px; --ease: cubic-bezier(.22, 1, .36, 1);
  --shadow-s: 0 1px 2px rgba(14, 26, 51, .05);
  --shadow: 0 1px 2px rgba(14, 26, 51, .05), 0 28px 56px -30px rgba(14, 26, 51, .32);
  --shadow-l: 0 2px 4px rgba(11, 29, 64, .08), 0 50px 100px -40px rgba(11, 29, 64, .55);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Plus Jakarta Sans", system-ui, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: var(--accent-2); text-underline-offset: 3px; }
:focus-visible { outline: 3px solid rgba(47, 91, 234, .6); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { margin: 0; letter-spacing: -.028em; line-height: 1.14; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
.wrap { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; padding: 10px 14px; background: var(--ink); color: #fff; border-radius: 8px; }
.skip:focus { left: 12px; }
.sr { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 60; transition: background-color .25s, box-shadow .25s, border-color .25s; border-bottom: 1px solid transparent; }
.site-header.scrolled, .site-header.light { background: rgba(255, 255, 255, .82); backdrop-filter: blur(18px) saturate(150%); -webkit-backdrop-filter: blur(18px) saturate(150%); border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 11px; color: #fff; text-decoration: none; font-weight: 800; font-size: 20px; letter-spacing: -.03em; }
.brand img, .brand .logo { display: block; flex: none; width: 34px; height: 34px; border-radius: 10px; }
.brand .logo { box-shadow: 0 0 0 1px rgba(255, 255, 255, .14); }
.scrolled .brand .logo, .light .brand .logo { box-shadow: none; }
.brand span span { font-weight: 400; opacity: .72; }
.scrolled .brand, .light .brand { color: var(--ink); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { padding: 8px 13px; border-radius: 10px; color: rgba(255, 255, 255, .82); text-decoration: none; font-size: 15px; font-weight: 600; transition: color .15s, background-color .15s; }
.nav-links a:hover { color: #fff; background: rgba(255, 255, 255, .1); }
.scrolled .nav-links a:not(.btn), .light .nav-links a:not(.btn) { color: var(--muted); }
.scrolled .nav-links a:not(.btn):hover, .light .nav-links a:not(.btn):hover { color: var(--ink); background: var(--accent-soft); }
.nav-links .btn { margin-left: 8px; }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; border-radius: 12px; background: rgba(255, 255, 255, .12); color: #fff; cursor: pointer; }
.scrolled .menu-btn, .light .menu-btn { background: var(--accent-soft); color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; margin: auto; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 48px; padding: 0 24px; border: 1px solid transparent; border-radius: 13px; font: 700 15.5px/1 "Plus Jakarta Sans", system-ui, sans-serif; text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s var(--ease), background-color .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 12px 28px -12px rgba(47, 91, 234, .8); }
.btn-primary:hover { background: #2a52d6; transform: translateY(-1px); box-shadow: 0 16px 32px -12px rgba(47, 91, 234, .9); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { transform: translateY(-1px); background: #f2f5ff; }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { border-color: #b3c1de; transform: translateY(-1px); }
.btn-glass { background: rgba(255, 255, 255, .1); color: #fff; border-color: rgba(255, 255, 255, .28); }
.btn-glass:hover { background: rgba(255, 255, 255, .18); transform: translateY(-1px); }
.btn:active { transform: scale(.98); }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 14.5px; }
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff; background: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; padding: 148px 0 0; color: #fff; text-align: center; background:
  radial-gradient(1000px 520px at 18% -8%, rgba(47, 91, 234, .62), transparent 62%),
  radial-gradient(800px 460px at 104% 6%, rgba(242, 184, 75, .2), transparent 58%), var(--navy); }
.hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5; background-image: linear-gradient(rgba(255, 255, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .06) 1px, transparent 1px); background-size: 56px 56px; -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0, transparent 72%); mask-image: radial-gradient(ellipse at 50% 0%, #000 0, transparent 72%); }
.hero { z-index: 2; overflow-x: clip; }   /* the glow behind the picture must not make the page scroll sideways */
.hero .wrap { position: relative; display: flow-root; }   /* flow-root keeps the picture's negative bottom margin inside, so it overlaps the next section */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 7px 16px; border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; background: rgba(255, 255, 255, .08); font-size: 14px; font-weight: 700; color: rgba(255, 255, 255, .9); }
.eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(242, 184, 75, .25); }
.hero h1 { max-width: 15ch; margin: 26px auto 0; font-size: clamp(42px, 7vw, 80px); font-weight: 800; letter-spacing: -.048em; line-height: 1.02; }
.hero h1 em { font-style: normal; background: linear-gradient(100deg, #ffd88a, var(--gold) 45%, #ffe9bd); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { max-width: 62ch; margin: 24px auto 0; font-size: clamp(17px, 2vw, 20.5px); line-height: 1.6; color: rgba(255, 255, 255, .8); }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14.5px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.trust li { display: inline-flex; align-items: center; gap: 8px; }
.trust svg { width: 17px; height: 17px; color: var(--gold); }
.hero-visual { position: relative; margin: 60px auto -150px; max-width: 1040px; }
.hero-visual::before { content: ""; position: absolute; inset: 8% -6% -4%; z-index: -1; border-radius: 40px; background: radial-gradient(60% 60% at 50% 40%, rgba(47, 91, 234, .5), transparent 70%); filter: blur(40px); }

/* ---------- browser frame + before/after ---------- */
.frame { margin: 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); box-shadow: var(--shadow); overflow: hidden; color: var(--ink); text-align: left; }
.frame.big { box-shadow: var(--shadow-l); border-color: rgba(255, 255, 255, .18); }
.frame-bar { display: flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #fbfcff; }
.frame-bar i { width: 11px; height: 11px; border-radius: 50%; background: #dde3f0; }
.frame-bar span { margin: 0 auto; padding: 3px 16px; border-radius: 999px; background: #f0f3fa; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.frame-bar b { width: 49px; }
.frame img { width: 100%; }
.frame figcaption { padding: 11px 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); background: #fbfcff; }
.compare { --pos: 50%; }
.compare-stage { position: relative; overflow: hidden; line-height: 0; background: #fff; }
.compare-stage img { width: 100%; }
.compare-before { position: absolute; inset: 0; height: 100%; object-fit: cover; object-position: left top; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 0 1px rgba(11, 29, 64, .22), 0 0 22px rgba(11, 29, 64, .4); pointer-events: none; }
.compare-handle::after { content: ""; position: absolute; top: 50%; left: 50%; width: 46px; height: 46px; margin: -23px; border-radius: 50%; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5bea' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m9 7-5 5 5 5M15 7l5 5-5 5'/%3E%3C/svg%3E") center / 24px no-repeat; box-shadow: 0 6px 20px rgba(11, 29, 64, .45), 0 0 0 1px rgba(11, 29, 64, .1); transition: transform .2s var(--ease); }
.compare:hover .compare-handle::after { transform: scale(1.08); }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.compare-range:focus-visible ~ .compare-handle::after { outline: 3px solid rgba(47, 91, 234, .7); outline-offset: 3px; }
.compare-tag { position: absolute; top: 16px; z-index: 2; padding: 7px 13px; border-radius: 999px; background: rgba(11, 29, 64, .86); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.2; pointer-events: none; backdrop-filter: blur(6px); }
.compare-tag.b { left: 16px; } .compare-tag.a { right: 16px; background: rgba(47, 91, 234, .92); }

/* ---------- sections ---------- */
section { padding: 96px 0 0; }
.section-head { max-width: 680px; margin-bottom: 40px; }
.section-head.center { margin-inline: auto; text-align: center; }
.kicker { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 16px; font-size: 13px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-2); }
.kicker::before { content: ""; width: 18px; height: 3px; border-radius: 2px; background: var(--gold); }
.section-head h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; letter-spacing: -.04em; }
.section-head p { margin-top: 18px; color: var(--muted); font-size: 19px; }
.card { padding: 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-s); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s; }
.card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card h3 { font-size: 20px; font-weight: 800; letter-spacing: -.022em; }
.card p { margin-top: 11px; font-size: 16px; color: var(--muted); }
.card p + p { margin-top: 10px; }

.theme-stage { display: grid; gap: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.theme-stage .chips { justify-content: center; }
.theme-note { text-align: center; color: var(--muted); font-size: 15.5px; }
.chip { display: inline-flex; align-items: center; gap: 10px; min-height: 46px; padding: 0 20px 0 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); font: 700 15px/1 "Plus Jakarta Sans", system-ui, sans-serif; cursor: pointer; transition: border-color .2s, box-shadow .2s, transform .2s var(--ease); }
.chip:hover { border-color: #b9c8e6; transform: translateY(-1px); }
.chip[aria-pressed="true"] { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 91, 234, .15); }
.chip i { width: 24px; height: 24px; border-radius: 50%; background: linear-gradient(135deg, var(--a) 50%, var(--b) 50%); box-shadow: inset 0 0 0 1px rgba(14, 26, 51, .14); }
.chip[data-theme="bahria"] { --a: #0b1d40; --b: #2f5bea; } .chip[data-theme="crystal"] { --a: #f4f6fc; --b: #4263eb; } .chip[data-theme="midnight"] { --a: #1f2028; --b: #a5b5ff; }
.chip[data-theme="linen"] { --a: #f5f2ec; --b: #80613d; } .chip[data-theme="grove"] { --a: #f0f5f2; --b: #2d7c5b; } .chip[data-theme="bloom"] { --a: #fcf0f6; --b: #b73c7d; } .chip[data-theme="custom"] { --a: #321a1f; --b: #e11d48; }


/* ---------- facts strip under the hero ---------- */
.facts { position: relative; z-index: 1; padding: 190px 0 0; }
.facts .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px 36px; }
.facts p { padding-left: 18px; border-left: 3px solid var(--gold); font-size: 15.5px; line-height: 1.55; color: var(--muted); }
.facts b { display: block; margin-bottom: 2px; color: var(--ink); font-size: 16px; }

/* ---------- features, one at a time ---------- */
.tablist { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.tab { min-height: 44px; padding: 0 20px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink-2); font: 700 15px/1 "Plus Jakarta Sans", system-ui, sans-serif; cursor: pointer; transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s; }
.tab:hover { border-color: #b9c8e6; }
.tab[aria-selected="true"] { background: var(--navy); border-color: var(--navy); color: #fff; box-shadow: 0 10px 24px -12px rgba(11, 29, 64, .7); }
.tabs:not([data-ready]) .tablist { display: none; }
.tabs:not([data-ready]) .tabpanel + .tabpanel { margin-top: 72px; }
.tabpanel { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.tabpanel[hidden] { display: none; }
.tabpanel.fresh { animation: panel-in .45s var(--ease) both; }
.panel-text h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 800; letter-spacing: -.04em; }
.panel-text > p { margin-top: 16px; color: var(--muted); font-size: 17.5px; }
.ticks { margin: 20px 0 0; list-style: none; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 13px; font-size: 16px; font-weight: 600; color: var(--ink-2); }
.ticks li::before { content: ""; flex: none; width: 24px; height: 24px; margin-top: 1px; border-radius: 50%; background: var(--accent-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f5bea' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.2 4.2L19 7'/%3E%3C/svg%3E") center / 13px no-repeat; }
.where { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; }
.where span { padding: 5px 12px; border-radius: 999px; background: #eaf0ff; color: var(--accent-2); font-size: 13px; font-weight: 700; }
.fine-note { margin-top: 16px; padding-left: 14px; border-left: 3px solid var(--gold); font-size: 14.5px; color: var(--muted); }
.kbd { display: inline-block; min-width: 28px; padding: 1px 8px; border: 1px solid var(--line-2); border-bottom-width: 3px; border-radius: 8px; background: #fff; color: var(--ink); font-size: .86em; font-weight: 700; text-align: center; }
.popup-pair { display: flex; justify-content: center; gap: 24px; align-items: flex-start; }
.popup-pair img { width: min(46%, 270px); border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow); background: #fff; }
@keyframes panel-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- trust band ---------- */
.band-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.band h2 { font-size: clamp(26px, 3.2vw, 38px); font-weight: 800; letter-spacing: -.035em; }
.band-list { list-style: none; display: grid; gap: 14px; }
.band-list li { display: flex; gap: 12px; font-size: 16.5px; color: rgba(255, 255, 255, .85); }
.band-list svg { flex: none; width: 21px; height: 21px; margin-top: 3px; color: var(--gold); }

/* ---------- install ---------- */
.install { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.install .card { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.install .card p { margin-top: 0; }
.install .card .btn { margin-top: auto; }
.badge { padding: 5px 12px; border-radius: 999px; background: var(--warn-bg); color: var(--warn-ink); font-size: 12.5px; font-weight: 800; letter-spacing: .02em; }
.badge.ok { background: #e2f6ea; color: var(--ok); }
details { border: 1px solid var(--line); border-radius: 16px; background: var(--surface); transition: border-color .2s; }
details[open] { border-color: var(--line-2); }
details + details { margin-top: 12px; }
summary { cursor: pointer; padding: 19px 24px; font-weight: 700; font-size: 17px; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 18px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: ""; flex: none; width: 10px; height: 10px; border-right: 2.5px solid var(--muted); border-bottom: 2.5px solid var(--muted); transform: rotate(45deg); transition: transform .25s var(--ease); margin-top: -4px; }
details[open] > summary::after { transform: rotate(-135deg); margin-top: 4px; }
.details-body { padding: 0 24px 22px; color: var(--muted); font-size: 16.5px; }
.details-body p + p { margin-top: 11px; }
.details-body ol { padding-left: 22px; display: grid; gap: 9px; }
.install-steps { max-width: 820px; margin: 28px auto 0; }
code { padding: 2px 7px; border-radius: 7px; background: #eef2fb; font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: .88em; color: var(--ink); }

/* privacy band */
.band { margin-top: 96px; padding: 72px 0; background: radial-gradient(900px 400px at 85% 0%, rgba(47, 91, 234, .35), transparent 62%), var(--navy); color: #fff; }
.band .kicker { color: var(--gold); }
.band .section-head p { color: rgba(255, 255, 255, .74); }
.band a { color: #fff; }
.band a.btn-light { color: var(--navy); }
.band-links { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

/* faq */
.faq { max-width: 820px; margin: 0 auto; }

footer { margin-top: 96px; padding: 56px 0 64px; border-top: 1px solid var(--line); background: #fff; font-size: 15px; color: var(--muted); }
.foot { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 36px; }
.foot .brand { color: var(--ink); }
.foot p { margin-top: 14px; max-width: 34ch; font-size: 14.5px; }
.foot h4 { margin-bottom: 14px; font-size: 13px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); }
.foot ul { list-style: none; display: grid; gap: 10px; }
.foot a { color: var(--muted); text-decoration: none; font-weight: 600; } .foot a:hover { color: var(--accent-2); text-decoration: underline; }
.fine { margin-top: 44px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 92ch; font-size: 13.5px; line-height: 1.65; }

/* ---------- document pages (privacy, licence) ---------- */
.doc-hero { padding: 140px 0 44px; background: radial-gradient(900px 360px at 12% -20%, rgba(47, 91, 234, .12), transparent 62%), var(--bg); border-bottom: 1px solid var(--line); }
.doc-hero h1 { font-size: clamp(36px, 5vw, 56px); font-weight: 800; letter-spacing: -.045em; }
.doc-hero p { margin-top: 16px; max-width: 62ch; color: var(--muted); font-size: 19px; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 22px; font-size: 14.5px; font-weight: 600; color: var(--muted); }
.doc-meta span::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 9px; border-radius: 50%; background: var(--gold); vertical-align: 2px; }
.doc { display: grid; grid-template-columns: 250px minmax(0, 1fr); gap: 64px; align-items: start; padding: 56px 0 0; }
.toc { position: sticky; top: 96px; font-size: 14.5px; }
.toc h2 { margin-bottom: 12px; font-size: 12.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.toc ol { list-style: none; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; margin-left: -2px; padding: 6px 14px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-weight: 600; }
.toc a:hover { color: var(--ink); border-color: var(--line-2); }
.toc a.on { color: var(--accent-2); border-color: var(--accent); }
.prose { min-width: 0; max-width: 760px; }
.prose section { padding: 0; margin-top: 56px; }
.prose section:first-child { margin-top: 0; }
.prose h2 { display: flex; align-items: baseline; gap: 14px; font-size: 26px; font-weight: 800; letter-spacing: -.03em; }
.prose h2 small { flex: none; min-width: 30px; font-size: 14px; font-weight: 800; color: var(--accent); letter-spacing: 0; }
.prose h3 { margin-top: 28px; font-size: 18px; font-weight: 800; letter-spacing: -.015em; }
.prose a, .prose code { overflow-wrap: anywhere; }   /* long addresses must wrap on a phone */
.prose p { margin-top: 14px; color: var(--ink-2); font-size: 17px; }
.prose ul.list { margin-top: 14px; padding-left: 0; list-style: none; display: grid; gap: 10px; }
.prose ul.list li { position: relative; padding-left: 28px; color: var(--ink-2); font-size: 17px; }
.prose ul.list li::before { content: ""; position: absolute; left: 4px; top: 11px; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.prose section.glance { padding: 26px 28px; }
.glance { margin: 0; padding: 26px 28px; border: 1px solid #cfdcf8; border-radius: 18px; background: linear-gradient(100deg, #eef3ff, #fafcff); }
.glance h2 { font-size: 20px; }
.glance ul.list { margin-top: 16px; }
.table-wrap { margin-top: 18px; overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); }
table { width: 100%; border-collapse: collapse; font-size: 15.5px; }
th, td { padding: 14px 18px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
th { background: #f6f8fd; color: var(--ink); font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; white-space: nowrap; }
tr:last-child td { border-bottom: 0; }
td { color: var(--ink-2); }
td:first-child { color: var(--ink); font-weight: 700; }
.license-box { margin-top: 18px; padding: 28px 30px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); font-family: ui-monospace, "Cascadia Mono", Consolas, monospace; font-size: 14.5px; line-height: 1.7; color: var(--ink-2); }
.license-box p { margin-top: 14px; font-family: inherit; font-size: inherit; color: inherit; }
.license-box p:first-child { margin-top: 0; }
.not-found { min-height: 70vh; display: grid; place-items: center; padding: 140px 0 60px; text-align: center; }
.not-found h1 { font-size: clamp(64px, 12vw, 120px); font-weight: 800; letter-spacing: -.06em; color: var(--accent); }
.not-found p { margin: 14px auto 28px; max-width: 40ch; color: var(--muted); font-size: 19px; }

/* ---------- motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .site-header .logo .ring { stroke-dasharray: 1; animation: logo-draw .8s var(--ease) .15s both; }
  .site-header .logo .dot { transform-box: fill-box; transform-origin: center; animation: logo-dot .5s cubic-bezier(.34, 1.56, .64, 1) .68s both; }
  .site-header .brand > span { animation: logo-word .6s var(--ease) .3s both; }
}
@keyframes logo-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes logo-dot { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }
@keyframes logo-word { from { opacity: 0; transform: translateX(-6px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } .card, .btn, .chip, .compare-handle::after { transition: none; } }
@media print { .site-header, .menu-btn, .toc, .band-links { display: none; } .doc { display: block; padding-top: 0; } .doc-hero { padding-top: 24px; } .reveal { opacity: 1; transform: none; } }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .tabpanel { grid-template-columns: 1fr; gap: 32px; }
  .facts .wrap { grid-template-columns: 1fr; gap: 16px; }
  .band-grid { grid-template-columns: 1fr; gap: 28px; }
  .foot { grid-template-columns: 1fr 1fr; }
  .doc { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .toc { position: static; padding: 18px 20px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
  .toc ol { border: 0; grid-template-columns: repeat(2, 1fr); }
  .toc a { margin: 0; border: 0; padding: 6px 4px; }
}
@media (max-width: 800px) {
  body { font-size: 16.5px; }
  .menu-btn { display: grid; }
  .nav-links { position: absolute; left: 12px; right: 12px; top: 74px; display: none; flex-direction: column; align-items: stretch; gap: 2px; padding: 12px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255, 255, 255, .98); box-shadow: var(--shadow-l); }
  .site-header.open .nav-links { display: flex; }
  .nav-links a:not(.btn) { color: var(--ink-2); padding: 13px 14px; font-size: 16px; }
  .nav-links a:not(.btn):hover { color: var(--ink); background: var(--accent-soft); }
  .nav-links .btn { margin: 8px 0 0; }
  .hero { padding-top: 116px; }
  .hero-visual { margin-bottom: -90px; }
  .facts { padding-top: 130px; }
  section { padding-top: 72px; }
  .install { grid-template-columns: 1fr; }
  .tablist { flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -20px; padding: 2px 20px 6px; scrollbar-width: none; }
  .tablist::-webkit-scrollbar { display: none; }
  .tab { flex: none; }
  .band { padding: 56px 0; margin-top: 72px; }
  .frame-bar span { font-size: 11px; padding: 3px 10px; }
  .compare-tag { top: 8px; font-size: 11.5px; padding: 5px 10px; } .compare-tag.b { left: 8px; } .compare-tag.a { right: 8px; }
  .compare-handle::after { width: 38px; height: 38px; margin: -19px; background-size: 20px; }
  .foot { grid-template-columns: 1fr; gap: 30px; }
  .toc ol { grid-template-columns: 1fr; }
  th, td { padding: 12px 14px; }
}

/* ---------- at a glance + landing pages ---------- */
.facts-list { max-width: 860px; margin: 0 auto; display: grid; border: 1px solid var(--line); border-radius: var(--r); background: var(--surface); box-shadow: var(--shadow-s); overflow: hidden; }
.facts-list > div { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 15px 24px; border-bottom: 1px solid var(--line); }
.facts-list > div:last-child { border-bottom: 0; }
.facts-list dt { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.facts-list dd { margin: 0; color: var(--ink); font-weight: 600; font-size: 16.5px; }
.about-links { margin-top: 26px; text-align: center; color: var(--muted); font-size: 16px; }
.prose .frame { margin-top: 22px; }
.prose .cta-box { margin-top: 56px; padding: 30px 32px; border-radius: 18px; background: var(--navy); color: #fff; }
.prose .cta-box h2 { color: #fff; display: block; }
.prose .cta-box p { color: #c7d3ee; }
.prose .cta-box .btn { margin-top: 18px; }
.prose .cta-box .cta-row { margin-top: 18px; }
.prose .cta-box .cta-row .btn { margin-top: 0; }
.prose details { margin-top: 12px; }
@media (max-width: 640px) { .facts-list > div { grid-template-columns: 1fr; gap: 2px; } }

.cta-row.left { justify-content: flex-start; margin-top: 26px; }

.rel-date { margin-top: -6px; color: var(--muted); font-weight: 700; font-size: 15px; }
.prose h2 .badge { vertical-align: middle; margin-left: 8px; }
