/* PuggleSoft website
   Plain CSS, no build step. Everything the site needs is served from this
   folder: no CDNs, no web fonts from elsewhere, no scripts. */

@font-face {
  font-family: "Fredoka";
  src: url("../fonts/fredoka.woff2") format("woff2");
  font-weight: 300 700;
  font-stretch: 75% 125%;
  font-display: swap;
}

:root {
  --ink: #0f1222;
  --ink-soft: #424760;
  --muted: #676c86;
  --cream: #fff8ee;
  --cream-deep: #fbedd8;
  --paper: #ffffff;
  --fawn: #f4c47e;

  --purple: #7b2ff7;
  --purple-deep: #5a1fd1;
  --purple-soft: #b98fff;
  --night: #120d24;
  --night-2: #1c1438;
  --focus: #ffbf3c;

  --font-display: "Fredoka", ui-rounded, "SF Pro Rounded", system-ui, sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --radius: 22px;
  --border: 3px solid var(--ink);
  --shadow: 6px 6px 0 var(--ink);
  --gutter: clamp(16px, 4vw, 32px);

  color-scheme: light;
}

/* One accent per app. --accent is the logo colour, --accent-ink a darker
   shade that keeps white text readable on buttons. */
.accent-docs     { --accent: #0e9c8f; --accent-ink: #0a6c63; }
.accent-sheets   { --accent: #18994d; --accent-ink: #0f6a35; }
.accent-slides   { --accent: #f26a0c; --accent-ink: #b04700; }
.accent-mail     { --accent: #1557e8; --accent-ink: #1243bf; }
.accent-db       { --accent: #1597d8; --accent-ink: #0b6a9c; }
.accent-photos   { --accent: #e5187a; --accent-ink: #b0105b; }
.accent-tidy     { --accent: #0aa383; --accent-ink: #08705a; }
.accent-purple   { --accent: #7b2ff7; --accent-ink: #5a1fd1; }

/* ---------- Base ---------- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 400 1.0625rem/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }

a { color: var(--purple-deep); text-underline-offset: 3px; }
a:hover { color: var(--purple); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}

p { margin: 0; text-wrap: pretty; }

[id] { scroll-margin-top: 88px; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 6px;
}

.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;
}

.skip-link {
  position: absolute;
  left: 16px; top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--focus);
  color: var(--ink);
  font: 600 1rem var(--font-display);
  border: var(--border);
  border-radius: 12px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 5vw, 64px); }

.section-head {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  font: 600 0.95rem var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple-deep);
}
.eyebrow svg { width: 18px; height: 18px; }

.section-head h2,
.h2 {
  font-weight: 700;
  font-size: clamp(2.1rem, 4.4vw, 3.25rem);
  letter-spacing: -0.01em;
}

.section-head > p:not(.eyebrow) {
  margin-top: 18px;
  font-size: clamp(1.08rem, 1.5vw, 1.22rem);
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--purple);
  --btn-fg: #fff;
  --btn-shadow: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  padding: 0.8em 1.35em;
  border: var(--border);
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font: 600 1.05rem/1 var(--font-display);
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 4px 4px 0 var(--btn-shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease;
}
.btn:hover {
  color: var(--btn-fg);
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--btn-shadow);
}
.btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--btn-shadow);
}
.btn svg { width: 1.1em; height: 1.1em; flex: none; }

.btn-sm { padding: 0.62em 1.05em; font-size: 0.95rem; box-shadow: 3px 3px 0 var(--btn-shadow); }
.btn-sm:hover { box-shadow: 5px 5px 0 var(--btn-shadow); }

.btn-light { --btn-bg: #fff; --btn-fg: var(--ink); }
.btn-accent { --btn-bg: var(--accent-ink); }

/* Buttons on the dark hero and bands: a white sticker edge instead of ink. */
.on-dark .btn { border-color: #fff; --btn-shadow: #05030c; }
.on-dark .btn-ghost {
  --btn-bg: rgba(255, 255, 255, 0.06);
  --btn-fg: #fff;
}
.on-dark .btn-ghost:hover { --btn-bg: rgba(255, 255, 255, 0.14); }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font: 600 1rem var(--font-display);
  color: var(--ink);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}
.text-link svg { width: 18px; height: 18px; }
.text-link:hover { color: var(--accent-ink, var(--purple-deep)); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  /* Solid on purpose: a backdrop blur here makes the header flicker in
     Safari while the hero logo bobs underneath. */
  background: var(--night);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 70px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font: 700 1.55rem/1 var(--font-display);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand:hover { color: #fff; }
.brand img { width: 46px; height: 46px; }
.brand span { color: var(--purple-soft); }

.nav-links {
  display: flex;
  gap: 2px;
  margin: 0 0 0 auto;
  padding: 0;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 8px 13px;
  border-radius: 999px;
  color: #d9d3ef;
  font: 500 1.02rem var(--font-display);
  text-decoration: none;
}
.nav-links a:hover { background: rgba(255, 255, 255, 0.09); color: #fff; }
.nav .btn { padding: 0.6em 1.1em; font-size: 0.98rem; }

@media (max-width: 880px) {
  .nav-links { display: none; }
  .nav .btn { margin-left: auto; }
}
@media (max-width: 380px) {
  .brand { font-size: 1.3rem; }
  .brand img { width: 38px; height: 38px; }
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding: 36px 0 150px;
  text-align: center;
  color: #fff;
  background:
    radial-gradient(55% 60% at 18% 12%, rgba(123, 47, 247, 0.42) 0, transparent 70%),
    radial-gradient(45% 55% at 88% 30%, rgba(21, 151, 216, 0.28) 0, transparent 70%),
    radial-gradient(40% 50% at 60% 95%, rgba(229, 24, 122, 0.22) 0, transparent 70%),
    var(--night);
}

.hero-logo {
  width: min(680px, 100%);
  margin: 0 auto -6px;
  /* Only transform animates, on its own layer, so the bob never repaints
     anything (no filter on the logo for the same reason). */
  will-change: transform;
  animation: bob 6s ease-in-out infinite;
}

@keyframes bob {
  0%, 100% { transform: translate3d(0, 0, 0); }
  50% { transform: translate3d(0, -10px, 0); }
}

/* The bobbing logo gets its own layer; keep the text painted above it. */
.hero h1, .hero .lead, .hero-ctas, .chips { position: relative; }

.hero h1 {
  font-weight: 700;
  font-size: clamp(2.7rem, 7vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 10px 0 20px;
}

.gradient-text {
  color: #d3b6ff;
  background: linear-gradient(92deg, #c79dff 0%, #ff8cc6 55%, #ffc46b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero .lead {
  max-width: 660px;
  margin: 0 auto;
  font-size: clamp(1.12rem, 1.7vw, 1.32rem);
  color: #ddd6f4;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 32px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.chips li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 15px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
  color: #f1edff;
  font: 500 0.98rem var(--font-display);
}
.chips svg { width: 18px; height: 18px; color: #7fe3a9; }

.paw-deco {
  position: absolute;
  width: 54px;
  height: 54px;
  color: #fff;
  opacity: 0.06;
  pointer-events: none;
}
.paw-deco.p1 { left: 6%;  top: 18%; transform: rotate(-24deg); width: 70px; height: 70px; }
.paw-deco.p2 { left: 12%; top: 58%; transform: rotate(12deg); }
.paw-deco.p3 { right: 7%; top: 14%; transform: rotate(28deg); width: 64px; height: 64px; }
.paw-deco.p4 { right: 13%; top: 52%; transform: rotate(-8deg); width: 44px; height: 44px; }
.paw-deco.p5 { right: 4%; top: 74%; transform: rotate(18deg); }
@media (max-width: 700px) { .paw-deco { display: none; } }

.wave {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: clamp(48px, 7vw, 96px);
}
.wave path { fill: var(--cream); }

/* ---------- Generic sticker card ---------- */

.card {
  background: var(--paper);
  border: var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* ---------- Promise ---------- */

.promise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 26px;
  margin-top: 52px;
}

.promise-card { padding: 28px 26px 30px; }
.promise-card h3 { font-size: 1.45rem; font-weight: 600; margin: 18px 0 8px; }
.promise-card p { color: var(--ink-soft); }

.icon-badge {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border: var(--border);
  border-radius: 18px;
  background: color-mix(in srgb, var(--accent) 22%, #fff);
  color: var(--accent-ink);
  box-shadow: 3px 3px 0 var(--ink);
}
.icon-badge svg { width: 28px; height: 28px; }

/* ---------- Apps grid ---------- */

/* Flex rather than grid so a short last row sits in the middle instead of
   leaving an empty slot. Cards stay at least about 250px wide. */
.apps-grid {
  --cols: 4;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-top: 52px;
}
.apps-grid > .app { flex: 0 0 calc((100% - (var(--cols) - 1) * 24px) / var(--cols)); }
@media (max-width: 1135px) { .apps-grid { --cols: 3; } }
@media (max-width: 861px)  { .apps-grid { --cols: 2; } }
@media (max-width: 569px)  { .apps-grid { --cols: 1; } }

.app {
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.app-art {
  position: relative;
  display: grid;
  place-items: center;
  padding: 46px 16px 6px;
  border-bottom: var(--border);
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 255, 255, 0.9) 0, transparent 62%),
    color-mix(in srgb, var(--accent) 16%, #fff);
}
.app-art img {
  width: 100%;
  max-width: 230px;
  aspect-ratio: 1;
  transition: transform 0.35s cubic-bezier(.3, 1.6, .5, 1);
}
.app:hover .app-art img { transform: rotate(-3deg) scale(1.04); }

.app-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 22px;
}

.app-art .status { position: absolute; top: 14px; left: 14px; }

.kind {
  font: 600 0.88rem var(--font-display);
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border: 2px solid var(--ink);
  border-radius: 999px;
  font: 600 0.8rem var(--font-display);
  white-space: nowrap;
}
.status::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
}
.status-ready { background: #cff6dd; color: #0d5c2e; }
.status-soon  { background: #efe8ff; color: #4b1fb0; }

.app p { color: var(--ink-soft); }

.app-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: auto;
  padding-top: 8px;
}


/* ---------- Spotlights ---------- */

.spotlights {
  display: grid;
  gap: 44px;
  margin-top: 56px;
}

.spot {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
  padding: clamp(22px, 4vw, 48px);
  border-radius: 30px;
  box-shadow: 8px 8px 0 var(--ink);
}
.spot:nth-child(even) .spot-art { order: 2; }

.spot-art {
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 32px);
  border: var(--border);
  border-radius: 24px;
  background:
    radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent) 1.5px, transparent 2px) 0 0 / 22px 22px,
    color-mix(in srgb, var(--accent) 14%, #fff);
}
.spot-art img { width: 100%; max-width: 360px; aspect-ratio: 1; }

.spot h3 {
  margin: 6px 0 14px;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.4vw, 2.6rem);
  letter-spacing: -0.01em;
}
.spot-intro { font-size: 1.12rem; color: var(--ink-soft); }

.features {
  display: grid;
  gap: 11px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}
.features li { display: flex; gap: 12px; align-items: flex-start; }
.features .tick {
  display: grid;
  place-items: center;
  flex: none;
  width: 24px; height: 24px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--accent-ink);
  color: #fff;
}
.features .tick svg { width: 15px; height: 15px; }

.formats {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
}
.formats div { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.formats dt {
  min-width: 118px;
  font: 600 0.92rem var(--font-display);
  color: var(--muted);
}
.formats dd { display: contents; }
.fmt {
  padding: 2px 9px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--cream);
  font: 600 0.84rem/1.5 var(--font-mono);
}

.spot-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 28px;
}

.spot-note {
  margin-top: 16px;
  font-size: 0.93rem;
  color: var(--muted);
}
.spot-note strong { color: var(--ink-soft); font-weight: 600; }

@media (max-width: 880px) {
  .spot { grid-template-columns: 1fr; }
  .spot:nth-child(even) .spot-art { order: 0; }
  .spot-art img { max-width: 280px; }
}

/* ---------- Privacy band ---------- */

.band {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 6vw, 72px);
  border: var(--border);
  border-radius: clamp(26px, 4vw, 36px);
  box-shadow: 8px 8px 0 var(--ink);
  color: #fff;
  background:
    radial-gradient(50% 70% at 0% 0%, rgba(123, 47, 247, 0.45) 0, transparent 70%),
    radial-gradient(40% 60% at 100% 100%, rgba(21, 151, 216, 0.3) 0, transparent 70%),
    var(--night);
}
.band .eyebrow { color: var(--purple-soft); }
.band h2 { max-width: 720px; }
.band .band-lead {
  max-width: 720px;
  margin-top: 18px;
  font-size: clamp(1.08rem, 1.5vw, 1.2rem);
  color: #ddd6f4;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 124px), 1fr));
  gap: clamp(12px, 2vw, 18px);
  margin: 44px 0 0;
  padding: 0;
  list-style: none;
}
.stats li {
  padding: clamp(16px, 2.4vw, 22px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.05);
}
.stats .num {
  display: inline-block;
  font: 700 clamp(2.5rem, 5vw, 3.3rem)/1 var(--font-display);
}
.stats .label { display: block; margin-top: 8px; color: #d4cdee; }

.band-foot {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  max-width: 820px;
  margin-top: 36px;
  color: #e9e4fb;
}
.band-foot svg { flex: none; width: 30px; height: 30px; color: #7fe3a9; }

/* ---------- Install ---------- */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 26px;
  margin: 52px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}
.step { position: relative; padding: 30px 26px 28px; }
.step-num {
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: var(--border);
  border-radius: 50%;
  background: var(--purple);
  color: #fff;
  font: 700 1.5rem/1 var(--font-display);
  box-shadow: 3px 3px 0 var(--ink);
}
.step h3 { margin: 18px 0 8px; font-size: 1.4rem; font-weight: 600; }
.step p { color: var(--ink-soft); }
.step kbd, .menu-path {
  font: 600 0.92em var(--font-body);
  white-space: nowrap;
}

.callout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-top: 30px;
  padding: 22px 26px;
  border: var(--border);
  border-radius: 20px;
  background: #fff0d4;
}
.callout svg { flex: none; width: 30px; height: 30px; color: #b06a00; margin-top: 2px; }
.callout h3 { font-size: 1.2rem; font-weight: 600; margin-bottom: 4px; }
.callout p { color: var(--ink-soft); }

.requirements {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
  margin-top: 26px;
  color: var(--ink-soft);
  font: 500 1rem var(--font-display);
}
.requirements span { display: inline-flex; align-items: center; gap: 8px; }
.requirements svg { width: 20px; height: 20px; color: var(--purple-deep); }

/* ---------- FAQ ---------- */

.faq {
  display: grid;
  gap: 16px;
  max-width: 840px;
  margin: 48px auto 0;
}

.faq details {
  background: var(--paper);
  border: var(--border);
  border-radius: 18px;
  box-shadow: 4px 4px 0 var(--ink);
}
.faq summary {
  position: relative;
  padding: 19px 64px 19px 24px;
  font: 600 1.18rem/1.3 var(--font-display);
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 20px; top: 50%;
  width: 26px; height: 26px;
  margin-top: -13px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 12px 2.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 2.5px 12px no-repeat,
    var(--fawn);
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:focus-visible { outline-offset: -3px; border-radius: 15px; }
.faq .answer { padding: 0 24px 22px; color: var(--ink-soft); }
.faq .answer p + p { margin-top: 10px; }

/* ---------- Closing call to action ---------- */

.closing {
  text-align: center;
  padding-bottom: clamp(140px, 16vw, 190px);
}
.closing .hero-ctas { margin-top: 28px; }

/* ---------- Footer ---------- */

.site-footer {
  position: relative;
  padding: 64px 0 34px;
  background: var(--night);
  color: #cfc8e9;
}
.footer-pug {
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 170px;
  transform: translateX(-50%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr));
  gap: 36px;
}
.footer-grid .brand { font-size: 1.45rem; }
.footer-tagline { margin-top: 14px; max-width: 320px; }

.footer-col h2 {
  margin-bottom: 14px;
  font: 600 0.92rem var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8f86b4;
}
.footer-col ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.footer-col a { color: #e7e2fa; text-decoration: none; }
.footer-col a:hover { color: #fff; text-decoration: underline; }
.footer-col .soon { color: #8f86b4; }

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.93rem;
  color: #9e96c2;
}

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 420px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- Plain pages (privacy) ---------- */

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 64px 0 120px;
  color: #fff;
  text-align: center;
  background:
    radial-gradient(55% 80% at 15% 0%, rgba(123, 47, 247, 0.42) 0, transparent 70%),
    radial-gradient(45% 70% at 90% 40%, rgba(21, 151, 216, 0.26) 0, transparent 70%),
    var(--night);
}
.page-hero h1 { font-size: clamp(2.5rem, 6vw, 4rem); font-weight: 700; }
.page-hero p { margin-top: 14px; color: #ddd6f4; font-size: 1.2rem; }

.prose-wrap { max-width: 820px; margin: 0 auto; }
.prose { padding: clamp(24px, 5vw, 52px); }
.prose h2 { font-size: 1.7rem; font-weight: 600; margin: 36px 0 12px; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose ul { color: var(--ink-soft); }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 1.3em; display: grid; gap: 8px; margin: 12px 0 0; }
.prose .tldr {
  padding: 18px 22px;
  border: var(--border);
  border-radius: 16px;
  background: #e9fbef;
  color: var(--ink);
  font-size: 1.12rem;
}
.prose .updated { margin-top: 36px; font-size: 0.93rem; color: var(--muted); }

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* Links on dark panels */
.band a, .site-footer p a { color: #fff; text-decoration-thickness: 2px; }
.band a:hover { color: var(--purple-soft); }
.page-hero .eyebrow { color: var(--purple-soft); }
.nav-links a[aria-current="page"] { background: rgba(255, 255, 255, 0.12); color: #fff; }

/* Leaves space for the pug that peeks over the footer. */
.pug-room { padding-bottom: clamp(140px, 14vw, 170px); }
