/* cdkstore — design "A · Clear": light ground, one blue accent, system sans.
   No web-font request: Google Fonts is unreliable from mainland China, so Inter is
   used when installed and the platform UI font otherwise. */
:root {
  --bg: #ffffff;
  --bg-raised: #f8fafc;
  --bg-card: #ffffff;
  --card-hover: #f8fafc;
  --surface: #f8fafc;
  --header-bg: rgba(255, 255, 255, 0.92);
  --line: #e2e8f0;
  --line-strong: #cbd5e1;
  --text: #0f172a;
  --text-dim: #475569;
  --text-faint: #64748b;
  --accent: #1d4ed8;
  --accent-hover: #1e40af;
  --accent-ink: #1e3a8a;
  --accent-soft: #eff6ff;
  --accent-line: #bfdbfe;
  --ok: #15803d;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  --max: 1200px;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  /* --mono is kept for inline styles that still reference it; it now resolves to the UI font. */
  --mono: var(--sans);
  --code: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;
  /* list markers from the site icon set (site/lib/icons.mjs): soft disc + stroke, used as masks */
  --mask-check: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.75a8.75 8.75 0 1 0 0-17.5 8.75 8.75 0 0 0 0 17.5Z' fill-opacity='.16'/%3E%3Cpath d='m8.5 12.25 2.4 2.4 4.6-4.9' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  --mask-x: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 20.75a8.75 8.75 0 1 0 0-17.5 8.75 8.75 0 0 0 0 17.5Z' fill-opacity='.16'/%3E%3Cpath d='M9.25 9.25l5.5 5.5M14.75 9.25l-5.5 5.5' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- icons ---------- */
.ic {
  width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em;
  fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.ic .ic-f { fill: currentColor; stroke: none; opacity: 0.14; }
.ic-chip {
  width: 42px; height: 42px; flex: none; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent-soft); color: var(--accent); font-size: 22px; font-style: normal;
  box-shadow: inset 0 0 0 1px rgba(29, 78, 216, 0.10);
}
.btn .ic { font-size: 17px; }
.stock-ok { display: inline-flex; align-items: center; gap: 5px; color: var(--ok); font-weight: 600; }
.stock-ok .ic { font-size: 15px; }

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-variant-numeric: tabular-nums;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { color: var(--text); }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--header-bg);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: inline-flex; align-items: center; gap: 9px; font-size: 20px; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; color: var(--text); }
.logo-mark { width: 24px; height: 24px; display: block; flex: none; }

.nav { display: flex; gap: 24px; }
.nav a { font-size: 15px; color: #334155; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a.active { color: var(--text); border-bottom-color: var(--accent); }

.header-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }

.lang { display: flex; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; font-size: 13px; }
.lang a { padding: 6px 12px; color: var(--text-dim); }
.lang a.on { background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 11px 20px; border-radius: 10px;
  font-size: 15px; font-weight: 600; line-height: 1.2;
  border: 1px solid var(--line-strong); background: #fff; color: var(--text);
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  cursor: pointer; white-space: nowrap;
}
.btn:hover { background: var(--bg-raised); border-color: #94a3b8; }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: #fff; }
.btn-dark { background: var(--text); border-color: var(--text); color: #fff; }
.btn-dark:hover { background: #1e293b; border-color: #1e293b; color: #fff; }
.btn-block { width: 100%; }
.btn-sm { min-height: 40px; padding: 9px 16px; font-size: 14px; }

.burger {
  display: none; background: #fff; border: 1px solid var(--line-strong);
  color: var(--text); border-radius: 10px; width: 44px; height: 40px;
  font-size: 16px; line-height: 1; cursor: pointer;
}

/* ---------- hero ---------- */
.hero { padding: 72px 0 64px; position: relative; }
.hero-band { background: var(--bg-raised); border-bottom: 1px solid var(--line); }
.hero-grid { display: flex; flex-wrap: wrap; gap: 48px; align-items: center; }
.hero-copy { flex: 1 1 480px; min-width: 0; }
.eyebrow { font-size: 14px; font-weight: 600; color: var(--accent); margin: 0 0 18px; }
.hero h1 {
  font-size: clamp(34px, 5vw, 54px); line-height: 1.08;
  letter-spacing: -0.03em; font-weight: 700; margin: 0 0 20px; max-width: 18ch;
}
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.55; color: var(--text-dim); max-width: 56ch; margin: 0 0 28px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }

.order-card {
  flex: 1 1 360px; max-width: 440px; background: #fff; border: 1px solid var(--line);
  border-radius: 16px; padding: 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 16px;
}
.order-card-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.order-card-top b { font-size: 18px; font-weight: 600; }
.order-card-top span { font-size: 13px; color: var(--text-dim); }
.order-card .price-row b { font-size: 44px; }
.offer-line { background: var(--accent-soft); color: var(--accent-ink); border-radius: 10px; padding: 12px 14px; font-size: 15px; line-height: 1.5; }
.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: #334155; }
.check-list li { display: flex; gap: 10px; }
.check-list li::before,
.feature-list li::before,
.activate-copy li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; background: var(--accent);
  -webkit-mask: var(--mask-check) center / contain no-repeat; mask: var(--mask-check) center / contain no-repeat;
}

/* stats are kept as a quiet fact row */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: 44px; }
.stat b { display: block; font-size: 18px; font-weight: 600; }
.stat span { font-size: 14px; color: var(--text-dim); }

.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; padding: 40px 0 8px; }
.trust div { display: flex; flex-direction: column; gap: 6px; }
.trust .ic-chip { margin-bottom: 6px; }
.trust b { font-size: 16px; font-weight: 600; }
.trust span { font-size: 15px; line-height: 1.5; color: var(--text-dim); }

