@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("fonts/inter-latin-opsz.woff2") format("woff2");
}

/* agentsea cards — the brand's "Depth" palette (one blue family) and one material: clear crystal over a dark sea.
   Restraint first: a single light, soft depth, precise type. */
:root {
  color-scheme: dark;
  --bg: #04050a;
  --bg-1: #0a0d16;
  --bg-2: #0e121e;
  --glass: rgba(255, 255, 255, 0.035);
  --glass-2: rgba(255, 255, 255, 0.065);
  --line: rgba(255, 255, 255, 0.075);
  --line-2: rgba(255, 255, 255, 0.13);
  --line-3: rgba(255, 255, 255, 0.22);
  --text: #f3f6fb;
  --text-2: #a9b2c6;
  --text-3: #7a84a0;
  --lagoon: #5fd6ff;
  --azure: #3270ff;
  --ice: #e4f9ff;
  --ok: #3fd8a4;
  --danger: #ff6b85;
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --out: cubic-bezier(0.16, 1, 0.3, 1);
  --wrap: min(1200px, 100% - 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body { min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--text); font-family: var(--font); font-optical-sizing: auto; font-feature-settings: "cv11", "ss03"; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
button, input, select { font-family: inherit; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; overflow-wrap: anywhere; font-weight: 650; }
p { margin: 0; }
img { display: block; }
.num { font-variant-numeric: tabular-nums; }
.muted { color: var(--text-2); font-size: 14.5px; line-height: 1.6; }
.dim { color: var(--text-3); }
.fine { color: var(--text-3); font-size: 12.5px; line-height: 1.55; }
.loading { color: var(--text-3); padding: 80px 0; }
:focus-visible { outline: 2px solid var(--lagoon); outline-offset: 3px; border-radius: 10px; }

/* ------------------------------------------------------------------ background */
.bg { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bg-glow { position: absolute; left: 50%; top: -38vh; width: 140vw; height: 90vh; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(50, 112, 255, 0.24), rgba(21, 49, 173, 0.08) 55%, transparent 78%); }
.bg-grid { position: absolute; inset: 0; opacity: 0.35;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 64px 64px; -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent 75%); mask-image: radial-gradient(80% 60% at 50% 0%, #000, transparent 75%); }

/* ------------------------------------------------------------------ header + section switch */
/* Pre-registration notice above the header (every page) */
.notice { position: relative; z-index: 21; border-bottom: 1px solid var(--line); background: linear-gradient(90deg, rgba(50, 112, 255, 0.1), rgba(95, 214, 255, 0.05) 50%, rgba(50, 112, 255, 0.1)); }
.notice-in { width: var(--wrap); margin: 0 auto; min-height: 40px; padding: 8px 0; display: flex; align-items: center; justify-content: center; gap: 8px 14px; flex-wrap: wrap; text-align: center; font-size: 13px; line-height: 1.45; color: var(--text-2); }
.notice-tag { flex: none; font-size: 10.5px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lagoon); padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(95, 214, 255, 0.3); }
.notice a { flex: none; color: var(--text); text-decoration: underline; text-decoration-color: rgba(255, 255, 255, 0.3); text-underline-offset: 3px; }
.notice a:hover { text-decoration-color: currentColor; }
.notice-mid, .notice-short { display: none; }
@media (max-width: 1179px) { .notice-long { display: none; } .notice-mid { display: inline; } }
@media (max-width: 760px) { .notice-mid, .notice a { display: none; } .notice-short { display: inline; white-space: nowrap; } .notice-in { min-height: 36px; padding: 7px 0; flex-wrap: nowrap; font-size: 12.5px; } }
.top { position: sticky; top: 0; z-index: 20; background: rgba(4, 5, 10, 0.72); backdrop-filter: saturate(170%) blur(18px); -webkit-backdrop-filter: saturate(170%) blur(18px); border-bottom: 1px solid var(--line); }
.top-in { width: var(--wrap); margin: 0 auto; height: 72px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; justify-self: start; }
.brand img { border-radius: 8px; }
.brand-word { font-weight: 650; font-size: 19px; letter-spacing: -0.035em; }
.brand-tag { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--lagoon); padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(95, 214, 255, 0.3); background: rgba(50, 112, 255, 0.12); }

.switch { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(14, 18, 30, 0.85); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05); }
.switch a { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 40px; padding: 0 22px; border-radius: 999px; font-size: 14.5px; font-weight: 600; color: var(--text-2); white-space: nowrap; transition: color 0.3s; }
.switch a:hover { color: var(--text); }
.switch a[aria-current="page"] { color: #05060b; }
.switch-thumb { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--text); box-shadow: 0 6px 22px -6px rgba(95, 214, 255, 0.6); transition: transform 0.45s var(--out); }
.switch[data-at="gallery"] .switch-thumb { transform: translateX(100%); }
.switch[data-at="none"] .switch-thumb { opacity: 0; }
.switch-count { font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 999px; background: rgba(95, 214, 255, 0.14); color: var(--lagoon); }
.switch a[aria-current="page"] .switch-count { background: rgba(5, 6, 11, 0.1); color: #1531ad; }
.switch-count:empty { display: none; }

.x-link { justify-self: end; display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); font-size: 13.5px; color: var(--text-2); }
.x-link:hover { color: var(--text); background: var(--glass-2); }

