diff --git a/README.md b/README.md index d93c06f2..e0e1ae1e 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # storebound +**Website: [storebound.dev](https://storebound.dev)** + [![license: MIT](https://img.shields.io/badge/license-MIT-blue)](LICENSE) [![version 0.3.1](https://img.shields.io/badge/version-0.3.1-informational)](CHANGELOG.md) [![runtime: Bun](https://img.shields.io/badge/runtime-Bun%201.1%2B-f9f1e1)](https://bun.sh) diff --git a/site/favicon.svg b/site/favicon.svg new file mode 100644 index 00000000..b38fd73b --- /dev/null +++ b/site/favicon.svg @@ -0,0 +1 @@ + diff --git a/site/img/gallery.webp b/site/img/gallery.webp new file mode 100644 index 00000000..9d0e6d65 Binary files /dev/null and b/site/img/gallery.webp differ diff --git a/site/img/journey.svg b/site/img/journey.svg new file mode 100644 index 00000000..9f232de2 --- /dev/null +++ b/site/img/journey.svg @@ -0,0 +1,153 @@ + + storebound · the journey from zero to Submit for review + Nine steps: config, app records, products, listings, questionnaires, privacy and icons, store art, validate, and finally you press Submit. Each step is tagged API (storebound command), UI (a skill guides your agent or you through the console), local, or you (your own click). + + + + + + + + + + + From zero to “Submit for review” + Google Play + App Store · one config · your AI coding agent · storebound never presses Submit + + + + + + + + + + + + + + + 1 + Config + storebound.config.ts + + store/*.md texts, + one section per language + LOCAL + + + + + + 2 + App records + bundle id registered; + Play app + App Store + Connect record created + API + UI + + + + + + 3 + Products + in-app purchases with + regional prices, review + screenshots, testers + API + UI + + + + + + 4 + Listings + name, subtitle, texts, + keywords, contact, in + every language + API + + + + + + 5 + Questionnaires + Data safety, age rating, + encryption · IARC, target + audience, App Privacy + API + UI + + + + + + 6 + Privacy & icons + policy page, privacy + manifest scan, every + icon from one artwork + LOCAL + + + + + + 7 + Store art + screenshots, previews, + feature graphic: render, + check, upload + LOCAL + API + + + + + + 8 + Validate + offline check, then a + read-only store report: + blockers in fix order + API + LOCAL + + + + + + 9 + You press Submit + Play Console: Send changes for review + App Store Connect: Submit for Review + Releases and rollouts after approval stay yours too. + YOU + + + + + API + storebound command + UI + console only: a skill walks your agent (or you) through it + LOCAL + your machine + YOU + your click + + diff --git a/site/img/preview-poster.webp b/site/img/preview-poster.webp new file mode 100644 index 00000000..d8ec6a78 Binary files /dev/null and b/site/img/preview-poster.webp differ diff --git a/site/img/preview.mp4 b/site/img/preview.mp4 new file mode 100644 index 00000000..f183a91c Binary files /dev/null and b/site/img/preview.mp4 differ diff --git a/site/img/showcase.webp b/site/img/showcase.webp new file mode 100644 index 00000000..fd456c84 Binary files /dev/null and b/site/img/showcase.webp differ diff --git a/site/index.html b/site/index.html new file mode 100644 index 00000000..877d8bbf --- /dev/null +++ b/site/index.html @@ -0,0 +1,384 @@ + + + + + +storebound · from zero to Submit for review on Google Play and the App Store + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+ + + storebound + + +
+
+ +
+ +
+
+
+

Open source · MIT · Bun CLI, MCP server, Agent Skills

+

From zero to “Submit for review” on Google Play and the App Store.

+

App records, in-app product prices, listings in every language, every questionnaire, privacy, icons, screenshots and previews. One config and your AI coding agent. storebound never presses Submit.

+ +
+ + bunx storebound init + +
+

Needs Bun 1.1+ (and ffmpeg for icons, screenshots and video). Zero runtime dependencies. No account, no dashboard, no telemetry.

