/* ==========================================================================
   ViteTech — site styles
   Tokens first; change --accent to re-skin the whole site.
   ========================================================================== */
:root {
  /* Palette of the Unreal Engine Vite site */
  --bg: #19191c;
  --bg-deep: #000;
  --surface: #222327;
  --surface-2: #292b2f;
  --surface-3: #2f3237;
  --panel-top: #1d2226;
  --panel-bottom: #131619;
  --heading: #fff;
  --text: #e7eaed;
  --soft: #b9c0c6;
  --muted: #9aa3aa;
  --line: #384147;
  --hair: rgba(255, 255, 255, .1);
  --accent: #00aeef;
  --accent-hover: #33bef2;
  --accent-glow: rgba(0, 174, 239, .22);
  --accent-ink: #06181f;
  --mark-base: #7f8b94;      /* chart bars that are not ours */

  --wrap: 1160px;
  --wrap-wide: 1305px;
  --gutter: 20px;
  --header-h: 70px;

  --font: Roboto, system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --mono: "Roboto Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}
/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.5 var(--font);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img, svg, iframe { max-width: 100%; }
img { height: auto; }
a { color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure, dl, dd { margin: 0; }
h1, h2, h3, h4 { color: var(--heading); }
ul, ol { padding: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--wide { max-width: calc(var(--wrap-wide) + var(--gutter) * 2); }

.skip-link { position: absolute; left: -999px; top: 0; z-index: 100; padding: 12px 18px; background: var(--accent); color: var(--accent-ink); font-weight: 700; }
.skip-link:focus { left: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 15px 30px;
  background: var(--accent);
  color: var(--accent-ink);
  font: 700 14px/1.25 var(--font);
  text-decoration: none;
  border: 0;
  border-radius: 2px;
  cursor: pointer;
  transition: background-color .15s ease;
}
.btn:hover { background: var(--accent-hover); }
.btn--lg { padding: 16px 40px; font-size: 16px; line-height: 1.5; }
.btn--caps { text-transform: uppercase; letter-spacing: .04em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--bg-deep); border-bottom: 1px solid #20262a; }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__mark { display: block; width: 46px; height: 46px; }
.brand__name { font-size: 20px; font-weight: 400; letter-spacing: .16em; line-height: 1; text-transform: uppercase; color: var(--heading); }
.brand__name b { color: var(--accent); font-weight: 700; }

.site-nav__list { display: flex; align-items: stretch; list-style: none; }
.site-nav__item { position: relative; }
.site-nav__link {
  display: block;
  padding: 0 15px;
  background: none;
  border: 0;
  border-bottom: 2px solid transparent;
  font-size: 14px;
  line-height: calc(var(--header-h) - 2px);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}
.site-nav__link:hover, .site-nav__item.is-current > .site-nav__link { color: var(--accent); }
.site-nav__item.is-current > .site-nav__link { border-bottom-color: var(--accent); }
.site-nav__caret { font-size: 10px; margin-left: 2px; }

.site-nav__menu {
  position: absolute; top: 100%; left: 0;
  min-width: 220px;
  padding: 8px 0;
  list-style: none;
  background: var(--bg-deep);
  border: 1px solid var(--line);
  display: none;
}
.has-menu:hover > .site-nav__menu,
.has-menu:focus-within > .site-nav__menu,
.has-menu.is-open > .site-nav__menu { display: block; }
.site-nav__menu a { display: block; padding: 10px 20px; font-size: 14px; text-decoration: none; }
.site-nav__menu a:hover, .site-nav__menu a[aria-current] { color: var(--accent); }

.site-nav__item--cta { margin-left: 15px; }
.site-nav__cta {
  display: block;
  padding: 0 18px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 14px; font-weight: 700;
  line-height: var(--header-h);
  text-decoration: none;
  white-space: nowrap;
}
.site-nav__cta:hover { background: var(--accent-hover); }

.nav-toggle { display: none; width: 44px; height: 44px; padding: 10px; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: #fff; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--bg-deep); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: block; }
  .site-nav__list { flex-direction: column; padding: 8px var(--gutter) 20px; }
  .site-nav__link { width: 100%; padding: 0; text-align: left; line-height: 48px; border-bottom: 0; }
  .site-nav__menu { position: static; display: block; min-width: 0; padding: 0 0 8px 16px; border: 0; }
  .site-nav__item--cta { margin: 12px 0 0; }
  .site-nav__cta { text-align: center; line-height: 48px; }
}

/* ---------- Hero (home) ---------- */
.hero {
  position: relative;
  display: flex; align-items: center;
  min-height: 62vh;
  padding: 90px 0;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(19, 22, 25, .1) 40%, var(--bg) 100%),
    url("../img/hero.svg") center / cover no-repeat,
    var(--panel-bottom);
}
.hero__title { font-size: clamp(40px, 6.4vw, 75px); line-height: 1.2; font-weight: 700; }
.hero__text { max-width: 800px; margin: 40px auto 0; color: var(--soft); }
.hero__sub { margin-top: 22px; font-size: 18px; font-weight: 700; color: var(--heading); }
.hero .btn { margin-top: 36px; }

/* ---------- Page hero (technology pages) ---------- */
.page-hero {
  position: relative;
  display: flex; align-items: center;
  min-height: 420px;
  padding: 70px 0;
  background:
    linear-gradient(90deg, rgba(19, 22, 25, .95) 0%, rgba(19, 22, 25, .74) 55%, rgba(19, 22, 25, .5) 100%),
    var(--hero-art, url("../img/hero.svg")) center / cover no-repeat,
    var(--panel-bottom);
  border-bottom: 1px solid var(--line);
}
.page-hero__kicker { margin-bottom: 14px; font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.page-hero__title { font-size: clamp(40px, 6vw, 68px); line-height: 1.15; font-weight: 700; color: var(--accent); }
.page-hero__title span { color: var(--heading); }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section--tight { padding: 40px 0; }
.section--flush { padding-top: 0; }
.section__title { margin-bottom: 40px; font-size: 36px; line-height: 42px; font-weight: 700; color: var(--accent); text-align: center; }
.section__sub { margin: -22px auto 40px; font-size: 22px; line-height: 30px; font-weight: 500; text-align: center; }
.lead { max-width: 800px; margin-inline: auto; text-align: center; color: var(--soft); }
.lead + .lead { margin-top: 20px; }
.section__actions { margin-top: 40px; text-align: center; }
.note { max-width: 900px; margin: 28px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }
.note a { color: var(--heading); }
.note--center { margin-inline: auto; text-align: center; }

/* What each technology replaces */
.swaps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 56px; list-style: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.swaps li { padding: 28px 24px; text-align: center; }
.swaps li + li { border-left: 1px solid var(--hair); }
.swaps a { text-decoration: none; }
.swaps__from { display: block; font-size: 14px; color: var(--muted); }
.swaps__to { display: block; margin-top: 6px; font-size: 22px; line-height: 30px; font-weight: 700; color: var(--heading); }
.swaps a:hover .swaps__to { color: var(--accent); }
@media (max-width: 760px) {
  .swaps { grid-template-columns: repeat(2, 1fr); }
  .swaps li:nth-child(odd) { border-left: 0; }
  .swaps li:nth-child(n+3) { border-top: 1px solid var(--hair); }
}

/* ---------- Blog cards ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 40px 0 32px; }
.filter {
  padding: 6px 14px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 13px; line-height: 1; font-weight: 500;
  text-transform: capitalize;
  cursor: pointer;
}
.filter:hover { color: var(--heading); border-color: var(--heading); }
.filter.is-active { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); font-weight: 600; }

.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { background: var(--surface); }
.post-card[hidden] { display: none; }
.post-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.post-card__image { display: block; aspect-ratio: 16 / 9; background: var(--surface-3); overflow: hidden; }
.post-card__image img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.post-card__link:hover .post-card__image img { transform: scale(1.04); }
.post-card__body { display: flex; flex-direction: column; gap: 12px; padding: 20px; }
.post-card__title { font-size: 18px; line-height: 1.4; font-weight: 700; color: var(--accent); }
.post-card__excerpt { font-size: 14px; line-height: 1.6; font-weight: 500; color: var(--text); }
.post-grid__empty { grid-column: 1 / -1; padding: 40px 0; text-align: center; color: var(--muted); }

.featured { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 48px; margin-bottom: 40px; text-decoration: none; }
.featured__image { display: block; aspect-ratio: 16 / 9; background: var(--surface-3); overflow: hidden; }
.featured__image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.featured__kicker { display: block; margin-bottom: 14px; font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.featured__title { display: block; font-size: 28px; line-height: 38px; font-weight: 700; color: var(--accent); }
.featured__excerpt { display: block; margin-top: 16px; color: var(--soft); }
.featured__more { display: inline-block; margin-top: 22px; color: var(--heading); font-size: 14px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; border-bottom: 2px solid var(--accent); padding-bottom: 3px; }
.featured:hover .featured__more { color: var(--accent); }

@media (max-width: 960px) {
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 620px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Split section ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 60px; }
.split__title { font-size: clamp(40px, 5.2vw, 64px); line-height: 1.15; font-weight: 700; color: var(--accent); }
.split__text { margin-top: 22px; font-size: 18px; line-height: 27px; color: var(--soft); }
.split .btn { margin-top: 30px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- Technology cards ---------- */
.cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--3 .card { padding: 36px 32px; min-height: 340px; }
.card {
  display: flex; flex-direction: column; align-items: flex-start;
  min-height: 380px;
  padding: 48px;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 150% at 8% 0%, var(--accent-glow) 0%, rgba(0, 174, 239, 0) 58%),
    linear-gradient(180deg, rgba(29, 34, 38, .86), rgba(19, 22, 25, .96)),
    var(--card-art, none) center / cover no-repeat,
    var(--panel-bottom);
}
.card__kicker { margin-bottom: 12px; font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.card__title { font-size: 28px; line-height: 38px; font-weight: 700; }
.card__text { margin: 18px 0 32px; color: var(--soft); }
.card .btn { margin-top: auto; }
@media (max-width: 1000px) { .cards--3 { grid-template-columns: 1fr; } .cards--3 .card { min-height: 0; } }
@media (max-width: 760px) { .cards { grid-template-columns: 1fr; } .card { min-height: 0; padding: 32px 24px; } }

/* ---------- Figures: stat tiles ---------- */
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; }
.stats--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stats > li { display: flex; }
.stats > li > .stat { flex: 1; }
.stat { display: flex; flex-direction: column; padding: 28px 24px; background: var(--surface); text-decoration: none; }
.stat__label { font-size: 14px; font-weight: 500; color: var(--muted); }
.stat__value { margin: 10px 0 12px; color: var(--heading); font-size: 36px; line-height: 1.1; font-weight: 700; letter-spacing: -.01em; white-space: nowrap; }
.stats--3 .stat__value { font-size: clamp(36px, 3.6vw, 48px); }
.stat__value small { font-size: .5em; font-weight: 500; letter-spacing: 0; }
.stat__note { font-size: 14px; line-height: 1.5; color: var(--muted); }
a.stat:hover { background: var(--surface-2); }
@media (max-width: 1000px) { .stats, .stats--3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .stats, .stats--3 { grid-template-columns: 1fr; } }

/* ---------- Charts: horizontal bars ----------
   Set --max on the .chart to the largest value; each .bar carries --v. */
.chart { padding: 28px 24px; background: var(--surface); }
.chart + .chart, .stats + .chart, .chart + .stats { margin-top: 24px; }
.chart__title { display: block; color: var(--heading); font-size: 18px; line-height: 1.4; font-weight: 700; }
.chart__sub { display: block; margin-top: 2px; font-size: 14px; color: var(--muted); }
.chart__legend { display: flex; flex-wrap: wrap; gap: 20px; margin: 16px 0 4px; list-style: none; font-size: 14px; color: var(--muted); }
.chart__legend li { display: inline-flex; align-items: center; gap: 8px; }
.swatch { display: inline-block; width: 12px; height: 12px; border-radius: 2px; background: var(--mark-base); }
.swatch--ours { background: var(--accent); }
.chart__group { margin-top: 22px; }
.chart__group h4 { margin-bottom: 8px; font-size: 14px; font-weight: 500; }
.chart__group h4 small { font-size: 14px; font-weight: 400; color: var(--muted); }
.bar { display: grid; grid-template-columns: 150px minmax(0, 1fr); align-items: center; gap: 12px; padding: 4px 0; font-size: 14px; }
.bar__label { color: var(--muted); }
.bar__track { display: flex; align-items: center; gap: 10px; min-width: 0; border-left: 1px solid var(--line); }
.bar__fill { flex: 0 0 auto; width: calc(var(--v) / var(--max) * (100% - 90px)); min-width: 2px; height: 14px; border-radius: 0 4px 4px 0; background: var(--mark-base); }
.bar__value { white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar--ours .bar__fill { background: var(--accent); }
.bar--ours .bar__label, .bar--ours .bar__value { color: var(--heading); font-weight: 700; }
@media (max-width: 560px) { .bar { grid-template-columns: 1fr; gap: 4px; } }

/* ---------- Feature rows (technology pages) ---------- */
.intro { max-width: 900px; font-size: 18px; line-height: 27px; color: var(--soft); }
.features { display: grid; grid-template-columns: minmax(0, 1fr) 420px; gap: 60px; align-items: start; margin-top: 56px; }
.features__media { position: sticky; top: calc(var(--header-h) + 24px); }
.feature + .feature { margin-top: 44px; }
.feature h2 { margin-bottom: 18px; font-size: 36px; line-height: 42px; font-weight: 700; color: var(--accent); }
.feature p + p { margin-top: 14px; }
.feature ul { margin: 14px 0 0 20px; }
.feature li + li { margin-top: 6px; }
.feature li::marker { color: var(--accent); }
@media (max-width: 1000px) {
  .features { grid-template-columns: 1fr; gap: 36px; }
  .features__media { position: static; order: -1; }
}

/* ---------- Video poster ---------- */
.video { position: relative; display: block; aspect-ratio: 16 / 9; background: var(--surface); overflow: hidden; text-decoration: none; }
.video__poster { display: block; width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .2s ease; }
.video:hover .video__poster { opacity: 1; }
.video__play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(0, 0, 0, .75); border: 2px solid #fff; }
.video__play::after { content: ""; position: absolute; left: 28px; top: 21px; border-style: solid; border-width: 13px 0 13px 21px; border-color: transparent transparent transparent #fff; }
.video:hover .video__play { background: var(--accent); border-color: var(--accent); }
.video:hover .video__play::after { border-left-color: var(--accent-ink); }
.video__title { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 16px 12px; color: #fff; font-size: 14px; font-weight: 500; background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .85)); }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video--wide { max-width: 900px; margin-inline: auto; }

/* ---------- Images with captions ---------- */
.figure img { display: block; width: 100%; border: 1px solid var(--hair); }
.figure figcaption { margin-top: 10px; font-size: 14px; line-height: 1.5; color: var(--muted); }
.figure--light img { background: #fff; }
.figure-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
.figure-grid + .figure, .figure + .figure-grid, .stats + .figure, .chart + .figure, .figure + .chart, .figure + .stats, .chart + .figure-grid { margin-top: 24px; }
@media (max-width: 760px) { .figure-grid { grid-template-columns: 1fr; } }

.block-title { margin: 56px 0 8px; color: var(--heading); font-size: 22px; line-height: 30px; font-weight: 700; }
.block-title:first-child { margin-top: 0; }
.block-text { max-width: 900px; margin-bottom: 24px; }

/* ---------- Tables ---------- */
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { padding: 18px 20px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--hair); }
.table thead th { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line); }
.table tbody th { color: var(--heading); font-size: 22px; line-height: 30px; font-weight: 700; white-space: nowrap; }
.table-scroll { overflow-x: auto; }

/* Four-up plain tiles */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; list-style: none; }
.tiles li { padding: 28px 24px; background: var(--surface); border-top: 2px solid var(--accent); color: var(--heading); font-size: 22px; line-height: 30px; font-weight: 700; }
@media (max-width: 900px) { .tiles { grid-template-columns: repeat(2, 1fr); } }

/* ---------- FAQ ---------- */
.faq { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; align-items: start; }
.faq__col { border-bottom: 1px solid var(--line); }
.faq__item { border-top: 1px solid var(--line); }
.faq__item summary { position: relative; padding: 28px 60px 28px 0; color: var(--heading); font-size: 18px; line-height: 27px; font-weight: 500; list-style: none; cursor: pointer; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; position: absolute; right: 8px; top: 24px; font-size: 28px; line-height: 1; font-weight: 400; color: var(--accent); }
.faq__item[open] summary::after { content: "\2212"; }
.faq__item summary:hover { color: var(--accent); }
.faq__answer { padding: 0 60px 28px 0; }
.faq__answer a { font-weight: 500; }
@media (max-width: 800px) { .faq { grid-template-columns: 1fr; } .faq__col + .faq__col { border-top: 0; margin-top: -1px; } }

/* ---------- Call to action band ---------- */
.cta-band {
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  background:
    radial-gradient(70% 120% at 50% 0%, var(--accent-glow) 0%, rgba(0, 174, 239, 0) 62%),
    linear-gradient(180deg, var(--panel-top), var(--panel-bottom));
}
.cta-band .btn { margin-top: 36px; }

/* ---------- Footer ---------- */
.site-footer { padding: 50px 0 40px; background: var(--accent); color: var(--accent-ink); }
.site-footer__inner { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.brand--footer .brand__name, .brand--footer .brand__name b { color: var(--accent-ink); }
.site-footer__brand p { margin-top: 18px; max-width: 300px; }
.site-footer__brand p + p { margin-top: 10px; font-size: 14px; }
.site-footer__col h2 { margin-bottom: 10px; font-size: 16px; line-height: 1.1; font-weight: 700; color: var(--accent-ink); }
.site-footer__col ul { list-style: none; }
.site-footer__col a { line-height: 34px; text-decoration: none; }
.site-footer__col a:hover { text-decoration: underline; }
.site-footer :focus-visible { outline-color: var(--accent-ink); }
@media (max-width: 800px) { .site-footer__inner { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }

/* ---------- Article ---------- */
.post { padding-top: 80px; padding-bottom: 40px; }
.post__header { position: relative; padding: 0 150px; text-align: center; }
.post__date { position: absolute; left: 40px; top: 16px; width: 76px; padding-bottom: 14px; border-bottom: 1px solid var(--heading); color: var(--heading); text-align: center; }
.post__day { display: block; font-size: 60px; line-height: 1; font-weight: 500; }
.post__month { display: block; margin-top: 4px; font-size: 14px; line-height: 24px; font-weight: 500; text-transform: uppercase; white-space: nowrap; }
.post__title { font-size: 32px; line-height: 38px; font-weight: 700; color: var(--accent); }
.post__subtitle { margin-top: 14px; font-size: 18px; line-height: 27px; color: var(--soft); }
.post__meta { margin-top: 14px; font-size: 14px; color: var(--muted); }
.post__cover { display: block; width: 100%; max-width: 650px; margin: 40px auto 0; }
.post .prose { max-width: 983px; margin: 40px 0 0 auto; }
.post .tags, .post__cta { max-width: 983px; margin-left: auto; }
.post__cta { margin-top: 40px; text-align: center; }
@media (max-width: 1100px) {
  .post__header { padding: 0; }
  .post__date { position: static; display: inline-flex; align-items: baseline; gap: 10px; width: auto; margin-bottom: 20px; padding-bottom: 8px; }
  .post__day { font-size: 32px; }
  .post .prose, .post .tags, .post__cta { margin-left: auto; margin-right: auto; }
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 40px; list-style: none; }
.tags li { padding: 6px 14px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; line-height: 1; font-weight: 500; color: var(--muted); }

/* ---------- Long-form text (articles, About) ---------- */
.prose { line-height: 1.65; overflow-wrap: break-word; }
.prose > * + * { margin-top: 20px; }
.prose h2 { margin-top: 44px; font-size: 22px; line-height: 30px; font-weight: 700; color: var(--accent); }
.prose h3 { margin-top: 32px; font-size: 18px; line-height: 27px; font-weight: 700; }
.prose h4 { margin-top: 28px; font-size: 14px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.prose a { font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: var(--accent); }
.prose ul, .prose ol { padding-left: 24px; }
.prose li + li { margin-top: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { font-weight: 700; color: var(--heading); }
.prose hr { margin: 44px 0; border: 0; border-top: 1px solid var(--line); }
.prose img { display: block; margin-inline: auto; }
.prose blockquote { margin-inline: 0; padding: 4px 0 4px 20px; border-left: 2px solid var(--accent); color: var(--muted); }
.prose code { padding: 2px 6px; background: var(--surface); border-radius: 3px; font: 400 .9em/1.4 var(--mono); }
.prose pre { padding: 18px 20px; background: var(--surface); overflow-x: auto; font: 400 14px/1.6 var(--mono); }
.prose pre code { padding: 0; background: none; font-size: inherit; }
.prose table { display: block; width: max-content; max-width: 100%; overflow-x: auto; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 10px 16px; border-bottom: 1px solid var(--hair); text-align: left; white-space: nowrap; }
.prose td:last-child, .prose th:last-child { white-space: normal; }
.prose thead th { font-size: 13px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); border-bottom-color: var(--line); }
.prose td code, .prose th code { background: none; padding: 0; }
.prose--page { max-width: 800px; margin: 48px auto 0; }

@media (max-width: 760px) {
  .section { padding: 56px 0; }
  .section__title { font-size: 30px; line-height: 36px; }
  .cta-band { padding: 64px 0; }
  .hero { min-height: 0; padding: 72px 0; }
  .page-hero { min-height: 300px; }
  .feature h2 { font-size: 30px; line-height: 36px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
