/* MyMacCloud — "rack at night": navy night, brushed aluminum, one amber power LED. */
:root {
  --night: #0d1322;
  --deep: #080c17;
  --panel: #131b2e;
  --alu: #c9ced6;
  --ink: #e8ebf1;
  --muted: #8f98ab;
  --line: rgba(201, 206, 214, 0.13);
  --amber: #ffb547;
  --amber-ink: #241500;
  --ok: #7fd8a8;
  --err: #ff8a7a;
  --r-device: 22%;
  --r-btn: 999px;
  --r-box: 14px;
  --font: 'Archivo', 'PingFang SC', 'Hiragino Sans GB', 'Noto Sans SC', 'Microsoft YaHei', system-ui, sans-serif;
  --mono: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --wrap: 1180px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 400 17px/1.65 var(--font);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}
.lang-zh { line-height: 1.75; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -0.01em; }
h2 { font-size: clamp(28px, 3.4vw, 42px); line-height: 1.2; font-stretch: 112%; max-width: 22ch; }
.lang-zh h2 { max-width: 18em; font-stretch: 100%; }
h3 { font-size: 19px; line-height: 1.35; }
p { margin: 0; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.section-lead { color: var(--muted); max-width: 62ch; margin-top: 14px; }
.lang-zh .section-lead { max-width: 38em; }
.small { font-size: 14px; color: var(--muted); }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--amber-ink); padding: 8px 14px; border-radius: 8px; z-index: 99; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px; }

