/* ============================================================
   neatworld.io — experiments in progress
   Terminal-native build log. JetBrains Mono throughout.
   bg #0D0D0D · surface #1A1A1A · accent #3CFF7E
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

:root {
  --bg: #0D0D0D;
  --surface: #161616;
  --surface-2: #121212;
  --raise: #1d1d1d;
  --hover: rgba(255,255,255,0.045);

  --line: rgba(255,255,255,0.09);
  --line-strong: rgba(255,255,255,0.16);
  --line-faint: rgba(255,255,255,0.055);

  --ink: #ECEBE8;
  --ink-2: #ADABA6;
  --muted: #7C7A75;
  --faint: #565450;
  --ghost: #3A3835;

  --accent: #3CFF7E;
  --accent-ink: #05140b;
  --accent-glow: rgba(60,255,126,0.16);
  --accent-line: rgba(60,255,126,0.28);
  --accent-soft: rgba(60,255,126,0.07);
  --accent-dim: #2bcf63;

  --rose: #E0707A; --amber: #E0A24E;

  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;

  --maxw: 1140px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--ink); font-family: var(--mono);
  font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility; overflow-x: hidden; font-weight: 400;
  display: flex; flex-direction: column; min-height: 100vh;
}
main { flex: 1 0 auto; }
::selection { background: var(--accent); color: var(--accent-ink); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
*::-webkit-scrollbar { width: 11px; height: 11px; }
*::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 20px; border: 3px solid transparent; background-clip: padding-box; }
*::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.16); background-clip: padding-box; }

/* faint engineered backdrop */
.bg-fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bg-fx .glow { position: absolute; inset: 0;
  background: radial-gradient(48% 32% at 80% -8%, rgba(60,255,126,0.07), transparent 70%); }
.bg-fx .grid { position: absolute; inset: 0; opacity: .6;
  background-image:
    linear-gradient(rgba(255,255,255,0.016) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.016) 1px, transparent 1px);
  background-size: 58px 58px; mask-image: radial-gradient(120% 85% at 50% 0%, #000 26%, transparent 80%); }
.bg-fx .grain { position: absolute; inset: 0; opacity: .55;
  background-image: repeating-linear-gradient(0deg, rgba(255,255,255,0.011) 0 1px, transparent 1px 3px); }
body[data-motif="off"] .hero-vis { display: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 34px; position: relative; z-index: 1; }

/* ── nav ─────────────────────────────────────────── */
.nav { position: sticky; top: 0; z-index: 50;
  background: rgba(13,13,13,0.74); backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2); border-bottom: 1px solid var(--line-faint); }
