:root {
  --bg: #ffffff;
  --bg-alt: #FAFAFA;
  --bg-dark: #1A1A1E;
  --ink: #1A1A1E;
  --ink-2: #3F3F46;
  --ink-3: #70707B;
  --ink-4: #A0A0AB;
  --line: #E4E4E7;
  --line-2: #D1D1D6;
  --button: #26272B;
  --tan: #E3BE89;
  --tan-2: #FFE3BA;
  --tan-3: #F4E3C8;
  --bronze: #7A5626;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --wrap: 1200px;
  --gutter: 20px;
  --radius: 12px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.01em; }
h1, h2 { font-family: var(--serif); }
h1 { font-size: clamp(40px, 6vw, 72px); line-height: 1.02; letter-spacing: -0.02em; }
h2 { font-size: clamp(30px, 4vw, 46px); line-height: 1.1; }
h3 { font-size: 20px; }
h4 { font-size: 17px; }
.mono { font-family: var(--mono); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }
.center { text-align: center; }
.center .btn { margin-top: 4px; }

.ic { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ic.lg { width: 28px; height: 28px; margin-bottom: 18px; color: var(--ink-2); }

/* Type helpers */
.eyebrow {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 20px;
}
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--ink-2); max-width: 680px; margin: 24px 0 32px; }
.sub { font-size: 18px; color: var(--ink-2); max-width: 640px; margin: 20px auto 28px; }
.h-underline { position: relative; display: inline-block; padding-bottom: 14px; margin-bottom: 20px; }
.h-underline::after { content: ""; position: absolute; left: 0; bottom: 0; width: 56px; height: 2px; background: var(--ink); }
.center .h-underline::after { left: 50%; transform: translateX(-50%); }
.caption-row {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}
.fine { font-size: 13px; color: var(--ink-3); }
.meta { font-family: var(--mono); font-size: 12px; color: var(--ink-3); margin-bottom: 10px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px;
  border-radius: 10px;
  font-size: 15px; font-weight: 500; line-height: 1;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.btn:active { transform: translateY(1px); }
.btn-lg { height: 50px; padding: 0 24px; font-size: 16px; }
.btn-primary {
  background: var(--button); color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 1px 2px rgba(10,13,18,.08);
}
.btn-primary:hover { background: #111113; }
.btn-secondary {
  background: #fff; color: var(--ink);
  border-color: var(--line-2);
  box-shadow: 0 1px 2px rgba(10,13,18,.05);
}
.btn-secondary:hover { background: #F4F4F5; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #ECECEE; }
.btn[aria-disabled="true"], .btn:disabled { opacity: .5; cursor: not-allowed; pointer-events: none; }
.link-btn { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--ink); }
.icon-btn { background: none; border: 1px solid var(--line); border-radius: 6px; width: 28px; height: 28px; display: inline-flex; align-items: center; justify-content: center; vertical-align: middle; margin-left: 8px; color: var(--ink-3); cursor: pointer; }
.icon-btn .ic { width: 14px; height: 14px; }
.icon-btn:disabled { opacity: .4; cursor: not-allowed; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-row { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; }
.mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--ink); color: #fff;
  font-family: var(--serif); font-size: 15px; font-weight: 600; letter-spacing: 0;
  display: inline-flex; align-items: center; justify-content: center;
}
.brand-text { font-size: 15px; }
.nav-links { display: flex; gap: 22px; margin-left: 12px; font-size: 14px; color: var(--ink-2); }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }
.nav-cta .btn { height: 38px; padding: 0 14px; font-size: 14px; }

