/* TestPrêt full site (W2). Plain CSS, no build step.
   Starts from W1's site.v1.css (website/assets/), which stays untouched: same fonts, tokens, header and footer.
   Everything under /assets/ is cached for a year (see _headers): when a file's content changes, give it a new
   name (site.v2.css -> site.v3.css) and update the links (scripts/website/build_next.py writes them).
   Layout uses logical properties (inline/block) so a page with dir="rtl" mirrors without extra rules. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("fonts/bricolage-grotesque-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+0152-0153, U+0178, U+2010-2026, U+202F, U+2039-203A, U+20AC, U+2122;
}

@font-face {
  font-family: "Figtree";
  src: url("fonts/figtree-400-700.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0020-007E, U+00A0-00FF, U+0152-0153, U+0178, U+2010-2026, U+202F, U+2039-203A, U+20AC, U+2122;
}

/* Colours: the app's tokens (ui/theme/Tokens.kt and the dark palette in Palette.kt). */
:root {
  color-scheme: light dark;
  --bg: #F5F6F8;
  --surface: #FFFFFF;
  --ink: #0F1B2D;
  --text-2: #3E4757;
  --muted: #5A6475;
  --outline: #D5DAE4;
  --primary: #2340D8;
  --primary-hover: #1A31A8;
  --pret: #2340D8;
  --dot: #FF7A50;
  --focus: #2340D8;
  --mark-ring: transparent;
  --hero: #0F1B2D;
  --hero-raised: #1B2537;
  --hero-outline: transparent;
  --on-hero: #FFFFFF;
  --on-hero-muted: #B9C4DD;
  --on-hero-link: #B9C6FF;
  --ring: #5B8CFF;
  --ring-track: #2A3850;
  --ok-tint: #E8F5EE;
  --ok-text: #146B45;
  --soon-tint: #F0F2F6;
  --soon-text: #3E4757;
  --eo: #2340D8;
  --eo-tint: #EEF1FD;
  --ee: #06729D;
  --ee-tint: #E0F3FE;
  --co: #B0256A;
  --co-tint: #FBE8F1;
  --ce: #4F7A12;
  --ce-tint: #EEF5E2;
  --art-bg: #0F1B2D;
  --art-outline: #0F1B2D;
  --art-chevron: #5B8CFF;
  --font-display: "Bricolage Grotesque", "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: "Figtree", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --track-display: -0.02em;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --radius: 1.25rem;
  --label-bg: #EEF1FD;
  --ph-bg: #FFF3DF;
  --ph-text: #7A4500;
  --ph-border: #C27A1A;
  --t1: #0B7A75;
  --t1-tint: #E3F4F2;
  --t1-text: #075E5A;
  --t2: #2340D8;
  --t2-tint: #EEF1FD;
  --t2-text: #1A31A8;
  --t3: #6B3FD4;
  --t3-tint: #F0EBFD;
  --t3-text: #4F2BA8;
  --shot-shadow: 0 12px 32px rgb(15 27 45 / 0.12);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0B1220;
    --surface: #141C2B;
    --ink: #E8ECF4;
    --text-2: #C3CAD8;
    --muted: #A3ADBF;
    --outline: #2C3850;
    --primary: #7C95FF;
    --primary-hover: #B9C6FF;
    --pret: #9DB0FF;
    --focus: #9DB0FF;
    --mark-ring: #2C3850;
    --hero: #1B2537;
    --hero-raised: #141C2B;
    --hero-outline: #2C3850;
    --on-hero: #E8ECF4;
    --on-hero-muted: #A3ADBF;
    --on-hero-link: #B9C6FF;
    --ring: #7C95FF;
    --ring-track: #2C3850;
    --ok-tint: #10291D;
    --ok-text: #8FE0B5;
    --soon-tint: #222C3F;
    --soon-text: #C3CAD8;
    --eo: #7C95FF;
    --eo-tint: #1C2650;
    --ee: #2EBEFE;
    --ee-tint: #02283A;
    --co: #F07AAE;
    --co-tint: #3A1428;
    --ce: #9CCB5A;
    --ce-tint: #1D2A10;
    --art-bg: #1B2537;
    --art-outline: #2C3850;
    --art-chevron: #7C95FF;
    --label-bg: #1C2650;
    --ph-bg: #33260C;
    --ph-text: #FFD58A;
    --ph-border: #F2B544;
    --t1: #2BB3A8;
    --t1-tint: #0F2E2C;
    --t1-text: #7FE0D6;
    --t2: #7C95FF;
    --t2-tint: #1C2650;
    --t2-text: #B9C6FF;
    --t3: #9B7BF0;
    --t3-tint: #241B42;
    --t3-text: #C9B8FF;
    --shot-shadow: 0 12px 32px rgb(0 0 0 / 0.4);
  }
}

