/* ============================================================
   Nova Soft × Calculator Vault — marketing site
   Plain responsive CSS, mobile-first, light + dark themes
   ============================================================ */

/* ---------- root tokens · LIGHT (default) ---------- */
:root {
  --bg:        #F6F4EE;     /* warm cream, not pure white */
  --surface:   #FFFFFF;
  --sc-low:    #F0EDE4;
  --sc:        #ECE9DF;
  --sc-high:   #E5E2D7;
  --ink:       #0F1011;
  --ink-2:     #2A2C2E;
  --ink-mute:  #5F6368;
  --outline:   #C8C5BB;
  --outline-v: #E2DFD5;
  --accent:    #178867;     /* deep teal — passes AA on cream */
  --on-accent: #FFFFFF;
  --accent-soft: #D9EDE4;
  --on-accent-soft: #0C4936;
  --grid-line: rgba(15,16,17,0.06);
  --shadow-1: 0 1px 2px rgba(15,16,17,.06), 0 1px 3px rgba(15,16,17,.04);
  --shadow-2: 0 12px 32px rgba(15,16,17,.08), 0 2px 6px rgba(15,16,17,.05);
  --shadow-device: 0 40px 80px rgba(15,16,17,.18), 0 8px 24px rgba(15,16,17,.10);

  /* calculator chrome (matches in-app — neutral, generic) */
  --calc-bg:    #1C1C1E;
  --calc-num:   #2C2C2E;
  --calc-fn:    #3A3A3C;
  --calc-op:    #4CD6B0;
  --calc-on-op: #0E1F1A;
  --calc-on:    #FFFFFF;
  --calc-dim:   #A1A1A6;
}

/* ---------- DARK theme ---------- */
[data-theme="dark"] {
  --bg:        #0F1011;
  --surface:   #16181A;
  --sc-low:    #1A1B1D;
  --sc:        #1F2123;
  --sc-high:   #25282A;
  --ink:       #ECEDEE;
  --ink-2:     #D5D7D9;
  --ink-mute:  #9DA1A6;
  --outline:   #3F4347;
  --outline-v: #2A2D30;
  --accent:    #5DDFB8;
  --on-accent: #00382B;
  --accent-soft: #1F5446;
  --on-accent-soft: #B4F0DE;
  --grid-line: rgba(255,255,255,0.04);
  --shadow-1: 0 1px 2px rgba(0,0,0,.4), 0 1px 3px rgba(0,0,0,.2);
  --shadow-2: 0 12px 32px rgba(0,0,0,.45), 0 2px 6px rgba(0,0,0,.25);
  --shadow-device: 0 40px 80px rgba(0,0,0,.55), 0 8px 24px rgba(0,0,0,.35);
}

/* ---------- base ---------- */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html {
  background: var(--bg);
  color: var(--ink);
  -webkit-text-size-adjust: 100%;
}
body {
  font-family: "IBM Plex Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss03", "tnum";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  background: var(--bg);
  color: var(--ink);
  transition: background 240ms ease, color 240ms ease;
}
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--accent); color: var(--on-accent); }

