storebound/site/style.css

456 lines
33 KiB
CSS

:root {
--bg: #f8fafc;
--bg-alt: #f1f5f9;
--surface: #ffffff;
--ink: #0f172a;
--ink-2: #334155;
--muted: #64748b;
--line: #e2e8f0;
--line-2: #cbd5e1;
--accent: #4f46e5;
--accent-ink: #ffffff;
--accent-soft: #eef2ff;
--code-bg: #0f172a;
--code-ink: #e2e8f0;
--code-muted: #64748b;
--mark: #0f172a;
--mark-ink: #f8fafc;
--api-bg: #dcfce7; --api-ink: #166534;
--local-bg: #e0f2fe; --local-ink: #075985;
--ui-bg: #fef3c7; --ui-ink: #92400e;
--you-bg: #fce7f3; --you-ink: #9d174d; --you-line: #f9a8d4;
--shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 8px 24px -12px rgba(15, 23, 42, .18);
--radius: 14px;
--grid: rgb(15 23 42 / .055);
--ok: #15803d;
--str: #0f766e;
--pv-bg: #f8fafc;
--gutter: 16px;
--font: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
--mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace;
}
@media (prefers-color-scheme: dark) {
:root {
--bg: #0b1120;
--bg-alt: #0f172a;
--surface: #131c2f;
--ink: #f1f5f9;
--ink-2: #cbd5e1;
--muted: #94a3b8;
--line: #1e293b;
--line-2: #334155;
--accent: #818cf8;
--accent-ink: #0b1120;
--accent-soft: #1e1b4b;
--code-bg: #060a14;
--mark: #f1f5f9;
--mark-ink: #0b1120;
--api-bg: #14532d; --api-ink: #86efac;
--local-bg: #0c4a6e; --local-ink: #7dd3fc;
--ui-bg: #451a03; --ui-ink: #fcd34d;
--you-bg: #500724; --you-ink: #f9a8d4; --you-line: #9d174d;
--shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 12px 32px -16px rgba(0, 0, 0, .7);
--grid: rgb(148 163 184 / .07);
--ok: #4ade80;
--str: #5eead4;
--pv-bg: #0e1626;
}
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
margin: 0;
background: var(--bg);
color: var(--ink);
font: 16px/1.6 var(--font);
overflow-x: clip;
text-rendering: optimizeLegibility;
-webkit-font-smoothing: antialiased;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
code { font-family: var(--mono); font-size: .88em; }
:not(pre) > code { background: var(--accent-soft); color: var(--ink); padding: .1em .38em; border-radius: 5px; overflow-wrap: anywhere; }
h1, h2, h3, h4 { line-height: 1.15; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 28px; } }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: var(--bg); padding: 8px 12px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
/* header */
.top { position: sticky; top: 0; z-index: 50; background: var(--bg); box-shadow: 0 6px 16px -12px rgb(0 0 0 / .35); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 60px; gap: 12px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700; letter-spacing: -.01em; font-size: 17px; }
.mark { width: 28px; height: 28px; color: var(--accent); flex: none; --mark-ink: var(--accent-ink); }
.top nav { display: flex; gap: 4px; align-items: center; }
.top nav a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; padding: 6px 10px; border-radius: 8px; }
.top nav a:hover { background: var(--bg-alt); color: var(--ink); }
.top nav .nav-git { border: 1px solid var(--line-2); }
@media (max-width: 640px) { .top nav a:not(.nav-git) { display: none; } }
.copy { font: 600 12.5px var(--font); color: inherit; background: color-mix(in srgb, currentColor 7%, transparent); border: 1px solid color-mix(in srgb, currentColor 20%, transparent); border-radius: 8px; padding: 0 12px; cursor: pointer; flex: none; min-height: 32px; transition: background-color .15s ease, border-color .15s ease; }
.copy:hover { background: color-mix(in srgb, currentColor 14%, transparent); border-color: color-mix(in srgb, currentColor 35%, transparent); }
.copy.done { border-color: #22c55e; }
.code, .term { color: var(--code-ink); }
html:not(.js) .copy { display: none; }
.term { min-width: 0; background: var(--code-bg); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid color-mix(in srgb, var(--code-ink) 10%, transparent); overflow: hidden; }
.term-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; border-bottom: 1px solid color-mix(in srgb, var(--code-ink) 10%, transparent); }
.term-bar span { width: 10px; height: 10px; border-radius: 50%; background: #334155; }
.term-bar em { margin-left: 8px; font: 12px var(--mono); color: var(--code-muted); font-style: normal; }
.term pre { margin: 0; padding: 16px 18px 20px; color: var(--code-ink); font: 13.5px/1.75 var(--mono); overflow-x: auto; }
.term code { font-size: inherit; }
.c { color: var(--code-muted); }
.p { color: #818cf8; user-select: none; }
.you { display: inline-block; margin-top: 6px; color: #f9a8d4; background: #500724; border-radius: 6px; padding: 1px 8px; font-weight: 700; }
/* sections */
.sec { padding: 72px 0; border-top: 1px solid var(--line); }
@media (min-width: 960px) { .sec { padding: 96px 0; } }
.sec.alt { background: var(--bg-alt); }
.kicker { font: 600 12.5px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--accent); margin-bottom: 12px; }
h2 { font-size: clamp(26px, 4.4vw, 38px); font-weight: 750; max-width: 22em; }
.sub { margin-top: 14px; color: var(--ink-2); max-width: 46em; font-size: 17px; }
.note { margin-top: 24px; color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font: 700 11px/1 var(--mono); letter-spacing: .06em; padding: 5px 9px; border-radius: 999px; vertical-align: middle; }
.t-api { background: var(--api-bg); color: var(--api-ink); }
.t-local { background: var(--local-bg); color: var(--local-ink); }
.t-ui { background: var(--ui-bg); color: var(--ui-ink); }
.t-you { background: var(--you-bg); color: var(--you-ink); }
.journey { margin: 36px 0 0; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); background: #0f172a; }
.journey img { width: 100%; }
.legend { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 10px 24px; color: var(--muted); font-size: 14px; }
.legend li { display: flex; align-items: center; gap: 8px; }
.cols3 { display: grid; gap: 16px; margin-top: 36px; }
@media (min-width: 900px) { .cols3 { grid-template-columns: repeat(3, 1fr); } }
.col { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; min-width: 0; }
.col-you { border-color: var(--you-line); }
.col h3 { font-size: 20px; margin-top: 14px; }
.col-sub { color: var(--muted); font-size: 14.5px; margin-top: 8px; }
.col ul { margin: 16px 0 0; padding: 16px 0 0; border-top: 1px dashed var(--line-2); list-style: none; display: grid; gap: 9px; font-size: 15px; color: var(--ink-2); }
.col li { padding-left: 20px; position: relative; }
.col li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--line-2); }
.col li strong { color: var(--ink); }
.qgrid { display: grid; gap: 14px; margin-top: 36px; }
@media (min-width: 640px) { .qgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .qgrid { grid-template-columns: repeat(3, 1fr); } }
.q { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 18px; display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.q-top { display: flex; justify-content: space-between; align-items: center; }
.store { font-size: 12.5px; font-weight: 600; color: var(--muted); }
.q h3 { font-size: 18px; }
.q p { font-size: 14.5px; color: var(--ink-2); flex: 1; }
.q .cmd { align-self: flex-start; background: var(--bg-alt); border: 1px solid var(--line); padding: 3px 9px; border-radius: 6px; font-size: 12.5px; color: var(--ink); }
.badges { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.badges li { font: 600 14.5px var(--font); padding: 9px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); }
.badges li:last-child { border-style: dashed; color: var(--muted); font-weight: 500; }
.shot { margin: 0; min-width: 0; }
.shot img, .shot video { border-radius: 12px; border: 1px solid var(--line); background: #11131a; width: 100%; }
.shot figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.shot-wide { margin-top: 36px; }
.shot-wide img { background: #16171d; }
.art2 { display: grid; gap: 20px; margin-top: 24px; align-items: start; }
@media (min-width: 760px) { .art2 { grid-template-columns: 1fr 240px; } }
.shot-video video { max-width: 240px; margin: 0 auto; }
@media (min-width: 760px) { .shot-video video { margin: 0; } }
.facts { list-style: none; padding: 0; margin: 32px 0 0; display: grid; gap: 14px; }
@media (min-width: 760px) { .facts { grid-template-columns: repeat(2, 1fr); gap: 16px 28px; } }
.facts li { font-size: 15px; color: var(--ink-2); padding-left: 14px; border-left: 2px solid var(--accent); }
.facts b { color: var(--ink); }
/* quick start */
.start { display: grid; gap: 40px; margin-top: 36px; }
.step { min-width: 0; }
.step h3 { font-size: 20px; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--accent-ink); font: 700 15px var(--mono); flex: none; }
.code { position: relative; background: var(--code-bg); border-radius: 12px; border: 1px solid color-mix(in srgb, var(--code-ink) 10%, transparent); }
.code pre { margin: 0; padding: 16px 18px; padding-right: 84px; color: var(--code-ink); font: 13.5px/1.7 var(--mono); overflow-x: auto; }
.code pre code { font-size: inherit; }
.code .copy { position: absolute; top: 10px; right: 10px; }
.tablist { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 14px; scrollbar-width: thin; }
.tablist [role="tab"] { font: 600 14px var(--font); color: var(--ink-2); background: var(--surface); border: 1px solid var(--line-2); border-radius: 999px; padding: 8px 14px; cursor: pointer; white-space: nowrap; flex: none; min-height: 38px; }
.tablist [role="tab"]:hover { color: var(--ink); border-color: var(--muted); }
.tablist [role="tab"][aria-selected="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
html:not(.js) .tablist { display: none; }
.panel { margin-bottom: 18px; }
.panel p { margin-top: 12px; color: var(--ink-2); font-size: 15px; }
.panel-h { font-size: 16px; margin-bottom: 10px; }
html.js .panel-h { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.js .panel[hidden] { display: none; }
.asks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.asks li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px 12px 12px 4px; padding: 10px 14px; font-size: 15px; color: var(--ink); }
/* a first session */
.session { display: grid; gap: 28px; margin-top: 36px; align-items: start; }
@media (min-width: 1020px) { .session { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); } }
.chat { margin: 0; }
.chat pre { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12.5px; line-height: 1.65; }
.chat .o { color: color-mix(in srgb, var(--code-ink) 72%, var(--code-bg)); }
.chat .say { display: block; padding-left: 6ch; text-indent: -6ch; font-family: var(--font); font-size: 14px; line-height: 1.55; margin: 4px 0; color: var(--code-ink); }
.chat .say .who-you, .chat .say .who-ai { display: inline-block; width: 6ch; text-indent: 0; font-family: var(--mono); font-size: 12.5px; }
.chat .say-end { text-indent: 0; }
.chat .say .you { text-indent: 0; font-family: var(--mono); font-size: 12.5px; }
@media (max-width: 640px) { .chat pre { font-size: 11.5px; } .chat .say { font-size: 13.5px; } }
.who-you { color: #f9a8d4; font-weight: 700; }
.who-ai { color: #86efac; font-weight: 700; }
.bl { color: #fca5a5; font-weight: 700; }
.see { min-width: 0; }
.see-fig { margin: 0; }
.see-k { font: 600 12.5px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; }
.see video { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; border: 1px solid var(--line); background: #0b1020; }
.player { position: relative; }
.play { position: absolute; left: 50%; bottom: 14px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px 0 14px; border-radius: 999px; border: 1px solid color-mix(in srgb, #fff 25%, transparent); background: color-mix(in srgb, #0b1020 72%, transparent); color: #fff; font: 650 14.5px var(--font); cursor: pointer; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.play svg { width: 20px; height: 20px; }
.play:hover { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.play:focus-visible { outline-offset: 3px; border-radius: 999px; }
.see figcaption { font-size: 13.5px; color: var(--muted); margin-top: 10px; }
.session-facts { grid-template-columns: 1fr !important; margin-top: 24px; gap: 12px; }
/* safety */
.safety { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 14px; }
@media (min-width: 720px) { .safety { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1020px) { .safety { grid-template-columns: repeat(3, 1fr); } }
.safety li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; min-width: 0; }
.safety h3 { font-size: 17px; margin-bottom: 8px; }
.safety p { font-size: 14.5px; color: var(--ink-2); }
/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 48px; background: var(--bg-alt); }
.foot-in { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; align-items: flex-start; }
.foot .fine { margin-top: 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot nav a { color: var(--ink-2); text-decoration: none; font-size: 14.5px; }
.foot nav a:hover { color: var(--accent); text-decoration: underline; }
@media (max-width: 640px) {
.code { display: grid; }
.code .copy { position: static; justify-self: end; margin: 8px 8px -6px; }
.code pre { padding: 8px 16px 14px; font-size: 12.5px; }
.term pre { font-size: 12.5px; }
.eyebrow { font-size: 12px; }
}
/* external links open in a new tab: small arrow, announced to screen readers */
.ext{display:inline-block;margin-left:.25em;font-size:.8em;opacity:.6;text-decoration:none}
a:hover .ext{opacity:1}
.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}
/* ---------- hero ---------- */
.fine { font-size: 13.5px; color: var(--muted); margin-top: 14px; }
.fine a { color: inherit; }
.hero { position: relative; isolation: isolate; padding: 48px 0 0;
background: radial-gradient(55% 60% at 78% 0%, color-mix(in srgb, var(--accent) 13%, transparent), transparent 70%); }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
background-size: 48px 48px; background-position: center -1px;
-webkit-mask-image: radial-gradient(ellipse 70% 75% at 65% 10%, #000 20%, transparent 72%);
mask-image: radial-gradient(ellipse 70% 75% at 65% 10%, #000 20%, transparent 72%); }
.hero-in { display: grid; gap: 44px; align-items: center; }
@media (min-width: 1024px) { .hero { padding-top: 88px; } .hero-in { grid-template-columns: minmax(0, 1fr) minmax(0, 1.04fr); gap: 64px; } }
.hero-copy { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 550; color: var(--ink-2); background: color-mix(in srgb, var(--surface) 80%, transparent); border: 1px solid var(--line); padding: 4px 12px 4px 10px; border-radius: 999px; margin-bottom: 24px; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px color-mix(in srgb, #22c55e 22%, transparent); flex: none; }
h1 { font-size: clamp(38px, 9.6vw, 60px); font-weight: 760; letter-spacing: -.042em; line-height: 1.03; }
h1 .hl { color: var(--accent); }
.lede { margin-top: 22px; font-size: clamp(17px, 1.6vw, 19px); line-height: 1.6; color: var(--ink-2); max-width: 34em; text-wrap: pretty; }
.lede strong { color: var(--ink); font-weight: 650; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; padding: 0 18px; border-radius: 10px; font-weight: 600; text-decoration: none; font-size: 15px; transition: background-color .15s ease, border-color .15s ease, transform .12s ease; }
.btn svg { width: 16px; height: 16px; margin-right: -4px; transition: transform .15s ease; }
.btn:hover svg { transform: translateX(2px); }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 1px 0 rgb(255 255 255 / .18) inset, 0 6px 16px -8px var(--accent); }
.btn-primary:hover { background: color-mix(in srgb, var(--accent) 86%, var(--ink)); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-2); background: var(--surface); }
.btn-ghost:hover { border-color: var(--muted); }
.install { display: inline-flex; align-items: center; gap: 10px; margin-top: 16px; max-width: 100%; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 5px 5px 5px 14px; color: var(--ink); }
.install code { background: none; padding: 0; border-radius: 0; color: inherit; font-size: 14px; white-space: nowrap; overflow-x: auto; min-width: 0; padding-right: 18px; }
.install .prompt { color: var(--muted); font-family: var(--mono); font-size: 14px; }
.install .copy { color: var(--ink-2); }
.install-note { margin-top: 10px; font-size: 13.5px; color: var(--muted); }
.install-note a { color: inherit; }
.demo { margin: 0; min-width: 0; position: relative; }
.demo::before { content: ""; position: absolute; inset: 8% -4% -6% 6%; z-index: -1; border-radius: 40px; background: color-mix(in srgb, var(--accent) 28%, transparent); filter: blur(60px); opacity: .55; }
.demo-win { background: #0b1222; color: #e2e8f0; border: 1px solid rgb(148 163 184 / .18); border-radius: 14px; overflow: hidden;
box-shadow: 0 0 0 1px rgb(0 0 0 / .04), 0 2px 4px rgb(15 23 42 / .06), 0 24px 60px -20px rgb(15 23 42 / .45); }
.demo-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid rgb(148 163 184 / .12); background: rgb(255 255 255 / .02); }
.demo-bar span { width: 10px; height: 10px; border-radius: 50%; background: #2b3548; }
.demo-bar em { margin-left: 8px; font: 12px var(--mono); color: #94a3b8; font-style: normal; }
.demo-body { padding: 16px 18px 18px; font: 12.5px/1.75 var(--mono); }
.demo-body p { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.d-say { display: flex; gap: 12px; align-items: baseline; font: 14px/1.5 var(--font); color: #f1f5f9; padding: 8px 12px; margin: 4px 0 8px; border-radius: 10px; background: rgb(148 163 184 / .08); white-space: normal !important; }
.d-say b { font: 600 10.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: #a5b4fc; min-width: 6ch; }
.d-you b { color: #f9a8d4; }
.d-ai { background: transparent; padding-left: 12px; color: #cbd5e1; }
.d-say + .d-cmd { margin-top: 2px; }
.d-cmd { color: #f1f5f9; }
.d-cmd i { font-style: normal; color: #818cf8; }
.d-cmd span { display: inline-block; vertical-align: bottom; overflow: hidden; white-space: nowrap; }
.d-out { color: #94a3b8; padding-left: 2ch; }
.d-out i { font-style: normal; color: #94a3b8; display: inline-block; width: 2ch; }
.d-out i.ok { color: #4ade80; }
.d-out + .d-cmd { margin-top: 6px; }
.d-end { display: flex; align-items: center; gap: 14px; margin-top: 14px; padding-top: 14px; border-top: 1px dashed rgb(148 163 184 / .2); }
.d-btn { font: 600 13px/1 var(--font); background: #f8fafc; color: #0f172a; padding: 9px 14px; border-radius: 8px; box-shadow: 0 0 0 4px rgb(249 168 212 / .22); }
.d-yours { font: 500 13px var(--font); color: #f9a8d4; }
/* animation states (main.js adds .is-anim only when motion is allowed) */
.demo.is-anim [data-d] { opacity: 0; transform: translateY(3px); transition: opacity .28s ease, transform .28s ease; }
.demo.is-anim [data-d].on { opacity: 1; transform: none; }
.demo.is-anim .d-cmd.typing span { width: calc(var(--n, 0) * 1ch); }
.demo.is-anim .d-cmd.typing::after { content: ""; display: inline-block; width: .55em; height: 1.15em; margin-left: 1px; vertical-align: -.2em; background: #a5b4fc; animation: caret 1s steps(1) infinite; }
.demo.is-anim.fade .demo-body { opacity: 0; transition: opacity .4s ease; }
@keyframes caret { 50% { opacity: 0; } }
.trust { list-style: none; padding: 22px 0 0; margin: 56px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 8px 0; font-size: 14px; color: var(--ink-2); }
.trust li { display: block; }
.trust li + li::before { content: ""; display: inline-block; vertical-align: middle; width: 3px; height: 3px; border-radius: 50%; background: var(--muted); opacity: .6; margin: 0 14px; }
.trust code { background: none; padding: 0; color: var(--ink); }
.works { margin-top: 10px; padding-bottom: 40px; font-size: 14px; color: var(--muted); }
.works span { color: var(--ink-2); font-weight: 600; margin-right: 4px; }
@media (min-width: 1024px) { .trust { margin-top: 80px; } .works { padding-bottom: 56px; } }
@media (max-width: 640px) {
.hero { padding-top: 36px; }
.demo-body { padding: 14px 14px 16px; font-size: 11.5px; }
.d-say { font-size: 13.5px; gap: 10px; }
.trust { margin-top: 40px; font-size: 13.5px; gap: 6px 18px; }
.trust li + li::before { display: none; }
.d-end { flex-wrap: wrap; gap: 8px 12px; white-space: normal !important; }
.d-mhide { display: none; }
.ctas .btn { flex: 1 1 auto; }
}
/* ---------- sections, shared ---------- */
h2 { font-size: clamp(28px, 4.2vw, 40px); font-weight: 720; letter-spacing: -.032em; line-height: 1.1; max-width: 20em; }
.sub { max-width: 60ch; line-height: 1.6; text-wrap: pretty; }
/* ---------- how it works: stepper ---------- */
.steps { list-style: none; padding: 0; margin: 48px 0 0; position: relative; }
.st { position: relative; padding: 0 0 36px 50px; min-width: 0; }
.st::before { content: ""; position: absolute; left: 15px; top: 40px; bottom: 6px; width: 1px; background: var(--line-2); }
.st:last-child { padding-bottom: 0; }
.st:last-child::before { display: none; }
.st-head { position: static; }
.st-num { position: absolute; left: 0; top: 0; width: 31px; height: 31px; border-radius: 50%; display: grid; place-items: center; font: 600 13px var(--mono); color: var(--accent); background: var(--surface); border: 1px solid color-mix(in srgb, var(--accent) 40%, var(--line)); }
.st-t { display: block; padding-top: 3px; }
.st-t h3 { display: block; font-size: 17.5px; font-weight: 650; letter-spacing: -.015em; color: var(--ink); line-height: 1.35; }
.st-t p { display: block; margin-top: 3px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.st-panel { margin-top: 16px; display: grid; gap: 14px; min-width: 0; align-content: start; }
.st-panel:focus-visible { outline-offset: 6px; }
.pv { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--pv-bg); min-width: 0; color: var(--ink); }
.pv-bar { display: flex; align-items: center; gap: 10px; min-height: 42px; padding: 5px 6px 5px 14px; border-bottom: 1px solid var(--line); }
.pv-k { font: 500 12.5px var(--mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.pv-bar .copy { margin-left: auto; color: var(--ink-2); }
.pv-tag { font: 600 11px/1 var(--mono); padding: 4px 8px; border-radius: 999px; background: var(--api-bg); color: var(--api-ink); flex: none; }
.pv pre { margin: 0; padding: 14px 16px; font: 13px/1.7 var(--mono); overflow-x: auto; }
.pv pre code { font-size: inherit; }
.pv .s { color: var(--str); }
.pv .k { color: var(--accent); }
.pv-term { background: var(--code-bg); border-color: color-mix(in srgb, var(--code-bg) 80%, #94a3b8); color: var(--code-ink); }
.pv-term .pv-bar { border-color: rgb(148 163 184 / .14); min-height: 0; padding-top: 4px; padding-bottom: 4px; }
.pv-term .pv-k { color: #94a3b8; }
.pv-term .pv-bar .copy { color: var(--code-ink); }
.pv-term pre { padding: 12px 16px 14px; }
.pv-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.pv-label { font: 600 11.5px var(--mono); text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-right: 4px; }
.pill { border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 10px; background: var(--surface); }
.pill code { background: none !important; padding: 0 !important; font-size: 13px; }
.tree { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.tree li { display: grid; gap: 2px; padding: 10px 14px; font-size: 14.5px; }
.tree li + li { border-top: 1px solid var(--line); }
.tree code { background: none !important; padding: 0 !important; font-size: 13px; color: var(--ink); font-weight: 600; }
.tree span { color: var(--muted); }
@media (min-width: 560px) { .tree li { grid-template-columns: 200px 1fr; gap: 12px; align-items: baseline; } }
.pv-note { font-size: 14.5px; color: var(--ink-2); max-width: 62ch; }
.pv-note a { color: var(--accent); }
.asks2 { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.asks2 li { display: flex; align-items: center; gap: 12px; padding: 6px 6px 6px 14px; border-radius: 12px 12px 12px 4px; background: var(--accent-soft); border: 1px solid color-mix(in srgb, var(--accent) 22%, transparent); font-size: 14.5px; font-weight: 550; color: var(--ink); }
.asks2 span { flex: 1; min-width: 0; }
.asks2 span::before { content: "\201C"; } .asks2 span::after { content: "\201D"; }
.asks2 .copy { color: var(--accent); background: var(--surface); }
.gate { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; counter-reset: g; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.gate li { counter-increment: g; display: grid; grid-template-columns: 26px 1fr; column-gap: 12px; padding: 12px 14px; font-size: 14.5px; }
.gate li + li { border-top: 1px solid var(--line); }
.gate li::before { content: counter(g); grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 600 12px var(--mono); background: var(--bg-alt); color: var(--ink-2); }
.gate b { color: var(--ink); font-weight: 600; }
.gate span { color: var(--muted); }
.gate .gate-you { background: color-mix(in srgb, var(--you-bg) 55%, var(--surface)); border-radius: 0 0 11px 11px; }
.gate .gate-you::before { background: var(--you-bg); color: var(--you-ink); }
.gate .gate-you b { color: var(--you-ink); }
/* desktop: steps on the left, one shared preview on the right */
@media (min-width: 1024px) {
html.js .steps { display: grid; grid-template-columns: minmax(0, 400px) minmax(0, 1fr); grid-template-rows: repeat(5, auto) 1fr; column-gap: 48px; row-gap: 4px; align-items: start; }
html.js .steps::before { content: ""; position: absolute; left: 32px; top: 40px; bottom: 40px; width: 1px; background: var(--line); }
html.js .st { display: contents; }
html.js .st::before { display: none; }
html.js .st-head { grid-column: 1; position: relative; display: block; padding: 14px 16px 14px 64px; border: 1px solid transparent; border-radius: 14px; cursor: pointer; transition: background-color .2s ease; outline-offset: 2px; }
html.js .st:nth-child(1) .st-head { grid-row: 1; } html.js .st:nth-child(2) .st-head { grid-row: 2; } html.js .st:nth-child(3) .st-head { grid-row: 3; } html.js .st:nth-child(4) .st-head { grid-row: 4; } html.js .st:nth-child(5) .st-head { grid-row: 5; }
html.js .st-num { left: 16px; top: 15px; z-index: 1; transition: background-color .2s ease, color .2s ease; }
html.js .st-head:hover { background: color-mix(in srgb, var(--surface) 60%, transparent); }
html.js .st-head:not([aria-selected="true"]) .st-t p { color: var(--muted); }
html.js .st-head:not([aria-selected="true"]) .st-t h3 { color: var(--ink-2); }
html.js .st-head[aria-selected="true"] { background: var(--surface); border-color: var(--line); box-shadow: var(--shadow); }
html.js .st-head[aria-selected="true"] .st-num { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
html.js .st-head[aria-selected="true"]::after { content: ""; position: absolute; left: 64px; right: 16px; bottom: -1px; height: 2px; border-radius: 2px; background: var(--accent); transform-origin: left; transform: scaleX(0); opacity: 0; }
html.js .steps.is-auto .st-head[aria-selected="true"]::after { opacity: .7; animation: stepbar var(--step-ms, 6000ms) linear forwards; }
html.js .steps.is-paused .st-head[aria-selected="true"]::after { animation-play-state: paused; }
html.js .st-panel { grid-column: 2; grid-row: 1 / -1; margin: 0; min-height: 100%; padding: 24px; border: 1px solid var(--line); border-radius: 18px; background: var(--surface); box-shadow: var(--shadow); gap: 16px; }
html.js .st-panel[hidden] { display: none; }
html.js .st-panel.enter { animation: panelin .32s ease both; }
}
@keyframes stepbar { to { transform: scaleX(1); } }
@keyframes panelin { from { opacity: 0; transform: translateY(6px); } }
@media (prefers-reduced-motion: reduce) { html.js .st-panel.enter { animation: none; } }
.for { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.for-h { font: 600 12.5px var(--mono); text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.for-list { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 24px; }
@media (min-width: 760px) { .for-list { grid-template-columns: repeat(3, 1fr); gap: 32px; } }
.for-list li { display: flex; gap: 14px; align-items: flex-start; }
.for-list svg { width: 40px; height: 40px; padding: 9px; flex: none; border-radius: 10px; background: var(--accent-soft); color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.for-list b { display: block; font-size: 16px; color: var(--ink); letter-spacing: -.01em; }
.for-list p { margin-top: 4px; font-size: 15px; color: var(--ink-2); }
/* ---------- faq ---------- */
.faq-in { display: grid; gap: 32px; }
@media (min-width: 960px) { .faq-in { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 80px; align-items: start; } .faq-side { position: sticky; top: 100px; } }
.faq-links { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; font-size: 15px; font-weight: 550; }
.faq-links a { text-decoration: none; }
.faq-links a:hover { text-decoration: underline; }
.faq { border-top: 1px solid var(--line-2); interpolate-size: allow-keywords; }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 4px; border-radius: 8px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: 17px; font-weight: 600; letter-spacing: -.012em; line-height: 1.4; transition: color .15s ease; }
.faq summary:hover h3 { color: var(--accent); }
.faq summary::after { content: ""; flex: none; width: 8px; height: 8px; margin-right: 8px; border-right: 1.75px solid var(--muted); border-bottom: 1.75px solid var(--muted); transform: translateY(-3px) rotate(45deg); transition: transform .25s ease; }
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq-a p { padding: 0 48px 22px 4px; color: var(--ink-2); font-size: 15.5px; max-width: 64ch; }
.faq details::details-content { block-size: 0; overflow: clip; transition: block-size .28s ease, content-visibility .28s allow-discrete; }
.faq details[open]::details-content { block-size: auto; }
@media (prefers-reduced-motion: reduce) { .faq details::details-content, .faq summary::after { transition: none; } }
@media (max-width: 640px) { .faq-a p { padding-right: 8px; } .faq summary h3 { font-size: 16px; } }
@media (min-width: 1024px) and (max-width: 1199px) { h1 { font-size: 50px; } }
.st-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.st-foot[hidden] { display: none; }
.st-next { display: inline-flex; align-items: center; gap: 4px; font: 600 14px var(--font); color: var(--accent); background: none; border: 0; padding: 6px 4px; cursor: pointer; text-decoration: none; border-radius: 6px; }
.st-next svg { width: 15px; height: 15px; transition: transform .15s ease; }
.st-next:hover svg { transform: translateX(2px); }
@media (min-width: 1024px) { html.js .st-panel:not([hidden]) { display: flex; flex-direction: column; } }