/* Artiphase, 2026-09-07: graphite, soft white and a precise highlighter accent.
   Display type carries the statements; the grotesk carries the conversation.
   Native scroll constructs the header and reveals the statement's letters. */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("/assets/fonts/big-shoulders-display.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk.woff2") format("woff2");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Schibsted Grotesk";
  src: url("/assets/fonts/schibsted-grotesk-italic.woff2") format("woff2");
  font-weight: 400 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --ground: #101113;
  --ground-2: #191b1e;
  --ground-3: #26292d;
  --ink: #f2f1ed;
  --ink-2: #b6b8bc;
  --ink-3: #969ba2;
  --line: #303236;
  --line-strong: #4a4e54;
  --accent: #e8ff3d;
  --accent-deep: #d8ed39;
  --on-accent: #101113;

  --display: "Big Shoulders Display", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --body: "Schibsted Grotesk", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(1.25rem, 4.5vw, 4rem);
  --wrap: 78rem;
  --measure: 66ch;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);

  /* Refines the earlier reference match around Artiphase’s actual copy. */
  --type-hero: clamp(3.25rem, 7.4vw, 6rem);
  --type-section: clamp(2.75rem, 5.6vw, 5rem);
  --type-statement: clamp(2.5rem, 5.4vw, 5rem);
  --type-service: clamp(2rem, 3.2vw, 2.875rem);
  --type-title: clamp(1.25rem, 1.8vw, 1.5rem);
  --type-tier: clamp(2rem, 2.8vw, 2.5rem);
  --type-faq: clamp(1.0625rem, 1.5vw, 1.25rem);
  --type-close: clamp(3.5rem, 7.4vw, 6rem);
  --type-lede: clamp(1rem, 1.8vw, 1.25rem);

  color-scheme: dark;
}

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

html {
  background: var(--ground);
  color: var(--ink);
  font-family: var(--body);
  font-size: 100%;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
  scroll-padding-bottom: calc(var(--consent-space, 0px) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  padding-bottom: var(--consent-space, 0px);
  min-height: 100vh;
  background: var(--ground);
  color: var(--ink);
  font-feature-settings: "kern", "liga";
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
::-webkit-scrollbar { width: 12px; height: 12px; }
::-webkit-scrollbar-track { background: var(--ground); }
::-webkit-scrollbar-thumb { background: var(--ground-3); border: 3px solid var(--ground); }
::-webkit-scrollbar-thumb:hover { background: var(--accent-deep); }
html { scrollbar-color: var(--ground-3) var(--ground); }

img, svg, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration-color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--accent); }
p { margin: 0; max-width: var(--measure); text-wrap: pretty; }
p + p { margin-top: 1em; }
strong { font-weight: 700; }
em { font-style: italic; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: 0.005em;
  text-transform: uppercase;
  text-wrap: balance;
}
h1 { font-size: var(--type-hero); letter-spacing: -0.005em; }
h2 { font-size: var(--type-section); }
h3 { font-family: var(--body); font-size: var(--type-title); font-weight: 600; line-height: 1.25; letter-spacing: -0.02em; text-transform: none; }
h4 { font-family: var(--body); font-size: 1.0625rem; font-weight: 600; line-height: 1.35; letter-spacing: 0; text-transform: none; }
.accent { color: inherit; }
.skip {
  position: absolute; left: 1rem; top: -4rem; z-index: 100;
  padding: 0.6rem 0.9rem; background: var(--accent); color: var(--on-accent);
  font-family: var(--body); font-weight: 600; text-decoration: none;
}
.skip:focus { top: 1rem; }
.skip:hover { color: var(--on-accent); }

.wrap { width: min(100% - 2 * var(--pad), var(--wrap)); margin-inline: auto; }