.nav-in { max-width: var(--maxw); margin: 0 auto; padding: 13px 34px; display: flex; align-items: center; gap: 26px; }
.logo { display: flex; align-items: center; gap: 11px; }
.logo .lm { width: 30px; height: 30px; border-radius: 8px; display: block; border: 1px solid var(--line); }
.logo .lt { display: flex; flex-direction: column; line-height: 1.1; }
.logo .lt b { font-weight: 700; font-size: 14.5px; letter-spacing: -.01em; color: #fff; }
.logo .lt b s { color: var(--accent); text-decoration: none; }
.logo .lt span { font-size: 9.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: 2px; }
.nav-links { display: flex; gap: 2px; margin-left: 8px; }
.nav-links a { font-size: 13px; color: var(--ink-2); padding: 7px 11px; border-radius: 7px; transition: .16s var(--ease); letter-spacing: -.005em; }
.nav-links a::before { content: '/'; color: var(--faint); margin-right: 1px; }
.nav-links a:hover { color: var(--accent); background: var(--hover); }
.nav-links a:hover::before { color: var(--accent-dim); }
.nav-links a.active { color: var(--accent); background: var(--accent-soft); }
.nav-links a.active::before { color: var(--accent-dim); }
.nav .grow { flex: 1; }
.nav-burger { display: none; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 9px;
  background: var(--hover); color: var(--ink); cursor: pointer; align-items: center; justify-content: center; }
.nav-burger svg { width: 20px; height: 20px; }

/* ── buttons ─────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border-radius: 9px;
  font-family: var(--mono); font-size: 13.5px; font-weight: 600; cursor: pointer; border: 1px solid transparent;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease), background .2s, border-color .2s; white-space: nowrap; letter-spacing: -.01em; }
.btn svg { width: 16px; height: 16px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 30px var(--accent-glow), 0 0 0 1px var(--accent-line); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255,255,255,0.015); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }
.btn-lg { padding: 14px 22px; font-size: 14.5px; }
.btn .pf { color: var(--accent-ink); opacity: .55; }
.btn-ghost .pf { color: var(--accent); opacity: .7; }

/* ── shared ──────────────────────────────────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 9px; font-size: 11.5px; font-weight: 500;
  letter-spacing: .22em; text-transform: uppercase; color: var(--accent); }
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); }
.section { padding: 100px 0; position: relative; z-index: 1; }
.section-head { max-width: 680px; }
.shx { font-size: 11.5px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; color: var(--faint); display: inline-flex; gap: 9px; }
.shx b { color: var(--accent-dim); font-weight: 600; }
.section-head h2 { font-size: clamp(27px, 3.5vw, 42px); font-weight: 700;
  letter-spacing: -.03em; line-height: 1.08; color: #fff; margin: 16px 0 14px; text-wrap: balance; }
.section-head .lede { font-size: 15px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }
.section-head .lede b { color: var(--ink); font-weight: 600; }

/* ── reveal ──────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: .07s; }
.reveal[data-d="2"] { transition-delay: .14s; }
.reveal[data-d="3"] { transition-delay: .21s; }
.reveal[data-d="4"] { transition-delay: .28s; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; }
  html { scroll-behavior: auto; }
}
body[data-motion="reduced"] .reveal { opacity: 1 !important; transform: none !important; }

/* ── terminal block (recurring motif) ────────────── */
.term { border-radius: 12px; border: 1px solid var(--line-strong); overflow: hidden;
  background: linear-gradient(180deg, #131313, #0d0d0d);
  box-shadow: 0 30px 90px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.035); }
.term-bar { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,0.015); }
.term-dots { display: flex; gap: 7px; }
.term-dots i { width: 10px; height: 10px; border-radius: 50%; display: block; }
.term-bar .tt { font-size: 11px; color: var(--muted); margin-left: 4px; letter-spacing: .02em; }
.term-bar .grow { flex: 1; }
.term-bar .live { font-size: 10px; color: var(--accent); letter-spacing: .12em; text-transform: uppercase; display: inline-flex; align-items: center; gap: 6px; }
.term-bar .live::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 2.2s var(--ease) infinite; }
.term-body { padding: 18px 18px 20px; font-size: 12.5px; line-height: 1.95; color: var(--ink-2); }
.term-line { white-space: pre-wrap; word-break: break-word; }
.term-line .pr { color: var(--accent); }
.term-line .pr2 { color: var(--ink); }
.term-line .k { color: var(--muted); }
.term-line .v { color: var(--ink); }
.term-line .ok { color: var(--accent); }
.term-line .dim { color: var(--faint); }
.term-line .warn { color: var(--amber); }
.term-cursor { display: inline-block; width: 8px; height: 14px; vertical-align: -2px; margin-left: 1px;
  background: var(--accent); animation: blink 1.1s steps(1) infinite; box-shadow: 0 0 10px var(--accent-glow); }
.sysdot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; vertical-align: 1px;
  background: var(--accent); box-shadow: 0 0 8px var(--accent); animation: pulse 2.2s var(--ease) infinite; }
