﻿/* ============================================================
   TJ AI Commerce — Buyer-facing design system ("shop.css")
   Used by: index.html, sell.html (money pages only).
   Internal/ops pages keep styles.css untouched.
   Direction: dark luxury concierge — warm black, ivory serif,
   one champagne-gold accent. One page, one job: make them buy.
   ============================================================ */

:root {
  color-scheme: dark;
  --bg0: #0b0a08;
  --bg1: #131109;
  --card: rgba(252, 247, 236, 0.04);
  --card-strong: rgba(252, 247, 236, 0.07);
  --well: rgba(8, 7, 5, 0.55);
  --line: rgba(240, 230, 208, 0.1);
  --line-strong: rgba(240, 230, 208, 0.22);
  --ink: #f4efe3;
  --ink-dim: #cfc8b6;
  --muted: #a59d8c;
  --gold: #d9a954;
  --gold-bright: #f2cb7c;
  --gold-deep: #8a6526;
  --ok: #8fd9a8;
  --danger: #ff8d7d;
  --serif: "Instrument Serif", "Georgia", serif;
  --sans: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow-card: 0 30px 80px rgba(0, 0, 0, 0.5);
  --shadow-gold: 0 12px 40px rgba(217, 169, 84, 0.28);
  --r-lg: 22px;
  --r-md: 16px;
  --r-sm: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg0);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
/* Single ambient glow — quiet, not a HUD */
body::before {
  content: "";
  position: fixed;
  top: -340px;
  left: 50%;
  width: min(1200px, 140vw);
  height: 760px;
  transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(217, 169, 84, 0.16), rgba(217, 169, 84, 0.05) 46%, transparent 72%);
  pointer-events: none;
  z-index: 0;
}

::selection { background: rgba(217, 169, 84, 0.32); color: #fff8e8; }

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }
main { position: relative; z-index: 1; }
:where(a, button, summary):focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; font-weight: 400; }
.display {
  font-family: var(--serif);
  font-size: clamp(46px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.01em;
}
.display em {
  font-style: italic;
  color: var(--gold-bright);
}
.h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
}
.h2 em { font-style: italic; color: var(--gold-bright); }
.eyebrow {
  margin: 0 0 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  color: var(--ink-dim);
  max-width: 56ch;
}
.muted { color: var(--muted); }

/* ---------- topbar ---------- */
.topbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 28px;
  min-height: 72px;
  padding: 0 clamp(20px, 4.5vw, 64px);
  background: rgba(11, 10, 8, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: var(--serif);
  font-size: 19px;
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.brand svg { display: block; }
.topbar nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 34px);
  margin-left: auto;
  font-size: 13.5px;
  color: var(--muted);
  overflow-x: auto;
  scrollbar-width: none;
  white-space: nowrap;
}
.topbar nav::-webkit-scrollbar { display: none; }
.topbar nav a { transition: color 0.25s ease; flex: 0 0 auto; }
.topbar nav a:hover { color: var(--ink); }
.nav-cta {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #221a09;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-gold);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 16px 46px rgba(217, 169, 84, 0.4); }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-dim);
  white-space: nowrap;
}
.pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 10px rgba(143, 217, 168, 0.8);
}