/* ---- top bar --------------------------------------------------------- */
.bar {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: 4.5rem;
  display: flex; align-items: center;
  background: color-mix(in srgb, var(--ground) 82%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: transform 360ms var(--ease), border-color 300ms var(--ease);
}
.bar[data-scrolled="true"] { border-bottom-color: var(--line); }
.bar[data-menu="true"] { background: var(--ground); border-bottom-color: var(--line); }
.bar .wrap { display: flex; align-items: center; gap: 1.5rem; }
.mark { display: inline-flex; align-items: center; text-decoration: none; }
.bar .mark { height: 100%; }
.lockup { display: block; height: 1.35rem; width: 7.06rem; fill: currentColor; color: var(--ink); }
.bar nav { display: flex; gap: clamp(1rem, 2vw, 1.75rem); margin-inline: auto; }
.bar nav a {
  font-family: var(--body); font-weight: 500; font-size: 0.875rem;
  text-decoration: none; white-space: nowrap;
  color: var(--ink-2); padding: 0.75rem 0; position: relative;
}
.bar nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.4rem; height: 2px; transform: scaleX(0); transform-origin: left;
  background: var(--accent); transition: transform 240ms var(--ease);
}
.bar nav a:hover, .bar nav a[aria-current="true"] { color: var(--ink); }
.bar nav a:hover::after, .bar nav a[aria-current="true"]::after { transform: scaleX(1); }
.bar .book { margin-left: auto; }

/* A native-scroll construction becomes the persistent navigation surface.
   Neutral scaffold lines settle into lifted graphite; the accent remains an action. */
.bar[data-grid-ready="true"] { isolation: isolate; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
.bar[data-grid-ready="true"] > .wrap { position: relative; z-index: 2; }
.bar[data-grid-ready="true"] nav a { color: var(--ink); transition: none; }
.bar[data-grid-ready="true"][data-hidden="true"] { transform: translateY(-100%); }
.bar-grid, .bar-rule { pointer-events: none; }
.bar-grid { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.bar-rule { position: absolute; inset: auto 0 0; height: 1px; background: var(--line); transform: scaleX(var(--header-rule, 0)); transform-origin: center; z-index: 1; }
.bar[data-built="true"] { background: var(--ground-2); }
.bar[data-grid-ready="true"] > .wrap :focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; box-shadow: 0 0 0 5px var(--ground); }
.bar[data-built="true"] > .wrap :focus-visible { box-shadow: none; }
.hero-track > .hero { position: sticky; top: 0; }
@media (prefers-reduced-motion: reduce) {
  .bar { transition: none; }
}
@media (forced-colors: active) {
  .bar[data-grid-ready="true"] { background: Canvas; color: CanvasText; border-bottom: 1px solid CanvasText; transform: none; }
  .bar-grid, .bar-rule { display: none; }
  .bar[data-grid-ready="true"] .lockup, .bar[data-grid-ready="true"] nav a, .bar[data-grid-ready="true"] .burger { color: CanvasText; }
}
@media print {
  .bar, .sheet { display: none !important; }
  .hero-track { height: auto !important; }
  .hero-track > .hero { position: relative; }
}

.burger {
  display: none; margin-left: auto;
  width: 2.75rem; height: 2.75rem; padding: 0; border: 1px solid var(--line-strong);
  background: transparent; color: var(--ink); cursor: pointer;
}
.burger svg { width: 22px; height: 22px; margin: auto; stroke: currentColor; stroke-width: 2; fill: none; }
.burger .x { display: none; }
.burger[aria-expanded="true"] .lines { display: none; }
.burger[aria-expanded="true"] .x { display: block; }

.sheet {
  display: none; position: fixed; inset: 4.5rem 0 0 0; z-index: 39;
  background: var(--ground); padding: 2rem var(--pad) 3rem;
  flex-direction: column; overflow: auto;
}
.sheet[data-open="true"] { display: flex; animation: sheet-enter 240ms var(--ease) both; }
@keyframes sheet-enter { from { opacity: 0; transform: translateY(-0.75rem); } to { opacity: 1; transform: translateY(0); } }
.sheet > a:not(.btn) {
  font-family: var(--display); font-weight: 800; font-size: clamp(2.75rem, 9vw, 5.25rem); text-transform: uppercase;
  text-decoration: none; padding: 0.9rem 0; border-bottom: 1px solid var(--line); line-height: 1;
}
.sheet a[aria-current="true"] { color: var(--accent); }
.sheet .btn { margin-top: 1.75rem; align-self: flex-start; }

@media (max-width: 860px) {
  .bar nav, .bar .book { display: none; }
  .burger { display: inline-flex; }
}

/* ---- buttons ---------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.7rem;
  min-height: 3.25rem; padding: 0.85rem 1.5rem;
  font-family: var(--body); font-weight: 600; font-size: 0.9375rem; line-height: 1.25; white-space: nowrap;
  text-decoration: none; cursor: pointer; border: 1px solid var(--accent); color: var(--on-accent); background: var(--accent);
  transition: background 200ms var(--ease), border-color 200ms var(--ease), color 200ms var(--ease), transform 200ms var(--ease);
}
.btn:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--on-accent); }
.btn:active { transform: translateY(1px); }
.btn svg { transition: transform 200ms var(--ease); width: 0.95em; height: 0.95em; stroke: currentColor; stroke-width: 2; fill: none; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); background: transparent; }
.btn.small { min-height: 2.75rem; padding: 0.65rem 1.05rem; font-size: 0.875rem; }

.btn:hover svg { transform: translate(2px, -2px); }
.text-link { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: 0.9375rem; text-decoration: underline; text-decoration-color: var(--line-strong); }
.text-link:hover { text-decoration-color: var(--accent); }

/* ---- hero ------------------------------------------------------------- */
.hero {
  position: relative; isolation: isolate;
  padding: calc(4.5rem + clamp(3rem, 7vh, 5rem)) 0 clamp(3rem, 8vh, 5rem);
  min-height: min(90svh, 52rem);
  display: flex; align-items: center;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; background: var(--ground); }
.hero video.film {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 56% 50%;
  background: var(--ground);
}
.hero .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgb(16 17 19 / 0.96) 0%, rgb(16 17 19 / 0.86) 40%, rgb(16 17 19 / 0.38) 100%);
}
.hero .hero-copy { position: relative; z-index: 1; }
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 30%; z-index: 0; pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--ground));
}
.hero .wrap { display: grid; justify-items: start; gap: clamp(1.5rem, 3vw, 2rem); }
.hero h1 { max-width: 14ch; }
.hero .lede { color: var(--ink); max-width: 46ch; }
.hero .lede { font-size: clamp(1rem, 1.55vw, 1.25rem); }
.hero .btn { font-size: 1rem; }
.lede { font-size: var(--type-lede); line-height: 1.6; color: var(--ink-2); max-width: 44ch; }
.actions { display: flex; flex-wrap: wrap; gap: 0.85rem; }
.terms {
  display: flex; flex-wrap: wrap; gap: 0.45rem 1.4rem;
  font-size: 0.875rem; color: var(--ink-2);
  padding-top: 0.5rem;
}
.terms li { list-style: none; display: flex; align-items: center; gap: 0.6rem; }
.terms ul { display: contents; }
.terms { margin: 0; padding-left: 0; }

