/* Voilà — website styles. Plain CSS, no build step.
   Identity: photos as the backdrop, frosted glass for what sits on top,
   black and white, one green accent. See docs/design/README.md. */

@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/InstrumentSerif-Italic.ttf") format("truetype");
}

:root {
  color-scheme: light dark;
  --bg: #ffffff;
  --bg-soft: #f5f5f7;
  --text: #111113;
  --text-2: #55555c;      /* 7.4:1 on white */
  --line: rgba(60, 60, 67, 0.16);
  --accent: #12805c;      /* 5.0:1 on white */
  --accent-hover: #0b5e43;
  --on-accent: #ffffff;
  --danger: #d70015;
  --glass: rgba(255, 255, 255, 0.72);
  --glass-solid: rgba(255, 255, 255, 0.94);
  --glass-rim: rgba(255, 255, 255, 0.75);
  --glass-shadow: 0 18px 50px rgba(0, 0, 0, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  --glass-text-2: #3c3c43; /* secondary text on glass, >= 7:1 on the glass tint */
  --scrim: rgba(255, 255, 255, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-round: ui-rounded, "SF Pro Rounded", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-brand: "Instrument Serif", Georgia, "Times New Roman", serif;
  --max: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-soft: #111113;
    --text: #f5f5f7;
    --text-2: #a1a1a8;    /* 8:1 on black */
    --line: rgba(235, 235, 245, 0.16);
    --accent: #3dd598;    /* 10:1 on black */
    --accent-hover: #6ee2b4;
    --on-accent: #00261a;
    --glass: rgba(28, 28, 30, 0.66);
    --glass-solid: rgba(28, 28, 30, 0.95);
    --glass-rim: rgba(255, 255, 255, 0.16);
    --glass-shadow: 0 18px 50px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    --glass-text-2: #d1d1d6;
    --scrim: rgba(0, 0, 0, 0.30);
  }
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; }

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

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

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  background: var(--bg);
  color: var(--text);
  padding: 8px 14px;
  border-radius: 10px;
  z-index: 20;
}
.skip-link:focus { top: 12px; }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.narrow { max-width: calc(720px + 2 * var(--gutter)); }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-rim);
  box-shadow: var(--glass-shadow);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: var(--glass-solid); }
}

/* ---------- Wordmark ---------- */
.wordmark {
  font-family: var(--font-brand);
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}
.wordmark .wm-v { font-size: 1.5em; line-height: 0.6; }
.wordmark .wm-dot { color: var(--accent); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
}
.brand { color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand .wordmark { font-size: 30px; }
.site-nav { display: flex; gap: 22px; flex-wrap: wrap; font-size: 15px; }
.site-nav a { color: var(--text); text-decoration: none; padding: 10px 0; opacity: 0.85; }
.site-nav a:hover { color: var(--text); opacity: 1; text-decoration: underline; }

/* On the home page the header floats over the photo mosaic */
.home .site-header {
  position: fixed;
  left: 0; right: 0;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom-color: transparent;
  transition: background-color 0.3s, border-color 0.3s;
}
.home .site-header .wrap { padding-top: 10px; }
.home .site-header .brand {
  visibility: hidden; /* the hero already shows the name; it appears once scrolled */
}
.home .site-nav {
  padding: 2px 18px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--glass-rim);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}
.home .site-nav a { opacity: 1; }
.home.scrolled .site-header {
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border-bottom-color: var(--line);
}
.home.scrolled .site-header .wrap { padding-top: 0; }
.home.scrolled .site-header .brand { visibility: visible; }
.home.scrolled .site-nav { background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; padding: 2px 0; }

