/* Apps for Nextcloud: public site (home + FAQ).
 * Brand layer decided 2026-10-21: six accent families shared with the app (coral, gold, sage,
 * sky, lilac, rose) plus terracotta as the brand colour; a picker recolours the page; soft
 * background blobs and morphing shapes; radius 32; Roboto Flex.
 * /help/ and /privacy/ keep using ../style.css; this file only styles the new pages. */

/* Roboto Flex, latin subset with the weight axis (@fontsource-variable/roboto-flex 5.3.0).
 * SIL Open Font License 1.1: see fonts/OFL.txt. */
@font-face {
  font-family: "Roboto Flex";
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url("fonts/roboto-flex-latin-wght-normal.woff2") format("woff2-variations"),
       url("fonts/roboto-flex-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308,
                 U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Accent families ----------
 * --fam-l / --fam-d: the light and dark tone of the family (ExpressiveAccents.kt in the app).
 * --strong-l / --strong-d: the tone used for links and buttons on a light / dark page. */
:root,
:root[data-accent="terracotta"] {
  --fam-l: #FFDBCB; --fam-d: #6E2A10; --strong-l: #A8461F; --strong-d: #FFB59A; --on-l: #FFFFFF;
}
:root[data-accent="coral"] { --fam-l: #FFDBCC; --fam-d: #7A2F0C; --strong-l: #7A2F0C; --strong-d: #FFDBCC; --on-l: #FFDBCC; }
:root[data-accent="gold"]  { --fam-l: #F3E1A7; --fam-d: #514619; --strong-l: #514619; --strong-d: #F3E1A7; --on-l: #F3E1A7; }
:root[data-accent="sage"]  { --fam-l: #CFE9C6; --fam-d: #37502F; --strong-l: #37502F; --strong-d: #CFE9C6; --on-l: #CFE9C6; }
:root[data-accent="sky"]   { --fam-l: #CFE4F7; --fam-d: #2C4A63; --strong-l: #2C4A63; --strong-d: #CFE4F7; --on-l: #CFE4F7; }
:root[data-accent="lilac"] { --fam-l: #E8DCF8; --fam-d: #453763; --strong-l: #453763; --strong-d: #E8DCF8; --on-l: #E8DCF8; }
:root[data-accent="rose"]  { --fam-l: #FBD8E4; --fam-d: #6B3550; --strong-l: #6B3550; --strong-d: #FBD8E4; --on-l: #FBD8E4; }

/* ---------- Light (default) ---------- */
:root {
  color-scheme: light dark;
  --radius: 32px;
  --radius-s: 20px;
  --font: "Roboto Flex", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --page: 1120px;
  --gutter: 16px;

  --text: #221A16;
  --muted: #5E514B;
  --line: rgba(34, 26, 22, 0.12);
  --bg: #FFF7F3;
  --bg: color-mix(in oklab, var(--fam-l) 30%, #FFFCFA);
  --surface: rgba(255, 255, 255, 0.7);
  --surface: color-mix(in oklab, #FFFFFF 74%, var(--fam-l));
  --surface-2: color-mix(in oklab, #FFFFFF 45%, var(--fam-l));
  --acc: var(--strong-l);
  --acc-on: var(--on-l);
  --acc-soft: var(--fam-l);
  --acc-soft-ink: var(--fam-d);
  --blob-1: var(--fam-l);
  --shape-1: color-mix(in oklab, var(--fam-l) 72%, var(--strong-l));
  --blob-2: color-mix(in oklab, var(--fam-l) 70%, var(--strong-l));
  --blob-3: color-mix(in oklab, var(--fam-l) 55%, #FFFFFF);
  --shadow: 0 1px 2px rgba(60, 30, 15, 0.06), 0 12px 32px -12px rgba(60, 30, 15, 0.18);
  --frame: #141114;
  --placeholder-bg: #FFF1A8;
  --placeholder-ink: #4A3B00;
}

/* ---------- Dark ---------- */
@media (prefers-color-scheme: dark) {
  :root {
    --text: #F4ECE8;
    --muted: #C2B5AE;
    --line: rgba(244, 236, 232, 0.14);
    --bg: #151110;
    --bg: color-mix(in oklab, var(--fam-d) 20%, #121010);
    --surface: rgba(255, 255, 255, 0.05);
    --surface: color-mix(in oklab, #1D1816 82%, var(--fam-d));
    --surface-2: color-mix(in oklab, #1D1816 55%, var(--fam-d));
    --acc: var(--strong-d);
    --acc-on: var(--fam-d);
    --acc-soft: var(--fam-d);
    --acc-soft-ink: var(--fam-l);
    --blob-1: color-mix(in oklab, var(--fam-d) 75%, transparent);
    --shape-1: color-mix(in oklab, var(--fam-d) 80%, var(--strong-d));
    --blob-2: color-mix(in oklab, var(--strong-d) 22%, transparent);
    --blob-3: color-mix(in oklab, var(--fam-d) 50%, transparent);
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 16px 40px -16px rgba(0, 0, 0, 0.6);
    --frame: #050405;
    --placeholder-bg: #4A3B00;
    --placeholder-ink: #FFF1A8;
  }
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  overflow-x: hidden;
  transition: background-color 0.4s ease;
}
@supports (overflow-x: clip) { body { overflow-x: clip; } }
img, svg { display: block; max-width: 100%; }
a { color: var(--acc); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--acc); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
ul { margin: 0; padding: 0; }
.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 {
  position: absolute; left: var(--gutter); top: -100px; z-index: 10;
  background: var(--acc); color: var(--acc-on); padding: 8px 16px; border-radius: 999px;
}
.skip:focus { top: 12px; }
.wrap { width: 100%; max-width: calc(var(--page) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
@media (min-width: 720px) { :root { --gutter: 24px; } }

/* ---------- Background blobs (fixed, never wider than the viewport) ---------- */
.blobs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute; border-radius: 50%;
  width: 70vmax; height: 70vmax;
  transition: background 0.6s ease;
  will-change: transform;
}
.blob-1 { left: -28vmax; top: -30vmax; background: radial-gradient(closest-side, var(--blob-1), transparent); animation: drift-a 26s ease-in-out infinite alternate; }
.blob-2 { right: -30vmax; top: 18vh; background: radial-gradient(closest-side, var(--blob-2), transparent); animation: drift-b 32s ease-in-out infinite alternate; }
.blob-3 { left: 10vw; bottom: -38vmax; background: radial-gradient(closest-side, var(--blob-3), transparent); animation: drift-c 28s ease-in-out infinite alternate; }
@keyframes drift-a { to { transform: translate(8vmax, 6vmax) scale(1.08); } }
@keyframes drift-b { to { transform: translate(-6vmax, 8vmax) scale(0.92); } }
@keyframes drift-c { to { transform: translate(6vmax, -6vmax) scale(1.05); } }

/* ---------- Header ---------- */
.site-header { padding: 18px 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 10px; box-shadow: var(--shadow); }
.site-nav { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.site-nav a {
  color: var(--text); text-decoration: none; font-weight: 550; font-size: 0.95rem;
  padding: 8px 12px; border-radius: 999px;
}
.site-nav a:hover { background: var(--surface); }
.site-nav a[aria-current="page"] { background: var(--acc-soft); color: var(--acc-soft-ink); }
@media (max-width: 560px) {
  .brand span { font-size: 0.98rem; }
  .site-nav .wide { display: none; }
  .site-nav a { padding: 8px 10px; }
}

/* ---------- Buttons, chips ---------- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--acc-soft); color: var(--acc-soft-ink);
  font-weight: 600; font-size: 0.9rem; line-height: 1.2;
  padding: 8px 14px; border-radius: 999px;
}
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--acc); color: var(--acc-on);
  font-weight: 650; text-decoration: none; padding: 12px 20px; border-radius: 999px;
}
.btn:hover { filter: brightness(1.08); text-decoration: none; }

/* The badge is Google's artwork, unmodified. Clear space = 1/4 of its height on every side;
 * minimum height 28px (Google Play badge guidelines). */
.play-badge { display: inline-block; padding: 14px; margin: -14px; border-radius: 16px; line-height: 0; }
.play-badge img { height: 56px; width: auto; }

/* ---------- Hero ---------- */
.hero { padding: 24px 0 56px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero .wrap { grid-template-columns: 1.15fr 0.85fr; gap: 56px; } .hero { padding: 40px 0 88px; } }
.hero h1 {
  font-size: clamp(2.15rem, 1.3rem + 3.6vw, 3.9rem);
  font-weight: 760;
  margin: 18px 0 18px;
}
.hero h1 em { font-style: normal; color: var(--acc); }
.hero .lede { font-size: clamp(1.08rem, 1rem + 0.35vw, 1.25rem); color: var(--muted); max-width: 36rem; }
.hero-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; margin-top: 30px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: 0.95rem; list-style: none; }
.hero-facts li { display: flex; align-items: center; gap: 6px; }
.hero-facts li::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--acc); }

.hero-art { position: relative; display: grid; place-items: center; min-height: 460px; }
.hero-art .morph { position: absolute; color: var(--shape-1); }
.hero-art .morph-a { width: min(440px, 108%); aspect-ratio: 1; }
.hero-art .morph-b { width: 112px; aspect-ratio: 1; right: 2%; top: 4%; color: var(--acc); opacity: 0.9; }
.hero-art .morph-c { width: 76px; aspect-ratio: 1; left: 4%; bottom: 10%; color: var(--surface-2); }
.hero-art .phone { position: relative; width: 236px; transform: rotate(-3deg); }
@media (max-width: 560px) {
  .hero-art { min-height: 400px; }
  .hero-art .phone { width: 200px; }
  .hero-art .morph-a { width: 340px; }
}

/* ---------- Picker ---------- */
.picker { margin-top: 26px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; border: 0; padding: 0; min-width: 0; }
.picker[hidden] { display: none; }
.picker legend { float: left; font-size: 0.9rem; color: var(--muted); margin-right: 4px; padding: 0; }
.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.swatch { position: relative; width: 34px; height: 34px; cursor: pointer; }
.swatch input { position: absolute; inset: 0; margin: 0; opacity: 0; cursor: pointer; }
.swatch span {
  display: block; width: 100%; height: 100%; border-radius: 50%;
  background: linear-gradient(135deg, var(--sw-l) 0 50%, var(--sw-d) 50% 100%);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, border-radius 0.3s ease;
}
.swatch:hover span { transform: scale(1.08); }
.swatch input:checked + span { border-radius: 34%; box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--acc); }
.swatch input:focus-visible + span { outline: 3px solid var(--acc); outline-offset: 4px; }

/* ---------- Phone frame ---------- */
.phone {
  background: var(--frame); padding: 7px; border-radius: 38px;
  box-shadow: var(--shadow), 0 30px 60px -30px rgba(40, 15, 5, 0.45);
}
.phone img { width: 100%; height: auto; aspect-ratio: 9 / 20; border-radius: 31px; background: #FBEDE6; }

/* ---------- Sections ---------- */
section { scroll-margin-top: 16px; }
.section { padding: 56px 0; }
@media (min-width: 900px) { .section { padding: 80px 0; } }
.section-head { max-width: 44rem; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.75rem, 1.2rem + 2.2vw, 2.75rem); font-weight: 740; margin-top: 14px; }
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.1rem; }

/* ---------- The four apps ---------- */
.apps { display: grid; gap: 20px; }
@media (min-width: 860px) { .apps { grid-template-columns: 1fr 1fr; gap: 24px; } }
.app {
  --app-bg: color-mix(in oklab, var(--app-l) 62%, #FFFFFF);
  --app-ink: var(--app-d);
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--app-bg);
  border-radius: var(--radius);
  padding: 28px 28px 0;
  box-shadow: var(--shadow);
}
@media (prefers-color-scheme: dark) {
  .app { --app-bg: color-mix(in oklab, var(--app-d) 58%, #121010); --app-ink: var(--app-l); }
}
.app--deck      { --app-l: #FFDBCC; --app-d: #7A2F0C; }
.app--notes     { --app-l: #CFE9C6; --app-d: #37502F; }
.app--news      { --app-l: #F3E1A7; --app-d: #514619; }
.app--bookmarks { --app-l: #CFE4F7; --app-d: #2C4A63; }
.app-top { display: flex; align-items: center; gap: 14px; }
.app-mark { position: relative; width: 56px; height: 56px; flex: none; color: var(--app-d); }
@media (prefers-color-scheme: dark) { .app-mark { color: var(--app-l); } }
/* Before the shapes are drawn (or without JS), a plain rounded square stands in. */
.app-mark { background: currentColor; border-radius: 30%; }
.shapes-ready .app-mark { background: none; border-radius: 0; }
.app-mark .morph { position: absolute; inset: 0; width: 100%; height: 100%; }
.app-mark .glyph { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; color: var(--app-l); }
@media (prefers-color-scheme: dark) { .app-mark .glyph { color: var(--app-d); } }
.app h3 { font-size: 1.6rem; font-weight: 740; color: var(--app-ink); }
.app .tagline { color: var(--app-ink); font-weight: 560; opacity: 0.86; font-size: 1rem; line-height: 1.3; }
.app ul { list-style: none; margin: 20px 0 24px; display: grid; gap: 10px; }
.app li { position: relative; padding-left: 26px; line-height: 1.45; }
.app li::before {
  content: ""; position: absolute; left: 2px; top: 0.42em; width: 12px; height: 12px;
  border-radius: 4px; background: var(--app-ink); opacity: 0.75; transform: rotate(45deg) scale(0.8);
}
.app .shot { align-self: end; justify-self: center; width: min(250px, 76%); height: 320px; overflow: hidden; transition: transform 0.4s ease; }
@media (max-width: 560px) { .app .shot { height: 270px; } }
.app:hover .shot { transform: translateY(-8px); }
.app .shot { margin-bottom: -8px; padding-bottom: 8px; }
.app .phone { border-radius: 38px 38px 0 0; padding-bottom: 0; }
.app .phone img { border-radius: 31px 31px 0 0; }

/* ---------- Self-hosted ---------- */
.features { display: grid; gap: 16px; }
@media (min-width: 640px) { .features { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1180px) { .features { grid-template-columns: repeat(4, 1fr); } }
.feature {
  background: var(--surface); border-radius: var(--radius); padding: 26px;
  border: 1px solid var(--line);
}
.feature .icon {
  width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center;
  background: var(--acc-soft); color: var(--acc-soft-ink); margin-bottom: 18px;
  transition: border-radius 0.4s ease;
}
.feature:hover .icon { border-radius: 50%; }
.feature .icon svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 8px; }
.feature p { color: var(--muted); }
.feature p a { font-weight: 600; }

.android {
  margin-top: 16px; display: grid; gap: 24px; align-items: center;
  background: var(--surface-2); border-radius: var(--radius); padding: 28px; overflow: hidden;
}
@media (min-width: 900px) { .android { grid-template-columns: 0.9fr 1.1fr; padding: 40px; gap: 40px; } }
.android h3 { font-size: 1.5rem; font-weight: 720; margin-bottom: 14px; }
.android ul { list-style: none; display: grid; gap: 12px; }
.android li { display: flex; gap: 12px; align-items: flex-start; }
.android li svg { flex: none; width: 22px; height: 22px; margin-top: 3px; color: var(--acc); }
.tablet {
  background: var(--frame); padding: 8px; border-radius: 26px; box-shadow: var(--shadow);
}
.tablet img { width: 100%; height: auto; aspect-ratio: 16 / 10; border-radius: 19px; background: #FBEDE6; }

/* ---------- Links row ---------- */
.links { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.link-card {
  display: block; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 26px;
  transition: transform 0.25s ease, background-color 0.25s ease;
}
.link-card:hover { transform: translateY(-3px); background: var(--surface-2); }
.link-card strong { display: flex; align-items: center; justify-content: space-between; font-size: 1.2rem; font-weight: 700; color: var(--acc); }
.link-card span { color: var(--muted); display: block; margin-top: 6px; }

/* ---------- Closing call to action ---------- */
.closing {
  text-align: center; background: var(--acc-soft); color: var(--acc-soft-ink);
  border-radius: var(--radius); padding: 48px 24px; position: relative; overflow: hidden;
}
.closing h2 { font-size: clamp(1.6rem, 1.2rem + 1.8vw, 2.4rem); font-weight: 740; }
.closing p { margin: 12px auto 26px; max-width: 34rem; }
.closing .morph { position: absolute; width: 180px; aspect-ratio: 1; color: var(--surface); opacity: 0.55; }
.closing .morph-d { left: -50px; top: -60px; }
.closing .morph-e { right: -40px; bottom: -70px; width: 220px; }
.closing > *:not(.morph) { position: relative; }
@media (max-width: 560px) {
  .closing .morph-d { width: 130px; left: -60px; top: -70px; }
  .closing .morph-e { width: 150px; right: -80px; bottom: -90px; }
}

/* ---------- FAQ page ---------- */
.page-head { padding: 24px 0 8px; }
.page-head h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.3rem); font-weight: 760; margin-top: 14px; }
.page-head p { color: var(--muted); margin-top: 14px; font-size: 1.12rem; max-width: 40rem; }
.faq { display: grid; gap: 14px; max-width: 52rem; padding: 32px 0 24px; }
.qa {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 28px;
}
.qa h2 { font-size: 1.25rem; font-weight: 700; margin-bottom: 10px; scroll-margin-top: 16px; }
.qa p + p { margin-top: 10px; }
.qa p { color: var(--text); }
.qa code { font-size: 0.92em; background: var(--surface-2); padding: 1px 6px; border-radius: 6px; }
.placeholder {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 0.95em; font-weight: 600;
  background: var(--placeholder-bg); color: var(--placeholder-ink); padding: 2px 8px; border-radius: 8px;
}

/* ---------- Press page ---------- */
.press-section { padding: 28px 0 8px; max-width: 64rem; }
.press-section > h2 { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem); font-weight: 740; margin-bottom: 16px; }
.press-note { color: var(--muted); margin-bottom: 16px; }
.blurbs { display: grid; gap: 14px; }
@media (min-width: 960px) { .blurbs { grid-template-columns: repeat(3, 1fr); } }
.blurb { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.blurb p { font-size: 0.98rem; line-height: 1.55; }
.blurb p + p { margin-top: 10px; }
.blurb-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.blurb-head h3 { font-size: 1.1rem; font-weight: 700; color: var(--acc); }
.copy {
  font: inherit; font-size: 0.85rem; font-weight: 650; cursor: pointer;
  background: var(--acc-soft); color: var(--acc-soft-ink); border: 0; border-radius: 999px; padding: 6px 14px;
}
.copy:hover { filter: brightness(0.97); }
.facts {
  margin: 0; display: grid; gap: 0; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 8px 24px; max-width: 52rem;
}
.facts > div { display: grid; grid-template-columns: 9.5rem 1fr; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.facts > div:first-child { border-top: 0; }
.facts dt { color: var(--muted); font-weight: 600; }
.facts dd { margin: 0; overflow-wrap: anywhere; }
@media (max-width: 480px) { .facts > div { grid-template-columns: 1fr; gap: 2px; } }
.zip { margin-bottom: 20px; }
.downloads { list-style: none; display: grid; gap: 14px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr)); }
.dl { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-s); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.dl-thumb { height: 180px; display: grid; place-items: center; background: var(--surface-2); border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.dl-thumb img { max-height: 164px; width: auto; border-radius: 10px; }
.dl-thumb--icon img { height: 120px; }
.dl-thumb--wide img { width: 92%; height: auto; max-height: none; }
.dl a { font-weight: 650; }
.dl span { color: var(--muted); font-size: 0.88rem; }
.promo {
  display: block; width: 100%; max-width: 52rem; height: auto; aspect-ratio: 16 / 9;
  border-radius: var(--radius); background: #000; box-shadow: var(--shadow); margin-bottom: 12px;
}

/* ---------- Footer ---------- */
.site-footer { padding: 48px 0 40px; color: var(--muted); font-size: 0.95rem; }
.site-footer .wrap { display: grid; gap: 18px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.site-footer nav a { color: var(--text); font-weight: 600; text-decoration: none; }
.site-footer nav a:hover { text-decoration: underline; }
.site-footer .legal { font-size: 0.86rem; line-height: 1.55; max-width: 48rem; }

/* ---------- Motion ---------- */
/* Hidden only once the scroll observer has fired at least once (site.js adds .reveal-on), so a
 * browser where it never runs still shows everything. */
.reveal-on .reveal { transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-on .reveal:not(.is-in) { opacity: 0; transform: translateY(18px); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal-on .reveal:not(.is-in) { opacity: 1; transform: none; }
}
