/* =====================================================================
   Commentpad (placeholder name)

   The page is built from the thing itself: a comment. A comment is set as a
   pill in mono, the trigger in mention-blue and the $TICKER in flame orange,
   and the hero is a post with a comment typing under it that turns into a
   coin. Warm paper background, white cards, one bold grotesque for display,
   flame orange for burning, green for launched, and each platform's own
   colours only where that platform is named.
   ===================================================================== */

:root {
  --paper: #f4f2ec;
  --card: #ffffff;
  --ink: #141414;
  --ink-2: #474747;
  --ink-3: #696969; /* 5.0:1 on paper */
  --line: #e3dfd5;
  --line-2: #d2cdc1;
  --mention: #1d6fd6; /* 4.9:1 on white */
  --flame: #ff5a1f;
  --flame-ink: #c2410c; /* 5.2:1 on white */
  --live: #15803d;
  --live-wash: #dcfce7;
  --ig: linear-gradient(225deg, #f9ce34 0%, #ee2a7b 32%, #6228d7 100%); /* the yellow corner sits away from text */
  --tt-a: #25f4ee;
  --tt-b: #fe2c55;

  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --w: 1160px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -.025em; }
h1 { font-weight: 800; font-size: clamp(46px, 7vw, 92px); line-height: .96; }
h2 { font-weight: 800; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.04; }
h3 { font-weight: 700; font-size: 22px; line-height: 1.15; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--mention); outline-offset: 2px; }

/* The comment, as type ---------------------------------------------------- */
.say {
  display: inline-block; font-family: var(--mono); font-weight: 600; font-size: .92em;
  background: var(--card); border: 1px solid var(--line-2); border-radius: 999px; padding: 2px 12px; white-space: nowrap; color: var(--ink);
}
.say .t { color: var(--mention); }
.say .k { color: var(--flame-ink); }
.say.sm { font-size: .88em; padding: 1px 9px; }

/* Header ------------------------------------------------------------------ */
.bar-in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 var(--display); letter-spacing: -.03em; }
.mark img { display: block; }
.nav { display: flex; gap: 26px; font-weight: 500; font-size: 15px; }
.nav a { text-decoration: none; color: var(--ink-2); }
.nav a:hover { color: var(--ink); }

/* Buttons ----------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: 48px; padding: 0 22px; border-radius: 999px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); font-weight: 600; font-size: 15.5px; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn.ghost:hover { border-color: var(--ink); }

/* Hero -------------------------------------------------------------------- */
.hero-in { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; padding-top: 48px; padding-bottom: 96px; }
.hero-in > * { min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 500; color: var(--ink-2); margin-bottom: 22px; }
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--live); box-shadow: 0 0 0 4px var(--live-wash); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 8px transparent; } }
.lede { margin-top: 26px; font-size: 19px; line-height: 1.6; color: var(--ink-2); max-width: 31em; }
.lede .say { font-size: 16px; }
.facts { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; max-width: 34em; }
.facts li { padding-left: 26px; position: relative; color: var(--ink-2); font-size: 15.5px; }
.facts li::before { content: ""; position: absolute; left: 4px; top: .55em; width: 9px; height: 9px; border-radius: 3px; background: var(--flame); transform: rotate(45deg); }
.facts b { color: var(--ink); font-weight: 600; }
.cta { margin-top: 34px; display: flex; gap: 12px; flex-wrap: wrap; }

