:root {
  color-scheme: light dark;
  --bg: light-dark(#f5f8f7,#06080c);
  --panel: light-dark(#ffffff,#0c1017);
  --raised: light-dark(#edf4f1,#111520);
  --ink: light-dark(#111d1a,#f0f4ff);
  --muted: light-dark(#516460,#a6afbf);
  --line: light-dark(#d7e2de,#242d39);
  --accent: light-dark(#007453,#00ffb2);
  --mint: #00ffb2;
  --soft: light-dark(#dbf7eb,#10271f);
  --outline: light-dark(#9bc6b5,#235247);
  --mono: ui-monospace, "SF Mono", Consolas, monospace;
  --radius: 17px;
}
:root[data-theme=light] { color-scheme: light; }
:root[data-theme=dark] { color-scheme: dark; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: 30px; }
body { margin: 0; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font: 16px/1.55 Inter, "Segoe UI", system-ui, sans-serif; }
#root { display: flex; flex: 1; flex-direction: column; }
main { flex: 1; }
h1,h2,h3,p,dl,dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
svg { display: block; width: 21px; height: 21px; flex-shrink: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.shell { width: min(1160px,calc(100% - 72px)); margin-inline: auto; }
.skip { position: fixed; inset: 12px auto auto 12px; transform: translateY(-200%); background: var(--panel); padding: 10px; z-index: 4; }
.skip:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.header { border-bottom: 1px solid var(--line); }
.topbar { min-height: 75px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; align-items: center; }
.brand { width: max-content; display: inline-flex; align-items: center; gap: 9px; font-weight: 850; letter-spacing: .08em; font-size: 21px; line-height: 1; }
.brand svg { width: 28px; height: 28px; color: var(--accent); }
.brand small { font: 600 11px/1 var(--mono); color: var(--muted); border-left: 1px solid var(--line); padding-left: 9px; letter-spacing: .035em; }
.topbar nav,.tools,.actions,.platforms,.foot-inner,.foot-inner > div { display: flex; align-items: center; }
.topbar nav { gap: clamp(16px,2.5vw,34px); color: var(--muted); font-size: 14px; font-weight: 550; }
.topbar nav a:hover,.footer a:hover,.back:hover { color: var(--accent); }
.tools { justify-content: flex-end; gap: 12px; }
.theme { width: 41px; height: 41px; display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 10px; }
.theme:hover { border-color: var(--accent); }
.theme svg { width: 17px; height: 17px; }
.theme .sun { display: none; }
:root[data-theme=dark] .theme .sun { display: block; }
:root[data-theme=dark] .theme .moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) .theme .sun { display: block; }
  :root:not([data-theme]) .theme .moon { display: none; }
}
.button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 49px; border: 1px solid transparent; border-radius: 10px; padding: 10px 17px; font-size: 14px; font-weight: 720; text-align: center; transition: background-color .16s, border-color .16s; }
.button svg { width: 17px; height: 17px; }
.button.primary { background: var(--mint); color: #07221a; }
.button.primary:hover { background: #61ffcf; }
.button.quiet { border-color: var(--line); background: var(--panel); }
.button.quiet:hover { border-color: var(--outline); background: var(--raised); }
.button.top-cta { min-height: 41px; padding-inline: 13px; white-space: nowrap; font-size: 13px; }
.hero { display: grid; grid-template-columns: 1fr minmax(0,.96fr); align-items: center; gap: clamp(32px,5vw,72px); padding-block: 58px 54px; }
.kicker { width: fit-content; display: flex; gap: 9px; align-items: center; background: var(--soft); color: var(--accent); padding: 6px 11px; border-radius: 6px; font: 600 12px/1.4 var(--mono); }
.kicker span { width: 6px; height: 6px; background: currentColor; border-radius: 50%; }
h1 { font-size: clamp(49px,6.25vw,91px); font-weight: 810; letter-spacing: -.049em; line-height: .99; }
.hero h1 { margin: 23px 0 19px; }
.hero-copy > p { max-width: 440px; font-size: clamp(16px,1.55vw,19px); color: var(--muted); }
.actions { gap: 10px; margin-top: 28px; flex-wrap: wrap; }
.platforms { gap: 10px; color: var(--muted); font-size: 12px; margin-top: 22px; }
.platforms svg { width: 17px; height: 17px; }
.platforms span { width: 3px; height: 3px; border-radius: 50%; background: currentColor; }
.blueprint { isolation: isolate; overflow: hidden; display: grid; grid-template-rows: auto minmax(0,1fr) auto; min-width: 0; min-height: 352px; aspect-ratio: 1.29; border: 1px solid var(--line); border-radius: 20px; background: radial-gradient(ellipse at 50% 56%,var(--soft),transparent 68%), linear-gradient(to right,var(--line) 1px,transparent 1px) center/29px 29px, linear-gradient(to bottom,var(--line) 1px,transparent 1px) center/29px 29px, var(--panel); }
.blueprint img { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.blueprint-top,.blueprint-bottom { padding: 12px 16px; display: flex; align-items: center; justify-content: space-between; color: var(--muted); font: 11px/1.25 var(--mono); }
.blueprint-top { border-bottom: 1px solid var(--line); background: var(--panel); }
.blueprint-top span:first-child,.cross { color: var(--accent); }
.blueprint-bottom { border-top: 1px solid var(--line); background: var(--panel); }
.section { padding-block: 42px 52px; border-top: 1px solid var(--line); }
.section-title { margin-bottom: 24px; }
h2 { font-size: clamp(29px,3.6vw,46px); line-height: 1.09; letter-spacing: -.035em; }
.section-title p,.faq > div > p { color: var(--muted); margin-top: 11px; }
.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); }
.feature-grid article { padding: 8px 22px 5px; }
.feature-grid article:first-child { padding-left: 0; }
.feature-grid article + article { border-left: 1px solid var(--line); }
.tile-icon { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; color: var(--accent); background: var(--soft); flex: 0 0 auto; }
.feature-grid h3 { font-size: 18px; margin: 11px 0 4px; letter-spacing: -.025em; }
.feature-grid p { color: var(--muted); font-size: 14px; max-width: 270px; }
.plans { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 12px; }
.plan { display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; }
.plan.featured { border-color: var(--outline); background: linear-gradient(150deg,var(--soft),var(--panel) 72%); }
.plan-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px; min-height: 25px; margin-bottom: 12px; color: var(--muted); font: 12px var(--mono); }
.badge { background: var(--soft); color: var(--accent); font: 680 11px/1.2 Inter,system-ui,sans-serif; padding: 4px 6px; border-radius: 5px; }
.plan h3 { font-size: 16px; }
.plan-price { font-size: clamp(29px,3.2vw,42px); font-weight: 810; line-height: 1.16; letter-spacing: -.055em; margin: 7px 0 3px; white-space: nowrap; }
.plan p { color: var(--muted); font-size: 13px; margin-bottom: 18px; }
.plan .button { margin-top: auto; justify-content: space-between; min-height: 43px; }
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 28px; padding-bottom: 70px; }
.faq p a { color: var(--accent); text-decoration: underline; text-underline-offset: .19em; }
details { border-bottom: 1px solid var(--line); }
details:first-child { border-top: 1px solid var(--line); }
summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 0; font-weight: 660; }
summary::-webkit-details-marker { display: none; }
summary svg { color: var(--accent); width: 17px; height: 17px; }
details[open] summary svg { transform: rotate(180deg); }
details p { margin: 0 16px 15px 0; font-size: 14px; color: var(--muted); }
.footer { border-top: 1px solid var(--line); }
.foot-inner { min-height: 86px; gap: 20px; justify-content: space-between; color: var(--muted); font-size: 13px; flex-wrap: wrap; padding-block: 16px; }
.foot-inner .brand { color: var(--ink); }
.foot-inner > div { gap: 18px; flex-wrap: wrap; }
.checkout { max-width: 980px; padding-block: 35px 76px; }
.back { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 14px; }
.back svg { width: 17px; }
.checkout-intro { margin: 24px 0 28px; }
.checkout-intro h1 { font-size: clamp(32px,5.4vw,62px); }
.checkout-intro p { color: var(--muted); margin-top: 12px; }
.checkout-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(0,1fr); gap: 16px; align-items: start; }
.checkout-main { display: grid; gap: 16px; }
.panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h2 { font-size: 23px; margin-bottom: 17px; letter-spacing: -.035em; }
.choices { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 7px; }
.choice { min-height: 59px; display: grid; grid-template-columns: auto minmax(0,1fr) auto; align-items: center; gap: 12px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 9px; cursor: pointer; font-size: 14px; }
.choice:hover { background: var(--raised); }
.choice:has(input:checked) { border-color: var(--outline); background: var(--soft); }
.choice input { margin: 0; width: 16px; height: 16px; accent-color: var(--accent); }
.choice-text,.order-product div { display: grid; }
.choice small,.order-product small { font-size: 12px; color: var(--muted); }
.order-product { display: flex; align-items: center; gap: 12px; }
.order dl { margin: 18px 0; color: var(--muted); font-size: 14px; }
.order dl > div { display: flex; justify-content: space-between; gap: 8px; padding: 12px 0; border-top: 1px solid var(--line); align-items: baseline; }
.order dl > .order-total { padding-bottom: 0; }
.order-total dt { color: var(--ink); font-weight: 650; }
.order-total dd { font-size: 28px; font-weight: 800; color: var(--ink); letter-spacing: -.04em; white-space: nowrap; }
.checkout-note { display: flex; align-items: flex-start; gap: 7px; margin-top: 12px; color: var(--muted); font-size: 12px; }
.catalog-message .button { margin-top: 12px; }
.checkout-note svg { width: 15px; height: 15px; margin-top: 2px; }
@media (max-width: 920px) {
  .shell { width: calc(100% - 48px); }
  .hero { gap: 26px; }
  .blueprint { min-height: 300px; }
  .plans { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 700px) {
  .shell { width: calc(100% - 36px); }
  .topbar { grid-template-columns: 1fr auto; min-height: 62px; gap: 0 12px; }
  .topbar nav { grid-row: 2; grid-column: 1/-1; padding-bottom: 12px; }
  .topbar .brand,.topbar .tools { padding-block: 10px; }
  .top-cta { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 35px 30px; }
  .hero h1 { font-size: clamp(47px,11vw,72px); }
  .blueprint { max-height: 365px; min-height: 0; }
  .section { padding-block: 30px 34px; }
  .feature-grid,.faq,.checkout-grid { grid-template-columns: 1fr; }
  .feature-grid article,.feature-grid article:first-child { padding: 12px 0; }
  .feature-grid article + article { border-left: 0; border-top: 1px solid var(--line); }
  .faq { gap: 18px; }
  .checkout { padding-block: 26px 44px; }
  .checkout-intro { margin-block: 18px 21px; }
}
@media (max-width: 450px) {
  .plan-top { min-height: 40px; align-content: start; }
}
@media (max-width: 380px) {
  .plan { padding: 11px; }
  .actions .button { width: 100%; }
  .panel { padding: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
}
