/* ClickFix Guard - marketing site
   Ink-dark, one acid accent, product-accurate renderings. No frameworks. */

:root {
  --ink:      #08090c;
  --ink-2:    #0d0f15;
  --ink-3:    #14171f;
  --ink-4:    #1c202a;
  --line:     rgba(255, 255, 255, 0.09);
  --line-2:   rgba(255, 255, 255, 0.14);
  --text:     #e8eaf0;
  --muted:    #99a0ad;
  --faint:    #6b7280;
  --accent:   #c9ff3c;   /* acid lime */
  --accent-d: #a6e01f;
  --violet:   #8b7bff;
  --danger:   #ff5064;
  --ok:       #35d07f;
  --amber:    #ffc043;
  --r:        14px;
  --maxw:     1140px;
  --font-d: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-b: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--ink);
  color: var(--text);
  font-family: var(--font-b);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, svg { display: block; }
::selection { background: var(--accent); color: #000; }

h1, h2, h3, .display { font-family: var(--font-d); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 11vw, 150px) 0; position: relative; }

.eyebrow {
  font-family: var(--font-d); font-size: 13px; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent);
  display: inline-flex; align-items: center; gap: 9px;
}
.eyebrow::before { content: ""; width: 22px; height: 1px; background: var(--accent); opacity: .8; }

.lead { color: var(--muted); font-size: clamp(17px, 2vw, 20px); max-width: 60ch; }
.mono { font-family: ui-monospace, "SF Mono", Consolas, monospace; }

/* inline icons */
.ic { width: 1.15em; height: 1.15em; display: inline-block; vertical-align: -0.18em; flex: none; }
.ic-sm { width: 15px; height: 15px; }
.feat .ico .ic { width: 22px; height: 22px; }
.tour-tab svg.ico { width: 18px; height: 18px; color: var(--accent); vertical-align: -0.2em; }
.ui-nav a .d { width: 15px; height: 15px; opacity: .85; vertical-align: -0.18em; }
.hero-badge .ico .ic { width: 13px; height: 13px; }
svg.u-grip { width: 16px; height: 16px; vertical-align: -0.25em; }
.block-screen .bs-head .lg { width: 22px; height: 22px; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---- buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px; cursor: pointer;
  font-family: var(--font-d); font-weight: 600; font-size: 15px;
  padding: 13px 22px; border-radius: 10px; border: 1px solid transparent;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: #07130a; box-shadow: 0 0 0 0 rgba(201,255,60,.5); }
.btn-primary:hover { background: #d4ff5c; box-shadow: 0 10px 40px -8px rgba(201,255,60,.55); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line-2); }
.btn-ghost:hover { border-color: var(--text); background: rgba(255,255,255,.04); }
.btn-lg { padding: 16px 28px; font-size: 16px; }

/* ---- nav -------------------------------------------------------------------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: 66px;
  display: flex; align-items: center;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: rgba(8,9,12,.72); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-d); font-weight: 700; font-size: 18px; letter-spacing: -0.01em; }
.brand .mark { width: 30px; height: 30px; color: var(--accent); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a { color: var(--muted); font-size: 15px; font-weight: 500; transition: color .15s ease; }
.nav-links a:hover { color: var(--text); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-toggle { display: none; }
@media (max-width: 860px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
}

/* ---- glows / decoration ----------------------------------------------------- */
.glow { position: absolute; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; z-index: 0; }
.glow-a { width: 620px; height: 620px; background: radial-gradient(circle, rgba(201,255,60,.16), transparent 70%); top: -220px; right: -160px; }
.glow-b { width: 520px; height: 520px; background: radial-gradient(circle, rgba(139,123,255,.16), transparent 70%); top: 300px; left: -220px; }
.grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 30%, transparent 75%);
  opacity: .5;
}