/* ---- sections --------------------------------------------------------- */
.section { padding: clamp(4rem, 7.5vw, 6.5rem) 0; border-top: 1px solid var(--line); }
.section > .wrap > h2 { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 22ch; }
.section .lead { font-size: var(--type-lede); color: var(--ink-2); max-width: 52ch; margin-bottom: clamp(2rem, 4vw, 3rem); }
.split { display: grid; gap: clamp(2rem, 5vw, 5rem); grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: start; }
.section > .wrap.split > h2 { margin-bottom: 0; }
.split > h2 { position: sticky; top: 6rem; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > h2 { position: static; } }

/* statement — the one-sentence about */
.statement h2 { max-width: 24ch; font-size: var(--type-statement); line-height: 1.06; }
.statement .lead { font-size: clamp(1rem, 1.5vw, 1.125rem); margin-bottom: 0; max-width: 58ch; }
.hero-principles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin: 0 0 clamp(4rem, 7vw, 6rem); padding: 0 0 1.5rem; list-style: none; border-bottom: 1px solid var(--line); color: var(--ink-2); font-size: 0.9375rem; }
.hero-principles li:last-child { text-align: right; }
.hero-principles li:nth-child(2) { text-align: center; }
.statement { border-top: 0; padding-top: 1.75rem; }
.statement > .wrap > h2 { margin-bottom: 0; }
.statement p { margin-top: clamp(1.5rem, 3vw, 2.25rem); }
.reveal-word { white-space: nowrap; }
.reveal-readable { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@media (prefers-reduced-motion: reduce), (forced-colors: active) {
  .reveal-letter { opacity: 1 !important; }
}
@media print { .reveal-letter { opacity: 1 !important; } }

/* Services remain immediate, full-row links. */
.rows { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.rows > li { border-bottom: 1px solid var(--line); }
.rows > li:last-child { border-bottom-color: var(--line-strong); }
.rows a.row { text-decoration: none; }
.row {
  display: grid; gap: 0.6rem 2rem; padding: clamp(1.5rem, 2.5vw, 2rem) 0;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr) auto; align-items: center;
}
.rows a.row :is(h2, h3) { font-family: var(--display); text-transform: uppercase; font-weight: 700; line-height: 1.25; letter-spacing: 0; font-size: var(--type-service); max-width: none; transition: color 200ms var(--ease); }
.row p { font-size: 1rem; color: var(--ink-2); max-width: 46ch; }
.row .go { font-family: var(--body); font-size: 0.875rem; font-weight: 500; color: var(--ink-3); white-space: nowrap; display: inline-flex; align-items: center; gap: 0.5rem; }
.row .go svg { width: 0.9em; height: 0.9em; stroke: currentColor; stroke-width: 2; fill: none; transition: transform 240ms var(--ease); }
a.row:hover :is(h2, h3), a.row:hover .go { color: var(--accent); }
a.row:hover .go svg { transform: translate(3px, -3px); }
@media (max-width: 860px) { .row { grid-template-columns: 1fr; } }

/* Approach: four connected ideas, with each heading beside its own explanation. */
#why .split { grid-template-columns: 1fr; gap: 3rem; }
#why .split > h2 { position: static; max-width: 16ch; }
.props { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 5rem; }
.props > li { display: grid; gap: 1rem; align-content: start; }
.props h3 { max-width: 28ch; }
.props p { color: var(--ink-2); max-width: 48ch; }

/* Process: ordered left to right, then down, without six full-width repeats. */
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.5rem 3rem; }
.steps > li { counter-increment: step; display: grid; gap: 0.85rem; align-content: start; padding-top: 1.25rem; border-top: 1px solid var(--line-strong); }
.steps > li::before { content: counter(step, decimal-leading-zero); font-family: var(--body); font-size: 0.875rem; font-weight: 500; color: var(--ink-3); font-variant-numeric: tabular-nums; margin-bottom: 0.75rem; }
.steps p { font-size: 1rem; color: var(--ink-2); }
@media (max-width: 860px) {
  .props { gap: 2.5rem; }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
}
@media (max-width: 600px) {
  .props, .steps { grid-template-columns: 1fr; }
  .steps > li { grid-template-columns: 2rem 1fr; column-gap: 1rem; }
  .steps > li::before { grid-row: 1 / 3; margin: 0.3rem 0 0; }
  .steps p { grid-column: 2; }
}