/* Scripts the Latin fonts do not cover (fa, ar, zh, hi when they are published) use the system fonts and no
   negative tracking. */
:lang(fa), :lang(ar), :lang(zh), :lang(hi) {
  --font-display: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --track-display: 0;
}

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
}

img, svg { display: block; max-width: 100%; }

a {
  color: var(--primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover { color: var(--primary-hover); text-decoration-thickness: 0.14em; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  inset-block-start: 0.75rem;
  inset-inline-start: 0.75rem;
  z-index: 10;
  padding: 0.625rem 1rem;
  border-radius: 0.5rem;
  background: var(--ink);
  color: var(--bg);
  font-weight: 700;
  text-decoration: none;
  transform: translateY(-200%);
}

.skip-link:focus { transform: none; }
.skip-link:hover { color: var(--bg); }

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 74rem;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Header: brand and language on the first row, the four page links under them; one row on wide screens. */
.site-header {
  display: grid;
  grid-template-areas: "brand lang" "nav nav";
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0.5rem 1rem;
  padding-block: 1rem 0.5rem;
}

.brand { grid-area: brand; }
.main-nav { grid-area: nav; }
.lang-switch { grid-area: lang; }

.brand {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  gap: 0.625rem;
  border-radius: 0.75rem;
  color: var(--ink);
  text-decoration: none;
}

.brand:hover { color: var(--ink); }

.brand-mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 24%;
  box-shadow: 0 0 0 1px var(--mark-ring);
}

.wordmark {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: var(--track-display);
  line-height: 1;
  white-space: nowrap;
}

.wordmark-pret { color: var(--pret); }

.main-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  margin: 0;
  margin-inline-start: -0.75rem;
  padding: 0;
  list-style: none;
}

.main-nav a,
.lang-switch a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}

.main-nav a:hover,
.lang-switch a:hover { color: var(--primary-hover); text-decoration: underline; }

.main-nav a[aria-current="page"] {
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--outline);
}

.lang-switch a {
  color: var(--primary);
  box-shadow: inset 0 0 0 1px var(--outline);
}

@media (min-width: 48rem) {
  .site-header {
    grid-template-areas: "brand nav lang";
    grid-template-columns: auto 1fr auto;
    padding-block: 1.25rem;
  }

  .main-nav ul { justify-content: flex-end; margin: 0; }
}

/* Main content */
main {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: clamp(3rem, 7vw, 5rem);
  padding-block: clamp(1.5rem, 6vw, 4.5rem) clamp(3rem, 7vw, 5rem);
}

main:focus { outline: none; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: var(--track-display);
  text-wrap: balance;
}

h1 {
  margin: 0 0 1.25rem;
  font-size: clamp(2.125rem, 1.2rem + 4vw, 4rem);
  line-height: 1.05;
}

h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.625rem, 1.2rem + 1.6vw, 2.375rem);
  line-height: 1.1;
}

h3 {
  margin: 0;
  font-size: 1.25rem;
  line-height: 1.2;
}

.hero {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.hero-text { max-width: 42rem; }

.lede {
  max-width: 36em;
  margin: 0 0 2rem;
  color: var(--text-2);
  font-size: clamp(1.125rem, 1rem + 0.5vw, 1.3125rem);
  text-wrap: pretty;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.75rem;
}

.meta p { margin: 0; }

.status {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--outline);
  font-weight: 600;
}

.status-dot {
  flex: none;
  width: 0.625rem;
  height: 0.625rem;
  fill: var(--dot);
}

.contact {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-width: 0;
  font-size: 1.125rem;
  font-weight: 600;
}

.contact a { overflow-wrap: anywhere; }

