/* MaterialPad — white ground, black grotesk, one photoreal object.
   Everything else is hairlines and space. */

:root {
  --ground: #ffffff;
  --panel: #fafafa;
  --panel-2: #f4f4f5;
  --line: #eaeaec;
  --line-2: #f0f0f2;
  --ink: #08080a;
  --ink-2: #3c3c42;
  --muted: #86868b;
  --muted-2: #a1a1a6;

  --gold: #c19434;
  --silver: #9aa0a8;
  --oil: #17171a;
  --copper: #b0693c;

  --up: #12855a;
  --down: #c0392b;

  --r-pill: 999px;
  --r-card: 24px;
  --r-panel: 30px;

  /* Liquid glass. A panel is a pane of frosted glass over the material field:
     translucent, blurred, with a lit top edge and a soft shadow under it. The
     three layers of the shadow are the specular highlight, the contact shadow
     and the hairline that keeps the edge crisp on a light ground. */
  --glass: linear-gradient(178deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.58) 100%);
  --glass-solid: linear-gradient(178deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.82) 100%);
  --glass-edge: rgba(255, 255, 255, 0.85);
  --glass-blur: saturate(180%) blur(30px);
  --glass-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.95),
    inset 0 -1px 0 rgba(255, 255, 255, 0.35),
    0 1px 2px rgba(18, 20, 26, 0.04),
    0 18px 44px -18px rgba(18, 20, 26, 0.24),
    0 0 0 1px rgba(18, 20, 26, 0.045);
  --glass-shadow-hover:
    inset 0 1px 0 rgba(255, 255, 255, 1),
    inset 0 -1px 0 rgba(255, 255, 255, 0.4),
    0 2px 4px rgba(18, 20, 26, 0.05),
    0 26px 60px -20px rgba(18, 20, 26, 0.3),
    0 0 0 1px rgba(18, 20, 26, 0.06);

  --pad: clamp(20px, 5vw, 40px);
  --shell: 1180px;

  --display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

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