/* ---------- Photo mosaic ---------- */
.mosaic {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #000;
}
.mosaic-grid {
  display: grid;
  grid-template-columns: repeat(var(--cols, 4), minmax(0, 1fr));
  gap: 3px;
  width: 100%;
}
.mosaic-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
}
.mosaic::after { /* flat scrim, keeps glass text readable on any photo */
  content: "";
  position: absolute;
  inset: 0;
  background: var(--scrim);
}
@media (min-width: 600px) { .mosaic-grid { --cols: 6; } }
@media (min-width: 1000px) { .mosaic-grid { --cols: 8; } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: max(640px, 100svh);
  display: grid;
  place-items: center;
  padding: 96px 16px 56px;
  isolation: isolate;
}
.hero .mosaic { z-index: -1; }
.hero-panel {
  position: relative;
  z-index: 1; /* keep the glass above the drifting (composited) mosaic */
  width: min(100%, 640px);
  border-radius: 40px;
  padding: clamp(32px, 6vw, 56px) clamp(24px, 6vw, 64px) clamp(28px, 5vw, 48px);
  text-align: center;
}
.hero h1 {
  margin: 0;
  font-weight: 400;
  font-size: clamp(84px, 22vw, 168px);
  line-height: 0.9;
  padding-top: 0.12em;
}
.hero .promise {
  margin: 22px auto 0;
  font-size: clamp(22px, 5vw, 30px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  max-width: 18ch;
}
.hero .sub {
  margin: 12px auto 0;
  font-size: clamp(16px, 3.6vw, 19px);
  color: var(--glass-text-2);
  max-width: 34ch;
}
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 16px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  transition: background-color 0.2s, transform 0.2s var(--ease);
}
.btn:hover { background: var(--accent-hover); color: var(--on-accent); }
.btn:active { transform: scale(0.98); }
.btn svg { flex: none; }
.note { font-size: 15px; color: var(--glass-text-2); }

.scroll-hint {
  position: absolute;
  bottom: 22px;
  left: 50%;
  translate: -50% 0;
  width: 44px; height: 44px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  color: var(--text);
}

/* ---------- Generic section rhythm ---------- */
.section { padding: clamp(88px, 14vw, 180px) 0; }
.section + .section { padding-top: 0; }

