/* AERI ORAL — site styles. Plain CSS, no external requests. */

:root {
  --ink: #1F1E1F;          /* near-black, as on the box */
  --ink-2: #4E5156;        /* the box's "14 TREATMENTS" grey: big numerals (8.3:1) */
  --grey-body: #5F6266;    /* small body text (6.1:1 on white) */
  --grey-label: #6B6E72;   /* small uppercase labels (5.1:1 on white) */
  --grey-deco: #818488;    /* box grey: large decorative uppercase only (3.8:1) */
  --rule: #E6E6E7;
  --bg: #FFFFFF;
  --bg-soft: #F7F7F7;
  --peach-hi: #F9C9AE;
  --peach-mid: #F4AE8A;
  --peach-edge: #EE8B5D;
  --coral: #E07A4F;        /* accent: lines, dots, underlines (non-text) */
  --coral-text: #D5654E;   /* PEACH as printed: large text only (3.6:1) */
  --sphere: radial-gradient(75% 75% at 36% 30%, #F9C9AE 0%, #F4AE8A 42%, #EE8B5D 100%);
  --font: "Helvetica Neue", Helvetica, Arial, "Liberation Sans", "Nimbus Sans", "Nimbus Sans L", sans-serif;
  --track-wide: 0.25em;
  --track-label: 0.2em;
  --gutter: 16px;
  --maxw: 1160px;
  --header-h: 64px;
}

@media (min-width: 600px) { :root { --gutter: 32px; } }
@media (min-width: 1100px) { :root { --gutter: 48px; } }

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

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

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

@media (min-width: 900px) { body { font-size: 17px; } }

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { text-decoration-color: var(--coral); }

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

::selection { background: var(--peach-hi); color: var(--ink); }

[hidden] { display: none !important; }

.sr-only {
  position: absolute !important;
  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: -120px;
  z-index: 100;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

.nowrap { white-space: nowrap; }

/* ---------- Brand elements ---------- */

.wordmark {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: var(--track-wide);
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}

.sphere {
  display: block;
  border-radius: 50%;
  background: var(--sphere);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--grey-label);
}
.eyebrow::before {
  content: "";
  flex: none;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sphere);
}

h1, h2, h3 {
  margin: 0;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--ink);
}

h2 { font-size: clamp(28px, 4.2vw, 44px); letter-spacing: -0.02em; }
h1, h2 { text-wrap: balance; }
p, li, dd { text-wrap: pretty; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--header-h);
}

.header-inner .wordmark { font-size: 14px; padding: 8px 0; }

.nav { display: none; }
.nav ul { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; }
.nav a,
.header-link {
  display: inline-block;
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--grey-label);
  text-decoration: none;
}
.nav a:hover,
.header-link:hover { color: var(--ink); }

.menu summary {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0 10px 12px;
  list-style: none;
  cursor: pointer;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
}
.menu summary::-webkit-details-marker { display: none; }
.menu-icon {
  position: relative;
  width: 18px; height: 10px;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}
.menu[open] .menu-icon { border-color: transparent; }
.menu[open] .menu-icon::before,
.menu[open] .menu-icon::after {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 18px; height: 1.5px;
  margin-top: -1px;
  background: var(--ink);
  transform: rotate(45deg);
}
.menu[open] .menu-icon::after { transform: rotate(-45deg); }

.menu-panel {
  position: absolute;
  left: 0; right: 0; top: 100%;
  background: #fff;
  border-bottom: 1px solid var(--rule);
  box-shadow: 0 24px 40px -28px rgba(31, 30, 31, 0.35);
}
.menu-panel ul { margin: 0; padding: 4px var(--gutter) 16px; list-style: none; }
.menu-panel li + li { border-top: 1px solid var(--rule); }
.menu-panel a {
  display: block;
  padding: 15px 0;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
}