body {
  margin: 0;
  /* Not flat white. A silver field for the glass to sit on and pick up. */
  background:
    radial-gradient(1100px 700px at 12% -8%, #ffffff 0%, rgba(255, 255, 255, 0) 62%),
    radial-gradient(900px 620px at 92% 6%, #f4f6f9 0%, rgba(244, 246, 249, 0) 66%),
    radial-gradient(1200px 900px at 50% 108%, #eceef2 0%, rgba(236, 238, 242, 0) 60%),
    linear-gradient(180deg, #fbfbfc 0%, #f3f4f7 100%);
  background-attachment: fixed;
  color: var(--ink);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

::selection { background: #111; color: #fff; }

/* ── type ─────────────────────────────────────────────────── */

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.038em;
  line-height: 0.98;
  margin: 0;
  text-wrap: balance;
}

h1 { font-size: clamp(46px, 8.2vw, 104px); letter-spacing: -0.045em; }
h2 { font-size: clamp(32px, 4.6vw, 56px); }
h3 { font-size: clamp(19px, 2.2vw, 24px); letter-spacing: -0.028em; line-height: 1.15; }

p { margin: 0; }

.lede {
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
}

.label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.mono { font-family: var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.01em; }
.muted { color: var(--muted); }
.grey { color: var(--muted-2); }

/* ── shell ────────────────────────────────────────────────── */

.shell { width: 100%; max-width: var(--shell); margin: 0 auto; padding-inline: var(--pad); }

section { position: relative; z-index: 1; }

/* The material field, behind everything, for the glass to have something to
   refract. It is decoration: nothing on the page depends on it rendering. */
.scene {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* On the pad the field is scenery behind a working tool, not the subject, so
   it drops back far enough that it can never compete with a number. */
body.app .scene { opacity: 0.42; }

.glass {
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

/* ── nav ──────────────────────────────────────────────────── */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.5));
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.nav.stuck {
  border-bottom-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 1px 0 rgba(18, 20, 26, 0.05), 0 14px 30px -22px rgba(18, 20, 26, 0.35);
}

.nav-in {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 62px;
}

.brand { display: flex; align-items: center; gap: 9px; margin-right: auto; }
.brand img { width: 26px; height: 26px; }
.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.045em;
}
.wordmark i { font-style: normal; color: var(--muted-2); }

.nav-links { display: flex; gap: 26px; }
.nav-links a {
  font-size: 14px;
  color: var(--ink-2);
  transition: color 0.15s ease;
}
.nav-links a:hover { color: var(--ink); }

/* ── controls ─────────────────────────────────────────────── */

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 40px;
  padding: 0 20px;
  border-radius: var(--r-pill);
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.012em;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.12s ease, opacity 0.15s ease, background 0.15s ease;
}
.pill:hover { opacity: 0.86; }
.pill:active { transform: scale(0.985); }
.pill[disabled] { opacity: 0.32; cursor: not-allowed; }

.pill {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 6px 18px -8px rgba(18, 20, 26, 0.5);
}
.pill.ghost {
  background: rgba(255, 255, 255, 0.6);
  color: var(--ink);
  border-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(18, 20, 26, 0.06), 0 6px 18px -12px rgba(18, 20, 26, 0.4);
}
.pill.ghost:hover { background: #fff; opacity: 1; }
.pill.lg { height: 48px; padding: 0 26px; font-size: 15px; }
.pill.sm { height: 32px; padding: 0 14px; font-size: 13px; }
.pill.wide { width: 100%; }

.copy-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 38px;
  padding: 0 6px 0 16px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(18, 20, 26, 0.05);
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  cursor: pointer;
}
.copy-pill span { max-width: 42vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.copy-pill b {
  font-family: var(--body);
  font-size: 11px;
  font-weight: 500;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  padding: 4px 10px;
  color: var(--muted);
}
.copy-pill:hover b { color: var(--ink); }

/* ── hero ─────────────────────────────────────────────────── */

.hero {
  position: relative;
  min-height: min(94vh, 900px);
  display: flex;
  align-items: center;
  padding: 96px 0 120px;
  overflow: hidden;
}

.hero-in { position: relative; text-align: center; z-index: 1; }

h1 [data-line] {
  display: block;
  overflow: hidden;
}
h1 [data-line] > span { display: block; }
.js h1 [data-line] > span {
  transform: translateY(105%);
  transition: transform 0.95s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms);
}
.js h1.in [data-line] > span { transform: none; }
.hero h1 em { font-style: normal; color: var(--muted-2); }

.js [data-line-late] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.7s ease 0.42s, transform 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.42s;
}
.js body.ready [data-line-late] { opacity: 1; transform: none; }

.hero .lede { margin: 24px auto 0; text-align: center; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

.cue {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  display: grid;
  place-items: start center;
  padding-top: 6px;
  z-index: 1;
}
.cue span {
  width: 3px;
  height: 6px;
  border-radius: 999px;
  background: var(--muted-2);
  animation: cue 1.9s ease-in-out infinite;
}
@keyframes cue {
  0%, 100% { transform: translateY(0); opacity: 0.25; }
  40% { transform: translateY(11px); opacity: 1; }
}

/* ── arrive on scroll ─────────────────────────────────────── */

.js [data-rise] {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.72s ease var(--d, 0ms), transform 0.72s cubic-bezier(0.16, 1, 0.3, 1) var(--d, 0ms);
}
.js [data-rise].in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .js [data-rise], .js [data-line-late] { opacity: 1 !important; transform: none !important; transition: none; }
  .js h1 [data-line] > span { transform: none; transition: none; }
  .cue span { animation: none; }
  html { scroll-behavior: auto; }
}

/* ── the pinned material sequence ─────────────────────────── */

.seq { position: relative; height: 300vh; }
.seq-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  align-items: center;
}

.seq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 72px);
  align-items: center;
  width: 100%;
  padding: clamp(28px, 4vw, 52px) clamp(24px, 4vw, 56px);
  border-radius: clamp(28px, 3vw, 40px);
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}