/* ---------- sections ---------- */
section { padding: 56px 0; }
.section-alt { background: var(--bg-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.gemini-feature { background: none; }
.seo-intro { max-width: 78ch; color: var(--text-dim); font-size: 15px; margin: 18px 0 0; }
.section-head { display: flex; align-items: baseline; gap: 12px 20px; margin-bottom: 24px; flex-wrap: wrap; }
.section-head h2 { font-size: clamp(24px, 3vw, 34px); font-weight: 700; letter-spacing: -0.02em; margin: 0; line-height: 1.2; }
.section-head .sub { color: var(--text-dim); font-size: 15px; }
.section-head a.more { font-size: 15px; font-weight: 600; color: var(--accent); }
.section-head a.more:first-of-type { margin-left: auto; }

.plan-group { margin: 0 0 36px; }
.plan-group:last-child { margin-bottom: 0; }
.plan-group h3 { font-size: 20px; font-weight: 600; margin: 0 0 14px; }

/* ---------- product grid ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.card {
  background: var(--bg-card); padding: 22px; display: flex; flex-direction: column;
  border: 1px solid var(--line); border-radius: 14px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.card:hover { border-color: #93c5fd; box-shadow: var(--shadow); }
.card .brand { font-size: 13px; color: var(--text-dim); }
.card-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.logo-tile {
  width: 30px; height: 30px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 8px; color: var(--accent-ink); background: var(--accent-soft);
  font-size: 13px; font-weight: 700;
}
/* official vendor marks, on the same grounds the shop avatars use */
.logo-tile svg { width: 64%; height: 64%; display: block; }
.logo-tile.b-claude { background: #f5eee4; box-shadow: inset 0 0 0 1px rgba(217, 119, 87, 0.18); }
.logo-tile.b-dark { background: #111214; }
.logo-tile.logo-lg { width: 48px; height: 48px; border-radius: 12px; }
.logo-tile.logo-sm { width: 22px; height: 22px; border-radius: 6px; }
.hub-title { display: inline-flex; align-items: center; gap: 14px; }
.prose a.plan-link { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.prose a.plan-link:hover { text-decoration: underline; }
.brand-row { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-dim); margin-bottom: 12px; }
.brand-row a { color: var(--accent); }

.card h3 { font-size: 18px; margin: 0 0 6px; font-weight: 600; letter-spacing: -0.01em; }
.card .tier { font-size: 14px; color: var(--text-dim); margin-bottom: 16px; line-height: 1.5; }
.card .price { margin-top: auto; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.card .price b { font-size: 26px; font-weight: 700; letter-spacing: -0.02em; }
.card .price s { font-size: 14px; color: var(--text-faint); }
.card .price em { font-style: normal; font-size: 14px; color: var(--text-dim); }
.card .meta {
  display: flex; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--line); font-size: 13px; color: var(--text-dim);
}
.card .meta-delivery { display: inline-flex; align-items: center; gap: 5px; }
.card .meta-delivery .ic { color: var(--accent); font-size: 15px; }
.step-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.step-n { font-size: 13px; font-weight: 600; letter-spacing: 0.04em; color: var(--text-faint); }
.card p { color: var(--text-dim); }

/* ---------- product page ---------- */
.crumbs { font-size: 14px; color: var(--text-dim); padding: 24px 0 0; }
.crumbs a { color: var(--text-dim); text-decoration: underline; text-decoration-color: var(--line-strong); text-underline-offset: 3px; }
.crumbs a:hover { color: var(--text); }

.product-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 48px; padding: 24px 0 16px; align-items: start; }
.product-main h1 { font-size: clamp(30px, 4.4vw, 46px); line-height: 1.1; margin: 0 0 14px; letter-spacing: -0.03em; font-weight: 700; }
.product-main .lede { font-size: 19px; line-height: 1.55; color: var(--text-dim); margin: 0 0 32px; max-width: 62ch; }
.sub-h { font-size: 22px; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 14px; }

.spec-table { width: 100%; border-collapse: separate; border-spacing: 0; margin: 0 0 34px; font-size: 15px; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.spec-table td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.spec-table tr:last-child td { border-bottom: none; }
.spec-table td:first-child { color: var(--text-dim); width: 38%; background: var(--bg-raised); }

.feature-list { list-style: none; padding: 0; margin: 0 0 34px; display: grid; gap: 12px; }
.feature-list li { display: flex; gap: 12px; font-size: 16px; color: #334155; line-height: 1.55; }

.buy-box {
  position: sticky; top: 88px; border: 1px solid var(--line);
  background: #fff; padding: 28px; border-radius: 16px; box-shadow: var(--shadow);
}
.price-row { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.price-row b { font-size: 40px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.1; }
.price-row s { font-size: 15px; color: var(--text-faint); }
.price-row em { font-style: normal; font-size: 16px; color: var(--text-dim); }
.buy-box .price-row { margin-bottom: 6px; }
.buy-box .official { font-size: 14px; color: var(--text-dim); margin-bottom: 16px; }
.buy-box .offer-line { margin: 0 0 16px; }
.buy-box .row {
  display: flex; justify-content: space-between; gap: 12px; font-size: 14px;
  padding: 10px 0; border-top: 1px solid var(--line); color: var(--text-dim);
}
.buy-box .row b { color: var(--text); font-weight: 600; text-align: right; }
.buy-box .row > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.buy-box .row > span:first-child .ic { color: var(--accent); font-size: 17px; }
.buy-box .btn { margin-top: 18px; min-height: 52px; font-size: 17px; }
.buy-box .note { font-size: 13px; color: var(--text-dim); margin: 14px 0 0; line-height: 1.55; }
.buy-box .note a { color: var(--accent); }

/* ---------- prose ---------- */
.prose { max-width: 760px; font-size: 17px; line-height: 1.7; color: #334155; }
.prose h1 { letter-spacing: -0.03em; line-height: 1.12; }
.prose h2 { font-size: 26px; line-height: 1.25; margin: 44px 0 14px; letter-spacing: -0.02em; color: var(--text); }
.prose h3 { font-size: 19px; margin: 28px 0 10px; color: var(--text); }
.prose p { margin: 0 0 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.prose a:hover { text-decoration-color: var(--accent); }
.prose a.btn { text-decoration: none; }
.prose a.btn-primary { color: #fff; }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 0 0 24px; }
.prose th { text-align: left; font-size: 13px; font-weight: 600; color: var(--text-dim); padding: 10px 12px 10px 0; border-bottom: 2px solid var(--line); }
.prose td { padding: 11px 12px 11px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose code { font-family: var(--code); font-size: 0.9em; background: var(--bg-raised); border: 1px solid var(--line); border-radius: 6px; padding: 1px 5px; }
.prose ul.do-list, .prose ul.dont-list { list-style: none; padding-left: 0; }
.prose .do-list li, .prose .dont-list li { position: relative; padding-left: 30px; }
.prose .do-list li::before, .prose .dont-list li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 19px; height: 19px;
  -webkit-mask: var(--mask-check) center / contain no-repeat; mask: var(--mask-check) center / contain no-repeat;
  background: var(--ok);
}
.prose .dont-list li::before { -webkit-mask-image: var(--mask-x); mask-image: var(--mask-x); background: #b91c1c; }

/* ---------- faq ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  cursor: pointer; padding: 18px 0; font-size: 17px; font-weight: 600; color: var(--text);
  list-style: none; display: flex; gap: 14px; align-items: baseline; justify-content: space-between;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 22px; font-weight: 400; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0 0 18px; color: var(--text-dim); font-size: 16px; max-width: 70ch; }

/* ---------- guide list ---------- */
.guide-card { display: block; border: 1px solid var(--line); border-radius: 14px; padding: 22px; background: #fff; transition: border-color 0.15s, box-shadow 0.15s; }
.guide-card:hover { border-color: #93c5fd; box-shadow: var(--shadow); }
.guide-card .kicker { font-size: 13px; font-weight: 600; color: var(--accent); }
.guide-card h3 { font-size: 18px; line-height: 1.35; margin: 8px 0 8px; letter-spacing: -0.01em; }
.guide-card p { font-size: 15px; line-height: 1.55; color: var(--text-dim); margin: 0; }

/* ---------- notice / disclaimer ---------- */
.notice {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 14px 18px; font-size: 14px; color: var(--text-dim);
  background: var(--bg-raised); margin: 28px 0;
}

/* ---------- footer ---------- */
footer { background: #0f172a; color: #cbd5e1; padding: 48px 0 56px; margin-top: 48px; }
footer .logo { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; }
.footer-grid h4 { font-size: 14px; font-weight: 600; color: #fff; margin: 0 0 12px; }
.footer-grid a { display: block; font-size: 14px; color: #cbd5e1; padding: 4px 0; }
.footer-grid a:hover { color: #fff; }
.footer-about p { font-size: 14px; color: #cbd5e1; max-width: 44ch; margin: 12px 0 0; line-height: 1.6; }
.copy { margin-top: 36px; padding-top: 20px; border-top: 1px solid #334155; font-size: 13px; color: #cbd5e1; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- mobile ---------- */
@media (max-width: 980px) {
  .product-layout { grid-template-columns: 1fr; gap: 28px; }
  .buy-box { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .order-card { max-width: none; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line-strong);
    padding: 12px 24px 18px; gap: 2px; box-shadow: var(--shadow);
  }
  .nav.open a { padding: 11px 0; font-size: 16px; }
  .burger { display: block; }
  .header-inner { gap: 12px; }
  .header-right .btn-sm { display: none; }
  .hero { padding: 44px 0 40px; }
  section { padding: 40px 0; }
  .grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .price-row b { font-size: 34px; }
  .section-head a.more:first-of-type { margin-left: 0; }
}

/* activation panel */
.activate { padding: 10px 0 50px; }
.activate-box {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px;
  border: 1px solid var(--line); background: #fff;
  padding: 28px; border-radius: 16px;
}
.activate-copy h2 { font-size: 22px; margin: 0 0 10px; letter-spacing: -0.02em; }
.activate-copy p { color: var(--text-dim); font-size: 15px; margin: 0 0 14px; max-width: 46ch; }
.activate-copy ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.activate-copy li { font-size: 14px; color: var(--text-dim); display: flex; gap: 9px; }
.activate-form label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 14px; }
.activate-form input {
  display: block; width: 100%; margin-top: 7px; min-height: 44px;
  background: #fff; border: 1px solid var(--line-strong); border-radius: 10px;
  color: var(--text); font-family: var(--code); font-size: 14px; padding: 10px 12px;
}
.activate-form input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.activate-note { font-size: 13px; color: var(--accent); margin: 10px 0 0; min-height: 16px; }
@media (max-width: 860px) { .activate-box { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- activation page ---------- */
.act-hero { padding: 54px 0 30px; max-width: 640px; }
.act-hero h1 { font-size: clamp(30px, 4.4vw, 44px); letter-spacing: -0.03em; margin: 0 0 12px; line-height: 1.1; }
.act-hero .lead { color: var(--text-dim); font-size: 17px; margin: 0; max-width: 54ch; }

.act-shell {
  max-width: 640px; border: 1px solid var(--line);
  background: #fff; border-radius: 16px; box-shadow: var(--shadow);
  padding: 28px; margin-bottom: 46px;
}
.act-steps { display: flex; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; font-size: 13px; font-weight: 600; }
.act-steps li {
  display: flex; align-items: center; gap: 7px; padding: 7px 12px 7px 8px;
  border: 1px solid var(--line); border-radius: 999px; color: var(--text-dim);
  flex: 1; justify-content: center;
}
.act-steps li b {
  width: 20px; height: 20px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; font-size: 11px; border: 1px solid var(--line-strong);
}
.act-steps li.on { color: var(--accent-ink); border-color: var(--accent-line); background: var(--accent-soft); }
.act-steps li.on b { background: var(--accent); color: #fff; border-color: var(--accent); }
.act-steps li.done { color: var(--text-dim); }

.act-pane label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.act-pane input {
  width: 100%; min-height: 46px; background: #fff; border: 1px solid var(--line-strong);
  border-radius: 10px; color: var(--text); padding: 12px 13px; margin-bottom: 14px;
  font-family: var(--code); font-size: 15px;
}
.act-pane input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.act-inputrow { display: flex; gap: 8px; margin-bottom: 4px; }
.act-inputrow input { margin-bottom: 0; flex: 1; }
.act-inputrow .btn { padding: 0 16px; }

.act-hint { font-size: 13px; color: var(--text-dim); margin: 8px 0 14px; }
.act-err { font-size: 14px; color: #b91c1c; margin: 0 0 12px; min-height: 16px; }
.act-note { font-size: 13px; color: var(--text-dim); margin: 12px 0 0; text-align: center; }

.act-product {
  display: flex; flex-direction: column; gap: 3px; padding: 12px 14px;
  border: 1px solid var(--accent-line); background: var(--accent-soft); border-radius: 10px; margin-bottom: 18px;
}
.act-product-kicker { font-size: 12px; font-weight: 600; color: var(--accent-ink); }
.act-product strong { font-size: 16px; }

.act-status { text-align: center; padding: 6px 0 2px; }
.act-status h2 { font-size: 22px; margin: 14px 0 8px; letter-spacing: -0.02em; }
.act-status > p { color: var(--text-dim); font-size: 15px; margin: 0 auto 20px; max-width: 42ch; }
.act-pulse {
  width: 38px; height: 38px; margin: 0 auto; border-radius: 50%;
  border: 3px solid var(--accent); border-top-color: transparent;
  animation: act-spin 1.1s linear infinite;
}
@keyframes act-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .act-pulse { animation: none; border-top-color: var(--accent); } }

.act-ref {
  display: grid; grid-template-columns: auto 1fr; gap: 8px 16px;
  text-align: left; border: 1px solid var(--line); border-radius: 10px;
  padding: 14px 16px; margin: 0 0 20px; background: var(--bg-raised);
}
.act-ref dt { font-size: 13px; color: var(--text-dim); align-self: center; }
.act-ref dd { margin: 0; font-family: var(--code); font-size: 14px; word-break: break-all; }

.act-faq { max-width: 640px; }
.act-faq h2 { font-size: 22px; margin: 0 0 8px; }
@media (max-width: 640px) {
  .act-shell { padding: 20px; }
  .act-steps li { font-size: 12px; padding: 6px 8px; }
}

/* use-case rows */
.usecase-row {
  display: grid; grid-template-columns: 220px 1fr auto; gap: 20px; align-items: center;
  padding: 18px 0; border-top: 1px solid var(--line);
}
.usecase-row:last-of-type { border-bottom: 1px solid var(--line); }
.usecase-pick { display: flex; align-items: center; gap: 11px; }
.usecase-pick strong { display: block; font-size: 16px; }
.usecase-pick span { display: block; font-size: 13px; color: var(--text-dim); margin-top: 2px; }
.usecase-row p { color: var(--text-dim); font-size: 15px; margin: 0; }
@media (max-width: 860px) { .usecase-row { grid-template-columns: 1fr; gap: 10px; } }

/* accessibility */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: #fff; padding: 10px 16px;
  font-size: 14px; font-weight: 600; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible, select:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

/* chips */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.chip {
  font-size: 14px; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px;
  color: #334155; background: #fff; transition: border-color 0.15s, color 0.15s;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }

/* product note */
.note-box {
  border: 1px solid var(--line); background: var(--bg-raised);
  padding: 18px 20px; border-radius: 14px; margin: 0 0 24px;
}
.note-box h3 { font-size: 17px; font-weight: 600; color: var(--text); margin: 0 0 8px; }
.note-box p { margin: 0; color: var(--text-dim); font-size: 15px; line-height: 1.6; max-width: 66ch; }
.note-box p + p { margin-top: 8px; }
.note-box a { color: var(--accent); font-weight: 600; }
.note-box.offer { border-color: var(--accent-line); background: var(--accent-soft); }
.note-box.offer h3, .note-box.offer p { color: var(--accent-ink); }

/* status page */
.status-out { margin: 4px 0 14px; }
.status-row {
  display: grid; gap: 6px; padding: 14px 16px; border: 1px solid var(--line);
  background: var(--bg-raised); border-radius: 10px; margin-bottom: 10px; font-size: 14px;
}
.status-row > div { display: flex; justify-content: space-between; gap: 12px; }
.status-k { font-size: 13px; color: var(--text-dim); }
.status-live { color: var(--accent); }
.status-miss { color: var(--text-dim); }
.usecase-list .usecase-row { grid-template-columns: 240px 1fr 0; }
@media (max-width: 860px) { .usecase-list .usecase-row { grid-template-columns: 1fr; } }

.diagram { margin: 30px 0; }
.diagram img { width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--bg-raised); }
.diagram figcaption { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--text-dim); max-width: 68ch; }

/* A priced offer card at the end of a guide that answers a buying question. */
.guide-offer { display: flex; gap: 18px; align-items: center; justify-content: space-between;
  flex-wrap: wrap; margin: 36px 0 8px; padding: 22px 24px; border: 1px solid var(--line);
  border-radius: 16px; background: #fff; box-shadow: var(--shadow); }
.guide-offer .guide-offer-title { font-size: 20px; margin: 2px 0 8px; }
.guide-offer .guide-offer-sub { font-size: 15px; color: var(--text-dim); margin: 8px 0 0; max-width: 52ch; }
.guide-offer .price-row { margin: 0; }
.guide-offer .price-row b { font-size: 30px; }
@media (max-width: 720px) { .guide-offer { flex-direction: column; align-items: flex-start; } }

/* Volume-tier hint under the offer card: one internal link to /wholesale/ from every guide. */
.guide-ws { margin: 0 0 8px; padding: 14px 18px; border: 1px solid var(--accent-line);
  background: var(--accent-soft); border-radius: 12px; }
.guide-ws p { font-size: 15px; line-height: 1.6; color: var(--accent-ink); margin: 0; }
.guide-ws a { color: var(--accent); font-weight: 600; text-decoration: none; white-space: nowrap; }
.guide-ws a:hover { text-decoration: underline; }

/* ---------- wholesale ---------- */
.ws-hero { padding: 64px 0 44px; border-bottom: 1px solid var(--line); position: relative; }
.ws-hero h1 { font-size: clamp(30px, 4.4vw, 48px); line-height: 1.1; margin: 10px 0 16px; letter-spacing: -0.03em; }
.ws-hero h1 em { font-style: normal; color: var(--accent); }
.ws-hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: var(--text-dim); max-width: 62ch; margin: 0 0 26px; }
.ws-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 28px 0 0; }
.ws-strip > div { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px; }
.ws-strip b { display: block; font-size: 24px; color: var(--text); letter-spacing: -0.02em; }
.ws-strip .ic { display: block; font-size: 20px; color: var(--accent); margin-bottom: 8px; }
.ws-strip span { font-size: 14px; color: var(--text-dim); }
@media (max-width: 720px) { .ws-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ws-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.ws-table th { text-align: left; font-size: 13px; font-weight: 600; color: var(--text-dim); padding: 10px 12px;
  border-bottom: 2px solid var(--line); white-space: nowrap; }
.ws-table td { padding: 13px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.ws-table tr:hover td { background: var(--bg-raised); }
.ws-table .ws-name { font-weight: 600; }
.ws-table .ws-name small { display: block; font-weight: 400; color: var(--text-dim); font-size: 13px; margin-top: 2px; }
.ws-prod { display: flex; align-items: center; gap: 10px; }
.ws-prod .logo-tile { width: 26px; height: 26px; border-radius: 7px; }
.ws-unit { font-size: 15px; font-weight: 600; }
.ws-unit small { display: block; color: var(--ok); font-size: 12px; font-weight: 500; }
.ws-list { color: var(--text-faint); }
.ws-cap { color: var(--text-dim); font-size: 14px; }
.ws-off { color: var(--text-dim); font-size: 14px; }
.ws-usdt { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--text-dim); }
.ws-calc-out .ws-usdt { font-size: 13px; }
@media (max-width: 860px) { .ws-table { display: block; overflow-x: auto; white-space: nowrap; } }

.ws-calc { border: 1px solid var(--line); background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 24px; margin: 0 0 8px; }
.ws-calc-row { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; align-items: end; }
.ws-calc label { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin: 0 0 8px; }
.ws-calc select { width: 100%; min-height: 44px; padding: 10px 12px; background: #fff; color: var(--text);
  border: 1px solid var(--line-strong); border-radius: 10px; font: inherit; }
.ws-calc input[type="range"] { width: 100%; accent-color: var(--accent); margin: 6px 0 0; }
.ws-calc-out { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 20px 0 0; }
.ws-calc-out > div { background: var(--bg-raised); border-radius: 10px; padding: 14px 16px; }
.ws-calc-out b { display: block; font-size: 22px; margin-top: 4px; }
.ws-calc-out span { font-size: 13px; color: var(--text-dim); }
.ws-save { color: var(--ok); }
.ws-next { margin: 14px 0 0; font-size: 14px; color: var(--text-dim); }
@media (max-width: 860px) { .ws-calc-row { grid-template-columns: 1fr; } .ws-calc-out { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

.ws-rules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.ws-rules > div { background: var(--bg-raised); border: 1px solid var(--line); border-radius: 12px; padding: 20px 22px; }
.ws-rules h3 { font-size: 17px; margin: 0 0 8px; }
.ws-rules .ic-chip { margin-bottom: 12px; background: #fff; }
.ws-rules p { margin: 0; font-size: 15px; color: var(--text-dim); }
@media (max-width: 860px) { .ws-rules { grid-template-columns: 1fr; } }

.ws-cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* volume hint inside the buy box on a product page */
.ws-inline { display: block; margin: 0 0 14px; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 10px; background: var(--bg-raised); transition: border-color .15s ease; }
.ws-inline:hover { border-color: var(--accent); }
.ws-inline b { display: block; font-size: 14px; color: var(--text); }
.ws-inline span { display: block; margin-top: 3px; font-size: 13px; color: var(--accent); }
