/* KZTGMEME — The Unstable Tenge
   Central bank typography, broken by a meme. Dark-only brand. */

:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --milk: #f3efe6;
  --milk-2: #e8e2d4;
  --ink: #0e0d0b;
  --gold: #d4a83a;
  --gold-hi: #f0d070;
  --gold-deep: #8a6a1e;
  --muted: rgba(243, 239, 230, .62);
  --muted-2: rgba(243, 239, 230, .38);
  --line: rgba(243, 239, 230, .13);
  --line-strong: rgba(243, 239, 230, .28);
  --red: #e5484d;
  --green: #46a758;
  --serif: "Instrument Serif", "Times New Roman", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --hand: "Caveat", "Comic Sans MS", cursive;
  --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --wrap: 1180px;
  --r: 14px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }
body {
  margin: 0; background: var(--bg); color: var(--milk);
  font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, p, dl, dd, figure, blockquote { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; }
code { font-family: var(--mono); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ink); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }
.wrap { width: min(var(--wrap), calc(100% - 40px)); margin: 0 auto; }
.wrap--narrow { width: min(820px, calc(100% - 40px)); }
.center { text-align: center; }

/* ------------------------------------------------------------ type */
.display {
  font-family: var(--serif); font-weight: 400; line-height: .95; letter-spacing: -.02em;
  font-size: clamp(3rem, 8.4vw, 7rem);
}
.display--sm { font-size: clamp(2.4rem, 6vw, 4.6rem); }
.display__l1, .display__l2 { display: block; }
.display__l2 { color: var(--gold); font-style: italic; }
.h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.02; letter-spacing: -.015em; }
.kicker, .eyebrow, .stab__label, .meme__head, .tok dt, .step__n, .road__phase, .cmp__role, .ca__label, .facts dt, .brand__tag {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; font-weight: 500;
}
.kicker { color: var(--gold); margin-bottom: 14px; }
.sub, .lede { color: var(--muted); font-size: 1.1rem; max-width: 60ch; }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); }
.sub strong, .lede strong { color: var(--milk); font-weight: 600; }
.section__head { margin-bottom: clamp(32px, 5vw, 56px); }
.section__head .h2 { margin-bottom: 16px; max-width: 18ch; }
.unstable { display: inline-block; animation: wobble 6s var(--ease) infinite; transform-origin: 20% 80%; }
@keyframes wobble { 0%, 86%, 100% { transform: rotate(0) } 88% { transform: rotate(-1.4deg) translateX(-2px) } 92% { transform: rotate(1.2deg) translateX(3px) } 96% { transform: rotate(-.6deg) } }
.scribble { font-family: var(--hand); font-weight: 700; color: var(--gold-hi); font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1; transform: rotate(-6deg); }