.view { position: relative; z-index: 1; flex: 1; width: var(--wrap); margin: 0 auto; padding: 56px 0 96px; }

/* ------------------------------------------------------------------ footer */
.foot { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.foot-in { width: var(--wrap); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 26px 0 34px; font-size: 13.5px; color: var(--text-3); }
.foot-brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text-2); font-weight: 600; }
.foot-brand img { border-radius: 6px; }
.foot-links { display: flex; gap: 22px; }
.foot-links a:hover { color: var(--text); }

/* ------------------------------------------------------------------ controls */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 44px; padding: 0 22px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--glass); color: var(--text); font: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: background 0.2s, border-color 0.2s, transform 0.2s var(--out), box-shadow 0.2s; }
.btn:hover { background: var(--glass-2); border-color: var(--line-3); }
.btn:active { transform: translateY(1px); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; }
a.btn[aria-disabled="true"] { pointer-events: none; }
.btn-primary { background: var(--text); color: #05060b; border-color: transparent; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 10px 30px -10px rgba(95, 214, 255, 0.6); }
.btn-primary:hover { background: #fff; border-color: transparent; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.2), 0 12px 36px -8px rgba(95, 214, 255, 0.75); }
.btn-sm { height: 34px; padding: 0 14px; font-size: 13px; }
.btn-lg { height: 52px; padding: 0 28px; font-size: 15.5px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.icon-btn { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--glass); color: var(--text-2); cursor: pointer; font: inherit; }
.arrow::after { content: "→"; transition: transform 0.3s var(--out); }
.arrow:hover::after { transform: translateX(3px); }

.badge { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding: 0 11px; border-radius: 999px; font-size: 12.5px; font-weight: 600; border: 1px solid var(--line-2); color: var(--text-2); background: rgba(10, 13, 22, 0.7); width: fit-content; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge svg { flex: none; }
.badge-ok { color: #cfefff; border-color: rgba(95, 214, 255, 0.45); background: rgba(50, 112, 255, 0.2); }
.badge-dim { color: var(--text-3); }

.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--lagoon); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; opacity: 0.7; }
.section-title { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.1; letter-spacing: -0.035em; }
.section-lead { color: var(--text-2); font-size: 16.5px; line-height: 1.6; max-width: 620px; }
.section { margin-top: 120px; }
.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 36px; }

.prompt { border-radius: 16px; border: 1px solid rgba(95, 214, 255, 0.24); background: radial-gradient(100% 140% at 0% 0%, rgba(50, 112, 255, 0.15), transparent 70%), rgba(10, 13, 22, 0.9); overflow: hidden; }
.prompt-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 9px 9px 15px; border-bottom: 1px solid var(--line); font-size: 12.5px; font-weight: 600; color: #cfefff; }
.prompt-text { padding: 14px 16px 16px; font-size: 14px; line-height: 1.65; color: var(--text); overflow-wrap: anywhere; }

/* ------------------------------------------------------------------ the card
   Every size inside the card is relative to the card's own width (container units), so the layout keeps its
   proportions at any card size, page width or browser zoom — nothing can spill out of its box. */
.cc { --tint: 170, 182, 210; --rx: 0deg; --ry: 0deg; --mx: 30%; --my: 18%;
  position: relative; display: block; container-type: inline-size; border-radius: 22px; isolation: isolate; color: var(--text);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0) 38%), #0b0f1b;
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: 0 24px 60px -36px rgba(0, 0, 0, 0.9);
  transition: transform 0.5s var(--out), translate 0.4s var(--out), border-color 0.3s, box-shadow 0.4s; }