/* Two engagement formats with aligned, compact text groups. */
.shapes { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line-strong); border-bottom: 1px solid var(--line-strong); }
.shapes > li { padding: 2rem clamp(1.5rem, 4vw, 3.5rem) 2rem 0; border-right: 1px solid var(--line); display: grid; gap: 1rem; align-content: start; }
.shapes > li + li { padding-left: clamp(1.5rem, 4vw, 3.5rem); }
.shapes > li:last-child { border-right: 0; }
.shapes h3 { font-size: var(--type-tier); }
.shapes .for { font-size: 1rem; color: var(--ink-2); }
.shapes ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.5rem; }
.shapes ul li { font-size: 1rem; display: block; color: var(--ink-2); }
.shapes .price { font-family: var(--body); font-weight: 500; font-size: 0.9375rem; color: var(--ink); margin-top: 0.5rem; padding-top: 1rem; border-top: 1px solid var(--line); }
@media (max-width: 860px) {
  .shapes { grid-template-columns: 1fr; }
  .shapes > li, .shapes > li + li { border-right: 0; border-bottom: 1px solid var(--line); padding-left: 0; }
  .shapes > li:last-child { border-bottom: 0; }
}

/* FAQ — native details, themed */
.faq { margin: 0; border-top: 1px solid var(--line-strong); }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:last-child { border-bottom-color: var(--line-strong); }
.faq summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr 1.6rem; align-items: center; gap: 1.5rem;
  padding: clamp(1.1rem, 2vw, 1.5rem) 0; font-family: var(--body); font-weight: 500; font-size: var(--type-faq); line-height: 1.4; letter-spacing: -0.01em;
  transition: color 200ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--accent); }