+
+ +
+
my-game
+
# one config, then dry runs first
+$ bunx storebound check
+$ bunx storebound apple bundle --dry
+$ bunx storebound play listing --dry
+$ bunx storebound play products --dry
+$ bunx storebound apple iap --dry
+$ bunx storebound play data-safety --dry
+$ bunx storebound apple appinfo --dry
+$ bunx storebound icons --dry
+$ bunx storebound shots render
+$ bunx storebound validate
+# what still blocks a submission,
+# per store, in fix order
+Submit for review · your click
+
+
+ +
+ +
+
+

The journey

+

Everything a game needs before review, in order.

+

For each step: what storebound does through the store APIs or on your machine, what a skill walks your agent through where the stores have no public API, and what stays your own click.

+
+ The journey: config, app records, products, listings, questionnaires, privacy and icons, store art, validate, then you press Submit. Each step is tagged API, UI, local or you. +
+
    +
  • API a storebound command (also an MCP tool)
  • +
  • LOCAL runs on your machine
  • +
  • UI a skill guides your agent, or you, through the console
  • +
  • YOU your own click
  • +
+
+
+ +
+
+

API or console, honestly

+

What it automates, what your agent walks through, what stays your click.

+
+
+ API +

storebound does it

+

A CLI command, also an MCP tool. Every write has --dry.

+
    +
  • Bundle id, builds on tracks, versions and build selection
  • +
  • Listings in every language, graphics, screenshots, app previews
  • +
  • In-app products with regional prices
  • +
  • Play Data safety (the whole form, from the config)
  • +
  • Apple age rating, categories, content rights, price and availability
  • +
  • Export compliance answer, App Review details
  • +
  • Phased release and staged rollout
  • +
+
+
+ UI +

Skill + your agent walk through

+

No public API. The skill has the exact navigation and prepared answers; an agent with browser tools clicks while you watch, or you use it as a checklist.

+
    +
  • Creating the App Store Connect app record and the Play app
  • +
  • Play App content: IARC content rating, target audience, ads, advertising ID, app access, government / financial / health / news
  • +
  • Play category, tags and countries
  • +
  • App Privacy labels and their Publish
  • +
  • TestFlight groups, adding first IAPs to the submission
  • +
  • Store experiments
  • +
+
+
+ YOU +

Only you

+

Public, legal or money steps. The skills tell every agent to stop and hand these to you. None of them is an MCP tool.

+
    +
  • Developer accounts, agreements, banking and tax
  • +
  • The answers to the questionnaires: they are your statements
  • +
  • Play: Send changes for review
  • +
  • App Store: Submit for Review
  • +
  • Releasing an approved version, resuming or completing a rollout or phased release
  • +
+
+
+
+
+ +
+
+

Questionnaires

+

Every store form, prepared. The ones with an API, filled.

+

init gives you prepared answers (store/declarations.md, store/app-privacy.md), written for a typical free-to-play game with ads and IAP. Change what does not match your game; the agent asks you whenever the code does not prove an answer.

+
+
+
Google PlayAPI
+

Data safety

+

The whole form from dataSafety in the config, imported as CSV through the API. The import replaces the form, so the config is the single truth.

+ play data-safety +
+
+
Google PlayUI
+

IARC content rating

+

No public API. The store-declarations skill has the exact clicks and the prepared answers; your agent fills it in while you watch, or you copy them in.

+ store-declarations +
+
+
Google PlayUI
+

Target audience and content

+

Walked through by the skill, together with ads, advertising ID, app access and the government, financial, health and news cards.

+ store-declarations +
+
+
App StoreUI
+

App Privacy labels

+

From store/app-privacy.md, entered in App Store Connect, then Publish: saved labels that are not published are a classic blocker.

+ store-declarations +
+
+
App StoreAPI
+

Age rating

+

The age rating declaration through the API, together with categories, content rights, Free price and availability.

+ apple appinfo +
+
+
App StoreAPI
+

Export compliance

+