.cc.is-verified { --tint: 95, 214, 255; border-color: rgba(95, 214, 255, 0.2); }
/* `translate` (not `transform`) so hovering never replaces a card's own positioning or tilt */
a.cc:hover { translate: 0 -4px; border-color: rgba(var(--tint), 0.38); box-shadow: 0 30px 70px -34px rgba(50, 112, 255, 0.55); }
.cc-light { position: absolute; inset: 0; border-radius: inherit; z-index: 2; pointer-events: none; mix-blend-mode: screen; opacity: 0; transition: opacity 0.5s;
  background: radial-gradient(70cqw circle at var(--mx) var(--my), rgba(255, 255, 255, 0.12), transparent 60%); }
.cc.is-lit .cc-light { opacity: 1; }
.cc-sheen { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; z-index: 2; pointer-events: none; }
.cc-sheen::after { content: ""; position: absolute; top: -20%; bottom: -20%; width: 40%; left: -60%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent); animation: sheen 7s var(--out) 1.2s infinite; }
@keyframes sheen { 0% { left: -60%; } 35%, 100% { left: 130%; } }

.cc-in { position: relative; z-index: 1; display: flex; flex-direction: column; padding: 6cqw; gap: 4.4cqw; }
.cc-head { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; }
.cc-brand { display: inline-flex; align-items: center; gap: 2.4cqw; font-size: max(12px, 5.6cqw); font-weight: 650; letter-spacing: -0.02em; line-height: 1; }
.cc-brand img { width: max(16px, 7.4cqw); height: max(16px, 7.4cqw); border-radius: 1.8cqw; }
.cc-no { font-size: max(11px, 4cqw); font-weight: 500; letter-spacing: 0.06em; color: rgba(220, 230, 250, 0.55); font-variant-numeric: tabular-nums; line-height: 1; }
.cc-art { position: relative; aspect-ratio: 1; border-radius: 4.6cqw; overflow: hidden; background: #070912; }
.cc-art img { width: 100%; height: 100%; object-fit: cover; }
.cc-art::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06); pointer-events: none; }
.cc-name { font-size: 7.4cqw; font-weight: 650; letter-spacing: -0.025em; line-height: 1.1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 0.6cqw; }
.cc-row { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; min-width: 0; }
.cc-chip { display: inline-flex; align-items: center; gap: max(4px, 1.6cqw); height: max(22px, 8.4cqw); padding: 0 max(8px, 3.2cqw); border-radius: 99px; font-size: max(11px, 3.9cqw); font-weight: 600; line-height: 1; white-space: nowrap; flex: none;
  color: var(--text-2); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1); }
