/* ==========================================================
   DEALT — Site v3
   Editorial dark. Confident. Pay shown in copper, brand in jade.
   ========================================================== */

:root {
  /* Core surface */
  --bg: #0B0E14;
  --bg-elev: #131822;
  --bg-card: #161D28;
  --bg-input: #0F141C;

  /* Lines */
  --line: rgba(255, 255, 255, 0.07);
  --line-strong: rgba(255, 255, 255, 0.14);

  /* Ink */
  --ink: #F4F5F7;
  --ink-dim: #B7BDCB;
  --ink-muted: #7A8296;
  --ink-faint: #525868;

  /* Brand */
  --jade: #45B888;
  --jade-soft: rgba(69, 184, 136, 0.14);
  --jade-line: rgba(69, 184, 136, 0.3);
  --copper: #CC8B5E;
  --copper-soft: rgba(204, 139, 94, 0.14);

  /* System */
  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Motion */
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 420ms;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'DM Sans', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  min-height: 100vh;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* Tabular figures for pay, times, counts */
.num, .copper, .pay, time { font-variant-numeric: tabular-nums; }

/* ---------- Ambient background ---------- */
body::before {
  content: "";
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 900px 600px at 15% -10%, rgba(69, 184, 136, 0.08), transparent 60%),
    radial-gradient(ellipse 700px 500px at 90% 30%, rgba(204, 139, 94, 0.05), transparent 60%);
  pointer-events: none;
  z-index: 0;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.04 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: overlay;
}

main, header, footer { position: relative; z-index: 1; }

/* ---------- Layout primitives ---------- */
.wrap {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: 96px 0; position: relative; }
section + section { border-top: 1px solid var(--line); }

@media (max-width: 720px) {
  section { padding: 64px 0; }
}

/* ---------- Type scale ---------- */
.wordmark {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  color: var(--jade); /* fallback for any text fallback */
}
.wordmark svg {
  height: 22px;
  width: auto;
  display: block;
}
.wordmark-lg svg {
  height: 36px;
}
/* Screen-reader-only text — keeps "DEALT" in accessibility tree and Google's index */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 20px; height: 1px;
  background: var(--ink-muted);
}

h1, h2, h3, h4 {
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
}
h1 {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
h2 {
  font-size: clamp(30px, 4.5vw, 52px);
  letter-spacing: -0.03em;
  line-height: 1.05;
}
h3 {
  font-size: clamp(20px, 2vw, 24px);
  letter-spacing: -0.015em;
  line-height: 1.25;
}
h4 {
  font-size: 16px;
  letter-spacing: -0.01em;
}

p { color: var(--ink-dim); }
p.lead {
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-dim);
  font-weight: 400;
  max-width: 52ch;
}

.accent-jade { color: var(--jade); }
.accent-copper { color: var(--copper); font-variant-numeric: tabular-nums; }
.muted { color: var(--ink-muted); }
.dim { color: var(--ink-dim); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease);
  border: 1px solid transparent;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--jade);
  color: #0B0E14;
}
.btn-primary:hover { background: #5cc99a; }

.btn-ghost {
  background: transparent;
  border-color: var(--line-strong);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--jade); color: var(--jade); }

.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }

.btn-link {
  color: var(--jade);
  font-weight: 600;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  border-bottom: 1px solid transparent;
  transition: border-color 180ms var(--ease);
}
.btn-link:hover { border-bottom-color: var(--jade); }
.btn-link .arrow { transition: transform 220ms var(--ease); }
.btn-link:hover .arrow { transform: translateX(3px); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 18px 0;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(11, 14, 20, 0.72);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--ease), padding 220ms var(--ease);
}
.nav.scrolled {
  padding: 12px 0;
  border-bottom-color: var(--line);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.nav-links a {
  color: var(--ink-dim);
  font-size: 14px;
  font-weight: 500;
  transition: color 180ms var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  padding: clamp(40px, 6vh, 96px) 0 100px;
  overflow: hidden;
}
@media (max-width: 720px) {
  .hero { padding: 24px 0 60px; }
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 28px; }
.hero-copy h1 { margin-bottom: 28px; }
.hero-copy h1 .copper-word {
  color: var(--copper);
  font-style: italic;
  font-weight: 700;
}
.hero-copy .lead { margin-bottom: 40px; }
.hero-cta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-note {
  margin-top: 22px;
  font-size: 13px;
  color: var(--ink-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}
.hero-note .dot {
  width: 6px; height: 6px;
  background: var(--jade);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(69, 184, 136, 0.2);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(69, 184, 136, 0.2); }
  50%      { box-shadow: 0 0 0 7px rgba(69, 184, 136, 0); }
}

@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-phone-wrap { order: 2; }
}

