*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  color-scheme: dark;
  --page-bg: #0a0a0a;
  --page-surface: #171717;
  --page-text: #ffffff;
  --page-muted: rgba(255,255,255,.68);
  --page-soft: rgba(255,255,255,.08);
  --page-border: rgba(255,255,255,.14);
  --page-accent: #c084fc;
  --page-warm: #f09942;
  --page-green: #34d399;
}

html {
  background: var(--page-bg);
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--page-bg);
  color: var(--page-text);
  font-family: system-ui, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
}

/* ============================================================
     RunOutNow landing. All styles scoped under .ron so they never
     leak into Tilda and Tilda never leaks in. Values come straight
     from the app design tokens (sky stops, severity layer, chip
     tones, glass, radii, type). No em-dash anywhere, ever.
     ============================================================ */
  .ron *, .ron *::before, .ron *::after { box-sizing: border-box; }
  .ron {
    /* base + text */
    --ink: #0a0a0a;
    --surface: #171717;
    --text: #ffffff;
    --text-2: rgba(255,255,255,.72);
    --text-3: rgba(255,255,255,.5);
    --accent: #c084fc;
    /* glass card */
    --glass-fill: rgba(255,255,255,.10);
    --glass-border: rgba(255,255,255,.15);
    /* sky stops (app ambient.ts) */
    --tw-top: #15112c;   /* twilight, hero */
    --tw-mid: #3a1f53;
    --tw-bot: #451f51;
    --day-top: #1f7ad6;  /* clear day */
    --day-bot: #89bfe6;

    margin: 0;
    color: var(--text);
    background: var(--ink);
    font-family: system-ui, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    font-size: 16px;
  }
  .ron p { margin: 0; }
  .ron h1, .ron h2, .ron h3 { margin: 0; font-weight: 700; letter-spacing: 0; line-height: 1.08; }
  .ron a { color: inherit; }
  .ron img, .ron svg { display: block; }
  .ron ::selection { background: rgba(192,132,252,.35); }

  /* layout */
  .ron-wrap { max-width: 1120px; margin: 0 auto; padding-left: clamp(1.25rem, 5vw, 3rem); padding-right: clamp(1.25rem, 5vw, 3rem); }
  .ron-section { padding-top: clamp(3.5rem, 9vw, 7rem); padding-bottom: clamp(3.5rem, 9vw, 7rem); }
  .ron-hero + .ron-section { padding-top: 1.5rem; }
  .ron-accent { color: var(--accent); }

  /* lockup */
  .ron-lockup { display: inline-flex; align-items: center; gap: .75rem; }
  .ron-lockup .mark { width: clamp(34px, 7vw, 42px); height: auto; }
  .ron-brand-icon {
    width: clamp(40px, 5vw, 48px);
    height: clamp(40px, 5vw, 48px);
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 24px rgba(0,0,0,.22);
  }
  .ron-word { font-size: clamp(1.3rem, 4.5vw, 1.7rem); font-weight: 700; letter-spacing: 0; white-space: nowrap; }

  /* hero */
  .ron-hero {
    position: relative;
    background:
      radial-gradient(120% 80% at 80% 0%, rgba(192,132,252,.12) 0%, transparent 55%),
      linear-gradient(180deg, var(--tw-top) 0%, var(--tw-mid) 46%, var(--tw-bot) 76%, var(--ink) 100%);
    overflow: hidden;
  }
  .ron-hero-top { padding-top: clamp(1.75rem, 4vw, 2.5rem); }
  .ron-hero-grid { display: grid; gap: clamp(2rem, 6vw, 3.5rem); align-items: center; margin-top: clamp(2rem, 5vw, 3rem); }
  @media (min-width: 860px) {
    .ron-hero-grid { grid-template-columns: 1.05fr .95fr; align-items: start; }
    .ron-hero-text { padding-top: clamp(3.5rem, 11vh, 7rem); }
  }

  .ron-h1 { font-size: clamp(2.4rem, 8.5vw, 4.25rem); }
  .ron-sub { margin-top: clamp(1.45rem, 3vw, 2.05rem); font-size: clamp(1.02rem, 2.4vw, 1.22rem); color: var(--text-2); max-width: 34ch; }
  .ron-hero-text { text-align: center; }
  @media (min-width: 860px) { .ron-hero-text { text-align: left; } .ron-hero-text .ron-sub { margin-left: 0; margin-right: 0; } }
  .ron-hero-text .ron-sub { margin-right: auto; }
  @media (max-width: 859px) { .ron-hero-text .ron-sub { margin-left: auto; } }

  .ron-cta-row { margin-top: clamp(2rem, 4vw, 2.75rem); display: flex; flex-direction: column; align-items: center; gap: 1rem; }
  @media (min-width: 860px) { .ron-cta-row { align-items: flex-start; } }

  .ron a.ron-cta {
    display: inline-flex; align-items: center; gap: .55rem;
    background: #ffffff; color: #171717;
    font-size: clamp(1rem, 2.2vw, 1.12rem); font-weight: 700;
    padding: .95rem 1.6rem; border-radius: 16px; text-decoration: none;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,.5), 0 8px 10px -6px rgba(0,0,0,.4);
    transition: transform .15s ease, box-shadow .15s ease;
  }
  .ron-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -6px rgba(0,0,0,.55); }
  .ron-cta:active { transform: translateY(0); }
  .ron-cta svg { width: 20px; height: 20px; }
  .ron-fineprint { font-size: .85rem; color: var(--text-3); }

  .ron-hero-proof {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: center;
    margin-top: 1.65rem;
  }
  @media (min-width: 860px) { .ron-hero-proof { justify-content: flex-start; } }
  .ron-hero-proof span {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: .42rem .75rem;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 9999px;
    background: rgba(0,0,0,.18);
    color: rgba(255,255,255,.82);
    font-size: .86rem;
    font-weight: 650;
  }

  .ron-shot {
    margin: 0;
    display: grid;
    gap: .8rem;
    justify-items: center;
  }
  .ron-shot img {
    width: min(100%, 390px);
    height: auto;
    border-radius: 30px;
    border: 1px solid rgba(255,255,255,.14);
    background: #050505;
    box-shadow: 0 34px 80px -36px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.04);
  }
  .ron-shot figcaption {
    max-width: 34ch;
    color: var(--text-3);
    font-size: .88rem;
    text-align: center;
  }
  .ron-shot-hero {
    position: relative;
    overflow: hidden;
    border-radius: 34px 34px 0 0;
  }
  .ron-shot-hero::before {
    content: "";
    position: absolute;
    inset: 12% 0 8%;
    z-index: 0;
    border-radius: 9999px;
    background: radial-gradient(circle, rgba(240,153,66,.18), rgba(52,211,153,.12) 34%, transparent 68%);
    filter: blur(24px);
  }
  .ron-shot-hero img,
  .ron-shot-side img,
  .ron-shot-small img {
    position: relative;
    z-index: 1;
  }
  .ron-shot-side img { width: min(100%, 360px); }
  .ron-shot-small img { width: min(100%, 310px); }
  .ron-shot-hero img {
    width: min(100%, 360px);
    border-radius: 34px 34px 0 0;
    clip-path: polygon(
      0 0,
      100% 0,
      100% calc(100% - 18px),
      94% calc(100% - 10px),
      88% calc(100% - 18px),
      82% calc(100% - 9px),
      76% calc(100% - 18px),
      70% calc(100% - 11px),
      64% calc(100% - 18px),
      58% calc(100% - 10px),
      52% calc(100% - 18px),
      46% calc(100% - 9px),
      40% calc(100% - 18px),
      34% calc(100% - 11px),
      28% calc(100% - 18px),
      22% calc(100% - 10px),
      16% calc(100% - 18px),
      10% calc(100% - 11px),
      0 calc(100% - 18px)
    );
  }

  .ron-split {
    display: grid;
    gap: clamp(2.25rem, 6vw, 4.5rem);
    align-items: center;
  }
  @media (min-width: 880px) { .ron-split { grid-template-columns: minmax(0, 1fr) 420px; } }
  .ron-copy { min-width: 0; }

  .ron-feature-grid,
  .ron-pro-grid {
    display: grid;
    gap: .85rem;
    margin-top: clamp(1.5rem, 4vw, 2.2rem);
  }
  @media (min-width: 620px) {
    .ron-feature-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ron-pro-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  }
  .ron-feature-grid article,
  .ron-pro-grid article {
    min-width: 0;
    padding: 1.05rem;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background: rgba(255,255,255,.055);
  }
  .ron-feature-grid h3,
  .ron-pro-grid h3 {
    font-size: 1.02rem;
    line-height: 1.18;
  }
  .ron-feature-grid p,
  .ron-pro-grid p {
    margin-top: .55rem;
    color: var(--text-2);
    font-size: .94rem;
  }

  /* phone mockup */
  .ron-phone-stage { display: flex; justify-content: center; }
  .ron-phone {
    position: relative; width: 100%; max-width: 300px;
    border-radius: 38px; overflow: hidden;
    box-shadow: 0 35px 70px -20px rgba(0,0,0,.7);
    outline: 1px solid rgba(255,255,255,.14); outline-offset: -1px;
    isolation: isolate;
  }
  .ron-phone.float { box-shadow: 0 45px 90px -25px rgba(0,0,0,.75), 0 0 0 1px rgba(255,255,255,.06); }
  .ron-sky { position: absolute; inset: 0; z-index: 0; }
  .ron-sky-clear { background: linear-gradient(180deg, var(--day-top), var(--day-bot)); filter: saturate(1.15); }
  .ron-sky-twilight { background: linear-gradient(180deg, var(--tw-top), var(--tw-bot)); filter: saturate(1.08); }
  .ron-sky-storm { background: linear-gradient(180deg, var(--day-top), var(--day-bot)); filter: saturate(.5); }
  /* severity layers for the storm phone (app severityTheme.ts band 6) */
  .ron-tint { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(4,47,46,.35) 0%, rgba(2,6,23,.35) 50%, rgba(0,0,0,.5) 100%); }
  .ron-vignette { position: absolute; inset: 0; z-index: 2; background: radial-gradient(115% 100% at 50% 40%, transparent 32%, rgba(0,0,0,.62) 100%); }
  /* legibility scrim, always on */
  .ron-scrim { position: absolute; inset: 0; z-index: 3; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,.05) 50%, rgba(0,0,0,.35) 100%); }
  .ron-screen { position: relative; z-index: 4; padding: 1.4rem 1.15rem 1.25rem; color: #fff; }

  /* phone content bits */
  .ron-statusrow { display: flex; align-items: center; justify-content: space-between; font-size: .8rem; }
  .ron-statusrow .loc { display: inline-flex; align-items: center; gap: .35rem; font-weight: 600; }
  .ron-statusrow .upd { display: inline-flex; align-items: center; gap: .35rem; color: var(--text-2); }
  .ron-i { width: 16px; height: 16px; flex: none; }
  .ron-i-sm { width: 14px; height: 14px; flex: none; }

  .ron-seg-label { margin-top: 1.1rem; font-size: .72rem; color: var(--text-2); }
  .ron-seg { margin-top: .4rem; display: inline-flex; background: rgba(0,0,0,.25); border-radius: 9999px; padding: 4px; }
  .ron-seg button { border: 0; background: transparent; color: var(--text-2); font: inherit; font-size: .8rem; font-weight: 600; padding: .35rem .85rem; border-radius: 9999px; cursor: default; }
  .ron-seg button.on { background: #fff; color: #171717; }

  .ron-feels { margin-top: 1.25rem; }
  .ron-feels .lab { font-size: .8rem; color: var(--text-2); }
  .ron-feels .row { display: flex; align-items: flex-end; gap: .6rem; }
  .ron-feels .big { font-size: clamp(2.6rem, 13vw, 3.1rem); font-weight: 700; letter-spacing: 0; line-height: 1; }
  .ron-feels .air { padding-bottom: .35rem; font-size: .8rem; color: var(--text-2); }

  .ron-tiles { margin-top: 1rem; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }
  .ron-tile { border-radius: 16px; padding: .85rem; }
  .ron-tile .lab { display: inline-flex; align-items: center; gap: .35rem; font-size: .72rem; color: var(--text-2); }
  .ron-tile .val { margin-top: .45rem; font-size: 1.35rem; font-weight: 600; }
  .ron-tile .sub { font-size: .72rem; color: var(--text-2); }

  /* glass */
  .ron-glass { background: var(--glass-fill); border: 1px solid var(--glass-border); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }

  /* chips */
  .ron-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
  .ron-chip { display: inline-flex; align-items: center; gap: .4rem; border: 1px solid; border-radius: 9999px; padding: .35rem .7rem; font-size: .78rem; font-weight: 500; }
  .ron-chip.good  { background: rgba(52,211,153,.15); border-color: rgba(110,231,183,.30); color: #ecfdf5; }
  .ron-chip.warn  { background: rgba(251,191,36,.20); border-color: rgba(252,211,77,.30); color: #fffbeb; }
  .ron-chip.alarm { background: rgba(244,63,94,.25);  border-color: rgba(253,164,175,.40); color: #fff1f2; }
  .ron-chip.info  { background: rgba(255,255,255,.10); border-color: rgba(255,255,255,.20); color: rgba(255,255,255,.9); }

  /* wardrobe card */
  .ron-ward { border-radius: 24px; padding: 1.25rem 1.2rem; }
  .ron-ward .head { display: flex; align-items: center; gap: .5rem; }
  .ron-ward .head h3 { font-size: 1rem; font-weight: 600; letter-spacing: 0; }
  .ron-ward dl { margin: 1rem 0 0; display: grid; gap: .6rem; }
  .ron-ward .gear { display: flex; justify-content: space-between; gap: 1rem; font-size: .88rem; }
  .ron-ward .gear dt { color: var(--text-2); }
  .ron-ward .gear dd { margin: 0; text-align: right; font-weight: 600; }

  /* generic section content */
  .ron-eyebrow { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
  .ron-h2 { font-size: clamp(1.8rem, 5vw, 2.7rem); margin-top: .6rem; }
  .ron-lead { font-size: clamp(1.05rem, 2.5vw, 1.25rem); color: var(--text-2); margin-top: 1rem; max-width: 46ch; }

  /* manifesto */
  .ron-manifest { display: grid; gap: clamp(1rem, 2.5vw, 1.5rem); max-width: 40ch; }
  .ron-manifest p { font-size: clamp(1.25rem, 3.6vw, 1.7rem); font-weight: 600; letter-spacing: 0; line-height: 1.25; }
  .ron-manifest p.mute { color: var(--text-2); font-weight: 500; }
  .ron-manifest p.kick { color: var(--accent); }

  /* how-it-helps rows */
  .ron-help { display: grid; gap: clamp(3rem, 7vw, 5.5rem); }
  .ron-help-row { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
  @media (min-width: 820px) {
    .ron-help-row { grid-template-columns: 1fr 1fr; }
    .ron-help-row.flip .ron-help-visual { order: -1; }
  }
  .ron-help-visual { display: flex; justify-content: center; }
  .ron-num { display: inline-flex; align-items: center; justify-content: center; width: 2rem; height: 2rem; border-radius: 9999px; border: 1px solid var(--glass-border); background: var(--glass-fill); font-size: .9rem; font-weight: 700; color: var(--accent); }
  .ron-help-row.flip .ron-shot-small { order: -1; }
  @media (max-width: 819px) { .ron-help-row.flip .ron-shot-small { order: 0; } }
  .ron-proof-card {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    align-content: center;
    min-height: 220px;
    padding: clamp(1rem, 4vw, 1.5rem);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 8px;
    background:
      linear-gradient(135deg, rgba(52,211,153,.08), rgba(240,153,66,.06)),
      rgba(255,255,255,.04);
  }

  /* atmosphere contrast pair */
  .ron-atmo { text-align: center; }
  .ron-atmo .ron-lead { margin-left: auto; margin-right: auto; }
  .ron-pair { margin-top: clamp(2.5rem, 6vw, 3.5rem); display: grid; gap: clamp(1.5rem, 5vw, 2.5rem); justify-items: center; }
  @media (min-width: 720px) { .ron-pair { grid-template-columns: 1fr 1fr; align-items: start; max-width: 720px; margin-left: auto; margin-right: auto; } }
  .ron-pair figure { margin: 0; width: 100%; display: flex; flex-direction: column; align-items: center; }
  .ron-pair figcaption { margin-top: .9rem; font-size: .92rem; color: var(--text-2); display: inline-flex; align-items: center; gap: .4rem; }
  .ron-dot { width: .55rem; height: .55rem; border-radius: 9999px; flex: none; }

  /* mini screen used inside the contrast pair (shorter than the full mockup) */
  .ron-mini .ron-screen { padding: 1.3rem 1.1rem 1.5rem; min-height: 300px; display: flex; flex-direction: column; }
  .ron-mini .ron-feels { margin-top: auto; }

  /* CSS rain, only in the atmosphere demo (app PrecipField stand-in) */
  .ron-rain { position: absolute; inset: 0; z-index: 3; overflow: hidden; pointer-events: none; }
  .ron-rain i { position: absolute; top: -25%; width: 1px; height: 16%; background: linear-gradient(transparent, rgba(255,255,255,.45)); transform: rotate(14deg); animation: ron-fall linear infinite; }
  @keyframes ron-fall { to { transform: translate(-22px, 820%) rotate(14deg); } }

  /* beginners + creator + final */
  .ron-soft { background: linear-gradient(180deg, rgba(255,255,255,.03), transparent); border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
  .ron-beginners { max-width: 38ch; }
  .ron-beginners h2 { font-size: clamp(1.5rem, 4vw, 2.1rem); }
  .ron-beginners p { margin-top: 1rem; font-size: clamp(1.05rem, 2.5vw, 1.2rem); color: var(--text-2); }

  .ron-creator { max-width: 52ch; }
  .ron-creator p + p { margin-top: 1rem; }
  .ron-creator .body { margin-top: 1rem; font-size: clamp(1.05rem, 2.5vw, 1.22rem); color: var(--text); }
  .ron-creator .body .ron-accent { font-weight: 600; }
  .ron-creator .personal { color: var(--text-2); }
  .ron-links { margin-top: 1.6rem; display: flex; flex-wrap: wrap; gap: .8rem; }
  .ron-link { display: inline-flex; align-items: center; gap: .45rem; padding: .6rem 1rem; border-radius: 9999px; border: 1px solid var(--glass-border); background: rgba(255,255,255,.05); color: var(--text); text-decoration: none; font-size: .92rem; font-weight: 600; transition: background .15s ease, border-color .15s ease; }
  .ron-link:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }

  .ron-final { position: relative; text-align: center; background: radial-gradient(90% 120% at 50% 100%, rgba(192,132,252,.16) 0%, transparent 60%); }
  .ron-final h2 { font-size: clamp(1.9rem, 5.5vw, 3rem); }
  .ron-final .ron-cta-row { align-items: center; }
  .ron-microhero { margin-top: .8rem; font-size: 1rem; color: var(--text-2); }

  /* footer */
  .ron-footer { border-top: 1px solid rgba(255,255,255,.08); }
  .ron-footer-inner { padding: clamp(2rem, 4vw, 2.75rem) 0; display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; justify-content: space-between; }
  .ron-foot-links { display: flex; flex-wrap: wrap; gap: 1.25rem; }
  .ron-foot-links a { color: var(--text-2); text-decoration: none; font-size: .92rem; }
  .ron-foot-links a:hover { color: var(--text); }
  .ron-foot-meta { font-size: .82rem; color: var(--text-3); }
  .ron-footer-mark { width: 30px; }
  .ron-footer-word { font-size: 1.05rem; }

  .ron-pro {
    background:
      radial-gradient(80% 120% at 15% 10%, rgba(240,153,66,.12), transparent 50%),
      radial-gradient(80% 120% at 85% 0%, rgba(52,211,153,.10), transparent 45%),
      #0f0f10;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .ron-pro-head {
    max-width: 660px;
  }
  .ron-pro-grid article {
    background: rgba(0,0,0,.22);
  }

  @media (max-width: 720px) {
    .ron-wrap { padding-left: 1rem; padding-right: 1rem; }
    .ron-section { padding-top: 3rem; padding-bottom: 3rem; }
    .ron-hero-grid { gap: 2rem; }
    .ron-shot img { border-radius: 24px; }
    .ron-shot-hero {
      width: min(100%, 390px);
      justify-self: center;
      border-radius: 28px 28px 0 0;
    }
    .ron-shot-hero img { width: min(72%, 280px); border-radius: 28px 28px 0 0; }
    .ron-shot-side img,
    .ron-shot-small img { width: min(100%, 330px); }
    .ron-cta-row { align-items: stretch; }
    .ron a.ron-cta { justify-content: center; width: 100%; max-width: 360px; margin-left: auto; margin-right: auto; }
    .ron-final .ron-cta-row { align-items: center; }
    .ron-hero-text { text-align: left; }
    .ron-hero-text .ron-sub { margin-left: 0; }
    .ron-hero-proof { justify-content: flex-start; }
    .ron-footer-inner { padding-left: 1rem; padding-right: 1rem; }
  }

  /* focus + motion */
  .ron a:focus-visible, .ron button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
  @media (prefers-reduced-motion: reduce) {
    .ron-rain i { animation: none; opacity: .5; }
    .ron-cta { transition: none; }
  }

/* Site pages: blog, posts, docs */
.site-page {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 1.25rem clamp(1.25rem, 5vw, 3rem) clamp(4rem, 9vw, 7rem);
}

.site-header,
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.site-header {
  min-height: 76px;
}

.site-logo {
  color: #fff;
  font-size: clamp(1.15rem, 4vw, 1.45rem);
  font-weight: 750;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
}

.site-logo span span {
  color: var(--page-accent);
}

.site-header nav,
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: .65rem 1rem;
}

.site-header nav a,
.site-footer nav a,
.back-link {
  color: var(--page-muted);
  text-decoration: none;
  font-size: .95rem;
}

.site-header nav a:hover,
.site-footer nav a:hover,
.back-link:hover {
  color: var(--page-text);
}

.site-header .site-cta {
  color: #171717;
  background: #fff;
  border-radius: 9999px;
  padding: .55rem .9rem;
  font-weight: 700;
}

.page-hero,
.post-header {
  max-width: 760px;
  padding: clamp(3rem, 9vw, 6rem) 0 clamp(2.5rem, 7vw, 4.5rem);
}

.page-hero h1,
.post-header h1 {
  margin: .65rem 0 0;
  font-size: clamp(2.2rem, 7vw, 4.1rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.page-hero p,
.post-header p {
  margin: 1rem 0 0;
  max-width: 58ch;
  color: var(--page-muted);
  font-size: clamp(1.03rem, 2.2vw, 1.18rem);
}

.post-list {
  display: grid;
  gap: .9rem;
  max-width: 860px;
}

.post-card a,
.empty-state {
  display: block;
  padding: clamp(1rem, 3vw, 1.35rem);
  border: 1px solid var(--page-border);
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255,255,255,.07), rgba(240,153,66,.045));
  text-decoration: none;
}

.post-card h2,
.empty-state h2 {
  margin: .45rem 0 0;
  font-size: clamp(1.25rem, 3.5vw, 1.7rem);
  line-height: 1.16;
  letter-spacing: 0;
}

.post-card p,
.empty-state p {
  margin: .65rem 0 0;
  color: var(--page-muted);
}

.post-card time,
.post-card span,
.post-header time,
.post-tags li {
  color: rgba(255,255,255,.55);
  font-size: .86rem;
}

.post-card span {
  display: inline-flex;
  margin-top: .9rem;
}

.post {
  max-width: 760px;
}

.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin: 1.2rem 0 0;
  padding: 0;
  list-style: none;
}

.post-tags li {
  border: 1px solid rgba(52,211,153,.35);
  background: rgba(52,211,153,.12);
  border-radius: 9999px;
  padding: .25rem .6rem;
  color: rgba(236,253,245,.88);
}

.post-body {
  color: rgba(255,255,255,.86);
  font-size: clamp(1.02rem, 2vw, 1.12rem);
}

.post-body > * + * {
  margin-top: 1.05rem;
}

.post-body h2,
.post-body h3,
.post-body h4 {
  color: var(--page-text);
  margin-top: 2rem;
  line-height: 1.14;
  letter-spacing: 0;
}

.post-body h2 {
  font-size: clamp(1.55rem, 4vw, 2.2rem);
}

.post-body h3 {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
}

.post-body a {
  color: var(--page-warm);
  text-underline-offset: .18em;
}

.post-body blockquote {
  margin-left: 0;
  padding-left: 1rem;
  border-left: 3px solid var(--page-accent);
  color: rgba(255,255,255,.74);
}

.post-body code,
.post-body pre {
  background: rgba(255,255,255,.08);
  border-radius: 6px;
}

.post-body code {
  padding: .08rem .28rem;
}

.post-body pre {
  overflow-x: auto;
  padding: 1rem;
}

.site-footer {
  width: min(100%, 1120px);
  margin: 0 auto;
  padding: 2rem clamp(1.25rem, 5vw, 3rem);
  border-top: 1px solid var(--page-soft);
  color: rgba(255,255,255,.5);
}

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header nav,
  .site-footer nav {
    justify-content: flex-start;
  }
}