.cc-chip svg { width: max(10px, 3.6cqw); height: max(10px, 3.6cqw); flex: none; }
.cc-chip.ok { color: #d6f2ff; background: rgba(50, 112, 255, 0.18); border-color: rgba(95, 214, 255, 0.36); }
.cc-wallet { font-size: max(11px, 3.8cqw); color: rgba(200, 210, 230, 0.5); font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; text-overflow: clip; min-width: 0; }
.cc-handle { font-size: 4.2cqw; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin-top: -2cqw; }
.cc-foot { display: none; align-items: center; justify-content: space-between; gap: 3cqw; padding-top: 4cqw; border-top: 1px solid rgba(255, 255, 255, 0.07); font-size: max(10.5px, 3.4cqw); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(200, 210, 230, 0.55); white-space: nowrap; }
.cc-foot .cc-wallet { letter-spacing: 0; text-transform: none; font-weight: 500; }
/* narrow cards: the wallet would crowd the status chip, so it is left to the card page */
@container (max-width: 230px) { .cc-row .cc-wallet { display: none; } }
@container (max-width: 320px) { .cc-foot .cc-wallet { display: none; } }
.chip-short { display: none; }
@container (max-width: 340px) { .chip-long { display: none; } .chip-short { display: inline; } }
@container (max-width: 240px) { .cc-foot { display: none !important; } }

/* an unclaimed place: the same crystal card, with a question waiting in deep water */
.cc.is-open { --tint: 95, 214, 255; }
.cc-q { display: grid; place-items: center; isolation: isolate;
  background:
    radial-gradient(70% 55% at 50% 44%, rgba(50, 112, 255, 0.34), rgba(21, 49, 173, 0.08) 60%, transparent 78%),
    linear-gradient(180deg, #0a1736 0%, #070c22 58%, #04060f 100%); }
.cc-q::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0.9;
  background: repeating-radial-gradient(circle at 50% 44%, rgba(159, 227, 255, 0.11) 0 1px, transparent 1.5px 8cqw);
  -webkit-mask-image: radial-gradient(closest-side at 50% 46%, #000 30%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 46%, #000 30%, transparent 100%); }
.cc-q::after { content: ""; position: absolute; inset: auto 0 0 0; height: 24%; z-index: -1; border-radius: 0; box-shadow: none;
  background: linear-gradient(180deg, rgba(50, 112, 255, 0.14), rgba(21, 49, 173, 0.05)); border-top: 1px solid rgba(159, 227, 255, 0.16); }
.cc-q span { position: relative; font-size: 46cqw; font-weight: 300; line-height: 1; letter-spacing: -0.04em; margin-top: -6cqw;
  background: linear-gradient(180deg, #ffffff 18%, #c8eeff 50%, #5fd6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 3cqw rgba(95, 214, 255, 0.55)) drop-shadow(0 0 10cqw rgba(50, 112, 255, 0.45)); animation: qfloat 6s ease-in-out infinite; }
@keyframes qfloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2.4cqw); } }
.is-open .cc-name { color: var(--text-3); letter-spacing: 0.12em; }
.is-open .cc-chip { color: #bfe9ff; border-style: dashed; border-color: rgba(95, 214, 255, 0.4); background: rgba(50, 112, 255, 0.08); }
.is-open .cc-no { letter-spacing: 0.1em; }

/* large card: a crystal rim and a soft glow */
.cc-lg { width: min(420px, 100%); border-radius: 30px; border-color: transparent; transform: perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry));
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015) 45%, rgba(var(--tint), 0.05)), #0b0f1b;
  box-shadow: 0 50px 120px -50px rgba(50, 112, 255, 0.6), 0 0 0 1px rgba(0, 0, 0, 0.35); }
.cc-lg::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.24), rgba(var(--tint), 0.05) 40%, rgba(var(--tint), 0.08) 65%, rgba(var(--tint), 0.42));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.cc-lg .cc-foot { display: flex; }
.cc-lg .cc-row .cc-wallet { display: none; }

/* ------------------------------------------------------------------ guide: hero */
.hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); gap: 56px; align-items: center; min-height: 560px; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; }
.hero h1 { font-size: clamp(44px, 6vw, 82px); line-height: 0.98; letter-spacing: -0.05em; font-weight: 650; }
.hero h1 .soft { background: linear-gradient(180deg, #fff 8%, #a9e2ff 62%, #5fa8ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { font-size: clamp(16.5px, 1.5vw, 19px); line-height: 1.6; color: var(--text-2); max-width: 540px; }
.facts { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--text-2); font-size: 13.5px; }
.facts span { display: inline-flex; align-items: center; gap: 8px; }
.facts span::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--lagoon); box-shadow: 0 0 10px rgba(95, 214, 255, 0.8); }

.stack { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1 / 1.02; justify-self: center; }
.stack .cc { position: absolute; top: 50%; left: 50%; width: 54%; }
.stack .s0 { transform: translate(-50%, -50%) perspective(1100px) rotateX(var(--rx)) rotateY(var(--ry)); z-index: 3; }
.stack .s1 { transform: translate(-90%, -47%) rotate(-8deg) scale(0.86); z-index: 2; filter: saturate(0.75) brightness(0.72); }
.stack .s2 { transform: translate(-10%, -45%) rotate(8deg) scale(0.86); z-index: 1; filter: saturate(0.75) brightness(0.72); }
.showcase { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; }
.stack-note { display: flex; align-items: center; gap: 14px; width: min(440px, 92%); margin: 0; font-size: 12.5px; line-height: 1.4; letter-spacing: 0.02em; color: var(--text-3); text-align: center; }
.stack-note::before, .stack-note::after { content: ""; flex: 1 1 24px; min-width: 24px; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14)); }
.stack-note::after { transform: scaleX(-1); }
.stack a.cc:hover { translate: none; }
.card-holder { display: flex; justify-content: center; }
.stack-glow { position: absolute; inset: 15% 10%; border-radius: 50%; background: radial-gradient(closest-side, rgba(50, 112, 255, 0.35), transparent 70%); filter: blur(10px); }