/* ---------- layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 22px;
}
@media (min-width: 720px) { .wrap { padding: 0 40px; } }
@media (min-width: 1024px) { .wrap { padding: 0 56px; } }

.eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow .pip {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px color-mix(in oklab, var(--accent) 18%, transparent);
}

/* ---------- top nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--outline-v);
}
.nav-inner {
  display: flex; align-items: center;
  height: 64px;
  gap: 24px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; letter-spacing: -0.01em; font-size: 15px;
  color: var(--ink);
}
.brand-mark {
  width: 28px; height: 28px;
  border-radius: 7px;
  background: var(--surface);
  border: 1px solid var(--outline-v);
  display: grid; place-items: center;
  flex: none;
}
[data-theme="dark"] .brand-mark { background: var(--sc); border-color: var(--outline-v); }
.brand-mark .eq {
  display: block;
  width: 14px;
  height: 8px;
  position: relative;
}
.brand-mark .eq::before,
.brand-mark .eq::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: 2px; border-radius: 1px;
  background: var(--accent);
}
.brand-mark .eq::before { top: 0; }
.brand-mark .eq::after  { bottom: 0; }
.brand .sep { color: var(--ink-mute); font-weight: 400; margin: 0 2px; }
.brand .product { color: var(--ink-mute); font-weight: 500; }
.brand:hover .product { color: var(--ink); }

.nav-links {
  display: none;
  margin-left: auto;
  gap: 22px;
  align-items: center;
}
@media (min-width: 820px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: 14px; color: var(--ink-2); font-weight: 500;
  transition: color 160ms ease;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--accent); }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 8px; }
@media (min-width: 760px) { .nav-right { margin-left: 0; } }

.theme-toggle {
  width: 36px; height: 36px;
  border-radius: 999px;
  border: 1px solid var(--outline-v);
  background: var(--surface);
  color: var(--ink-2);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.theme-toggle:hover { color: var(--accent); border-color: var(--accent); }
.theme-toggle svg { width: 16px; height: 16px; }
.theme-toggle .sun { display: none; }
.theme-toggle .moon { display: block; }
[data-theme="dark"] .theme-toggle .sun { display: block; }
[data-theme="dark"] .theme-toggle .moon { display: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 44px; padding: 0 20px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 14px; font-weight: 500; letter-spacing: 0.01em;
  border: 1px solid transparent;
  cursor: pointer;
  background: var(--accent); color: var(--on-accent);
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); background: color-mix(in oklab, var(--accent) 92%, black 8%); }
.btn:active { transform: translateY(0); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--outline);
}
.btn.ghost:hover { background: var(--sc-low); border-color: var(--ink-mute); color: var(--ink); }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13px; }
.btn .arr {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 15px; line-height: 1;
  position: relative; top: -1px;
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding-top: 56px;
  padding-bottom: 24px;
  overflow: hidden;
}
@media (min-width: 720px) { .hero { padding-top: 88px; padding-bottom: 64px; } }
@media (min-width: 1024px) { .hero { padding-top: 120px; padding-bottom: 96px; } }

.hero-grid {
  display: grid; gap: 56px;
  grid-template-columns: 1fr;
  align-items: center;
}
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; }
}

.hero h1 {
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.02;
  font-size: clamp(44px, 9vw, 88px);
  margin: 18px 0 24px;
  text-wrap: balance;
}
.hero h1 .accent { color: var(--accent); }
.hero .lead {
  font-size: clamp(17px, 2.2vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0 0 32px;
  max-width: 36ch;
  text-wrap: pretty;
}
.hero .cta-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 16px;
}
.hero .req {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.hero .req b { color: var(--ink-2); font-weight: 500; }

/* spec rail under hero copy */
.spec-rail {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--outline-v);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 32px;
}
@media (min-width: 640px) { .spec-rail { grid-template-columns: repeat(4, 1fr); } }
.spec-rail .k {
  font-family: "IBM Plex Mono"; font-size: 10px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-mute);
  margin-bottom: 6px;
}
.spec-rail .v {
  font-size: 14px; font-weight: 500; color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.35;
}

/* faint background grid in hero */
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px);
  background-size: 88px 100%;
  mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 80%, transparent 100%);
}

/* ---------- interactive calculator hero hook ---------- */
.calc-hook {
  display: flex; flex-direction: column; align-items: center;
  gap: 16px;
}
.calc-hook .hint {
  font-family: "IBM Plex Mono"; font-size: 11px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
  display: inline-flex; align-items: center; gap: 10px;
}
.calc-hook .hint .arr {
  width: 10px; height: 10px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-bottom: 3px;
}

.device {
  width: 290px;
  background: var(--calc-bg);
  border-radius: 36px;
  border: 1px solid #2a2a2c;
  padding: 8px;
  box-shadow: var(--shadow-device);
  position: relative;
}
.device::after {
  content: ""; position: absolute; left: 14%; right: 14%; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10), transparent);
  border-radius: 2px;
}
.dscreen {
  width: 100%; aspect-ratio: 9/19;
  background: var(--calc-bg);
  border-radius: 28px;
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
}

/* calculator face */
.face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  transition: opacity 360ms ease, transform 360ms ease;
}
.face.is-hidden {
  opacity: 0;
  transform: scale(.96);
  pointer-events: none;
}

.dstatus {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 4px;
  font-family: "IBM Plex Mono"; font-size: 10px; color: var(--calc-on);
  letter-spacing: 0.04em;
  flex: none;
}
.dstatus .ind { display: flex; gap: 5px; align-items: center; }
.dstatus .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--calc-on); }

.dtopbar {
  display: flex; align-items: center;
  padding: 4px 18px 0;
  height: 32px; color: var(--calc-on); flex: none;
}
.dtopbar .ttl { font-weight: 500; font-size: 14px; letter-spacing: -0.005em; }
.dtopbar .right { margin-left: auto; display: flex; gap: 4px; color: var(--calc-dim); }

.ddisplay {
  flex: 1;
  display: flex; flex-direction: column;
  align-items: flex-end; justify-content: flex-end;
  padding: 8px 18px 10px; gap: 2px; min-height: 0; overflow: hidden;
}
.dexpr {
  font-family: "IBM Plex Mono"; font-weight: 400; font-size: 13px;
  color: var(--calc-dim); letter-spacing: 0.01em;
  white-space: nowrap; min-height: 17px;
}
.dresult {
  font-family: "IBM Plex Mono"; font-weight: 500;
  font-size: 44px; line-height: 1; letter-spacing: -0.01em;
  color: var(--calc-on);
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  transition: color 220ms ease;
}
.dresult.pulse { color: var(--calc-op); }

