/* xora — she posts it */
:root {
  --bg: #000;
  --bg-1: #060606;
  --bg-2: #0b0b0b;
  --bg-3: #121212;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.14);
  --line-3: rgba(255, 255, 255, 0.24);
  --text: #f4f4f2;
  --muted: #a3a3a0;
  --dim: #6b6b69;
  --dimmer: #4a4a48;
  --ok: #5ee08f;
  --warn: #f5c451;
  --bad: #ff6b6b;
  --x-blue: #1d9bf0;
  --like: #f91880;

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --gutter: clamp(16px, 4vw, 32px);
  --max: 1200px;
  --radius: 14px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
::selection { background: #fff; color: #000; }
:focus-visible { outline: 1.5px solid #fff; outline-offset: 3px; border-radius: 6px; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 8px 12px; border-radius: 8px; font-size: 14px; }
.skip:focus { top: 12px; }

.container { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- type ---------- */
.display { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; line-height: 0.98; margin: 0; }
.dim { color: #8d8d8a; }
.dimmer { color: var(--dim); }
.mono-xs { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
.kicker { font-family: var(--mono); font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); margin: 0 0 22px; display: flex; align-items: center; gap: 10px; }
.kicker .sep { color: var(--dimmer); }
.h2 { font-size: clamp(44px, 6vw, 76px); }
.h3 { font-size: 30px; line-height: 1.05; }
.sub { color: var(--muted); max-width: 540px; margin: 22px 0 0; font-size: 17px; }

.dot-live { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 0 rgba(255,255,255,.6); animation: livePulse 2.4s var(--ease) infinite; flex: none; }
@keyframes livePulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.55); } 70%, 100% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; height: 48px; padding: 0 22px; border-radius: 9px; font-weight: 500; font-size: 15.5px; letter-spacing: -0.005em; white-space: nowrap; transition: transform .25s var(--ease), background .25s, border-color .25s, color .25s, box-shadow .25s; }
.btn svg { width: 16px; height: 16px; flex: none; }
.btn-light { background: #f4f4f2; color: #050505; box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 8px 30px -8px rgba(255,255,255,.35); }
.btn-light:hover { background: #fff; box-shadow: 0 0 0 1px #fff, 0 10px 40px -6px rgba(255,255,255,.5); }
.btn-light:active { transform: scale(0.97); }
.btn-ghost { border: 1px solid var(--line-3); color: var(--text); }
.btn-ghost:hover { border-color: rgba(255,255,255,.55); background: rgba(255,255,255,.04); }
.btn-ghost:active { transform: scale(0.97); }
.btn-sm { height: 36px; padding: 0 14px; font-size: 13.5px; border-radius: 8px; }
.btn[disabled], .btn.is-disabled { opacity: .35; pointer-events: none; }
.link-btn { display: inline-flex; align-items: center; gap: 6px; color: var(--text); border-bottom: 1px solid var(--line-3); padding-bottom: 1px; transition: border-color .2s; }
.link-btn:hover { border-color: #fff; }
.link-btn svg { width: 10px; height: 10px; }
.icon-btn { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line-2); border-radius: 8px; transition: border-color .2s, background .2s; }
.icon-btn:hover { border-color: var(--line-3); background: rgba(255,255,255,.04); }
.icon-btn svg { width: 14px; height: 14px; }
.menu-btn { display: none; position: relative; color: var(--text); }
.menu-btn span { position: absolute; left: 11px; right: 11px; top: 50%; height: 1.5px; margin-top: -.75px; background: currentColor; border-radius: 1px; transition: transform .35s var(--ease); }
.menu-btn span:first-child { transform: translateY(-3.5px); }
.menu-btn span:last-child { transform: translateY(3.5px); }
.nav.open .menu-btn span:first-child { transform: rotate(45deg); }
.nav.open .menu-btn span:last-child { transform: rotate(-45deg); }
.menu-only { display: none; }
@keyframes menuIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- nav ---------- */
.nav { position: fixed; inset: 14px 0 auto; z-index: 50; padding: 0 var(--gutter); pointer-events: none; }
.nav-inner { pointer-events: auto; max-width: var(--max); margin: 0 auto; height: 58px; display: flex; align-items: center; gap: 24px; padding: 0 10px 0 16px; border-radius: 14px; border: 1px solid transparent; transition: background .35s, border-color .35s, backdrop-filter .35s; }
.nav.scrolled .nav-inner { background: rgba(8,8,8,.72); border-color: var(--line); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
.brand { display: flex; align-items: center; gap: 9px; }
.brand-mark { width: 26px; height: 26px; filter: drop-shadow(0 0 6px rgba(255,255,255,.35)); transition: transform .6s var(--ease); }
.brand:hover .brand-mark { transform: rotate(90deg); }
.brand-word { font-family: var(--serif); font-size: 30px; line-height: 1; letter-spacing: -0.01em; transform: translateY(-2px); }
.nav-links { display: flex; gap: 28px; margin: 0 auto; }
.nav-links a { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); transition: color .2s; position: relative; }
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a.active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px; background: currentColor; }
.nav-actions { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.status { display: inline-flex; align-items: center; gap: 7px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; color: var(--muted); padding-left: 6px; }
.status i, .status-inline i { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); }
.status.off i { background: var(--dim); box-shadow: none; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(720px, 100svh); display: flex; align-items: center; padding: 120px 0 90px; overflow: hidden; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.11) 1px, transparent 1.2px); background-size: 26px 26px; -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 0%, transparent 75%); mask-image: radial-gradient(ellipse 70% 60% at 30% 40%, #000 0%, transparent 75%); opacity: .55; }
.hero-bg::after { content: ""; position: absolute; inset: auto 0 0; height: 220px; background: linear-gradient(transparent, #000); }
.stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); align-items: center; gap: 24px; }
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.hero-title { font-size: clamp(50px, 7.2vw, 106px); line-height: .92; letter-spacing: -0.018em; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; margin-bottom: -.06em; white-space: nowrap; }
.hero-title .line > span { display: inline-block; transform: translateY(105%); animation: lineUp 1.1s var(--ease) forwards; }
.hero-title .line:nth-child(1) > span { animation-delay: .15s; }
.hero-title .line:nth-child(2) > span { animation-delay: .32s; }
@keyframes lineUp { to { transform: none; } }
.lede { font-size: clamp(16.5px, 1.35vw, 19px); color: #c9c9c6; max-width: 540px; margin: 28px 0 34px; line-height: 1.55; }

.reveal-up { opacity: 0; transform: translateY(14px); animation: fadeUp .9s var(--ease) forwards; animation-delay: var(--d, 0s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

.scan-form { display: flex; gap: 10px; max-width: 540px; }
.scan-form input { flex: 1; min-width: 0; height: 52px; padding: 0 18px; border-radius: 10px; background: #fff; color: #0a0a0a; border: 1px solid transparent; font-size: 16px; outline: none; transition: box-shadow .25s; }
.scan-form input::placeholder { color: #6c6c6c; }
.scan-form input:focus { box-shadow: 0 0 0 3px rgba(255,255,255,.25); }
.scan-form .btn { height: 52px; }
.form-hint { margin: 14px 0 0; font-size: 13.5px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 14px; align-items: center; }

.live-card { margin-top: 34px; max-width: 540px; border: 1px solid var(--line-2); border-radius: 12px; background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); padding: 16px 20px 14px; backdrop-filter: blur(6px); }
.live-card-head { display: flex; justify-content: space-between; align-items: center; color: var(--muted); }
.live-card-head .mono-xs { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; }
.live-text { font-family: var(--mono); font-size: 15.5px; line-height: 1.6; margin: 12px 0 12px; min-height: 3.2em; white-space: pre-wrap; }
.live-text .cur { display: inline-block; width: 8px; height: 1.05em; background: #fff; vertical-align: -0.15em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.live-card-foot { display: flex; align-items: center; gap: 12px; color: var(--muted); }
.live-card-foot svg { width: 15px; height: 15px; }
.vr { width: 1px; height: 14px; background: var(--line-2); }
@keyframes blink { 50% { opacity: 0; } }

.hero-visual { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: flex-start; min-height: 600px; }
.portrait-wrap { position: relative; flex: none; width: min(720px, 122%); aspect-ratio: 1; margin-left: 6%; }
.portrait-wrap::before { content: ""; position: absolute; inset: 12% 14% 20%; background: radial-gradient(closest-side, rgba(255,255,255,.07), transparent); filter: blur(20px); }
.portrait, .portrait-fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.portrait-fallback { opacity: 0; transition: opacity .6s; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.portrait-wrap.no-canvas .portrait-fallback { opacity: 1; }
.portrait { cursor: crosshair; touch-action: pan-y; -webkit-mask-image: linear-gradient(#000 80%, transparent 99%); mask-image: linear-gradient(#000 80%, transparent 99%); }
.portrait-meta { position: absolute; left: 30%; right: 22%; bottom: 3%; display: flex; justify-content: space-between; font-family: var(--mono); font-size: 10.5px; letter-spacing: .2em; color: var(--dim); opacity: 0; animation: fadeUp 1s var(--ease) 1.6s forwards; }
.status-inline { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }

.float-stack { position: absolute; left: -64px; bottom: 7%; width: 252px; z-index: 3; pointer-events: none; }
.float { position: relative; opacity: 0; animation: floatIn 1.1s var(--ease) forwards; }
.float-a { width: 250px; margin-left: 30px; margin-bottom: -22px; animation-delay: 1.2s; filter: brightness(.62); }
.float-b { animation-delay: 1.45s; }
.float > * { animation: bob 7s var(--ease-in-out) infinite; }
.float-a > * { animation-duration: 8.5s; animation-delay: -2s; }
@keyframes floatIn { from { opacity: 0; transform: translateY(26px) scale(.97); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
.posted-by { display: inline-block; margin-top: 8px; font-size: 11px; padding: 3px 9px; border-radius: 6px; background: rgba(255,255,255,.08); border: 1px solid var(--line); color: #d6d6d3; animation: none !important; }

.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 22px; height: 34px; margin-left: -11px; border: 1px solid var(--line-3); border-radius: 12px; opacity: 0; animation: fadeUp 1s var(--ease) 2.2s forwards; }
.scroll-cue span { position: absolute; left: 50%; top: 7px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: #fff; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- tweet component ---------- */
.tweet { background: #000; border: 1px solid var(--line-2); border-radius: 16px; padding: 14px 16px 12px; box-shadow: 0 30px 60px -20px rgba(0,0,0,.9), 0 0 0 1px rgba(0,0,0,.6); font-size: 15px; line-height: 1.4; }
.tweet header { display: flex; align-items: center; gap: 10px; }
.tweet .av { width: 40px; height: 40px; flex: none; border-radius: 50%; }
.tweet .who { display: flex; align-items: center; gap: 4px; min-width: 0; flex: 1; font-size: 14.5px; white-space: nowrap; }
.tweet .who b { font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.tweet .who span { color: #71767b; overflow: hidden; text-overflow: ellipsis; }
.tweet .badge { width: 17px; height: 17px; flex: none; }
.tweet .more { color: #71767b; letter-spacing: 1px; }
.tweet p { margin: 2px 0 0 50px; white-space: pre-wrap; overflow-wrap: anywhere; }
.tweet .media-card { margin: 12px 0 0 50px; }
.tweet .actions { display: flex; align-items: center; gap: 0; margin: 12px 0 0 50px; color: #71767b; font-size: 12.5px; }
.tweet .actions > span { display: inline-flex; align-items: center; gap: 6px; flex: 1; }
.tweet .actions svg { width: 15px; height: 15px; }
.tweet .actions .end { flex: none; gap: 12px; }
.tweet .actions .liked { color: var(--like); }
.tweet-sm { padding: 11px 12px 9px; font-size: 12.5px; border-radius: 13px; }
.tweet-sm .av { width: 28px; height: 28px; }
.tweet-sm .who { font-size: 12px; gap: 3px; }
.tweet-sm .badge { width: 14px; height: 14px; }
.tweet-sm p, .tweet-sm .media-card, .tweet-sm .actions { margin-left: 36px; }
.tweet-sm .media-card { min-height: 0; padding: 10px 12px 12px; border-radius: 10px; }
.tweet-sm .mc-big { font-size: 34px; margin-top: 10px; }
.tweet-sm .mc-top { font-size: 8px; }
.tweet-sm .mc-sub { font-size: 8.5px; }
.tweet-sm .actions { font-size: 10.5px; margin-top: 9px; }
.tweet-sm .actions .end { gap: 8px; }
.tweet-sm .actions svg { width: 12px; height: 12px; }

.media-card { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: 12px; padding: 14px 16px 14px; background: #050505; min-height: 112px; }
.media-card::after { content: ""; position: absolute; right: -10px; top: -10px; bottom: -10px; width: 58%; background-image: radial-gradient(rgba(255,255,255,.55) 0.9px, transparent 1.3px); background-size: 6px 6px; -webkit-mask-image: radial-gradient(ellipse 85% 80% at 100% 100%, #000 10%, transparent 70%); mask-image: radial-gradient(ellipse 85% 80% at 100% 100%, #000 10%, transparent 70%); opacity: .8; }
.mc-top { font-family: var(--mono); font-size: 9.5px; letter-spacing: .18em; color: var(--dim); text-transform: uppercase; position: relative; z-index: 1; }
.mc-top span { margin: 0 6px; color: var(--dimmer); }
.mc-big { font-family: var(--serif); font-size: 46px; line-height: 1; margin-top: 16px; position: relative; z-index: 1; }
.mc-sub { font-family: var(--mono); font-size: 10px; color: var(--muted); margin-top: 8px; letter-spacing: .04em; position: relative; z-index: 1; }

/* ---------- ticker ---------- */
.ticker { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; padding: 16px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.ticker-track { display: flex; width: max-content; gap: 28px; align-items: center; animation: tick 48s linear infinite; font-family: var(--mono); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ticker-track i { font-style: normal; color: var(--dimmer); font-size: 11px; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { position: relative; padding: clamp(96px, 12vw, 150px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { margin-bottom: clamp(40px, 6vw, 64px); }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- demo ---------- */
.demo { overflow: hidden; }
.demo::before { content: ""; position: absolute; left: 50%; top: 40%; width: 900px; height: 600px; transform: translate(-50%, -50%); background: radial-gradient(closest-side, rgba(255,255,255,.04), transparent); pointer-events: none; }
.demo { padding-top: clamp(80px, 9vw, 120px); }
.demo-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; margin-bottom: 56px; }
.demo-head .section-head { margin-bottom: 0; }
.demo-input .sub { margin: 0 0 22px; max-width: 560px; }
.scan-form-lg { max-width: 620px; position: relative; padding: 6px; border-radius: 13px; background: var(--bg-2); border: 1px solid var(--line-2); transition: border-color .25s, box-shadow .25s; }
.scan-form-lg:focus-within { border-color: var(--line-3); box-shadow: 0 0 0 4px rgba(255,255,255,.05); }
.scan-form-lg .prompt { display: grid; place-items: center; padding-left: 12px; font-family: var(--mono); color: var(--dim); }
.scan-form-lg input { background: transparent; color: var(--text); font-family: var(--mono); font-size: 15px; height: 48px; padding: 0 8px; }
.scan-form-lg input::placeholder { color: var(--dim); }
.scan-form-lg input:focus { box-shadow: none; }
.scan-form-lg .btn { height: 48px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; }
.chips .mono-xs { margin-right: 4px; font-size: 10.5px; }
.chip { font-family: var(--mono); font-size: 12.5px; padding: 6px 11px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); transition: color .2s, border-color .2s, background .2s; }
.chip:hover { color: var(--text); border-color: var(--line-3); background: rgba(255,255,255,.04); }

.pipeline { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.rail { position: absolute; left: 16.66%; right: 16.66%; top: 82px; height: 1px; background: linear-gradient(90deg, var(--line-2), var(--line-2)); pointer-events: none; }
.rail-pulse { position: absolute; top: -1px; left: 0; width: 80px; height: 3px; border-radius: 3px; background: linear-gradient(90deg, transparent, #fff, transparent); opacity: 0; }
.pipeline[data-state="scanning"] .rail-pulse { opacity: 1; animation: railRun 1.4s var(--ease-in-out) infinite; }
.pipeline[data-state="writing"] .rail-pulse { opacity: 1; animation: railRun2 1.6s var(--ease-in-out) infinite; }
@keyframes railRun { from { left: -5%; } to { left: 45%; } }
@keyframes railRun2 { from { left: 45%; } to { left: 95%; } }

.stage { position: relative; display: flex; flex-direction: column; min-width: 0; }
.stage-head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; min-height: 66px; }
.stage-head .mono-xs { color: var(--muted); }
.stage-head .h3 { color: var(--dim); transition: color .6s var(--ease); }
.pipeline[data-state="scanning"] [data-stage="scan"] .h3,
.pipeline[data-state="writing"] [data-stage="scan"] .h3,
.pipeline[data-state="writing"] [data-stage="write"] .h3,
.pipeline[data-state="posted"] .h3,
.pipeline[data-state="idle"] [data-stage="scan"] .h3 { color: var(--text); }

.panel { position: relative; border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(180deg, #0b0b0b, #070707); box-shadow: 0 30px 80px -40px rgba(255,255,255,.08); }
.panel-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.panel-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--serif); font-size: 20px; line-height: 1; }
.panel-brand svg { width: 12px; height: 12px; }

.token-row { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 1px solid var(--line); min-height: 70px; }
.token-av { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--bg-3); border: 1px solid var(--line-2); display: grid; place-items: center; overflow: hidden; font-family: var(--serif); font-size: 20px; color: var(--muted); }
.token-av img { width: 100%; height: 100%; object-fit: cover; }
.token-av.sm { width: 40px; height: 40px; }
.token-id { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.token-id b { font-weight: 500; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.token-id .mono-xs { font-size: 10px; letter-spacing: .1em; margin-top: 3px; text-transform: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.token-link { color: var(--muted); border: 1px solid var(--line-2); padding: 5px 8px; border-radius: 6px; font-size: 10px; transition: color .2s, border-color .2s; }
.token-link:hover { color: var(--text); border-color: var(--line-3); }

.checks { list-style: none; margin: 0; padding: 6px 0; }
.checks li { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 16px; font-size: 14.5px; border-bottom: 1px solid rgba(255,255,255,.04); }
.checks li:last-child { border-bottom: 0; }
.checks li > span { color: #d9d9d6; }
.checks .val { display: inline-flex; align-items: center; gap: 8px; font-family: var(--mono); font-weight: 400; font-size: 10.5px; letter-spacing: .14em; color: var(--dim); text-transform: uppercase; white-space: nowrap; }
.checks .val svg { width: 15px; height: 15px; flex: none; }
.checks .val .ico { width: 18px; height: 18px; border-radius: 50%; display: grid; place-items: center; }
.checks .val .ico svg { width: 11px; height: 11px; }
.checks li[data-status="ok"] .val { color: var(--text); }
.checks li[data-status="ok"] .ico { background: #fff; color: #000; }
.checks li[data-status="warn"] .val { color: var(--warn); }
.checks li[data-status="warn"] .ico { border: 1.5px solid var(--warn); }
.checks li[data-status="pending"] .val, .checks li[data-status="unknown"] .val { color: var(--muted); }
.checks li[data-status="pending"] .ico, .checks li[data-status="unknown"] .ico { border: 1.5px solid var(--line-3); }
.checks li .note { display: block; font-size: 11.5px; color: var(--dim); margin-top: 2px; }
.checks li.flash { animation: rowFlash .9s var(--ease); }
@keyframes rowFlash { 0% { background: rgba(255,255,255,.08); } 100% { background: transparent; } }
.spinner { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid var(--line-3); border-top-color: #fff; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.metrics > div { padding: 12px 10px 14px 16px; border-right: 1px solid var(--line); min-width: 0; }
.metrics > div:last-child { border-right: 0; }
.metrics dt { font-family: var(--mono); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; color: var(--dim); white-space: nowrap; }
.metrics dd { margin: 6px 0 0; font-family: var(--serif); font-size: 22px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.metrics dd.up { color: var(--ok); }
.metrics dd.down { color: var(--bad); }

.writing-tag { display: inline-flex; align-self: flex-start; align-items: center; gap: 8px; padding: 6px 10px; margin-bottom: 10px; border-radius: 999px; border: 1px solid var(--line-2); background: #0a0a0a; font-size: 10px; color: var(--text); max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.writing-tag svg { width: 10px; height: 10px; }
.writing-tag .dimmer { overflow: hidden; text-overflow: ellipsis; }
.post-tag .dot-live { background: var(--dim); animation: none; }
.pipeline[data-state="posted"] .post-tag .dot-live { background: var(--ok); box-shadow: 0 0 8px var(--ok); }

.composer { padding: 16px 16px 12px; background: #000; }
.composer-body { display: flex; gap: 12px; min-height: 170px; }
.composer-text { flex: 1; font-size: 17px; line-height: 1.45; padding-top: 7px; white-space: pre-wrap; overflow-wrap: anywhere; min-width: 0; }
.composer-text .placeholder { color: #5b5f63; }
.composer-text .caret { display: inline-block; width: 1.5px; height: 1.15em; background: var(--x-blue); vertical-align: -0.2em; margin-left: 1px; animation: blink 1s steps(1) infinite; }
.reply-scope { display: flex; align-items: center; gap: 6px; margin: 8px 0 0 52px; padding-bottom: 12px; border-bottom: 1px solid var(--line); color: var(--x-blue); font-size: 13.5px; font-weight: 500; }
.reply-scope svg { width: 14px; height: 14px; }
.composer-bar { display: flex; align-items: center; justify-content: space-between; padding-top: 10px; margin-left: 52px; }
.tools { display: flex; gap: 10px; color: var(--x-blue); }
.tools svg { width: 17px; height: 17px; }
.post-side { display: flex; align-items: center; gap: 10px; }
.ring { width: 22px; height: 22px; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 2.2; }
.ring-bg { stroke: #2f3336; }
.ring-fg { stroke: var(--x-blue); stroke-dasharray: 56.55; stroke-dashoffset: 56.55; transition: stroke-dashoffset .15s linear; stroke-linecap: round; }
.post-btn { height: 34px; padding: 0 16px; border-radius: 999px; background: #eff3f4; color: #0f1419; font-weight: 700; font-size: 14.5px; transition: opacity .2s, transform .2s var(--ease); }
.post-btn:disabled { opacity: .45; cursor: default; }
.post-btn.press { transform: scale(.92); }

.tone { display: flex; align-items: center; gap: 6px; margin-top: 14px; flex-wrap: wrap; }
.tone .mono-xs { margin-right: 6px; font-size: 10px; }
.tone button { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); transition: all .2s; }
.tone button:hover { color: var(--text); border-color: var(--line-3); }
.tone button[aria-checked="true"] { background: #f4f4f2; border-color: #f4f4f2; color: #000; }

.tweet.result { transition: opacity .6s var(--ease), transform .8s var(--ease), border-color .6s; }
.pipeline:not([data-state="posted"]) .tweet.result { opacity: .4; }
.pipeline[data-state="posted"] .tweet.result { border-color: var(--line-3); }
.tweet.result.land { animation: land .9s var(--ease); }
@keyframes land { 0% { transform: translateY(18px) scale(.98); opacity: 0; } 100% { transform: none; opacity: 1; } }
.tweet.result .token-av { width: 40px; height: 40px; }
.ghost-lines { display: flex; flex-direction: column; gap: 8px; padding-top: 6px; }
.ghost-lines span { height: 10px; border-radius: 4px; background: var(--bg-3); }
.ghost-lines span:nth-child(1) { width: 92%; }
.ghost-lines span:nth-child(2) { width: 74%; }
.ghost-lines span:nth-child(3) { width: 40%; }
.token-card .mc-big { font-size: 40px; }
.result-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.result-actions .btn svg { width: 14px; height: 14px; }
.access-line { margin-top: 18px; font-size: 14px; line-height: 1.6; color: var(--muted); animation: menuIn .5s var(--ease); }
.access-line b { color: var(--text); font-weight: 500; }
.access-line .link-btn { margin-left: 2px; }
.demo-note { margin-top: 34px; text-align: center; font-size: 10.5px; line-height: 1.7; }
.demo-note.err { color: var(--warn); }

/* ---------- steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; }
.step { position: relative; display: flex; flex-direction: column; padding: 26px 24px 0; border-right: 1px solid var(--line); min-height: 400px; background: linear-gradient(180deg, rgba(255,255,255,.02), transparent 60%); transition: background .4s; }
.step:last-child { border-right: 0; }
.step:hover { background: linear-gradient(180deg, rgba(255,255,255,.045), transparent 70%); }
.step-n { color: var(--dim); }
.step .h3 { margin: 20px 0 12px; }
.step p { color: var(--muted); font-size: 15px; margin: 0; }
.step-art { margin-top: auto; height: 150px; position: relative; display: flex; flex-direction: column; justify-content: center; gap: 8px; padding-bottom: 24px; }
.art-auth .auth-row { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1px solid var(--line-2); border-radius: 10px; background: #050505; font-size: 13.5px; }
.art-auth .auth-row svg { width: 14px; height: 14px; }
.art-auth .auth-row.sub { justify-content: space-between; color: var(--muted); }
.tick { width: 18px; height: 18px; border-radius: 50%; background: #fff; color: #000; display: grid; place-items: center; }
.tick svg { width: 11px !important; height: 11px !important; }
.art-point { align-items: flex-start; }
.pill { padding: 7px 10px; border: 1px solid var(--line-2); border-radius: 8px; color: var(--text); font-size: 10.5px; text-transform: none; letter-spacing: .06em; background: #050505; }
.pill.ghost { color: var(--dim); border-style: dashed; }
.art-point .pill:nth-child(2) { margin-left: 22px; }
.art-point .pill:nth-child(3) { margin-left: 44px; }
.art-watch { flex-direction: row; align-items: center; gap: 18px; }
.radar { position: relative; width: 96px; height: 96px; flex: none; border-radius: 50%; border: 1px solid var(--line-2); overflow: hidden; }
.radar span { position: absolute; inset: 0; border-radius: 50%; border: 1px solid var(--line); }
.radar span:nth-child(2) { inset: 18px; }
.radar span:nth-child(3) { inset: 36px; }
.radar i { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, rgba(255,255,255,.35), transparent 22%); animation: spin 3.2s linear infinite; }
.watch-list { display: flex; flex-direction: column; gap: 8px; text-transform: lowercase; font-size: 11px; color: var(--muted); }
.watch-list span { display: flex; justify-content: space-between; gap: 14px; }
.watch-list b { color: var(--ok); font-weight: 400; animation: livePulseText 2s infinite; }
.watch-list span:nth-child(2) b { animation-delay: .4s; }
.watch-list span:nth-child(3) b { animation-delay: .8s; }
@keyframes livePulseText { 50% { opacity: .3; } }
.mini-tweet { border: 1px solid var(--line-2); border-radius: 12px; padding: 14px; background: #050505; display: flex; flex-direction: column; gap: 8px; }
.mini-tweet .l1, .mini-tweet .l2 { height: 8px; border-radius: 4px; background: var(--line-3); }
.mini-tweet .l1 { width: 90%; }
.mini-tweet .l2 { width: 60%; }
.mini-actions { display: flex; gap: 18px; color: var(--dim); margin-top: 4px; }
.mini-actions svg { width: 13px; height: 13px; }
.mini-actions .pink { color: var(--like); animation: heart 2.4s var(--ease) infinite; }
@keyframes heart { 0%, 60%, 100% { transform: scale(1); } 70% { transform: scale(1.35); } }

/* ---------- events ---------- */
.events { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.event { position: relative; padding: 22px 22px 24px; border: 1px solid var(--line-2); border-radius: var(--radius); background: linear-gradient(180deg, #0a0a0a, #050505); overflow: hidden; transition: border-color .35s, transform .5s var(--ease); }
.event::before { content: ""; position: absolute; inset: 0; background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(255,255,255,.07), transparent 45%); opacity: 0; transition: opacity .35s; pointer-events: none; }
.event:hover { border-color: var(--line-3); transform: translateY(-3px); }
.event:hover::before { opacity: 1; }
.ev-tag { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10.5px; }
.ev-tag svg { width: 12px; height: 12px; }
.ev-title { font-size: 34px; margin: 18px 0 14px; }
.ev-post { margin: 0; font-family: var(--mono); font-size: 13px; line-height: 1.65; color: #bdbdba; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.events .event:nth-child(2) { transition-delay: .05s; }
.events .event:nth-child(3) { transition-delay: .1s; }
.events .event:nth-child(4) { transition-delay: .05s; }
.events .event:nth-child(5) { transition-delay: .1s; }
.events .event:nth-child(6) { transition-delay: .15s; }

/* ---------- control ---------- */
.control-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 90px); align-items: center; }
.plus-list { list-style: none; margin: 34px 0 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.plus-list li { position: relative; padding-left: 26px; color: #c9c9c6; font-size: 16px; }
.plus-list li::before { content: "+"; position: absolute; left: 0; top: -1px; font-family: var(--mono); color: var(--dim); }
.flow { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 22px; background: linear-gradient(180deg, #0a0a0a, #050505); }
.flow-node { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px 16px; border: 1px solid var(--line-2); border-radius: 10px; background: #000; font-family: var(--mono); font-size: 13px; }
.flow-node > span:first-child { display: inline-flex; align-items: center; gap: 8px; }
.flow-node .dimmer { font-size: 11.5px; text-align: right; }
.flow-node.accent { border-color: rgba(255,255,255,.35); box-shadow: 0 0 40px -10px rgba(255,255,255,.25); }
.flow-node.accent > span:first-child { font-family: var(--serif); font-size: 21px; }
.flow-edge { position: relative; margin-left: 24px; padding: 10px 0 10px 22px; border-left: 1px dashed var(--line-3); font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.flow-edge::after { content: ""; position: absolute; left: -2.5px; top: 0; width: 4px; height: 10px; border-radius: 2px; background: #fff; box-shadow: 0 0 8px #fff; animation: edgeRun 2.6s var(--ease-in-out) infinite; }
.flow-edge:nth-of-type(4)::after { animation-delay: 1.3s; }
.flow-edge.x { border-left-color: transparent; padding-bottom: 0; color: var(--dim); }
.flow-edge.x::after { display: none; }
@keyframes edgeRun { 0% { top: 0; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: calc(100% - 10px); opacity: 0; } }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.faq { border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font-size: 18px; font-weight: 450; transition: color .2s; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 18px; color: var(--muted); transition: transform .4s var(--ease); flex: none; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: #fff; }
.faq details p { margin: -6px 0 24px; color: var(--muted); max-width: 600px; }
.faq details p a { color: var(--text); border-bottom: 1px solid var(--line-3); }

/* ---------- outro ---------- */
.outro { position: relative; min-height: 860px; display: grid; place-items: center; padding: 60px 0 100px; border-top: 1px solid var(--line); overflow: hidden; text-align: center; }
.halftone-x { position: absolute; left: 50%; top: 70px; width: min(500px, 92vw); aspect-ratio: 1; transform: translateX(-50%); }
.outro-copy { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 18px; padding-top: min(450px, 82vw); }
.outro-word { font-size: clamp(96px, 15vw, 190px); line-height: .8; text-shadow: 0 0 60px rgba(255,255,255,.25); }
.spaced { letter-spacing: .5em; margin-right: -.5em; color: var(--muted); }
.outro-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: 22px 0 8px; }

/* ---------- footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.footer .mono-xs { font-size: 10.5px; display: inline-flex; align-items: center; gap: 8px; }
.footer a.mono-xs:hover { color: #fff; }

/* ---------- teaser ---------- */
.teaser { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); width: 100%; color: var(--text); }
.teaser::backdrop { background: rgba(0,0,0,.86); backdrop-filter: blur(8px); }
.teaser[open] { animation: pop .5s var(--ease); }
@keyframes pop { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: none; } }
.teaser-inner { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.teaser video { width: 100%; aspect-ratio: 16 / 9; background: #000; }
.teaser-close { position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,.6); border: 1px solid var(--line-2); font-size: 14px; }
.teaser-close:hover { background: #fff; color: #000; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .float-stack { left: -40px; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .step:nth-child(2) { border-right: 0; }
  .step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .events { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
  .nav-links { display: none; }
  .menu-btn { display: grid; }
  .nav-inner { position: relative; }
  .nav.open .nav-inner { background: rgba(8,8,8,.86); border-color: var(--line); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); }
  .nav.open .nav-links { display: flex; flex-direction: column; gap: 0; position: absolute; top: calc(100% + 8px); left: 0; right: 0; margin: 0; padding: 4px 18px; background: rgba(8,8,8,.94); border: 1px solid var(--line); border-radius: 14px; backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); animation: menuIn .35s var(--ease); }
  .nav.open .nav-links a { padding: 17px 0; font-size: 13px; border-bottom: 1px solid var(--line); }
  .nav.open .nav-links a:last-child { border-bottom: 0; color: var(--text); }
  .nav-links a.active::after { display: none; }
  .nav-links .menu-only { display: block; }
  .hero { padding-top: 110px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: none; }
  .hero-visual { order: -1; min-height: 0; margin: -10px 0 -40px; }
  .portrait-wrap { width: min(540px, 100%); margin: 0 auto; }
  .hero-visual { justify-content: center; }
  .float-stack { left: auto; right: max(-2%, calc(50% - 330px)); bottom: 8%; width: 230px; }
  .float-a { display: none; }
  .demo-head { grid-template-columns: 1fr; }
  .pipeline { grid-template-columns: 1fr; gap: 56px; }
  .rail { display: none; }
  .stage-head { min-height: 0; margin-bottom: 18px; }
  .control-grid, .faq-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .status { display: none; }
  .nav { inset: 10px 0 auto; }
  .nav-inner { height: 52px; padding: 0 8px 0 12px; gap: 12px; }
  .brand-word { font-size: 26px; }
  .hero { padding-top: 92px; padding-bottom: 64px; }
  .hero-visual { margin: 0 -8px -30px; }
  .float-stack { width: 200px; right: -4px; bottom: 4%; }
  .float-stack .media-card { display: none; }
  .scan-form:not(.scan-form-lg) { flex-direction: column; }
  .scan-form:not(.scan-form-lg) input { flex: none; }
  .portrait-meta { display: none; }
  .tweet-sm .who span { display: none; }
  .scan-form:not(.scan-form-lg) .btn { width: 100%; }
  .scan-form-lg .prompt { display: none; }
  .scan-form-lg input { font-size: 14px; }
  .scan-form-lg .btn { padding: 0 16px; }
  .live-card { margin-top: 26px; }
  .live-text { font-size: 14px; }
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); min-height: 0; padding-bottom: 0; }
  .step:last-child { border-bottom: 0; }
  .step-art { height: 140px; margin-top: 24px; }
  .events { grid-template-columns: 1fr; }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metrics > div:nth-child(2) { border-right: 0; }
  .metrics > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .tweet p, .tweet .media-card, .tweet .actions { margin-left: 0; }
  .tweet header { margin-bottom: 8px; }
  .reply-scope, .composer-bar { margin-left: 0; }
  .composer-body { min-height: 150px; }
  .outro { min-height: 0; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .hero-title .line > span, .reveal-up, .float, .portrait-meta, .scroll-cue { transform: none !important; opacity: 1 !important; }
  .ticker-track { animation: none; }
}
