:root {
  --blue: #1a80f4;
  --blue-deep: #045699;
  --blue-light: #80c6ff;
  --paper: #fffaeb;
  --bg: #fbfaf6;
  --bg-alt: #f2f5fa;
  --ink: #0b1b2e;
  --muted: #55667c;
  --line: #e3e7ee;
  --card: #ffffff;
  --radius: 18px;
  --shadow: 0 1px 2px rgb(11 27 46 / 6%), 0 12px 32px -12px rgb(11 27 46 / 18%);
  --shadow-lg: 0 2px 4px rgb(11 27 46 / 6%), 0 40px 80px -30px rgb(4 86 153 / 35%);
  --sora: "Sora", system-ui, sans-serif;
  --manrope: "Manrope", system-ui, sans-serif;
  --mono: ui-monospace, "JetBrains Mono", "SFMono-Regular", Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 500 16px/1.6 var(--manrope);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--sora); letter-spacing: -0.02em; line-height: 1.1; margin: 0; }
p { margin: 0; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }
.i { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }

kbd {
  display: inline-block;
  font: 600 0.78em/1 var(--manrope);
  padding: 0.35em 0.55em;
  border-radius: 6px;
  background: #fff;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  color: var(--ink);
  vertical-align: 0.1em;
}
code { font-family: var(--mono); font-size: 0.9em; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px;
  border-radius: 12px;
  font: 600 15px/1 var(--manrope);
  text-decoration: none;
  border: 1px solid transparent;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-sm { padding: 9px 14px; font-size: 14px; border-radius: 10px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 6px 16px -6px rgb(26 128 244 / 60%); }
.btn-primary:hover { background: #0f6fdc; }
.btn-ghost { background: var(--card); border-color: var(--line); }
.btn-ghost:hover { border-color: #c9d1dd; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgb(251 250 246 / 80%);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-color: var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font: 700 20px/1 var(--sora); letter-spacing: -0.02em; }
.nav-links { display: flex; gap: 4px; margin-inline: auto; }
.nav-links a { text-decoration: none; color: var(--muted); padding: 8px 12px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.nav-links a:hover { color: var(--ink); background: rgb(11 27 46 / 5%); }
.nav-cta { display: flex; gap: 8px; }

/* Hero */
.hero { padding: 72px 0 96px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -40% -10% auto auto; width: 70%; aspect-ratio: 1;
  background: radial-gradient(closest-side, rgb(128 198 255 / 35%), transparent);
  z-index: -1;
}
.hero-in { display: grid; grid-template-columns: 1fr 1.25fr; gap: 56px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 14px 6px 10px; border-radius: 999px;
  background: var(--paper); border: 1px solid #f1e6c4;
  font-size: 13px; font-weight: 700; text-decoration: none; color: #6b5a24;
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #2fb36a; box-shadow: 0 0 0 3px rgb(47 179 106 / 20%); }
.pill-sep { opacity: .5; }
.hero h1 { font-size: clamp(40px, 5.4vw, 66px); margin: 22px 0 20px; font-weight: 700; }
.hero h1 em { font-style: normal; color: var(--blue); }
.lede { font-size: 18px; color: var(--muted); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 28px 0 0; font-size: 14px; color: var(--muted); font-weight: 600; }
.hero-meta li { display: flex; align-items: center; gap: 8px; }
.hero-meta li::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5L20 7'/%3E%3C/svg%3E") center/9px no-repeat; }

.hero-shot { position: relative; perspective: 1400px; }
.hero-shot .window {
  transform: rotateY(calc(-8deg + var(--rx, 0deg))) rotateX(calc(4deg + var(--ry, 0deg)));
  transform-origin: left center;
  transition: transform .4s cubic-bezier(.2,.7,.2,1);
}
.window {
  border-radius: 14px; overflow: hidden;
  background: #fff;
  border: 1px solid rgb(11 27 46 / 10%);
  box-shadow: var(--shadow-lg);
}
.float {
  position: absolute; display: flex; gap: 8px; align-items: center;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  padding: 10px 14px; font-size: 14px; font-weight: 700; box-shadow: var(--shadow);
  animation: bob 6s ease-in-out infinite;
}
.float code { background: var(--bg-alt); padding: 3px 7px; border-radius: 6px; color: var(--blue-deep); }
.f1 { left: -28px; bottom: 18%; }
.f2 { right: -12px; top: -18px; animation-delay: -3s; }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* Sections */
.section { padding: 112px 0; }
.section.alt { background: var(--bg-alt); }
.head { max-width: 680px; margin: 0 auto 56px; text-align: center; }
.head.left { text-align: left; margin-inline: 0; }
.eyebrow { font: 600 14px/1 var(--sora); color: var(--blue); margin-bottom: 14px; }
.head h2 { font-size: clamp(32px, 4vw, 48px); font-weight: 700; margin-bottom: 18px; }
.head p:not(.eyebrow) { color: var(--muted); font-size: 17px; }

/* Quick Look demo */
.ql {
  position: relative; max-width: 920px; margin: 0 auto;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  box-shadow: var(--shadow); overflow: hidden; outline: none;
}
.ql:focus-visible { box-shadow: 0 0 0 3px rgb(26 128 244 / 35%), var(--shadow); }
.ql-bar { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; border-bottom: 1px solid var(--line); background: #fcfcfd; }
.crumbs { color: var(--muted); font-weight: 600; font-size: 14px; }
.crumbs span { margin: 0 4px; opacity: .6; }
.crumbs b { color: var(--ink); }
.ql-space { display: flex; align-items: center; gap: 8px; background: var(--bg-alt); border: 1px solid var(--line); border-radius: 10px; padding: 6px 12px 6px 6px; font-weight: 700; font-size: 13px; }
.ql-space:hover { border-color: var(--blue-light); }
.ql-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(124px, 1fr)); gap: 8px; padding: 24px; min-height: 340px; align-content: start; }
.file {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 16px 8px 12px; border-radius: 12px; border: 1px solid transparent; background: none;
  font-size: 13px; font-weight: 600; text-align: center; word-break: break-word;
  transition: background .15s;
}
.file:hover { background: var(--bg-alt); }
.file[aria-selected="true"] { background: #e3effd; border-color: #b9d8fb; }
.ficon { width: 56px; height: 64px; position: relative; display: grid; place-items: center; }
.ficon.doc { background: #fff; border: 1px solid #dfe3ea; border-radius: 6px 16px 6px 6px; box-shadow: 0 2px 4px rgb(0 0 0 / 5%); }
.ficon.doc span { position: absolute; bottom: 8px; font: 700 9px/1 var(--manrope); color: #fff; padding: 3px 5px; border-radius: 4px; background: var(--c, var(--blue)); text-transform: uppercase; }
.ficon.doc::before { content: ""; position: absolute; top: 14px; left: 10px; right: 10px; height: 18px; background: repeating-linear-gradient(#e6e9ef 0 3px, transparent 3px 7px); }
.ficon.img { border-radius: 8px; width: 64px; height: 48px; background: linear-gradient(160deg, #ffcf7a, #ff7a8a 45%, #5b3fa6); box-shadow: 0 2px 6px rgb(0 0 0 / 15%); }
.ql-hint { display: flex; gap: 6px; align-items: center; justify-content: center; padding: 0 0 18px; font-size: 13px; color: var(--muted); }

.ql-preview {
  position: absolute; inset: 0; display: grid; place-items: center;
  background: rgb(11 27 46 / 25%); backdrop-filter: blur(6px);
  animation: fade .18s ease;
}
.ql-preview[hidden] { display: none; }
.ql-card {
  width: min(560px, 92%); max-height: 88%;
  background: #fff; border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 45%);
  display: flex; flex-direction: column;
  animation: pop .22s cubic-bezier(.2,.9,.3,1.2);
}
.ql-card-bar { display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 18px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14px; }
.ql-meta { color: var(--muted); font-weight: 600; font-size: 13px; margin-left: auto; }
.ql-close { background: var(--bg-alt); border: 0; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; }
.ql-close .i { width: 16px; height: 16px; }
.ql-body { overflow: auto; }
@keyframes fade { from { opacity: 0; } }
@keyframes pop { from { opacity: 0; transform: scale(.94); } }

/* Preview contents */
.pv-photo { aspect-ratio: 16/10; position: relative; background: linear-gradient(#ffc78a, #ff8d8d 40%, #7a4fb8 75%); overflow: hidden; }
.pv-photo::before { content: ""; position: absolute; width: 22%; aspect-ratio: 1; border-radius: 50%; background: #fff3c4; left: 58%; top: 26%; box-shadow: 0 0 60px #ffe3a1; }
.pv-photo::after { content: ""; position: absolute; inset: 45% 0 0; background: #2b1d4f; clip-path: polygon(0 60%, 18% 20%, 32% 48%, 52% 0, 70% 42%, 84% 22%, 100% 50%, 100% 100%, 0 100%); }
.pv-code { margin: 0; padding: 18px 20px; background: #0f1724; color: #d6deeb; font: 13px/1.7 var(--mono); overflow: auto; }
.pv-code .k { color: #c792ea; } .pv-code .s { color: #addb67; } .pv-code .f { color: #82aaff; } .pv-code .c { color: #637777; font-style: italic; } .pv-code .n { color: #f78c6c; }
.pv-md { padding: 24px 28px; font-size: 15px; }
.pv-md h4 { font: 700 22px/1.2 var(--sora); margin: 0 0 10px; }
.pv-md ul { padding-left: 20px; margin: 10px 0; }
.pv-md code { background: var(--bg-alt); padding: 2px 6px; border-radius: 5px; }
.pv-zip { list-style: none; margin: 0; padding: 8px 0; }
.pv-zip li { display: flex; justify-content: space-between; padding: 9px 20px; font-size: 14px; border-bottom: 1px solid #f0f2f6; }
.pv-zip li span:last-child { color: var(--muted); }
.pv-pdf { background: #e9edf3; padding: 24px; display: grid; place-items: center; }
.pv-pdf .page { background: #fff; width: 70%; aspect-ratio: 1/1.3; padding: 10% 9%; box-shadow: 0 6px 18px rgb(0 0 0 / 12%); }
.pv-pdf .page b { display: block; font: 700 18px var(--sora); margin-bottom: 12px; }
.pv-pdf .page i { display: block; height: 7px; border-radius: 4px; background: #e3e7ee; margin: 9px 0; }
.pv-pdf .page i.blk { height: 60px; background: linear-gradient(90deg, #cfe3fb, #e3effd); }
.pv-audio { padding: 28px; display: flex; gap: 20px; align-items: center; }
.pv-audio .art { width: 120px; aspect-ratio: 1; border-radius: 12px; background: conic-gradient(from 120deg, #1a80f4, #80c6ff, #045699, #1a80f4); flex: none; }
.pv-audio .wave { display: flex; gap: 3px; align-items: center; height: 64px; flex: 1; }
.pv-audio .wave i { flex: 1; background: var(--blue); border-radius: 2px; animation: wave 1.1s ease-in-out infinite; }
@keyframes wave { 50% { transform: scaleY(.35); } }

/* Feature cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: #e3effd; color: var(--blue); margin-bottom: 20px; }
.ic .i { width: 22px; height: 22px; }
.card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 15px; }

/* Showcase */
.show { margin-top: 96px; }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 28px; }
.tabs [role="tab"] { background: transparent; border: 1px solid transparent; border-radius: 999px; padding: 9px 16px; font-weight: 700; font-size: 14px; color: var(--muted); }
.tabs [role="tab"]:hover { color: var(--ink); }
.tabs [aria-selected="true"] { background: var(--card); border-color: var(--line); color: var(--ink); box-shadow: 0 1px 2px rgb(0 0 0 / 5%); }
.show-fig { margin: 0 auto; max-width: 980px; }
.show-fig img { transition: opacity .25s; }
.show-fig img.swap { opacity: 0; }
.show-fig figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 20px; min-height: 3em; }
.keys { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 40px; }
.keys div { display: flex; gap: 6px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 8px 14px 8px 8px; font-size: 14px; font-weight: 600; }
.keys span { color: var(--muted); margin-left: 4px; }

/* Addons */
.addons { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; }
.addons li { display: grid; gap: 4px; padding-left: 16px; border-left: 3px solid var(--blue-light); }
.addons b { font: 600 17px var(--sora); }
.addons span { color: var(--muted); font-size: 15px; }
#addons .note { text-align: left; }

/* Search demo */
.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.chips button { font: 600 14px var(--mono); background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 8px 12px; color: var(--blue-deep); }
.chips button:hover { border-color: var(--blue-light); background: #f3f8ff; }
.sbox { background: var(--card); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: 18px; }
.sfield { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; color: var(--muted); transition: border-color .15s, box-shadow .15s; }
.sfield:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px rgb(26 128 244 / 15%); }
.sfield input { flex: 1; border: 0; outline: 0; background: none; font: 600 16px var(--manrope); padding: 14px 0; color: var(--ink); min-width: 0; }
.scount { font-size: 13px; color: var(--muted); font-weight: 600; padding: 14px 6px 6px; }
.slist { list-style: none; margin: 0; padding: 0; height: 336px; overflow: auto; }
.slist li { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 8px; border-radius: 10px; animation: fade .2s; }
.slist li:hover { background: var(--bg-alt); }
.slist .k { width: 34px; height: 34px; border-radius: 8px; display: grid; place-items: center; font: 700 9px var(--manrope); text-transform: uppercase; color: #fff; background: var(--c); }
.slist .nm { font-weight: 700; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.slist .pt { display: block; font-size: 12px; color: var(--muted); font-weight: 500; }
.slist .mt { font-size: 12px; color: var(--muted); text-align: right; white-space: nowrap; }
.slist .tag { display: inline-block; font-size: 11px; font-weight: 700; padding: 1px 7px; border-radius: 999px; background: #fdecc8; color: #7a5a00; margin-left: 6px; }
.slist mark { background: #fff1a8; color: inherit; border-radius: 3px; }
.empty { text-align: center; color: var(--muted); padding: 60px 0; display: block !important; }

/* Themes */
.section.dark { background: #050b14; color: #e8eef7; }
.dark .head p:not(.eyebrow) { color: #93a3b8; }
.dark .eyebrow { color: var(--blue-light); }
.themer { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: center; }
.tlist { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tlist button {
  display: flex; align-items: center; gap: 10px; text-align: left;
  background: #0d1624; border: 1px solid #1c2a3d; border-radius: 10px; padding: 9px 10px; font-size: 13px; font-weight: 700; color: #c9d5e5;
}
.tlist button:hover { border-color: #2e4560; }
.tlist button[aria-checked="true"] { border-color: var(--blue-light); color: #fff; background: #10213a; }
.sw { width: 18px; height: 18px; border-radius: 50%; flex: none; border: 1px solid rgb(255 255 255 / 20%); }
.alist { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.alist button { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; outline-offset: 2px; background: var(--a); }
.alist button[aria-checked="true"] { box-shadow: 0 0 0 2px #050b14, 0 0 0 4px #fff; }
.mock {
  --m-bg: #fff; --m-side: #f3f4f7; --m-fg: #1d1d1f; --m-mut: #6b7280; --m-line: #e5e7eb; --m-acc: #1a80f4;
  display: grid; grid-template-columns: 190px 1fr; min-height: 380px;
  border-radius: 16px; overflow: hidden; border: 1px solid rgb(255 255 255 / 10%);
  background: var(--m-bg); color: var(--m-fg); font-size: 13px; font-weight: 600;
  box-shadow: 0 40px 80px -30px rgb(26 128 244 / 40%);
  transition: background .35s, color .35s;
}
.mock * { transition: background .35s, color .35s, border-color .35s; }
.mock-side { background: var(--m-side); padding: 16px 10px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid var(--m-line); }
.mock-side b { font-size: 11px; color: var(--m-mut); padding: 10px 10px 4px; }
.mock-side span { padding: 7px 10px; border-radius: 8px; }
.mock-side span.on { background: color-mix(in srgb, var(--m-acc) 18%, transparent); color: var(--m-acc); }
.mock-side .bar { display: block; height: 4px; border-radius: 4px; background: var(--m-line); margin-top: 6px; }
.mock-side .bar i { display: block; height: 100%; border-radius: inherit; background: var(--m-acc); }
.mock-top { display: flex; gap: 12px; justify-content: space-between; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--m-line); }
.mock-path { color: var(--m-mut); }
.mock-path strong { color: var(--m-fg); }
.mock-search { border: 1px solid var(--m-line); border-radius: 8px; padding: 6px 12px; color: var(--m-mut); font-weight: 500; min-width: 0; overflow: hidden; white-space: nowrap; }
.mock-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; padding: 18px; }
.mf { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 12px 4px; border-radius: 10px; border: 1px solid transparent; }
.mf.sel { background: color-mix(in srgb, var(--m-acc) 16%, transparent); border-color: color-mix(in srgb, var(--m-acc) 40%, transparent); }
.mf .fold { width: 48px; height: 38px; border-radius: 4px 6px 6px 6px; background: var(--m-acc); position: relative; }
.mf .fold::before { content: ""; position: absolute; left: 0; top: -5px; width: 20px; height: 8px; border-radius: 4px 4px 0 0; background: var(--m-acc); }
.mf .fold::after { content: ""; position: absolute; inset: 8px 0 0; border-radius: 4px 4px 6px 6px; background: linear-gradient(rgb(255 255 255 / 35%), rgb(255 255 255 / 10%)); }
.mf .doc { width: 34px; height: 42px; border-radius: 4px 10px 4px 4px; background: var(--m-side); border: 1px solid var(--m-line); }
.mock.translucent { backdrop-filter: blur(20px); }

/* Install */
.install { max-width: 820px; margin: 0 auto; }
.term { background: #0b1220; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-lg); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #131c2e; color: #8a9ab0; font-size: 13px; font-weight: 600; }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #2b3a52; }
.term-bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.term-body { display: flex; gap: 16px; align-items: flex-start; padding: 22px 20px; }
.term-body code { flex: 1; color: #e3ebf7; font-size: 14px; line-height: 1.7; word-break: break-all; white-space: pre-wrap; }
.term-body code::before { content: "$ "; color: var(--blue-light); }
.copy { flex: none; background: #1d2a40; border: 1px solid #2b3a52; color: #e3ebf7; border-radius: 8px; padding: 7px 14px; font-weight: 700; font-size: 13px; }
.copy:hover { background: #24344f; }
.copy.ok { background: #1a6b41; border-color: #2fb36a; }
.note { color: var(--muted); font-size: 14px; margin-top: 16px; text-align: center; min-height: 1.6em; }
.note code { background: var(--bg-alt); padding: 2px 6px; border-radius: 5px; }
.reqs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.reqs div { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px; font-size: 14px; color: var(--muted); }
.reqs b { display: block; color: var(--ink); font-family: var(--sora); font-weight: 600; margin-bottom: 6px; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: 1fr 1.6fr; gap: 64px; align-items: start; }
.faq-wrap .head { position: sticky; top: 100px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font: 600 17px/1.4 var(--sora); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 24px/1 var(--manrope); color: var(--blue); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding: 0 32px 22px 0; }
.faq code { background: #fff; padding: 2px 6px; border-radius: 5px; }

/* CTA + footer */
.cta { padding: 120px 0; text-align: center; background: radial-gradient(60% 80% at 50% 100%, rgb(128 198 255 / 35%), transparent), var(--bg); }
.cta-in { display: flex; flex-direction: column; align-items: center; }
.cta img { margin-bottom: 24px; filter: drop-shadow(0 16px 24px rgb(4 86 153 / 30%)); }
.cta h2 { font-size: clamp(34px, 4.6vw, 56px); margin-bottom: 14px; }
.cta p { color: var(--muted); font-size: 18px; }
.cta .hero-actions { justify-content: center; }
.foot { border-top: 1px solid var(--line); padding: 48px 0; font-size: 14px; color: var(--muted); }
.foot-in { display: grid; grid-template-columns: 1.2fr 1fr 1.6fr; gap: 40px; }
.foot .brand { color: var(--ink); margin-bottom: 12px; font-size: 18px; }
.foot-links { display: flex; flex-direction: column; gap: 8px; }
.foot a { text-decoration-color: rgb(85 102 124 / 40%); text-underline-offset: 3px; }
.foot-links a { text-decoration: none; font-weight: 600; }
.foot-links a:hover, .foot a:hover { color: var(--ink); }
.credits p + p { margin-top: 6px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 980px) {
  .hero-in, .split, .faq-wrap, .themer { grid-template-columns: 1fr; }
  .hero { padding-top: 48px; }
  .hero-shot { margin-top: 12px; }
  .cards { grid-template-columns: 1fr 1fr; }
  .faq-wrap .head { position: static; }
  .foot-in { grid-template-columns: 1fr 1fr; }
  .credits { grid-column: 1 / -1; }
  .tlist { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
}
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav-cta { margin-left: auto; }
  .nav-cta .btn-ghost span { display: none; }
  .section { padding: 80px 0; }
  .cards, .reqs { grid-template-columns: 1fr; }
  .f1 { left: 8px; bottom: -22px; }
  .f2 { display: none; }
  .mock { grid-template-columns: 1fr; }
  .mock-side { display: none; }
  .ql-grid { grid-template-columns: repeat(3, 1fr); padding: 14px; min-height: 380px; }
  .ql-hint { display: none; }
  .term-body { flex-direction: column; }
  .foot-in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