.dkeys {
  padding: 6px 12px 14px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px;
  flex: none;
}
.dkey {
  height: 38px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  font-family: "IBM Plex Sans"; font-weight: 400; font-size: 17px;
  background: var(--calc-num); color: var(--calc-on);
  user-select: none; cursor: pointer;
  border: none;
  transition: transform 80ms ease, background 120ms ease, box-shadow 120ms ease;
  font-variant-numeric: tabular-nums;
}
.dkey:hover { background: color-mix(in oklab, var(--calc-num) 85%, white 15%); }
.dkey:active { transform: scale(.96); }
.dkey.fn { background: var(--calc-fn); font-size: 14px; }
.dkey.fn:hover { background: color-mix(in oklab, var(--calc-fn) 85%, white 15%); }
.dkey.op {
  background: var(--calc-op); color: var(--calc-on-op);
  font-size: 18px; font-weight: 500;
}
.dkey.op:hover { background: color-mix(in oklab, var(--calc-op) 90%, white 10%); }
.dkey.eq {
  background: var(--calc-op); color: var(--calc-on-op);
  font-size: 20px; font-weight: 600;
  position: relative;
}
.dkey.eq:hover { background: color-mix(in oklab, var(--calc-op) 90%, white 10%); }
.dkey.zero { grid-column: span 2; justify-content: flex-start; padding-left: 22px; }

@keyframes eqGlow {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--calc-op) 60%, transparent); }
  50%      { box-shadow: 0 0 0 8px color-mix(in oklab, var(--calc-op) 0%, transparent); }
}
.dkey.eq.armed { animation: eqGlow 1.6s ease-in-out infinite; }

/* vault face — what's behind the calculator */
.vault-face {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  background: #0F1011;
  color: #ECEDEE;
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
  transition: opacity 360ms ease, transform 360ms ease;
}
.vault-face.is-shown { opacity: 1; transform: scale(1); pointer-events: auto; }