.faq summary .plus { width: 1.1rem; height: 1.1rem; stroke: currentColor; color: var(--ink-2); stroke-width: 1.5; fill: none; justify-self: end; transition: transform 260ms var(--ease); }
.faq details[open] summary .plus { transform: rotate(45deg); color: var(--accent); }
.faq details[open] summary { color: var(--ink); }
.faq details > p, .faq details > div { font-size: 1rem; padding: 0 0 clamp(1.3rem, 2vw, 1.75rem); color: var(--ink-2); max-width: var(--measure); }

/* included lists on service pages */
.list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; border-top: 1px solid var(--line-strong); }
.list > li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 5fr); gap: 0.75rem 3rem; align-items: baseline; padding: 1.5rem 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom-color: var(--line-strong); }
.list h3 { font-size: 1.125rem; font-weight: 600; }
.list p { color: var(--ink-2); }
@media (max-width: 700px) { .list > li { grid-template-columns: 1fr; gap: 0.5rem; } }

/* Invitation and action share one composition. */
.close { padding: clamp(4rem, 7.5vw, 7rem) 0; border-top: 1px solid var(--line); background: var(--ground-2); }
.close .wrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 1.75rem 4rem; align-items: start; }
.close h2 { grid-column: 1; grid-row: 1 / 4; font-size: var(--type-close); line-height: 0.98; max-width: 14ch; }
.close .lede, .close .actions, .close .terms { grid-column: 2; }
.close .actions { align-items: center; gap: 1rem 1.5rem; }
.close .terms { gap: 0.6rem; flex-direction: column; }
@media (max-width: 860px) {
  .close .wrap { grid-template-columns: 1fr; gap: 1.5rem; }
  .close h2 { grid-row: auto; }
  .close .lede, .close .actions, .close .terms { grid-column: 1; }
}

/* footer */
.foot { border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; color: var(--ink-2); font-size: 0.875rem; }
.foot .wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 2rem; }
.foot .lockup { height: 1.5rem; width: 7.84rem; }
.foot p { margin-top: 1rem; max-width: 34ch; }
.foot h3 { font-size: 0.9375rem; font-weight: 600; color: var(--ink); margin-bottom: 1rem; }
.foot ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 0.15rem; }
.foot a { text-decoration: none; color: var(--ink-2); transition: color 180ms var(--ease); }
.foot ul a { display: inline-flex; align-items: center; min-height: 2.25rem; }
.foot .legal { font-size: 0.8125rem; }
.foot a:hover { color: var(--accent); }
/* Align icon artwork with the lockup; let the larger tap targets extend outward. */
.foot .social-links { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-top: 1rem; margin-inline-start: -0.75rem; }
.foot .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 2.75rem; height: 2.75rem; flex: 0 0 auto; }
.foot .social-links a:focus-visible { color: var(--accent); }
.foot .social-links svg { width: 1.25rem; height: 1.25rem; fill: currentColor; }
.foot .legal { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 0.5rem; display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; justify-content: space-between; }
@media (max-width: 700px) { .foot .wrap { grid-template-columns: 1fr 1fr; } .foot .wrap > :first-child { grid-column: 1 / -1; } }