/* ---------- layout scaffolding ---------- */
.wrap { width: min(1200px, calc(100% - clamp(36px, 9vw, 128px))); margin: 0 auto; }
.section { padding: clamp(72px, 10vw, 132px) 0 0; }
.section-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p:not(.eyebrow) { margin: 16px 0 0; color: var(--ink-dim); font-size: 17px; }

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(36px, 5vw, 72px);
  align-items: center;
  padding-top: clamp(56px, 8vw, 110px);
}
.hero-copy .display { margin: 0 0 26px; }
.hero-copy .lead { margin: 0 0 38px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-bottom: 34px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 34px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 55%, #c2913e 100%);
  color: #211806;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: var(--shadow-gold), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.28s ease;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 56px rgba(217, 169, 84, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.45); }
.btn-primary:active { transform: translateY(0); }
.btn-primary .arrow { transition: transform 0.28s ease; }
.btn-primary:hover .arrow { transform: translateX(4px); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 28px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 500;
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.btn-ghost:hover { border-color: var(--gold); background: rgba(217, 169, 84, 0.08); transform: translateY(-1px); }

.hero-note { margin: 0 0 30px; font-size: 13.5px; color: var(--muted); }
.hero-note b { color: var(--ink-dim); font-weight: 600; }

.trust-chips { display: flex; flex-wrap: wrap; gap: 10px; padding: 0; margin: 0; list-style: none; }
.trust-chips li {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 13px;
  color: var(--ink-dim);
}
.trust-chips svg { color: var(--gold); flex: 0 0 auto; }

/* hero visual */
.hero-visual { position: relative; }
.hero-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  transform: rotate(0.6deg);
}
.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(195deg, rgba(242, 203, 124, 0.14), transparent 38%, rgba(0, 0, 0, 0.38) 100%);
  pointer-events: none;
}
.hero-frame img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.float-card {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 2px;
  padding: 16px 22px;
  border-radius: var(--r-md);
  border: 1px solid rgba(240, 230, 208, 0.16);
  background: rgba(16, 14, 9, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.55);
}
.float-card small { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.float-card strong { font-family: var(--serif); font-size: 26px; font-weight: 400; color: var(--gold-bright); }
.float-card span { font-size: 12.5px; color: var(--ink-dim); }
.float-price { right: -18px; top: 26px; animation: floaty 7s ease-in-out infinite; }
.float-days { left: -16px; bottom: 34px; animation: floaty 8s ease-in-out 0.8s infinite; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}

/* ---------- marquee ---------- */
.marquee {
  margin-top: clamp(64px, 8vw, 100px);
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: marquee 36s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 56px;
  font-family: var(--serif);
  font-size: 19px;
  color: var(--ink-dim);
  white-space: nowrap;
}
.marquee-track span::after { content: "✦"; font-size: 12px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- product cards (rendered by app.js) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}
.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 34px 30px 30px;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--card-strong), var(--card));
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.32s ease, box-shadow 0.32s ease;
}
.product-card:hover { transform: translateY(-6px); border-color: var(--line-strong); box-shadow: var(--shadow-card); }
.product-card .method-type {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}
.product-card h3 { font-family: var(--serif); font-size: 27px; margin-bottom: 6px; }
.product-card strong {
  display: block;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 36px;
  color: var(--gold-bright);
  margin-bottom: 12px;
}
.product-card p { margin: 0; font-size: 14.5px; color: var(--ink-dim); }
.product-card ul {
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
  display: grid;
  gap: 10px;
  border-top: 1px solid var(--line);
  flex: 1;
}
.product-card li {
  position: relative;
  padding-left: 24px;
  font-size: 14px;
  color: var(--ink-dim);
}
.product-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 1.6px solid var(--gold);
  border-bottom: 1.6px solid var(--gold);
  transform: rotate(-45deg);
}
.product-card button {
  min-height: 50px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
  transition: border-color 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.product-card button:hover { border-color: var(--gold); background: rgba(217, 169, 84, 0.1); }
/* flagship = currently selected (launch kit by default) */
.product-card.selected {
  border-color: rgba(217, 169, 84, 0.55);
  background: linear-gradient(180deg, rgba(217, 169, 84, 0.12), rgba(217, 169, 84, 0.03) 58%, var(--card));
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(217, 169, 84, 0.18);
  transform: translateY(-10px);
}
.product-card.selected::before {
  content: "Most chosen";
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #221a09;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: var(--shadow-gold);
}
.product-card.selected button {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #221a09;
  box-shadow: var(--shadow-gold);
}
.product-card.selected:hover { transform: translateY(-13px); }

/* ---------- deliverables ---------- */
.deliver-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.deliver-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.deliver-card {
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}
.deliver-card:hover { transform: translateY(-4px); border-color: var(--line-strong); background: var(--card-strong); }
.deliver-card .num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--gold);
  margin-bottom: 14px;
}
.deliver-card h3 { font-size: 17.5px; font-weight: 600; margin-bottom: 8px; }
.deliver-card p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ---------- steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--card);
}
.step {
  position: relative;
  padding: 38px 32px 42px;
}
.step + .step { border-left: 1px solid var(--line); }
.step .num {
  display: block;
  font-family: var(--serif);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 18px;
}
.step h3 { font-size: 18.5px; font-weight: 600; margin-bottom: 10px; }
.step p { margin: 0; font-size: 14.5px; color: var(--muted); }
.step .step-meta {
  display: inline-block;
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---------- 4-step variant ---------- */
.steps.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) {
  .steps.four { grid-template-columns: 1fr 1fr; }
  .steps.four .step:nth-child(3) { border-left: none; }
  .steps.four .step:nth-child(2) { border-top: none; }
  .steps.four .step:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 640px) {
  .steps.four { grid-template-columns: 1fr; }
  .steps.four .step + .step { border-left: none; border-top: 1px solid var(--line); }
}