/* ---- hero ------------------------------------------------------------------- */
.hero { position: relative; padding-top: 150px; padding-bottom: 60px; overflow: hidden; }
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero h1 { font-size: clamp(42px, 6.4vw, 82px); font-weight: 700; margin: 22px 0 20px; }
.hero h1 .hl { color: var(--accent); }
.hero .lead { font-size: clamp(18px, 2.1vw, 22px); }
.hero-cta { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; color: var(--faint); font-size: 14px; display: flex; align-items: center; gap: 8px; }
.hero-note b { color: var(--muted); font-weight: 600; }
@media (max-width: 940px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---- app window mock -------------------------------------------------------- */
.window {
  border: 1px solid var(--line-2); border-radius: 16px; overflow: hidden;
  background: var(--ink-2); box-shadow: 0 40px 100px -30px rgba(0,0,0,.8), 0 0 0 1px rgba(255,255,255,.02);
}
.win-bar { display: flex; align-items: center; gap: 8px; padding: 11px 14px; background: var(--ink-3); border-bottom: 1px solid var(--line); }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 11px; height: 11px; border-radius: 50%; background: #3a3f4b; }
.win-url {
  margin-left: 10px; flex: 1; background: var(--ink); border: 1px solid var(--line); border-radius: 7px;
  padding: 5px 12px; font-size: 12.5px; color: var(--faint); font-family: ui-monospace, monospace;
  display: flex; align-items: center; gap: 7px; overflow: hidden; white-space: nowrap;
}
.win-url .lock { color: var(--faint); flex: none; }
.win-body { padding: 20px; }

/* floating hero visual */
.hero-visual { position: relative; }
.hero-visual .window { transform: perspective(1600px) rotateY(-9deg) rotateX(3deg); transition: transform .5s ease; }
.hero-visual:hover .window { transform: perspective(1600px) rotateY(-4deg) rotateX(1deg); }
.hero-badge {
  position: absolute; z-index: 3; background: var(--ink-3); border: 1px solid var(--line-2);
  border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; box-shadow: 0 20px 50px -20px rgba(0,0,0,.9);
}
.hero-badge .ico { width: 26px; height: 26px; border-radius: 7px; display: grid; place-items: center; flex: none; }
.hero-badge.b1 { top: -18px; right: 30px; animation: float 5s ease-in-out infinite; }
.hero-badge.b2 { bottom: 26px; left: -26px; animation: float 5s ease-in-out infinite .8s; }
@keyframes float { 0%,100% { transform: translateY(0);} 50%{ transform: translateY(-9px);} }

/* ---- block screen rendering ------------------------------------------------- */
.block-screen { background: #fff; color: #0f172a; border-radius: 12px; overflow: hidden; font-size: 13px; }
.block-screen .bs-head { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-bottom: 1px solid #e2e8f0; }
.block-screen .bs-head .lg { width: 22px; height: 22px; color: #0f172a; }
.block-screen .bs-head b { font-size: 14px; }
.block-screen .bs-bar { background: #b91c1c; color: #fff; font-weight: 700; padding: 11px 16px; font-size: 14px; letter-spacing: .01em; }
.block-screen .bs-body { padding: 15px 16px 8px; }
.block-screen .bs-body p { margin-bottom: 10px; line-height: 1.5; }
.block-screen .site { font-weight: 700; }
.block-screen pre {
  background: #f1f5f9; border: 1px solid #e2e8f0; border-radius: 8px; padding: 10px 12px;
  font-family: ui-monospace, monospace; font-size: 12px; color: #0f172a; white-space: pre-wrap;
  word-break: break-all; user-select: none; margin-bottom: 10px;
}
.block-screen .bs-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 6px 16px 15px; }
.block-screen .bs-btn { font-size: 12.5px; font-weight: 600; padding: 8px 14px; border-radius: 8px; border: 1px solid #cbd5e1; background: #fff; color: #0f172a; }
.block-screen .bs-btn.primary { background: #0f172a; color: #fff; border-color: #0f172a; }
.block-screen .bs-foot { display: flex; justify-content: space-between; padding: 9px 16px; background: #f8fafc; border-top: 1px solid #e2e8f0; color: #64748b; font-size: 11.5px; }
.block-screen .bs-foot .why { color: #1d4ed8; font-weight: 600; }

/* ---- threat ticker ---------------------------------------------------------- */
.ticker { border-block: 1px solid var(--line); background: var(--ink-2); overflow: hidden; padding: 16px 0; position: relative; z-index: 2; }
.ticker::before, .ticker::after { content: ""; position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none; }
.ticker::before { left: 0; background: linear-gradient(90deg, var(--ink-2), transparent); }
.ticker::after { right: 0; background: linear-gradient(270deg, var(--ink-2), transparent); }
.ticker-track { display: flex; gap: 44px; width: max-content; animation: scroll 34s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { display: flex; align-items: center; gap: 12px; color: var(--muted); font-family: ui-monospace, monospace; font-size: 14px; white-space: nowrap; }
.ticker-item .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--danger); flex: none; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ---- section headers -------------------------------------------------------- */
.sec-head { max-width: 720px; margin-bottom: 56px; }
.sec-head.center { margin-inline: auto; }
.sec-head h2 { font-size: clamp(30px, 4.4vw, 50px); margin: 18px 0 16px; }

/* ---- problem cards ---------------------------------------------------------- */
.miss-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.miss {
  border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: var(--ink-2);
  position: relative;
}
.miss .x { color: var(--danger); font-family: var(--font-d); font-weight: 700; font-size: 13px; letter-spacing: .05em; text-transform: uppercase; margin-bottom: 10px; display: inline-flex; align-items: center; gap: 7px; }
.miss h3 { font-size: 20px; margin-bottom: 8px; }
.miss p { color: var(--muted); font-size: 15px; }
.miss.win { border-color: rgba(201,255,60,.4); background: linear-gradient(180deg, rgba(201,255,60,.06), transparent); }
.miss.win .x { color: var(--accent); }
@media (max-width: 820px) { .miss-grid { grid-template-columns: 1fr; } }

/* ---- steps ------------------------------------------------------------------ */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { border: 1px solid var(--line); border-radius: var(--r); padding: 28px; background: var(--ink-2); }
.step .n { font-family: var(--font-d); font-size: 15px; font-weight: 700; color: var(--ink); background: var(--accent); width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; margin-bottom: 18px; }
.step h3 { font-size: 21px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 15px; }
.step .kw { color: var(--accent); font-weight: 600; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* ---- product tour ----------------------------------------------------------- */
.tour { display: grid; grid-template-columns: 320px 1fr; gap: 40px; align-items: start; }
.tour-tabs { display: flex; flex-direction: column; gap: 8px; position: sticky; top: 90px; }
.tour-tab {
  text-align: left; cursor: pointer; border: 1px solid transparent; background: transparent;
  color: var(--muted); padding: 16px 18px; border-radius: 12px; transition: all .2s ease; font-family: var(--font-b);
}
.tour-tab:hover { background: var(--ink-2); color: var(--text); }
.tour-tab.active { background: var(--ink-2); border-color: var(--line-2); color: var(--text); }
.tour-tab .tt { font-family: var(--font-d); font-weight: 600; font-size: 17px; display: flex; align-items: center; gap: 10px; }
.tour-tab .td { font-size: 13.5px; color: var(--faint); margin-top: 6px; display: none; }
.tour-tab.active .td { display: block; }
.tour-tab .ico { color: var(--accent); }
.tour-panel { display: none; }
.tour-panel.active { display: block; animation: fade .4s ease; }
@keyframes fade { from { opacity: 0; transform: translateY(10px);} to { opacity: 1; transform: none; } }
.tour-cap { margin-top: 16px; color: var(--muted); font-size: 15px; }
@media (max-width: 900px) {
  .tour { grid-template-columns: 1fr; }
  .tour-tabs { flex-direction: row; overflow-x: auto; position: static; padding-bottom: 4px; }
  .tour-tab { min-width: 210px; }
  .tour-tab .td { display: block; }
}

/* ---- generic portal UI (used in renderings) --------------------------------- */
.ui { background: var(--ink-2); color: var(--text); font-size: 13px; }
.ui-side { }
.ui-app { display: grid; grid-template-columns: 190px 1fr; min-height: 420px; }
.ui-nav { border-right: 1px solid var(--line); padding: 16px 12px; background: var(--ink-3); }
.ui-nav .u-brand { display: flex; align-items: center; gap: 8px; font-family: var(--font-d); font-weight: 700; font-size: 14px; margin-bottom: 18px; }
.ui-nav .u-brand .mark { width: 20px; height: 20px; color: var(--accent); }
.ui-nav a { display: flex; align-items: center; gap: 9px; padding: 8px 10px; border-radius: 8px; color: var(--muted); font-size: 13px; margin-bottom: 3px; }
.ui-nav a.on { background: rgba(255,255,255,.06); color: var(--text); }
.ui-nav a .d { width: 15px; height: 15px; opacity: .8; }
.ui-main { padding: 20px; }
.ui-h { font-family: var(--font-d); font-weight: 600; font-size: 18px; margin-bottom: 3px; }
.ui-sub { color: var(--faint); font-size: 12.5px; margin-bottom: 18px; }
.u-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 2px 9px; border-radius: 20px; border: 1px solid var(--line-2); }
.u-badge.red { color: var(--danger); border-color: rgba(255,80,100,.4); background: rgba(255,80,100,.08); }
.u-badge.green { color: var(--ok); border-color: rgba(53,208,127,.4); background: rgba(53,208,127,.08); }
.u-badge.amber { color: var(--amber); border-color: rgba(255,192,67,.4); background: rgba(255,192,67,.08); }
.u-badge.violet { color: var(--violet); border-color: rgba(139,123,255,.4); background: rgba(139,123,255,.08); }
.u-badge.mute { color: var(--muted); }

/* dashboard */
.u-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 16px; }
.u-stat { border: 1px solid var(--line); border-radius: 10px; padding: 13px; background: var(--ink); }
.u-stat .k { font-size: 10.5px; text-transform: uppercase; letter-spacing: .08em; color: var(--faint); }
.u-stat .v { font-family: var(--font-d); font-size: 26px; font-weight: 700; margin-top: 3px; }
.u-stat .v.red { color: var(--danger); } .u-stat .v.amber { color: var(--amber); } .u-stat .v.green { color: var(--ok); }
.u-panels { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.u-card { border: 1px solid var(--line); border-radius: 10px; padding: 15px; background: var(--ink); }
.u-card .ct { font-size: 12px; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.u-chart { display: flex; align-items: flex-end; gap: 8px; height: 120px; }
.u-chart .bar { flex: 1; border-radius: 4px 4px 0 0; background: var(--ink-4); position: relative; }
.u-chart .bar .fill { position: absolute; inset: auto 0 0 0; border-radius: 4px 4px 0 0; }
.ring { width: 116px; height: 116px; border-radius: 50%; margin: 6px auto 0;
  background: conic-gradient(var(--ok) 0 78%, var(--ink-4) 78% 100%); display: grid; place-items: center; }
.ring .hole { width: 84px; height: 84px; border-radius: 50%; background: var(--ink); display: grid; place-items: center; text-align: center; }
.ring .hole b { font-family: var(--font-d); font-size: 24px; }
.ring .hole span { font-size: 10px; color: var(--faint); }

/* request review */
.u-alert { border-radius: 10px; padding: 13px 15px; margin-bottom: 12px; border: 1px solid; }
.u-alert.violet { background: rgba(139,123,255,.08); border-color: rgba(139,123,255,.35); }
.u-alert.red { background: rgba(255,80,100,.07); border-color: rgba(255,80,100,.3); }
.u-alert .at { font-weight: 600; font-size: 13px; margin-bottom: 5px; display: flex; align-items: center; gap: 8px; }
.u-alert p { color: var(--muted); font-size: 12.5px; }
.u-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 4px 0 14px; }
.u-field .fk { font-size: 10px; text-transform: uppercase; letter-spacing: .07em; color: var(--faint); }
.u-field .fv { font-size: 13px; margin-top: 1px; }
.u-signals { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.u-signal { display: flex; align-items: center; gap: 10px; font-size: 12.5px; color: var(--muted); }
.u-signal .u-badge { width: 118px; justify-content: center; flex: none; }
.u-decide { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.u-btn { font-size: 12px; font-weight: 600; padding: 8px 13px; border-radius: 8px; border: 1px solid var(--line-2); background: transparent; color: var(--text); }
.u-btn.green { background: var(--ok); color: #04120a; border-color: var(--ok); }
.u-btn.red { color: var(--danger); border-color: rgba(255,80,100,.4); }

/* rules table */
.u-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.u-table th { text-align: left; color: var(--faint); font-weight: 600; font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.u-table td { padding: 10px; border-bottom: 1px solid var(--line); }
.u-grip { color: var(--faint); cursor: grab; }
.u-prio { font-family: var(--font-d); font-weight: 700; color: var(--muted); }
.u-code { font-family: ui-monospace, monospace; background: var(--ink-4); padding: 1px 7px; border-radius: 5px; font-size: 11.5px; }
.u-row-drag { background: rgba(201,255,60,.05); outline: 1px dashed rgba(201,255,60,.4); }

/* audit */
.u-log { font-size: 12.5px; }
.u-log-row { display: grid; grid-template-columns: 90px 1fr 130px 54px; gap: 12px; padding: 9px 4px; border-bottom: 1px solid var(--line); align-items: center; }
.u-log-row .who { color: var(--text); } .u-log-row .when, .u-log-row .ip { color: var(--faint); }

/* ---- feature grid ----------------------------------------------------------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feat { border: 1px solid var(--line); border-radius: var(--r); padding: 26px; background: var(--ink-2); transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.feat:hover { border-color: var(--line-2); transform: translateY(-3px); background: var(--ink-3); }
.feat .ico { width: 42px; height: 42px; border-radius: 11px; display: grid; place-items: center; background: rgba(201,255,60,.1); color: var(--accent); margin-bottom: 16px; }
.feat h3 { font-size: 18px; margin-bottom: 8px; }
.feat p { color: var(--muted); font-size: 14.5px; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .features { grid-template-columns: 1fr; } }

/* ---- split (MSP) ------------------------------------------------------------ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split ul { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.split li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 15.5px; }
.split li .ck { color: var(--accent); flex: none; margin-top: 3px; }
.split li b { color: var(--text); font-weight: 600; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 34px; } }

/* ---- big statement ---------------------------------------------------------- */
.statement { text-align: center; }
.statement h2 { font-size: clamp(30px, 5vw, 62px); max-width: 16ch; margin: 0 auto; }
.statement h2 .hl { color: var(--accent); }
.statement .lead { margin: 24px auto 0; }

/* ---- CTA band --------------------------------------------------------------- */
.cta-band { position: relative; overflow: hidden; border: 1px solid var(--line-2); border-radius: 24px; padding: clamp(44px, 7vw, 84px) 32px; text-align: center; background: linear-gradient(180deg, var(--ink-3), var(--ink-2)); }
.cta-band h2 { font-size: clamp(32px, 5vw, 58px); }
.cta-band .lead { margin: 18px auto 30px; }
.cta-band .hero-cta { justify-content: center; }

/* ---- footer ----------------------------------------------------------------- */
.footer { border-top: 1px solid var(--line); padding: 54px 0 40px; }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer .brand { margin-bottom: 12px; }
.footer .fdesc { color: var(--faint); font-size: 14px; max-width: 30ch; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-d); font-size: 13px; letter-spacing: .04em; color: var(--muted); margin-bottom: 14px; }
.footer-col a { display: block; color: var(--faint); font-size: 14px; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: var(--text); }
.footer-bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 24px; color: var(--faint); font-size: 13px; }

/* ---- reveal ----------------------------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track, .hero-badge { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---- blog -------------------------------------------------------------------- */
.blog-hero { padding: 130px 0 30px; position: relative; }
.blog-hero h1 { font-size: clamp(36px, 5.5vw, 60px); margin: 16px 0 14px; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--r); padding: 24px;
  background: var(--ink-2); transition: border-color .2s ease, transform .2s ease, background .2s ease; }
.post-card:hover { border-color: var(--line-2); transform: translateY(-3px); background: var(--ink-3); }
.post-card .pm { font-size: 12px; color: var(--faint); margin-bottom: 10px; text-transform: uppercase; letter-spacing: .06em; }
.post-card h3 { font-size: 21px; line-height: 1.15; margin-bottom: 10px; }
.post-card p { color: var(--muted); font-size: 15px; flex: 1; }
.post-card .tagrow { margin-top: 16px; display: flex; gap: 6px; flex-wrap: wrap; }
.post-card .tag, .article .tag { font-size: 11px; color: var(--muted); border: 1px solid var(--line); border-radius: 20px; padding: 2px 10px; }
.blog-empty { border: 1px dashed var(--line-2); border-radius: var(--r); padding: 48px; text-align: center; color: var(--muted); }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

.article { max-width: 760px; margin: 0 auto; padding-top: 120px; }
.article .back { color: var(--muted); font-size: 14px; display: inline-flex; gap: 6px; margin-bottom: 22px; }
.article .back:hover { color: var(--text); }
.article h1 { font-size: clamp(32px, 5vw, 52px); line-height: 1.08; margin-bottom: 14px; }
.article .ameta { color: var(--faint); font-size: 14px; margin-bottom: 8px; }
.article .lede { font-size: 19px; color: var(--muted); margin: 12px 0 22px; }
.article .body { font-size: 17px; }
.article .body h2 { font-family: var(--font-d); font-size: 27px; margin: 34px 0 12px; }
.article .body h3 { font-family: var(--font-d); font-size: 20px; margin: 26px 0 10px; }
.article .body p { margin: 0 0 18px; color: #d4d7df; }
.article .body ul, .article .body ol { margin: 0 0 18px 22px; color: #d4d7df; }
.article .body li { margin-bottom: 6px; }
.article .body code { font-family: ui-monospace, monospace; background: var(--ink-3); padding: 2px 7px; border-radius: 6px; font-size: 15px; }
.article .body pre { background: var(--ink-2); border: 1px solid var(--line); border-radius: 10px; padding: 16px; overflow: auto; margin: 0 0 20px; }
.article .body pre code { background: none; padding: 0; }
.article .body a { color: var(--accent); text-decoration: underline; }
.article .body blockquote { border-left: 3px solid var(--accent); padding-left: 16px; margin: 0 0 18px; color: var(--muted); }