/* ------------------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 600; font-size: .95rem; text-decoration: none;
  border: 1px solid transparent; transition: transform .2s var(--ease), background .2s, color .2s, border-color .2s; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold)); color: var(--ink); box-shadow: 0 8px 30px -10px rgba(212, 168, 58, .6); }
.btn--gold:hover { background: linear-gradient(180deg, #f6da84, var(--gold-hi)); }
.btn--outline { border-color: var(--line-strong); color: var(--milk); background: transparent; }
.btn--outline:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn--ghost { border-color: var(--line); color: var(--muted); background: transparent; }
.btn--ghost:hover { color: var(--milk); border-color: var(--line-strong); }
.btn--sm { padding: 9px 14px; font-size: .82rem; }

/* ------------------------------------------------------------ header */
.site-head { position: sticky; top: 0; z-index: 50; background: transparent; transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.site-head.is-scrolled { background: rgba(11, 11, 12, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.site-head__in { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.site-head__brand { display: flex; align-items: center; gap: 14px; min-width: 0; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; flex: none; }
.brand img { border-radius: 50%; }
.brand__name { font-weight: 700; letter-spacing: .05em; font-size: 1rem; }
.brand__name b { color: var(--gold); font-weight: 700; }
.brand__tag { background: none; border: 0; padding: 4px 0 4px 14px; border-left: 1px solid var(--line); color: var(--muted-2); cursor: pointer; white-space: nowrap; transition: color .2s; }
.brand__tag:hover { color: var(--gold-hi); }
.brand__tag-text { display: inline-block; min-width: 13ch; text-align: left; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list a:not(.btn) { display: block; text-decoration: none; color: var(--muted); font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; padding: 8px 10px; position: relative; transition: color .2s; }
.nav__list a:not(.btn)::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.nav__list a:not(.btn):hover { color: var(--milk); }
.nav__list a:not(.btn):hover::after { transform: scaleX(1); }
.nav__mobile-cta { display: none; }
.nav__tools { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; border: 1px solid var(--line-strong); border-radius: 999px; padding: 3px; text-decoration: none; }
.lang__opt { font-family: var(--mono); font-size: .68rem; letter-spacing: .1em; padding: 5px 10px; border-radius: 999px; color: var(--muted); transition: background .2s, color .2s; }
.lang__opt.is-on { background: var(--milk); color: var(--ink); }
.lang:hover .lang__opt:not(.is-on) { color: var(--gold-hi); }
.nav__toggle { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 10px; background: transparent; position: relative; }
.nav__toggle span:not(.sr-only) { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--milk); transition: transform .25s, opacity .25s; }
.nav__toggle span:nth-child(1) { top: 12px; } .nav__toggle span:nth-child(2) { top: 19px; } .nav__toggle span:nth-child(3) { top: 26px; }
.nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 1100px) { .brand__tag { display: none; } }
@media (max-width: 960px) {
  .site-head { background: rgba(11, 11, 12, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom-color: var(--line); }
  .nav__toggle { display: block; }
  .nav__cta { display: none; }
  .nav__list { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 10px 20px 20px; gap: 0; }
  .nav__list.is-open { display: flex; }
  .nav__list a:not(.btn) { padding: 14px 6px; font-size: .8rem; border-bottom: 1px solid var(--line); }
  .nav__list a:not(.btn)::after { display: none; }
  .nav__mobile-cta { display: block; margin-top: 14px; } .nav__mobile-cta .btn { width: 100%; }
}

/* ------------------------------------------------------------ hero */
.hero { position: relative; padding: clamp(28px, 4.5vw, 64px) 0 clamp(40px, 6vw, 80px); overflow: hidden; isolation: isolate; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 64px); align-items: start; }
.hero__art { margin-top: clamp(0px, 2.5vw, 36px); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--muted); border: 1px solid var(--line); padding: 7px 12px 7px 9px; border-radius: 999px; margin-bottom: 26px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(229, 72, 77, .6); animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(229, 72, 77, .55) } 70% { box-shadow: 0 0 0 9px rgba(229, 72, 77, 0) } 100% { box-shadow: 0 0 0 0 rgba(229, 72, 77, 0) } }
.hero .display { margin-bottom: 24px; }
.hero .lede { margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 26px; }
.ca { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; border: 1px dashed var(--line-strong); border-radius: 12px; padding: 10px 12px 10px 14px; background: rgba(255, 255, 255, .025); margin-bottom: 30px; max-width: 640px; }
.ca__label { color: var(--muted-2); }
.ca__value { flex: 1; min-width: 0; font-size: .86rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--milk); }
.ca.is-tba .ca__value { color: var(--gold); letter-spacing: .12em; }
.ca.is-tba .ca__copy { display: none; }
.ca__copy { border: 1px solid var(--line-strong); background: transparent; border-radius: 8px; padding: 6px 12px; font-size: .8rem; font-weight: 600; }
.ca__copy:hover { border-color: var(--gold); color: var(--gold-hi); }
.ca__copy.is-done { border-color: var(--green); color: var(--green); }
.facts { display: grid; grid-template-columns: repeat(3, auto); gap: 24px 32px; justify-content: start; }
.facts dt { color: var(--muted-2); margin-bottom: 4px; }
.facts dd { font-family: var(--serif); font-size: 1.35rem; line-height: 1.1; }
.hero__art { position: relative; aspect-ratio: 1; max-width: 540px; margin: 0 auto; width: 100%; }
.coin { width: 100%; filter: drop-shadow(0 40px 60px rgba(0, 0, 0, .7)) drop-shadow(0 0 60px rgba(212, 168, 58, .18)); animation: floaty 7s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-2deg) } 50% { transform: translateY(-14px) rotate(2deg) } }
.scribble--a { position: absolute; top: -4%; left: -2%; }
.scribble--b { position: absolute; right: -2%; bottom: 8%; transform: rotate(5deg); }
.hero__ticker { position: absolute; left: 50%; bottom: -6px; transform: translateX(-50%); font-family: var(--mono); font-size: .75rem; letter-spacing: .3em; color: var(--muted-2); }
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 50% at 75% 40%, rgba(212, 168, 58, .13), transparent 70%),
    linear-gradient(to right, var(--line) 1px, transparent 1px) 0 0 / 80px 80px,
    linear-gradient(to bottom, var(--line) 1px, transparent 1px) 0 0 / 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 92%); -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, .9), transparent 92%); }
.hero__bg span { position: absolute; right: -4vw; top: -12vw; font-family: var(--serif); font-size: 60vw; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(212, 168, 58, .1); user-select: none; }
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__art { order: -1; max-width: 300px; }
  .scribble--a { top: -10%; left: -6%; font-size: 1.3rem; }
  .scribble--b { right: -8%; bottom: 0; font-size: 1.3rem; }
  .facts { grid-template-columns: 1fr 1fr; }
}