/* ---------- Phone mockup ---------- */
.hero-phone-wrap {
  display: flex;
  justify-content: center;
  position: relative;
}
.hero-phone-wrap::before {
  content: "";
  position: absolute;
  inset: -8% -4%;
  background: radial-gradient(ellipse at center, rgba(69, 184, 136, 0.18), transparent 60%);
  filter: blur(40px);
  z-index: -1;
}
.phone {
  width: 320px;
  max-width: 100%;
  height: 640px;
  border-radius: 44px;
  background: #050709;
  padding: 12px;
  box-shadow:
    0 60px 120px -40px rgba(0, 0, 0, 0.7),
    0 30px 50px -20px rgba(69, 184, 136, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  position: relative;
}
.phone-notch {
  position: absolute;
  top: 22px; left: 50%;
  transform: translateX(-50%);
  width: 110px; height: 28px;
  background: #050709;
  border-radius: 16px;
  z-index: 2;
}
.phone-screen {
  width: 100%; height: 100%;
  border-radius: 34px;
  background: linear-gradient(180deg, #0D1119 0%, #0B0E14 100%);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 56px 20px 24px;
}
.phone-chrome {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--ink-muted);
  margin-bottom: 28px;
  font-weight: 600;
}
.job-card {
  flex: 1;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}
.job-card-logo {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #3B2010, #7B3A1B);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #F4D9B5;
  font-size: 18px;
  letter-spacing: -0.02em;
}
.job-card-company {
  font-size: 11px;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.job-card-name { font-size: 11px; color: var(--ink-dim); }
.job-card-role {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
}
.job-card-pay {
  font-size: 22px;
  font-weight: 700;
  color: var(--copper);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.01em;
}
.job-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  font-size: 12px;
  color: var(--ink-dim);
}
.job-card-meta span { display: inline-flex; align-items: center; gap: 6px; }
.job-card-meta span::before {
  content: "•";
  color: var(--ink-faint);
  margin-right: -2px;
}
.job-card-meta span:first-child::before { display: none; }
.job-card-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.chip {
  font-size: 11px;
  padding: 5px 9px;
  border-radius: 999px;
  background: var(--jade-soft);
  color: var(--jade);
  border: 1px solid var(--jade-line);
  font-weight: 500;
}
.chip-muted {
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink-muted);
  border: 1px solid var(--line);
}
.match-badge {
  position: absolute;
  top: 14px; right: 14px;
  font-size: 10px;
  font-weight: 600;
  color: var(--jade);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ---------- Card swipe cycle (hero) ---------- */
.card-stack {
  position: relative;
  flex: 1;
  min-height: 0;
  perspective: 1000px;
}
.card-stack .swipe-card {
  position: absolute;
  inset: 0;
  will-change: transform, opacity;
  animation: swipe-cycle 9s cubic-bezier(0.45, 0, 0.2, 1) infinite;
  transform-origin: 50% 80%;
  backface-visibility: hidden;
}
.card-stack .swipe-card:nth-child(1) { animation-delay: 0s;    z-index: 3; }
.card-stack .swipe-card:nth-child(2) { animation-delay: -6s;   z-index: 2; }
.card-stack .swipe-card:nth-child(3) { animation-delay: -3s;   z-index: 1; }

@keyframes swipe-cycle {
  /* Visible phase — held still for the card's 3-second slot */
  0%    { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
  25%   { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }

  /* Swipe out — tilt right, translate, fade */
  33%   { opacity: 0; transform: translate3d(140%, -8%, 0) rotate(18deg) scale(0.96); }

  /* Instant reset to "waiting below" position while invisible */
  33.01% { opacity: 0; transform: translate3d(0, 30px, 0) rotate(0deg) scale(0.96); }

  /* Hold offscreen during other cards' slots */
  95%   { opacity: 0; transform: translate3d(0, 30px, 0) rotate(0deg) scale(0.96); }

  /* Slide up into position, ready for next visible phase */
  100%  { opacity: 1; transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
}

/* Accessibility — users who've asked their OS for less motion get a static stack */
@media (prefers-reduced-motion: reduce) {
  .card-stack .swipe-card { animation: none; opacity: 0; }
  .card-stack .swipe-card:nth-child(1) { opacity: 1; }
}

/* ---------- Stats strip ---------- */
.stats {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 40px 0;
  background: rgba(255, 255, 255, 0.015);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.stat { text-align: left; }
.stat-value {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.025em;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-value.copper { color: var(--copper); }
.stat-value.jade { color: var(--jade); }
.stat-label {
  font-size: 13px;
  color: var(--ink-muted);
  letter-spacing: -0.005em;
}

@media (max-width: 720px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
}

/* ---------- Section headers ---------- */
.section-head { margin-bottom: 56px; max-width: 700px; }
.section-head .eyebrow { margin-bottom: 20px; }
.section-head h2 { margin-bottom: 20px; }
.section-head p { font-size: 18px; max-width: 56ch; }

/* ---------- Feature grid ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.feature {
  background: var(--bg);
  padding: 36px 32px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background 220ms var(--ease);
  position: relative;
}
.feature:hover { background: var(--bg-elev); }
.feature-ix {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-muted);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.feature h3 { margin-bottom: 2px; }
.feature p {
  font-size: 14.5px;
  color: var(--ink-dim);
  line-height: 1.55;
}

@media (max-width: 960px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* ---------- Split section (for employers pullout) ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split-visual {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.split-visual::before {
  content: "";
  position: absolute;
  top: -40%; right: -40%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--jade-soft), transparent 60%);
  filter: blur(40px);
}

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
}

/* ---------- Checklist ---------- */
.check-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.check-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-dim);
  line-height: 1.5;
}
.check-list li::before {
  content: "";
  flex: 0 0 20px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--jade-soft);
  border: 1px solid var(--jade-line);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M2.5 6.5 L5 9 L10 3' stroke='%2345B888' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px;
  margin-top: 1px;
}

/* ---------- Directive callout ---------- */
.callout {
  background: linear-gradient(180deg, var(--bg-elev), var(--bg));
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  padding: 56px;
  position: relative;
  overflow: hidden;
}
.callout::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--jade), transparent);
}
.callout .eyebrow { margin-bottom: 18px; }
.callout h2 { margin-bottom: 18px; max-width: 720px; }
.callout p { font-size: 17px; max-width: 680px; margin-bottom: 28px; }

