/* Cove's website. The app's own palette ("Abyssal Precision",
   apps/cove-app lib/theme/cove_theme.dart) and fonts, served from this site:
   no third-party fonts, scripts or trackers. No inline styles anywhere
   (the Content-Security-Policy forbids them). */

@font-face { font-family: "Space Grotesk"; src: url(/fonts/SpaceGrotesk-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(/fonts/SpaceGrotesk-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(/fonts/SpaceGrotesk-Bold.woff2) format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/fonts/Geist-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/fonts/Geist-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Geist"; src: url(/fonts/Geist-SemiBold.woff2) format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/GeistMono-Regular.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url(/fonts/GeistMono-Medium.woff2) format("woff2"); font-weight: 500; font-display: swap; }

:root {
  --abyss: #080d1a;
  --trench: #0d1527;
  --sheet: #111c33;
  --shelf: #152238;
  --line: rgba(148, 163, 184, 0.14);
  --line-strong: rgba(148, 163, 184, 0.26);
  --cyan: #00f0ff;
  --sky: #38bdf8;
  --seafoam: #10b981;
  --amber: #fbbf24;
  --gold: #f5c84c;
  --danger: #ff6b6b;
  --text: #f8fafc;
  --text-2: #b4c0d3;
  --text-3: #7c8aa3;
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 18px;
  --wrap: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
[id] { scroll-margin-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body {
  margin: 0;
  background: var(--abyss);
  color: var(--text);
  font: 400 17px/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.015em; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.25rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); letter-spacing: -0.025em; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 40px); margin-inline: auto; }
.muted { color: var(--text-2); }
.small { font-size: 0.875rem; }
.mono, .address { font-family: var(--mono); }
.address { overflow-wrap: anywhere; word-break: break-all; }
.eyebrow {
  display: inline-block;
  font: 600 0.78rem/1 var(--body);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1.1rem;
}
.eyebrow.gold { color: var(--gold); }
.lead { font-size: clamp(1.1rem, 1.7vw, 1.3rem); color: var(--text-2); max-width: 40rem; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 50; background: var(--text); color: var(--abyss); padding: 8px 12px; border-radius: 8px; }

/* --- header --- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(8, 13, 26, 0.82);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; gap: 28px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font: 600 1.25rem/1 var(--display); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { color: var(--text-2); font-weight: 500; font-size: 0.95rem; padding: 8px 12px; border-radius: 10px; }
.nav a:hover { color: var(--text); background: var(--trench); text-decoration: none; }
.nav a[aria-current="page"] { color: var(--text); }
.nav .btn { margin-left: 10px; }
.nav a.btn-gold, .nav a.btn-gold:hover { color: #1c1503; background: var(--gold); }
.menu-toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-strong); color: var(--text); border-radius: 10px; padding: 8px 12px; font: 500 0.95rem var(--body); cursor: pointer; }
@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 12px 20px 20px; background: var(--abyss); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; font-size: 1.05rem; }
  .nav .btn { margin: 8px 0 0; text-align: center; }
}

/* --- buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 1rem/1 var(--body);
  padding: 15px 22px; border-radius: 12px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
  text-decoration: none !important; white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--cyan); color: #04121a; }
.btn-primary:hover { background: #5cf6ff; }
.btn-gold { background: var(--gold); color: #1c1503; }
.btn-gold:hover { background: #ffd86e; }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-strong); }
.btn-ghost:hover { border-color: var(--text-2); background: var(--trench); }
.btn-small { padding: 10px 14px; font-size: 0.92rem; border-radius: 10px; }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.store-badge { display: inline-flex; height: 52px; }
.store-badge img { height: 52px; width: auto; }
.soon {
  display: inline-flex; flex-direction: column; justify-content: center;
  height: 52px; padding: 0 16px; border-radius: 10px; border: 1px dashed var(--line-strong);
  color: var(--text-2); font-size: 0.82rem; line-height: 1.25;
}
.soon strong { color: var(--text); font-size: 0.95rem; font-weight: 600; }

/* --- sections --- */
section { padding: clamp(72px, 10vw, 128px) 0; }
section.tight { padding: clamp(48px, 7vw, 80px) 0; }
.band { background: var(--trench); border-block: 1px solid var(--line); }
.section-head { max-width: 44rem; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.flip > :first-child { order: 2; }
@media (max-width: 900px) { .split, .split.flip { grid-template-columns: 1fr; } .split.flip > :first-child { order: 0; } }

/* --- hero --- */
.hero { position: relative; overflow: hidden; padding-top: clamp(56px, 8vw, 96px); }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(0, 240, 255, 0.12), transparent 70%);
  pointer-events: none;
}
.hero h1 { max-width: 13ch; }
.hero .lead { margin-bottom: 2rem; }
/* The phone and the card side by side: the card is always shown whole. */
.hero-art { position: relative; display: flex; align-items: flex-end; justify-content: center; }
.hero-art .phone { width: min(310px, 70vw); flex: none; }
.hero-card {
  width: min(250px, 44%); flex: none; margin: 0 0 56px -14px; position: relative; z-index: 2;
  transform: rotate(-4deg);
  border-radius: 16px; overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(245, 200, 76, 0.25);
}
@media (max-width: 900px) {
  .hero-art { flex-direction: column; align-items: center; }
  .hero-card { width: min(300px, 76vw); margin: 28px 0 0; transform: rotate(-3deg); }
}
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; margin-top: clamp(48px, 7vw, 80px); }
.trust div { background: var(--abyss); padding: 22px 22px; }
.trust strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.05rem; margin-bottom: 4px; }
.trust span { color: var(--text-2); font-size: 0.92rem; }
@media (max-width: 900px) { .trust { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .trust { grid-template-columns: 1fr; } }

/* --- cards and grids --- */
.grid { display: grid; gap: 18px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.tile { background: var(--trench); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.band .tile { background: var(--abyss); }
.tile h3 { margin-bottom: 0.4em; }
.tile p:last-child { margin-bottom: 0; }
.tile .icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(0, 240, 255, 0.08); color: var(--cyan); margin-bottom: 18px; }
.tile .icon svg { width: 22px; height: 22px; }
.tile.gold .icon { background: rgba(245, 200, 76, 0.1); color: var(--gold); }
.step-num { font: 600 0.85rem/1 var(--mono); color: var(--cyan); margin-bottom: 14px; display: block; }
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text-2); }
.checks li strong { color: var(--text); font-weight: 600; }
.checks li::before {
  content: ""; position: absolute; left: 0; top: 0.42em; width: 16px; height: 16px; border-radius: 50%;
  background: rgba(16, 185, 129, 0.16) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.3l2.2 2.2 4.8-5' fill='none' stroke='%2310B981' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat;
}
.pill { display: inline-block; font: 600 0.75rem/1 var(--body); letter-spacing: 0.04em; padding: 6px 10px; border-radius: 999px; background: var(--shelf); color: var(--text-2); }
.pill.cyan { background: rgba(0, 240, 255, 0.1); color: var(--cyan); }
.pill.green { background: rgba(16, 185, 129, 0.14); color: var(--seafoam); }
.pill.gold { background: rgba(245, 200, 76, 0.14); color: var(--gold); }
.pill.amber { background: rgba(251, 191, 36, 0.14); color: var(--amber); }
.pill.red { background: rgba(255, 107, 107, 0.14); color: var(--danger); }