/* ------------------------------------------------------------ ticker */
.ticker { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--gold); color: var(--ink); overflow: hidden; padding: 12px 0; font-family: var(--mono); font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase; }
.ticker__track { display: inline-flex; align-items: center; gap: 28px; white-space: nowrap; padding-right: 28px; animation: marquee 48s linear infinite; }
.ticker__track i { font-style: normal; opacity: .5; font-family: var(--serif); font-size: 1.1rem; }
@keyframes marquee { to { transform: translateX(-50%) } }

/* ------------------------------------------------------------ sections */
.section { padding: clamp(64px, 9vw, 130px) 0; }
.section--milk { background: var(--milk); color: var(--ink); }
.section--milk .sub, .section--milk .cmp__note { color: rgba(14, 13, 11, .66); }
.section--milk .sub strong { color: var(--ink); }
.section--milk .kicker { color: var(--gold-deep); }

/* story */
.story { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.birth { position: sticky; top: 96px; border: 1px solid var(--line-strong); border-radius: var(--r); padding: clamp(24px, 3vw, 40px); background: linear-gradient(180deg, rgba(255, 255, 255, .04), transparent); font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.2rem); line-height: 1.2; }
.birth__date { font-family: var(--mono); font-size: .8rem; letter-spacing: .2em; color: var(--gold); margin-bottom: 20px; }
.birth p + p { margin-top: 10px; }
.birth strong { color: var(--gold); font-weight: 400; font-style: italic; }
.tl { position: relative; padding-left: 28px; }
.tl::before { content: ""; position: absolute; left: 6px; top: 8px; bottom: 8px; width: 1px; background: var(--line-strong); }
.tl__item { position: relative; padding-bottom: 34px; }
.tl__item::before { content: ""; position: absolute; left: -26px; top: 7px; width: 13px; height: 13px; border-radius: 50%; background: var(--bg); border: 2px solid var(--gold); }
.tl__item:last-child::before { background: var(--gold); box-shadow: 0 0 0 6px rgba(212, 168, 58, .18); }
.tl__time { display: block; font-family: var(--mono); font-size: .78rem; letter-spacing: .14em; color: var(--gold); margin-bottom: 8px; }
.tl__body h3 { font-family: var(--serif); font-weight: 400; font-size: 1.55rem; line-height: 1.1; margin-bottom: 8px; }
.tl__body p { color: var(--muted); }
@media (max-width: 900px) { .story { grid-template-columns: 1fr; } .birth { position: static; } }

/* brothers */
.cmp-wrap { overflow-x: auto; border: 1px solid rgba(14, 13, 11, .16); border-radius: var(--r); background: #fff; }
.cmp { width: 100%; border-collapse: collapse; min-width: 640px; }
.cmp th, .cmp td { padding: 20px 24px; text-align: left; vertical-align: middle; }
.cmp thead th { border-bottom: 2px solid var(--ink); padding: 26px 24px; }
.cmp__name { display: block; font-family: var(--serif); font-size: 2rem; line-height: 1; }
.cmp__role { display: block; margin-top: 8px; color: rgba(14, 13, 11, .55); }
.cmp thead th:last-child .cmp__name { color: var(--gold-deep); font-style: italic; }
.cmp tbody tr { border-bottom: 1px solid rgba(14, 13, 11, .1); }
.cmp tbody tr:last-child { border-bottom: 0; }
.cmp tbody tr:nth-child(even) { background: rgba(14, 13, 11, .025); }
.cmp__a { font-weight: 500; width: 42%; }
.cmp__vs { width: 60px; text-align: center !important; font-family: var(--mono); font-size: .7rem; letter-spacing: .14em; color: rgba(14, 13, 11, .4); }
.cmp__b { font-family: var(--serif); font-size: 1.45rem; line-height: 1.15; color: var(--ink); }
.cmp__note { margin-top: 22px; font-size: .95rem; max-width: 70ch; }
.cmp__note a { color: inherit; }

/* stability */
.stab { display: grid; grid-template-columns: .8fr 1.5fr .8fr; gap: 16px; }
.stab__panel { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .01)); display: flex; flex-direction: column; }
.stab__label { color: var(--muted-2); margin-bottom: 18px; display: flex; justify-content: space-between; align-items: center; }
.stab__num { font-family: var(--serif); font-size: clamp(4rem, 7vw, 6rem); line-height: .9; color: var(--gold); margin-bottom: 18px; font-variant-numeric: tabular-nums; }
.stab__num small { font-size: .4em; color: var(--muted); }
.stab__bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .08); overflow: hidden; margin-bottom: 18px; }
.stab__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--red), var(--gold)); transition: width .8s var(--ease); }
.stab__status { color: var(--muted); font-size: .92rem; margin-top: auto; }
.stab__status strong { color: var(--milk); font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; }
.stab__live { display: inline-flex; align-items: center; gap: 6px; color: var(--red); }
.stab__live i { width: 7px; height: 7px; border-radius: 50%; background: var(--red); animation: blink 1s steps(2) infinite; }
@keyframes blink { to { opacity: .2 } }
.stab__chart svg { width: 100%; height: 220px; flex: 1; }
.stab__peg { stroke: var(--gold); stroke-opacity: .35; stroke-dasharray: 4 6; }
[data-stab-line] { stroke: var(--gold-hi); stroke-width: 2; stroke-linejoin: round; }
.stab__foot { display: flex; justify-content: space-between; gap: 16px; margin-top: 14px; font-family: var(--mono); font-size: .7rem; letter-spacing: .08em; color: var(--muted-2); flex-wrap: wrap; }
.stab__msg { font-family: var(--serif); font-size: 1.6rem; line-height: 1.15; margin-bottom: 22px; min-height: 3.5em; }
.stab__check .btn { margin-top: auto; align-self: flex-start; }
@media (max-width: 900px) { .stab { grid-template-columns: 1fr; } .stab__chart svg { height: 180px; } }