/* ---------- price anchor block ---------- */
.price-block {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(40px, 6vw, 64px) clamp(26px, 5vw, 60px);
  border: 1px solid rgba(217, 169, 84, 0.45);
  border-radius: 28px;
  background:
    radial-gradient(420px 220px at 50% 0%, rgba(217, 169, 84, 0.18), transparent 70%),
    linear-gradient(180deg, var(--card-strong), var(--card));
  box-shadow: var(--shadow-card);
  text-align: center;
}
.price-block .kicker {
  display: inline-block;
  margin-bottom: 18px;
  padding: 6px 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #221a09;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  box-shadow: var(--shadow-gold);
}
.price-block .price-line {
  font-family: var(--serif);
  font-size: clamp(56px, 8vw, 88px);
  line-height: 1;
  color: var(--ink);
}
.price-block .price-line sup { font-size: 0.42em; color: var(--gold-bright); margin-right: 4px; }
.price-block .price-sub { margin: 10px 0 30px; font-size: 14.5px; color: var(--muted); }
.price-block ul {
  margin: 0 auto 34px;
  padding: 26px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 28px;
  max-width: 560px;
  text-align: left;
}
.price-block li { position: relative; padding-left: 24px; font-size: 14px; color: var(--ink-dim); }
.price-block li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 1.6px solid var(--gold);
  border-bottom: 1.6px solid var(--gold);
  transform: rotate(-45deg);
}
.price-block .hero-actions { justify-content: center; margin-bottom: 14px; }
.price-block .after-note { font-size: 13px; color: var(--muted); margin: 0; }
@media (max-width: 640px) {
  .price-block ul { grid-template-columns: 1fr; }
}

/* ---------- reel ---------- */
.reel-frame {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
  background: #000;
}
.reel-frame video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- showcase band (sell) ---------- */
.showcase-band {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-card);
}
.showcase-band img { width: 100%; object-fit: cover; }
.showcase-band .band-caption {
  position: absolute;
  left: clamp(18px, 3vw, 34px);
  bottom: clamp(16px, 3vw, 30px);
  right: clamp(18px, 3vw, 34px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 22px;
  border-radius: var(--r-md);
  border: 1px solid rgba(240, 230, 208, 0.14);
  background: rgba(13, 11, 7, 0.78);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.showcase-band .band-caption strong { font-family: var(--serif); font-size: 19px; font-weight: 400; }
.showcase-band .band-caption span { font-size: 13px; color: var(--muted); }

/* ---------- checkout ---------- */
.checkout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 22px;
  align-items: start;
}
.checkout-card, .ops-card {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, var(--card-strong), var(--card));
  padding: clamp(28px, 4vw, 44px);
}
.checkout-card .section-head { margin-bottom: 28px; }
.checkout-card h2 { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); }
.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field-grid label {
  display: grid;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field-grid .wide { grid-column: 1 / -1; }
.field-grid input, .field-grid select, .field-grid textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--well);
  color: var(--ink);
  font-size: 15.5px;
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field-grid textarea { min-height: 104px; resize: vertical; }
.field-grid input:focus, .field-grid select:focus, .field-grid textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217, 169, 84, 0.18);
}
.field-grid input::placeholder, .field-grid textarea::placeholder { color: rgba(150, 143, 126, 0.65); }
.field-grid select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23d9a954' stroke-width='1.8'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
input:-webkit-autofill, select:-webkit-autofill, textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 60px #14120c inset;
  -webkit-text-fill-color: var(--ink);
  caret-color: var(--ink);
}