/* The demo: a post, a comment typing under it, and the coin it becomes. */
.demo { position: relative; }
.post { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 16px; box-shadow: 0 30px 70px -40px rgba(20,20,20,.35); }
.post-head { display: flex; align-items: center; gap: 10px; }
.post-head div { display: flex; flex-direction: column; line-height: 1.2; }
.post-head b { font-size: 14.5px; }
.post-head span { font-size: 12.5px; color: var(--ink-3); }
.av { width: 36px; height: 36px; border-radius: 50%; flex: none; background: linear-gradient(135deg, #ffb37a, #ff5a1f); }
.av.me { width: 30px; height: 30px; background: linear-gradient(135deg, #9fc5ff, #1d6fd6); }
.plat { margin-left: auto; font: 700 12px/1 var(--body); padding: 6px 10px; border-radius: 999px; background: #000; color: #fff; }
.plat.ig { background: #fff; color: #c13584; box-shadow: inset 0 0 0 1.5px #e1306c; }
.post-img { margin-top: 12px; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; position: relative; transition: background .4s; }
.post-text { margin-top: 10px; font-size: 15px; }
.thread { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }
.cmt { display: flex; gap: 10px; align-items: flex-start; }
.cmt-body b { font-size: 13.5px; }
.typed { font-family: var(--mono); font-weight: 600; font-size: 14.5px; min-height: 1.6em; color: var(--ink); }
.typed .t { color: var(--mention); }
.typed .k { color: var(--flame-ink); }
.typed .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--ink); vertical-align: -3px; margin-left: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
/* The coin slides in under the post, overlapping only its bottom padding, so the comment stays readable. */
.launched {
  position: relative; margin: -14px -14px 0 auto; width: min(330px, 88%); display: flex; gap: 12px; align-items: center;
  background: var(--ink); color: #fff; border-radius: 20px; padding: 12px; box-shadow: 0 24px 50px -20px rgba(20,20,20,.55);
  opacity: 0; transform: translateY(14px) scale(.97); transition: opacity .45s, transform .45s cubic-bezier(.2,.8,.2,1);
}
.launched.in { opacity: 1; transform: none; }
.launched-img { width: 58px; height: 58px; border-radius: 14px; flex: none; }
.launched-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.launched-body b { font: 700 16px/1.2 var(--display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.launched-body span { font-size: 12.5px; color: #cfcfcf; }
.badge-live { align-self: flex-start; font: 700 11px/1 var(--body) !important; color: #052e14 !important; background: #4ade80; padding: 4px 8px; border-radius: 999px; }
.demo-note { margin: 10px 0 0 4px; font-size: 12px; color: var(--ink-3); }

/* Scenes for the demo posts (placeholders for real post images). */
.scene-sunset { background: radial-gradient(circle at 50% 78%, #ffe08a 0 11%, transparent 12%), linear-gradient(180deg, #2b1055 0%, #d6409f 45%, #ff8a3d 72%, #ffd36e 100%); }
.scene-sunset::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%; background: #1d0b33; clip-path: polygon(0 60%, 18% 30%, 32% 55%, 50% 20%, 66% 50%, 82% 28%, 100% 52%, 100% 100%, 0 100%); }
.scene-coffee { background: radial-gradient(circle at 50% 52%, #6b3e26 0 20%, #f5e6d3 21% 27%, transparent 28%), linear-gradient(135deg, #fbe3c4, #e9b98c); }
.scene-dog { background: radial-gradient(circle at 42% 44%, #1d1d1d 0 3%, transparent 3.5%), radial-gradient(circle at 58% 44%, #1d1d1d 0 3%, transparent 3.5%), radial-gradient(ellipse at 50% 58%, #2a2a2a 0 5%, transparent 5.5%), radial-gradient(circle at 50% 52%, #e3a35b 0 27%, transparent 28%), linear-gradient(160deg, #9be7c4, #4fb4e8); }

/* How ---------------------------------------------------------------------- */
.how { padding: 88px 0; border-top: 1px solid var(--line); }
.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 26px; }
.steps .n { display: inline-flex; width: 34px; height: 34px; border-radius: 10px; align-items: center; justify-content: center; font: 800 17px/1 var(--display); background: var(--paper); border: 1px solid var(--line-2); margin-bottom: 18px; }
.steps li:nth-child(3) .n { background: var(--flame); border-color: var(--flame); color: #fff; }
.steps p { margin-top: 10px; color: var(--ink-2); font-size: 15.5px; }

/* Pairs -------------------------------------------------------------------- */
.pairs, .coins, .rules { padding: 88px 0; border-top: 1px solid var(--line); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 28px; flex-wrap: wrap; }
.sec-head p { max-width: 34em; color: var(--ink-2); }
.pair-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.pair { border-radius: 22px; padding: 22px; color: #fff; background: #000; display: flex; flex-direction: column; gap: 16px; min-width: 0; position: relative; overflow: hidden; }
.pair.instagram { background: var(--ig); }
.pair.tiktok { background: #000; box-shadow: inset 3px 0 0 var(--tt-a), inset -3px 0 0 var(--tt-b); }
.pair-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.pair-name { font: 800 24px/1.1 var(--display); letter-spacing: -.02em; }
.pair-sub { font-size: 13px; opacity: .85; margin-top: 4px; }
.pill { font: 600 12px/1 var(--body); padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.18); white-space: nowrap; }
.pill.soon { background: rgba(255,255,255,.12); }
.pair.instagram .pill { background: rgba(0,0,0,.32); }
.pair-nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pair-nums span { display: block; font-size: 12px; opacity: .8; }
.pair-nums b { font: 700 20px/1.2 var(--display); }
.ca { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border-radius: 12px; padding: 8px 8px 8px 12px; }
.ca code { font: 500 11.5px/1.3 var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1; min-width: 0; }
.ca button { flex: none; border: 0; background: #fff; color: #000; font-weight: 600; font-size: 12.5px; padding: 6px 12px; border-radius: 999px; cursor: pointer; }
.pair a.out { color: inherit; font-size: 13px; font-weight: 600; text-decoration: none; opacity: .9; }
.pair a.out:hover { text-decoration: underline; }

/* Coins -------------------------------------------------------------------- */
.stats { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.stat span { font-size: 13px; color: var(--ink-3); }
.stat b { display: block; font: 800 32px/1.1 var(--display); letter-spacing: -.02em; margin-top: 4px; }
.stat.burn b { color: var(--flame-ink); }
.coin-grid { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.coin { background: var(--card); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; text-decoration: none; transition: transform .15s, box-shadow .15s; }
.coin:hover { transform: translateY(-2px); box-shadow: 0 24px 40px -28px rgba(20,20,20,.4); }
.coin-img { aspect-ratio: 16 / 10; position: relative; background-size: cover; background-position: center; }
.coin-img .plat { position: absolute; top: 10px; left: 10px; margin: 0; }
.coin-img .example { position: absolute; top: 10px; right: 10px; font: 600 11px/1 var(--body); background: rgba(255,255,255,.92); color: var(--ink-2); padding: 5px 8px; border-radius: 999px; }
.coin-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; }
.coin-name { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.coin-name b { font: 800 19px/1.15 var(--display); white-space: nowrap; }
.coin-name span { color: var(--ink-3); font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.coin-from { font-size: 13px; color: var(--ink-2); }
.coin-from .say { font-size: 12px; white-space: normal; }
.coin-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-3); }
.coin-foot .burn { color: var(--flame-ink); font-weight: 600; }
.coin-links { display: flex; gap: 12px; }
.coin-links a { color: var(--ink); font-weight: 600; text-decoration: none; }
.coin-links a:hover { text-decoration: underline; }
.empty { margin-top: 16px; padding: 28px; border: 1px dashed var(--line-2); border-radius: 22px; color: var(--ink-2); text-align: center; }

/* Rules -------------------------------------------------------------------- */
.rules-in { display: grid; grid-template-columns: .8fr 1.2fr; gap: 48px; align-items: start; }
.rules-in > div p { margin-top: 14px; color: var(--ink-2); }
.rule-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.rule-list li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 14px 18px; color: var(--ink-2); font-size: 15px; }
.rule-list b { color: var(--ink); }

/* The official coin ------------------------------------------------------- */
.official { margin-top: 26px; background: var(--card); border: 1px solid var(--line-2); border-radius: 18px; padding: 14px 16px; max-width: 34em; display: grid; gap: 10px; }
.official-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.official-k { font: 700 11px/1 var(--body); letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--flame); padding: 5px 8px; border-radius: 999px; }
.official-top b { font: 800 19px/1.1 var(--display); }
.official-nums { font-size: 13px; color: var(--ink-3); }
.official-ca { display: flex; align-items: center; gap: 10px; background: var(--paper); border: 1px solid var(--line); border-radius: 12px; padding: 8px 8px 8px 12px; }
.official-ca code { flex: 1; min-width: 0; font: 600 12.5px/1.4 var(--mono); overflow-wrap: anywhere; }
.official-copy { flex: none; border: 0; background: var(--ink); color: #fff; font: 600 13px/1 var(--body); padding: 8px 14px; border-radius: 999px; cursor: pointer; }
.official-copy.sm { padding: 5px 10px; font-size: 12px; vertical-align: 1px; }
.foot-ca code { font: 600 12px/1.4 var(--mono); color: var(--ink); overflow-wrap: anywhere; }

/* Footer ------------------------------------------------------------------- */
.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; }
.foot-in { display: grid; gap: 10px; font-size: 14px; color: var(--ink-3); max-width: 760px; }
.foot-in b { color: var(--ink); }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero-in { grid-template-columns: 1fr; gap: 40px; padding-top: 24px; padding-bottom: 72px; }
  .steps, .pair-grid { grid-template-columns: 1fr; }
  .rules-in { grid-template-columns: 1fr; gap: 24px; }
  .launched { margin-right: 0; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .nav a:not(.nav-x) { display: none; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats .stat:last-child { grid-column: 1 / -1; }
  .lede .say { white-space: normal; }
  .how, .pairs, .coins, .rules { padding: 64px 0; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .launched { opacity: 1; transform: none; }
}