The answer comes from apple.usesNonExemptEncryption in your config, never guessed. When it is yes, the export-compliance skill covers the documentation.

+ apple encryption +
+
+

validate cannot see the console-only forms, so the store-preflight skill lists them as a manual check before you submit.

+
+
+ +
+
+

Works with

+

Your AI coding agent. Or none.

+

Every route gives the agent the same skills and the same MCP tools. The skills are plain Markdown and the CLI is a normal command, so nothing here requires a particular tool.

+
    +
  • Claude Code
  • +
  • OpenAI Codex
  • +
  • Cursor
  • +
  • GitHub Copilot
  • +
  • Gemini CLI
  • +
  • Windsurf
  • +
  • OpenCode
  • +
  • anything that reads AGENTS.md
  • +
+
+
+ +
+
+

Store art

+

Screenshots and previews, every size, every language.

+

The step that takes longest by hand. Everything below was made by storebound itself from a tiny demo game (“Prism Puddle”, fictional, procedural art): raw frames from the web build, captions in 4 languages, every store size, a review gallery and an app preview video.

+
+ Store screenshots rendered by storebound: four scenes in English plus the hero scene in Turkish, Japanese and Arabic +
Four scenes in English, the hero scene in Turkish, Japanese and Arabic (right to left).
+
+
+
+ The review gallery: every language, size, scene and variant on one local page, store check issues highlighted +
shots gallery: every language, size, scene and variant on one local page, store check issues outlined.
+
+
+ +
App preview, cut by shots video.
+
+
+
    +
  • Capture from a web build (Playwright), the iOS Simulator, an Android emulator or a folder of your own frames.
  • +
  • Render iPhone 6.9" and 6.5", 13" iPad, Play phone, 7" and 10" tablets, the 1024 x 500 feature graphic. 24-bit RGB, no alpha.
  • +
  • Check the store rules locally with shots check; validate repeats it next to the store state.
  • +
  • Fonts subset to exactly your characters, so Japanese, Chinese, Korean, Arabic and Hindi just work.
  • +
+
+
+ +
+
+

Quick start

+

Five minutes to a checked config.

+
+
+

1Add it to your game

+
+ +
cd my-game
+bun add -d storebound playwright
+bunx storebound init    # config, store/*.md, declarations, privacy policy
+bunx storebound check   # offline: config, copy limits, Data safety, products, files
+
+

Credentials come from environment variables or the gitignored .storebound/credentials.json: a Play service account key and an App Store Connect API team key.

+
+ +
+

2Connect your AI tool

+
+
+ + + + + + + + +
+ +
+

Claude Code

+
+
/plugin marketplace add https://git.crt.fyi/CRT/storebound.git
+/plugin install storebound@crtkafa
+

Skills, MCP server and storebound on PATH. Or per project: bunx storebound install --agent claude

+
+
+

OpenAI Codex

+
+
bunx storebound install --agent codex
+

Skills in .agents/skills, MCP in .codex/config.toml (Codex reads it for trusted projects). The repo is also a Codex plugin, skills only.

+
+
+

Gemini CLI

+
+
gemini extensions install https://git.crt.fyi/CRT/storebound.git
+

Skills, MCP server and GEMINI.md. Or bunx storebound install --agent gemini

+
+
+

Cursor

+
+
bunx storebound install --agent cursor
+

Skills in .agents/skills and .cursor/mcp.json. The repo's .cursor/rules/storebound.mdc is an agent-requested rule you can copy.

+
+
+

VS Code / GitHub Copilot

+
+
bunx storebound install --agent copilot
+

Skills in .github/skills and .vscode/mcp.json.

+
+
+

Windsurf (Devin Desktop)

+
+
bunx storebound install --agent windsurf
+

Skills in .agents/skills, MCP in your global mcp_config.json.

+
+
+

OpenCode

+
+
bunx storebound install --agent opencode
+

Skills in .opencode/skills and opencode.json.

+
+
+

Anything that reads AGENTS.md

+