.vstatus {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 22px 4px;
  font-family: "IBM Plex Mono"; font-size: 10px; color: #ECEDEE;
  letter-spacing: 0.04em;
  flex: none;
}
.vstatus .dot { width: 3px; height: 3px; border-radius: 50%; background: #ECEDEE; display: inline-block; margin-right: 3px; }

.vbar {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 16px 6px;
}
.vbar .back {
  width: 28px; height: 28px; border-radius: 999px;
  display: grid; place-items: center; color: #ECEDEE;
  cursor: pointer; border: none; background: transparent;
}
.vbar .back:hover { background: #1F2123; }
.vbar .vtitle { font-weight: 600; font-size: 16px; letter-spacing: -0.005em; }
.vbar .lock {
  margin-left: auto;
  font-family: "IBM Plex Mono"; font-size: 9px;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #5DDFB8;
  display: inline-flex; align-items: center; gap: 6px;
}
.vbar .lock::before {
  content: ""; width: 5px; height: 5px; border-radius: 50%;
  background: #5DDFB8; box-shadow: 0 0 0 3px rgba(93,223,184,.18);
}

.vfolders { padding: 6px 16px 0; display: flex; flex-direction: column; gap: 8px; flex: none; }
.vfolder {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: #1A1B1D;
  border-radius: 12px;
  border: 1px solid #2A2D30;
}
.vfolder .vthumb {
  width: 36px; height: 36px; border-radius: 8px;
  background: #1F2123;
  display: grid; place-items: center;
  color: #5DDFB8;
}
.vfolder .vthumb svg { width: 16px; height: 16px; }
.vfolder .vmeta { display: flex; flex-direction: column; gap: 2px; flex: 1; min-width: 0; }
.vfolder .vname { font-size: 13px; font-weight: 500; color: #ECEDEE; }
.vfolder .vsize { font-family: "IBM Plex Mono"; font-size: 10px; color: #9DA1A6; letter-spacing: 0.02em; }
.vfolder .vcount {
  font-family: "IBM Plex Mono"; font-size: 10px; color: #5DDFB8;
  background: rgba(93,223,184,.10);
  padding: 3px 7px; border-radius: 999px;
}

.vgrid { padding: 12px 16px 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; flex: 1; }
.vtile {
  background: #1F2123;
  border-radius: 8px;
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
}
.vtile::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, transparent 40%, rgba(93,223,184,.06) 41%, transparent 42%),
    linear-gradient(45deg,  transparent 40%, rgba(93,223,184,.06) 41%, transparent 42%);
}
.vtile.has-icon { display: grid; place-items: center; color: #5DDFB8; opacity: .9; }
.vtile.has-icon svg { width: 18px; height: 18px; }

/* ---------- section system ---------- */
.section { padding: 72px 0; position: relative; }
@media (min-width: 720px) { .section { padding: 112px 0; } }

.sec-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 40px;
  align-items: end;
}
@media (min-width: 720px) {
  .sec-head { grid-template-columns: auto 1fr auto; gap: 32px; margin-bottom: 56px; }
}
.sec-head h2 {
  font-size: clamp(28px, 4.2vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.025em;
  font-weight: 600;
  margin: 6px 0 0;
  text-wrap: balance;
  max-width: 22ch;
}
.sec-head .sec-lede {
  color: var(--ink-mute);
  font-size: 15px;
  line-height: 1.55;
  max-width: 34ch;
  margin: 0;
  text-wrap: pretty;
}
@media (min-width: 720px) {
  .sec-head .sec-lede { text-align: right; align-self: end; }
}

/* ---------- how it works (3 steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  counter-reset: step;
}
@media (min-width: 720px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

.step {
  position: relative;
  padding: 32px 28px 28px;
  background: var(--surface);
  border: 1px solid var(--outline-v);
  border-radius: 20px;
  display: flex; flex-direction: column; gap: 14px;
  counter-increment: step;
}
.step .step-n {
  font-family: "IBM Plex Mono";
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--ink-mute);
  display: inline-flex; align-items: center; gap: 8px;
}
.step .step-n::before {
  content: counter(step, decimal-leading-zero);
  color: var(--accent);
  font-weight: 600;
}
.step h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.015em;
  line-height: 1.25;
  text-wrap: balance;
}
.step p { margin: 0; color: var(--ink-mute); font-size: 14px; line-height: 1.55; }
.step .step-art {
  margin-top: 8px;
  height: 64px;
  border-radius: 12px;
  background: var(--sc-low);
  border: 1px solid var(--outline-v);
  display: grid; place-items: center;
  color: var(--accent);
  font-family: "IBM Plex Mono";
  font-weight: 600;
  font-size: 26px;
  letter-spacing: 0.04em;
  position: relative;
  overflow: hidden;
  line-height: 1;
}
.step .step-art svg {
  width: 32px; height: 32px; display: block;
  stroke-width: 2.4;
  /* optical center — lock body sits low in its viewBox, lift it slightly */
  transform: translateY(-1px);
}

/* ---------- features grid ---------- */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
  background: var(--outline-v);
  border: 1px solid var(--outline-v);
  border-radius: 20px;
  overflow: hidden;
}
@media (min-width: 720px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .features { grid-template-columns: repeat(3, 1fr); } }
.feat {
  background: var(--surface);
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 12px;
  min-height: 220px;
}
.feat .feat-ic {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--accent-soft);
  color: var(--on-accent-soft);
  display: grid; place-items: center;
  margin-bottom: 4px;
}
.feat .feat-ic svg { width: 18px; height: 18px; }
.feat h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-wrap: balance;
}
.feat p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-mute);
  text-wrap: pretty;
}
.feat .feat-tag {
  margin-top: auto;
  font-family: "IBM Plex Mono";
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ---------- pricing ---------- */
.pricing {
  display: grid; grid-template-columns: 1fr; gap: 16px;
}
@media (min-width: 720px) { .pricing { grid-template-columns: 1fr 1fr; gap: 24px; } }
.tier {
  background: var(--surface);
  border: 1px solid var(--outline-v);
  border-radius: 24px;
  padding: 32px 28px;
  display: flex; flex-direction: column; gap: 20px;
  position: relative;
}
.tier.premium {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.tier.premium .tname,
.tier.premium .price,
.tier.premium .tdesc,
.tier.premium .perks li { color: var(--bg); }
.tier.premium .tdesc,
.tier.premium .perks li { color: color-mix(in oklab, var(--bg) 78%, transparent); }
.tier.premium .perks li::before { background: var(--accent); }

.tier-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.tier .tname { font-size: 14px; font-weight: 600; letter-spacing: 0.02em; text-transform: uppercase; }
.tier .tbadge {
  font-family: "IBM Plex Mono"; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  padding: 4px 9px; border-radius: 999px;
  background: var(--accent-soft); color: var(--on-accent-soft);
}
.tier.premium .tbadge { background: var(--accent); color: var(--on-accent); }
.tier .price-row { display: flex; align-items: baseline; gap: 8px; }
.tier .price {
  font-size: 44px; font-weight: 600; letter-spacing: -0.03em; line-height: 1;
}
.tier .price-unit { font-size: 13px; color: var(--ink-mute); font-family: "IBM Plex Mono"; }
.tier.premium .price-unit { color: color-mix(in oklab, var(--bg) 60%, transparent); }
.tier .tdesc { font-size: 14px; color: var(--ink-mute); margin: -8px 0 4px; line-height: 1.5; }

.perks { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.perks li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-2);
}
.perks li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 10px; height: 2px;
  background: var(--accent); border-radius: 1px;
}
.perks li::after {
  content: ""; position: absolute; left: 0; top: 5px;
  width: 10px; height: 2px;
  background: var(--accent); border-radius: 1px;
}
.tier .footnote {
  font-family: "IBM Plex Mono";
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--outline);
}
.tier.premium .footnote {
  color: color-mix(in oklab, var(--bg) 55%, transparent);
  border-color: color-mix(in oklab, var(--bg) 20%, transparent);
}