.seq-word {
  position: relative;
  margin-top: 18px;
  height: clamp(64px, 9vw, 116px);
}
.seq-word span {
  position: absolute;
  inset: 0;
  font-family: var(--display);
  font-weight: 800;
  font-size: clamp(48px, 8vw, 108px);
  letter-spacing: -0.05em;
  line-height: 1;
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.5s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.seq-word span.on { opacity: 1; transform: none; }

.seq-dots { display: flex; gap: 7px; margin-top: 26px; }
.seq-dots i {
  width: 22px; height: 3px; border-radius: 999px; background: var(--line);
  transition: background 0.35s ease;
}
.seq[data-on="0"] .seq-dots i:nth-child(1),
.seq[data-on="1"] .seq-dots i:nth-child(2),
.seq[data-on="2"] .seq-dots i:nth-child(3) { background: var(--ink); }

.seq-right { position: relative; min-height: 340px; }
.seq-right article {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.5s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.seq-right article.on { opacity: 1; transform: none; pointer-events: auto; }
.seq-right h2 { margin: 16px 0 16px; }
.seq-top { display: flex; align-items: center; gap: 12px; }
.seq-row { display: flex; gap: 40px; margin: 26px 0 22px; }
.seq-row .label { display: block; margin-bottom: 6px; }
.seq-row b { font-family: var(--display); font-weight: 700; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.04em; }

.pair-sym { font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }

/* ── material swatches ────────────────────────────────────── */

.swatch {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  flex: 0 0 auto;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.7), 0 1px 3px rgba(0, 0, 0, 0.16);
}
.swatch.gold { background: radial-gradient(circle at 32% 26%, #f7e2ab 0%, #d5aa42 48%, #9a7222 100%); }
.swatch.silver { background: radial-gradient(circle at 32% 26%, #ffffff 0%, #c7ccd2 46%, #83898f 100%); }
.swatch.oil { background: radial-gradient(circle at 32% 26%, #6a6a72 0%, #1c1c20 44%, #000000 100%); }
.swatch.copper { background: radial-gradient(circle at 32% 26%, #f0bd96 0%, #c07a48 48%, #7e4726 100%); }
.swatch.lg { width: 44px; height: 44px; }
.swatch.sm { width: 20px; height: 20px; }

/* ── sections ─────────────────────────────────────────────── */

.band { padding: clamp(56px, 8vw, 104px) 0; }
.band.tint {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.22));
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-block: 1px solid rgba(255, 255, 255, 0.7);
}

.head { max-width: 62ch; }
.head h2 { margin-bottom: 16px; }
.head .label { margin-bottom: 20px; display: block; }

.steps {
  position: relative;
  margin-top: clamp(30px, 4vw, 46px);
  padding: clamp(6px, 2vw, 16px) clamp(20px, 3vw, 34px);
  border-radius: clamp(24px, 2.6vw, 34px);
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}
.step:last-child { border-bottom: 0; }
.steps-rail {
  position: absolute;
  left: clamp(20px, 3vw, 34px);
  top: clamp(6px, 2vw, 16px);
  bottom: clamp(6px, 2vw, 16px);
  width: 2px;
  border-radius: 999px;
  background: rgba(18, 20, 26, 0.07);
  overflow: hidden;
}
.steps-rail > i {
  display: block; width: 100%; height: 100%; background: var(--ink); transform-origin: top;
  transform: scaleY(calc(var(--p, 0) * 1.35));
}
@media (max-width: 940px) { .steps-rail { display: none; } }
.step {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
  padding: 26px 0 26px 22px;
  border-bottom: 1px solid var(--line);
}
.step-n { font-family: var(--mono); font-size: 12px; color: var(--muted-2); padding-top: 5px; }
.step p { color: var(--ink-2); font-size: 15px; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: clamp(28px, 4vw, 44px); }
.card {
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-card);
  padding: 26px 24px 28px;
  box-shadow: var(--glass-shadow);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.28s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--glass-shadow-hover); }
.card h3 { margin-bottom: 12px; }
.card p { color: var(--ink-2); font-size: 15px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(18, 20, 26, 0.06);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-card);
  overflow: hidden;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
.stat { background: var(--glass); padding: 26px 22px; }
.stat-v { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 38px); letter-spacing: -0.04em; }
.stat .label { margin-top: 8px; display: block; }

.faq {
  margin-top: clamp(28px, 4vw, 44px);
  padding: 4px clamp(20px, 3vw, 34px);
  border-radius: clamp(24px, 2.6vw, 34px);
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
}
.faq details { border-bottom: 1px solid rgba(18, 20, 26, 0.07); }
.faq details:last-child { border-bottom: 0; }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.03em;
  display: flex;
  align-items: center;
  gap: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 1.6px solid var(--muted-2);
  border-bottom: 1.6px solid var(--muted-2);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(225deg) translateY(-1px); }
.faq p { padding: 0 0 24px; color: var(--ink-2); max-width: 74ch; font-size: 15px; }

/* ── footer ───────────────────────────────────────────────── */

.foot {
  position: relative;
  z-index: 1;
  margin-top: 60px;
  padding: 44px 0 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.85);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.85));
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}
.foot-in { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-in .brand { margin-right: auto; }
.foot small { color: var(--muted); font-size: 13px; }

/* ── app ──────────────────────────────────────────────────── */

.app-main { padding: clamp(26px, 4vw, 44px) 0 96px; }

.strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(18, 20, 26, 0.06);
  border: 1px solid var(--glass-edge);
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 20px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
}
.strip > div { background: var(--glass); padding: 15px 18px; display: flex; align-items: center; gap: 11px; }
.strip .s-px { margin-left: auto; text-align: right; }
.strip .s-px b { font-family: var(--display); font-weight: 700; font-size: 17px; letter-spacing: -0.03em; }