Copy or link AGENTS.md (rules and skill index) into your project and use the CLI. For an MCP client install does not know: command bunx with args ["storebound", "mcp"].

+
+
+

install takes several agents at once (--agent codex,cursor), --dry to preview, and only touches its own storebound entry and skill folders. Re-running it is safe.

+
+ +
+

3Ask your agent

+
    +
  • “take my game to Google Play and the App Store”
  • +
  • “fill in the store questionnaires”
  • +
  • “set up the in-app purchases on both stores”
  • +
  • “make store screenshots in 5 languages”
  • +
  • “is my app ready to submit”
  • +
+

The matching skill takes over. No AI tool? The skills are Markdown checklists you can read yourself.

+
+
+
+
+ +
+
+

Safety model

+

Built to be handed to an agent.

+
    +
  • Credentials stay out of the repo

    Env vars or the gitignored .storebound/credentials.json. Official store APIs only, with keys you create and can revoke, never your password.

  • +
  • Dry run everywhere

    Every write command takes --dry; every MCP write tool has dry_run, default true.

  • +
  • Nothing public or irreversible through an agent

    Submitting, releasing, production releases, resuming or completing a rollout, canceling a submission and deleting are not MCP tools. They stay terminal commands that ask first.

  • +
  • Idempotent writes

    Re-running converges (MD5 checks for screenshots and previews, one Play edit per language), so a failed upload is fixed by running it again.

  • +
  • Careful with your devices

    storebound shuts down only a simulator it booted itself, and never boots, wipes or reboots an Android emulator or device.

  • +
