/*
 * aklti.app — the app's "sinia" identity (docs/adr/0011-visual-identity-sinia.md):
 * deep green ink, cream and brass. Colours come from apps/mobile/src/theme/tokens.ts.
 * Brass is decoration only (rings, rims, dashes), never text.
 */

@font-face {
  font-family: Alexandria;
  src: url('/assets/fonts/alexandria-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: Alexandria;
  src: url('/assets/fonts/alexandria-600.woff2') format('woff2');
  font-weight: 500 600;
  font-display: swap;
}
@font-face {
  font-family: Alexandria;
  src: url('/assets/fonts/alexandria-800.woff2') format('woff2');
  font-weight: 700 800;
  font-display: swap;
}

:root {
  color-scheme: light dark;
  --bg: #f1f4f1;
  --surface: #ffffff;
  --surface-alt: #e6ece7;
  --sand: #f6f1e4;
  --border: #d5ddd8;
  --text: #10231e;
  --muted: #56655f;
  --accent: #2f7a55;
  --brass: #b9832a;
  --brass-text: #7e5a1e;
  --ring-track: #efe3c8;
  --chip: #ffffff;
  --chip-on: #10231e;
  --chip-on-text: #f3e7cf;
  --focus: #2f7a55;
  /* The welcome screen's palette: the hero, the privacy band and the footer are always dark. */
  --hero: #0f2620;
  --hero-glow: #143229;
  --hero-chip: #1b3d33;
  --hero-text: #f3e7cf;
  --hero-muted: #c7d6ce;
  --hero-chip-text: #e9d3a6;
  --hero-track: #24463b;
  --hero-focus: #e9c98a;
  --ink: #10231e;
  --phone-shadow: 0 2px 4px rgb(16 35 30 / 0.1), 0 28px 56px -24px rgb(16 35 30 / 0.45);
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --font: Alexandria, system-ui, -apple-system, 'Segoe UI', 'Noto Sans Arabic', Tahoma, sans-serif;
}

/*
 * Alexandria (self-hosted, subset) covers Arabic, Urdu and the Latin of English, French, Tagalog
 * and Malay. It has no Cyrillic, no Devanagari and no Turkish ğ/ı/ş, so Russian, Hindi and
 * Turkish use the device's own fonts for the whole page rather than a mix of two fonts.
 * Urdu prefers a Nastaliq font where the device has one and falls back to Alexandria (Naskh-like).
 * Nothing is loaded from elsewhere (CSP).
 */
:lang(ru),
:lang(tr) {
  --font:
    system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Helvetica Neue', Arial, sans-serif;
}
:lang(hi) {
  --font:
    'Noto Sans Devanagari', 'Nirmala UI', 'Kohinoor Devanagari', 'Devanagari Sangam MN', Mangal,
    system-ui, sans-serif;
}
:lang(ur) {
  --font:
    'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Urdu Typesetting', Alexandria,
    'Noto Naskh Arabic', Tahoma, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0c1c18;
    --surface: #143229;
    --surface-alt: #102a23;
    --sand: #2b2719;
    --border: #2e5246;
    --text: #f3e7cf;
    --muted: #b5c6bd;
    --accent: #8fd3ae;
    --brass: #d9a44a;
    --brass-text: #e9c98a;
    --ring-track: #24463b;
    --chip: #143229;
    --chip-on: #f3e7cf;
    --chip-on-text: #10231e;
    --focus: #8fd3ae;
    --phone-shadow: 0 2px 4px rgb(0 0 0 / 0.3), 0 28px 56px -24px rgb(0 0 0 / 0.7);
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.8;
  overflow-wrap: break-word;
}
:is(:lang(en), :lang(fr), :lang(tl), :lang(ms), :lang(tr), :lang(ru)) body,
body:is(:lang(en), :lang(fr), :lang(tl), :lang(ms), :lang(tr), :lang(ru)) {
  line-height: 1.65;
}
/* Nastaliq is tall: more room between lines. */
body:lang(ur) {
  line-height: 2.2;
}
:lang(ur) :is(h1, h2, h3) {
  line-height: 1.9;
  font-weight: 700;
}

img,
svg {
  display: block;
  max-width: 100%;
}
.defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

a {
  color: var(--accent);
  text-underline-offset: 0.2em;
}
a:hover {
  text-decoration-thickness: 2px;
}
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
  border-radius: 4px;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  text-wrap: balance;
}
h1 {
  font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.9rem);
  line-height: 1.32;
}
h2 {
  font-size: clamp(1.75rem, 1.25rem + 2vw, 2.75rem);
  line-height: 1.4;
}
h3 {
  font-size: 1.25rem;
  line-height: 1.5;
  font-weight: 700;
}
:is(:lang(en), :lang(fr), :lang(tl), :lang(ms), :lang(tr), :lang(ru)) h1 {
  font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
:is(:lang(en), :lang(fr), :lang(tl), :lang(ms), :lang(tr), :lang(ru)) h2 {
  line-height: 1.2;
  letter-spacing: -0.015em;
}
p {
  margin: 0;
}
bdi {
  white-space: nowrap;
}
.lead {
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3rem);
  max-width: 38rem;
}
.small {
  font-size: 0.875rem;
  color: var(--muted);
}