/* Hero */
.hero { padding: 88px 0 48px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; }
.stat-strip {
  display: grid; grid-template-columns: repeat(5, 1fr);
  margin: 48px 0 0; padding: 0;
  border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden;
}
.stat-strip > div { padding: 18px 20px; border-right: 1px solid var(--line); }
.stat-strip > div:last-child { border-right: 0; }
.stat-strip dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.stat-strip dd { margin: 6px 0 0; font-size: 17px; font-weight: 500; }
.stat-strip.dark { border-color: rgba(255,255,255,.14); grid-template-columns: repeat(4, 1fr); margin-top: 56px; }
.stat-strip.dark > div { border-color: rgba(255,255,255,.14); }
.stat-strip.dark dt { color: rgba(255,255,255,.55); }
.stat-strip.dark dd { color: #fff; }
.hero-frames { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 14px; margin-top: 56px; }

/* Frames (photo placeholders) */
.frame {
  margin: 0; position: relative; overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #F7F3EC 0%, #EADFCB 100%);
}
.frame.tall { aspect-ratio: 4 / 5; }
.frame::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(26,26,30,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,26,30,.06) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 75%);
}
.frame::after {
  content: ""; position: absolute; width: 56%; aspect-ratio: 1; border-radius: 50%;
  right: -8%; top: -12%;
  background: radial-gradient(circle at 35% 35%, rgba(255,255,255,.75), rgba(227,190,137,.55) 60%, rgba(227,190,137,0) 72%);
}
.frame figcaption {
  position: absolute; left: 14px; bottom: 12px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--ink-2);
  background: rgba(255,255,255,.7); padding: 6px 8px; border-radius: 6px;
  backdrop-filter: blur(6px);
}
.frame-b { background: linear-gradient(135deg, #F2F2F4 0%, #DDDDE2 100%); }
.frame-c { background: linear-gradient(135deg, #EEF1F4 0%, #D3D8E0 100%); }
.frame-d { background: linear-gradient(160deg, #F5EEE2 0%, #D9C4A4 100%); }
.frame-e { background: linear-gradient(135deg, #F7F3EC 0%, #E7DAC2 100%); }
.frame-f { background: linear-gradient(135deg, #F1F1F3 0%, #DADADF 100%); }
.frame-g { background: linear-gradient(135deg, #EDF2EE 0%, #CFDAD2 100%); }
.frame-h { background: linear-gradient(135deg, #EDEFF4 0%, #CDD3DF 100%); }
.frame-i { background: linear-gradient(160deg, #F3F3F5 0%, #D5D5DA 100%); }
.section-dark .frame { border-color: rgba(255,255,255,.14); }

/* Sections */
.section { padding: 96px 0; }
.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-alt + .section-alt { border-top: 0; }
.section-dark { background: var(--bg-dark); color: #fff; }
.section-dark p { color: rgba(255,255,255,.72); }
.section-dark .h-underline::after { background: #fff; }
.section-dark h3 { color: #fff; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split.reverse .split-text { order: 2; }
.split.reverse .split-media { order: 1; }
.split-text p { color: var(--ink-2); font-size: 17px; }
.section-dark .split-text p { color: rgba(255,255,255,.72); }
.split-text .btn { margin-top: 8px; }
.ticks { margin: 20px 0 24px; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-2); font-size: 15px; }
.ticks .ic { width: 18px; height: 18px; margin-top: 2px; color: var(--ink); }

/* Marquee */
.marquee { margin: 72px 0 48px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 16px 0; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span { font-family: var(--serif); font-size: 22px; white-space: nowrap; display: inline-flex; align-items: baseline; gap: 10px; }
.marquee-track em { font-family: var(--mono); font-style: normal; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; flex-wrap: wrap; width: auto; } }

.logo-row { display: flex; flex-wrap: wrap; gap: 10px; }
.logo-row li {
  font-size: 14px; font-weight: 500; color: var(--ink-2);
  padding: 10px 16px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}

/* Icon grid */
.icon-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 48px; }
.icon-grid li {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px 18px; display: grid; gap: 6px;
  transition: border-color .15s ease, transform .15s ease;
}
.icon-grid li:hover { border-color: var(--ink-4); transform: translateY(-2px); }
.icon-grid .ic { width: 24px; height: 24px; color: var(--ink-2); margin-bottom: 10px; }
.icon-grid span { font-weight: 500; font-size: 15px; }
.icon-grid small { font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }

.legend { margin-top: 18px; display: grid; gap: 8px; }
.legend li { display: grid; grid-template-columns: 12px 1fr auto; align-items: center; gap: 12px; font-size: 14px; padding: 6px 8px; margin: 0 -8px; border-radius: 8px; cursor: default; }
.legend li:hover, .legend li.on { background: #F4F4F5; }
.legend i { width: 12px; height: 12px; border-radius: 3px; background: var(--c); border: 1px solid rgba(26,26,30,.08); }
.legend span { color: var(--ink-2); }
.legend b { font-weight: 500; font-variant-numeric: tabular-nums; }
.tooltip {
  position: absolute; z-index: 5; pointer-events: none;
  background: var(--ink); color: #fff; font-size: 12px; line-height: 1.4;
  padding: 8px 10px; border-radius: 8px; white-space: nowrap;
  transform: translate(-50%, calc(-100% - 10px));
}
.tooltip b { display: block; font-weight: 500; }
.tooltip span { color: rgba(255,255,255,.7); }
.alloc-table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 13px; }
.alloc-table th, .alloc-table td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.alloc-table th { font-family: var(--mono); font-weight: 400; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.alloc-table td:nth-child(2), .alloc-table td:nth-child(3) { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Steps */
.steps-title { font-family: var(--serif); font-size: 26px; margin: 88px 0 28px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { padding: 28px 24px 28px 0; border-right: 1px solid var(--line); margin-right: 24px; }
.steps li:last-child { border-right: 0; margin-right: 0; }
.steps .num { font-family: var(--serif); font-size: 28px; color: var(--ink-3); display: block; margin-bottom: 14px; }
.steps h4 { margin-bottom: 8px; }
.steps p { color: var(--ink-2); font-size: 15px; margin: 0; }
.steps.compact { margin-top: 56px; }
.steps.compact li { padding-top: 24px; padding-bottom: 8px; }

/* Card grids */
.card-grid { display: grid; gap: 20px; margin-top: 48px; }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }
.card-grid.three { grid-template-columns: repeat(3, 1fr); margin-bottom: 40px; }
.card-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card-grid .frame { margin: -24px -24px 20px; border: 0; border-bottom: 1px solid var(--line); border-radius: var(--radius) var(--radius) 0 0; aspect-ratio: 16 / 10; }
.card-grid h3 { margin-bottom: 8px; }
.card-grid p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* Burn list */
.burn-list { display: grid; gap: 14px; }
.burn-list li { display: flex; gap: 18px; padding: 22px; border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); background: rgba(255,255,255,.03); }
.burn-list .ic { width: 24px; height: 24px; color: var(--tan); margin-top: 2px; }
.burn-list h3 { font-size: 17px; margin-bottom: 6px; }
.burn-list p { margin: 0; font-size: 15px; }

/* Buy */
.buy-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  padding: 48px; border: 1px solid var(--line); border-radius: 20px;
  background: linear-gradient(180deg, #fff 0%, #FAF7F1 100%);
  max-width: calc(var(--wrap) - 2 * var(--gutter));
}
.buy-card h2 { margin-bottom: 14px; }
.buy-card p { color: var(--ink-2); }
.buy-actions { display: grid; gap: 18px; }
.field label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 8px; }
.field-row { display: flex; gap: 8px; }
.field-row input {
  flex: 1; height: 42px; padding: 0 14px; font-family: var(--mono); font-size: 14px;
  border: 1px solid var(--line-2); border-radius: 10px; background: #fff; color: var(--ink-2);
}
.buy-actions .fine { margin: 0; }

/* FAQ */
.faq { margin-top: 8px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-size: 18px; font-weight: 500;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 4px; top: 50%; width: 10px; height: 10px;
  border-right: 1.5px solid var(--ink-2); border-bottom: 1.5px solid var(--ink-2);
  transform: translateY(-70%) rotate(45deg); transition: transform .2s ease;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { margin: -6px 0 24px; color: var(--ink-2); max-width: 720px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 64px 0 32px; }
.footer-row { display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px; }
.footer-brand .fine { margin-top: 18px; max-width: 420px; }
.footer-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-links a { display: block; font-size: 14px; color: var(--ink-2); padding: 5px 0; }
.footer-links a:hover { color: var(--ink); }
.footer-bottom { display: flex; justify-content: space-between; margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.footer-bottom a:hover { color: var(--ink); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(12px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Responsive */
@media (max-width: 1040px) {
  .icon-grid { grid-template-columns: repeat(4, 1fr); }
  .card-grid.four { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps li:nth-child(2) { border-right: 0; }
  .stat-strip { grid-template-columns: repeat(3, 1fr); }
  .stat-strip > div:nth-child(3n) { border-right: 0; }
  .stat-strip > div { border-bottom: 1px solid var(--line); }
  .stat-strip > div:nth-last-child(-n+2) { border-bottom: 0; }
  .nav-links { display: none; }
}
@media (max-width: 820px) {
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 40px; }
  .split, .split.reverse { grid-template-columns: 1fr; gap: 36px; }
  .split.reverse .split-text { order: 1; }
  .split.reverse .split-media { order: 2; }
  .frame.tall { aspect-ratio: 4 / 3; }
  .hero-frames { grid-template-columns: 1fr 1fr; }
  .hero-frames .frame-a { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
  .card-grid.three { grid-template-columns: 1fr; }
  .icon-grid { grid-template-columns: repeat(3, 1fr); }
  .buy-card { grid-template-columns: 1fr; padding: 28px; gap: 28px; }
  .footer-row { grid-template-columns: 1fr; gap: 36px; }
  .stat-strip.dark { grid-template-columns: repeat(2, 1fr); }
  .stat-strip.dark > div:nth-child(2n) { border-right: 0; }
  .stat-strip.dark > div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
}
@media (max-width: 560px) {
  :root { --gutter: 16px; }
  .icon-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .card-grid.four { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; margin-right: 0; padding-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .stat-strip > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .stat-strip > div:nth-child(2n) { border-right: 0; }
  .stat-strip > div:last-child { grid-column: 1 / -1; border-bottom: 0; border-right: 0; }
  .hero-frames { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr 1fr; }
  .field-row { flex-direction: column; }
  .cta-row .btn { flex: 1; }
  .marquee-track span { font-size: 18px; }
}

/* ===== Hero mosaic ===== */
.hero.hero-mosaic { padding: 20px 0 56px; position: relative; overflow: hidden; }
.mosaic {
  --gap: 14px;
  display: flex; gap: var(--gap);
  padding: 0 24px;
  max-height: 880px; overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 78%, transparent 100%);
}
.m-col { flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: var(--gap); }
.m-spacer { height: var(--copy-h, 300px); flex: none; }
.tile { position: relative; perspective: 900px; border-radius: 10px; }
.tile .card {
  position: absolute; inset: 0;
  transform-style: preserve-3d;
  transition: transform .8s cubic-bezier(.45,.05,.2,1);
}
.tile.flipped .card { transform: rotateY(180deg); }
.tile .face {
  position: absolute; inset: 0; overflow: hidden;
  border-radius: 10px;
  -webkit-backface-visibility: hidden; backface-visibility: hidden;
  box-shadow: 0 1px 2px rgba(10,13,18,.06), 0 0 0 1px rgba(10,13,18,.06);
}
.tile .face.back { transform: rotateY(180deg); }
.tile .face img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* scene tiles */
.f-scene { background: var(--t, linear-gradient(150deg,#F5EEE2,#D9C4A4)); color: var(--ink); }
.f-scene .big { position: absolute; right: -14%; bottom: -12%; width: 78%; height: 78%; stroke: currentColor; fill: none; stroke-width: .9; opacity: .16; }
.f-scene .lbl {
  position: absolute; left: 8px; right: 8px; bottom: 8px;
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .06em; text-transform: uppercase; line-height: 1.3;
  color: var(--ink-2);
}
.f-scene .lbl b { display: block; font-family: var(--sans); font-size: 12px; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--ink); }
.f-scene .sm { position: absolute; left: 8px; top: 8px; width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }

/* receipt tiles */
.f-receipt { background: #fff; padding: 9px; display: flex; flex-direction: column; justify-content: space-between; }
.f-receipt .r-top { font-family: var(--mono); font-size: 9px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); display: flex; justify-content: space-between; gap: 4px; }
.f-receipt .r-ok { color: #2F7D4F; }
.f-receipt .r-amt { font-family: var(--serif); font-size: clamp(15px, 1.35vw, 22px); line-height: 1; letter-spacing: -.01em; }
.f-receipt .r-amt.plus { color: #2F7D4F; }
.f-receipt .r-what { font-size: 11px; color: var(--ink-2); line-height: 1.3; margin-top: 4px; }
.f-receipt .r-tear { height: 6px; margin: 0 -9px -9px; background: radial-gradient(circle at 4px 6px, var(--bg-alt) 3px, transparent 3.5px) 0 0 / 8px 6px repeat-x; }

/* stat tiles */
.f-stat { background: var(--ink); color: #fff; padding: 10px; display: flex; flex-direction: column; justify-content: space-between; }
.f-stat .s-k { font-family: var(--mono); font-size: 9px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.f-stat .s-v { font-family: var(--serif); font-size: clamp(16px, 1.5vw, 24px); line-height: 1.05; }
.f-stat .s-v small { display: block; font-family: var(--sans); font-size: 11px; color: var(--tan); margin-top: 4px; }

/* centered copy */
.hero-copy {
  position: absolute; left: 50%; top: 0; transform: translateX(-50%);
  width: min(600px, 92vw); text-align: center; z-index: 2;
}
.hero-copy h1 { font-size: clamp(36px, 3.7vw, 54px); line-height: 1.04; }
.hero-sub { font-family: var(--serif); font-size: clamp(17px, 1.45vw, 21px); line-height: 1.3; color: var(--ink); margin: 14px auto 24px; max-width: 520px; }
.btn-pill { border-radius: 999px; height: 50px; padding: 0 28px; font-size: 18px; font-weight: 600; box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 2px 0 #000, 0 3px 8px rgba(10,13,18,.18); }
.btn-pill .ic { width: 18px; height: 18px; }
.hero-mosaic .stat-strip { margin-top: 8px; position: relative; z-index: 2; background: #fff; }

/* fewer, wider columns on smaller screens; the middle six always stay */
@media (max-width: 1600px) {
  .m-col:nth-child(1), .m-col:nth-child(14) { display: none; }
}
@media (max-width: 1350px) {
  .m-col:nth-child(2), .m-col:nth-child(13) { display: none; }
  .mosaic { --gap: 12px; }
}
@media (max-width: 1100px) {
  .m-col:nth-child(3), .m-col:nth-child(12) { display: none; }
}
@media (max-width: 900px) {
  .m-col:nth-child(4), .m-col:nth-child(11) { display: none; }
}

/* tile text adapts to the tile width */
.tile { container-type: inline-size; }
.f-stat .s-v { overflow-wrap: anywhere; }
@container (max-width: 104px) {
  .f-receipt .r-top span:last-child, .f-receipt .r-what, .f-stat .s-v small { display: none; }
  .f-receipt .r-amt, .f-stat .s-v { font-size: 16px; }
  .f-scene .lbl { font-size: 0; }
  .f-scene .lbl b { font-size: 11px; line-height: 1.25; }
}
@media (max-width: 760px) {
  .hero.hero-mosaic { padding-top: 40px; }
  .hero.hero-mosaic { display: flex; flex-direction: column; }
  .hero-copy { position: static; transform: none; margin: 0 auto 28px; padding: 0 var(--gutter); width: 100%; order: -1; }
  .mosaic { padding: 0 var(--gutter); max-height: 460px; --gap: 10px; }
  .m-col:nth-child(-n+5), .m-col:nth-child(n+10) { display: none !important; }
  .m-spacer, .m-col .tile.top { display: none; }
  .f-scene .lbl b { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) { .tile .card { transition: none; } }
.mosaic { transition: opacity .5s ease; }
.mosaic.is-loading { opacity: 0; }

/* photos placed from the /pics editor */
.frame > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.frame.has-photo { background: #F4F4F5; }
.frame.has-photo::before, .frame.has-photo::after { display: none; }
.frame.has-photo figcaption { z-index: 1; }
.card-grid .frame.has-photo figcaption { display: none; }

/* =====================================================================
   Additions: menu, section heads, tokenomics, comparison, wide photo,
   roadmap, partners, community, socials
   ===================================================================== */

/* Section kicker and heads */
.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-3); margin: 0 0 18px;
}
.kicker span {
  font-size: 11px; color: var(--bronze); background: var(--tan-3);
  border: 1px solid rgba(122,86,38,.18); border-radius: 6px; padding: 3px 7px; letter-spacing: .04em;
}
.section-dark .kicker { color: rgba(255,255,255,.6); }
.section-dark .kicker span { background: rgba(227,190,137,.14); border-color: rgba(227,190,137,.3); color: var(--tan); }
.kicker.light { color: rgba(255,255,255,.8); }
.sec-head { max-width: 760px; margin-bottom: 48px; }
.sec-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.sec-head .sub { margin-bottom: 0; }
.sec-sub { font-size: 18px; color: var(--ink-2); margin: 0; max-width: 640px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.inline-link { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }

/* Nav: socials, menu toggle, menu panel */
.nav-cta { align-items: center; }
.nav-socials, .menu-socials, .footer-socials { display: flex; gap: 6px; }
.social-ic {
  width: 36px; height: 36px; border-radius: 9px; border: 1px solid var(--line);
  display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); background: #fff;
  transition: border-color .15s ease, color .15s ease, background-color .15s ease;
}
.social-ic:hover { border-color: var(--ink-4); color: var(--ink); }
.social-ic .ic { width: 17px; height: 17px; }
.social-ic[hidden] { display: none; }
.menu-toggle {
  height: 38px; padding: 0 14px 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: #fff;
  display: inline-flex; align-items: center; gap: 9px; font: inherit; font-size: 14px; font-weight: 500; color: var(--ink); cursor: pointer;
  box-shadow: 0 1px 2px rgba(10,13,18,.05);
}
.menu-toggle:hover { background: #F4F4F5; }
.menu-lines { width: 16px; height: 10px; position: relative; display: inline-block; }
.menu-lines i { position: absolute; left: 0; right: 0; height: 1.5px; background: var(--ink); border-radius: 2px; transition: transform .2s ease, top .2s ease; }
.menu-lines i:first-child { top: 1px; }
.menu-lines i:last-child { top: 7.5px; }
.menu-toggle[aria-expanded="true"] .menu-lines i:first-child { top: 4.25px; transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-lines i:last-child { top: 4.25px; transform: rotate(-45deg); }

.site-menu { border-top: 1px solid var(--line); background: #fff; box-shadow: 0 24px 48px -24px rgba(10,13,18,.18); }
.site-menu[hidden] { display: none; }
.site-menu-grid { display: grid; grid-template-columns: 1fr 280px; gap: 48px; padding-top: 28px; padding-bottom: 32px; }
.menu-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px 24px; }
.menu-list a {
  display: flex; align-items: baseline; gap: 12px; padding: 12px 10px; margin: 0 -10px; border-radius: 8px;
  font-family: var(--serif); font-size: 19px; color: var(--ink);
}
.menu-list a:hover, .menu-list a:focus-visible { background: var(--bg-alt); }
.menu-list a span { font-family: var(--mono); font-size: 11px; color: var(--ink-4); letter-spacing: .04em; }
.menu-side { border-left: 1px solid var(--line); padding-left: 32px; display: grid; align-content: start; gap: 12px; }
.menu-side .caption-row { margin: 0; }
.menu-ca { font-size: 13px; color: var(--ink-2); margin: 0; word-break: break-all; }
.menu-side .btn { justify-self: start; }

/* Tokenomics */
.tk-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 20px; align-items: stretch; }
.tk-card { border: 1px solid var(--line); border-radius: 16px; padding: 28px; background: #fff; position: relative; }
.chart-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.chart-head h3 { font-size: 16px; }
.alloc-body { display: grid; grid-template-columns: 220px 1fr; gap: 28px; align-items: center; }
.alloc-body[hidden] { display: none; }
.donut-wrap { position: relative; width: 220px; aspect-ratio: 1; }
.donut { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.donut circle.seg { fill: none; stroke-width: 30; transition: opacity .15s ease, stroke-width .15s ease; cursor: default; outline: none; }
.donut.dim circle.seg:not(.on) { opacity: .28; }
.donut circle.seg.on { stroke-width: 34; }
.donut-center { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; pointer-events: none; padding: 0 44px; }
.donut-center b { font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; font-variant-numeric: tabular-nums; }
.donut-center span { font-size: 12px; color: var(--ink-3); margin-top: 6px; line-height: 1.3; }
.legend { margin: 0; display: grid; gap: 4px; }
.legend li { grid-template-columns: 12px 1fr auto; }
.legend li small { display: block; font-size: 12px; color: var(--ink-3); }

.tk-side { display: grid; gap: 20px; grid-template-rows: 1fr auto; }
.tk-facts { margin: 0; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.tk-facts > div { padding: 16px 20px; border-bottom: 1px solid var(--line); }
.tk-facts > div:nth-child(odd) { border-right: 1px solid var(--line); }
.tk-facts > div:nth-last-child(-n+2) { border-bottom: 0; }
.tk-facts dt { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.tk-facts dd { margin: 6px 0 0; font-size: 16px; font-weight: 500; }
.tk-contract { border: 1px solid var(--line); border-radius: 16px; padding: 20px; background: linear-gradient(180deg, #fff 0%, #FAF7F1 100%); }
.tk-contract-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.tk-contract-top .caption-row { margin: 0; }
.tk-contract-row { display: flex; align-items: center; gap: 8px; padding: 12px 12px 12px 14px; border: 1px solid var(--line-2); border-radius: 10px; background: #fff; }
.contract { font-family: var(--mono); }
.tk-contract-row .contract { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 14px; }
.tk-contract-row .icon-btn { margin-left: 0; flex: none; }
.tk-contract .fine { margin: 10px 0 0; }
.pill {
  display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--ink-3); background: #fff; white-space: nowrap;
}
.pill.is-live { color: #2F7D4F; border-color: rgba(47,125,79,.3); background: #F0F7F2; }
.pill.is-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #2F7D4F; }
.pill-now { color: var(--bronze); border-color: rgba(122,86,38,.28); background: #FFF6E8; }
.pill-now::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--bronze); }

.tk-unlock { margin-top: 20px; }
.unlock-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 18px; }
.unlock-head h3 { font-size: 16px; margin-bottom: 4px; }
.unlock-head .fine { margin: 0; }
.unlock-readout { text-align: right; flex: none; }
.unlock-readout .caption-row { margin: 0 0 4px; display: block; }
.unlock-readout b { font-family: var(--serif); font-size: 24px; font-weight: 500; font-variant-numeric: tabular-nums; }
.unlock-chart { position: relative; }
.unlock-chart svg { width: 100%; height: auto; display: block; overflow: visible; }
.unlock-chart .grid line { stroke: var(--line); stroke-width: 1; }
.unlock-chart .axis text { font-family: var(--mono); font-size: 10.5px; fill: var(--ink-3); }
.unlock-chart .area { fill: url(#unlock-fill); }
.unlock-chart .line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.unlock-chart .mile line { stroke: var(--ink-4); stroke-dasharray: 3 3; }
.unlock-chart .mile text { font-family: var(--mono); font-size: 10px; fill: var(--ink-2); }
.unlock-chart .cross { stroke: var(--ink-3); stroke-width: 1; }
.unlock-chart .dot { fill: var(--ink); stroke: #fff; stroke-width: 2; }
.unlock-chart .hit { fill: transparent; cursor: crosshair; }

/* Comparison */
.compare-wrap { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; overflow-x: auto; background: #fff; }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: 15px; }
.compare th, .compare td { text-align: left; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-family: var(--mono); font-size: 11px; font-weight: 400; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: var(--bg-alt); }
.compare tbody th { font-weight: 500; color: var(--ink); width: 22%; }
.compare td { color: var(--ink-2); }
.compare .is-ns { background: #FBF6EE; color: var(--ink); font-weight: 500; }
.compare thead .is-ns { color: var(--bronze); background: #F6EBDA; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 20px; }
.why-grid li { padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.why-grid .ic { width: 24px; height: 24px; color: var(--bronze); margin-bottom: 16px; }
.why-grid h3 { font-size: 18px; margin-bottom: 8px; }
.why-grid p { color: var(--ink-2); font-size: 15px; margin: 0; }

/* Full-width photo */
.wide-band { padding: 0; }
.wide-frame {
  border-radius: 0; border: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  aspect-ratio: auto; height: clamp(360px, 46vw, 680px);
  background: linear-gradient(120deg, #EFE6D6 0%, #D9C4A4 55%, #B89A70 100%);
}
.wide-frame::after { display: none; }
.wide-frame.has-photo::before {
  display: block; content: ""; position: absolute; inset: 0; z-index: 1; mask-image: none;
  background: linear-gradient(180deg, rgba(10,10,12,0) 40%, rgba(10,10,12,.55) 100%);
}
.wide-copy { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter) clamp(28px, 4vw, 56px); }
.wide-copy .kicker { margin-bottom: 10px; color: var(--ink-2); }
.wide-line { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 48px); line-height: 1.08; max-width: 720px; margin: 0; color: var(--ink); letter-spacing: -.01em; }
.wide-frame.has-photo .wide-copy .kicker { color: rgba(255,255,255,.85); }
.wide-frame.has-photo .wide-line { color: #fff; }

/* Roadmap */
.rm-track { position: relative; height: 14px; margin: 0 0 24px; }
.rm-line { position: absolute; left: 12.5%; right: 12.5%; top: 6px; height: 2px; background: var(--line-2); border-radius: 2px; }
.rm-line i { display: block; height: 100%; background: var(--bronze); border-radius: 2px; }
.rm-node { position: absolute; top: 0; width: 14px; height: 14px; margin-left: -7px; border-radius: 50%; background: var(--bg-alt); border: 2px solid var(--line-2); }
.rm-node.is-now { border-color: var(--bronze); background: var(--tan); box-shadow: 0 0 0 5px rgba(227,190,137,.28); }
.rm { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rm-phase { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; display: flex; flex-direction: column; }
.rm-phase.is-now { border-color: rgba(122,86,38,.35); box-shadow: 0 1px 0 rgba(122,86,38,.08), 0 12px 32px -16px rgba(122,86,38,.35); }
.rm-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 18px; }
.rm-num { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.rm-when { font-family: var(--serif); font-size: 30px; line-height: 1; margin: 0 0 10px; letter-spacing: -.01em; }
.rm-phase h3 { font-size: 18px; margin-bottom: 6px; }
.rm-desc { color: var(--ink-2); font-size: 14.5px; margin: 0 0 18px; }
.rm-items { display: grid; gap: 10px; margin-top: auto; padding-top: 16px; border-top: 1px solid var(--line); }
.rm-items li { position: relative; padding-left: 24px; font-size: 14px; color: var(--ink-2); line-height: 1.4; }
.rm-items li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 14px; height: 14px; border-radius: 50%;
  border: 1.5px solid var(--line-2); background: #fff;
}
.rm-items li.done { color: var(--ink); }
.rm-items li.done::before {
  border-color: #2F7D4F; background: #2F7D4F url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12.5 4 4 8-9'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* Partners */
.partner-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.frame.partner { aspect-ratio: 3 / 4; background: linear-gradient(160deg, #FAFAFA 0%, #ECECEE 100%); }
.frame.partner::after { display: none; }
.frame.partner figcaption { left: 50%; bottom: 50%; transform: translate(-50%, 50%); background: transparent; backdrop-filter: none; color: var(--ink-4); }
.frame.partner.has-photo figcaption { display: none; }

/* Community */
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.social-card {
  height: 100%; display: flex; flex-direction: column; padding: 24px; border: 1px solid var(--line); border-radius: 16px; background: #fff;
  transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.social-card > .ic { width: 26px; height: 26px; color: var(--ink); margin-bottom: 28px; }
.social-card h3 { font-size: 19px; margin-bottom: 6px; }
.social-card p { color: var(--ink-2); font-size: 14.5px; margin: 0 0 24px; }
.social-go { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.social-go .ic { width: 15px; height: 15px; }
.social-card:not(.is-off):hover { border-color: var(--ink-4); transform: translateY(-2px); box-shadow: 0 14px 30px -18px rgba(10,13,18,.3); }
.social-card .go-off { display: none; }
.social-card.is-off { cursor: default; pointer-events: none; }
.social-card.is-off .go-on, .social-card.is-off .social-go .ic { display: none; }
.social-card.is-off .go-off { display: inline; color: var(--ink-4); font-family: var(--mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }

/* Buy + footer touches */
.buy-card .kicker { margin-bottom: 14px; }
.footer-socials { margin-top: 20px; }
.footer-soon { display: block; padding: 5px 0; }
.footer-soon[hidden] { display: none; }

/* Card polish */
.card-grid li, .icon-grid li, .why-grid li { transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease; }
.card-grid li:hover, .why-grid li:hover { border-color: var(--line-2); box-shadow: 0 14px 30px -20px rgba(10,13,18,.25); }
.card-grid li { border-radius: 16px; overflow: hidden; }
.card-grid .frame { border-radius: 0; }

@media (max-width: 1100px) {
  .menu-list { grid-template-columns: repeat(2, 1fr); }
  .rm { grid-template-columns: repeat(2, 1fr); }
  .rm-track { display: none; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .alloc-body { grid-template-columns: 1fr; justify-items: center; }
  .alloc-body .legend { width: 100%; }
  .nav-socials { display: none; }
}
@media (max-width: 960px) {
  .tk-grid { grid-template-columns: 1fr; }
  .partner-row { grid-template-columns: repeat(5, minmax(150px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; margin: 0 calc(-1 * var(--gutter)); padding-left: var(--gutter); padding-right: var(--gutter); }
  .partner-row li { scroll-snap-align: start; }
  .why-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .site-menu-grid { grid-template-columns: 1fr; gap: 20px; padding-top: 12px; padding-bottom: 24px; max-height: calc(100vh - 64px); overflow-y: auto; }
  .menu-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 20px; }
  .menu-list { grid-template-columns: 1fr; }
  .menu-list a { font-size: 18px; padding: 10px; }
  .brand-text { display: none; }
  .sec-head { margin-bottom: 36px; }
  .unlock-head { flex-direction: column; align-items: flex-start; }
  .unlock-readout { text-align: left; }
}
@media (max-width: 560px) {
  .nav-buy { height: 38px; padding: 0 12px; font-size: 14px; }
  .menu-word { display: none; }
  .menu-toggle { padding: 0 11px; }
  .rm { grid-template-columns: 1fr; }
  .social-grid { grid-template-columns: 1fr; }
  .tk-card { padding: 20px; }
  .tk-facts { grid-template-columns: 1fr 1fr; }
  .tk-facts > div { padding: 14px; }
  .tk-facts dd { font-size: 14.5px; }
  .compare th, .compare td { padding: 14px 16px; }
  .wide-frame { height: 420px; }
}

/* kicker sits on its own line above the heading */
.kicker { display: flex; width: max-content; max-width: 100%; }
.center .kicker, .sec-head.center .kicker { margin-left: auto; margin-right: auto; }
.split-text p.kicker, .section-dark .split-text p.kicker { font-size: 12px; }
.section-dark .split-text p.kicker { color: rgba(255,255,255,.6); }
#alloc-card { display: flex; flex-direction: column; }
#alloc-card .alloc-body { margin: auto 0; }
.rm-desc { min-height: 4.4em; }
.rm-items { margin-top: 0; }

.mark-img { width: 32px; height: 32px; border-radius: 8px; display: block; flex: none; }

.footer-links a[hidden] { display: none; }

/* World: numbers band (replaces the city ticker) */
.num-band { margin: 72px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); }
.num-band > div { padding: 28px 24px 0 0; margin-right: 24px; border-right: 1px solid var(--line); }
.num-band > div:last-child { border-right: 0; margin-right: 0; }
.num-band dt { font-family: var(--serif); font-size: clamp(28px, 3vw, 38px); line-height: 1.05; letter-spacing: -.01em; color: var(--ink); }
.num-band dd { margin: 10px 0 0; font-size: 15px; color: var(--ink-2); max-width: 240px; }
@media (max-width: 820px) {
  .num-band { grid-template-columns: 1fr 1fr; margin-top: 56px; }
  .num-band > div:nth-child(2n) { border-right: 0; margin-right: 0; }
  .num-band > div:nth-child(-n+2) { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
}

/* Partners: logos at their own shape, one shared height, never cropped */
.partner-row {
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center;
  gap: 28px 56px; overflow: visible; margin: 0; padding: 0;
}
.partner-row li { flex: none; scroll-snap-align: none; }
.frame.partner { width: 168px; height: 84px; aspect-ratio: auto; border-radius: 12px; }
.frame.partner.has-photo { width: auto; height: 72px; border: 0; border-radius: 0; background: transparent; overflow: visible; }
.frame.partner.has-photo > img { position: static; inset: auto; width: auto; height: 100%; max-width: 240px; object-fit: contain; }
@media (max-width: 960px) {
  .partner-row { display: flex; overflow: visible; margin: 0; padding: 0; gap: 24px 40px; }
}
@media (max-width: 560px) {
  .partner-row { gap: 20px 32px; }
  .frame.partner { width: 132px; height: 64px; }
  .frame.partner.has-photo { height: 52px; }
  .frame.partner.has-photo > img { max-width: 160px; }
}

/* Tokenomics: treasury card + locked reserve breakdown */
.tk-side { grid-template-rows: auto; align-content: start; }
.res-bar { display: flex; gap: 3px; height: 40px; margin: 6px 0 24px; }
.res-seg { flex: var(--w) 0 0; background: var(--c); border-radius: 6px; transition: opacity .15s ease; }
.res-legend { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.res-legend li { padding: 16px; border: 1px solid var(--line); border-radius: 12px; transition: opacity .15s ease, border-color .15s ease; }
.res-legend i { display: block; width: 24px; height: 4px; border-radius: 2px; background: var(--c); margin-bottom: 14px; }
.res-legend b { display: block; font-family: var(--serif); font-size: 30px; font-weight: 500; line-height: 1; }
.res-name { display: block; font-weight: 500; font-size: 15px; margin-top: 8px; }
.res-amt { display: block; font-family: var(--mono); font-size: 11.5px; color: var(--ink-3); margin-top: 4px; }
.res-legend p { font-size: 13.5px; color: var(--ink-2); margin: 10px 0 0; }
#reserve-card.dim .res-seg:not(.on), #reserve-card.dim .res-legend li:not(.on) { opacity: .35; }
#reserve-card .res-legend li.on { border-color: var(--ink-4); }
.tk-reserve { margin-top: 20px; }
.dark-link { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.35); }
.dark-link:hover { text-decoration-color: #fff; }
.icon-btn.copied { color: #2F7D4F; border-color: rgba(47,125,79,.4); }
@media (max-width: 960px) { .res-legend { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .res-legend { grid-template-columns: 1fr; } .res-bar { height: 32px; } }
.tk-treasury.tk-wide { margin-top: 20px; display: grid; grid-template-columns: auto 1fr; gap: 6px 28px; align-items: center; padding: 22px 24px; }
.tk-treasury.tk-wide .tk-contract-top { grid-column: 1; margin: 0; flex-direction: column; align-items: flex-start; gap: 4px; }
.tk-treasury.tk-wide .tk-contract-row { grid-column: 2; grid-row: 1; }
.tk-treasury.tk-wide .fine { grid-column: 1 / -1; margin: 6px 0 0; }
@media (max-width: 820px) {
  .tk-treasury.tk-wide { grid-template-columns: 1fr; }
  .tk-treasury.tk-wide .tk-contract-row { grid-column: 1; grid-row: auto; }
  .tk-treasury.tk-wide .tk-contract-top { flex-direction: row; justify-content: space-between; align-items: center; }
}

/* Buy panel */
.buy-panel {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.15fr 1fr; gap: 56px; align-items: center;
  padding: 56px; border-radius: 24px; color: #fff;
  background: #141417;
  box-shadow: 0 30px 60px -30px rgba(10,13,18,.45);
}
.buy-panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(600px 320px at 0% 0%, rgba(227,190,137,.22), transparent 70%),
    radial-gradient(500px 300px at 100% 100%, rgba(227,190,137,.10), transparent 70%);
}
.buy-panel::after {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, #000, transparent 70%);
}
.buy-panel .kicker { color: rgba(255,255,255,.6); }
.buy-panel .kicker span { background: rgba(227,190,137,.14); border-color: rgba(227,190,137,.32); color: var(--tan); }
.buy-panel h2 { color: #fff; font-size: clamp(36px, 4.2vw, 56px); margin: 0 0 14px; }
.buy-lede { color: rgba(255,255,255,.7); font-size: 17px; max-width: 520px; margin: 0 0 28px; }

.ca-box { border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.04); border-radius: 16px; padding: 16px 16px 16px 18px; }
.ca-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; }
.ca-label { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.pill-dark { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.16); color: rgba(255,255,255,.7); }
.pill-dark.is-live { color: #8FE3B0; border-color: rgba(143,227,176,.35); background: rgba(47,125,79,.18); }
.pill-dark.is-live::before { background: #8FE3B0; }
.ca-row { display: flex; align-items: center; gap: 12px; }
.ca-value { flex: 1; min-width: 0; font-family: var(--mono); font-size: 15px; color: #fff; overflow-wrap: anywhere; line-height: 1.4; }
.ca-copy {
  flex: none; display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px;
  border-radius: 10px; border: 1px solid rgba(255,255,255,.18); background: rgba(255,255,255,.06);
  color: #fff; font: inherit; font-size: 13px; font-weight: 500; cursor: pointer;
}
.ca-copy .ic { width: 15px; height: 15px; }
.ca-copy:hover { background: rgba(255,255,255,.12); }
.ca-copy:disabled { opacity: .4; cursor: not-allowed; }
.ca-copy.copied { color: #8FE3B0; border-color: rgba(143,227,176,.4); }

.buy-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn-tan { background: var(--tan); color: var(--ink); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 8px 24px -10px rgba(227,190,137,.6); }
.btn-tan:hover { background: #EAC898; }
.btn-tan .ic { width: 18px; height: 18px; }
.btn-tan[aria-disabled="true"] { opacity: 1; background: rgba(227,190,137,.16); color: var(--tan); box-shadow: inset 0 0 0 1px rgba(227,190,137,.35); }
.btn-tan[aria-disabled="true"] .ic { display: none; }
.btn-outline-light { color: #fff; border-color: rgba(255,255,255,.25); background: transparent; }
.btn-outline-light:hover { background: rgba(255,255,255,.08); }
.btn-outline-light[hidden] { display: none; }

.buy-steps { display: grid; gap: 0; border-left: 1px solid rgba(255,255,255,.12); padding-left: 40px; }
.buy-steps li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.buy-steps li:last-child { border-bottom: 0; }
.bs-num { font-family: var(--mono); font-size: 12px; color: var(--tan); padding-top: 3px; flex: none; }
.buy-steps h3 { font-size: 16px; color: #fff; margin: 0 0 4px; }
.buy-steps p { font-size: 14px; color: rgba(255,255,255,.62); margin: 0; }

@media (max-width: 960px) {
  .buy-panel { grid-template-columns: 1fr; gap: 36px; padding: 40px 32px; }
  .buy-steps { border-left: 0; padding-left: 0; border-top: 1px solid rgba(255,255,255,.12); padding-top: 8px; }
}
@media (max-width: 560px) {
  .buy-panel { padding: 32px 20px; border-radius: 18px; margin: 0 calc(-1 * var(--gutter) + 8px); }
  .ca-row { flex-direction: column; align-items: stretch; }
  .ca-copy { justify-content: center; }
  .buy-ctas .btn { flex: 1 1 100%; }
}

/* nothing pre-launch: labels and buy buttons appear once the contract is set */
.btn[hidden], .pill[hidden], .social-grid li[hidden] { display: none; }
.social-card.is-off .go-on, .social-card.is-off .social-go .ic { display: inline; }
.social-card.is-off .social-go .ic { display: block; }

/* footer columns follow the editor (Links column included) */
@media (min-width: 561px) { .footer-links { grid-template-columns: repeat(var(--fcols, 3), minmax(0, 1fr)); } }