/* memes */
.section--memes { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.memes { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 18px; margin-bottom: 40px; }
.meme { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--milk); color: var(--ink); min-height: 360px; }
.meme__head, .meme__foot { display: flex; justify-content: space-between; align-items: center; padding: 12px 16px; }
.meme__head { border-bottom: 1px solid rgba(14, 13, 11, .12); color: rgba(14, 13, 11, .55); }
.meme__body { flex: 1; padding: 28px 22px; display: flex; flex-direction: column; justify-content: center; gap: 12px; font-family: var(--serif); font-size: 1.55rem; line-height: 1.12; }
.meme__body p { margin: 0; }
.meme__body .sm { font-family: var(--sans); font-size: .95rem; color: rgba(14, 13, 11, .62); line-height: 1.4; }
.meme__body .big { font-size: 2.4rem; line-height: .98; letter-spacing: -.02em; }
.meme__body .hand { font-family: var(--hand); font-size: 2.2rem; font-weight: 700; transform: rotate(-3deg); color: var(--gold-deep); }
.meme__body .row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.meme__body .row > div { border: 1px solid rgba(14, 13, 11, .2); border-radius: 10px; padding: 14px; }
.meme__body .row .lbl { display: block; font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(14, 13, 11, .5); margin-bottom: 8px; }
.meme__body .stamp { display: inline-block; align-self: flex-start; font-family: var(--mono); font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; border: 2px solid var(--red); color: var(--red); padding: 5px 10px; transform: rotate(-4deg); border-radius: 4px; }
.meme__body .chart { font-family: var(--mono); letter-spacing: .1em; font-size: 2.4rem; color: var(--gold-deep); }
.meme__foot { border-top: 1px solid rgba(14, 13, 11, .12); }
.meme__brand { font-family: var(--hand); font-weight: 700; font-size: 1.15rem; color: var(--gold-deep); }
.meme .btn--ghost { border-color: rgba(14, 13, 11, .25); color: rgba(14, 13, 11, .7); }
.meme .btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.meme .btn--ghost.is-done { border-color: var(--green); color: var(--green); }
.meme--b { background: var(--ink); color: var(--milk); border-color: var(--line-strong); }
.meme--b .meme__head, .meme--b .meme__foot { border-color: var(--line); color: var(--muted); }
.meme--b .meme__body .sm { color: var(--muted); }
.meme--b .meme__body .row > div { border-color: var(--line-strong); }
.meme--b .meme__body .row .lbl { color: var(--muted-2); }
.meme--b .meme__body .hand, .meme--b .meme__brand, .meme--b .meme__body .chart { color: var(--gold-hi); }
.meme--b .btn--ghost { border-color: var(--line-strong); color: var(--muted); }
.meme--b .btn--ghost:hover { border-color: var(--milk); color: var(--milk); }
.meme--c { background: var(--gold); color: var(--ink); }
.meme--c .meme__head, .meme--c .meme__foot { border-color: rgba(14, 13, 11, .18); color: rgba(14, 13, 11, .6); }
.meme--c .meme__body .hand, .meme--c .meme__brand { color: var(--ink); }