.adv-fields { grid-column: 1 / -1; border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(8, 7, 5, 0.3); }
.adv-fields summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.adv-fields summary::-webkit-details-marker { display: none; }
.adv-fields summary::after { content: "+"; margin-left: auto; font-size: 17px; color: var(--gold); transition: transform 0.25s ease; }
.adv-fields[open] summary::after { transform: rotate(45deg); }
.adv-fields .adv-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; padding: 4px 18px 20px; }

.summary-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}
.summary-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  font-size: 12.5px;
  color: var(--ink-dim);
}
.checkout-card .btn-primary { width: 100%; justify-content: center; }

.ops-card { position: sticky; top: 96px; }
.ops-card h2 { font-family: var(--serif); font-size: 26px; margin: 0 0 14px; }
.ops-card > p { margin: 0 0 22px; font-size: 14.5px; color: var(--ink-dim); }
.ops-list { display: grid; gap: 13px; }
.ops-list span {
  position: relative;
  padding-left: 26px;
  font-size: 14px;
  color: var(--ink-dim);
}
.ops-list span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 7px;
  border-left: 1.6px solid var(--ok);
  border-bottom: 1.6px solid var(--ok);
  transform: rotate(-45deg);
}
.sys-line {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}
.sys-line b { color: var(--ink-dim); font-weight: 600; }

/* ---------- payment methods (rendered by app.js) ---------- */
.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 16px;
}
.method-card {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 6px 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  transition: transform 0.28s ease, border-color 0.28s ease, background 0.28s ease;
}
.method-card:not(.disabled):hover { transform: translateY(-4px); border-color: rgba(217, 169, 84, 0.45); background: var(--card-strong); }
.method-icon {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  border: 1px solid rgba(217, 169, 84, 0.35);
  background: linear-gradient(160deg, rgba(217, 169, 84, 0.16), rgba(217, 169, 84, 0.04));
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold-bright);
}
.method-card .method-type {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.method-card h3 { font-size: 18px; font-weight: 600; margin: 2px 0 4px; }
.method-card p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.method-card button {
  grid-column: 1 / -1;
  margin-top: 14px;
  min-height: 46px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  transition: border-color 0.25s ease, background 0.25s ease;
}
.method-card button:hover:not(:disabled) { border-color: var(--gold); background: rgba(217, 169, 84, 0.1); }
.method-card.disabled { opacity: 0.45; }
.method-card button:disabled { cursor: not-allowed; }

/* result card */
.payment-result { margin-top: 26px; }
.result-card {
  display: none;
  grid-template-columns: minmax(0, 1fr) max-content;
  gap: 26px;
  align-items: center;
  padding: clamp(26px, 4vw, 38px);
  border: 1px solid rgba(217, 169, 84, 0.4);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(217, 169, 84, 0.1), var(--card));
  box-shadow: var(--shadow-card);
}
.result-card.active { display: grid; }
.result-copy { display: grid; gap: 2px; justify-items: start; }
.result-card .method-type { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.result-card h3 { font-family: var(--serif); font-size: 26px; margin: 8px 0 10px; }
.result-card p { margin: 0 0 8px; font-size: 14.5px; color: var(--ink-dim); }
.result-card p.muted { font-size: 13px; color: var(--muted); }
.result-card code {
  display: inline-block;
  margin: 6px 0 10px;
  padding: 10px 16px;
  border: 1px dashed rgba(217, 169, 84, 0.5);
  border-radius: 10px;
  background: var(--well);
  font-size: 15px;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  user-select: all;
}
.result-card.danger { border-color: rgba(255, 141, 125, 0.5); background: linear-gradient(180deg, rgba(255, 141, 125, 0.08), var(--card)); }
.result-card > .sample-ledger, .result-card > .ops-list, .result-card > .button-row { grid-column: 1 / -1; }
.result-card.danger .method-type { color: var(--danger); }
.pay-qr {
  width: clamp(170px, 20vw, 230px);
  border-radius: var(--r-md);
  background: #fff;
  padding: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
}
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 16px; }
.button-row .primary-action, .button-row .secondary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--ink);
  transition: border-color 0.25s ease, background 0.25s ease;
}
.button-row .primary-action {
  border-color: transparent;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold));
  color: #221a09;
}
.button-row .secondary-action:hover { border-color: var(--gold); background: rgba(217, 169, 84, 0.1); }

