/* raddish.io landing page. Loaded after /stats/stats.css, which supplies the tokens, fonts, top bar, background and
 * footer, so the two pages stay one design without a third copy of the shared styles. Only landing-specific rules
 * here, scoped under body.landing where a stats.css rule (section, h2, .wrap) would otherwise leak in. */
body.landing .wrap { padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
body.landing section { margin: 0; }
body.landing h1, body.landing h2, body.landing h3 { text-wrap: balance; }
.topbar .links .soon { font: 500 10px var(--mono); letter-spacing: 0.06em; text-transform: uppercase; color: var(--orange);
  border: 1px solid rgba(241,169,61,0.4); border-radius: 999px; padding: 1px 6px; margin-left: 5px; vertical-align: 1px; }

/* hero: message left, radish and three live numbers right */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 32px; align-items: center; padding: 48px 0 32px; }
.badge { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 500; background: var(--panel-2);
  border: 1px solid var(--line); border-radius: 999px; padding: 5px 14px 5px 8px; margin: 0 0 20px; }
.badge .pulse { width: 8px; height: 8px; border-radius: 50%; flex: none; background: var(--ok); }
.badge[data-tone="soon"] .pulse { background: var(--orange); }
.hero h1 { font-size: clamp(36px, 6vw, 62px); line-height: 1.04; letter-spacing: -0.04em; font-weight: 700; margin: 0 0 18px; }
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #d4acff, #9330ff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: #c9cad4; font-size: 18px; max-width: 34em; margin: 0 0 28px; }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; align-items: center; font: 600 15px var(--sans); text-decoration: none; border-radius: 999px; padding: 12px 22px; }
.btn.primary { background: linear-gradient(90deg, #8931ff, #523df1); color: #fff; box-shadow: 0 6px 22px rgba(137,49,255,0.38); }
.btn.ghost { color: var(--ink); border: 1px solid var(--line); background: var(--panel); }
.btn:hover { filter: brightness(1.12); }

.art { position: relative; aspect-ratio: 1 / 1; width: 100%; max-width: 460px; justify-self: center; }
.art .halo { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(147,48,255,0.35), transparent 68%); }
.art .ring { position: absolute; inset: 4%; border: 1px dashed rgba(212,172,255,0.22); border-radius: 50%; }
.art .mark { position: absolute; left: 20%; top: 20%; width: 60%; height: 60%; filter: drop-shadow(0 18px 40px rgba(0,0,0,0.5)); }
.chip { position: absolute; background: rgba(20,18,40,0.88); border: 1px solid var(--line); border-radius: 14px; padding: 8px 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35); white-space: nowrap; }
.chip b { display: block; font: 500 clamp(15px, 2.2vw, 20px) var(--mono); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.chip span { font-size: 11px; color: var(--muted); }
.chip.c1 { top: 6%; left: 0; } .chip.c1 b { color: var(--accent-soft); }
.chip.c2 { top: 40%; right: -2%; }
.chip.c3 { bottom: 6%; left: 6%; } .chip.c3 b { color: var(--orange); }
@media (prefers-reduced-motion: no-preference) {
  .art .mark { animation: bob 6s ease-in-out infinite; }
  @keyframes bob { 50% { transform: translateY(-8px) rotate(2deg); } }
}

/* three-column explainer */
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; padding: 8px 0 40px; }
.trio article { border-top: 2px solid var(--line); padding-top: 16px; }
.trio article:first-child { border-top-color: var(--accent); }
body.landing .trio h2 { font-size: 17px; margin: 0 0 6px; letter-spacing: -0.01em; }
.trio p { margin: 0; color: #c9cad4; font-size: 15px; }

/* sections */
.block { padding: 40px 0; }
.block-head { max-width: 60ch; margin-bottom: 24px; }
.eyebrow { font: 500 12px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent-soft); margin: 0 0 8px; }
body.landing .block-head h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.15; margin: 0 0 8px; }
.block-head p:not(.eyebrow) { color: var(--muted); margin: 0; }