.icon {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.contact .icon { color: var(--muted); }

/* Decorative art (wide screens only): the logo's guillemets inside a timer ring, over a voice waveform. */
.hero-art { display: none; }

.art {
  width: 100%;
  max-width: 24rem;
  height: auto;
  margin-inline-start: auto;
}

.art-card { fill: var(--art-bg); stroke: var(--art-outline); stroke-width: 2; }
.art-track { fill: none; stroke: rgb(255 255 255 / 0.1); stroke-width: 10; }
.art-arc { fill: none; stroke: var(--art-chevron); stroke-linecap: round; stroke-width: 10; }
.art-chevron-1, .art-chevron-2 { fill: none; stroke-linecap: round; stroke-linejoin: round; stroke-width: 9; }
.art-chevron-1 { stroke: #FFFFFF; }
.art-chevron-2 { stroke: var(--art-chevron); }
.art-dot { fill: var(--dot); }
.art-bar { fill: var(--art-chevron); opacity: 0.45; }

@media (min-width: 60rem) {
  .hero { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; }
  .hero-art { display: block; }
}

/* Links that read as "go further" */
.more {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  font-weight: 700;
}

.more::after {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-block-start: 2px solid currentColor;
  border-inline-end: 2px solid currentColor;
  transform: rotate(45deg);
}

[dir="rtl"] .more::after { transform: rotate(-135deg); }

/* The four sections */
.skills {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.skill {
  --sk: var(--eo);
  --sk-tint: var(--eo-tint);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.25rem 1.25rem 0.75rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--outline);
}

.skill-ee { --sk: var(--ee); --sk-tint: var(--ee-tint); }
.skill-co { --sk: var(--co); --sk-tint: var(--co-tint); }
.skill-ce { --sk: var(--ce); --sk-tint: var(--ce-tint); }

.skill-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.skill-head h3 { flex: 1 1 auto; }

.skill-icon {
  display: grid;
  flex: none;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.875rem;
  background: var(--sk-tint);
  color: var(--sk);
}

.skill-icon .icon { width: 1.5rem; height: 1.5rem; stroke-width: 1.9; }

.skill p { margin: 0; color: var(--text-2); }

.badge {
  flex: none;
  padding: 0.25rem 0.625rem;
  border-radius: 999px;
  font-size: 0.875rem;
  font-weight: 700;
}

.skill .badge-ok { background: var(--ok-tint); color: var(--ok-text); }
.skill .badge-soon { background: var(--soon-tint); color: var(--soon-text); }

.skill-soon { padding-block-end: 1.25rem; }

@media (min-width: 40rem) {
  .skills { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .skill { padding: 1.5rem 1.5rem 1rem; }
  .skill-soon { padding-block-end: 1.5rem; }
}

/* The estimated mark: a dark band with a labelled example of the report header. */
.grade {
  display: grid;
  gap: 2rem;
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: calc(var(--radius) * 1.4);
  background: var(--hero);
  box-shadow: inset 0 0 0 1px var(--hero-outline);
  color: var(--on-hero);
}

.grade-text p { margin: 0 0 1rem; color: var(--on-hero-muted); max-width: 38em; }
.grade-text h2 { color: var(--on-hero); }

.tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgb(185 196 221 / 0.45);
  font-size: 0.875rem;
  font-weight: 700;
}

.grade-text .tag { color: var(--on-hero); }

.more-on-hero { color: var(--on-hero-link); }
.more-on-hero:hover { color: var(--on-hero); }

.grade-sample {
  margin: 0;
  padding: 1.25rem 1.5rem 1.5rem;
  border-radius: var(--radius);
  background: var(--hero-raised);
  box-shadow: inset 0 0 0 1px rgb(185 196 221 / 0.2);
}

.grade-sample p { margin: 0; }

.sample-label {
  margin-block-end: 0.5rem;
  color: var(--on-hero-muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sample-mark {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
}

.sample-score { font-size: 3.25rem; }
.sample-level { font-size: 1.125rem; font-weight: 700; }

.grade-sample .sample-honesty {
  display: inline-block;
  margin-block: 0.75rem 1.25rem;
  padding: 0.25rem 0.625rem;
  border-radius: 0.5rem;
  background: rgb(255 122 80 / 0.16);
  color: #FFD3C4;
  font-size: 0.875rem;
  font-weight: 700;
}

.bars {
  display: grid;
  gap: 0.625rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bars li {
  display: grid;
  grid-template-columns: 7.5rem 1fr auto;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.bar-name { color: var(--on-hero); font-weight: 600; }
.bar-val { color: var(--on-hero-muted); font-variant-numeric: tabular-nums; }

.bar {
  height: 0.5rem;
  border-radius: 999px;
  background: var(--ring-track);
}

.bar-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--ring);
}

.bar-3 { width: 50%; }
.bar-4 { width: 66.67%; }

@media (min-width: 60rem) {
  .grade { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); align-items: center; gap: 3rem; }
}

/* Privacy in short */
.facts {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.facts li {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--outline);
  color: var(--text-2);
}

.facts .icon { margin-block-start: 0.1em; color: var(--primary); width: 1.5rem; height: 1.5rem; }

@media (min-width: 40rem) {
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Contact */
.contacts {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contacts li { display: flex; flex-direction: column; gap: 0.125rem; }
.contact-label { color: var(--muted); font-size: 0.9375rem; }
.contacts a { font-size: 1.125rem; font-weight: 700; overflow-wrap: anywhere; }

@media (min-width: 40rem) {
  .contacts { grid-template-columns: repeat(2, max-content); gap: 1rem 3rem; }
}

/* Footer */
.site-footer {
  padding-block: 1.75rem 2.25rem;
  border-block-start: 1px solid var(--outline);
  color: var(--muted);
  font-size: 0.875rem;
}

.site-footer p { max-width: 60rem; margin: 0; }
.site-footer p + p { margin-block-start: 0.75rem; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1.25rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-links a:hover { color: var(--primary-hover); text-decoration: underline; }
.footer-links a[aria-current="page"] { text-decoration: underline; }

/* Inner pages: title block, text, two-column rows of text and screenshot */
.page-intro { max-width: 46rem; }
.page-intro h1 { font-size: clamp(2.25rem, 1.4rem + 3.4vw, 3.5rem); }
.page-intro .lede { margin-block-end: 1.5rem; }

.prose { max-width: 42rem; color: var(--text-2); }
.prose p { margin: 0 0 1rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-inline-start: 1.25rem; }
.prose li + li { margin-block-start: 0.5rem; }
.prose h3 { margin: 1.5rem 0 0.5rem; color: var(--ink); }
.prose strong { color: var(--ink); }
.prose > :last-child { margin-block-end: 0; }

.feature {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 60rem) {
  .feature { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; }
}

.tasks {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.task {
  --tk-tint: var(--t1-tint);
  --tk-text: var(--t1-text);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--outline);
}

.task-2 { --tk-tint: var(--t2-tint); --tk-text: var(--t2-text); }
.task-3 { --tk-tint: var(--t3-tint); --tk-text: var(--t3-text); }

.task h3 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.625rem;
  margin: 0 0 0.5rem;
  font-size: 1.125rem;
}

.task p { margin: 0; color: var(--text-2); }

.task-chip {
  padding: 0.125rem 0.625rem;
  border-radius: 999px;
  background: var(--tk-tint);
  color: var(--tk-text);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0;
}

.dots {
  display: grid;
  gap: 0.625rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.dots li { position: relative; padding-inline-start: 1.25rem; }

.dots li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0.125rem;
  inset-block-start: 0.6em;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 50%;
  background: var(--primary);
}

/* The dark band: the estimated mark on the home page, the coaching block on the speaking page */
.band {
  padding: clamp(1.5rem, 5vw, 3rem);
  border-radius: calc(var(--radius) * 1.4);
  background: var(--hero);
  box-shadow: inset 0 0 0 1px var(--hero-outline);
  color: var(--on-hero);
}

.band h2 { color: var(--on-hero); }
.band p, .band li { color: var(--on-hero-muted); }
.band .tag { margin: 0 0 1rem; color: var(--on-hero); }
.band a { color: var(--on-hero-link); }
.band a:hover { color: var(--on-hero); }
.band .dots li::before { background: var(--ring); }
.band :focus-visible { outline-color: var(--on-hero-link); }

/* Screenshots: a phone-shaped frame */
.shot {
  justify-self: center;
  width: min(100%, 18rem);
  margin: 0;
}

.shot img {
  width: 100%;
  height: auto;
  border-radius: 1.75rem;
  background: var(--surface);
  box-shadow: 0 0 0 1px var(--outline), var(--shot-shadow);
}

.band .shot img { box-shadow: 0 0 0 1px rgb(185 196 221 / 0.25), var(--shot-shadow); }

.shot figcaption {
  margin-block-start: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  text-align: center;
}

.band .shot figcaption { color: var(--on-hero-muted); }

/* Tables (grading criteria, the IRCC table, colours) */
.table-wrap {
  max-width: 42rem;
  margin: 0 0 1rem;
  overflow-x: auto;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--outline);
}

table { width: 100%; border-collapse: collapse; }
caption { padding: 0.875rem 1rem 0; color: var(--ink); font-weight: 700; text-align: start; }

th, td {
  padding: 0.75rem 1rem;
  border-block-end: 1px solid var(--outline);
  text-align: start;
  vertical-align: top;
}

th { color: var(--ink); font-weight: 700; }
td { color: var(--text-2); }
tbody tr:last-child th, tbody tr:last-child td { border-block-end: 0; }
.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

.label-box {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  max-width: 46rem;
  margin: 0;
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  background: var(--label-bg);
  color: var(--ink);
}

.label-box .icon { margin-block-start: 0.15em; color: var(--primary); }
.source { max-width: 42rem; color: var(--muted); font-size: 0.9375rem; }
.url { color: var(--text-2); overflow-wrap: anywhere; }

/* FAQ */
.faq {
  display: grid;
  gap: 1rem;
  max-width: 48rem;
}

.faq-item {
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--outline);
}

.faq-item h2 { margin: 0 0 0.5rem; font-size: 1.25rem; line-height: 1.25; }
.faq-answer { color: var(--text-2); }
.faq-answer p { margin: 0; }
.faq-answer p + p { margin-block-start: 0.75rem; }

/* Privacy policy */
.policy { max-width: 46rem; color: var(--text-2); }
.policy h2 { margin: 2rem 0 0.75rem; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem); }
.policy p { margin: 0 0 1rem; }
.policy ul { margin: 0 0 1rem; padding-inline-start: 1.25rem; }
.policy li + li { margin-block-start: 0.5rem; }
.policy-meta { color: var(--muted); }

.placeholder {
  padding: 0.05em 0.4em;
  border-radius: 0.375rem;
  background: var(--ph-bg);
  color: var(--ph-text);
  outline: 2px dashed var(--ph-border);
  font-weight: 700;
}

/* Press and brand kit */
.downloads {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.download {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.875rem 1rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--outline);
}

.download-thumb {
  display: grid;
  flex: none;
  place-items: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.875rem;
  background: #F5F6F8;
  box-shadow: inset 0 0 0 1px var(--outline);
}

.download-thumb img { width: 2.5rem; height: auto; }
.download-thumb.on-dark { background: #0B1220; }
.download-text { display: flex; flex-direction: column; min-width: 0; }
.download-text a { font-weight: 700; overflow-wrap: anywhere; }
.download-meta { color: var(--muted); font-size: 0.875rem; }

@media (min-width: 40rem) {
  .downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.swatch {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  margin-inline-end: 0.5rem;
  border-radius: 0.375rem;
  box-shadow: inset 0 0 0 1px var(--outline);
  vertical-align: -0.25em;
}

.sw-ink { background: #0F1B2D; }
.sw-pret { background: #2340D8; }
.sw-guillemet { background: #5B8CFF; }
.sw-dot { background: #FF7A50; }
.sw-light { background: #F5F6F8; }
.sw-pret-dark { background: #9DB0FF; }

.boilerplate {
  max-width: 46rem;
  margin: 0 0 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--outline);
  color: var(--text-2);
}

.boilerplate p { margin: 0; }

.boilerplate .over {
  margin-block-end: 0.5rem;
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.store-graphic { max-width: 32rem; margin: 0 0 1rem; }
.store-graphic img { width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 0 0 1px var(--outline); }

/* Language chooser (/index.html) and the 404 page */
.center {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  padding-block: 3rem;
  text-align: center;
}

.center-mark { width: 4.5rem; height: 4.5rem; border-radius: 24%; box-shadow: 0 0 0 1px var(--mark-ring); }
.center .wordmark { font-size: clamp(2.5rem, 2rem + 2vw, 3.5rem); }
.center h1 { margin: 0; font-size: clamp(2rem, 1.5rem + 2.5vw, 3rem); }
.center p { margin: 0; color: var(--text-2); }
.h1-alt { display: block; margin-block-start: 0.35rem; color: var(--muted); font-size: 0.6em; }

.choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.choices a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  min-height: 3rem;
  padding: 0.5rem 1.5rem;
  border-radius: 999px;
  background: var(--surface);
  box-shadow: inset 0 0 0 1px var(--outline);
  font-size: 1.125rem;
  font-weight: 700;
  text-decoration: none;
}

.choices a:hover { text-decoration: underline; }
