:root {
  --ink: #0d0d0d;
  --ink-2: #5e5e5e;
  --ink-3: #9b9b9b;
  --line: #e6e6e6;
  --bg: #ffffff;
  --bg-soft: #f7f7f8;
  --radius: 14px;
  --font: 'Inter', -apple-system, sans-serif;
  --display: 'Inter Tight', 'Inter', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--font); -webkit-font-smoothing: antialiased; line-height: 1.55; }
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1216px; margin: 0 auto; padding: 0 32px; }

/* ============ nav + mega menu ============ */
nav.top { position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,0.92); backdrop-filter: blur(16px); }
.nav-in { display: flex; align-items: center; height: 60px; gap: 36px; }
.logo { font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
.logo b { font-weight: 700; }
.nav-links { display: flex; gap: 6px; font-size: 14px; font-weight: 500; flex: 1; }
.nav-links > button, .nav-links > a { font: inherit; border: 0; background: none; cursor: pointer; color: var(--ink); opacity: 0.8; padding: 8px 12px; border-radius: 8px; }
.nav-links > button:hover, .nav-links > a:hover { opacity: 1; background: var(--bg-soft); }
.nav-links > button.active { opacity: 1; background: var(--bg-soft); }
.nav-cta { margin-left: auto; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; transition: all .18s ease; cursor: pointer; }
.pill-dark { background: var(--ink); color: #fff; }
.pill-dark:hover { background: #2b2b2b; }
.pill-light { border: 1px solid var(--line); background: #fff; }
.pill-light:hover { border-color: #bdbdbd; }
.pill-lg { padding: 14px 28px; font-size: 15px; }

.mega { display: none; position: absolute; left: 0; right: 0; top: 60px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 30px 60px rgba(0,0,0,0.08); }
.mega.open { display: block; }
.mega-in { display: grid; grid-template-columns: 1.1fr 1fr 1fr; gap: 48px; padding: 40px 0 48px; }
.mega h5 { font-size: 12px; font-weight: 500; color: var(--ink-3); margin-bottom: 16px; }
.mega .big a { display: block; font-family: var(--display); font-size: 26px; font-weight: 600; letter-spacing: -0.02em; padding: 7px 0; }
.mega .big a:hover { color: var(--ink-2); }
.mega ul { list-style: none; }
.mega ul a { display: block; font-size: 14.5px; font-weight: 500; padding: 7px 0; color: var(--ink); }
.mega ul a:hover { color: var(--ink-2); }
.mega ul a span { display: block; font-size: 12px; font-weight: 400; color: var(--ink-3); }
.scrim { display: none; position: fixed; inset: 60px 0 0 0; z-index: 55; background: rgba(13,13,13,0.18); }
.scrim.open { display: block; }

/* ============ shared type ============ */
.kicker { font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 18px; }
h1.page { font-family: var(--display); font-weight: 600; font-size: clamp(40px, 5.6vw, 72px); letter-spacing: -0.035em; line-height: 1.04; max-width: 880px; }
h2 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4vw, 52px); letter-spacing: -0.03em; line-height: 1.06; max-width: 780px; }
.lead { margin-top: 24px; font-size: 19px; color: var(--ink-2); max-width: 660px; }
section { padding: 96px 0 16px; }
.page-head { padding: 88px 0 24px; }
.page-head.wrap { padding-left: 32px; padding-right: 32px; }

/* ============ hero ============ */
.hero { padding: 88px 0 40px; }
.hero-cta { margin-top: 36px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.hero-note { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.02em; }
.visual { margin-top: 72px; border-radius: calc(var(--radius) + 8px); overflow: hidden; position: relative; background: radial-gradient(120% 160% at 15% 0%, #1a2440 0%, #0c101e 42%, #08090f 100%); min-height: 540px; display: flex; align-items: center; justify-content: center; }
.visual::before { content: ''; position: absolute; inset: 0; background:
  radial-gradient(42% 60% at 78% 22%, rgba(224,80,56,0.28) 0%, transparent 70%),
  radial-gradient(50% 70% at 22% 85%, rgba(79,124,255,0.22) 0%, transparent 70%); }
.app-shot { position: relative; width: min(860px, 88%); margin: 68px 0; background: #fdfdfc; border-radius: 12px; box-shadow: 0 60px 140px rgba(0,0,0,0.55), 0 0 0 1px rgba(255,255,255,0.08); overflow: hidden; }
.shot-bar { display: flex; gap: 7px; padding: 13px 16px; border-bottom: 1px solid #ececec; }
.shot-bar i { width: 11px; height: 11px; border-radius: 50%; background: #e3e3e3; }
.shot-bar i:first-child { background: #e0503833; }
.shot-body { padding: 44px 52px 52px; }
.shot-title { font-family: var(--display); font-size: 44px; font-weight: 400; letter-spacing: -0.02em; color: #111; }
.shot-title b { font-weight: 700; }
.shot-sub { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.16em; color: #a0a0a0; margin-top: 8px; text-transform: uppercase; }
.shot-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 34px; }
.shot-card { border: 1px solid #ececec; border-radius: 10px; padding: 18px; background: #fff; }
.shot-card i { font-style: normal; font-family: var(--mono); font-size: 10px; color: #4f7cff; letter-spacing: 0.12em; }
.shot-card b { display: block; margin-top: 9px; font-size: 14.5px; font-weight: 600; color: #151515; }
.shot-card s { display: block; margin-top: 4px; font-size: 12px; color: #8b8b8b; text-decoration: none; }

/* ============ cards ============ */
.cards { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { border-radius: var(--radius); overflow: hidden; background: var(--bg-soft); transition: transform .25s ease; display: flex; flex-direction: column; }
.card:hover { transform: translateY(-4px); }
.card-art { height: 210px; position: relative; }
.card-art.a1 { background: linear-gradient(135deg, #ffd8a8 0%, #ff8a5c 55%, #e05038 100%); }
.card-art.a2 { background: linear-gradient(135deg, #c7d6ff 0%, #6f92ff 60%, #3352c9 100%); }
.card-art.a3 { background: linear-gradient(135deg, #d8f3e3 0%, #6fcf97 60%, #1e7d4f 100%); }
.card-art.a4 { background: linear-gradient(135deg, #f3e8ff 0%, #b58cf5 60%, #6d3ad1 100%); }
.card-art.a5 { background: linear-gradient(135deg, #fff3c4 0%, #ffd23f 60%, #d19a00 100%); }
.card-art.a6 { background: linear-gradient(135deg, #e2e8f0 0%, #94a3b8 60%, #334155 100%); }
.card-art span { position: absolute; left: 24px; bottom: 20px; font-family: var(--display); font-size: 28px; font-weight: 600; color: #fff; letter-spacing: -0.02em; text-shadow: 0 2px 18px rgba(0,0,0,0.18); }
.card-txt { padding: 22px 24px 26px; }
.card-txt h3 { font-size: 16.5px; font-weight: 600; letter-spacing: -0.01em; }
.card-txt p { margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.card-txt .tag { display: inline-block; margin-top: 14px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.1em; color: var(--ink-3); text-transform: uppercase; }

/* ============ manifesto ============ */
.manifesto { margin-top: 64px; border-radius: calc(var(--radius) + 8px); background: #0d0d0d; color: #fff; padding: 88px 72px; position: relative; overflow: hidden; }
.manifesto::after { content: ''; position: absolute; right: -140px; top: -140px; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(224,80,56,0.35) 0%, transparent 70%); }
.manifesto h2 { color: #fff; max-width: 720px; }
.manifesto p { margin-top: 24px; font-size: 17px; color: rgba(255,255,255,0.68); max-width: 600px; }
.m-stats { display: flex; gap: 64px; margin-top: 56px; flex-wrap: wrap; }
.m-stats b { font-family: var(--display); font-size: 44px; font-weight: 600; letter-spacing: -0.03em; display: block; }
.m-stats span { font-size: 13px; color: rgba(255,255,255,0.55); }

/* ============ pricing ============ */
.price-grid { margin-top: 56px; display: grid; grid-template-columns: 1fr 1.15fr; gap: 20px; max-width: 900px; }
.price { border: 1px solid var(--line); border-radius: var(--radius); padding: 40px 38px; background: #fff; }
.price.feature { background: #0d0d0d; color: #fff; border-color: #0d0d0d; box-shadow: 0 30px 80px rgba(0,0,0,0.18); position: relative; overflow: hidden; }
.price.feature::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(224,80,56,0.4) 0%, transparent 70%); }
.plan-name { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; }
.price .amount { margin-top: 20px; font-family: var(--display); font-size: 60px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.price .amount small { font-size: 15px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.price.feature .amount small { color: rgba(255,255,255,0.5); }
.price .was { margin-top: 8px; font-size: 13px; color: var(--ink-3); }
.price.feature .was { color: rgba(255,255,255,0.5); }
.price .was s { margin-right: 8px; }
.price ul { margin: 30px 0 34px; list-style: none; }
.price li { font-size: 14.5px; padding: 9px 0; color: var(--ink-2); display: flex; gap: 10px; }
.price.feature li { color: rgba(255,255,255,0.78); }
.price li::before { content: '✓'; font-weight: 700; color: var(--ink); }
.price.feature li::before { color: #ff7a5c; }
.launch { display: inline-block; margin-bottom: 18px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase; background: rgba(224,80,56,0.16); color: #ff9078; border: 1px solid rgba(224,80,56,0.35); padding: 5px 12px; border-radius: 999px; }
/* three-tier pricing */
.tier-grid { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier { border: 1px solid var(--line); border-radius: 18px; padding: 30px 28px 26px; background: #fff; position: relative; display: flex; flex-direction: column; transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.tier:hover { border-color: rgba(0,0,0,0.18); box-shadow: 0 14px 40px rgba(0,0,0,0.07); transform: translateY(-2px); }
.plan-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 26px; }
.plan-head .plan-name { font-size: 17px; font-weight: 650; letter-spacing: -0.01em; }
.pop-badge { font-family: var(--mono); font-size: 10px; letter-spacing: 0.12em; font-weight: 600; color: #2563eb; background: #eff6ff; border: 1px solid #bfdbfe; padding: 4px 10px; border-radius: 999px; white-space: nowrap; }
.pop-badge--float { position: absolute; top: -12px; right: 24px; background: #3b82f6; color: #fff; border-color: #3b82f6; box-shadow: 0 6px 18px rgba(59,130,246,0.35); }
.tier.feature .pop-badge { background: rgba(255,255,255,0.1); color: #fff; border-color: rgba(255,255,255,0.25); }
.plan-cta { justify-content: center; width: 100%; margin-top: 22px; padding: 12px 0; border-radius: 12px; font-weight: 600; }
.pill-ghost { background: #fff; color: #0d0d0d; border: 1px solid rgba(13,13,13,0.22); }
.pill-ghost:hover { background: #f5f5f4; }
.plan-footnote { margin-top: 28px; text-align: center; font-size: 12.5px; color: var(--ink-3); }
.plan-footnote a { color: var(--ink-2); text-decoration: underline; }
.tier .amount { margin-top: 22px; font-family: var(--display); font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1; }
.tier .amount small { font-size: 13px; font-weight: 400; color: var(--ink-3); letter-spacing: 0; }
.tier .was { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); line-height: 1.5; min-height: 40px; }
.tier ul { margin: 24px 0 4px; padding-top: 22px; border-top: 1px solid var(--line); list-style: none; flex: 1; }
.tier li { font-size: 13.5px; padding: 7px 0; color: var(--ink-2); display: flex; gap: 10px; line-height: 1.5; }
.tier li::before { content: '✓'; font-weight: 600; color: var(--ink); opacity: 0.75; flex: none; }
.tier.hot { border-color: #3b82f6; box-shadow: 0 0 0 1px #3b82f6, 0 24px 60px rgba(59,130,246,0.16); }
.tier.hot .plan-cta { background: #3b82f6; color: #fff; border: 0; }
.tier.hot .plan-cta:hover { background: #2f6fe0; }
.tier.feature { background: linear-gradient(180deg, #f6faff 0%, #ffffff 60%); color: inherit; border-color: #bfdbfe; box-shadow: 0 18px 50px rgba(59,130,246,0.10); overflow: hidden; }
.tier.feature::after { content: ''; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(59,130,246,0.14) 0%, transparent 70%); pointer-events: none; }
.tier.feature .amount small, .tier.feature .was { color: var(--ink-3); }
.tier.feature li { color: var(--ink-2); }
.tier.feature ul { border-top-color: #dbeafe; }
.tier.feature .launch { margin-bottom: 0; background: #eff6ff; color: #2563eb; border-color: #bfdbfe; }
.tier.feature li::before { color: #3b82f6; opacity: 1; }
.hot-badge { position: absolute; top: -13px; right: 26px; background: linear-gradient(135deg, #ff5f3c, #e02929); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: 0.06em; padding: 5px 14px; border-radius: 999px; box-shadow: 0 6px 18px rgba(224,41,41,0.35); }
.tier .pill { justify-content: center; }
.tier .pill[disabled], .buy-btn[disabled] { background: #ececee !important; color: #a0a0a5 !important; cursor: not-allowed; border: 0; box-shadow: none; }
.buy-btn { border: 0; font-family: var(--font); }
.stock { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-bottom: 16px; min-height: 18px; }
.tier.feature .stock { color: var(--ink-3); }
.tier.live .stock { color: #2563eb; font-weight: 500; }
.tier.live { animation: pulse 1.2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 1px #16a34a, 0 10px 40px rgba(22,163,74,0.18); } 50% { box-shadow: 0 0 0 2px #16a34a, 0 10px 50px rgba(22,163,74,0.3); } }

/* drop status bar */
.drop-bar { margin-top: 34px; display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 999px; background: var(--bg-soft); padding: 12px 22px; font-size: 14px; font-weight: 500; color: var(--ink-2); }
.drop-bar .drop-dot { width: 9px; height: 9px; border-radius: 50%; background: #d0d0d3; }
.drop-bar.live { border-color: #16a34a; background: #f0fdf4; color: #166534; }
.drop-bar.live .drop-dot { background: #16a34a; animation: blink 1s infinite; }
@keyframes blink { 50% { opacity: 0.25; } }
.drop-count { font-family: var(--mono); font-size: 13px; color: var(--ink); }

/* region gate */
.region-gate[hidden] { display: none; }
.region-gate { position: fixed; inset: 0; z-index: 200; background: rgba(13,13,13,0.55); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; padding: 20px; }
.region-card { background: #fff; border-radius: 20px; max-width: 560px; width: 100%; padding: 44px 48px; text-align: center; box-shadow: 0 40px 120px rgba(0,0,0,0.35); animation: gateIn 0.35s ease; }
@keyframes gateIn { from { opacity: 0; transform: translateY(16px) scale(0.98); } }
.region-globe { margin-bottom: 20px; }
.region-flag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; color: #e02929; margin-bottom: 14px; }
.region-card h2 { font-family: var(--display); font-size: 30px; font-weight: 700; letter-spacing: -0.02em; }
.region-card h3 { font-size: 22px; font-weight: 700; margin-top: 4px; }
.region-card p { margin-top: 16px; font-size: 14px; line-height: 1.7; color: var(--ink-2); }
.region-card p .zh { color: var(--ink-3); }
.region-card .region-fine { font-size: 12.5px; color: var(--ink-3); }
.region-card .pill { margin-top: 24px; justify-content: center; width: 100%; }

/* trial entry + trial page */
.trial-entry { display: inline-flex; align-items: center; gap: 8px; margin-top: 22px; font-size: 14px; font-weight: 600; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 9px 20px; background: var(--bg-soft); text-decoration: none; transition: all 0.15s ease; }
.trial-entry:hover { border-color: var(--ink); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(0,0,0,0.08); }
.trial-entry span { transition: transform 0.15s ease; }
.trial-entry:hover span { transform: translateX(3px); }
.trial-box { max-width: 720px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; padding: 40px 44px; box-shadow: 0 20px 60px rgba(0,0,0,0.06); }
.trial-box h3 { font-family: var(--display); font-size: 24px; font-weight: 650; letter-spacing: -0.02em; margin-bottom: 18px; }
.trial-terms { list-style: none; margin: 0 0 22px; }
.trial-terms li { font-size: 14px; color: var(--ink-2); padding: 9px 0 9px 26px; position: relative; line-height: 1.6; border-bottom: 1px solid var(--line-soft, #f0f0f1); }
.trial-terms li::before { content: '›'; position: absolute; left: 6px; font-weight: 700; color: var(--ink); }
.trial-check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink); margin-bottom: 22px; cursor: pointer; }
.trial-check input { margin-top: 3px; accent-color: #0d0d0d; }
.trial-steps div { font-family: var(--mono); font-size: 13.5px; color: var(--ink-3); padding: 10px 0; transition: color 0.3s ease; }
.trial-steps div.done { color: #16a34a; }
.trial-key-wrap { display: flex; gap: 14px; align-items: stretch; flex-wrap: wrap; margin: 6px 0 18px; }
.trial-key-wrap code { flex: 1; min-width: 240px; font-family: var(--mono); font-size: 12px; line-height: 1.6; word-break: break-all; background: #0d0d0d; color: #a7f3d0; border-radius: 12px; padding: 16px 18px; }
.trial-note { font-size: 13px; color: var(--ink-3); }
.trial-howto { margin: 18px 0 0 18px; font-size: 14px; color: var(--ink-2); }
.trial-howto li { padding: 5px 0; }
.pill[disabled] { opacity: 0.4; cursor: not-allowed; }

/* nav trial button */
.nav-ctas { display: flex; align-items: center; gap: 10px; }
.nav-trial { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 600; color: var(--ink); text-decoration: none; padding: 8px 16px; border-radius: 999px; border: 1px solid var(--line); background: linear-gradient(180deg, #fff, #f4f4f5); box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 1px 3px rgba(0,0,0,0.06); transition: border-color 0.2s ease, box-shadow 0.2s ease; }
.nav-trial:hover { border-color: #a1a1aa; box-shadow: inset 0 1px 0 rgba(255,255,255,0.9), 0 3px 10px rgba(0,0,0,0.1); }
.nt-dot { width: 6px; height: 6px; border-radius: 50%; background: #16a34a; animation: blink 2s infinite; }

/* fake support chat */
.chat-widget[hidden] { display: none; }
.chat-widget { position: fixed; right: 24px; bottom: 24px; z-index: 150; width: 340px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 24px 80px rgba(0,0,0,0.22); display: flex; flex-direction: column; overflow: hidden; animation: gateIn 0.25s ease; }
.chat-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: #0d0d0d; color: #fff; }
.chat-title { font-weight: 650; font-size: 14px; }
.chat-sub { font-size: 11.5px; color: #a1a1aa; margin-top: 2px; display: flex; align-items: center; gap: 6px; }
.chat-dot { width: 7px; height: 7px; border-radius: 50%; background: #71717a; transition: background 0.4s ease; }
.chat-dot.on { background: #22c55e; animation: blink 2s infinite; }
.chat-spin { display: inline-block; width: 12px; height: 12px; border: 2px solid #d4d4d8; border-top-color: #71717a; border-radius: 50%; vertical-align: -2px; margin-right: 4px; animation: chatspin 0.8s linear infinite; }
@keyframes chatspin { to { transform: rotate(360deg); } }
.chat-close { background: none; border: none; color: #a1a1aa; font-size: 14px; cursor: pointer; padding: 4px; }
.chat-close:hover { color: #fff; }
.chat-body { padding: 16px; height: 300px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; background: var(--bg-soft); }
.chat-msg { max-width: 85%; padding: 10px 14px; border-radius: 14px; font-size: 13px; line-height: 1.55; }
.chat-msg.agent { background: #fff; border: 1px solid var(--line); color: var(--ink); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-msg.user { background: #0d0d0d; color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-msg.typing { color: var(--ink-3); letter-spacing: 2px; }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.chat-input input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-size: 13px; outline: none; font-family: inherit; }
.chat-input input:focus { border-color: var(--ink); }
.chat-input button { border: none; background: #0d0d0d; color: #fff; border-radius: 999px; padding: 9px 18px; font-size: 13px; font-weight: 600; cursor: pointer; }
.chat-input button:hover { background: #2d2d2d; }

.activate-note { margin-top: 26px; max-width: 900px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--bg-soft); padding: 24px 28px; font-size: 14.5px; color: var(--ink-2); }
.activate-note b { color: var(--ink); }
.activate-note code { font-family: var(--mono); font-size: 12.5px; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 2px 8px; }

/* ============ faq / legal ============ */
.faq { margin-top: 48px; max-width: 780px; }
details { border-top: 1px solid var(--line); padding: 24px 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-size: 17px; font-weight: 500; list-style: none; display: flex; justify-content: space-between; letter-spacing: -0.01em; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--ink-3); font-weight: 400; }
details[open] summary::after { content: '−'; }
details p { margin-top: 14px; font-size: 15px; color: var(--ink-2); max-width: 640px; }

.legal { max-width: 760px; padding-bottom: 40px; }
.legal .updated { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-top: 18px; }
.legal h3 { font-size: 18px; font-weight: 600; margin-top: 44px; letter-spacing: -0.01em; }
.legal p, .legal li { margin-top: 12px; font-size: 15px; color: var(--ink-2); }
.legal ul { margin-left: 20px; }

/* ============ footer ============ */
footer.big { margin-top: 120px; border-top: 1px solid var(--line); padding: 64px 0 72px; }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h5 { font-size: 12px; font-weight: 500; color: var(--ink-3); margin-bottom: 16px; }
.foot-grid ul { list-style: none; }
.foot-grid ul a { display: block; font-size: 13.5px; font-weight: 500; padding: 5px 0; color: var(--ink); }
.foot-grid ul a:hover { color: var(--ink-2); }
.foot-bottom { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 56px; font-size: 12.5px; color: var(--ink-3); }

/* ============ mobile nav ============ */
.nav-burger { display: none; margin-left: auto; width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav-burger span { display: block; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, opacity .2s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { display: none; position: fixed; inset: 60px 0 0 0; z-index: 70; background: #fff; padding: 28px 24px 40px; overflow-y: auto; }
.mobile-menu.open { display: block; }
.mobile-menu .mm-group { border-bottom: 1px solid var(--line); padding: 14px 0 18px; }
.mobile-menu h5 { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 6px; }
.mobile-menu a { display: block; font-family: var(--display); font-size: 20px; font-weight: 600; letter-spacing: -0.01em; padding: 9px 0; }
.mobile-menu .mm-ctas { display: flex; flex-direction: column; gap: 12px; margin-top: 26px; }
.mobile-menu .mm-ctas a { font-family: var(--font); font-size: 15px; justify-content: center; text-align: center; padding: 13px 0; }
.mobile-menu .nav-trial { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }

@media (max-width: 900px) {
  .cards, .shot-grid, .price-grid, .tier-grid, .mega-in { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .manifesto { padding: 56px 32px; }
  .shot-body { padding: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .wrap { padding: 0 20px; }
  .nav-in { gap: 16px; height: 58px; }
  .mobile-menu { inset: 58px 0 0 0; }
  .nav-ctas .nav-trial { display: none; }
  .nav-ctas .nav-cta { padding: 8px 14px; font-size: 13px; }
  h1.page { font-size: clamp(32px, 9vw, 44px); }
  h2 { font-size: clamp(26px, 7.5vw, 34px); }
  .lead { font-size: 16px; margin-top: 18px; }
  section { padding: 60px 0 12px; }
  .page-head { padding: 56px 0 18px; }
  .page-head.wrap { padding-left: 20px; padding-right: 20px; }
  .hero { padding: 52px 0 28px; }
  .hero-cta { margin-top: 26px; gap: 10px; }
  .hero-cta .pill-lg { padding: 12px 20px; font-size: 14px; }
  .visual { min-height: 0; margin-top: 44px; border-radius: 16px; }
  .app-shot { width: 92%; margin: 36px 0; }
  .shot-body { padding: 20px 18px 24px; }
  .shot-title { font-size: 26px; }
  .shot-grid { margin-top: 20px; gap: 10px; }
  .cards { margin-top: 36px; gap: 16px; }
  .card-art { height: 160px; }
  .manifesto { padding: 44px 22px; margin-top: 44px; border-radius: 18px; }
  .m-stats { gap: 28px; margin-top: 36px; }
  .m-stats b { font-size: 32px; }
  .price { padding: 28px 22px; }
  .price .amount { font-size: 44px; }
  .tier { padding: 24px 20px 22px; }
  .tier .amount { font-size: 36px; }
  .tier-grid { margin-top: 40px; }
  .trial-box { padding: 26px 20px; }
  .region-gate { padding: 14px; align-items: flex-start; overflow-y: auto; }
  .region-card { padding: 26px 20px 22px; margin: auto 0; max-height: none; border-radius: 16px; }
  .region-card h2 { font-size: 23px; }
  .region-card h3 { font-size: 17px; }
  .region-card p { font-size: 13px; margin-top: 12px; }
  .region-card .region-fine { font-size: 11.5px; }
  .region-globe svg, .region-globe { width: 40px; height: 40px; margin: 0 auto 12px; }
  .region-card .pill { margin-top: 18px; }
  .activate-note { padding: 18px 18px; }
  .dl-card { padding: 26px 20px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  footer.big { margin-top: 72px; padding: 44px 0 52px; }
  .foot-bottom { flex-direction: column; align-items: flex-start; margin-top: 36px; }
  .chat-widget { right: 12px; bottom: 12px; }
  .drop-bar { padding: 10px 16px; font-size: 13px; }
  summary { font-size: 15.5px; }
}

/* ---------- Download page ---------- */
.dl-card {
  border: 1px solid var(--line, #e6e6e6);
  border-radius: 20px;
  padding: 40px 44px;
  background: linear-gradient(160deg, #fafafa, #fff 55%);
  box-shadow: 0 1px 3px rgba(0,0,0,0.03);
}
.dl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #15803d;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: 999px;
  padding: 6px 14px;
}
.dl-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #22c55e;
  animation: dlPulse 1.8s ease infinite;
}
@keyframes dlPulse { 0%,100% { opacity: 1 } 50% { opacity: 0.35 } }
.dl-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 18px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--line, #ececec);
}
.dl-meta b { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3, #999); margin-bottom: 4px; }
.dl-meta span { font-size: 14px; color: var(--ink, #111); }
.dl-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 26px;
}
.dl-step {
  border: 1px solid var(--line, #e9e9e9);
  border-radius: 16px;
  padding: 24px;
  background: #fff;
}
.dl-step i {
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 50%;
  background: #111; color: #fff;
  font-style: normal; font-size: 13px; font-weight: 700;
  margin-bottom: 12px;
}
.dl-step b { display: block; font-size: 15px; margin-bottom: 6px; }
.dl-step p { font-size: 13.5px; color: var(--ink-2, #555); line-height: 1.55; }

/* buy flow spinner + blue accents */
#buyGrid .buy-btn:not([disabled]) { background: #3b82f6; color: #fff; border: 0; }
#buyGrid .buy-btn:not([disabled]):hover { background: #2f6fe0; }
.buy-btn.is-loading { background: #eef0f3 !important; color: #6b7280 !important; display: inline-flex; align-items: center; justify-content: center; gap: 9px; cursor: wait; }
.btn-spin { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(107,114,128,0.3); border-top-color: #6b7280; animation: btnspin 0.7s linear infinite; flex: none; }
@keyframes btnspin { to { transform: rotate(360deg); } }
.drop-bar.live { border-color: #3b82f6; }
.drop-bar.live .drop-dot { background: #3b82f6; }

/* trial key typewriter */
#trialKey.typing::after { content: ''; display: inline-block; width: 8px; height: 1.05em; margin-left: 2px; vertical-align: text-bottom; background: #3b82f6; animation: caretblink 0.8s steps(1) infinite; }
@keyframes caretblink { 50% { opacity: 0; } }