/* Yat market features */
.feats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feat { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.feat .kind { font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--orange); }
.feat h3 { margin: 0; font-size: 18px; line-height: 1.3; letter-spacing: -0.015em; }
.feat p { margin: 0; color: #c9cad4; font-size: 14.5px; }
.ex { margin-top: auto; background: rgba(12,12,14,0.55); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
  font: 12.5px/1.5 var(--mono); color: var(--muted); display: grid; gap: 6px; }
.ex .row { display: flex; justify-content: space-between; gap: 10px; align-items: center; min-width: 0; }
.ex .e { font-size: 16px; letter-spacing: 1px; font-family: var(--sans); }
.ex .free { color: var(--ok); font-weight: 500; }
.ex .hot { color: var(--orange); }
.ex .v { color: var(--ink); font-variant-numeric: tabular-nums; }
.feat-foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; justify-content: space-between; margin: 16px 0 0; color: var(--muted); font-size: 13px; }

/* supply flow: mined -> supply -> burned -> TARI */
.flow { display: grid; grid-template-columns: minmax(0,1fr) 44px minmax(0,1fr) 44px minmax(0,1fr) 44px minmax(0,1fr); }
.node { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 18px 16px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.node .step { font: 500 11px var(--mono); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.node h3 { margin: 0; font-size: 16px; }
.node .num { font: 500 clamp(24px, 2.6vw, 30px)/1.1 var(--mono); letter-spacing: -0.03em; margin: 4px 0 0; font-variant-numeric: tabular-nums; }
.node .unit { font-size: 13px; color: var(--muted); margin: 0; }
.node .why { font-size: 13.5px; color: #c9cad4; margin: 6px 0 0; }
.node .more { margin-top: auto; padding-top: 10px; font-size: 13px; font-weight: 500; text-decoration: none; }
.node.mine .num { color: var(--ok); }
.node.burn { border-color: rgba(241,169,61,0.4); background: rgba(241,169,61,0.06); }
.node.burn .num { color: var(--orange); }
.node.tari { border-color: rgba(147,48,255,0.5); background: rgba(147,48,255,0.1); }
.node.tari .num { color: var(--accent-soft); }
.spark { margin-top: 6px; }
.spark svg { width: 100%; height: 54px; display: block; }
.spark .lbl { display: flex; justify-content: space-between; gap: 8px; font: 11px var(--mono); color: var(--muted); }
.arrow { display: grid; place-items: center; position: relative; }
.arrow svg { width: 36px; height: 24px; }
.flow-tag { position: absolute; top: calc(50% + 14px); font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: 0.06em; color: var(--muted); white-space: nowrap; }
.arrow.oneway .flow-tag { color: var(--orange); }
.tailnote { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px 24px; font-size: 13.5px; color: var(--muted); border: 1px dashed var(--line); border-radius: 14px; padding: 12px 16px; }
.tailnote b { color: var(--ink); font-weight: 500; }
.tailnote .fresh { font: 12px var(--mono); margin: 0; }

/* FAQ */
.faq { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; align-items: start; }
.faq details { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 15.5px; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--accent-soft); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 2px; color: #c9cad4; font-size: 14.5px; }

@media (max-width: 1000px) { .feats { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 880px) {
  .hero { grid-template-columns: minmax(0, 1fr); padding-top: 32px; }
  .art { max-width: 340px; }
  .flow { grid-template-columns: minmax(0, 1fr); }
  .arrow { height: 44px; }
  .arrow svg { transform: rotate(90deg); }
  .flow-tag { top: auto; left: calc(50% + 22px); }
  .trio, .faq, .feats { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 420px) { .chip { padding: 6px 9px; } .chip.c2 { right: -4px; } }

/* The Yat market's coming-soon page (landing/market-soon.html) */
.soon-list { margin: -12px 0 28px; padding-left: 20px; color: #c9cad4; font-size: 16px; line-height: 1.6; max-width: 36em; }
.soon-list li { margin: 6px 0; }
.soon-list b { color: var(--ink); }
.soon-foot { margin: 22px 0 0; color: var(--muted); font-size: 14px; }
.soon-foot a { color: var(--accent-soft); }
