:root {
  color-scheme: dark;
  --bg: #000000;
  --panel: #171717;
  --panel-deep: #0d0d0d;
  --border: #272727;
  --text: #f5f5f5;
  --muted: #a7a7a7;
  --accent: #ffa16c;
  --accent-light: #ffc8a7;
  --quiet-accent: #251a13;
  --status-accent: #ffa16c;
  --max: 1224px;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 105px; }
body { margin: 0; background: var(--bg); color: var(--text); font-size: 16px; line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button,select,input { font: inherit; }
button, summary, select { cursor: pointer; }
button { color: inherit; }
button:disabled { cursor: default; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
[hidden] { display: none !important; }
img, svg { display: block; max-width: 100%; }
figure, h1, h2, h3, p { margin: 0; }
.wrap { width: min(var(--max), calc(100% - 88px)); margin-inline: auto; }
[data-icon] { display: inline-flex; flex: none; align-items: center; justify-content: center; }
[data-icon] svg, .icon { width: 19px; height: 19px; }
.site-header { position: sticky; z-index: 5; top: 0; background: #000000ed; border-bottom: 1px solid #ffffff13; backdrop-filter: blur(14px); }
.header-inner { min-height: 73px; display: grid; grid-template-columns: minmax(max-content,1fr) minmax(0,2fr) minmax(max-content,1fr); align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; width: fit-content; white-space: nowrap; }
.brand b { font-size: 17px; letter-spacing: .025em; }
.main-nav { min-width: 0; overflow-x: auto; scrollbar-width: thin; color: #bababa; font-size: 14px; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: clamp(14px,2.25vw,35px); width: max-content; min-width: 100%; padding: 6px 5px; }
.nav-links a { white-space: nowrap; }
.nav-links a, footer a { transition: color .2s; }
.nav-links a:hover, footer a:hover { color: var(--accent-light); }
.header-actions { justify-self: end; display: flex; gap: 9px; align-items: center; }
.theme-toggle { display: grid; place-items: center; width: 39px; height: 39px; padding: 0; border: 1px solid #373737; border-radius: 50%; background: #171717; color: var(--accent-light); }
.theme-toggle:hover { border-color: var(--accent-light); }
.theme-toggle svg { width: 19px; height: 19px; }
:root:not([data-theme="light"]) .theme-moon, :root[data-theme="light"] .theme-sun { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 9px; background: transparent; font-weight: 650; font-size: 14px; transition: background .2s, border-color .2s, transform .2s; white-space: nowrap; }
.button:not(:disabled):hover { transform: translateY(-2px); }
.button.primary { color: #111; background: #f5f5f5; border-color: #f5f5f5; }
.button.primary:hover { background: #fff; border-color: #ffc39f; }
.button.secondary { border-color: #3a3a3a; background: #1e1e1e; }
.button.secondary:hover { border-color: #b88161; background: #232323; }
.header-buy { justify-self: end; min-height: 39px; padding: 7px 13px; border-radius: 999px; color: #0a0a0a; background: var(--accent); border-color: var(--accent); }
.header-buy:hover { background: var(--accent-light); border-color: var(--accent-light); }
.header-buy svg { width: 16px; height: 16px; }
.hero { position: relative; isolation: isolate; overflow: hidden; border-bottom: 1px solid #ffffff18; background: radial-gradient(ellipse at 76% 71%, #171514 0%, #090909 46%, #000 77%); }
.hero-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 37px; align-items: center; padding-block: 91px 96px; min-height: 618px; }
.hero-copy { position: relative; z-index: 1; }
.hero-label { display: inline-flex; align-items: center; gap: 9px; padding: 5px 11px; margin-bottom: 21px; background: #211711; border: 1px solid #604335; border-radius: 999px; color: #ffc39f; font-size: 13px; }
.hero-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px #ffa16c70; }
h1 { font-size: clamp(2.55rem, 4.48vw, 4.5rem); font-weight: 850; letter-spacing: -.065em; line-height: 1.15; white-space: nowrap; }
h1 span { color: #f5f5f5; }
.hero-copy p { max-width: 26em; color: #b9b9b9; margin-top: 22px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.hero-actions .button { min-height: 52px; font-size: 15px; padding-inline: 18px; }
.systems { margin-top: 30px; color: #a5a5a5; font-size: 13px; letter-spacing: .035em; }
.hero-backdrop { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-backdrop::before, .hero-backdrop::after { content: ""; position: absolute; }
.hero-backdrop::before {
  inset: -14% -12%;
  background: url("/assets/hero-flow.svg") 60% center / cover no-repeat;
  opacity: .8;
  animation: background-flow 19s ease-in-out infinite alternate;
}
.hero-backdrop::after {
  inset: 0;
  background: linear-gradient(90deg,#000e 0%,#000a 32%,transparent 68%),
              linear-gradient(0deg,#000b 0%,transparent 45%,#0006 100%);
}
@keyframes background-flow {
  from { transform: translate3d(-2%, 2%, 0) scale(1); }
  to { transform: translate3d(4%, -3%, 0) scale(1.125); }
}
.hero-visual { position: relative; margin: 6px 15px 16px 12px; min-width: 0; perspective: 1000px; }
.hero-rig {
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(calc(8deg + var(--tilt-x, 0deg))) rotateY(calc(-16deg + var(--tilt-y, 0deg))) rotateZ(-2deg);
  transition: transform .35s cubic-bezier(.2,.7,.25,1);
}
.hero-window, .demo-frame { position: relative; overflow: hidden; border: 1px solid #505050; border-radius: 14px; background: #181818; box-shadow: 0 30px 65px #0009; }
.hero-window { animation: window-drift 8s ease-in-out infinite; }
.hero-window::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg,transparent 36%,#ffc49f0d 48%,#fff2 52%,transparent 66%);
  transform: translateX(-120%);
  animation: window-shine 9s 1.2s ease-in-out infinite;
}
@keyframes window-drift {
  50% { transform: translateY(-9px) rotateY(3deg) rotateX(-2deg); }
}
@keyframes window-shine {
  28%, 100% { transform: translateX(120%); }
}
.mock-title { height: 40px; display: flex; align-items: center; justify-content: center; border-bottom: 1px solid #313131; background: #202020; color: #bcbcbc; position: relative; font-size: 12px; }
.dots { position: absolute; left: 14px; display: flex; gap: 6px; }
.dots i { width: 8px; height: 8px; border-radius: 50%; background: #808080; }
.dots i:nth-child(2) { background: #ffaa71; }
.dots i:nth-child(3) { background: #4e4e4e; }
.title-extra { position: absolute; right: 13px; }
.title-extra svg { width: 14px; height: 14px; }
.float-label { position: absolute; right: -13px; bottom: -21px; display: flex; align-items: center; gap: 11px; padding: 10px 15px 10px 11px; border: 1px solid #654637; border-radius: 11px; background: #292929f5; box-shadow: 0 15px 32px #0008; animation: hover-label 5s ease-in-out infinite; }
.float-label b, .float-label small { display: block; }
.float-label b { font-size: 13px; }
.float-label small { font-size: 12px; color: #c9c9c9; }
.float-icon { width: 34px; height: 34px; border-radius: 8px; background: #372319; color: #ffbd97; }
@keyframes hover-label {
  from, to { transform: translate3d(0, 0, 38px); }
  50% { transform: translate3d(0, -9px, 56px); }
}
.cap-strip { background: #080808; border-bottom: 1px solid #ffffff18; }
.cap-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.cap-grid span { display: flex; justify-content: center; gap: 11px; align-items: center; min-height: 69px; font-size: 14px; font-weight: 600; color: #c7c7c7; }
.cap-grid span + span { border-left: 1px solid #ffffff14; }
.cap-grid i { color: var(--accent); }
.section { padding-block: 86px; }
.section-head { margin-bottom: 34px; }
.eyebrow { display: block; color: var(--accent-light); font-size: 14px; font-weight: 750; margin-bottom: 8px; }
h2 { font-size: clamp(1.8rem, 3vw, 2.85rem); letter-spacing: -.045em; line-height: 1.2; font-weight: 820; }
.section-head p { color: var(--muted); margin-top: 12px; }
.capabilities { padding-bottom: 0; }
.capability-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.capability-card { display: block; padding: 18px; background: var(--panel); border: 1px solid var(--border); border-radius: 11px; transition: background .2s, border-color .2s, transform .2s; }
.capability-card:hover { background: var(--quiet-accent); border-color: var(--accent-light); transform: translateY(-2px); }
.capability-icon { display: grid; width: 36px; height: 36px; place-items: center; margin-bottom: 11px; background: var(--quiet-accent); border-radius: 8px; color: var(--accent-light); }
.capability-card h3 { font-size: 16px; }
.capability-card p { margin-top: 5px; color: var(--muted); font-size: 14px; }
.feature-shell { border: 1px solid var(--border); border-radius: 15px; overflow: hidden; background: radial-gradient(ellipse at right bottom,#232323,transparent 70%), var(--panel-deep); }
.feature-tabs { min-width: 0; padding: 12px; background: #111111; }
.feature-tab-list { display: flex; gap: 8px; }
.feature-tabs button { display: flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid transparent; border-radius: 7px; background: transparent; white-space: nowrap; color: #b8b8b8; font-size: 14px; }
.feature-tabs button[aria-pressed="true"] { color: #ffd8c0; background: #2c1d15; border-color: #6a4a37; }
.feature-tabs button:hover { color: var(--accent-light); }
.feature-content { padding: 27px; display: grid; grid-template-columns: 270px 1fr; grid-template-areas: "copy preview"; align-items: center; gap: 24px; }
.feature-copy { grid-area: copy; padding: 10px; }
.feature-copy h3 { font-size: 24px; margin-bottom: 12px; }
.feature-copy p { color: var(--muted); }
.feature-copy ul { padding-left: 18px; color: #dbdbdb; font-size: 14px; }
.feature-copy li { margin-top: 7px; }
.feature-copy li::marker { color: var(--accent); }
.demo-frame { grid-area: preview; box-shadow: 0 10px 23px #0005; min-width: 0; }
.scene-art { width: 100%; height: auto; font-family: "Microsoft YaHei","PingFang SC",sans-serif; }
.scene-row { animation: enter .42s ease both; }
.scene-row:nth-of-type(2) { animation-delay: .07s; }
.scene-row:nth-of-type(3) { animation-delay: .14s; }
.scene-row:nth-of-type(4) { animation-delay: .21s; }
@keyframes enter { from { opacity: .15; transform: translateY(6px); } }
.scene-progress { transform-origin: left; transform-box: fill-box; animation: fill-progress 1.5s cubic-bezier(.2,.7,.3,1) both; }
@keyframes fill-progress { from { transform: scaleX(.08); } }
.scene-pulse { animation: pulse 2.5s ease infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.download-section { border-block: 1px solid #ffffff17; background: linear-gradient(155deg,#0c0c0c, #080808 35%, #050505 75%); }
.download-toolbar { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; color: #cacaca; }
.download-toolbar label { font-size: 14px; }
.download-toolbar button { margin-left: auto; }
select, input { min-height: 44px; padding: 7px 12px; color: var(--text); background: #202020; border: 1px solid #424242; border-radius: 8px; }
select { appearance: none; padding-right: 35px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%23ffc39f' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
.build-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; }
.build-card { padding: 18px; background: #171717; border: 1px solid #343434; border-radius: 11px; min-width: 0; }
.build-head { display: flex; align-items: center; gap: 11px; margin-bottom: 17px; font-size: 19px; }
.build-mark { display: grid; flex: none; place-items: center; width: 40px; height: 40px; border-radius: 8px; background: #302016; color: var(--accent-light); }
.build-mark svg { width: 21px; height: 21px; }
.build-links { display: grid; gap: 8px; }
.build-link { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 60px; padding: 8px 11px; border: 1px solid #393939; border-radius: 8px; background: #202020; transition: border-color .2s, background-color .2s; }
.build-link:hover { border-color: #895d40; background: #241a15; }
.build-link strong, .build-link small { display: block; }
.build-link strong { font-size: 14px; }
.build-link small, .build-state { color: var(--muted); font-size: 13px; }
.build-state { text-align: right; white-space: nowrap; }
.build-state.available { color: var(--accent-light); font-weight: 700; }
.section-note { margin-top: 18px; color: var(--muted); font-size: 14px; }
.release-log { display: grid; gap: 10px; }
.release-log details { border: 1px solid var(--border); border-radius: 10px; background: var(--panel); padding-inline: 16px; }
.release-log summary { display: flex; gap: 13px; align-items: center; list-style: none; padding-block: 15px; }
.release-log summary::-webkit-details-marker { display: none; }
.release-log .badge { padding: 2px 7px; border: 1px solid #6a4a37; border-radius: 5px; color: var(--accent-light); font-size: 12px; }
.release-log time { color: var(--muted); font-size: 14px; margin-left: auto; }
.release-log .log-body { padding: 0 0 16px; color: #d1d1d1; }
.release-log .log-body ul { margin: 0 0 8px; padding-left: 20px; }
.platform-section { overflow: hidden; border-top: 1px solid #ffffff18; background: radial-gradient(ellipse at center bottom,#111111,transparent 74%), #050505; }
.platform-section .section-head { text-align: center; }
.platform-bands { display: grid; gap: 12px; }
.platform-lane { overflow: hidden; mask-image: linear-gradient(to right,transparent,black 8%,black 92%,transparent); }
.platform-track { display: flex; width: max-content; animation: marquee 60s linear infinite; }
.platform-lane:nth-child(2) .platform-track { animation-direction: reverse; animation-duration: 60s; }
.platform-lane:hover .platform-track { animation-play-state: paused; }
.platform-group { display: flex; gap: 11px; padding-right: 11px; }
.platform-chip { display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 133px; min-height: 56px; padding: 8px 14px; background: #1f1f1f; border: 1px solid #353535; border-radius: 8px; font-size: 15px; font-weight: 650; white-space: nowrap; }
.platform-icon { display: grid; place-items: center; flex: none; width: 27px; height: 27px; border-radius: 7px; background: color-mix(in srgb,var(--chip) 19%,#1f1f1f); color: var(--chip); font-size: 12px; font-weight: 850; }
.platform-key { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px; margin-top: 21px; color: var(--muted); font-size: 13px; }
.platform-key span { display: flex; align-items: center; gap: 6px; }
.platform-key i { width: 7px; height: 7px; border-radius: 50%; background: var(--status-accent); }
.platform-key span:nth-child(2) i { background: #b0b0b0; }
@keyframes marquee { to { transform: translateX(-50%); } }
.site-footer { border-top: 1px solid #ffffff18; padding-block: 27px; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-inner p, .footer-inner > div { color: var(--muted); font-size: 13px; }
.footer-inner > div { display: flex; gap: 14px; }
dialog { color: var(--text); background: #1a1a1a; border: 1px solid #565656; border-radius: 14px; padding: 24px; box-shadow: 0 20px 80px #000c; }
dialog::backdrop { background: #070707cb; backdrop-filter: blur(5px); }
.dialog-close { position: absolute; right: 9px; top: 9px; z-index: 1; width: 36px; height: 36px; background: #272727f5; border: 1px solid #434343; border-radius: 8px; font-size: 24px; line-height: 1; }
.checkout { width: min(480px,calc(100% - 28px)); }
.checkout h3 { font-size: 24px; margin-right: 32px; }
.checkout p { color: var(--muted); margin-block: 10px; }
.checkout .checkout-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.checkout .payment-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
.payment-actions .button { padding-inline: 6px; white-space: normal; text-align: center; font-size: clamp(12px,3.6vw,14px); }
.payment-actions .button:only-child { grid-column: 1 / -1; }
.delivery-options { display: flex; gap: 8px; flex-wrap: wrap; }
.delivery-options .button { color: var(--accent-light); padding-inline: 11px; }
.delivery-options .button:disabled { opacity: .55; }
.installer-picker { margin-bottom: 12px; }
.installer-picker label { margin-bottom: 5px; font-size: 14px; font-weight: 650; }
.installer-picker-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.installer-picker select { width: 100%; min-width: 0; padding-right: 29px; background-position: right 7px center; font-size: 14px; }
.installer-picker .button { padding-inline: 12px; }
.installer-picker .button:disabled { opacity: .5; }
.installer-picker small { display: block; margin-top: 4px; color: var(--muted); }
.installer-picker small:empty { display: none; }
.checkout label { display: block; margin-top: 10px; }
.checkout label input { width: 100%; }
.checkout .payment-qr { width: 180px; min-height: 120px; margin: 12px auto; padding: 8px; background: #fff; border-radius: 8px; }
.checkout .message { color: var(--accent-light); font-size: 14px; }
@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: .87fr 1.13fr; gap: 23px; min-height: 540px; }
  .wrap { width: calc(100% - 64px); }
  .feature-content { grid-template-columns: 220px 1fr; }
  .capability-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .wrap { width: calc(100% - 36px); }
  .header-inner { grid-template-columns: 1fr auto; min-height: 62px; gap: 8px; padding-top: max(8px, env(safe-area-inset-top)); }
  .main-nav { order: 1; grid-column: 1 / -1; border-top: 1px solid #ffffff18; font-size: 13px; }
  .nav-links { justify-content: space-between; gap: 14px; padding-block: 8px; }
  .brand b { font-size: 15px; }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-block: 28px 54px; gap: 31px; }
  h1 { font-size: clamp(2.15rem, 8.1vw, 3.75rem); }
  .hero-label { margin-bottom: 15px; }
  .hero-copy p { margin-top: 15px; }
  .hero-actions { margin-top: 19px; }
  .systems { margin-top: 18px; }
  .hero-visual { margin-inline: 4px; perspective: 850px; }
  .hero-rig { transform: rotateX(4deg) rotateY(-6deg) rotateZ(-.8deg); }
  .hero-backdrop::before { opacity: .53; background-position: 69% center; }
  .hero-backdrop::after { background: linear-gradient(180deg,#000a 0%,transparent 80%,#0007); }
  .float-label { right: 2px; bottom: -18px; }
  .cap-grid { grid-template-columns: repeat(2,1fr); }
  .cap-grid span { min-height: 51px; gap: 8px; font-size: 13px; }
  .cap-grid span:nth-child(3) { border-left: 0; }
  .cap-grid span:nth-child(n+3) { border-top: 1px solid #ffffff14; }
  .section { padding-block: 53px; }
  .capabilities { padding-bottom: 0; }
  .capability-card { padding: 14px; }
  .capability-card p { font-size: 13px; }
  .section-head { margin-bottom: 24px; }
  .feature-content { grid-template-columns: 1fr; grid-template-areas: "preview" "copy"; padding: 13px; gap: 10px; }
  .build-grid { grid-template-columns: 1fr; }
  .build-card { padding: 15px; }
  .release-log summary { gap: 7px; }
  .platform-key { gap: 9px; }
}
@media (max-width: 350px) {
  .hero-actions .button { width: 100%; }
  .download-toolbar button { margin-left: 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .platform-lane { overflow-x: auto; mask-image: none; }
  .hero-rig { transform: rotateX(4deg) rotateY(-8deg); }
  .hero-backdrop::before, .hero-window, .float-label { animation: none !important; }
  .hero-window::after { display: none; }
}
.platform-dot { width: 6px; height: 6px; background: var(--status-accent); border-radius: 50%; }
.platform-dot.documented { background: #b0b0b0; }
@media (prefers-reduced-motion: reduce) {
  .platform-track { animation: none !important; }
  .platform-group[aria-hidden="true"] { display: none; }
}

.hero-copy > * { animation: hero-enter .7s cubic-bezier(.2,.7,.3,1) both; }
.hero-copy h1 { animation-delay: .06s; }
.hero-copy p { animation-delay: .12s; }
.hero-copy .hero-actions { animation-delay: .18s; }
.hero-copy .systems { animation-delay: .24s; }
.hero-visual { animation: hero-enter .85s .14s cubic-bezier(.2,.7,.3,1) both; }
@keyframes hero-enter { from { opacity: 0; transform: translateY(12px); } }
.hero .hero-actions .button { border-radius: 999px; padding-inline: 22px; }
.hero .hero-actions .primary {
  position: relative;
  isolation: isolate;
  color: #fff;
  border-color: #895d40;
  background: #080808;
  box-shadow: -7px 1px 19px #ff8a4f40, 7px -1px 19px #ffffff10;
  animation: purchase-glow 6s ease-in-out infinite;
}
.hero .hero-actions .primary:hover { color: white; background: #24160e; border-color: #ffc39f; }
.hero .hero-actions .primary svg { color: #ffc39f; }
@keyframes purchase-glow {
  50% { box-shadow: -4px 2px 25px #ff8a4f58, 5px -1px 22px #ffffff18; }
}
.hero .hero-actions .secondary { background: #101010; border-color: #333333; }
.feature-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding-right: 12px;
  border-bottom: 1px solid var(--border);
  background: #111111;
}
.demo-toggle { border-radius: 999px; min-height: 36px; font-size: 13px; padding: 5px 11px; }
.demo-toggle[aria-pressed="true"] { color: #ffccad; border-color: #7a523a; background: #2c1b12; }
.demo-toggle svg { width: 15px; height: 15px; }
@media (max-width: 1150px) {
  .feature-bar { display: grid; grid-template-columns: minmax(0,1fr); gap: 3px; padding: 0 0 10px; }
  .feature-tabs { overflow: hidden; overflow: clip; padding: 8px 0 4px; touch-action: pan-y; }
  .feature-tab-list { width: 125%; margin-inline-start: -12.5%; gap: 0; }
  .feature-tabs button {
    display: none;
    order: var(--feature-order);
    flex: 0 0 20%;
    justify-content: center;
    min-width: 0;
    padding: 7px 2px;
    gap: 4px;
    font-size: clamp(11px, 3.2vw, 14px);
  }
  .feature-tabs button:is([data-offset="-2"],[data-offset="-1"],[data-offset="0"],[data-offset="1"],[data-offset="2"]) { display: flex; }
  .feature-tabs button:is([data-offset="-2"],[data-offset="2"]) { opacity: .67; }
  .feature-tabs button svg { flex: none; width: 14px; height: 14px; }
  .feature-tabs button:focus-visible { outline-offset: -3px; }
  .demo-toggle { justify-self: center; }
}
.checkout .contact-picker { margin: 15px 0 0; padding: 0; border: 0; min-width: 0; }
.contact-picker legend { margin-bottom: 6px; padding: 0; font-size: 14px; }
.contact-options { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 7px; }
.checkout .contact-options label { display: flex; align-items: center; justify-content: center; gap: 6px; margin: 0; padding: 8px 3px; border: 1px solid var(--border); border-radius: 8px; cursor: pointer; }
.checkout .contact-options input { width: 14px; min-height: 0; margin: 0; accent-color: var(--accent); }
.contact-options label:has(:checked) { background: #2c1f18; border-color: #895d40; color: var(--accent-light); }
.purchase-field { margin-top: 13px; }
.purchase-field-head { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 6px; }
.checkout .purchase-field-head label { margin: 0; font-size: 14px; }
.purchase-field-head small { color: var(--muted); text-align: right; font-size: 12px; }
.purchase-input-row { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 8px; }
.purchase-input-row input, .purchase-input-row .button { min-width: 0; min-height: 40px; padding: 7px 10px; }
.purchase-input-row .order-submit { color: #180e08; background: var(--accent); border-color: var(--accent); }
.purchase-input-row .order-submit:hover { background: var(--accent-light); border-color: var(--accent-light); transform: none; }
.purchase-input-row .order-submit:disabled { opacity: .6; }
.copy-field { margin-top: 14px; }
.copy-field > div { display: flex; align-items: stretch; gap: 8px; margin-top: 5px; }
.copy-field input { flex: 1; min-width: 0; width: 100%; font: clamp(12px,3.8vw,14px) ui-monospace, monospace; }
.copy-field .button { min-height: 44px; padding: 7px 10px; }
.copy-field small { display: block; margin-top: 4px; color: var(--muted); }
.copy-field small:empty { display: none; }

:root[data-theme="light"] {
  color-scheme: light;
  --bg: #fffbf6;
  --panel: #fff;
  --panel-deep: #fbf4ed;
  --border: #e4d7cc;
  --text: #221b17;
  --muted: #66584f;
  --accent: #ffa16c;
  --accent-light: #9d3d14;
  --quiet-accent: #ffecdf;
  --status-accent: #b84c1c;
}
[data-theme="light"] :focus-visible { outline-color: var(--accent-light); }
[data-theme="light"] .site-header { background: #fffbf6ed; }
[data-theme="light"] :is(.site-header,.hero,.main-nav,.cap-strip,.cap-grid span,.download-section,.platform-section,.site-footer) { border-color: var(--border); }
[data-theme="light"] :is(.main-nav,.systems,.hero-copy p,.float-label small,.cap-grid span,.feature-copy ul,.download-toolbar,.release-log .log-body) { color: var(--muted); }
[data-theme="light"] .theme-toggle { background: var(--panel); border-color: var(--border); }
[data-theme="light"] .theme-toggle:hover { border-color: var(--accent-light); }
[data-theme="light"] .hero { background: radial-gradient(ellipse at 76% 71%, #ffdfc8 0%, #fff4e9 48%, #fffbf6 79%); }
[data-theme="light"] .hero-backdrop::before { filter: invert(1) sepia(.3) saturate(1.35); mix-blend-mode: multiply; opacity: .69; }
[data-theme="light"] .hero-backdrop::after { background: linear-gradient(105deg,#fffbf6da 0%,#fffbf69f 35%,transparent 76%); }
[data-theme="light"] .hero-label { background: var(--quiet-accent); border-color: #e8b494; color: var(--accent-light); }
[data-theme="light"] h1 span { color: var(--text); }
[data-theme="light"] .hero-window { box-shadow: 0 30px 65px #4d251c48; }
[data-theme="light"] .float-label { background: #fffffff5; border-color: #e8b494; box-shadow: 0 15px 32px #69351b26; }
[data-theme="light"] .float-icon { background: var(--quiet-accent); color: var(--accent-light); }
[data-theme="light"] .cap-strip { background: #fff4ea; }
[data-theme="light"] .cap-grid i { color: var(--accent-light); }
[data-theme="light"] .feature-shell { background: radial-gradient(ellipse at right bottom,#fbe8d9,transparent 75%), var(--panel-deep); }
[data-theme="light"] :is(.feature-bar,.feature-tabs) { background: var(--panel); border-color: var(--border); }
[data-theme="light"] .feature-tabs button { color: var(--muted); }
[data-theme="light"] :is(.feature-tabs button,.demo-toggle)[aria-pressed="true"],
[data-theme="light"] .contact-options label:has(:checked) { color: var(--accent-light); background: var(--quiet-accent); border-color: #d39877; }
[data-theme="light"] .download-section { background: linear-gradient(155deg,#fff0e4,#fffbf6 65%); }
[data-theme="light"] .platform-section { background: radial-gradient(ellipse at center bottom,#ffead9,transparent 75%), #fff7ef; }
[data-theme="light"] :is(.build-card,.build-link,.platform-chip,input,select,.dialog-close,dialog,.button.secondary,.hero .hero-actions .secondary) { background-color: var(--panel); border-color: var(--border); }
[data-theme="light"] :is(.build-link:hover,.dialog-close:hover,.button.secondary:hover,.hero .hero-actions .secondary:hover) { background-color: var(--quiet-accent); border-color: #d39877; }
[data-theme="light"] .build-mark { background: var(--quiet-accent); }
[data-theme="light"] .release-log .badge { border-color: #d39877; }
[data-theme="light"] .platform-icon { background: var(--quiet-accent); color: var(--accent-light); }
[data-theme="light"] dialog { box-shadow: 0 20px 65px #3c24164d; }
[data-theme="light"] dialog::backdrop { background: #30211885; }
[data-theme="light"] :is(.header-buy,.button.primary,.hero .hero-actions .primary,.purchase-input-row .order-submit) { background: var(--accent); border-color: var(--accent); color: #22170f; }
[data-theme="light"] :is(.header-buy,.button.primary,.hero .hero-actions .primary,.purchase-input-row .order-submit):hover { background: #ffb485; border-color: #e07f48; }
[data-theme="light"] .hero .hero-actions .primary { box-shadow: 0 8px 26px #d96e363b; }
[data-theme="light"] .hero .hero-actions .primary svg { color: inherit; }
[data-theme="light"] select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='m4 6 4 4 4-4' fill='none' stroke='%239d3d14' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