@media (min-width: 860px) {
  .nav { display: block; }
  .menu { display: none; }
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 0 28px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn--primary { background: var(--ink); color: #fff; }
.btn--primary[href]:hover { background: #000; }
.btn--primary:not([href]) { cursor: default; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--grey-deco); }
.btn--ghost:hover { border-color: var(--ink); }
.btn__dot {
  flex: none;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--sphere);
}

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

.hero {
  position: relative;
  overflow: hidden;
  padding: 44px 0 40px;
}

.hero-grid { display: grid; gap: 28px; align-items: center; }

.hero-title { margin: 0 0 22px; }
.hero-title .wordmark {
  display: block;
  margin-bottom: 20px;
  font-size: 15px;
}
.hero-headline {
  display: block;
  max-width: 16ch;
  font-size: clamp(36px, 9.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}

.hero-line {
  margin: 0 0 30px;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--grey-label);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
@media (max-width: 519px) { .hero-actions .btn { width: 100%; } }

.hero-note {
  margin: 18px 0 0;
  font-size: 14px;
  color: var(--grey-body);
}

/* The box: a CSS 3D model built from the six printed panels of the real carton.
   Without JavaScript it rests at the angle below. assets/js/box-viewer.js lets visitors
   turn it (drag or swipe) and zoom it (pinch, Ctrl/Cmd + scroll, double-click, buttons). */
.hero-visual {
  --bw: clamp(168px, 46vw, 292px);   /* box width at rest */
  --bh: calc(var(--bw) * 1.7577);    /* 2735 / 1556 */
  --ui-h: 0px;                       /* room for the controls under the box; set when the viewer starts */
  position: relative;
  min-height: calc(var(--bh) * 1.26 + var(--ui-h));
  padding-bottom: var(--ui-h);
}
.hero-visual.is-live { --ui-h: 56px; }

.sphere--hero {
  position: absolute;
  left: 50%; top: calc(50% - var(--ui-h) / 2);
  width: calc(var(--bw) * 1.72);
  aspect-ratio: 1 / 1;
  transform: translate(-38%, -60%);
}

.viewer { position: absolute; inset: 0 0 var(--ui-h) 0; }
.viewer-mask-x, .viewer-mask-y { position: absolute; inset: 0; }

.zoom {
  --z: 1;                            /* zoom; box-viewer.js sets it */
  --w: calc(var(--bw) * var(--z));
  --h: calc(var(--w) * 1.7577);      /* 2735 / 1556 */
  --d: calc(var(--w) * 0.2461);      /*  383 / 1556 */
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
}

.stage {
  position: relative;
  width: var(--w);
  height: var(--h);
  perspective: calc(1800px * var(--z));
}

.box {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: rotateX(-9deg) rotateY(-27deg);
}

.face {
  position: absolute;
  overflow: hidden;
  background: #fff;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.face img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}
/* ::before draws the fold line at the panel's edges; ::after is the light on the panel.
   --shade is the darkness of a panel at its darker end (box-viewer.js updates it as the box turns);
   --shade-from and --shade-stop set how light its other end is. */
.face::before, .face::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
.face::before { box-shadow: inset 0 0 0 1px rgba(31, 30, 31, 0.06); }
.face::after {
  background: linear-gradient(var(--shade-dir), rgba(31, 30, 31, var(--shade-from)) var(--shade-stop), rgb(31, 30, 31));
  opacity: var(--shade, 0);
}

/* Each panel sits half a pixel inside the box, so neighbouring panels overlap at the folds. */
.face--front, .face--back { --shade-dir: 100deg; --shade-from: 0; --shade-stop: 45%; inset: 0; }
.face--front { --shade: 0.041; transform: translateZ(calc(var(--d) / 2 - 0.5px)); }
.face--back  { --shade: 0.12;  transform: rotateY(180deg) translateZ(calc(var(--d) / 2 - 0.5px)); }

/* The sides are darker towards the front edge, the top and bottom towards the back edge. */
.face--right, .face--left {
  --shade-from: 0.6;
  --shade-stop: 0%;
  top: 0;
  left: calc((var(--w) - var(--d)) / 2);
  width: var(--d);
  height: 100%;
}
.face--right { --shade: 0.14; --shade-dir: 270deg; transform: rotateY(90deg) translateZ(calc(var(--w) / 2 - 0.5px)); }
.face--left  { --shade: 0.14; --shade-dir: 90deg;  transform: rotateY(-90deg) translateZ(calc(var(--w) / 2 - 0.5px)); }

.face--top, .face--bottom {
  --shade-from: 0.35;
  --shade-stop: 0%;
  left: 0;
  top: calc((var(--h) - var(--d)) / 2);
  width: 100%;
  height: var(--d);
}
.face--top    { --shade: 0.041; --shade-dir: 0deg;   transform: rotateX(90deg) translateZ(calc(var(--h) / 2 - 0.5px)); }
.face--bottom { --shade: 0.14;  --shade-dir: 180deg; transform: rotateX(-90deg) translateZ(calc(var(--h) / 2 - 0.5px)); }

.box-floor {
  position: absolute;
  left: 50%;
  top: calc(50% + var(--h) / 2);
  width: calc(var(--w) * 1.15 * var(--floor-w, 1));
  height: calc(var(--w) * 0.16);
  transform: translate(var(--floor-x, -46%), -42%);
  border-radius: 50%;
  opacity: var(--floor-o, 1);
  background: radial-gradient(closest-side, rgba(31, 30, 31, 0.24), rgba(31, 30, 31, 0.08) 60%, rgba(31, 30, 31, 0));
}

@supports not (transform-style: preserve-3d) {
  .box { transform: none; }
  .face--front { transform: none; }
  .face:not(.face--front) { display: none; }
}

@media (prefers-reduced-motion: no-preference) {
  .stage { animation: float 7s ease-in-out infinite; }
  .is-zoomed .stage { animation-play-state: paused; }
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
  }
}

/* The viewer, once box-viewer.js has started */
.is-live .viewer {
  cursor: grab;
  touch-action: pan-y;               /* an up/down swipe still scrolls the page */
  -webkit-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  border-radius: 14px;
}
.is-live .viewer.is-grabbing { cursor: grabbing; }
.is-live.is-zoomed .viewer { touch-action: none; }
.is-live .viewer:focus-visible { outline-offset: -3px; }

/* Soft edges where a zoomed-in box meets the edge of its frame */
.is-live .viewer-mask-x {
  -webkit-mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
  mask-image: linear-gradient(to right, transparent, #000 24px, #000 calc(100% - 24px), transparent);
}
.is-live .viewer-mask-y {
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16px, #000 calc(100% - 16px), transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 16px, #000 calc(100% - 16px), transparent);
}

.viewer-ui {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: var(--ui-h);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.viewer-hint {
  margin: 0;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--grey-label);
}
.viewer-buttons { display: flex; gap: 8px; }
.viewer-btn {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  padding: 0;
  border: 1px solid #CFD0D2;
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.viewer-btn:hover { border-color: var(--ink); }
.viewer-btn[aria-disabled="true"] { color: #A9ABAE; border-color: var(--rule); cursor: default; }
.viewer-btn svg {
  width: 18px; height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
@media (pointer: coarse) { .viewer-btn { width: 44px; height: 44px; } }

.viewer-toast {
  position: absolute;
  left: 50%; top: 18px;
  z-index: 2;
  margin: 0;
  padding: 9px 16px;
  border-radius: 999px;
  background: rgba(31, 30, 31, 0.88);
  color: #fff;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -6px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.viewer-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

@media (min-width: 900px) {
  .hero { padding: 64px 0 72px; }
  .hero-grid { grid-template-columns: 1.08fr 1fr; gap: 40px; }
  .hero-title .wordmark { font-size: 17px; margin-bottom: 26px; }
  .hero-visual { min-height: calc(var(--bh) * 1.3 + var(--ui-h)); }
  .sphere--hero { transform: translate(-30%, -64%); }
}

/* ---------- Sections ---------- */

.section {
  padding: 72px 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: var(--header-h);
}
@media (min-width: 900px) { .section { padding: 104px 0; } }

.section-head { margin-bottom: 40px; }
.section-head h2 { max-width: 18ch; }

.intro-grid { display: grid; gap: 24px; margin-bottom: 48px; }
.intro-grid .section-head { margin-bottom: 0; }
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 1fr 1fr; gap: 64px; align-items: end; margin-bottom: 64px; }
}

.copy p { margin: 0 0 16px; max-width: 58ch; color: var(--grey-body); }
.copy p:last-child { margin-bottom: 0; }
.copy .lead { color: var(--ink); font-size: 1.0625em; }
.fine { font-size: 14px; }

/* Key facts */
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--rule);
}
.fact {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-width: 0;
  padding: 22px 14px 26px 0;
  border-bottom: 1px solid var(--rule);
}
.fact dt {
  font-size: 11px;
  line-height: 1.4;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--grey-label);
}
.fact dd {
  display: flex;
  align-items: flex-end;
  min-height: 1em;
  margin: 0;
  font-size: clamp(44px, 12vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--ink-2);
}
.fact dd small {
  margin-left: 0.18em;
  padding-bottom: 0.1em;
  font-size: 0.32em;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fact dd .word {
  padding-bottom: 0.08em;
  font-size: clamp(19px, 5.2vw, 28px);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
.fact dd .word--peach {
  color: var(--coral-text);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

@media (min-width: 760px) {
  .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .fact { padding: 26px 20px 30px 0; }
  .fact dd { font-size: clamp(56px, 6.4vw, 76px); }
  .fact dd .word { font-size: clamp(22px, 2.3vw, 28px); }
}

/* How to use */
.steps {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--rule);
}
.step { padding: 28px 0 32px; border-bottom: 1px solid var(--rule); }
.step::before {
  content: "";
  display: block;
  width: 28px; height: 2px;
  margin-bottom: 22px;
  background: var(--coral);
}
.step h3 {
  margin-bottom: 12px;
  font-size: 14px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.step p { margin: 0; max-width: 34ch; color: var(--grey-body); }

@media (min-width: 700px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
}
@media (min-width: 1100px) {
  .steps { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 36px; }
  .step { padding-bottom: 8px; border-bottom: 0; }
}

/* Ingredients and warnings */
.label-grid { display: grid; gap: 48px; }
.label-text { order: 1; }
.back-figure { order: 2; margin: 0; }
.back-figure img {
  width: 100%;
  max-width: 260px;
  border: 1px solid var(--rule);
  box-shadow: 0 30px 50px -36px rgba(31, 30, 31, 0.45);
}
.back-figure figcaption,
.note {
  margin-top: 14px;
  font-size: 12px;
  letter-spacing: var(--track-label);
  text-transform: uppercase;
  color: var(--grey-label);
}
.label-block + .label-block { margin-top: 36px; padding-top: 36px; border-top: 1px solid var(--rule); }
.label-block h3 {
  margin-bottom: 14px;
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.label-block p { margin: 0; max-width: 64ch; }

@media (min-width: 900px) {
  .label-grid { grid-template-columns: minmax(0, 340px) minmax(0, 1fr); gap: 80px; align-items: start; }
  .back-figure { order: 0; position: sticky; top: calc(var(--header-h) + 32px); }
  .back-figure img { max-width: 340px; }
  .label-text { order: 0; }
}

/* FAQ */
.faq-grid { display: grid; gap: 8px; }
@media (min-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 64px; align-items: start; }
}
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  position: relative;
  padding: 22px 44px 22px 0;
  list-style: none;
  cursor: pointer;
  font-size: 1.0625em;
  font-weight: 700;
  line-height: 1.35;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  right: 4px; top: 50%;
  width: 14px; height: 14px;
  margin-top: -7px;
  background:
    linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat,
    linear-gradient(var(--ink), var(--ink)) center / 1.5px 14px no-repeat;
}
.faq details[open] summary::after {
  background: linear-gradient(var(--ink), var(--ink)) center / 14px 1.5px no-repeat;
}
.faq summary:hover { color: #000; }
.answer { padding: 0 0 24px; color: var(--grey-body); }
.answer p { margin: 0 0 10px; max-width: 60ch; }
.answer p:last-child { margin-bottom: 0; }
.answer a { color: var(--ink); }

/* Contact */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: end; }
}
.contact-email {
  display: inline-block;
  margin: 4px 0 20px;
  font-size: clamp(26px, 4.4vw, 44px);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  text-decoration: none;
  border-bottom: 2px solid var(--coral);
  overflow-wrap: anywhere;
}
.contact-email:hover { border-bottom-color: var(--ink); }

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

.site-footer {
  padding: 56px 0 40px;
  background: var(--bg-soft);
  border-top: 1px solid var(--rule);
  font-size: 14px;
  line-height: 1.6;
  color: var(--grey-body);
}
.footer-top {
  display: grid;
  gap: 24px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand .sphere { width: 18px; height: 18px; }
.footer-brand .wordmark { font-size: 13px; }
.footer-legal p { margin: 0 0 6px; }
.footer-legal a,
.footer-links a { color: var(--ink); }
.footer-bottom {
  display: grid;
  gap: 10px;
  padding-top: 24px;
  font-size: 13px;
}
.footer-bottom p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 8px 24px; margin: 0; padding: 0; list-style: none; }

@media (min-width: 900px) {
  .footer-top { grid-template-columns: auto 1fr; gap: 64px; align-items: start; }
  .footer-legal { justify-self: end; text-align: right; }
  .footer-bottom { grid-template-columns: auto auto 1fr; gap: 32px; align-items: center; }
  .footer-bottom p:last-child { justify-self: end; text-align: right; }
}

/* ---------- Simple pages (privacy) ---------- */

.page { padding: 56px 0 88px; }
@media (min-width: 900px) { .page { padding: 88px 0 120px; } }
.page h1 { font-size: clamp(34px, 6vw, 56px); letter-spacing: -0.025em; margin-bottom: 14px; }
.page .updated { margin: 0 0 40px; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--grey-label); }
.prose { max-width: 680px; }
.prose h2 { margin: 40px 0 12px; font-size: 22px; letter-spacing: -0.01em; }
.prose p, .prose li { color: var(--grey-body); }
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 14px; padding-left: 1.2em; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--ink); }
.prose strong { color: var(--ink); }

@media print {
  .site-header, .skip-link, .hero-visual, .btn { display: none !important; }
  .section { padding: 24px 0; }
}