/* ---------- compact page head (buyer-flow utility pages) ---------- */
.page-head {
  max-width: 760px;
  padding-top: clamp(48px, 7vw, 88px);
}
.page-head h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.04;
  margin: 0 0 18px;
}
.page-head h1 em { font-style: italic; color: var(--gold-bright); }
.page-head .lead { margin: 0; }
.flow-crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.flow-crumbs li { display: inline-flex; align-items: center; gap: 8px; }
.flow-crumbs li::after { content: "→"; color: var(--gold-deep); }
.flow-crumbs li:last-child::after { content: none; }
.flow-crumbs li.now { color: var(--gold-bright); }

/* ---------- checkbox ack rows ---------- */
.check-row {
  grid-column: 1 / -1;
  display: flex !important;
  flex-direction: row;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px !important;
  font-weight: 400 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
  color: var(--ink-dim) !important;
  line-height: 1.55;
  cursor: pointer;
}
.check-row input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin-top: 2px;
  accent-color: var(--gold);
  flex: 0 0 auto;
}

/* ---------- milestone ledger (status page, rendered by status.js) ---------- */
.sample-ledger {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}
.sample-ledger > div {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--well);
}
.sample-ledger small {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.sample-ledger strong { font-size: 14px; font-weight: 600; color: var(--ink-dim); }
.sample-ledger span { font-size: 11.5px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); }
.sample-ledger > div.active {
  border-color: rgba(143, 217, 168, 0.45);
  background: rgba(143, 217, 168, 0.07);
}
.sample-ledger > div.active span { color: var(--ok); }
.sample-ledger > div.selected {
  border-color: rgba(217, 169, 84, 0.5);
  background: rgba(217, 169, 84, 0.08);
}
.sample-ledger > div.selected span { color: var(--gold-bright); }