/* The Cove Card photo: always its own 792:559 shape, never cropped. */
.card-photo { aspect-ratio: 792 / 559; border-radius: 20px; overflow: hidden; background: #6b6d63; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(245, 200, 76, 0.2); }
.card-photo img { width: 100%; height: 100%; object-fit: contain; }
.card-stage { position: relative; }
.card-stage::before { content: ""; position: absolute; inset: 10% 6% -8%; background: radial-gradient(closest-side, rgba(245, 200, 76, 0.18), transparent 70%); filter: blur(10px); z-index: -1; }

/* --- the drawn phone (screens are HTML, so they stay sharp) --- */
.phone {
  container-type: inline-size;
  aspect-ratio: 9 / 19.2;
  width: 300px;
  border-radius: 13% / 6.2%;
  background: #02050c;
  padding: 3.2%;
  box-shadow: 0 0 0 1.5px #24314a, 0 0 0 6px #0b1222, 0 40px 90px rgba(0, 0, 0, 0.6);
  position: relative;
}
.screen {
  height: 100%; border-radius: 10.5% / 5%; overflow: hidden; background: var(--abyss);
  display: flex; flex-direction: column; font-size: 4.3cqw; line-height: 1.35; color: var(--text);
}
.sb { display: flex; justify-content: space-between; padding: 4cqw 7cqw 2cqw; font: 600 3.9cqw/1 var(--body); color: var(--text); }
.sb i { display: inline-block; width: 6cqw; height: 3cqw; border-radius: 1cqw; border: 0.5cqw solid var(--text-2); }
.app-top { display: flex; align-items: center; gap: 2.6cqw; padding: 3cqw 6cqw; font: 600 5.4cqw/1 var(--display); }
.app-top b { width: 8cqw; height: 8cqw; border-radius: 2.2cqw; background: #0b1a33 url(/img/logo.svg) center/100% no-repeat; display: inline-block; }
.s-body { padding: 1cqw 6cqw; flex: 1; overflow: hidden; }
.s-title { font: 600 8.6cqw/1.1 var(--display); margin: 1cqw 0 1.4cqw; }
.s-sub { color: var(--text-2); font-size: 3.7cqw; margin-bottom: 4cqw; }
.s-label { font: 600 3cqw/1 var(--body); letter-spacing: 0.12em; color: var(--text-3); text-transform: uppercase; margin: 4cqw 0 2.2cqw; }
.s-balance { font: 600 10cqw/1 var(--display); letter-spacing: -0.02em; }
.s-balance small { font-size: 4.4cqw; color: var(--text-2); font-weight: 500; margin-left: 1.4cqw; }
.s-fiat { color: var(--text-2); font-size: 3.8cqw; margin-top: 1.4cqw; }
.s-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2cqw; margin: 5cqw 0 3cqw; }
.s-actions span { display: grid; justify-items: center; gap: 1.6cqw; font-size: 3.1cqw; color: var(--text-2); }
.s-actions span::before { content: ""; width: 12cqw; height: 12cqw; border-radius: 4cqw; background: var(--shelf); border: 0.4cqw solid var(--line-strong); }
.s-actions span:first-child::before { background: rgba(0, 240, 255, 0.14); border-color: rgba(0, 240, 255, 0.4); }
.s-row { display: flex; align-items: center; gap: 3cqw; padding: 3cqw 0; border-bottom: 0.3cqw solid rgba(255, 255, 255, 0.05); }
.s-row:last-child { border-bottom: 0; }
.s-dot { width: 9.5cqw; height: 9.5cqw; border-radius: 50%; flex: none; display: grid; place-items: center; font: 600 3.6cqw/1 var(--display); background: var(--shelf); color: var(--sky); }
.s-dot.gold { background: rgba(245, 200, 76, 0.16); color: var(--gold); }
.s-dot.green { background: rgba(16, 185, 129, 0.16); color: var(--seafoam); }
.s-dot.cyan { background: rgba(0, 240, 255, 0.12); color: var(--cyan); }
.s-main { flex: 1; min-width: 0; }
.s-main b { display: block; font-weight: 600; font-size: 4.1cqw; white-space: nowrap; overflow: hidden; text-overflow: clip; }
.s-main em { font-style: normal; color: var(--text-2); font-size: 3.3cqw; }
.s-end { text-align: right; font: 500 3.9cqw/1.3 var(--mono); }
.s-end em { display: block; font-style: normal; font-size: 3.2cqw; }
.up { color: var(--seafoam); }
.down { color: var(--danger); }
.s-tag { display: inline-block; font: 600 2.7cqw/1 var(--body); padding: 1cqw 1.8cqw; border-radius: 99cqw; background: rgba(16, 185, 129, 0.14); color: var(--seafoam); margin-left: 1.4cqw; vertical-align: 0.4cqw; }
.s-tag.star { background: rgba(245, 200, 76, 0.16); color: var(--gold); }
.s-search { background: var(--sheet); border-radius: 4cqw; padding: 3.4cqw 4cqw; color: var(--text-3); font-size: 3.8cqw; margin-bottom: 2cqw; }
.s-nav { display: grid; grid-template-columns: repeat(5, 1fr); padding: 3cqw 2cqw 5cqw; background: var(--trench); border-top: 0.3cqw solid var(--line); }
.s-nav span { text-align: center; font-size: 2.9cqw; color: var(--text-3); padding-top: 6.4cqw; position: relative; }
.s-nav span::before { content: ""; position: absolute; top: 0; left: 50%; width: 5cqw; height: 5cqw; margin-left: -2.5cqw; border-radius: 1.4cqw; border: 0.5cqw solid currentColor; }
.s-nav span.on { color: var(--cyan); }
.s-card { background: var(--sheet); border: 0.3cqw solid var(--line); border-radius: 4.4cqw; padding: 4.4cqw; margin-bottom: 3cqw; }
.s-card.ok { border-color: rgba(16, 185, 129, 0.4); }
.s-card.warn { border-color: rgba(255, 107, 107, 0.45); background: rgba(255, 107, 107, 0.06); }
.s-card.held { border-color: rgba(251, 191, 36, 0.4); }
.s-card h5 { margin: 0 0 1.6cqw; font: 600 4.3cqw/1.2 var(--display); }
.s-card p { margin: 0; color: var(--text-2); font-size: 3.5cqw; }
.s-btn { display: block; text-align: center; padding: 3.6cqw; border-radius: 3.6cqw; background: var(--cyan); color: #04121a; font-weight: 600; font-size: 4cqw; margin-top: 4cqw; }
.s-btn.ghost { background: transparent; color: var(--text); border: 0.4cqw solid var(--line-strong); }
.s-addr { font: 500 3.15cqw/1.45 var(--mono); color: var(--text); word-break: break-all; background: var(--abyss); border-radius: 2.4cqw; padding: 2.4cqw; margin-top: 2cqw; }
.s-apr { font: 600 5cqw/1 var(--display); color: var(--seafoam); }
.illustration-note { font-size: 0.78rem; color: var(--text-3); margin-top: 14px; text-align: center; }
.phones { display: flex; gap: clamp(16px, 3vw, 32px); justify-content: center; align-items: flex-start; }
.phones .phone { width: min(280px, 44vw); }
.phones .phone:nth-child(2) { margin-top: 48px; }
@media (max-width: 560px) { .phones .phone { width: 72vw; } .phones .phone:nth-child(2) { display: none; } }

/* --- Shield diagram --- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; counter-reset: flow; }
.flow li { list-style: none; position: relative; background: var(--abyss); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 22px 22px; }
.flow li::before { counter-increment: flow; content: "0" counter(flow); font: 600 0.85rem/1 var(--mono); color: var(--cyan); display: block; margin-bottom: 14px; }
.flow li h3 { font-size: 1.1rem; }
.flow li p { color: var(--text-2); font-size: 0.95rem; margin: 0; }
.flow { padding: 0; margin: 0; }
@media (max-width: 900px) { .flow { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .flow { grid-template-columns: 1fr; } }
.shield-hero { position: relative; overflow: hidden; }
.shield-hero::before { content: ""; position: absolute; left: 50%; top: -30%; width: 1100px; height: 1100px; margin-left: -550px; background: radial-gradient(closest-side, rgba(56, 189, 248, 0.13), transparent 70%); pointer-events: none; }
.quote { font: 500 clamp(1.3rem, 2.4vw, 1.75rem)/1.4 var(--display); color: var(--text); border-left: 3px solid var(--cyan); padding-left: 22px; margin: 0 0 1.2em; }

/* --- pricing / membership --- */
.price { font: 600 clamp(2.4rem, 4vw, 3.2rem)/1 var(--display); letter-spacing: -0.02em; }
.price small { font-size: 1rem; color: var(--text-2); font-weight: 500; letter-spacing: 0; }
.table { width: 100%; border-collapse: collapse; font-size: 0.97rem; }
.table th, .table td { text-align: left; padding: 14px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font: 600 0.78rem/1.2 var(--body); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.table td:first-child { font-weight: 600; color: var(--text); }
.table td { color: var(--text-2); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
.table-wrap .table tr:last-child td { border-bottom: 0; }

/* --- docs --- */
.doc { display: flex; flex-direction: column; }
.doc .meta { color: var(--text-3); font-size: 0.85rem; margin-bottom: 14px; }
.doc .btn { align-self: flex-start; margin-top: auto; }
.doc p { color: var(--text-2); }

/* --- FAQ --- */
details { border-bottom: 1px solid var(--line); padding: 4px 0; }
details summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font: 600 1.08rem/1.35 var(--display); }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; position: absolute; right: 4px; top: 14px; font: 400 1.6rem/1 var(--body); color: var(--text-3); }
details[open] summary::after { content: "\2212"; }
details > div { padding: 0 0 18px; color: var(--text-2); }

/* --- forms --- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
label { display: block; font-size: 0.92rem; font-weight: 500; color: var(--text-2); }
label > input, label > select, label > textarea { display: block; margin-top: 7px; }
label .opt { color: var(--text-3); font-weight: 400; }
input, select, textarea {
  font: 400 1rem/1.4 var(--body); color: var(--text);
  background: var(--abyss); border: 1px solid var(--line-strong); border-radius: 12px; padding: 13px 14px; width: 100%;
}
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.15); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%2394A3B8' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 38px; }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 400; color: var(--text-2); }
.check input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--cyan); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: var(--danger); font-weight: 500; min-height: 1.4em; margin: 0; }
.form-ok { color: var(--seafoam); font-weight: 500; }
.panel { background: var(--trench); border: 1px solid var(--line); border-radius: 22px; padding: clamp(22px, 4vw, 36px); }
.panel h2 { font-size: 1.6rem; }
.panel h3 { margin-top: 0.6em; }
.panel hr { border: 0; border-top: 1px solid var(--line); margin: 22px 0; }
.qty { display: inline-grid; grid-template-columns: 48px 64px 48px; border: 1px solid var(--line-strong); border-radius: 12px; overflow: hidden; }
.qty button { background: var(--shelf); color: var(--text); border: 0; font: 600 1.3rem var(--body); cursor: pointer; }
.qty button:hover { background: var(--sheet); }
.qty input { border: 0; border-radius: 0; text-align: center; font: 600 1.15rem var(--display); padding: 10px 0; }
.summary { display: grid; gap: 10px; }
.summary div { display: flex; justify-content: space-between; gap: 12px; color: var(--text-2); }
.summary div b { color: var(--text); font-weight: 600; }
.summary .total { border-top: 1px solid var(--line); padding-top: 12px; color: var(--text); font: 600 1.2rem var(--display); }
.order-layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
.order-layout aside { position: sticky; top: 92px; }
@media (max-width: 960px) { .order-layout { grid-template-columns: 1fr; } .order-layout aside { position: static; } }

/* --- order page --- */
.status { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.qr { background: #fff; border-radius: 18px; padding: 14px; width: min(300px, 100%); }
.qr img { width: 100%; image-rendering: pixelated; }
.pay-grid { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
@media (max-width: 760px) { .pay-grid { grid-template-columns: 1fr; } }
.field { margin-bottom: 18px; }
.field .k { font: 600 0.75rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 8px; }
.field .v { display: flex; gap: 10px; align-items: flex-start; }
.field .v > span { flex: 1; font: 500 1.05rem/1.45 var(--mono); }
.field .v > span.big { font: 600 1.6rem/1.2 var(--display); }
.copy { flex: none; }
.notice { margin-bottom: 18px; border-radius: 14px; padding: 16px 18px; background: rgba(251, 191, 36, 0.08); border: 1px solid rgba(251, 191, 36, 0.3); color: var(--text); }
.notice.info { background: rgba(56, 189, 248, 0.07); border-color: rgba(56, 189, 248, 0.3); }
.notice.ok { background: rgba(16, 185, 129, 0.08); border-color: rgba(16, 185, 129, 0.35); }
.hidden { display: none !important; }

/* --- legal --- */
.legal { padding: 64px 0 96px; }
.legal h1 { font-size: clamp(2rem, 4vw, 2.8rem); }
.legal h2 { font-size: 1.45rem; margin-top: 2.2em; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6em; }
.legal p, .legal li { color: var(--text-2); }
.legal strong { color: var(--text); }
.legal table { border-collapse: collapse; width: 100%; margin: 1em 0; font-size: 0.95rem; }
.legal th, .legal td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.legal code { font-family: var(--mono); font-size: 0.9em; }
.toc { color: var(--text-3); font-size: 0.9rem; }

/* --- footer --- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; color: var(--text-2); font-size: 0.93rem; }
.foot-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 32px; }
.foot-grid h4 { font: 600 0.78rem/1 var(--body); letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.foot-grid a { color: var(--text-2); }
.foot-grid a:hover { color: var(--text); }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--text-3); font-size: 0.85rem; }
@media (max-width: 800px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