/* Consent is a quiet utility strip. Both choices have equal size and weight. */
.analytics-consent[hidden] { display: none; }
.analytics-consent { position: fixed; inset: auto 0 0; z-index: 35; background: var(--ground-2); border-top: 1px solid var(--line-strong); padding: 1.25rem 0; max-height: 70svh; overflow-y: auto; }
.analytics-consent-layout { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2rem; }
.analytics-consent-copy { max-width: 65ch; }
.analytics-consent h2 { font-family: var(--body); font-size: 1rem; font-weight: 600; line-height: 1.4; text-transform: none; letter-spacing: 0; margin-bottom: 0.4rem; }
.analytics-consent p { font-size: 0.875rem; line-height: 1.6; color: var(--ink-2); }
.analytics-consent .analytics-consent-status { color: var(--ink-3); font-size: 0.8125rem; margin-top: 0.4rem; }
.analytics-consent-status:empty { display: none; }
.analytics-consent-actions { display: flex; flex: 0 0 auto; gap: 0.625rem; }
.analytics-consent-actions .btn { min-width: 9.5rem; min-height: 2.75rem; }
@media (max-width: 1000px) { .analytics-consent-layout { flex-direction: column; align-items: flex-start; gap: 1rem; } }
@media (max-width: 600px) {
  .analytics-consent { padding-bottom: max(1.25rem, env(safe-area-inset-bottom)); }
  .analytics-consent-actions { width: 100%; flex-wrap: wrap; }
  .analytics-consent-actions .btn { flex: 1; min-width: 0; padding-inline: 0.65rem; }
}
@media print { .analytics-consent { display: none; } body { padding-bottom: 0; } }

/* ---- inner pages -------------------------------------------------------- */
.page-hero { padding: calc(4.5rem + clamp(3rem, 6vw, 5rem)) 0 clamp(3rem, 5vw, 4.5rem); }
.related .all { border-color: var(--accent); color: var(--accent); }
.page-hero h1 { font-size: var(--type-hero); max-width: 18ch; }
.inner-page .section { padding-block: clamp(3rem, 5.5vw, 5rem); }
.inner-page .section h2 { font-size: clamp(2.25rem, 4vw, 3.5rem); max-width: 20ch; }
#how-we-manage-your-account .split > h2 { font-family: var(--body); font-size: clamp(1.5rem, 2.4vw, 2rem); font-weight: 500; text-transform: none; letter-spacing: -0.02em; line-height: 1.2; }
.page-hero .lede { margin-top: 1.5rem; }
.page-hero .actions { margin-top: 2rem; }
.prose { max-width: var(--measure); }
.prose h2 { font-family: var(--body); font-weight: 500; font-size: clamp(1.5rem, 2.4vw, 2rem); text-transform: none; letter-spacing: -0.02em; line-height: 1.2; margin: 2.5rem 0 1rem; }
.prose > h2:first-child { margin-top: 0; }
.prose h3 { margin: 1.75rem 0 0.6rem; }
.prose ul { padding-left: 1.2rem; color: var(--ink-2); }
.prose li + li { margin-top: 0.4rem; }
.prose .small, .lede.small { font-size: 0.92rem; color: var(--ink-3); }
.manage h3 { font-family: var(--body); text-transform: none; letter-spacing: 0; font-size: 1.0625rem; font-weight: 600; margin-top: 1.75rem; }

.manage p { color: var(--ink-2); margin-top: 0.35rem; }
.related { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.related a { font-family: var(--body); font-weight: 500; font-size: 0.9375rem; text-decoration: none; padding: 0.65rem 1rem; min-height: 2.75rem; transition: border-color 180ms var(--ease), color 180ms var(--ease); border: 1px solid var(--line-strong); color: var(--ink-2); }
.related a:hover { border-color: var(--accent); color: var(--accent); }
.related a[aria-current="page"] { border-color: var(--accent); color: var(--accent); }

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

@media (max-width: 600px) {
  .hero { min-height: min(90svh, 48rem); }
  .hero .scrim { background: rgb(16 17 19 / 0.82); }
  .hero-principles { grid-template-columns: 1fr; gap: 0.65rem; margin-bottom: 3.5rem; }
  .hero-principles li:nth-child(n) { text-align: left; }
  .hero .actions { gap: 0.75rem; }
  .hero .btn { font-size: 0.9375rem; padding-inline: 1.125rem; }
  .row { grid-template-columns: minmax(0, 1fr) auto; gap: 1rem; }
  .row p { grid-column: 1 / -1; grid-row: 2; }
  .row .go { font-size: 0.8125rem; }
  .shapes > li, .shapes > li + li { padding-right: 0; }
  .foot ul a { min-height: 2.75rem; }
}
@media (forced-colors: active) {
  .btn, .burger, .related a { border-color: ButtonText; }
  .btn { background: ButtonFace; color: ButtonText; }
  .bar nav a[aria-current="true"] { text-decoration: underline; }
}