main > section { padding: 104px 0; }
main > section + section { border-top: 1px solid var(--line); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-btn); border: 1px solid transparent;
  font: 600 16px/1.2 var(--font); text-decoration: none; cursor: pointer;
  transition: background-color .15s, border-color .15s, transform .15s;
}
.btn--primary { background: var(--amber); color: var(--amber-ink); }
.btn--primary:hover { background: #ffc46e; }
.btn--primary:active { transform: translateY(1px); }
.btn--ghost { border-color: rgba(201, 206, 214, .35); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--alu); }
.btn--sm { padding: 8px 16px; font-size: 14px; }
.btn--lg { padding: 15px 28px; font-size: 17px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

/* Header */
.top { position: sticky; top: 0; z-index: 20; background: rgba(13, 19, 34, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-stretch: 118%; text-decoration: none; font-size: 18px; }
.top nav { display: flex; align-items: center; gap: 26px; font-size: 15px; }
.top nav a:not(.btn) { text-decoration: none; color: var(--muted); }
.top nav a:not(.btn):hover { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 96px !important; overflow: hidden; background:
  radial-gradient(900px 520px at 78% 40%, rgba(255, 181, 71, .07), transparent 60%),
  radial-gradient(700px 600px at 10% 0%, rgba(120, 150, 220, .08), transparent 60%); }
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.4vw, 68px); line-height: 1.06; font-weight: 750; font-stretch: 116%; letter-spacing: -0.025em; }
.lang-zh .hero h1 { font-size: clamp(34px, 4.8vw, 60px); line-height: 1.18; font-stretch: 100%; letter-spacing: 0; }
.hero .lead { margin-top: 24px; font-size: 19px; color: #c3c9d6; max-width: 34em; }
.lang-en .hero .lead { max-width: 56ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-hint { margin-top: 14px; font-size: 14px; color: var(--muted); }
.facts { list-style: none; padding: 0; margin: 40px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; font-size: 15px; color: #c3c9d6; }
.facts li { padding-left: 22px; position: relative; }
.facts li::before { content: ''; position: absolute; left: 0; top: .62em; width: 10px; height: 6px; border-left: 2px solid var(--amber); border-bottom: 2px solid var(--amber); transform: rotate(-45deg); }

/* The node: the single memorable element */
.node { margin: 0; position: relative; display: grid; grid-template-columns: 1fr; justify-items: center; }
.node-device { position: relative; width: min(500px, 92vw); display: grid; justify-items: center; }
.product-shot { width: 100%; border-radius: 26px; background: #F5F5F7; overflow: hidden; box-shadow: 0 30px 70px rgba(0, 0, 0, .4); }
.product-shot img { width: 100%; height: auto; display: block; }
.product-shot + .node-tag { margin-top: -18px; }
@keyframes breathe { 50% { opacity: .35; } }
.node-tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 999px; background: rgba(19, 27, 46, .95); border: 1px solid var(--line); font-size: 14px; position: relative; z-index: 1; }
.node-tag strong { font-family: var(--mono); font-size: 14px; font-weight: 600; }
.node-tag > span:last-child { color: var(--muted); }
.node-panel {
  width: min(460px, 100%); margin-top: 8px; position: relative;
  background: rgba(19, 27, 46, .92); border: 1px solid var(--line); border-radius: var(--r-box);
  padding: 18px 20px; font-size: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
}
.node-row { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); padding: 4px 0; }
.node-row output { color: var(--ink); font-family: var(--mono); font-size: 13px; }
.node-log-title { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.node-log { list-style: none; margin: 8px 0 0; padding: 0; }
.node-log li { display: grid; grid-template-columns: 46px 1fr; gap: 10px; padding: 5px 0; color: #cdd3de; opacity: 0; animation: logIn .5s ease forwards; animation-delay: calc(.5s + var(--i) * .55s); }
.node-log time { font-family: var(--mono); font-size: 12.5px; color: var(--amber); padding-top: 1px; }
@keyframes logIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.node-status { margin-top: 10px; padding-top: 10px; border-top: 1px solid var(--line); display: flex; align-items: center; gap: 10px; color: var(--ok); }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(127, 216, 168, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 8px rgba(127, 216, 168, 0); } 100% { box-shadow: 0 0 0 0 rgba(127, 216, 168, 0); } }

/* Steps: real sequence, so numbered */
.steps-list { list-style: none; padding: 0; margin: 48px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; counter-reset: s; }
.steps-list li { counter-increment: s; position: relative; padding-top: 56px; }
.steps-list li::before { content: counter(s); position: absolute; top: 0; left: 0; width: 38px; height: 38px; border-radius: 50%; border: 1px solid rgba(255, 181, 71, .6); color: var(--amber); display: grid; place-items: center; font-weight: 700; font-size: 16px; }
.steps-list li:not(:last-child)::after { content: ''; position: absolute; top: 19px; left: 52px; right: -14px; height: 1px; background: linear-gradient(90deg, rgba(255, 181, 71, .5), var(--line)); }
.steps-list p { margin-top: 8px; color: var(--muted); }

/* Pricing */
.pricing { background: var(--deep); }
.pricing-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.terms { display: inline-flex; padding: 4px; border: 1px solid var(--line); border-radius: var(--r-btn); background: var(--night); }
.term { appearance: none; border: 0; background: transparent; color: var(--muted); font: 500 15px/1 var(--font); padding: 11px 16px; border-radius: var(--r-btn); cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.term[aria-checked='true'] { background: var(--alu); color: #10151f; }
.term-off { font-size: 12px; color: var(--amber); font-weight: 600; }
.term[aria-checked='true'] .term-off { color: #8a4d00; }
.plans { display: grid; grid-template-columns: 1fr 1fr .9fr; gap: 20px; margin-top: 44px; align-items: stretch; }
.plan { position: relative; padding: 30px; border-radius: 20px; border: 1px solid var(--line); background: var(--night); display: flex; flex-direction: column; }
.plan--featured { border-color: rgba(255, 181, 71, .55); background: linear-gradient(180deg, rgba(255, 181, 71, .06), var(--night) 45%); }
.plan-flag { position: absolute; top: -12px; left: 28px; background: var(--amber); color: var(--amber-ink); font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: var(--r-btn); }
.plan-name { font-size: 26px; font-stretch: 115%; }
.plan-fit { margin-top: 8px; color: var(--muted); font-size: 15px; min-height: 3.2em; }
.spec { display: grid; grid-template-columns: repeat(4, 1fr); margin: 22px 0; padding: 16px 0; border-block: 1px solid var(--line); }
.spec div + div { border-left: 1px solid var(--line); padding-left: 12px; }
.spec dt { font-size: 12.5px; color: var(--muted); }
.spec dd { margin: 2px 0 0; font-size: 22px; font-weight: 700; font-stretch: 110%; }
.spec small { font-size: 12px; font-weight: 500; color: var(--muted); margin-left: 2px; }
.plan-price { display: flex; align-items: baseline; gap: 4px; }
.js-per { font-size: 52px; font-weight: 750; font-stretch: 108%; letter-spacing: -0.02em; line-height: 1; }
.per { color: var(--muted); }
.plan-total { margin-top: 8px; font-size: 14px; color: #c3c9d6; }
.plan-meta { margin: 6px 0 24px; font-size: 14px; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.js-save { color: var(--amber); }
.js-save:empty { display: none; }
.js-daily { color: var(--muted); }
.plan .btn { margin-top: auto; }
.includes { padding: 26px 4px 0 8px; font-size: 15px; }
.includes ul { list-style: none; margin: 0; padding: 0; }
.includes li { padding: 7px 0 7px 22px; position: relative; color: #c3c9d6; border-bottom: 1px dashed var(--line); }
.includes li::before { content: ''; position: absolute; left: 2px; top: 1.05em; width: 8px; height: 5px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }
.founding { margin: 18px 0 8px; color: var(--amber); font-size: 14px; }

/* Compare */
.table-wrap { margin-top: 40px; overflow-x: auto; border: 1px solid var(--line); border-radius: var(--r-box); }
.compare { width: 100%; border-collapse: collapse; min-width: 760px; font-size: 15px; }
.compare th, .compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.compare tbody tr:last-child > * { border-bottom: 0; }
.compare thead th { font-weight: 600; color: var(--muted); font-size: 14px; }
.compare tbody th { font-weight: 500; color: var(--muted); white-space: nowrap; }
.compare td { color: #c3c9d6; }
.compare .us { background: rgba(255, 181, 71, .07); color: var(--ink); font-weight: 600; }
.compare thead .us { color: var(--amber); }

/* FAQ */
.faq-in { display: grid; grid-template-columns: .7fr 1.3fr; gap: 56px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative; font-weight: 600; font-size: 17px; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ''; position: absolute; right: 8px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: translateY(-70%) rotate(45deg); transition: transform .2s; }
.faq-list details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq-list details p { padding: 0 0 22px; color: var(--muted); max-width: 64ch; }

/* Footer */
.foot { border-top: 1px solid var(--line); padding: 48px 0 110px; font-size: 14px; color: var(--muted); }
.foot-in { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: start; }
.foot-tag { margin-top: 10px; }
.foot-nav { display: flex; gap: 22px; flex-wrap: wrap; }
.foot-nav a { color: var(--muted); text-decoration: none; }
.foot-nav a:hover { color: var(--ink); }
.foot a { color: var(--alu); }
.legal { grid-column: 1 / -1; font-size: 12.5px; padding-top: 24px; border-top: 1px solid var(--line); line-height: 1.7; }

.sticky-cta { display: none; }

@media (max-width: 980px) {
  main > section { padding: 76px 0; }
  .hero-in, .faq-in { grid-template-columns: 1fr; gap: 40px; }
  .node { order: 0; }
  .node-log li:nth-child(n+4) { display: none; }
  .node-device { width: min(420px, 92vw); }
  .plans { grid-template-columns: 1fr 1fr; }
  .includes { grid-column: 1 / -1; }
  .includes ul { columns: 2; column-gap: 28px; }
  .steps-list { grid-template-columns: 1fr; gap: 28px; }
  .steps-list li::after { display: none; }
  .top nav a:not(.btn):not(.lang) { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .hero { padding: 40px 0 64px !important; }
  .hero .lead { font-size: 17px; }
  .facts { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .includes ul { columns: 1; }
  .terms { width: 100%; justify-content: space-between; }
  .term { padding: 10px 8px; font-size: 14px; flex-direction: column; gap: 2px; flex: 1; }
  .top nav { gap: 14px; }
  .top nav .btn { display: none; }
  .sticky-cta { display: flex; position: fixed; left: 16px; right: 16px; bottom: calc(14px + env(safe-area-inset-bottom)); z-index: 30; box-shadow: 0 10px 30px rgba(0, 0, 0, .5); transition: transform .25s, opacity .25s; }
  .sticky-cta.is-hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .node-log li { opacity: 1; }
}

/* ===== v2: brand, imagery, promo, cart ===== */
.logo img { width: 30px; height: 30px; }
.logo-thin { font-weight: 500; color: var(--alu); }
.lbl { font-size: 13px; color: var(--muted); }
.center { text-align: center; }
.hp { left: -9999px; }

/* Promo bar */
.topbar { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; padding: 9px 16px; background: linear-gradient(90deg, #3a2405, #5a3606 50%, #3a2405); color: #ffe2b0; font-size: 14px; font-weight: 600; text-decoration: none; text-align: center; }
.topbar:hover { color: #fff; }
.topbar-cd { font-family: var(--mono); font-weight: 500; font-size: 13px; padding: 2px 8px; border-radius: 6px; background: rgba(0, 0, 0, .25); color: var(--amber); }
.pulse--amber { background: var(--amber); box-shadow: 0 0 0 0 rgba(255, 181, 71, .6); animation: pulseA 1.6s infinite; flex: none; }
@keyframes pulseA { 70% { box-shadow: 0 0 0 8px rgba(255, 181, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 181, 71, 0); } }

/* Stock meter + countdown */
.launch { display: grid; grid-template-columns: 1fr auto; gap: 20px; align-items: end; padding: 16px 18px; border-radius: var(--r-box); border: 1px solid rgba(255, 181, 71, .35); background: linear-gradient(135deg, rgba(255, 181, 71, .10), rgba(255, 181, 71, .02)); }
.launch--hero { margin-top: 26px; max-width: 520px; }
.launch--compact { grid-template-columns: 1fr; gap: 14px; margin-bottom: 18px; }
.launch--final { margin: 26px 0 28px; max-width: 520px; }
.launch-label { font-size: 13px; color: #e5c995; }
.launch-num { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.launch-num output { font-size: 30px; font-weight: 800; font-stretch: 110%; color: var(--amber); line-height: 1.1; }
.launch-num span { color: var(--muted); font-size: 14px; }
.meter { margin-top: 8px; height: 6px; border-radius: 3px; background: rgba(201, 206, 214, .14); overflow: hidden; }
.meter span { display: block; height: 100%; border-radius: 3px; background: linear-gradient(90deg, #ff8a3d, var(--amber)); transition: width .6s ease; }
.countdown { display: flex; gap: 6px; margin-top: 4px; }
.countdown span { display: grid; justify-items: center; font-size: 11px; color: var(--muted); min-width: 40px; }
.countdown b { display: block; font: 700 20px/1.3 var(--mono); color: var(--ink); background: var(--deep); border: 1px solid var(--line); border-radius: 8px; padding: 3px 6px; min-width: 40px; text-align: center; }

/* Image + text zig-zag */
.why-head { max-width: 760px; }
.zig { display: grid; gap: 72px; margin-top: 64px; }
.zig-row { display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.zig-row--rev .zig-media { order: 2; }
.illus { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35), 0 0 0 1px var(--line); }
.zig-copy h3 { font-size: clamp(22px, 2.4vw, 30px); line-height: 1.25; font-stretch: 108%; }
.lang-zh .zig-copy h3 { font-stretch: 100%; }
.zig-copy p { margin-top: 16px; color: var(--muted); font-size: 17px; }
.zig-copy .fix { color: var(--ink); padding: 12px 16px; border-radius: 12px; background: rgba(255, 181, 71, .08); border-left: 3px solid var(--amber); margin-top: 22px; }

/* Pricing v2 */
.toggles { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 32px; align-items: center; }
.toggle-group { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.term-hot { font-size: 11px; font-weight: 700; color: #241500; background: var(--amber); border-radius: 999px; padding: 2px 7px; }
.term[aria-checked='true'] .term-hot { background: #241500; color: var(--amber); }
.plan-head { display: flex; gap: 18px; align-items: center; }
.plan-img { width: 76px; height: 76px; flex: none; }
.plan-fit { min-height: 0; }
.plan-was { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--muted); margin-bottom: 6px; }
.plan-was s { color: var(--muted); }
.badge { font-size: 12.5px; font-weight: 700; color: #241500; background: var(--amber); border-radius: 6px; padding: 2px 8px; }
.plan-breakdown { margin-top: 6px; font-size: 13.5px; color: var(--alu); }
.js-per { color: var(--ink); }
.plan--featured .js-per { color: var(--amber); }
.ai-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 28px; }
.ai-card { display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center; padding: 20px 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--night); }
.ai-card--hot { border-color: rgba(255, 181, 71, .45); }
.ai-card h3 { font-size: 17px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ai-card p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.ai-price { font-size: 22px; font-weight: 800; font-stretch: 108%; white-space: nowrap; color: var(--ink) !important; margin: 0 !important; }
.ai-price small { font-size: 13px; color: var(--muted); font-weight: 500; }
.hot { font-style: normal; font-size: 11px; font-weight: 700; color: #241500; background: var(--amber); border-radius: 999px; padding: 2px 8px; }

/* Uses with images */
.uses-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 44px; }
.use .illus { border-radius: 16px; margin-bottom: 22px; }
.use p { margin-top: 10px; color: var(--muted); }

/* Regions with map */
.regions-head { max-width: 720px; }
.map { margin: 36px 0 0; }
.map .illus { box-shadow: none; border-radius: 0; }
.region-list { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 12px; }
.region { padding: 26px; border: 1px solid var(--line); border-radius: var(--r-box); background: var(--panel); }
.region h3 { display: flex; align-items: center; gap: 10px; font-size: 21px; }
.code { font-size: 12px; font-weight: 700; letter-spacing: .04em; padding: 3px 7px; border-radius: 6px; background: var(--alu); color: #10151f; }
.region p { margin-top: 10px; color: var(--muted); font-size: 15px; }
.region dl { margin: 18px 0 0; }
.region dl div { display: flex; justify-content: space-between; padding: 8px 0; border-top: 1px solid var(--line); font-size: 14px; }
.region dt { color: var(--muted); }
.region dd { margin: 0; font-weight: 600; }

/* Final CTA with image */
.final { background: radial-gradient(700px 400px at 80% 50%, rgba(255, 181, 71, .1), transparent 70%); }
.final-in { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.final-copy p { color: var(--muted); margin-top: 14px; }

/* Cart dialog */
html.modal-open { overflow: hidden; }
.modal { padding: 0; border: 0; background: transparent; color: var(--ink); max-width: min(980px, calc(100vw - 24px)); width: 100%; max-height: calc(100dvh - 24px); }
.modal::backdrop { background: rgba(5, 8, 15, .72); backdrop-filter: blur(6px); }
.modal[open] { animation: pop .22s ease-out; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.985); } to { opacity: 1; transform: none; } }
.cart { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; background: var(--night); border: 1px solid rgba(201, 206, 214, .2); border-radius: 22px; overflow: hidden; max-height: calc(100dvh - 24px); }
.cart-config { padding: 30px; display: grid; gap: 20px; align-content: start; overflow-y: auto; }
.cart-config h2 { font-size: 26px; max-width: none; }
.cart-summary { padding: 30px; background: var(--deep); border-left: 1px solid var(--line); display: grid; gap: 16px; align-content: start; overflow-y: auto; }
.cart fieldset { border: 0; margin: 0; padding: 0; }
.cart legend { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.modal-x { position: absolute; top: 14px; right: 14px; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--ink); font-size: 22px; line-height: 1; cursor: pointer; z-index: 2; }
.modal-x:hover { border-color: var(--alu); }
.picks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.picks--3 { grid-template-columns: repeat(3, 1fr); }
.pick { cursor: pointer; position: relative; }
.pick input, .seg input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.pick-body { display: flex; gap: 12px; align-items: center; height: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(201, 206, 214, .2); background: var(--panel); transition: border-color .15s, background-color .15s; }
.pick-body img { width: 40px; height: 40px; flex: none; }
.pick-body strong { display: block; font-size: 15px; }
.pick-body small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.pick--plan .pick-body { flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; }
.pick input:checked + .pick-body { border-color: var(--amber); background: rgba(255, 181, 71, .08); box-shadow: inset 0 0 0 1px var(--amber); }
.pick input:focus-visible + .pick-body, .seg input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }
.segs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.seg { cursor: pointer; position: relative; }
.seg span { display: grid; justify-items: center; gap: 2px; padding: 10px 6px; border-radius: 12px; border: 1px solid rgba(201, 206, 214, .2); background: var(--panel); font-size: 14px; font-weight: 600; }
.seg em { font-style: normal; font-size: 12px; font-weight: 700; color: var(--amber); }
.seg input:checked + span { border-color: var(--amber); background: rgba(255, 181, 71, .1); box-shadow: inset 0 0 0 1px var(--amber); }
.seg.is-best span { position: relative; }
.seg.is-best span::after { content: '★'; position: absolute; top: -8px; right: -4px; font-size: 11px; color: #241500; background: var(--amber); border-radius: 999px; width: 18px; height: 18px; display: grid; place-items: center; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 7px; }
.stepper { display: grid; grid-template-columns: 44px 1fr 44px; border: 1px solid rgba(201, 206, 214, .2); border-radius: 10px; overflow: hidden; background: var(--deep); }
.stepper button { border: 0; background: var(--panel); color: var(--ink); font-size: 20px; cursor: pointer; }
.stepper button:hover { background: #1c2742; }
.stepper input { border: 0; border-radius: 0; text-align: center; font-weight: 700; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
input, select { width: 100%; font: 400 16px/1.4 var(--font); color: var(--ink); background: var(--deep); border: 1px solid rgba(201, 206, 214, .2); border-radius: 10px; padding: 12px 13px; }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 34px; }
.cart-summary input { background: var(--night); }
input:focus, select:focus { outline: none; border-color: var(--amber); box-shadow: 0 0 0 3px rgba(255, 181, 71, .18); }
input[aria-invalid='true'] { border-color: var(--err); }
.modal-urgent { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 12px; background: rgba(255, 181, 71, .1); border: 1px solid rgba(255, 181, 71, .35); color: #ffe2b0; font-size: 13.5px; font-weight: 600; margin-right: 34px; }
.modal-urgent .pulse { margin-top: 5px; }
.modal-urgent .js-countdown-inline { font-family: var(--mono); color: var(--amber); font-weight: 500; }
.lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.lines li { display: flex; justify-content: space-between; gap: 14px; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.lines strong { display: block; font-size: 15px; }
.lines small { display: block; font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.lines s { color: #6b7385; }
.lines b { white-space: nowrap; font-size: 15px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.cart-total > span { color: var(--muted); font-size: 14px; }
.cart-total p { display: flex; align-items: baseline; gap: 10px; }
.cart-total s { color: var(--muted); font-size: 15px; }
.cart-total b { font-size: 32px; font-weight: 800; font-stretch: 108%; color: var(--amber); }
.cart-saved { margin-top: -10px; text-align: right; color: var(--ok); font-size: 14px; font-weight: 600; }
.cart-saved:empty { display: none; }
.cart-contact { display: grid; gap: 12px; }
.form-error { color: var(--err); font-size: 14px; }
.form-ok { grid-column: 1 / -1; padding: 56px 32px; text-align: center; display: grid; gap: 14px; justify-items: center; }
.form-ok h3 { font-size: 24px; color: var(--ok); }
.form-ok p { color: #c3c9d6; max-width: 46ch; }
.ok-icon { width: 64px; height: 64px; border-radius: 50%; background: rgba(127, 216, 168, .14); position: relative; }
.ok-icon::after { content: ''; position: absolute; left: 22px; top: 18px; width: 18px; height: 28px; border-right: 4px solid var(--ok); border-bottom: 4px solid var(--ok); transform: rotate(45deg); }
[hidden] { display: none !important; }

@media (max-width: 980px) {
  .zig-row, .final-in { grid-template-columns: 1fr; gap: 28px; }
  .zig-row--rev .zig-media { order: 0; }
  .zig { gap: 56px; }
  .uses-grid { grid-template-columns: 1fr; gap: 40px; }
  .use .illus { max-width: 560px; }
  .ai-cards { grid-template-columns: 1fr; }
  .cart { grid-template-columns: 1fr; overflow-y: auto; }
  .cart-config, .cart-summary { overflow: visible; }
  .cart-summary { border-left: 0; border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .launch { grid-template-columns: 1fr; }
  .region-list, .row2 { grid-template-columns: 1fr; }
  .picks--3 { grid-template-columns: 1fr; }
  .pick--plan .pick-body { flex-direction: row; align-items: center; justify-content: space-between; }
  .segs { grid-template-columns: repeat(2, 1fr); }
  .modal { max-width: 100vw; max-height: 100dvh; margin: 0; height: 100dvh; }
  .cart { border-radius: 0; max-height: 100dvh; height: 100dvh; }
  .cart-config, .cart-summary { padding: 22px 18px; }
  .ai-card { grid-template-columns: auto 1fr; }
  .ai-price { grid-column: 2; }
  .toggle-group { width: 100%; }
  .toggle-group .terms { width: 100%; }
  .topbar { font-size: 13px; }
  .foot-in { grid-template-columns: 1fr; }
}