/* ------------------------------------------------------------------ guide: numbers, steps, tiers, faq */
.numbers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 72px; border: 1px solid var(--line); border-radius: 22px; background: rgba(10, 13, 22, 0.6); overflow: hidden; }
.numbers > div { padding: 26px 28px; display: flex; flex-direction: column; gap: 6px; }
.numbers > div + div { border-left: 1px solid var(--line); }
.numbers b { font-size: clamp(30px, 3.4vw, 42px); font-weight: 650; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.numbers span { color: var(--text-2); font-size: 14px; }

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-2); }
.step { padding: 28px 28px 8px 0; display: flex; flex-direction: column; gap: 12px; position: relative; }
.step::before { content: ""; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; border-radius: 50%; background: var(--lagoon); box-shadow: 0 0 14px rgba(95, 214, 255, 0.9); }
.step-num { font-size: 13px; color: var(--lagoon); }
.step h3 { font-size: 21px; }
.step p { color: var(--text-2); font-size: 15px; line-height: 1.6; max-width: 330px; }

.tiers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tier { position: relative; padding: 28px; border-radius: 24px; border: 1px solid var(--line); background: rgba(10, 13, 22, 0.75); display: flex; flex-direction: column; gap: 18px; overflow: hidden; }
.tier-hi { border-color: rgba(95, 214, 255, 0.32); background: radial-gradient(120% 80% at 100% 0%, rgba(50, 112, 255, 0.2), transparent 60%), rgba(10, 13, 22, 0.8); }
.tier-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-3); }
.tier-hi .tier-tag { color: var(--lagoon); }
.tier h3 { font-size: 24px; }
.tier ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; color: var(--text-2); }
.tier li { display: flex; gap: 10px; }
.tier li::before { content: "✓"; color: var(--ok); font-weight: 700; }
.tier li.off::before { content: "–"; color: var(--text-3); }
.tier .prompt { margin-top: auto; }
.recommended { position: absolute; top: 24px; right: 24px; font-size: 11.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: #05060b; background: var(--ice); }

.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.faq details { border: 1px solid var(--line); border-radius: 16px; background: rgba(10, 13, 22, 0.6); padding: 0 20px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-weight: 600; font-size: 15.5px; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--text-3); font-weight: 400; font-size: 20px; line-height: 1; transition: transform 0.3s var(--out); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 18px; color: var(--text-2); font-size: 14.5px; line-height: 1.65; }

.closing { margin-top: 120px; padding: 48px; border-radius: 28px; border: 1px solid var(--line-2); display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap;
  background: radial-gradient(80% 140% at 100% 50%, rgba(50, 112, 255, 0.22), transparent 70%), rgba(10, 13, 22, 0.8); }
.closing h2 { font-size: clamp(26px, 3vw, 36px); margin-top: 12px; }