/* tokenomics */
.toks { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.tok { border: 1px solid rgba(14, 13, 11, .16); border-radius: var(--r); padding: 22px; background: #fff; }
.tok dt { color: rgba(14, 13, 11, .55); margin-bottom: 14px; }
.tok dd strong { display: block; font-family: var(--serif); font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1; margin-bottom: 8px; font-weight: 400; word-break: break-word; }
.tok dd span { font-size: .9rem; color: rgba(14, 13, 11, .62); }

/* buy */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-bottom: 24px; counter-reset: s; }
.step { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; background: linear-gradient(180deg, rgba(255, 255, 255, .035), transparent); }
.step__n { display: inline-block; color: var(--gold); margin-bottom: 18px; }
.step h3 { font-family: var(--serif); font-weight: 400; font-size: 1.5rem; line-height: 1.1; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: .97rem; }
.step a { color: var(--milk); }
.warn { border: 1px solid rgba(229, 72, 77, .45); background: rgba(229, 72, 77, .08); border-radius: 12px; padding: 16px 18px; font-size: .95rem; color: var(--milk); }
.warn strong { color: #ff8085; }

/* roadmap */
.section--road { background: var(--bg-2); border-top: 1px solid var(--line); }
.roads { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; }
.road { border: 1px solid var(--line); border-radius: var(--r); padding: 24px; }
.road--done { border-color: rgba(212, 168, 58, .5); background: rgba(212, 168, 58, .05); }
.road__phase { color: var(--gold); display: block; margin-bottom: 14px; }
.road h3 { font-family: var(--serif); font-weight: 400; font-size: 1.6rem; line-height: 1.05; margin-bottom: 14px; }
.road ul li { position: relative; padding-left: 18px; color: var(--muted); font-size: .95rem; margin-bottom: 6px; }
.road ul li::before { content: "₸"; position: absolute; left: 0; color: var(--gold); font-family: var(--serif); }

/* faq */
.faq { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.faq__icon { flex: none; width: 28px; height: 28px; border: 1px solid var(--line-strong); border-radius: 50%; position: relative; transition: transform .3s var(--ease); }
.faq__icon::before, .faq__icon::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: var(--milk); transform: translate(-50%, -50%); }
.faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq[open] .faq__icon { transform: rotate(45deg); border-color: var(--gold); }
.faq__a { padding: 0 44px 24px 0; color: var(--muted); }
.faq__a a { color: var(--milk); }

/* join */
.join { text-align: center; position: relative; overflow: hidden; }
.join__in { display: flex; flex-direction: column; align-items: center; gap: 22px; position: relative; }
.join .lede { max-width: 46ch; }
.join .hero__cta { justify-content: center; margin: 0; }
.scribble--c { position: absolute; right: 0; top: 0; transform: rotate(8deg); opacity: .8; }
@media (max-width: 900px) { .scribble--c { position: static; transform: rotate(-4deg); } }

/* footer */
.site-foot { border-top: 1px solid var(--line); padding: 48px 0 32px; background: var(--bg-2); }
.disclaimer { max-width: 900px; color: var(--muted-2); font-size: .84rem; line-height: 1.6; margin-bottom: 32px; }
.disclaimer p + p { margin-top: 10px; }
.disclaimer strong { color: var(--muted); }
.disclaimer__title { font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: var(--gold); margin-bottom: 12px; font-weight: 500; }
.foot__row { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; font-size: .85rem; color: var(--muted); }
.foot__links { display: flex; gap: 6px 20px; flex-wrap: wrap; }
.foot__links a { text-decoration: none; color: var(--muted); }
.foot__links a:hover { color: var(--gold-hi); }

/* Russian headlines run longer — take the display type down one notch */
:lang(ru) .display { font-size: clamp(2.7rem, 7vw, 5.8rem); }
:lang(ru) .display--sm { font-size: clamp(2.2rem, 5vw, 4rem); }

/* Layout polish: 3+3 tokenomics; the tenth meme becomes a wide banner on 3-column layouts */
.toks { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
@media (min-width: 1000px) {
  .meme:nth-child(10) { grid-column: 1 / -1; min-height: 0; }
  .meme:nth-child(10) .meme__body { flex-direction: row; align-items: center; justify-content: center; gap: 28px; padding: 40px 32px; font-size: 2.2rem; text-align: center; }
  .meme:nth-child(10) .meme__body .hand { font-size: 3rem; }
}

/* Mobile: comparison table stacks into cards so the KZTGMEME punchline is never hidden behind a scroll */
@media (max-width: 720px) {
  .cmp-wrap { overflow: visible; background: transparent; border: 0; }
  .cmp { min-width: 0; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp td { display: block; width: auto; }
  .cmp tbody tr { background: #fff !important; border: 1px solid rgba(14, 13, 11, .16); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
  .cmp td { padding: 4px 0; }
  .cmp td.cmp__vs { display: none; }
  .cmp__a::before, .cmp__b::before { display: block; font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: rgba(14, 13, 11, .5); margin-bottom: 2px; }
  .cmp__a::before { content: "KZTg"; }
  .cmp__b { border-top: 1px dashed rgba(14, 13, 11, .18); margin-top: 8px; padding-top: 10px; }
  .cmp__b::before { content: "KZTGMEME"; color: var(--gold-deep); }
}

/* "X: coming soon" — disabled-looking button with a rotating hover/tap joke */
.soon { position: relative; cursor: help; border-style: dashed; color: var(--muted); }
.soon:hover, .soon.is-open { border-color: var(--gold); color: var(--gold-hi); transform: none; }
.soon--text { background: none; border: 0; padding: 0; font: inherit; color: var(--muted); text-decoration: underline dotted; text-underline-offset: 3px; }
.soon--text:hover { color: var(--gold-hi); }
.soon__tip { position: absolute; left: 50%; bottom: calc(100% + 12px); transform: translate(-50%, 4px); width: max-content; max-width: min(300px, 80vw); padding: 10px 14px; border-radius: 10px;
  background: var(--milk); color: var(--ink); font: 500 .85rem/1.35 var(--sans); white-space: normal; text-align: center; letter-spacing: 0; text-decoration: none;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s var(--ease); z-index: 5; box-shadow: 0 10px 30px -10px rgba(0,0,0,.6); }
.soon__tip::after { content: ""; position: absolute; left: 50%; top: 100%; transform: translateX(-50%); border: 7px solid transparent; border-top-color: var(--milk); }
.soon:hover .soon__tip, .soon:focus-visible .soon__tip, .soon.is-open .soon__tip { opacity: 1; transform: translate(-50%, 0); }
.site-foot .soon__tip { left: auto; right: 0; transform: translate(0, 4px); }
.site-foot .soon:hover .soon__tip, .site-foot .soon.is-open .soon__tip { transform: translate(0, 0); }
.site-foot .soon__tip::after { left: auto; right: 16px; transform: none; }

/* Wallet waitlist form */
.wl { margin: 0 0 30px; }
.wl--hero { max-width: 640px; margin-top: -14px; }
.wl__title { font-family: var(--serif); font-size: 1.35rem; line-height: 1.2; margin-bottom: 14px; }
.wl--buy { border: 1px solid rgba(212, 168, 58, .45); background: linear-gradient(180deg, rgba(212, 168, 58, .08), rgba(212, 168, 58, .02)); border-radius: var(--r); padding: clamp(20px, 3vw, 32px); margin-bottom: 40px; }
.wl--buy .wl__title { font-size: clamp(1.5rem, 2.4vw, 2rem); max-width: 30ch; }
.wl__row { display: flex; gap: 10px; flex-wrap: wrap; }
.wl__input { flex: 1 1 260px; min-width: 0; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-strong); border-radius: 999px; padding: 13px 18px; color: var(--milk); font: 500 .95rem/1.2 var(--mono); letter-spacing: .02em; outline: none; transition: border-color .2s, box-shadow .2s; }
.wl__input::placeholder { color: var(--muted-2); font-family: var(--sans); font-weight: 400; letter-spacing: 0; }
.wl__input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 168, 58, .15); }
.wl.is-bad .wl__input { border-color: var(--red); }
.wl.is-ok .wl__input { border-color: var(--green); }
.wl__hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.wl__hint { margin-top: 10px; font-size: .82rem; color: var(--muted-2); }
.wl__msg { margin-top: 10px; font-family: var(--serif); font-size: 1.15rem; line-height: 1.25; min-height: 0; color: var(--gold-hi); }
.wl__msg:empty { display: none; }
.wl.is-bad .wl__msg { color: #ff8085; }
.wl__count { margin-top: 8px; font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.wl__count::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 8px; vertical-align: 1px; }
.wl.is-busy .btn { opacity: .6; pointer-events: none; }
.steps__label { margin-bottom: 16px; }
@media (max-width: 900px) { .wl__row .btn { width: 100%; } }

/* ------------------------------------------------------------ depeg easter egg */
.is-quaking .site-head, .is-quaking main, .is-quaking .site-foot { animation: quake .11s linear 14; }
@keyframes quake { 0%, 100% { transform: translate(0, 0) rotate(0) } 25% { transform: translate(-5px, 2px) rotate(-.25deg) } 50% { transform: translate(4px, -3px) rotate(.25deg) } 75% { transform: translate(-3px, 3px) rotate(-.15deg) } }
.is-depeg .coin { animation: coinflip 1.8s cubic-bezier(.3, .7, .3, 1) 1 !important; }
@keyframes coinflip { 0% { transform: rotate(0) } 35% { transform: rotateY(540deg) translateY(-50px) scale(1.06) } 62% { transform: rotateY(720deg) translateY(36px) rotate(14deg) } 82% { transform: rotateY(720deg) translateY(-12px) rotate(-5deg) } 100% { transform: rotateY(720deg) translateY(0) rotate(0) } }
.is-depeg .display__l2 { animation: fallover 1.8s ease-in-out 1 !important; transform-origin: left bottom; }
@keyframes fallover { 0% { transform: rotate(0) } 30% { transform: rotate(10deg) translateY(14px) } 55% { transform: rotate(8deg) translateY(12px) } 100% { transform: rotate(0) translateY(0) } }
.is-depeg .brand__tag { color: var(--red); }
.rain { position: fixed; inset: 0; pointer-events: none; z-index: 90; overflow: hidden; }
.rain span { position: absolute; top: -8vh; font-family: var(--serif); color: var(--gold-hi); text-shadow: 0 2px 20px rgba(212, 168, 58, .5); animation: fall linear forwards; will-change: transform; }
@keyframes fall { to { transform: translateY(125vh) rotate(var(--r, 360deg)); } }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 16px); opacity: 0; z-index: 95; pointer-events: none; background: var(--red); color: #fff; font-family: var(--mono); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; padding: 12px 18px; border-radius: 999px; box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .7); transition: opacity .25s, transform .25s var(--ease), background .3s; max-width: calc(100vw - 40px); text-align: center; }
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.toast.is-ok { background: var(--green); }

/* Mobile hero art: room for the top scribble, drop the ticker that collided with the bottom scribble */
@media (max-width: 900px) {
  .hero__art { margin-top: 10px; }
  .hero__ticker { display: none; }
}

/* ------------------------------------------------------------ custom cursor (mouse devices only) */
@media (pointer: fine) {
  html, body { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2028%2028%22%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2214%22%20r%3D%2211.5%22%20fill%3D%22%230b0b0c%22%20stroke%3D%22%23d4a83a%22%20stroke-width%3D%221.5%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%2212%22%20height%3D%222.2%22%20rx%3D%22.6%22%20fill%3D%22%23f0d070%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%2211.8%22%20width%3D%2212%22%20height%3D%222.2%22%20rx%3D%22.6%22%20fill%3D%22%23f0d070%22%2F%3E%3Crect%20x%3D%2212.9%22%20y%3D%2211.8%22%20width%3D%222.2%22%20height%3D%229%22%20rx%3D%22.6%22%20fill%3D%22%23f0d070%22%2F%3E%3C%2Fsvg%3E") 14 14, auto; }
  a, button, summary, .btn, label, [role="button"], .soon, .brand__tag, .faq summary, .lang { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2028%2028%22%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2214%22%20r%3D%2211.5%22%20fill%3D%22%23e6c25a%22%20stroke%3D%22%230b0b0c%22%20stroke-width%3D%221.5%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%2212%22%20height%3D%222.2%22%20rx%3D%22.6%22%20fill%3D%22%230b0b0c%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%2211.8%22%20width%3D%2212%22%20height%3D%222.2%22%20rx%3D%22.6%22%20fill%3D%22%230b0b0c%22%2F%3E%3Crect%20x%3D%2212.9%22%20y%3D%2211.8%22%20width%3D%222.2%22%20height%3D%229%22%20rx%3D%22.6%22%20fill%3D%22%230b0b0c%22%2F%3E%3C%2Fsvg%3E") 14 14, pointer; }
  input:not([type="submit"]), textarea, .ca__value, p, li, h1, h2, h3, dd, dt, blockquote { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2028%2028%22%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2214%22%20r%3D%2211.5%22%20fill%3D%22%230b0b0c%22%20stroke%3D%22%23d4a83a%22%20stroke-width%3D%221.5%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%2212%22%20height%3D%222.2%22%20rx%3D%22.6%22%20fill%3D%22%23f0d070%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%2211.8%22%20width%3D%2212%22%20height%3D%222.2%22%20rx%3D%22.6%22%20fill%3D%22%23f0d070%22%2F%3E%3Crect%20x%3D%2212.9%22%20y%3D%2211.8%22%20width%3D%222.2%22%20height%3D%229%22%20rx%3D%22.6%22%20fill%3D%22%23f0d070%22%2F%3E%3C%2Fsvg%3E") 14 14, auto; }
  .wl__input { cursor: text; }
  .is-depeg, .is-depeg * { cursor: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2228%22%20height%3D%2228%22%20viewBox%3D%220%200%2028%2028%22%3E%3Ccircle%20cx%3D%2214%22%20cy%3D%2214%22%20r%3D%2211.5%22%20fill%3D%22%23e6c25a%22%20stroke%3D%22%230b0b0c%22%20stroke-width%3D%221.5%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%228%22%20width%3D%2212%22%20height%3D%222.2%22%20rx%3D%22.6%22%20fill%3D%22%230b0b0c%22%2F%3E%3Crect%20x%3D%228%22%20y%3D%2211.8%22%20width%3D%2212%22%20height%3D%222.2%22%20rx%3D%22.6%22%20fill%3D%22%230b0b0c%22%2F%3E%3Crect%20x%3D%2212.9%22%20y%3D%2211.8%22%20width%3D%222.2%22%20height%3D%229%22%20rx%3D%22.6%22%20fill%3D%22%230b0b0c%22%2F%3E%3C%2Fsvg%3E") 14 14, wait !important; }
}

/* ------------------------------------------------------------ motion */
/* hero entrance */
.js .hero-in { opacity: 0; transform: translateY(22px); animation: heroIn .8s var(--ease) forwards; animation-delay: calc(.08s + var(--d, 0) * .09s); }
.js .hero-in--art { transform: translateY(0) scale(.86) rotate(-6deg); animation-name: heroArt; animation-duration: 1.1s; animation-delay: .15s; }
@keyframes heroIn { to { opacity: 1; transform: translateY(0) } }
@keyframes heroArt { 60% { opacity: 1; transform: scale(1.03) rotate(1.5deg) } 100% { opacity: 1; transform: none } }
/* scroll reveal */
.js .reveal, .js .reveal-group > * { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--i, 0) * 70ms); }
.js .reveal.is-in, .js .reveal-group.is-in > * { opacity: 1; transform: none; }
.js .memes.reveal-group > * { transform: translateY(24px) rotate(-1.2deg); }
.js .memes.reveal-group.is-in > * { transform: none; }
.js .cmp-wrap.reveal { transform: translateY(24px) scale(.985); }
/* gold button shimmer */
.btn--gold { position: relative; overflow: hidden; }
.btn--gold::after { content: ""; position: absolute; top: -40%; bottom: -40%; left: -30%; width: 34%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: translateX(-160%) rotate(12deg); transition: none; }
.btn--gold:hover::after { animation: shimmer .8s var(--ease) 1; }
@keyframes shimmer { to { transform: translateX(520%) rotate(12deg) } }
/* cards lift */
.meme, .tok, .step, .road, .stab__panel { transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .3s; will-change: transform; }
.meme:hover, .tok:hover, .step:hover, .road:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -24px rgba(0, 0, 0, .7); }
.meme { transform-style: preserve-3d; }
.meme.is-tilting { transition: box-shadow .35s; }
/* timeline dots draw in */
.js .tl.reveal-group > .tl__item::before { transform: scale(0); transition: transform .5s var(--ease); transition-delay: calc(var(--i, 0) * 70ms + .25s); }
.js .tl.reveal-group.is-in > .tl__item::before { transform: scale(1); }
/* faq open */
.faq__a { animation: none; }
.faq[open] .faq__a { animation: faqIn .35s var(--ease); }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px) } to { opacity: 1; transform: none } }
/* ticker pauses on hover, stability bar breathes */
.ticker:hover .ticker__track { animation-play-state: paused; }
.stab__live i { animation: blink 1s steps(2) infinite; }
.road--done { animation: donePulse 3.2s ease-in-out infinite; }
@keyframes donePulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(212, 168, 58, 0) } 50% { box-shadow: 0 0 0 6px rgba(212, 168, 58, .08) } }
/* hero parallax wrapper */
.hero__art { transition: transform .4s var(--ease); }
@media (prefers-reduced-motion: reduce) {
  .js .hero-in, .js .reveal, .js .reveal-group > * { opacity: 1 !important; transform: none !important; animation: none !important; transition: none !important; }
}