.wrap {
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.narrow {
  max-width: 48rem;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip {
  position: absolute;
  inset-inline-start: 1rem;
  top: -4rem;
  z-index: 10;
  padding: 0.5rem 1rem;
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
}
.skip:focus {
  top: 1rem;
}

/* ── Header ─────────────────────────────────────────── */

.top {
  padding-block: 1rem;
}
.top-hero {
  background: var(--hero);
  color: var(--hero-text);
}
.top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.brand {
  color: inherit;
  display: block;
  border-radius: 8px;
}
.wordmark {
  height: 3rem;
  width: auto;
  color: currentColor;
}
.top-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.25rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 600;
}
.top-nav a {
  color: inherit;
  text-decoration: none;
  padding-block: 0.5rem;
}
.top-nav a:hover {
  text-decoration: underline;
}
/* The language switcher: a <details> disclosure, no script. */
.lang-menu {
  position: relative;
}
.lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.875rem;
  border: 1.5px solid currentColor;
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
}
.lang-menu summary::-webkit-details-marker {
  display: none;
}
.top-hero .lang-menu summary {
  border-color: var(--hero-chip-text);
  color: var(--hero-chip-text);
}
.lang-icon {
  width: 1.1em;
  height: 1.1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.lang-menu-list {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 0.5rem);
  z-index: 20;
  display: grid;
  min-width: 12rem;
  margin: 0;
  padding: 0.5rem;
  list-style: none;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--border);
  border-radius: 1rem;
  box-shadow: var(--phone-shadow);
}
.top-nav .lang-menu-list a {
  display: block;
  padding: 0.4rem 0.75rem;
  border-radius: 0.6rem;
}
.lang-menu-list a:hover,
.lang-menu-list a[aria-current] {
  background: var(--surface-alt);
  text-decoration: none;
}
.lang-menu-list a[aria-current] {
  font-weight: 800;
}
.top-hero :focus-visible {
  outline-color: var(--hero-focus);
}
@media (max-width: 760px) {
  .top-nav a[href^='#'] {
    display: none;
  }
}

/* ── Hero: the dark sinia ──────────────────────────── */

.hero {
  background:
    radial-gradient(ellipse 60% 70% at 30% 55%, var(--hero-glow), transparent 70%), var(--hero);
  color: var(--hero-text);
  padding-block: clamp(1.5rem, 4vw, 3rem) clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}
