:root {
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: #080a0d;
  color: #f5f1e8;
  line-height: 1.55;
  font-synthesis: none;
  --ink: #f5f1e8;
  --muted: #9aa3a6;
  --line: rgba(255, 255, 255, .12);
  --surface: #11151a;
  --surface-raised: #171c22;
  --acid: #c6ff66;
  --aqua: #8be8df;
}

* { box-sizing: border-box; }
html { max-width: 100%; overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 92px; }
body { margin: 0; min-width: 320px; max-width: 100%; overflow-x: clip; background: #080a0d; }
html.has-open-dialog, body.has-open-dialog { overflow: hidden; overscroll-behavior: none; }
body.has-open-dialog { position: fixed; inset-inline: 0; width: 100%; }
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(circle at 78% 8%, rgba(86, 132, 255, .13), transparent 30%),
    radial-gradient(circle at 12% 42%, rgba(198, 255, 102, .07), transparent 25%),
    linear-gradient(rgba(255,255,255,.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.018) 1px, transparent 1px);
  background-size: auto, auto, 48px 48px, 48px 48px;
}
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  color: #080a0d;
  background: var(--acid);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header, main, footer { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.site-header {
  position: relative;
  z-index: 5;
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 9px; width: fit-content; font-weight: 850; font-size: 21px; letter-spacing: -.055em; }
.brand > span:not(.brand-mark), .brand span { color: var(--acid); }
.brand-mark { width: 11px; height: 11px; border: 2px solid var(--acid); border-radius: 50%; box-shadow: 7px 0 0 -3px #080a0d, 7px 0 0 -1px var(--aqua); }
nav { display: flex; gap: 30px; color: #c0c6c7; font-size: 13px; }
nav a, .header-cta { transition: color .2s ease, border-color .2s ease, background .2s ease; }
nav a:hover { color: var(--ink); }
.header-cta { justify-self: end; padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; color: #d6dbdc; font-size: 12px; }
.header-cta:hover { border-color: rgba(198, 255, 102, .5); color: var(--acid); }

.hero {
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(500px, 1.1fr);
  gap: 64px;
  align-items: center;
  padding: 88px 0 110px;
}
.hero-copy { position: relative; z-index: 2; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0; color: var(--aqua); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.eyebrow > span { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 16px currentColor; }
h1 { max-width: 690px; margin: 20px 0 24px; font-size: clamp(58px, 7vw, 104px); line-height: .94; letter-spacing: -.075em; }
h1 em { color: var(--acid); font-family: ui-serif, "Songti SC", Georgia, serif; font-weight: 500; }
.hero-lede { max-width: 600px; margin: 0; color: #a9b1b3; font-size: clamp(16px, 1.5vw, 19px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.primary, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 21px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 750;
}
.primary { color: #0c0f0d; background: var(--acid); box-shadow: 0 10px 40px rgba(198,255,102,.13); }
.hero-download { box-shadow: 0 12px 44px rgba(198,255,102,.22); }
.hero-download .download-size { margin-left: 8px; font-size: .78em; font-weight: 700; opacity: .62; }
.secondary { border: 1px solid var(--line); color: #d8dcdc; }
.primary:hover { background: #d5ff8f; }
.secondary:hover { border-color: rgba(255,255,255,.28); color: white; }
.hero-stats { display: flex; gap: 36px; margin: 62px 0 0; }
.hero-stats div { display: grid; gap: 0; }
.hero-stats dt { color: var(--ink); font-size: 25px; font-weight: 750; letter-spacing: -.04em; }
.hero-stats dd { margin: 0; color: #747e81; font-size: 11px; letter-spacing: .08em; }

.hero-gallery { position: relative; min-height: 520px; overflow: clip; isolation: isolate; }
.hero-frame { position: absolute; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.2); background: #13171c; box-shadow: 0 28px 90px rgba(0,0,0,.48); }
.workbench-preview { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #080b10; }
.workbench-preview > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; filter: brightness(.76) saturate(1.05); transform: scale(1.04); }
.workbench-ui { position: absolute; inset: 0; color: white; font-style: normal; }
.workbench-titlebar { position: absolute; inset: 0 0 auto; height: 12%; display: flex; align-items: center; gap: 2.1%; padding-inline: 2.4%; border-bottom: 1px solid rgba(255,255,255,.18); background: rgba(6,9,13,.78); backdrop-filter: blur(12px); }
.workbench-titlebar i { width: 2.1%; aspect-ratio: 1; border: 1px solid var(--acid); border-radius: 50%; box-shadow: 0 0 8px rgba(198,255,102,.7); }
.workbench-titlebar b { font-size: clamp(5px, .75vw, 10px); letter-spacing: -.02em; }
.workbench-titlebar em { margin-left: auto; color: var(--acid); font-size: clamp(3px, .45vw, 7px); font-style: normal; letter-spacing: .15em; }
.workbench-sidebar { position: absolute; inset: 12% auto 0 0; width: 21%; border-right: 1px solid rgba(255,255,255,.14); background:
  linear-gradient(rgba(139,232,223,.65), rgba(139,232,223,.65)) 16% 13% / 58% 2% no-repeat,
  linear-gradient(rgba(255,255,255,.26), rgba(255,255,255,.26)) 16% 24% / 68% 2% no-repeat,
  linear-gradient(rgba(255,255,255,.18), rgba(255,255,255,.18)) 16% 35% / 52% 2% no-repeat,
  linear-gradient(rgba(198,255,102,.7), rgba(198,255,102,.7)) 16% 59% / 72% 8% no-repeat,
  rgba(5,9,12,.72); backdrop-filter: blur(10px); }
.workbench-surface { position: absolute; left: 26%; right: 5%; top: 23%; height: 45%; display: grid; align-content: center; gap: 9%; padding: 5%; border: 1px solid rgba(198,255,102,.3); border-radius: 4%; background: linear-gradient(110deg, rgba(3,6,10,.7), rgba(8,12,17,.28)); box-shadow: inset 0 0 40px rgba(0,0,0,.28); }
.workbench-surface b { font-size: clamp(5px, .9vw, 12px); line-height: 1.1; }
.workbench-surface i { display: block; width: 58%; height: 3%; border-radius: 999px; background: rgba(255,255,255,.2); }
.workbench-surface i:last-child { width: 39%; background: rgba(139,232,223,.32); }
.workbench-composer { position: absolute; left: 26%; right: 5%; bottom: 7%; height: 15%; display: flex; align-items: center; padding-inline: 4%; border: 1px solid rgba(255,255,255,.16); border-radius: 9px; color: rgba(255,255,255,.55); background: rgba(8,12,18,.82); backdrop-filter: blur(10px); }
.workbench-composer b { font-size: clamp(4px, .62vw, 9px); font-weight: 500; }
.workbench-composer i { display: grid; place-items: center; width: 8%; aspect-ratio: 1; margin-left: auto; border-radius: 50%; color: #071009; background: var(--acid); font-size: clamp(4px, .7vw, 10px); font-style: normal; font-weight: 900; }
.hero-frame-main { inset: 56px 2% auto 2%; z-index: 2; border-radius: 10px; transform: rotate(-1deg); }
.hero-frame-main figcaption { position: absolute; left: 15px; bottom: 13px; padding: 6px 10px; border-radius: 999px; color: white; background: rgba(3,5,7,.66); backdrop-filter: blur(12px); font-size: 11px; }
.hero-frame-left { width: 43%; left: 1%; bottom: 2px; z-index: 3; border-radius: 8px; transform: rotate(3deg); }
.hero-frame-right { width: 38%; right: 3%; top: 0; z-index: 3; border-radius: 8px; transform: rotate(4deg); }
.hero-frame-left .workbench-surface b, .hero-frame-left .workbench-composer b,
.hero-frame-right .workbench-surface b, .hero-frame-right .workbench-composer b { display: none; }
.hero-orbit { position: absolute; border: 1px solid rgba(139,232,223,.25); border-radius: 50%; pointer-events: none; }
.hero-orbit-one { width: 370px; height: 370px; right: -90px; bottom: -5px; }
.hero-orbit-two { width: 190px; height: 190px; left: 23%; top: 18px; border-color: rgba(198,255,102,.2); }

.device-console { display: grid; grid-template-columns: 1fr minmax(360px, .8fr); gap: 72px; align-items: center; padding: 78px 0; border-top: 1px solid var(--line); }
.device-console h2 { max-width: 650px; }
.device-lede { max-width: 600px; color: var(--muted); font-size: 14px; }
.device-panel { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.device-status-row { display: flex; align-items: center; gap: 10px; }
.device-status-dot { width: 9px; height: 9px; border-radius: 50%; background: #6d777a; box-shadow: 0 0 0 5px rgba(109,119,122,.1); }
.device-status-dot.is-online { background: var(--acid); box-shadow: 0 0 0 5px rgba(198,255,102,.1); }
.device-panel > p { color: var(--muted); font-size: 12px; }
.app-download-link { display: inline-flex; gap: 7px; align-items: center; margin-top: 18px; color: #bfc7c8; font-size: 12px; }
.app-download-link:hover { color: var(--acid); }
.device-open-app { color: var(--aqua); font-weight: 750; text-decoration: underline; text-decoration-color: rgba(139,232,223,.35); text-underline-offset: 3px; }
.device-open-app:hover { color: #b9fff8; text-decoration-color: currentColor; }
.pair-app-link { display: inline-flex; margin-top: 8px; color: var(--aqua); font-size: 12px; }
.pairing-actions { margin-top: 20px; }
.pairing-status { min-height: 18px; margin-bottom: 0; color: var(--aqua) !important; }
.catalog { padding: 96px 0 120px; border-top: 1px solid var(--line); }
.section-heading { display: grid; grid-template-columns: 1fr minmax(260px, 420px); gap: 64px; align-items: end; }
.section-heading-single { grid-template-columns: 1fr; }
h2 { margin: 13px 0 0; font-size: clamp(38px, 5vw, 68px); line-height: 1.02; letter-spacing: -.06em; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 15px; }
.catalog-tools { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 56px; padding: 18px 0; border-block: 1px solid var(--line); }
.search-field { display: flex; align-items: center; gap: 9px; min-width: 260px; color: #7f898c; }
.search-field > span { font-size: 20px; }
input { width: 290px; padding: 10px 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
input::placeholder { color: #697376; }
.filter-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.filter-button, .text-button, .empty-state button, .detail-actions button, .dialog-close {
  border: 0;
  cursor: pointer;
}
.filter-button { padding: 9px 13px; border: 1px solid transparent; border-radius: 999px; color: #858f92; background: transparent; font-size: 12px; }
.filter-button span { margin-left: 5px; color: #60696c; }
.filter-button:hover { color: #d9dede; }
.filter-button.is-active { border-color: rgba(198,255,102,.32); color: var(--acid); background: rgba(198,255,102,.07); }
.filter-button.is-active span { color: var(--acid); }
.catalog-meta { min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
#catalog-status { margin: 0; color: #778184; font-size: 12px; }
.text-button { padding: 0; color: var(--aqua); background: transparent; font-size: 12px; }
.theme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.theme-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); transition: transform .25s ease, border-color .25s ease, background .25s ease; }
.theme-card:hover { z-index: 1; border-color: color-mix(in srgb, var(--card-accent, var(--aqua)) 45%, transparent); background: var(--surface-raised); transform: translateY(-4px); }
.card-open { display: block; width: 100%; padding: 0; border: 0; color: inherit; background: transparent; text-align: left; cursor: pointer; }
.card-media { position: relative; display: block; overflow: hidden; background: #171b21; }
.card-media::after { content: ""; position: absolute; inset: auto 0 0; height: 50%; background: linear-gradient(transparent, rgba(0,0,0,.42)); pointer-events: none; }
.card-media img { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.theme-card:hover img { transform: scale(1.025); }
.card-index, .card-arrow { position: absolute; z-index: 1; top: 10px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.22); color: white; background: rgba(5,7,9,.52); backdrop-filter: blur(10px); font-size: 10px; }
.card-index { left: 10px; min-width: 28px; height: 24px; padding-inline: 6px; border-radius: 999px; }
.card-arrow { right: 10px; width: 26px; height: 26px; border-radius: 50%; font-size: 13px; }
.card-copy { display: grid; padding: 18px; }
.card-kicker { display: flex; justify-content: space-between; gap: 10px; color: var(--card-accent, var(--aqua)); font-size: 9px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.card-kicker .mode { color: #6f797c; }
.card-copy strong { margin-top: 8px; font-size: 19px; letter-spacing: -.035em; }
.description { min-height: 44px; margin-top: 7px; color: #8f999c; font-size: 12px; line-height: 1.65; }
.card-foot { display: flex; justify-content: space-between; gap: 12px; margin-top: 19px; padding-top: 13px; border-top: 1px solid var(--line); color: #687275; font-size: 10px; }
.card-foot span:last-child { color: #c8cecf; }
.empty-state { padding: 80px 24px; border: 1px dashed var(--line); border-radius: 14px; color: #899295; text-align: center; }
.empty-state button { padding: 10px 15px; border-radius: 999px; color: #080a0d; background: var(--acid); }

.about { display: grid; grid-template-columns: .92fr 1.08fr; gap: 80px; padding: 104px 0 124px; border-top: 1px solid var(--line); }
.about h2 { max-width: 690px; font-size: clamp(38px, 4.4vw, 62px); }
.about-summary { margin: 30px 0 0; color: #667174; font-size: 10px; font-weight: 750; letter-spacing: .15em; }
.about-grid { display: grid; gap: 10px; }
.about-grid article { position: relative; min-height: 132px; padding: 26px 26px 25px 78px; border: 1px solid var(--line); border-radius: 14px; background: linear-gradient(115deg, rgba(255,255,255,.035), rgba(139,232,223,.018)); transition: border-color .2s ease, transform .2s ease; }
.about-grid article:hover { border-color: rgba(139,232,223,.3); transform: translateX(4px); }
.about-grid article > span { position: absolute; left: 24px; top: 28px; display: grid; width: 32px; height: 32px; place-items: center; border: 1px solid rgba(198,255,102,.3); border-radius: 50%; color: var(--acid); font-size: 10px; }
.about-grid h3 { margin: 0 0 8px; font-size: 20px; }
.about-grid p { max-width: 560px; margin: 0; color: #929c9f; font-size: 13px; line-height: 1.75; }

.about-story { padding: 0 0 120px; }
.about-story-hero { min-height: 570px; display: flex; flex-direction: column; justify-content: center; padding: 72px 0 92px; border-bottom: 1px solid var(--line); }
.about-story-hero h1 { max-width: 1000px; }
.about-story-intro { max-width: 780px; margin: 4px 0 0; color: #a5afb1; font-size: clamp(18px, 2vw, 24px); line-height: 1.75; }
.about-origin { display: grid; grid-template-columns: .72fr 1.28fr; gap: 90px; align-items: start; padding: 88px 0; border-bottom: 1px solid var(--line); }
.about-origin-heading { position: sticky; top: 110px; }
.about-origin-heading h2 { max-width: 480px; margin-top: 22px; font-size: clamp(42px, 5vw, 68px); }
.about-origin-copy { display: grid; gap: 28px; }
.about-origin-copy p { max-width: 760px; margin: 0; color: #a1abad; font-size: clamp(17px, 1.55vw, 21px); line-height: 1.9; }
.about-origin-copy p:first-child { color: #d5dcdd; font-size: clamp(20px, 1.8vw, 25px); }
.about-story-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 90px; align-items: start; padding-top: 88px; }
.about-story-copy { display: grid; gap: 24px; }
.about-story-label { color: var(--aqua) !important; font-size: 10px !important; font-weight: 800; line-height: 1 !important; letter-spacing: .18em; }
.about-story-copy h2 { margin: -4px 0 4px; font-size: clamp(40px, 4.4vw, 62px); }
.about-story-copy p { max-width: 610px; margin: 0; color: #a1abad; font-size: clamp(17px, 1.6vw, 21px); line-height: 1.9; }
.about-manifesto { padding: 38px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(135deg, rgba(139,232,223,.07), rgba(198,255,102,.025)); }
.about-manifesto > p { margin: 0 0 24px; color: var(--aqua); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.about-manifesto blockquote { margin: 0; color: var(--ink); font-family: ui-serif, "Songti SC", Georgia, serif; font-size: clamp(34px, 4vw, 56px); line-height: 1.28; letter-spacing: -.04em; }
.about-story-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; padding-top: 28px; border-top: 1px solid var(--line); }
nav a[aria-current="page"] { color: var(--acid); }

footer { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 14px 40px; align-items: center; padding: 38px 0 52px; border-top: 1px solid var(--line); color: #758083; font-size: 11px; }
footer p { margin: 0; }
.footer-brand { color: var(--ink); }
.footer-meta { display: grid; gap: 7px; justify-items: end; text-align: right; line-height: 1.7; }
.footer-home-link { color: inherit; text-decoration: underline; text-decoration-color: #4d575a; text-underline-offset: 3px; transition: color .2s ease, text-decoration-color .2s ease; }
.footer-home-link:hover { color: var(--acid); text-decoration-color: var(--acid); }
.footer-separator { display: inline-block; padding: 0 10px; color: #4d575a; }
.legal { color: #687275; }

dialog { width: min(1100px, calc(100% - 28px)); max-height: calc(100dvh - 24px); padding: 0; overflow: auto; overscroll-behavior: contain; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; color: var(--ink); background: #0d1116; box-shadow: 0 30px 120px rgba(0,0,0,.8); }
dialog::backdrop { background: rgba(0,0,0,.76); backdrop-filter: blur(12px); }
.dialog-shell { position: relative; }
.dialog-close { position: absolute; top: 14px; right: 14px; z-index: 2; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; color: white; background: rgba(5,7,9,.66); font-size: 25px; line-height: 1; }
.detail-figure { margin: 0; background: #13171c; }
.detail-figure img { display: block; width: 100%; aspect-ratio: 3 / 1; object-fit: cover; }
.detail-figure figcaption { padding: 8px 16px; border-bottom: 1px solid var(--line); color: #687275; font-size: 10px; }
.detail-copy { padding: 22px 34px 20px; }
.detail-kicker { display: flex; gap: 14px; margin: 0; color: var(--detail-accent, var(--aqua)); font-size: 10px; font-weight: 800; letter-spacing: .12em; }
.detail-kicker span:last-child { color: #707b7e; }
.detail-copy h2 { margin-top: 9px; font-size: clamp(36px, 5vw, 62px); }
.detail-tagline { margin: 8px 0 0; color: var(--detail-accent, var(--acid)); font-family: ui-serif, "Songti SC", Georgia, serif; font-size: 18px; }
.detail-description { max-width: 820px; margin: 8px 0 0; color: #9aa4a6; font-size: 13px; }
.detail-meta { display: flex; gap: 20px; margin-top: 12px; color: #697376; font-size: 10px; }
.detail-actions { display: grid; grid-template-columns: 1fr auto auto auto 1fr; gap: 10px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.detail-actions button { min-height: 44px; padding: 10px 16px; border-radius: 999px; }
.detail-nav { color: #b9c0c1; background: #181d23; }
#next-theme { justify-self: end; }
.share-button { color: #080a0d; background: var(--acid); font-weight: 750; }
.agent-button { border: 1px solid rgba(139,232,223,.35) !important; color: var(--aqua); background: rgba(139,232,223,.08); font-weight: 700; }
.app-button { color: #080a0d; background: var(--aqua); font-weight: 750; }
.app-button.is-applying { color: #dffdfa; background: rgba(139,232,223,.14); box-shadow: inset 0 0 0 1px rgba(139,232,223,.42); }
.apply-progress { max-width: 620px; margin: 18px auto 0; opacity: 0; transform: translateY(7px); transition: opacity .24s ease, transform .24s ease; }
.apply-progress.is-visible { opacity: 1; transform: translateY(0); }
.apply-progress-heading { display: flex; justify-content: space-between; gap: 18px; margin-bottom: 8px; color: #c9d1d2; font-size: 10px; }
.apply-progress-heading span:last-child { color: var(--aqua); }
.apply-progress-track { height: 6px; overflow: hidden; border: 1px solid rgba(139,232,223,.2); border-radius: 999px; background: rgba(255,255,255,.06); }
.apply-progress-track > span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--aqua), var(--detail-accent, var(--acid))); box-shadow: 0 0 18px rgba(139,232,223,.36); transition: width .45s cubic-bezier(.2,.8,.2,1); }
.apply-progress.is-running .apply-progress-track > span { animation: apply-progress-pulse 1.1s ease-in-out infinite alternate; }
.apply-progress.is-complete .apply-progress-track > span { background: var(--acid); box-shadow: 0 0 22px rgba(198,255,102,.48); }
.apply-progress.is-error .apply-progress-track { border-color: rgba(255,110,110,.3); }
.apply-progress.is-error .apply-progress-track > span { background: #ff7474; box-shadow: none; }
.share-status { min-height: 18px; margin: 9px 0 0; color: var(--aqua); font-size: 10px; text-align: center; }

@keyframes apply-progress-pulse { from { filter: brightness(.88); } to { filter: brightness(1.22); } }

.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
:focus-visible { outline: 2px solid var(--acid); outline-offset: 4px; }

.download-page { min-height: 100dvh; background: radial-gradient(circle at 82% 18%, rgba(139,232,223,.13), transparent 32%), #080b0e; }
.download-shell { padding: 72px 0 118px; }
.download-hero { min-height: 650px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(410px, .72fr); gap: 80px; align-items: center; }
.download-copy h1 { max-width: 850px; margin-top: 20px; font-size: clamp(58px, 7.4vw, 104px); }
.download-copy h1 em { color: var(--aqua); }
.download-lede { max-width: 680px; margin: 28px 0 0; color: #a0aaac; font-size: clamp(16px, 1.5vw, 19px); line-height: 1.8; }
.download-prerequisite { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; color: #737e80; font-size: 12px; }
.download-prerequisite a { color: var(--acid); }
.download-card { position: relative; padding: 36px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); border-radius: 22px; background: linear-gradient(145deg, rgba(24,32,39,.98), rgba(12,16,20,.96)); box-shadow: 0 28px 90px rgba(0,0,0,.32); }
.download-card::after { content: ""; position: absolute; width: 220px; height: 220px; right: -110px; top: -110px; border: 1px solid rgba(139,232,223,.16); border-radius: 50%; box-shadow: 0 0 80px rgba(139,232,223,.08); }
.download-app-mark { position: relative; width: 72px; height: 72px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 18px; background: #0c1117; box-shadow: inset 0 0 28px rgba(86,132,255,.18), 0 14px 36px rgba(0,0,0,.3); }
.download-app-mark::before, .download-app-mark::after, .download-app-mark span { content: ""; position: absolute; border-radius: 50%; }
.download-app-mark::before { width: 38px; height: 38px; border: 5px solid var(--aqua); box-shadow: 0 0 14px rgba(139,232,223,.5); }
.download-app-mark::after { width: 17px; height: 17px; border: 4px solid #6b82ff; }
.download-app-mark span { width: 7px; height: 7px; right: 13px; top: 13px; background: white; }
.download-release-label { margin: 28px 0 8px; color: var(--acid); font-size: 9px; font-weight: 850; letter-spacing: .16em; }
.download-card h2 { margin: 0; font-size: clamp(36px, 4vw, 52px); }
.download-meta { margin: 11px 0 28px; color: #7d888b; font-size: 12px; }
.download-dmg-button, .download-open-button { display: flex; min-height: 52px; align-items: center; justify-content: center; border-radius: 999px; font-size: 13px; font-weight: 800; }
.download-dmg-button { gap: 10px; color: #07100b; background: var(--acid); }
.download-dmg-button span { color: rgba(7,16,11,.6); font-size: 10px; }
.download-dmg-button:hover { background: #d7ff95; }
.download-open-button { margin-top: 10px; border: 1px solid rgba(139,232,223,.28); color: var(--aqua); background: rgba(139,232,223,.05); }
.download-open-button:hover { border-color: rgba(139,232,223,.6); background: rgba(139,232,223,.09); }
.download-checksum { margin-top: 22px; color: #687376; font-size: 10px; }
.download-checksum summary { width: fit-content; cursor: pointer; color: #8f999b; }
.download-checksum code { display: block; margin-top: 10px; overflow-wrap: anywhere; color: #758083; font-size: 9px; line-height: 1.6; }
.download-guide-link { display: flex; gap: 36px; align-items: center; justify-content: space-between; margin-bottom: 78px; padding: 30px 34px; border: 1px solid rgba(139,232,223,.22); border-radius: 18px; background: linear-gradient(145deg, rgba(18,27,32,.88), rgba(10,14,18,.96)); }
.download-guide-link h2 { margin: 13px 0 7px; font-size: clamp(25px, 3vw, 38px); }
.download-guide-link p:last-child { margin: 0; color: #818c8e; font-size: 12px; }
.download-guide-link > .secondary { flex: 0 0 auto; }
.skill-download { display: grid; grid-template-columns: minmax(0, .82fr) minmax(420px, 1.18fr); gap: 60px; align-items: center; padding: 78px 0; border-block: 1px solid var(--line); scroll-margin-top: 24px; }
.skill-download h2 { max-width: 780px; font-size: clamp(38px, 5vw, 64px); }
.skill-download p:not(.eyebrow) { max-width: 700px; color: #8d9799; font-size: 14px; line-height: 1.8; }
.agent-prompt-card { padding: 28px; border: 1px solid rgba(139,232,223,.24); border-radius: 18px; background: linear-gradient(145deg, rgba(18,27,32,.96), rgba(10,14,18,.98)); box-shadow: 0 24px 70px rgba(0,0,0,.25); }
.agent-prompt-card .agent-prompt-label { display: flex; align-items: center; gap: 9px; margin: 0 0 18px; color: var(--aqua); font-size: 10px; font-weight: 850; letter-spacing: .13em; }
.agent-prompt-label span { font-size: 19px; line-height: 1; }
.agent-prompt-card .agent-prompt-text { max-width: none; min-height: 112px; margin: 0; color: #d7ddde; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: 13px; line-height: 1.75; }
.agent-prompt-copy { min-height: 46px; margin-top: 22px; padding: 11px 18px; border: 0; border-radius: 8px; color: #07100b; background: var(--acid); font: inherit; font-size: 12px; font-weight: 850; cursor: pointer; transition: background .2s ease, transform .2s ease; }
.agent-prompt-copy:hover { background: #d7ff95; transform: translateY(-1px); }
.agent-prompt-copy span { margin-right: 7px; }
.agent-prompt-card .agent-copy-status { min-height: 18px; margin: 10px 0 0; color: var(--aqua); font-size: 10px; line-height: 1.4; }

.guide-page { background: radial-gradient(circle at 82% 12%, rgba(139,232,223,.1), transparent 28%), #080b0e; }
.guide-shell { padding: 70px 0 112px; }
.guide-hero { min-height: 520px; display: flex; align-items: center; }
.guide-hero > div { max-width: 900px; }
.guide-hero h1 { max-width: 820px; }
.guide-hero > div > p:not(.eyebrow) { max-width: 700px; margin: 0; color: #9ba5a7; font-size: clamp(15px, 1.45vw, 18px); line-height: 1.8; }
.guide-hero .download-size { margin-left: 8px; font-size: .78em; opacity: .62; }
.guide-flow { border-top: 1px solid var(--line); }
.guide-step { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 48px; padding: 72px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 32px; }
.guide-step-number { color: rgba(198,255,102,.32); font-size: clamp(48px, 6vw, 78px); font-weight: 800; line-height: 1; letter-spacing: -.08em; }
.guide-step-label { margin: 0 0 9px; color: var(--aqua); font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.guide-step h2 { margin: 0 0 28px; font-size: clamp(32px, 4.2vw, 54px); letter-spacing: -.05em; }
.guide-step ol, .guide-step ul { display: grid; gap: 1px; max-width: 860px; margin: 0; padding: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; list-style: none; background: var(--line); counter-reset: guide-item; }
.guide-step li { position: relative; min-height: 58px; padding: 18px 20px 18px 58px; color: #aeb7b9; background: #10151a; font-size: 13px; line-height: 1.65; counter-increment: guide-item; }
.guide-step ol li::before { content: counter(guide-item, decimal-leading-zero); position: absolute; left: 20px; top: 19px; color: var(--acid); font-size: 10px; font-weight: 850; }
.guide-step ul li { padding-left: 20px; }
.guide-step li strong { color: var(--ink); }
.guide-step-highlight { margin-inline: -24px; padding-inline: 24px; border: 1px solid rgba(139,232,223,.24); border-radius: 20px; background: linear-gradient(145deg, rgba(21,31,36,.72), rgba(10,14,18,.2)); }
.guide-inline-action { margin-top: 22px; }
.guide-final { padding: 100px 0 24px; }
.guide-final h2 { max-width: 760px; margin: 18px 0 0; font-size: clamp(42px, 6vw, 76px); line-height: 1.02; letter-spacing: -.065em; }

@media (max-width: 1080px) {
  nav { gap: 18px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-copy { max-width: 780px; }
  .hero-gallery { min-height: 420px; }
  .hero-frame-main { inset-inline: 5%; }
  .theme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about { gap: 55px; }
  .about-origin, .about-story-grid { gap: 55px; }
}

@media (max-width: 760px) {
  .site-header, main, footer { width: min(100% - 30px, 1280px); }
  .site-header { grid-template-columns: 1fr auto; }
  nav { display: none; }
  .header-cta { font-size: 11px; }
  .header-cta-prefix { display: none; }
  .hero { gap: 26px; padding: 62px 0 78px; }
  h1 { font-size: clamp(52px, 16vw, 78px); }
  .hero-stats { gap: 22px; margin-top: 46px; }
  .hero-gallery { min-height: 300px; }
  .hero-frame-main { top: 36px; transform: none; }
  .hero-frame-left { bottom: 16px; }
  .hero-frame-right { width: 45%; }
  .hero-orbit-one { width: 250px; height: 250px; }
  .catalog { padding: 74px 0 90px; }
  .section-heading, .about, .device-console, .about-origin, .about-story-grid { grid-template-columns: 1fr; gap: 28px; }
  .catalog-tools { align-items: stretch; flex-direction: column; }
  .search-field, input { width: 100%; }
  .filter-list { justify-content: flex-start; }
  .theme-grid { grid-template-columns: 1fr; }
  .about { padding: 82px 0 92px; }
  footer { grid-template-columns: 1fr; }
  .footer-meta { justify-items: start; text-align: left; }
  .footer-separator { padding-inline: 5px; }
  .detail-copy { padding: 20px 20px 18px; }
  .detail-actions { grid-template-columns: 1fr 1fr; }
  .app-button { grid-column: 1 / -1; grid-row: 1; }
  .agent-button, .share-button { grid-column: span 1; grid-row: 2; }
  #next-theme { justify-self: stretch; }
  .download-shell { padding: 48px 0 86px; }
  .download-hero, .skill-download { grid-template-columns: 1fr; gap: 36px; }
  .download-hero { min-height: 0; padding-bottom: 78px; }
  .download-card { padding: 28px 22px; }
  .download-guide-link { align-items: flex-start; flex-direction: column; margin-bottom: 68px; padding: 24px 20px; }
  .skill-download { align-items: start; padding: 68px 0; }
  .agent-prompt-card { padding: 22px 18px; }
  .guide-shell { padding-top: 48px; }
  .guide-hero { min-height: 0; padding: 32px 0 78px; }
  .guide-step { grid-template-columns: 1fr; gap: 20px; padding: 56px 0; }
  .guide-step-number { font-size: 48px; }
  .guide-step-highlight { margin-inline: -15px; padding-inline: 15px; }
  .guide-step li { padding-left: 52px; }
  .guide-step ul li { padding-left: 18px; }
  .guide-final { padding-top: 78px; }
  .about-story { padding-bottom: 84px; }
  .about-story-hero { min-height: 0; padding: 72px 0 76px; }
  .about-origin { padding: 58px 0; }
  .about-origin-heading { position: static; }
  .about-story-grid { padding-top: 58px; }
  .about-manifesto { padding: 28px 22px; }
}

@media (max-width: 420px) {
  .hero-stats { justify-content: space-between; gap: 12px; }
  .hero-stats dt { font-size: 21px; }
  .filter-list { gap: 4px; }
  .filter-button { padding-inline: 9px; }
  .hero-gallery { min-height: 250px; }
  .hero-frame-main { inset-inline: 2%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