/* ------------------------------------------------------------------ gallery */
.g-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.g-head h1 { font-size: clamp(40px, 5vw, 64px); letter-spacing: -0.05em; line-height: 1; margin-top: 14px; }
.g-totals { display: flex; gap: 22px; color: var(--text-2); font-size: 14px; }
.g-totals b { color: var(--text); font-size: 20px; font-weight: 650; margin-right: 6px; font-variant-numeric: tabular-nums; }
.toolbar { position: sticky; top: 72px; z-index: 5; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding: 12px 0; margin-bottom: 18px; background: linear-gradient(180deg, rgba(4, 5, 10, 0.92) 70%, rgba(4, 5, 10, 0)); }
.search { flex: 1 1 280px; display: flex; align-items: center; gap: 10px; height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 13, 22, 0.9); }
.search:focus-within { border-color: rgba(95, 214, 255, 0.55); box-shadow: 0 0 0 4px rgba(95, 214, 255, 0.12); }
.search svg { color: var(--text-3); flex: none; }
.search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; font-size: 15px; }
.search input::placeholder { color: var(--text-3); }
.seg { display: inline-flex; padding: 3px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 13, 22, 0.9); }
.seg button { height: 38px; padding: 0 16px; border-radius: 999px; border: 0; background: none; color: var(--text-2); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.seg button[aria-pressed="true"] { background: var(--glass-2); color: var(--text); box-shadow: inset 0 0 0 1px var(--line-2); }
.select { height: 46px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(10, 13, 22, 0.9); color: var(--text); font: inherit; font-size: 13.5px; font-weight: 600; }
/* Column counts divide the page size (24, PAGE in src/app.ts) so every full page fills its last row. */
.grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 1239px) { .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 899px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 599px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.grid .cc { transition: transform 0.5s var(--out), opacity 0.4s; }
.empty { padding: 72px 24px; text-align: center; border: 1px dashed var(--line-2); border-radius: 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.grid > .empty { grid-column: 1 / -1; }
.empty h3 { font-size: 20px; }
.pager { display: flex; justify-content: center; align-items: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager a, .pager span { min-width: 40px; height: 40px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--text-2); border: 1px solid transparent; font-variant-numeric: tabular-nums; }
.pager a:hover { color: var(--text); border-color: var(--line-2); background: var(--glass); }
.pager a[aria-current="page"] { color: #05060b; background: var(--text); }
.pager .gap { color: var(--text-3); }
.pager .edge[aria-disabled="true"] { opacity: 0.35; pointer-events: none; }
.pager-info { text-align: center; color: var(--text-3); font-size: 13px; margin-top: 14px; }

/* ------------------------------------------------------------------ claim + card page */
.detail { display: grid; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); gap: 72px; align-items: start; }
.detail-side { display: flex; flex-direction: column; gap: 20px; padding-top: 8px; }
.detail-side h1 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.02; letter-spacing: -0.045em; }
.detail-side .lead { color: var(--text-2); font-size: 17px; line-height: 1.6; max-width: 560px; }
.choice { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.choice-item { padding: 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(10, 13, 22, 0.75); display: flex; flex-direction: column; gap: 12px; }
.choice-item.hi { border-color: rgba(95, 214, 255, 0.3); }
.choice-item.hi .tier-tag { color: var(--lagoon); }
.choice-item h3 { font-size: 18px; }
.status { font-size: 13.5px; color: var(--text-2); min-height: 1.2em; }
.status.err { color: var(--danger); }
.status.ok { color: var(--ok); }

.share { padding: 22px; border-radius: 20px; border: 1px solid var(--line-2); background: radial-gradient(100% 120% at 0% 0%, rgba(50, 112, 255, 0.14), transparent 70%), rgba(10, 13, 22, 0.8); display: flex; flex-direction: column; gap: 14px; }
.share h3 { font-size: 18px; }
.progress { height: 4px; border-radius: 4px; background: var(--line); overflow: hidden; }
.progress i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--azure), var(--lagoon)); transition: width 0.2s; }
.share-preview { display: flex; gap: 16px; align-items: center; }
.share-preview img { width: 120px; height: 160px; border-radius: 12px; border: 1px solid var(--line-2); object-fit: cover; }

/* ------------------------------------------------------------------ wallet picker */
.modal { width: min(420px, calc(100vw - 32px)); padding: 0; border-radius: 22px; border: 1px solid var(--line-2); background: var(--bg-1); color: var(--text); box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.8); }
.modal::backdrop { background: rgba(2, 3, 8, 0.72); backdrop-filter: blur(4px); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.modal-head h2 { font-size: 17px; }
.modal-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 12px; }
.wallet-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.wallet-list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--glass); color: var(--text); font: inherit; font-size: 15px; font-weight: 600; cursor: pointer; }
.wallet-list button:hover { background: var(--glass-2); }
.wallet-list button > span:nth-child(2) { flex: 1; text-align: left; }
.wallet-list img, .wallet-blank { width: 28px; height: 28px; border-radius: 8px; }
.wallet-blank { background: var(--bg-2); border: 1px solid var(--line-2); }

/* ------------------------------------------------------------------ responsive */
@media (max-width: 980px) {
  .hero { grid-template-columns: minmax(0, 1fr); gap: 8px; min-height: 0; }
  .stack { max-width: 460px; }
  .detail { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .detail > div:first-child { display: flex; justify-content: center; }
  .tiers, .faq, .choice { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  :root { --wrap: min(1200px, 100% - 32px); }
  .top-in { grid-template-columns: 1fr auto; height: auto; padding: 12px 0; row-gap: 12px; }
  .switch { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .switch a { padding: 0 12px; }
  .toolbar { top: 128px; }
  .x-link span { display: none; }
  .view { padding-top: 32px; }
  .steps { grid-template-columns: minmax(0, 1fr); border-top: 0; }
  .step { border-top: 1px solid var(--line-2); padding-right: 0; }
  .numbers > div { padding: 20px; }
  .closing { padding: 30px; }
  .section { margin-top: 88px; }
  .grid { gap: 12px; }
  .grid .cc-wallet { display: none; }
  .foot-in { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) { .stack .cc { width: 64%; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