[dir='rtl'] .hero {
  background:
    radial-gradient(ellipse 60% 70% at 70% 55%, var(--hero-glow), transparent 70%), var(--hero);
}
.hero :focus-visible {
  outline-color: var(--hero-focus);
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
}
.hero-copy {
  display: grid;
  gap: 1.5rem;
}
.hero .lead {
  color: var(--hero-muted);
}
.hero-visual {
  position: relative;
  width: min(100%, 32rem);
  aspect-ratio: 1;
  justify-self: center;
}
.sinia {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
[dir='rtl'] .sinia {
  transform: scaleX(-1);
}
[dir='rtl'] .sinia text {
  transform-box: fill-box;
  transform-origin: center;
  transform: scaleX(-1);
}
.sinia-track {
  fill: none;
  stroke: var(--hero-track);
  stroke-width: 30;
}
.sinia-inner {
  fill: none;
  stroke: var(--hero-brass, #b9832a);
  stroke-width: 2;
  stroke-dasharray: 1 11;
  stroke-linecap: round;
  opacity: 0.8;
}
.sinia-arc {
  fill: none;
  stroke: var(--hero-text);
  stroke-width: 30;
  stroke-linecap: round;
}
.plate circle {
  fill: #173d2c;
  stroke: var(--hero);
  stroke-width: 6;
}
.plate text {
  fill: #a8e0c0;
  font-family: var(--font);
  font-weight: 800;
  font-size: 30px;
  text-anchor: middle;
  dominant-baseline: central;
}
.plate-next circle {
  fill: var(--hero-glow);
  stroke: #b9832a;
  stroke-width: 3;
  stroke-dasharray: 7 6;
}
.plate-next path {
  stroke: #d9a44a;
  stroke-width: 3;
  stroke-linecap: round;
}
.hero-visual .phone-hero {
  position: absolute;
  inset-inline-start: 50%;
  top: 50%;
  width: 46%;
  translate: -50% -50%;
}
[dir='rtl'] .hero-visual .phone-hero {
  translate: 50% -50%;
}

.stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}
.store {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.5rem 1.25rem;
  border-radius: 14px;
  border: 1.5px solid var(--hero-chip);
  background: var(--hero-chip);
  color: var(--hero-chip-text);
  line-height: 1.4;
  cursor: default;
}
.store-soon {
  font-size: 0.8125rem;
  color: var(--hero-muted);
}
.store-name {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--hero-text);
}
.notify {
  color: var(--hero-chip-text);
  font-weight: 600;
  padding-block: 0.75rem;
}

@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-visual {
    width: min(100%, 28rem);
  }
}

/* ── Phones ─────────────────────────────────────────── */

.phone {
  margin: 0;
  width: 100%;
  max-width: 19rem;
  padding: 0.625rem;
  border-radius: 2.75rem;
  background: var(--ink);
  box-shadow:
    inset 0 0 0 1px rgb(217 190 133 / 0.35),
    var(--phone-shadow);
}
.phone-screen {
  border-radius: 2.2rem;
  overflow: hidden;
  aspect-ratio: 390 / 844;
  background: var(--bg);
}
.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}
/* The top of a screen only: the part each step is about. */
.phone-crop .phone-screen {
  aspect-ratio: 390 / 630;
}
.phone-crop {
  border-end-start-radius: 1.5rem;
  border-end-end-radius: 1.5rem;
}
.phone-crop .phone-screen {
  border-end-start-radius: 1.1rem;
  border-end-end-radius: 1.1rem;
}

/* ── Sections ───────────────────────────────────────── */

.band {
  padding-block: clamp(3rem, 6vw, 5rem);
}
/* Right after the hero: the hero's own bottom padding is already part of the gap. */
.hero + .band {
  padding-block-start: clamp(2.5rem, 5vw, 4rem);
}
.band h2 + p {
  margin-block-start: 1rem;
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.125rem;
}