.app-head { display: flex; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 26px; }
.app-head h1 { font-size: clamp(30px, 4vw, 44px); }
.app-head .lede { font-size: 15px; }

.tabs {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, 0.42);
  border: 1px solid var(--glass-edge);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-radius: var(--r-pill);
  box-shadow: inset 0 1px 2px rgba(18, 20, 26, 0.05), 0 1px 0 rgba(255, 255, 255, 0.7);
}
.tab {
  border: 0;
  background: transparent;
  height: 34px;
  padding: 0 18px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}
.tab[aria-selected="true"] {
  background: linear-gradient(180deg, #ffffff, #f7f8fa);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(18, 20, 26, 0.12), inset 0 1px 0 #fff;
}

.panel {
  border-radius: var(--r-panel);
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  box-shadow: var(--glass-shadow);
  padding: clamp(22px, 3vw, 32px);
}

.field { margin-bottom: 18px; }
.field > label { display: block; margin-bottom: 8px; }
.input, select.input {
  width: 100%;
  height: 46px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 2px rgba(18, 20, 26, 0.05), 0 0 0 1px rgba(18, 20, 26, 0.05);
  font: inherit;
  font-size: 15px;
  color: var(--ink);
  outline: 0;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
textarea.input { height: auto; padding: 12px 15px; resize: vertical; min-height: 84px; }
.input:focus {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: inset 0 1px 2px rgba(18, 20, 26, 0.04), 0 0 0 1px rgba(18, 20, 26, 0.16), 0 0 0 5px rgba(18, 20, 26, 0.05);
}
.input::placeholder { color: var(--muted-2); }

.choose { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.choice {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 14px 15px;
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  cursor: pointer;
  text-align: left;
  transition: transform 0.18s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.choice:hover { transform: translateY(-2px); box-shadow: var(--glass-shadow-hover); }
.choice[aria-pressed="true"] {
  border-color: rgba(18, 20, 26, 0.5);
  box-shadow: var(--glass-shadow-hover), 0 0 0 1px rgba(18, 20, 26, 0.35);
}
.choice-t { font-weight: 600; font-size: 15px; letter-spacing: -0.02em; }
.choice-s { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.08em; color: var(--muted); }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.grid-app { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 20px; align-items: start; }
.grid-app > aside { position: sticky; top: 82px; }

.feed { display: grid; gap: 12px; }

.coin {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  gap: 15px;
  align-items: center;
  border: 1px solid var(--glass-edge);
  border-radius: 20px;
  background: var(--glass);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-shadow);
  padding: 15px 18px;
  cursor: pointer;
  text-align: left;
  width: 100%;
  transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.25s ease;
}
.coin:hover { transform: translateY(-2px); box-shadow: var(--glass-shadow-hover); }
.coin[aria-selected="true"] {
  border-color: rgba(18, 20, 26, 0.5);
  box-shadow: var(--glass-shadow-hover), 0 0 0 1px rgba(18, 20, 26, 0.35);
}

.coin-img {
  width: 46px; height: 46px; border-radius: 13px;
  background: var(--panel-2);
  object-fit: cover;
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 17px; color: var(--muted);
  overflow: hidden;
}
.coin-name { font-weight: 600; letter-spacing: -0.02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coin-sub { font-family: var(--mono); font-size: 11px; color: var(--muted); letter-spacing: 0.04em; }
.coin-right { text-align: right; }

.bar { height: 4px; max-width: 240px; border-radius: 999px; background: var(--panel-2); overflow: hidden; margin-top: 8px; }
.bar > i { display: block; height: 100%; background: var(--ink); border-radius: 999px; transition: width 0.4s ease; }

.tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.09em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted);
}
.tag.live { color: var(--ink); border-color: #dcdce0; }
.tag.grad { color: #fff; background: var(--ink); border-color: var(--ink); }

.kv { display: flex; justify-content: space-between; gap: 14px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 14px; }
.kv:last-child { border-bottom: 0; }
.kv span:first-child { color: var(--muted); }
.kv span:last-child { font-family: var(--mono); font-variant-numeric: tabular-nums; }

.note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.warn {
  font-size: 13px; line-height: 1.5;
  background: #fff8e6; border: 1px solid #f2e2b6; color: #6b5514;
  border-radius: 14px; padding: 12px 14px;
}
.err { color: var(--down); font-size: 13px; word-break: break-word; }
.ok { color: var(--up); font-size: 13px; word-break: break-word; }

.empty {
  padding: 56px 20px;
  text-align: center;
  color: var(--muted);
  border: 1px dashed rgba(18, 20, 26, 0.13);
  border-radius: var(--r-card);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.spin { width: 14px; height: 14px; border: 2px solid rgba(255,255,255,0.35); border-top-color: #fff; border-radius: 50%; animation: spin 0.7s linear infinite; }
.pill.ghost .spin { border-color: rgba(0,0,0,0.18); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

.getbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px dashed var(--line);
  border-radius: 16px;
}
.getbox .label { white-space: nowrap; }
.getbox .input { height: 34px; border-radius: 10px; font-size: 14px; }
.getbox .pill { margin-left: auto; white-space: nowrap; }
@media (max-width: 480px) { .getbox { flex-wrap: wrap; } .getbox .pill { margin-left: 0; } }

/* ── pay with ─────────────────────────────────────────────── */

.paywith { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
.paywith .label { margin-right: 2px; }
.chip {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 5px 13px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.chip:hover { color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

/* ── the create form ──────────────────────────────────────── */

.block { padding-bottom: 26px; margin-bottom: 26px; border-bottom: 1px solid var(--line-2); }
.block:last-of-type { padding-bottom: 22px; }
.block > .label { display: block; margin-bottom: 16px; }
.block .note { margin-top: 12px; }

.links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.links .wide { grid-column: 1 / -1; }
.links .field:nth-last-child(-n + 1) { margin-bottom: 0; }

.buybox {
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  padding: 14px 16px 12px;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: inset 0 1px 2px rgba(18, 20, 26, 0.05), 0 0 0 1px rgba(18, 20, 26, 0.05);
  transition: box-shadow 0.2s ease, background 0.2s ease;
}
.buybox:focus-within {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: inset 0 1px 2px rgba(18, 20, 26, 0.04), 0 0 0 1px rgba(18, 20, 26, 0.16);
}
.buybox-top {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.buybox-top span:last-child { margin-left: auto; }
.buybox-foot {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 4px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.45;
}
.buybox-foot b { margin-left: auto; font-family: var(--mono); color: var(--ink-2); white-space: nowrap; }

.input.bare {
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  font-family: var(--display);
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.035em;
}
.input.bare:focus { box-shadow: none; }

.linky {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 2px 9px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  cursor: pointer;
}
.linky:hover { color: var(--ink); border-color: #d5d5da; }

.preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line-2);
}
.preview .coin-img { width: 54px; height: 54px; border-radius: 15px; font-size: 19px; }
.preview-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.035em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ── wallet picker ────────────────────────────────────────── */

.sheet {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(238, 240, 244, 0.55);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  animation: fade 0.18s ease;
}
@keyframes fade { from { opacity: 0; } }

.sheet-card {
  width: 100%;
  max-width: 380px;
  background: var(--glass-solid);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-edge);
  border-radius: var(--r-panel);
  padding: 24px;
  box-shadow: inset 0 1px 0 #fff, 0 40px 90px -30px rgba(18, 20, 26, 0.45), 0 0 0 1px rgba(18, 20, 26, 0.06);
  animation: pop 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.985); } }

.sheet-head { display: flex; align-items: center; margin-bottom: 18px; }
.sheet-head h3 { font-size: 20px; }
.sheet-x {
  margin-left: auto;
  width: 30px; height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
  font-size: 15px;
}
.sheet-x:hover { color: var(--ink); }

.wallets { display: grid; gap: 8px; }
.wallet {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(18, 20, 26, 0.05);
  cursor: pointer;
  text-align: left;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.015em;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.wallet:hover { background: #fff; box-shadow: inset 0 1px 0 #fff, 0 0 0 1px rgba(18, 20, 26, 0.14), 0 8px 20px -10px rgba(18, 20, 26, 0.3); }
.wallet img, .wallet .wallet-fallback {
  width: 28px; height: 28px; border-radius: 8px; flex: 0 0 auto;
  background: var(--panel-2);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--muted);
  object-fit: contain;
}
.wallet small { margin-left: auto; color: var(--muted-2); font-size: 12px; font-weight: 400; }

/* ── responsive ───────────────────────────────────────────── */

@media (max-width: 940px) {
  .seq { height: auto; }
  .seq-sticky { position: static; height: auto; padding: 64px 0 72px; }
  .seq-grid { grid-template-columns: 1fr; gap: 26px; }
  .seq-right { min-height: 0; display: grid; gap: 46px; }
  .seq-right article { position: static; opacity: 1; transform: none; pointer-events: auto; }
  .seq-word, .seq-dots { display: none; }
  .hero { min-height: 82vh; }
  .grid-app { grid-template-columns: 1fr; }
  .grid-app > aside { position: static; }
  .strip { grid-template-columns: 1fr; }
  .pairs, .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 34px 1fr; }
  .step p { grid-column: 2; }
  .nav-links { display: none; }
  .chunks { display: none; }
}

@media (max-width: 560px) {
  .choose { grid-template-columns: 1fr; }
  .links { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr; }
  .coin { grid-template-columns: 40px minmax(0, 1fr); }
  .coin-right { grid-column: 2; text-align: left; }
}