/* ---------- guarantee / boundaries ---------- */
.guarantee {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.guarantee article {
  padding: 24px 22px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
}
.guarantee svg { color: var(--gold); margin-bottom: 14px; }
.guarantee h3 { font-size: 15.5px; font-weight: 600; margin-bottom: 6px; }
.guarantee p { margin: 0; font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ---------- contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.contact-card {
  padding: 30px 28px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  transition: transform 0.28s ease, border-color 0.28s ease;
}
.contact-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.contact-card .method-type {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}
.contact-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.contact-card a { display: inline-block; font-family: var(--serif); font-size: 20px; color: var(--gold-bright); margin-bottom: 10px; }
.contact-card a:hover { text-decoration: underline; text-underline-offset: 4px; }
.contact-card p { margin: 0; font-size: 13.5px; color: var(--muted); }
.contact-card.primary-contact { border-color: rgba(217, 169, 84, 0.4); background: linear-gradient(180deg, rgba(217, 169, 84, 0.09), var(--card)); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 12px; max-width: 820px; }
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--card);
  transition: border-color 0.25s ease;
}
.faq details[open] { border-color: rgba(217, 169, 84, 0.4); }
.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; margin-left: auto; font-family: var(--serif); font-size: 22px; color: var(--gold); transition: transform 0.25s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq .faq-body { padding: 0 24px 22px; font-size: 14.5px; color: var(--ink-dim); line-height: 1.7; }
.faq .faq-body a { color: var(--gold-bright); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- final CTA ---------- */
.final-cta {
  margin-top: clamp(80px, 11vw, 140px);
  padding: clamp(64px, 9vw, 110px) clamp(24px, 6vw, 80px);
  border-top: 1px solid var(--line);
  background:
    radial-gradient(560px 300px at 50% 0%, rgba(217, 169, 84, 0.16), transparent 70%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  text-align: center;
}
.final-cta .h2 { max-width: 18ch; margin: 0 auto 18px; }
.final-cta p { max-width: 52ch; margin: 0 auto 36px; color: var(--ink-dim); font-size: 16.5px; }
.final-cta .hero-actions { justify-content: center; margin-bottom: 0; }

/* ---------- integration (operator drawer) ---------- */
.integration-drawer { margin-top: clamp(56px, 8vw, 88px); }
.integration-drawer details { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
.integration-drawer summary {
  list-style: none;
  padding: 16px 22px;
  font-size: 13px;
  color: var(--muted);
  cursor: pointer;
  user-select: none;
}
.integration-drawer summary::-webkit-details-marker { display: none; }
.integration-drawer .drawer-body { padding: 0 22px 22px; display: grid; gap: 14px; }
.integration-drawer pre {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--well);
  font-size: 12.5px;
  color: var(--ink-dim);
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-all;
}
.integration-drawer .drawer-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.integration-drawer button {
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-dim);
  font-size: 13px;
  transition: border-color 0.25s ease, color 0.25s ease;
}
.integration-drawer button:hover { border-color: var(--gold); color: var(--ink); }

/* ---------- footer ---------- */
.site-footer {
  margin-top: clamp(64px, 9vw, 110px);
  border-top: 1px solid var(--line);
  padding: 44px clamp(20px, 4.5vw, 64px) 110px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 28px;
  font-size: 13px;
  color: var(--muted);
}
.site-footer a { transition: color 0.25s ease; }
.site-footer a:hover { color: var(--ink); }
.site-footer .foot-brand { margin-right: auto; font-family: var(--serif); font-size: 16px; color: var(--ink-dim); display: flex; align-items: center; gap: 10px; }

/* ---------- sticky buy bar (sell page) ---------- */
.buy-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 90px);
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 12px 14px 12px 26px;
  border-radius: 999px;
  border: 1px solid rgba(240, 230, 208, 0.16);
  background: rgba(15, 13, 8, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.6);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.45s ease;
  max-width: calc(100vw - 28px);
}
.buy-bar.visible { transform: translate(-50%, 0); opacity: 1; }
.buy-bar .bar-price { display: grid; line-height: 1.25; }
.buy-bar .bar-price small { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.buy-bar .bar-price strong { font-family: var(--serif); font-size: 21px; font-weight: 400; color: var(--gold-bright); white-space: nowrap; }
.buy-bar .btn-primary { min-height: 48px; padding: 0 26px; font-size: 15px; }

/* ---------- corner badge (delivery rule: refined, custom mark) ---------- */
.corner-badge {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 65;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 16px 9px 11px;
  border-radius: 999px;
  border: 1px solid rgba(217, 169, 84, 0.35);
  background: rgba(13, 11, 7, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-dim);
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.corner-badge:hover { border-color: var(--gold); transform: translateY(-2px); }
.corner-badge b { color: var(--gold-bright); font-weight: 700; }

/* ---------- reveal motion (content stays visible for screenshots, crawlers, and no-JS fallbacks) ---------- */
html.js .reveal { opacity: 1; transform: none; transition: opacity 0.45s ease, transform 0.45s ease; }
html.js .reveal.is-visible { opacity: 1; transform: none; }
html.js .reveal[data-delay="1"],
html.js .reveal[data-delay="2"],
html.js .reveal[data-delay="3"] { transition-delay: 0s; }
@media (prefers-reduced-motion: reduce) {
  html.js .reveal { opacity: 1; transform: none; }
  .float-price, .float-days { animation: none; }
  .marquee-track { animation: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .hero { grid-template-columns: 1fr; padding-top: 48px; }
  .hero-visual { max-width: 640px; }
  .float-price { right: 8px; }
  .float-days { left: 8px; }
  .product-grid { grid-template-columns: 1fr; max-width: 560px; }
  .product-card.selected { transform: none; }
  .product-card.selected:hover { transform: translateY(-4px); }
  .deliver-grid, .deliver-grid.cols-3 { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .step + .step { border-left: none; border-top: 1px solid var(--line); }
  .checkout-grid { grid-template-columns: 1fr; }
  .ops-card { position: static; }
  .guarantee { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; max-width: 560px; }
}
@media (max-width: 640px) {
  body { font-size: 15px; }
  .topbar { gap: 14px; }
  .topbar nav { display: none; }
  .topbar .pill { display: none; }
  .nav-cta { margin-left: auto; }
  .marquee { padding: 16px 18px; }
  .marquee-track {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px 14px;
    animation: none;
  }
  .marquee-track span:nth-child(n+7) { display: none; }
  .deliver-grid, .deliver-grid.cols-3 { grid-template-columns: 1fr; }
  .guarantee { grid-template-columns: 1fr; }
  .field-grid { grid-template-columns: 1fr; }
  .adv-fields .adv-inner { grid-template-columns: 1fr; }
  .result-card { grid-template-columns: 1fr; }
  .pay-qr { justify-self: center; }
  .hero-actions .btn-primary, .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .buy-bar { gap: 12px; padding-left: 18px; }
  .buy-bar .bar-price small { display: none; }
  .corner-badge { right: 12px; bottom: 12px; padding: 8px 13px 8px 9px; }
  .buy-bar ~ .corner-badge { bottom: 92px; }
  .site-footer { padding-bottom: 150px; }
}

/* ---------- unified cloud-white refresh for t-j.cloud ---------- */
:root {
  color-scheme: light;
  --bg0: #f6fbff;
  --bg1: #ffffff;
  --card: rgba(255, 255, 255, 0.78);
  --card-strong: rgba(255, 255, 255, 0.94);
  --well: rgba(241, 247, 252, 0.82);
  --line: rgba(22, 42, 68, 0.12);
  --line-strong: rgba(34, 116, 170, 0.22);
  --ink: #102033;
  --ink-dim: #40536a;
  --muted: #6a7a8d;
  --gold: #1697a7;
  --gold-bright: #2563eb;
  --gold-deep: #0f766e;
  --ok: #38a169;
  --danger: #dc665c;
  --serif: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --sans: "Inter", "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --shadow-card: 0 22px 70px rgba(42, 76, 112, 0.14);
  --shadow-gold: 0 16px 40px rgba(37, 99, 235, 0.18);
  --r-lg: 24px;
  --r-md: 18px;
  --r-sm: 14px;
}

body.premium-commerce-page,
body {
  background:
    radial-gradient(circle at 12% 6%, rgba(21, 151, 167, 0.16), transparent 28rem),
    radial-gradient(circle at 86% 8%, rgba(37, 99, 235, 0.12), transparent 30rem),
    linear-gradient(180deg, #ffffff 0%, #f6fbff 42%, #ffffff 100%) !important;
  color: var(--ink) !important;
  letter-spacing: 0 !important;
}

body.premium-commerce-page::before {
  top: -320px;
  height: 720px;
  background:
    radial-gradient(closest-side, rgba(21, 151, 167, 0.18), rgba(37, 99, 235, 0.08) 45%, transparent 72%);
}

.display,
.h2,
.brand,
.product-card h3,
.checkout-card h2,
.ops-card h2,
.result-card h3,
.contact-card a,
.site-footer .foot-brand {
  font-family: var(--sans) !important;
  font-weight: 820;
}

.display,
.h2 {
  letter-spacing: 0 !important;
}

.display em,
.h2 em {
  color: var(--gold-bright);
  font-style: normal;
}

.topbar {
  margin: 14px auto 0;
  width: min(1280px, calc(100% - 28px));
  min-height: 68px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82) !important;
  box-shadow: 0 18px 50px rgba(34, 73, 110, 0.12);
}

.topbar nav {
  color: var(--muted);
  gap: clamp(14px, 1.6vw, 24px);
}

.topbar nav a:hover,
.site-footer a:hover {
  color: var(--ink);
}

.premium-commerce-page .topbar nav a:nth-last-child(-n+2) {
  display: none;
}

.nav-cta,
.btn-primary,
.product-card.selected button,
.checkout-card .btn-primary {
  color: #ffffff !important;
  background: linear-gradient(135deg, #1fb8c9, #2563eb) !important;
  box-shadow: 0 16px 40px rgba(37, 99, 235, 0.2) !important;
}

.btn-ghost,
.product-card button,
.integration-drawer button {
  color: var(--ink) !important;
  background: rgba(255, 255, 255, 0.72) !important;
  border-color: var(--line) !important;
}

.btn-primary:hover,
.nav-cta:hover,
.btn-ghost:hover,
.product-card button:hover {
  transform: translateY(-2px);
  border-color: rgba(37, 99, 235, 0.28) !important;
  box-shadow: 0 20px 54px rgba(37, 99, 235, 0.18) !important;
}

.pill,
.trust-row div,
.product-card,
.deliver-card,
.checkout-card,
.ops-card,
.method-card,
.result-card,
.guarantee article,
.contact-card,
.faq details,
.integration-drawer details,
.float-card,
.hero-frame,
.sample-ledger > div {
  color: var(--ink);
  border-color: var(--line) !important;
  background: linear-gradient(145deg, rgba(255,255,255,0.96), rgba(246,251,255,0.72)) !important;
  box-shadow: 0 18px 54px rgba(42, 76, 112, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.product-card.selected,
.contact-card.primary-contact,
.result-card.active {
  border-color: rgba(37, 99, 235, 0.28) !important;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.98), rgba(234,248,255,0.9)) !important;
}

.hero-frame::after {
  background: linear-gradient(180deg, transparent 54%, rgba(255,255,255,0.92));
}

.marquee,
.final-cta,
.site-footer,
.buy-bar {
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: var(--line) !important;
  color: var(--muted) !important;
  box-shadow: 0 18px 60px rgba(42, 76, 112, 0.12);
}

.final-cta {
  background:
    radial-gradient(circle at 50% 0%, rgba(21, 151, 167, 0.12), transparent 36rem),
    linear-gradient(180deg, #ffffff, #f6fbff) !important;
}

.lead,
.section-head p:not(.eyebrow),
.product-card p,
.deliver-card p,
.checkout-card p,
.ops-card > p,
.method-card p,
.result-card p,
.guarantee p,
.contact-card p,
.faq .faq-body,
.hero-note,
.muted {
  color: var(--muted) !important;
}

.eyebrow,
.product-card .method-type,
.contact-card .method-type,
.result-card .method-type,
.sample-ledger span {
  color: var(--gold) !important;
}

.float-card strong,
.product-card strong,
.contact-card a,
.buy-bar .bar-price strong {
  color: var(--gold-bright) !important;
}

input,
textarea,
select,
.integration-drawer pre,
.result-card code {
  color: var(--ink) !important;
  background: rgba(255, 255, 255, 0.82) !important;
  border-color: var(--line) !important;
}

.corner-badge {
  color: var(--ink-dim);
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(37, 99, 235, 0.22);
  box-shadow: 0 16px 44px rgba(42, 76, 112, 0.16);
}

.corner-badge b {
  color: var(--gold-bright);
}

@media (max-width: 640px) {
  .topbar {
    width: calc(100% - 20px);
    margin-top: 10px;
    border-radius: 24px;
  }

  .display {
    font-size: clamp(40px, 12vw, 58px);
    line-height: 1.03;
  }

  .hero {
    padding-top: 42px;
  }
}