/* How it works: a real sequence, so the steps are numbered. */
.steps {
  list-style: none;
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.step {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}
.step-visual {
  display: grid;
  place-items: center;
  min-height: 26rem;
  margin-block-end: 0.75rem;
  padding: 1.5rem 1rem 0;
  border-radius: 1.875rem;
  background: var(--surface);
  overflow: hidden;
}
.step-visual .phone {
  max-width: 15.5rem;
  align-self: end;
}
.step h3 {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.75rem;
}
.step-n {
  display: inline-grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--brass);
  font-size: 1.125rem;
  color: var(--text);
}
.step p {
  color: var(--muted);
}
.viewfinder {
  position: relative;
  width: min(100%, 15rem);
  aspect-ratio: 1;
  align-self: center;
  margin-block-end: 1.5rem;
  padding: 1rem;
}
.viewfinder::before {
  content: '';
  position: absolute;
  inset: 0;
  --c: var(--brass);
  --l: 2.25rem;
  background:
    linear-gradient(var(--c), var(--c)) top left / var(--l) 3px,
    linear-gradient(var(--c), var(--c)) top left / 3px var(--l),
    linear-gradient(var(--c), var(--c)) top right / var(--l) 3px,
    linear-gradient(var(--c), var(--c)) top right / 3px var(--l),
    linear-gradient(var(--c), var(--c)) bottom left / var(--l) 3px,
    linear-gradient(var(--c), var(--c)) bottom left / 3px var(--l),
    linear-gradient(var(--c), var(--c)) bottom right / var(--l) 3px,
    linear-gradient(var(--c), var(--c)) bottom right / 3px var(--l);
  background-repeat: no-repeat;
  border-radius: 6px;
}
.viewfinder-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
@media (max-width: 860px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    max-width: 30rem;
  }
  .step-visual {
    min-height: 0;
  }
}