@media (max-width: 720px) {
  .callout { padding: 40px 28px; }
}

/* ---------- Compare table ---------- */
.compare {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-elev);
}
.compare-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  border-bottom: 1px solid var(--line);
}
.compare-row:last-child { border-bottom: 0; }
.compare-row > div {
  padding: 20px 24px;
  font-size: 14.5px;
  color: var(--ink-dim);
}
.compare-row.header > div {
  background: rgba(255, 255, 255, 0.02);
  font-weight: 600;
  color: var(--ink);
  font-size: 13px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.compare-row.header > div:first-child { color: var(--ink-muted); text-transform: uppercase; }
.compare-row > div:first-child { color: var(--ink); font-weight: 500; }
.compare-row > div.dealt { color: var(--jade); font-weight: 600; background: var(--jade-soft); }
.compare-cell-no { color: var(--ink-faint); }

@media (max-width: 720px) {
  .compare-row { grid-template-columns: 1.5fr 1fr 1fr 1fr; font-size: 13px; }
  .compare-row > div { padding: 14px 12px; font-size: 13px; }
}

/* ---------- How it works (numbered steps) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.step {
  padding: 32px 24px 32px 0;
  border-left: 1px solid var(--line);
  padding-left: 28px;
  counter-increment: step;
  position: relative;
}
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute;
  top: 32px; left: 28px;
  font-size: 11px;
  font-weight: 600;
  color: var(--jade);
  letter-spacing: 0.1em;
  font-variant-numeric: tabular-nums;
}
.step h3 {
  margin-top: 32px;
  margin-bottom: 10px;
}
.step p { font-size: 14.5px; }

@media (max-width: 860px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Final CTA ---------- */
.final-cta {
  text-align: center;
  padding: 120px 0;
}
.final-cta h2 { margin-bottom: 24px; }
.final-cta p.lead { margin: 0 auto 40px; }
.final-cta .btn { margin: 0 8px; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line);
  padding: 64px 0 40px;
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand { max-width: 320px; }
.footer-brand p {
  color: var(--ink-muted);
  font-size: 14px;
  margin-top: 16px;
  line-height: 1.6;
}
.footer-col h4 {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 18px;
  font-weight: 600;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a {
  color: var(--ink-dim);
  font-size: 14px;
  transition: color 180ms var(--ease);
}
.footer-col a:hover { color: var(--jade); }
.footer-bottom {
  padding-top: 28px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: var(--ink-muted);
  font-size: 13px;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-brand { grid-column: auto; }
}

/* ---------- Legal pages ---------- */
.legal { padding: 80px 0 120px; }
.legal h1 {
  font-size: clamp(36px, 5vw, 52px);
  margin-bottom: 16px;
}
.legal .updated {
  color: var(--ink-muted);
  font-size: 14px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.legal h2 {
  font-size: 22px;
  margin-top: 44px;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.legal p {
  color: var(--ink-dim);
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.7;
}
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--jade); border-bottom: 1px solid transparent; transition: border-color 180ms var(--ease); }
.legal a:hover { border-bottom-color: var(--jade); }
.legal ul { margin: 16px 0; padding-left: 20px; }
.legal li { color: var(--ink-dim); margin-bottom: 10px; line-height: 1.7; }

/* ---------- Blog ---------- */
.blog-list { padding: 80px 0; }
.blog-intro { margin-bottom: 64px; max-width: 720px; }
.blog-intro h1 {
  font-size: clamp(40px, 5vw, 60px);
  margin-bottom: 20px;
}
.blog-intro p.lead { font-size: 19px; }

.blog-grid { display: grid; gap: 2px; background: var(--line); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--line); }
.blog-card {
  background: var(--bg);
  padding: 40px;
  display: block;
  transition: background 200ms var(--ease);
}
.blog-card:hover { background: var(--bg-elev); }
.blog-card time {
  color: var(--ink-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.blog-card h3 {
  font-size: 24px;
  margin-top: 10px;
  margin-bottom: 12px;
}
.blog-card p { color: var(--ink-dim); font-size: 15px; }

.blog-post {
  padding: 64px 0 100px;
  max-width: 720px;
  margin: 0 auto;
}
.blog-post .wrap-narrow > time {
  color: var(--ink-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  display: block;
  margin-bottom: 20px;
}
.blog-post h1 {
  font-size: clamp(32px, 4.5vw, 48px);
  margin-bottom: 32px;
  line-height: 1.1;
}
.blog-post p.lede {
  font-size: 20px;
  line-height: 1.55;
  color: var(--ink);
  margin-bottom: 40px;
  font-weight: 400;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.blog-post h2 {
  font-size: 26px;
  margin-top: 44px;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.blog-post h3 {
  font-size: 19px;
  margin-top: 32px;
  margin-bottom: 12px;
}
.blog-post p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-dim);
  margin-bottom: 18px;
}
.blog-post ul { margin: 18px 0; padding-left: 22px; }
.blog-post li { color: var(--ink-dim); margin-bottom: 10px; font-size: 17px; line-height: 1.7; }
.blog-post strong { color: var(--ink); font-weight: 600; }
.blog-post a { color: var(--jade); border-bottom: 1px solid rgba(69, 184, 136, 0.3); }
.blog-post a:hover { border-bottom-color: var(--jade); }
.blog-post blockquote {
  margin: 32px 0;
  padding: 24px 32px;
  border-left: 3px solid var(--jade);
  background: var(--jade-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
  color: var(--ink);
  font-style: italic;
  font-size: 18px;
}
.blog-post-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* ---------- About page ---------- */
.about-hero {
  padding: 80px 0 40px;
}
.about-hero h1 {
  font-size: clamp(40px, 5vw, 64px);
  margin-bottom: 32px;
  max-width: 18ch;
}
.about-hero p.lead {
  font-size: 20px;
  max-width: 58ch;
}
.about-section {
  padding: 64px 0;
  border-top: 1px solid var(--line);
}
.about-section h2 { margin-bottom: 20px; }
.about-section p { font-size: 17px; margin-bottom: 16px; max-width: 60ch; }

/* ---------- Utility reveals ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }

/* ---------- Confirmed / reset pages ---------- */
.mini-page {
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: 64px 24px;
}
.mini-card {
  max-width: 440px;
  text-align: center;
  padding: 48px 40px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg-elev);
}
.mini-card h1 { font-size: 32px; margin-bottom: 16px; }
.mini-card p { color: var(--ink-dim); margin-bottom: 24px; }
.mini-card input[type=password] {
  width: 100%;
  height: 52px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: var(--bg-input);
  border: 1px solid var(--line);
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  margin-bottom: 16px;
}
.mini-card input[type=password]:focus {
  outline: none;
  border-color: var(--jade);
}

/* ---------- Print ---------- */
@media print {
  body::before, body::after, .nav, footer { display: none; }
  body { background: white; color: black; }
}