.eyebrow {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 600;
  color: var(--accent);
}
.statement {
  margin: 0;
  font-size: clamp(42px, 8.4vw, 96px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.statement .dim { color: var(--text-2); }
.body-l {
  margin: 24px 0 0;
  font-size: clamp(18px, 2.2vw, 22px);
  line-height: 1.5;
  color: var(--text-2);
  max-width: 34ch;
  text-wrap: pretty;
}
.body-l strong { color: var(--text); font-weight: 600; }

/* ---------- Phone + steps ---------- */
.showcase {
  display: grid;
  gap: clamp(56px, 8vw, 96px);
  align-items: center;
}
@media (min-width: 900px) {
  .showcase { grid-template-columns: auto minmax(0, 1fr); }
}
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: clamp(36px, 5vw, 56px);
}
.steps h3 {
  margin: 0;
  font-size: clamp(48px, 9vw, 104px);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
}
.steps li:nth-child(2) h3 { color: var(--text-2); }
.steps li:nth-child(3) h3 .end { color: var(--accent); }
.steps p { margin: 12px 0 0; font-size: clamp(17px, 2vw, 20px); color: var(--text-2); max-width: 32ch; }

/* CSS-built iPhone. --s scales the 390x844 screen. */
.phone {
  --s: 0.74;
  --bezel: 12px;
  position: relative;
  justify-self: center;
  width: calc(390px * var(--s) + 2 * var(--bezel));
  height: calc(844px * var(--s) + 2 * var(--bezel));
  padding: var(--bezel);
  border-radius: calc(55px * var(--s) + var(--bezel));
  background: #0b0b0c;
  box-shadow:
    0 0 0 1.5px #3a3a3e,
    0 0 0 3px #1b1b1d,
    0 40px 80px -20px rgba(0, 0, 0, 0.45),
    0 20px 40px -20px rgba(0, 0, 0, 0.3);
  margin: 0;
}
@media (min-width: 420px) { .phone { --s: 0.8; } }
@media (min-width: 1100px) { .phone { --s: 0.9; } }
.phone::before { /* side button */
  content: "";
  position: absolute;
  right: -5px;
  top: 28%;
  width: 3px; height: 13%;
  border-radius: 0 3px 3px 0;
  background: #2a2a2d;
}
.phone .screen {
  position: relative;
  width: calc(390px * var(--s));
  height: calc(844px * var(--s));
  border-radius: calc(55px * var(--s));
  overflow: hidden;
  background: #000;
}
.phone .screen > img,
.phone .screen > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.phone .island {
  position: absolute;
  z-index: 3;
  top: calc(11px * var(--s));
  left: 50%;
  translate: -50% 0;
  width: calc(124px * var(--s));
  height: calc(36px * var(--s));
  border-radius: 999px;
  background: #000;
}

/* Live HTML recreation of the app Home screen (Accueil). Laid out at 390x844 then scaled. */
.app {
  position: absolute;
  top: 0; left: 0;
  width: 390px;
  height: 844px;
  transform: scale(var(--s));
  transform-origin: 0 0;
  font-family: var(--font);
  color: #111113;
  background: #fff;
  overflow: hidden;
}
.app .mosaic-grid { --cols: 4; gap: 2px; }
.app .mosaic-grid img { aspect-ratio: 1; }
.app-tiles { position: absolute; inset: 0; }
.app-glass {
  position: absolute;
  background: rgba(255, 255, 255, 0.70);
  border: 1px solid rgba(255, 255, 255, 0.75);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .app-glass { background: rgba(255, 255, 255, 0.94); }
}
.app-top {
  left: 10px; right: 10px; top: 56px;
  border-radius: 32px;
  padding: 18px 20px 20px;
}
.app-top .row { display: flex; align-items: center; justify-content: space-between; }
.app-top .wordmark { font-size: 30px; }
.app-top .wordmark .wm-dot { color: #12805c; }
.app-gear {
  width: 44px; height: 44px;
  margin: -6px -8px -6px 0;
  border-radius: 22px;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.75);
}
.app-big {
  display: block;
  margin-top: 8px;
  font-family: var(--font-round);
  font-size: 56px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -1px;
}
.app-small { display: block; margin-top: 4px; font-size: 15px; color: #3c3c43; }
.app-sheet {
  left: 8px; right: 8px; bottom: 8px;
  border-radius: 40px;
  padding: 10px 0 16px;
}
.app-grabber { width: 36px; height: 5px; border-radius: 3px; margin: 0 auto 8px; background: rgba(60, 60, 67, 0.3); }
.app-sheet ul { list-style: none; margin: 0; padding: 0; }
.app-sheet li {
  display: flex;
  align-items: center;
  gap: 14px;
  height: 52px;
  padding: 0 22px;
  font-size: 17px;
}
.app-sheet li span:first-of-type { flex: 1; }
.app-sheet .size { color: #3c3c43; }
.app-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 8px 22px 0;
}
.app-foot span { flex: 1; font-size: 13px; color: #3c3c43; }
.app-foot b {
  height: 36px;
  padding: 0 16px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  background: #12805c;
  color: #fff;
}
@media (prefers-color-scheme: dark) {
  .app { color: #fff; background: #000; }
  .app-glass { background: rgba(28, 28, 30, 0.62); border-color: rgba(255, 255, 255, 0.16); box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
  .app-top .wordmark .wm-dot { color: #3dd598; }
  .app-gear { background: rgba(255, 255, 255, 0.10); border-color: rgba(255, 255, 255, 0.16); }
  .app-small, .app-sheet .size, .app-foot span { color: rgba(235, 235, 245, 0.72); }
  .app-grabber { background: rgba(255, 255, 255, 0.3); }
  .app-foot b { background: #3dd598; color: #00261a; }
}

/* ---------- Alternating feature rows ---------- */
.feature {
  display: grid;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
@media (min-width: 900px) {
  .feature { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .feature.flip > .visual { order: 2; }
}
.visual {
  position: relative;
  border-radius: 36px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  max-height: 640px;
  width: 100%;
  background: #111;
}
@media (min-width: 600px) and (max-width: 899px) { .visual { aspect-ratio: 4 / 3; } }

/* Visual 1: a photo library that never leaves the device */
.visual .mosaic-grid { --cols: 4; gap: 3px; }
.visual-chip {
  position: absolute;
  z-index: 1;
  left: 50%;
  bottom: clamp(20px, 5%, 36px);
  translate: -50% 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  white-space: nowrap;
}

/* Visual 2: a burst of near-identical shots, the best one kept */
.compare .backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(36px) saturate(1.2);
  transform: scale(1.25);
}
.compare::after { content: ""; position: absolute; inset: 0; background: var(--scrim); }
.pair {
  position: absolute;
  z-index: 1;
  inset: 0 0 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 3vw, 20px);
  padding: 0 20px;
}
.shot { margin: 0; position: relative; width: min(42%, 220px); }
.shot .frame {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
}
.shot img { display: block; width: 100%; height: 100%; object-fit: cover; }
.shot:not(.best) img { object-position: 64% 50%; }
.shot:not(.best) .frame { opacity: 0.82; }
.shot.best .frame { outline: 3px solid #fff; outline-offset: 0; }
.pick {
  position: absolute;
  left: 50%;
  bottom: -18px;
  translate: -50% 0;
  display: flex; align-items: center; gap: 6px;
  padding: 7px 14px 7px 10px;
  border-radius: 999px;
  font-size: 14px; font-weight: 600;
  white-space: nowrap;
}
.pick svg { color: var(--accent); }
.recap {
  position: absolute;
  z-index: 1;
  left: 14px; right: 14px; bottom: 14px;
  border-radius: 28px;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.recap div { flex: 1; min-width: 0; }
.recap strong { display: block; font-size: 17px; }
.recap span { display: block; font-size: 15px; color: var(--glass-text-2); }
.recap b {
  flex: none;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 22px;
  display: flex; align-items: center;
  background: var(--danger);
  color: #fff;
  font-size: 15px;
}

/* ---------- Pricing moment ---------- */
.pricing {
  position: relative;
  background: #000;
  color: #f5f5f7;
  text-align: center;
  padding: clamp(96px, 14vw, 180px) 0;
  overflow: hidden;
  isolation: isolate;
  --accent: #3dd598;
  --text-2: #a1a1a8;
}
.pricing .eyebrow { color: #3dd598; }
.pricing .statement { color: #f5f5f7; }
.amount {
  display: block;
  margin: clamp(40px, 7vw, 72px) 0 0;
  font-family: var(--font-round);
  font-size: clamp(96px, 26vw, 300px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.045em;
  white-space: nowrap;
}
.once {
  display: block;
  margin-top: 14px;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 600;
  color: #3dd598;
}
.terms-list {
  list-style: none;
  margin: clamp(48px, 7vw, 72px) auto 0;
  padding: 0;
  display: grid;
  gap: 1px;
  max-width: 880px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 24px;
  overflow: hidden;
}
@media (min-width: 700px) { .terms-list { grid-template-columns: repeat(4, 1fr); } }
.terms-list li {
  background: #0d0d0f;
  padding: 22px 18px;
  font-size: 16px;
  line-height: 1.35;
  color: #d1d1d6;
}
.terms-list b { display: block; font-size: 24px; color: #fff; font-weight: 700; margin-bottom: 4px; }
@media (prefers-color-scheme: dark) {
  .pricing { background: #0e0e10; border-block: 1px solid rgba(255, 255, 255, 0.08); }
  .terms-list li { background: #19191c; }
}
.pricing .fine { margin: 28px auto 0; color: #a1a1a8; font-size: 15px; max-width: 46ch; }

/* ---------- FAQ ---------- */
.faq-section h2 {
  margin: 0 0 32px;
  font-size: clamp(34px, 5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 20px 44px 20px 0;
  font-size: 19px;
  font-weight: 600;
  list-style: none;
  position: relative;
  min-height: 44px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 8px;
  top: 50%;
  width: 10px; height: 10px;
  border-right: 2px solid var(--text-2);
  border-bottom: 2px solid var(--text-2);
  translate: 0 -70%;
  rotate: 45deg;
  transition: rotate 0.25s var(--ease), translate 0.25s var(--ease);
}
.faq details[open] summary::after { rotate: 225deg; translate: 0 -20%; }
.faq details p { margin: 0 0 22px; color: var(--text-2); max-width: 60ch; }
.faq .more { margin: 28px 0 0; font-weight: 600; }

/* ---------- Closing band ---------- */
.closing {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  padding: 80px 16px;
  isolation: isolate;
  overflow: hidden;
}
.closing .mosaic { z-index: -1; }
.closing .hero-panel { width: min(100%, 520px); }
.closing-line {
  margin: 18px auto 0;
  font-size: clamp(20px, 3.4vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.01em;
  max-width: 22ch;
}
.closing .wordmark { font-size: clamp(64px, 14vw, 104px); display: inline-block; padding-top: 0.12em; }

/* ---------- Text pages (help, legal) ---------- */
.page { padding: clamp(56px, 9vw, 112px) 0 clamp(64px, 10vw, 128px); }
.page .wrap.narrow { max-width: calc(680px + 2 * var(--gutter)); }
.page h1 {
  font-size: clamp(38px, 7vw, 64px);
  line-height: 1.04;
  margin: 0 0 14px;
  letter-spacing: -0.035em;
  font-weight: 700;
  text-wrap: balance;
}
.page .updated { color: var(--text-2); margin: 0 0 40px; font-size: 15px; }
.page .lead {
  font-size: clamp(21px, 3vw, 26px);
  line-height: 1.35;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
.page h2 {
  font-size: 23px;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 48px 0 12px;
}
.page h3 { font-size: 19px; margin: 32px 0 8px; }
.page p, .page li { color: var(--text); line-height: 1.65; }
.page ul, .page ol { padding-left: 1.2em; }
.page li + li { margin-top: 6px; }
.page li::marker { color: var(--text-2); }
.page address { font-style: normal; }
.page .faq { margin-top: 8px; }
.page .lead + .faq { margin-top: -48px; }
.page .lead + .faq details:first-of-type { border-top: 0; }

/* ---------- 404 ---------- */
.notfound {
  min-height: 100svh;
  display: grid;
  place-content: center;
  text-align: center;
  padding: 40px 20px;
}
.notfound .wordmark { font-size: clamp(72px, 18vw, 120px); display: inline-block; padding-top: 0.12em; }
.notfound .brand { display: inline-block; }
.notfound h1 { font-size: clamp(28px, 6vw, 44px); letter-spacing: -0.03em; margin: 24px 0 12px; }
.notfound p { margin: 6px 0; color: var(--text-2); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 40px 0 56px;
  font-size: 14px;
  color: var(--text-2);
}
.site-footer .wrap { display: grid; gap: 14px; }
.site-footer .brand .wordmark { font-size: 34px; }
.site-footer nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
}
.site-footer nav a { color: var(--text); display: inline-block; padding: 10px 0; text-decoration: none; font-size: 15px; }
.site-footer nav a:hover { color: var(--accent); text-decoration: underline; }
.site-footer p { margin: 0; }

@media (max-width: 480px) {
  body { font-size: 16px; }
  .site-nav { gap: 16px; }
  .home .site-nav { padding: 0 14px; }
  .hero-panel { border-radius: 32px; }
}

/* ---------- Motion (only when allowed) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }

  /* Slow drift of the photo mosaic */
  .drift .mosaic-grid { animation: drift 70s linear infinite alternate; }
  .drift .mosaic-grid.reverse { animation-direction: alternate-reverse; }
  @keyframes drift {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(0, -18%, 0); }
  }

  /* Reveal on scroll. Hidden state only applies once JS has run (html.js). */
  .js .reveal {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
    transition-delay: var(--d, 0s);
  }
  .js .reveal.in { opacity: 1; transform: none; }

  .js .hero-panel.reveal { transform: translate3d(0, 16px, 0) scale(0.98); }
  .js .hero-panel.reveal.in { transform: none; }
}