/* ------------------------------------------------------------ mobile hero order: eyebrow → headline → coin → text */
@media (max-width: 900px) {
  .hero__copy { display: contents; }
  .hero__copy > .eyebrow { order: 1; justify-self: start; margin-bottom: 0; }
  .hero__copy > .display { order: 2; margin: 0; }
  .hero__grid > .hero__art { order: 3; max-width: 250px; margin: 26px auto 6px; }
  .hero__copy > .lede { order: 4; margin: 0; }
  .hero__copy > .hero__cta { order: 5; margin: 0; }
  .hero__copy > .ca { order: 6; margin: 0; }
  .hero__copy > .wl { order: 7; margin: 0; }
  .hero__copy > .facts { order: 8; grid-template-columns: repeat(3, auto); gap: 12px 18px; }
  .facts dd { font-size: 1.1rem; }
  .hero__grid { gap: 18px; }
  .hero__cta { gap: 10px; }
  .hero__cta .btn { flex: 1 1 100%; }
  .scribble--a { top: -15%; left: -6%; font-size: 1.15rem; }
  .scribble--b { right: -12%; bottom: -8%; font-size: 1.15rem; }
}
@media (max-width: 480px) {
  .eyebrow { font-size: .62rem; letter-spacing: .1em; padding: 6px 10px 6px 8px; }
  .display { font-size: clamp(2.6rem, 12.5vw, 3.4rem); }
  :lang(ru) .display { font-size: clamp(2.4rem, 11.5vw, 3.2rem); }
}