/* ---------- screenshots row ---------- */
.shots {
  display: grid; gap: 20px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 720px) { .shots { grid-template-columns: repeat(5, 1fr); } }

.shot-card {
  display: flex; flex-direction: column; gap: 12px;
}
/* mini phone frames for screenshots section */
.shot-frame {
  aspect-ratio: 9/19.5;
  background: #000;
  border: 1.5px solid #2c2e30;
  border-radius: 28px;
  position: relative;
  padding: 5px;
  overflow: hidden;
  box-shadow: var(--shadow-1);
}
.shot-screen {
  width: 100%; height: 100%;
  background: #0F1011;
  color: #ECEDEE;
  border-radius: 23px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
  font-size: 10px;
}
.shot-screen .sx-status {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 10px 2px;
  font-family: "IBM Plex Mono";
  font-size: 6px;
  letter-spacing: 0.04em;
  flex: none;
}
.shot-screen .sx-status .dot {
  width: 2px; height: 2px; border-radius: 50%;
  background: currentColor; display: inline-block; margin-right: 1px;
}
.shot-screen .sx-bar {
  display: flex; align-items: center; gap: 6px;
  padding: 4px 10px 2px;
  flex: none;
}
.shot-screen .sx-title { font-size: 8px; font-weight: 600; letter-spacing: -0.005em; }
.shot-screen .sx-pill {
  margin-left: auto;
  font-family: "IBM Plex Mono"; font-size: 5px;
  padding: 2px 5px; border-radius: 999px;
  background: rgba(93,223,184,.14); color: #5DDFB8;
  letter-spacing: 0.06em; text-transform: uppercase;
}