+
+
+ +
+ + + + diff --git a/site/main.js b/site/main.js new file mode 100644 index 00000000..7b739405 --- /dev/null +++ b/site/main.js @@ -0,0 +1,45 @@ +// storebound.dev: copy buttons and the AI tool tabs. No network, no storage. +(() => { + const copyText = async text => { + try { await navigator.clipboard.writeText(text); return true; } catch {} + const ta = document.createElement('textarea'); + ta.value = text; ta.setAttribute('readonly', ''); ta.style.position = 'fixed'; ta.style.opacity = '0'; + document.body.appendChild(ta); ta.select(); + let ok = false; try { ok = document.execCommand('copy'); } catch {} + ta.remove(); return ok; + }; + for (const btn of document.querySelectorAll('.copy')) { + btn.addEventListener('click', async () => { + const target = btn.dataset.copyTarget && document.getElementById(btn.dataset.copyTarget); + // Drop "# comment" tails so the copied commands run as is. + const text = btn.dataset.copy ?? (target ? target.innerText.split('\n').map(l => l.replace(/\s+#.*$/, '')).join('\n').trim() : ''); + const ok = await copyText(text); + btn.textContent = ok ? 'Copied' : 'Press Ctrl+C'; + btn.classList.toggle('done', ok); + setTimeout(() => { btn.textContent = 'Copy'; btn.classList.remove('done'); }, 1600); + }); + } + + for (const root of document.querySelectorAll('[data-tabs]')) { + const tabs = [...root.querySelectorAll('[role="tab"]')]; + const select = (tab, focus) => { + for (const t of tabs) { + const on = t === tab; + t.setAttribute('aria-selected', String(on)); + t.tabIndex = on ? 0 : -1; + document.getElementById(t.getAttribute('aria-controls')).hidden = !on; + } + if (focus) { tab.focus(); tab.scrollIntoView({ block: 'nearest', inline: 'nearest' }); } + }; + tabs.forEach((t, i) => { + t.addEventListener('click', () => select(t, false)); + t.addEventListener('keydown', e => { + const k = { ArrowRight: i + 1, ArrowLeft: i - 1, Home: 0, End: tabs.length - 1 }[e.key]; + if (k === undefined) return; + e.preventDefault(); + select(tabs[(k + tabs.length) % tabs.length], true); + }); + }); + select(tabs.find(t => t.getAttribute('aria-selected') === 'true') ?? tabs[0], false); + } +})(); diff --git a/site/og.png b/site/og.png new file mode 100644 index 00000000..d58fe9f7 Binary files /dev/null and b/site/og.png differ diff --git a/site/robots.txt b/site/robots.txt new file mode 100644 index 00000000..0197bdfa --- /dev/null +++ b/site/robots.txt @@ -0,0 +1,4 @@ +User-agent: * +Allow: / + +Sitemap: https://storebound.dev/sitemap.xml diff --git a/site/sitemap.xml b/site/sitemap.xml new file mode 100644 index 00000000..6fbd7e10 --- /dev/null +++ b/site/sitemap.xml @@ -0,0 +1,7 @@ + + + + https://storebound.dev/ + 2026-10-10 + + diff --git a/site/style.css b/site/style.css new file mode 100644 index 00000000..bd002069 --- /dev/null +++ b/site/style.css @@ -0,0 +1,242 @@ +: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; + --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); + } +} + +*, *::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: hidden; + 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; } +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: color-mix(in srgb, var(--bg) 82%, transparent); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); 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; } } + +/* hero */ +.hero { padding: 56px 0 40px; background: + radial-gradient(900px 420px at 85% -10%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%), + radial-gradient(700px 360px at -10% 10%, color-mix(in srgb, #ec4899 9%, transparent), transparent 70%); } +.hero-in { display: grid; gap: 40px; align-items: center; } +@media (min-width: 960px) { .hero-in { grid-template-columns: 1.15fr .85fr; gap: 56px; } .hero { padding: 88px 0 56px; } } +.hero-copy { min-width: 0; } +.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); background: var(--surface); border: 1px solid var(--line); padding: 5px 12px; border-radius: 999px; margin-bottom: 22px; } +.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 3px color-mix(in srgb, #22c55e 25%, transparent); flex: none; } +h1 { font-size: clamp(34px, 7.4vw, 60px); font-weight: 800; letter-spacing: -.035em; line-height: 1.04; } +h1 .hl { color: var(--accent); white-space: nowrap; } +.lede { margin-top: 20px; font-size: clamp(17px, 2.2vw, 19.5px); color: var(--ink-2); max-width: 40em; } +.lede strong { color: var(--ink); } +.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; } +.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 0 22px; border-radius: 10px; font-weight: 650; text-decoration: none; font-size: 15.5px; transition: transform .12s ease, background-color .12s ease; } +.btn:active { transform: translateY(1px); } +.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -8px var(--accent); } +.btn-primary:hover { background: color-mix(in srgb, var(--accent) 88%, 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: flex; align-items: center; gap: 10px; margin-top: 22px; background: var(--code-bg); color: var(--code-ink); border-radius: 12px; padding: 8px 8px 8px 16px; max-width: 420px; border: 1px solid color-mix(in srgb, var(--code-ink) 12%, transparent); } +.install code { background: none; color: inherit; padding: 0; border-radius: 0; font-size: 15px; flex: 1; min-width: 0; white-space: nowrap; overflow-x: auto; } +.install .prompt { color: var(--code-muted); font-family: var(--mono); } +.fine { font-size: 13.5px; color: var(--muted); margin-top: 14px; } +.fine a { color: inherit; } + +.copy { font: 600 12.5px var(--font); color: var(--code-ink); background: color-mix(in srgb, var(--code-ink) 10%, transparent); border: 1px solid color-mix(in srgb, var(--code-ink) 18%, transparent); border-radius: 8px; padding: 6px 12px; cursor: pointer; flex: none; min-height: 32px; } +.copy:hover { background: color-mix(in srgb, var(--code-ink) 18%, transparent); } +.copy.done { color: #86efac; border-color: #22c55e; } +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; } + +.stats { list-style: none; margin: 48px auto 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; } +@media (min-width: 720px) { .stats { grid-template-columns: repeat(4, 1fr); } } +.stats li { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; color: var(--muted); font-size: 14px; } +.stats b { display: block; color: var(--ink); font-size: 22px; letter-spacing: -.02em; font-family: var(--mono); 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); } + +/* 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; } +}