body[data-motion="reduced"] .sysdot { animation: none; }
@keyframes blink { 0%,50%{ opacity:1 } 51%,100%{ opacity:0 } }
@keyframes pulse { 0%,100%{ opacity:1 } 50%{ opacity:.3 } }
body[data-motion="reduced"] .term-bar .live::before { animation: none; }

/* generic key:value terminal panel */
.tpanel { border-radius: 12px; border: 1px solid var(--line-strong); overflow: hidden;
  background: linear-gradient(180deg, #131313, #0d0d0d); box-shadow: 0 24px 70px rgba(0,0,0,0.45); }
.tpanel .tp-cmd { padding: 13px 18px; border-bottom: 1px solid var(--line); font-size: 12px; color: var(--muted); background: rgba(255,255,255,0.012); }
.tpanel .tp-cmd .pr { color: var(--accent); }
.tpanel .tp-cmd .c { color: var(--ink); }
.tpanel .tp-body { padding: 18px 20px 20px; font-size: 12.5px; line-height: 1.95; }
.row { display: flex; gap: 14px; }
.row .k { color: var(--muted); min-width: 150px; flex: none; }
.row .v { color: var(--ink); }
.row .v.ok { color: var(--accent); }

/* ── HERO ────────────────────────────────────────── */
.hero { min-height: calc(100vh - 56px); display: flex; align-items: center; padding: 56px 0 64px; }
.hero-grid { display: grid; grid-template-columns: 1.06fr 0.94fr; gap: 52px; align-items: center; width: 100%; }
.hero h1 { font-size: clamp(30px, 3.9vw, 52px); font-weight: 700; letter-spacing: -.035em; line-height: 1.08;
  color: #fff; margin: 22px 0 24px; text-wrap: balance; max-width: 16ch; }
.hero h1 .hl { color: var(--accent); }
.hero h1 .cur { color: var(--accent); animation: blink 1.1s steps(1) infinite; font-weight: 400; }
.hero .lead { font-size: 15px; line-height: 1.72; color: var(--ink-2); max-width: 50ch; text-wrap: pretty; }
.hero .lead b { color: var(--ink); font-weight: 600; }
.hero-cta { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.hero-meta { display: flex; align-items: center; gap: 10px; margin-top: 28px; font-size: 11.5px; color: var(--muted); flex-wrap: wrap; }
.hero-meta .it { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); padding: 5px 11px; border-radius: 7px; background: rgba(255,255,255,0.012); }
.hero-meta .it::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent); }

.hero-vis .term-body { min-height: 184px; }
.hero-vis .term-line { font-size: 13px; line-height: 2.1; }

/* ── WHY THIS EXISTS ─────────────────────────────── */
.why { max-width: 720px; margin: 0 auto; }
.why .shx { margin-bottom: 26px; }
.why p { font-size: clamp(16px, 1.7vw, 19px); line-height: 1.62; color: var(--ink-2); letter-spacing: -.01em; text-wrap: pretty; }
.why p + p { margin-top: 22px; }
.why p.tight + p.tight { margin-top: 6px; }
.why p.lead-line { color: var(--ink); }
.why blockquote { margin: 30px 0; padding: 20px 24px; border-left: 2px solid var(--accent);
  background: var(--accent-soft); border-radius: 0 10px 10px 0; }
.why blockquote p { font-size: clamp(20px, 2.3vw, 26px); font-weight: 600; color: #fff; letter-spacing: -.02em; line-height: 1.3; margin: 0; }
.why blockquote p::before { content: '// '; color: var(--accent-dim); font-weight: 400; }
.why .stack-lines { margin: 28px 0; padding: 18px 22px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface-2); }
.why .stack-lines div { font-size: 14px; color: var(--ink); padding: 3px 0; }
.why .stack-lines div::before { content: '> '; color: var(--accent-dim); }
.why .triad { margin-top: 26px; display: flex; flex-direction: column; gap: 4px; }
.why .triad div { font-size: 15px; color: var(--ink-2); }
.why .triad div b { color: var(--accent); font-weight: 600; }
.why .closer { margin-top: 30px; font-size: clamp(17px, 1.9vw, 21px); font-weight: 600; color: #fff; letter-spacing: -.02em; }

/* ── status tags ─────────────────────────────────── */
.status { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600;
  padding: 5px 11px 5px 9px; border-radius: 6px; display: inline-flex; align-items: center; gap: 8px; border: 1px solid; }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-live { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.status-live::before { box-shadow: 0 0 9px var(--accent); animation: pulse 2.2s var(--ease) infinite; }
.status-progress { color: var(--amber); border-color: rgba(224,162,78,0.3); background: rgba(224,162,78,0.07); }
.status-shelved { color: var(--muted); border-color: var(--line-strong); background: rgba(255,255,255,0.02); }
body[data-motion="reduced"] .status-live::before { animation: none; }
@media (prefers-reduced-motion: reduce) { .status-live::before { animation: none; } }

/* ── EXPERIMENTS ─────────────────────────────────── */
.exp-list { display: flex; flex-direction: column; gap: 16px; margin-top: 52px; }
.exp { border: 1px solid var(--line); border-radius: 16px; background: var(--surface);
  padding: 30px 34px; transition: border-color .25s, background .25s; position: relative; }
.exp:hover { border-color: var(--line-strong); background: var(--raise); }
.exp-top { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.exp-top .grow { flex: 1; }
.exp-idx { font-size: 12px; color: var(--faint); }
.exp-idx::before { content: 'exp_'; color: var(--ghost); }
.exp h3 { font-size: clamp(23px, 2.6vw, 30px); font-weight: 700; letter-spacing: -.02em; color: #fff; line-height: 1.1; }
.exp .role { font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dim); margin-top: 8px; }
.exp-one { font-size: 15px; line-height: 1.62; color: var(--ink-2); margin-top: 14px; max-width: 72ch; text-wrap: pretty; }
.exp-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line-faint); }
.exp-grid .k { font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 11px; }
.exp-learn ul { list-style: none; display: flex; flex-direction: column; gap: 7px; }
.exp-learn li { font-size: 13.5px; line-height: 1.5; color: var(--ink-2); padding-left: 18px; position: relative; text-wrap: pretty; }
.exp-learn li::before { content: '+'; position: absolute; left: 0; top: 0; color: var(--accent-dim); font-weight: 600; }
.exp-meta .stack { display: flex; flex-wrap: wrap; gap: 7px; }
.exp-meta .stack span { font-size: 11.5px; color: var(--ink-2); border: 1px solid var(--line); background: var(--hover); padding: 5px 10px; border-radius: 6px; }
.exp-result { margin-top: 6px; padding: 13px 16px; border-radius: 9px; background: var(--accent-soft); border: 1px solid var(--accent-line); }
.exp-result .rv { font-size: 13.5px; color: #fff; line-height: 1.45; }
.exp-result .rv b { color: var(--accent); font-weight: 700; }
@media (max-width: 760px) { .exp-grid { grid-template-columns: 1fr; gap: 22px; } }

/* experiments grid layout (tweakable) */
body[data-work="grid"] .exp-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
body[data-work="grid"] .exp { padding: 26px 26px; }
body[data-work="grid"] .exp-grid { grid-template-columns: 1fr; gap: 18px; }
body[data-work="grid"] .exp h3 { font-size: clamp(22px, 2.2vw, 26px); }
@media (max-width: 920px) { body[data-work="grid"] .exp-list { grid-template-columns: 1fr; } }

/* ── SCRAPYARD ───────────────────────────────────── */
.scrapyard { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 34px; align-items: stretch; margin-top: 16px; }
.scrap-l { display: flex; flex-direction: column; justify-content: center; }
.scrap-l h4 { font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.scrap-l h4::before { content: '// '; color: var(--ghost); }
.scrap-l p { font-size: 14px; line-height: 1.6; color: var(--ink-2); text-wrap: pretty; max-width: 48ch; }
.scrap-l p + p { margin-top: 12px; }
.scrap-l p.kill { color: var(--ink); font-weight: 500; }
.scrap-term .tp-body { display: flex; flex-direction: column; gap: 2px; }
.scrap-term .ar { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--rose); margin-bottom: 10px; }
.scrap-term .nm { font-size: 13.5px; color: var(--ink-2); }
.scrap-term .nm::before { content: '× '; color: var(--faint); }
.scrap-term .more { font-size: 12.5px; color: var(--faint); margin-top: 8px; }
@media (max-width: 760px) { .scrapyard { grid-template-columns: 1fr; gap: 22px; } }

/* ── BUILD LOG ───────────────────────────────────── */
.log-head { display: grid; grid-template-columns: 1fr auto; gap: 26px; align-items: end; }
.log-no { display: flex; flex-direction: column; gap: 3px; align-items: flex-end; }
.log-no div { font-size: 12px; color: var(--muted); }
.log-no div::before { content: '// '; color: var(--ghost); }
.lab-link { font-size: 13px; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; padding: 10px 15px; border: 1px solid var(--accent-line); border-radius: 9px; background: var(--accent-soft); transition: .2s; margin-top: 14px; }
.lab-link:hover { background: rgba(60,255,126,0.12); transform: translateY(-1px); }
.lab-link svg { width: 15px; height: 15px; transition: transform .2s var(--ease); }
.lab-link:hover svg { transform: translateX(3px); }
.lab-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 46px; }
.post { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 13px;
  background: var(--surface); padding: 24px 24px; transition: border-color .22s, background .22s, transform .22s var(--ease); min-height: 168px; }
.post:hover { border-color: var(--line-strong); background: var(--raise); transform: translateY(-3px); }
.post .pd { font-size: 11px; color: var(--muted); letter-spacing: .04em; display: flex; gap: 10px; }
.post .pd .n { color: var(--accent-dim); }
.post .pt { font-size: 18px; font-weight: 700; color: #fff; line-height: 1.22; margin: 14px 0 11px; letter-spacing: -.02em; text-wrap: balance; }
.post .pp { font-size: 13px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
.post .pr { margin-top: auto; padding-top: 16px; font-size: 11.5px; color: var(--accent); display: inline-flex; align-items: center; gap: 7px; }
.post .pr svg { width: 14px; height: 14px; transition: transform .2s var(--ease); }
.post:hover .pr svg { transform: translateX(3px); }
@media (max-width: 720px) { .lab-grid { grid-template-columns: 1fr; } .log-head { grid-template-columns: 1fr; } }

/* ── CURRENT STATUS ──────────────────────────────── */
.status-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 50px; }
.status-prose p { font-size: 15px; line-height: 1.7; color: var(--ink-2); text-wrap: pretty; }
.status-prose p + p { margin-top: 16px; }
.status-prose .triad { margin-top: 22px; display: flex; flex-direction: column; gap: 5px; }
.status-prose .triad div { font-size: 14px; color: var(--ink-2); }
.status-prose .triad div::before { content: '> '; color: var(--accent-dim); }
.status-term .tp-body { line-height: 1.5; }
.status-term .seg { padding: 9px 0; }
.status-term .seg + .seg { border-top: 1px dashed var(--line-faint); }
.status-term .sk { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.status-term .sv { font-size: 13.5px; color: var(--ink); }
.status-term .sv.ok { color: var(--accent); font-weight: 600; }
.status-term .online { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); display: inline-flex; align-items: center; gap: 8px; }
.status-term .online::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 9px var(--accent); animation: pulse 2.2s var(--ease) infinite; }
@media (max-width: 820px) { .status-wrap { grid-template-columns: 1fr; gap: 28px; } }

/* ── FOLLOW ──────────────────────────────────────── */
.follow { text-align: center; }
.follow h2 { font-size: clamp(30px, 5vw, 60px); font-weight: 700; letter-spacing: -.035em; line-height: 1.04; color: #fff; text-wrap: balance; }
.follow h2 .hl { color: var(--accent); }
.follow .sub { font-size: 15px; line-height: 1.65; color: var(--ink-2); max-width: 56ch; margin: 22px auto 30px; text-wrap: pretty; }
.follow-actions { display: flex; gap: 13px; justify-content: center; flex-wrap: wrap; }
.follow-links { display: flex; gap: 9px; justify-content: center; flex-wrap: wrap; margin-top: 30px; }
.follow-links a { font-size: 12.5px; color: var(--ink-2); border: 1px solid var(--line); padding: 9px 15px; border-radius: 8px; display: inline-flex; align-items: center; gap: 8px; transition: .2s; }
.follow-links a::before { content: '/'; color: var(--faint); }
.follow-links a:hover { color: var(--accent); border-color: var(--accent-line); background: var(--accent-soft); }
.follow-links a:hover::before { color: var(--accent-dim); }
.follow-links a svg { width: 14px; height: 14px; }

/* ── FOOTER ──────────────────────────────────────── */
.foot { border-top: 1px solid var(--line); padding: 48px 0 56px; margin-top: 90px; position: relative; z-index: 1; flex-shrink: 0; }

/* ── standalone page header (non-hero pages) ─────── */
.page-top { padding: 78px 0 0; }
.page-top .section { padding-top: 32px; }
.foot-term { max-width: 560px; margin: 0 auto; text-align: center; }
.foot-term .tp-body { text-align: center; line-height: 1.9; }
.foot-wm { width: 240px; max-width: 70%; margin: 0 auto 14px; opacity: .96; }
.foot-term .fl { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.foot-term .fb { font-size: 12.5px; color: var(--muted); }
.foot-term .fc { font-size: 12px; color: var(--faint); margin-top: 6px; }
.foot-cursor { color: var(--accent); animation: blink 1.1s steps(1) infinite; }

/* ── tweaks panel ────────────────────────────────── */
#tw { position: fixed; right: 18px; bottom: 18px; z-index: 200; width: 268px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 13px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6); font-family: var(--mono); display: none; overflow: hidden; }
#tw.show { display: block; }
.tw-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-bottom: 1px solid var(--line); cursor: grab; }
.tw-head .t { font-size: 12.5px; font-weight: 600; color: var(--ink); }
.tw-head .t::before { content: '~/ '; color: var(--accent-dim); }
.tw-head .grow { flex: 1; }
.tw-head .x { width: 26px; height: 26px; border: 0; background: var(--hover); border-radius: 7px; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.tw-head .x:hover { color: var(--ink); }
.tw-body { padding: 14px 14px 16px; display: flex; flex-direction: column; gap: 15px; }
.tw-row .lbl { font-size: 10.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.tw-seg { display: flex; gap: 4px; background: rgba(0,0,0,0.3); border: 1px solid var(--line); border-radius: 9px; padding: 3px; }
.tw-seg button { flex: 1; padding: 7px 4px; border: 0; background: transparent; color: var(--ink-2); font-family: var(--mono); font-size: 11.5px; font-weight: 500; border-radius: 6px; cursor: pointer; transition: .15s; }
.tw-seg button:hover { color: var(--ink); }
.tw-seg button.on { background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.tw-swatches { display: flex; gap: 8px; }
.tw-swatches button { width: 30px; height: 30px; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.tw-swatches button.on { border-color: #fff; }

/* ── responsive ──────────────────────────────────── */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 38px; }
  .hero-vis { order: 2; max-width: 540px; }
  .status-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .wrap, .nav-in { padding-left: 20px; padding-right: 20px; }
  .nav-links { display: none; }
  .nav-burger { display: flex; }
  .section { padding: 70px 0; }
  .exp { padding: 24px 22px; }
  .exp-grid { grid-template-columns: 1fr; gap: 20px; }
}