/* screen 01 — calculator */
.sx-calc { background: #1C1C1E; height: 100%; display: flex; flex-direction: column; }
.sx-calc .sx-display {
  flex: 1; padding: 8px 12px;
  display: flex; flex-direction: column;
  align-items: flex-end; justify-content: flex-end;
  gap: 2px;
  min-height: 0;
}
.sx-calc .sx-expr { font-family: "IBM Plex Mono"; font-size: 8px; color: #A1A1A6; }
.sx-calc .sx-result {
  font-family: "IBM Plex Mono"; font-weight: 500;
  font-size: 26px; line-height: 1;
  color: #fff; letter-spacing: -0.01em;
}
.sx-calc .sx-keys {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px;
  padding: 4px 8px 8px;
  flex: none;
}
.sx-calc .sx-keys span {
  aspect-ratio: 1;
  border-radius: 999px;
  background: #2C2C2E; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "IBM Plex Sans"; font-size: 9px; font-weight: 500;
}
.sx-calc .sx-keys .fn { background: #3A3A3C; font-size: 8px; }
.sx-calc .sx-keys .op { background: #4CD6B0; color: #0E1F1A; }
.sx-calc .sx-keys .zero { aspect-ratio: auto; grid-column: span 2; border-radius: 999px; justify-content: flex-start; padding-left: 14px; }

/* screen 02 — gallery */
.sx-gallery { padding: 0 10px 10px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; align-content: start; }
.sx-gallery .gtile {
  aspect-ratio: 1; border-radius: 6px; overflow: hidden;
  background: #1c1f21; position: relative;
}
.sx-gallery .gtile i {
  position: absolute; inset: -10%;
  filter: blur(8px) saturate(1.1);
}
.gp-a { background: radial-gradient(60% 50% at 30% 30%, #6d8aa3, #2c3a48 70%), radial-gradient(40% 40% at 80% 70%, #b89a78, transparent 65%); }
.gp-b { background: radial-gradient(70% 60% at 60% 40%, #c08a64, #4a3220 70%), radial-gradient(40% 40% at 20% 80%, #2a1f17, transparent 70%); }
.gp-c { background: radial-gradient(60% 60% at 50% 50%, #4a6b58, #1c2820 70%), radial-gradient(40% 40% at 80% 30%, #c5b884, transparent 60%); }
.gp-d { background: radial-gradient(60% 60% at 30% 70%, #5a4e7a, #221c33 70%), radial-gradient(50% 50% at 80% 20%, #c89bb8, transparent 60%); }
.gp-e { background: radial-gradient(70% 70% at 50% 50%, #d0b07a, #5a4220 70%), radial-gradient(40% 40% at 10% 10%, #f4e2bf, transparent 50%); }
.gp-f { background: radial-gradient(60% 60% at 40% 60%, #386a7c, #16282e 70%), radial-gradient(35% 35% at 75% 25%, #a8c8d4, transparent 60%); }

/* screen 03 — folder list */
.sx-folders { padding: 4px 10px 10px; display: flex; flex-direction: column; gap: 4px; }
.sx-folder {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 7px;
  background: #1A1B1D;
  border: 1px solid #2A2D30;
  border-radius: 8px;
}
.sx-folder .gthumb {
  width: 22px; height: 22px; border-radius: 5px;
  position: relative; overflow: hidden;
  flex: none;
}
.sx-folder .gname { font-size: 9px; font-weight: 500; }
.sx-folder .gmeta { font-family: "IBM Plex Mono"; font-size: 6px; color: #9DA1A6; letter-spacing: 0.02em; margin-top: 1px; }
.sx-folder .gcount {
  margin-left: auto;
  font-family: "IBM Plex Mono"; font-size: 6px;
  background: rgba(93,223,184,.14); color: #5DDFB8;
  padding: 2px 5px; border-radius: 999px;
}
.sx-folder .gcol { display: flex; flex-direction: column; min-width: 0; }

/* screen 04 — note editor */
.sx-note { flex: 1; padding: 6px 12px 10px; display: flex; flex-direction: column; gap: 4px; }
.sx-note .nh { font-size: 11px; font-weight: 600; letter-spacing: -0.005em; }
.sx-note .nmeta { font-family: "IBM Plex Mono"; font-size: 6px; color: #9DA1A6; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.sx-note .nline { height: 2px; border-radius: 1px; background: #2A2D30; }
.sx-note .nline.short { width: 60%; }
.sx-note .nline.mid { width: 86%; }
.sx-note .nline.full { width: 100%; }
.sx-note .nspacer { height: 4px; }
.sx-note .nkbd {
  margin-top: auto;
  display: grid; grid-template-columns: repeat(10, 1fr); gap: 2px;
  padding: 4px 0 0;
}
.sx-note .nkbd i { display: block; height: 6px; border-radius: 2px; background: #2C2C2E; }
.sx-note .nkbd .nkbd-row2 { padding: 0 6px; }

/* screen 05 — settings */
.sx-settings { padding: 4px 10px 10px; display: flex; flex-direction: column; gap: 6px; }
.sx-drive {
  padding: 8px 9px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(93,223,184,.08), #1A1B1D);
  border: 1px solid rgba(93,223,184,.30);
  display: flex; flex-direction: column; gap: 4px;
}
.sx-drive .dh { display: flex; align-items: center; gap: 5px; }
.sx-drive .dlogo {
  width: 16px; height: 16px; border-radius: 5px;
  background: rgba(93,223,184,.16);
  color: #5DDFB8;
  display: grid; place-items: center;
}
.sx-drive .dlogo svg { width: 9px; height: 9px; }
.sx-drive .dt { font-size: 8px; font-weight: 600; }
.sx-drive .ds { font-family: "IBM Plex Mono"; font-size: 5px; color: #9DA1A6; letter-spacing: 0.04em; }
.sx-drive .dbar { height: 3px; border-radius: 2px; background: #2C2F32; position: relative; overflow: hidden; }
.sx-drive .dbar i { position: absolute; left: 0; top: 0; bottom: 0; width: 64%; border-radius: 2px; background: linear-gradient(90deg, #5DDFB8, #B4F0DE); }
.sx-srow {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 4px;
  border-bottom: 1px solid #2A2D30;
}
.sx-srow:last-child { border-bottom: 0; }
.sx-srow .sic {
  width: 18px; height: 18px; border-radius: 5px;
  background: #1F2123; color: #9DA1A6;
  display: grid; place-items: center;
  flex: none;
}
.sx-srow .sic svg { width: 9px; height: 9px; }
.sx-srow .stext { display: flex; flex-direction: column; min-width: 0; }
.sx-srow .slbl { font-size: 8px; font-weight: 500; }
.sx-srow .ssub { font-family: "IBM Plex Mono"; font-size: 5px; color: #9DA1A6; letter-spacing: 0.02em; margin-top: 1px; }
.sx-srow .stog {
  margin-left: auto;
  width: 18px; height: 10px; border-radius: 999px;
  background: #5DDFB8;
  position: relative;
}
.sx-srow .stog::after {
  content: ""; position: absolute; right: 1.5px; top: 1.5px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #0E1F1A;
}
.sx-srow .stog.off { background: #3A3A3C; }
.sx-srow .stog.off::after { left: 1.5px; right: auto; background: #1F2123; }

.shot-frame .sx-num {
  position: absolute; top: 12px; left: 14px;
  z-index: 4;
  font-family: "IBM Plex Mono";
  font-size: 9px;
  color: var(--ink-mute);
  letter-spacing: 0.12em;
}
.shot-card .shot-cap {
  font-family: "IBM Plex Mono";
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  text-align: center;
}

/* ---------- big cta band ---------- */
.cta-band {
  position: relative;
  padding: 64px 0 80px;
  border-top: 1px solid var(--outline-v);
  border-bottom: 1px solid var(--outline-v);
  background: var(--sc-low);
  overflow: hidden;
}
.cta-band-inner {
  display: grid; grid-template-columns: 1fr; gap: 24px; align-items: end;
}
@media (min-width: 720px) {
  .cta-band-inner { grid-template-columns: 1fr auto; gap: 40px; }
}
.cta-band h2 {
  font-size: clamp(28px, 5vw, 48px);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0;
  text-wrap: balance;
  max-width: 18ch;
}
.cta-band h2 .accent { color: var(--accent); }
.cta-band p {
  margin: 14px 0 0;
  color: var(--ink-mute);
  font-size: 15px;
  max-width: 44ch;
}
.cta-band .cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- footer ---------- */
.footer {
  padding: 56px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}
@media (min-width: 720px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; gap: 56px; }
}
.footer h4 {
  font-family: "IBM Plex Mono";
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 16px;
  font-weight: 500;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { font-size: 14px; color: var(--ink-2); }
.footer ul a:hover { color: var(--accent); }
.footer .about {
  font-size: 14px; color: var(--ink-mute); line-height: 1.6; max-width: 38ch;
  margin: 14px 0 0;
}
.footer .colophon {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--outline-v);
  font-family: "IBM Plex Mono";
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
}
.footer .colophon b { color: var(--ink-2); font-weight: 500; }

/* ---------- Nova Soft home — product card ---------- */
.product-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: var(--surface);
  border: 1px solid var(--outline-v);
  border-radius: 24px;
  overflow: hidden;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
@media (min-width: 720px) {
  .product-card { grid-template-columns: 1.2fr 1fr; }
}
.product-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--ink-mute);
}
.product-card .pc-body {
  padding: 36px 32px;
  display: flex; flex-direction: column; gap: 18px;
}
.product-card .pc-icon {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--surface);
  border: 1px solid var(--outline-v);
  display: grid; place-items: center;
  position: relative;
}
[data-theme="dark"] .product-card .pc-icon { background: var(--sc); }
.product-card .pc-icon .eq-mark {
  width: 28px; height: 18px; position: relative;
}
.product-card .pc-icon .eq-mark::before,
.product-card .pc-icon .eq-mark::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: 4px; border-radius: 2px;
  background: var(--accent);
}
.product-card .pc-icon .eq-mark::before { top: 0; }
.product-card .pc-icon .eq-mark::after { bottom: 0; }

.product-card .pc-title {
  font-size: 28px; font-weight: 600; letter-spacing: -0.02em;
  line-height: 1.1; margin: 0;
}
.product-card .pc-desc {
  font-size: 15px; line-height: 1.55; color: var(--ink-mute);
  margin: 0; max-width: 40ch;
}
.product-card .pc-meta {
  display: flex; flex-wrap: wrap; gap: 16px;
  font-family: "IBM Plex Mono"; font-size: 11px;
  color: var(--ink-mute); letter-spacing: 0.04em;
  margin-top: 4px;
}
.product-card .pc-meta b { color: var(--ink-2); font-weight: 500; }
.product-card .pc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--accent);
  margin-top: auto;
}
.product-card .pc-art {
  background: var(--sc-low);
  border-left: 1px solid var(--outline-v);
  display: grid; place-items: center;
  padding: 40px;
  position: relative;
  min-height: 240px;
  overflow: hidden;
}
.product-card .pc-art::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, var(--grid-line) 1px, transparent 1px),
    linear-gradient(to bottom, var(--grid-line) 1px, transparent 1px);
  background-size: 32px 32px;
  background-position: center;
  opacity: 0.8;
  pointer-events: none;
}
.product-card .pc-art .eq-big {
  position: relative; z-index: 1;
  width: 96px; height: 60px;
}
.product-card .pc-art .eq-big::before,
.product-card .pc-art .eq-big::after {
  content: ""; position: absolute; left: 0; right: 0;
  height: 14px; border-radius: 7px;
  background: var(--accent);
}
.product-card .pc-art .eq-big::before { top: 0; }
.product-card .pc-art .eq-big::after { bottom: 0; }

/* small studio-info strip on Nova Soft home */
.studio-strip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  padding: 24px 0;
  border-top: 1px solid var(--outline-v);
  border-bottom: 1px solid var(--outline-v);
  margin: 48px 0;
}
@media (min-width: 720px) {
  .studio-strip { grid-template-columns: repeat(4, 1fr); gap: 32px; }
}
.studio-strip .si {
  display: flex; flex-direction: column; gap: 4px;
}
.studio-strip .si .k {
  font-family: "IBM Plex Mono"; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-mute);
}
.studio-strip .si .v {
  font-size: 14px; font-weight: 500; color: var(--ink);
  letter-spacing: -0.005em;
}
.studio-strip .si .v a:hover { color: var(--accent); }

/* utility */
.divider {
  height: 1px;
  background: var(--outline-v);
  width: 100%;
  margin: 0;
}
.text-mute { color: var(--ink-mute); }
.text-accent { color: var(--accent); }

/* ---------- FAQ ---------- */
.faq {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.faq-item {
  background: var(--surface);
  border: 1px solid var(--outline-v);
  border-radius: 14px;
  padding: 0;
  overflow: hidden;
  transition: border-color 180ms ease, background 180ms ease;
}
.faq-item[open] { border-color: var(--outline); background: var(--sc-low); }
.faq-item > summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.faq-item > summary::-webkit-details-marker { display: none; }
.faq-item > summary h3 {
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.005em;
  margin: 0;
  color: var(--ink);
}
.faq-item .faq-mark {
  font-family: "IBM Plex Mono", monospace;
  font-size: 22px;
  line-height: 1;
  color: var(--ink-mute);
  transition: transform 200ms ease, color 200ms ease;
  flex-shrink: 0;
}
.faq-item[open] .faq-mark {
  transform: rotate(45deg);
  color: var(--accent);
}
.faq-item > p {
  margin: 0;
  padding: 0 22px 20px;
  color: var(--ink-2);
  font-size: 16px;
  line-height: 1.6;
}
.faq-item > p a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Beta sub-line under hero CTA ---------- */
.beta-sub {
  font-size: 14px;
  color: var(--ink-mute);
  margin: 14px 0 0;
  max-width: 50ch;
}
.beta-sub a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.beta-sub a:hover { color: var(--ink); }

/* ---------- Become-a-tester steps ---------- */
.beta-steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 760px) {
  .beta-steps { grid-template-columns: repeat(3, 1fr); }
}
.beta-step {
  background: var(--surface);
  border: 1px solid var(--outline-v);
  border-radius: 16px;
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.beta-step:hover {
  border-color: var(--outline);
  box-shadow: var(--shadow-1);
}
.beta-step .beta-n {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ink-mute);
  text-transform: uppercase;
}
.beta-step h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0;
  color: var(--ink);
}
.beta-step p {
  margin: 0 0 6px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  flex: 1 1 auto;
}
.beta-step .btn { align-self: flex-start; }
.beta-note {
  margin-top: 22px;
  font-size: 14px;
  color: var(--ink-mute);
  text-align: center;
}
.beta-note b { color: var(--ink-2); }

/* ============================================================
   Article / prose layout for /blog/
   ============================================================ */
.article {
  padding: 64px 0 96px;
}
@media (max-width: 720px) { .article { padding: 40px 0 64px; } }

.article-head {
  max-width: 720px;
  margin: 0 auto 36px;
}
.article-kicker {
  font-family: "IBM Plex Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-mute);
  margin: 0 0 18px;
}
.article-kicker a { color: var(--ink-mute); text-decoration: none; }
.article-kicker a:hover { color: var(--accent); }
.article-kicker .sep { margin: 0 8px; color: var(--outline); }

.article-head h1 {
  font-size: clamp(34px, 5vw, 52px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 18px;
  color: var(--ink);
}
.article-meta {
  font-size: 14px;
  color: var(--ink-mute);
  margin: 0;
}
.article-meta a { color: var(--ink-mute); text-decoration: underline; text-underline-offset: 3px; }

.prose {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-2);
}
.prose p { margin: 0 0 22px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: italic; }
.prose a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.prose a:hover { color: var(--ink); }

.prose h2 {
  font-size: clamp(24px, 3vw, 30px);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 48px 0 18px;
}
.prose h3 {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink);
  margin: 36px 0 12px;
}

.prose ul, .prose ol {
  margin: 0 0 22px;
  padding-left: 22px;
}
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li {
  margin: 0 0 10px;
  line-height: 1.65;
}
.prose li::marker { color: var(--ink-mute); }

.prose blockquote {
  margin: 0 0 22px;
  padding: 0 0 0 18px;
  border-left: 3px solid var(--accent);
  color: var(--ink-2);
  font-style: italic;
}

/* article-level FAQ — reuses .faq-item from product page */
.prose .faq { margin-top: 12px; }
.prose .faq-item p { margin: 0; }

/* end-of-article aside */
.article-aside {
  max-width: 720px;
  margin: 56px auto 0;
  padding: 24px 26px;
  background: var(--sc-low);
  border: 1px solid var(--outline-v);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.article-aside h3 {
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.005em;
  margin: 0;
  color: var(--ink);
}
.article-aside p {
  margin: 0;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
}
.article-aside .related {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 4px 0 0;
  padding: 0;
  list-style: none;
}
.article-aside .related a {
  font-size: 14px;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.article-aside .cv-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.article-aside .cv-row p { flex: 1 1 240px; }

/* ============================================================
   Blog index (/blog/) — article cards
   ============================================================ */
.blog-index { padding: 64px 0 96px; }
@media (max-width: 720px) { .blog-index { padding: 40px 0 64px; } }

.blog-grid {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
.blog-card {
  display: block;
  padding: 26px 28px;
  background: var(--surface);
  border: 1px solid var(--outline-v);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
.blog-card:hover {
  border-color: var(--outline);
  box-shadow: var(--shadow-1);
  transform: translateY(-1px);
}
.blog-card h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 0 10px;
}
.blog-card p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink-2);
}
.blog-card .read {
  display: inline-block;
  margin-top: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