/* Local food: dish names and the portion chips on the tray. */
.local {
  background: var(--sand);
}
.local-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.dishes {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.4rem);
  font-weight: 600;
  line-height: 1.6;
}
.dishes li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.dishes li::before {
  content: '';
  width: 0.7em;
  height: 0.7em;
  flex: none;
  border-radius: 50%;
  border: 2px solid var(--brass);
}
.portion {
  display: grid;
  gap: 1rem;
  justify-items: center;
  text-align: center;
}
.portion-chips {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
}
.portion-chips legend {
  width: 100%;
  margin-block-end: 0.75rem;
  font-weight: 700;
  font-size: 1.125rem;
}
.portion-chips input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
}
.portion-chips label {
  min-width: 5.5rem;
  min-height: 3rem;
  padding: 0.6rem 1.25rem;
  border-radius: 999px;
  border: 1.5px solid var(--border);
  background: var(--chip);
  font-weight: 600;
  cursor: pointer;
  line-height: 1.6;
}
.portion-chips input:checked + label {
  background: var(--chip-on);
  border-color: var(--chip-on);
  color: var(--chip-on-text);
}
.portion-chips input:focus-visible + label {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}
.tray-stage {
  position: relative;
  width: min(100%, 24rem);
  aspect-ratio: 1;
  margin-block: 0.5rem;
}
/* The whole tray, dashed, so what wasn't eaten stays visible. */
.tray-stage::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px dashed var(--brass);
  opacity: 0.7;
}
.tray {
  position: absolute;
  inset: 0;
  transition:
    transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
    opacity 0.3s;
}
.tray img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
  transition: clip-path 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.tray-b {
  opacity: 0;
  transform: scale(0.6);
}
.portion:has(#portion-half:checked) .tray-a img {
  clip-path: polygon(50% 0, 100% 0, 100% 100%, 50% 100%);
}
.portion:has(#portion-quarter:checked) .tray-a img {
  clip-path: polygon(50% 0, 100% 0, 100% 50%, 50% 50%);
}
.portion:has(#portion-double:checked) .tray-stage::before {
  opacity: 0;
}
.portion:has(#portion-double:checked) .tray-a {
  transform: translate(-16%, -12%) scale(0.7);
}
.portion:has(#portion-double:checked) .tray-b {
  opacity: 1;
  transform: translate(16%, 12%) scale(0.7);
}
.portion-notes {
  min-height: 1.8em;
  font-weight: 600;
}
.portion-note:not(.portion-note-all) {
  display: none;
}
.portion:has(#portion-half:checked) .portion-note-half,
.portion:has(#portion-quarter:checked) .portion-note-quarter,
.portion:has(#portion-double:checked) .portion-note-double {
  display: inline;
}
.portion:has(#portion-half:checked) .portion-note-all,
.portion:has(#portion-quarter:checked) .portion-note-all,
.portion:has(#portion-double:checked) .portion-note-all {
  display: none;
}
.ai-note {
  font-style: normal;
}
@media (max-width: 860px) {
  .local-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Honest numbers: the number as the app shows it. */
.honest-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.honest-grid > .phone {
  justify-self: center;
}
.figure {
  margin: 2rem 0 2.5rem;
  padding-block: 1.5rem;
  border-block: 2px solid var(--ring-track);
}
.figure-number {
  font-size: clamp(4rem, 2rem + 8vw, 8rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-align: start;
}
[dir='rtl'] .figure-number {
  text-align: right;
}
.figure-range {
  font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem);
  font-weight: 600;
  color: var(--muted);
}
.figure figcaption {
  margin-block-start: 0.5rem;
  font-size: 0.9375rem;
  color: var(--muted);
}
.points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 40rem;
}
.points li {
  position: relative;
  padding-inline-start: 2rem;
}
.points li::before {
  content: '≈';
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  font-weight: 800;
  color: var(--brass-text);
}
@media (max-width: 860px) {
  .honest-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Your day: three screens of the same day. */
.day {
  background: var(--surface-alt);
}
.day-head {
  max-width: 44rem;
}
.day-phones {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-items: center;
  align-items: start;
  gap: clamp(1rem, 3vw, 2.5rem);
  margin-block: clamp(2.5rem, 6vw, 4rem);
}
.day-phones .phone-b {
  margin-block-start: 3rem;
}
.points-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: none;
  gap: clamp(1rem, 3vw, 2.5rem);
}
.points-row li::before {
  content: '';
  top: 0.55em;
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 50%;
  border: 2px solid var(--brass);
}
@media (max-width: 860px) {
  .day-phones {
    grid-template-columns: repeat(3, 78%);
    justify-items: stretch;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-block-end: 1.5rem;
    padding-inline: 0.25rem;
  }
  .day-phones .phone {
    scroll-snap-align: center;
    max-width: none;
  }
  .day-phones .phone-b {
    margin-block-start: 0;
  }
  .points-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Privacy: on the dark sinia, like the welcome screen. */
.privacy {
  border-block: 1px solid var(--hero-chip);
  background: var(--hero);
  color: var(--hero-text);
}
.privacy :focus-visible {
  outline-color: var(--hero-focus);
}
.privacy a {
  color: var(--hero-chip-text);
}
.privacy-list {
  list-style: none;
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}
.privacy-list li {
  display: grid;
  gap: 0.75rem;
  align-content: start;
}
.privacy-list p {
  color: var(--hero-muted);
}
.icon {
  width: 2.75rem;
  height: 2.75rem;
  fill: none;
  stroke: #d9a44a;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.privacy-consent {
  margin-block-start: clamp(2rem, 5vw, 3rem);
  padding-block-start: 1.5rem;
  border-block-start: 1px solid var(--hero-chip);
  color: var(--hero-muted);
  max-width: 48rem;
}
@media (max-width: 860px) {
  .privacy-list {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Languages: each name in its own script. */
.langs-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.lang-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.lang-list a {
  display: block;
  padding: 0.875rem 1rem;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}
.lang-list a:hover {
  text-decoration: underline;
}
.lang-list a[aria-current] {
  box-shadow: inset 0 0 0 2px var(--accent);
}
.lang-list li {
  border-radius: 1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: clamp(1.0625rem, 0.95rem + 0.5vw, 1.3rem);
  font-weight: 600;
  text-align: center;
  line-height: 1.6;
}
@media (max-width: 860px) {
  .langs-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media (max-width: 420px) {
  .lang-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* FAQ */
.faq {
  border-block-start: 1px solid var(--border);
}
.faq-list {
  margin-block-start: 2rem;
  border-block-start: 1px solid var(--border);
}
.faq-list details {
  border-block-end: 1px solid var(--border);
}
.faq-list summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 3rem;
  padding-block: 1.125rem;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none;
}
.faq-list summary::-webkit-details-marker {
  display: none;
}
.faq-list summary::after {
  content: '+';
  flex: none;
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid var(--brass);
  font-weight: 600;
  line-height: 1;
}
.faq-list details[open] summary::after {
  content: '−';
}
.faq-list details p {
  padding-block-end: 1.25rem;
  color: var(--muted);
  max-width: 42rem;
}

/* ── Inner pages ────────────────────────────────────── */

.page,
.legal {
  padding-block: clamp(2rem, 5vw, 4rem) clamp(3rem, 8vw, 6rem);
}
.page h1,
.legal h1 {
  margin-block-end: 1rem;
  font-size: clamp(1.9rem, 1.4rem + 2vw, 2.75rem);
}
.page h2 {
  margin-block: 3rem 1rem;
  font-size: 1.6rem;
}
.page .lead {
  color: var(--muted);
}
.contact {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}
.contact li {
  display: grid;
  gap: 0.25rem;
  padding: 1.25rem 1.5rem;
  border-radius: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
}
.contact span {
  color: var(--muted);
  font-size: 0.9375rem;
}
.contact a {
  font-weight: 700;
  font-size: 1.125rem;
}
@media (max-width: 600px) {
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }
}
.delete-steps {
  display: grid;
  gap: 0.5rem;
  margin-block: 0 1rem;
  padding-inline-start: 1.5rem;
}
.legal {
  line-height: 1.9;
}
.legal h2 {
  font-size: 1.35rem;
  margin-block: 2.5rem 0.5rem;
}
.legal h3 {
  font-size: 1.1rem;
  margin-block: 1.75rem 0.25rem;
}
.legal p,
.legal ul,
.legal ol {
  margin-block: 0.75rem;
}
.legal ul,
.legal ol {
  padding-inline-start: 1.5rem;
}
.legal .table {
  overflow-x: auto;
}
.legal table {
  border-collapse: collapse;
  width: 100%;
  font-size: 0.9375rem;
}
.legal th,
.legal td {
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  text-align: start;
  vertical-align: top;
}
.legal th {
  background: var(--surface-alt);
}
.notfound + .notfound {
  padding-block-start: 0;
}
.button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  background: var(--chip-on);
  color: var(--chip-on-text);
  font-weight: 700;
  text-decoration: none;
  margin-inline-end: 1rem;
}

/* ── Footer ─────────────────────────────────────────── */

.foot {
  border-block-start: 1px solid var(--hero-chip);
  background: var(--hero);
  color: var(--hero-muted);
  padding-block: 3.5rem 2rem;
  font-size: 0.9375rem;
}
.foot a {
  color: var(--hero-chip-text);
}
.foot :focus-visible {
  outline-color: var(--hero-focus);
}
.foot-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, 1.5fr);
  gap: 2rem;
}
.foot-brand {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.wordmark-foot {
  height: 3.5rem;
  color: var(--hero-text);
}
.foot-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}
.foot-company {
  display: grid;
  gap: 1rem;
  align-content: start;
}
.foot-company strong {
  color: var(--hero-text);
}
.foot-note {
  margin-block-start: 1rem;
  font-size: 0.8125rem;
}
.foot-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-langs a[aria-current] {
  color: var(--hero-text);
  font-weight: 700;
  text-decoration: none;
}
.foot-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-block-start: 3rem;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid var(--hero-chip);
}
@media (max-width: 860px) {
  .foot-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
