/*
  Veritas, the product page.

  The app puts two voices on one screen and keeps them apart: what a publisher wrote is set
  in Literata on paper; what Veritas says is set in Atkinson Hyperlegible, and its marks sit
  in a margin column. The page speaks in Veritas's voice and shows the app's screens drawn in
  HTML, each with that margin, with invented content. The highlighter appears under a claim
  being checked and nowhere else.

  The footer is the one place that is not Veritas: it carries the colours and the wordmark
  of CIDIX, who makes it.
*/

@font-face {
  font-family: 'Literata';
  src: url('/assets/literata.a524b6ec07.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-display: swap;
}

@font-face {
  font-family: 'Atkinson Hyperlegible Next';
  src: url('/assets/atkinson.8d468736b0.woff2') format('woff2-variations');
  font-weight: 400 700;
  font-display: swap;
}

:root {
  /* The app's light palette (lib/design/tokens.dart). */
  --paper: #f5f6f8;
  --surface: #ffffff;
  --note: #e7ecfa;
  --ink: #161c2d;
  --ink-soft: #454e63;
  --ink-faint: #636b7e;
  --rule: #d5dae3;
  --pencil: #2450b8;
  --marker: #ffe566;
  --supported: #17643f;
  --contradicted: #ae231c;
  --contested: #7d5100;
  --unverified: #545d70;

  /* CIDIX, for the footer. */
  --cidix-amethyst: #3c274f;
  --cidix-dust: #d6d5c9;

  --publisher: 'Literata', Georgia, 'Times New Roman', serif;
  --veritas: 'Atkinson Hyperlegible Next', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --page: 72rem;
  --edge: clamp(1.25rem, 4vw, 3rem);
  --measure: 38rem;
  /* Inside a screen: the app's 56-point margin column and 20-point page margin. */
  --gutter: 3.5rem;
  --inset: 1.25rem;

  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    /* The app's dark palette: a blue-black page, the pencil lightened, the marker an amber wash. */
    --paper: #10141d;
    --surface: #181d29;
    --note: #1b2540;
    --ink: #e8ebf2;
    --ink-soft: #b7bece;
    --ink-faint: #949cb0;
    --rule: #2b3243;
    --pencil: #a3bcff;
    --marker: #51440b;
    --supported: #7ad4a6;
    --contradicted: #ff9389;
    --contested: #f0c36b;
    --unverified: #a9b1c3;
  }
}

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

html {
  background: var(--paper);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 5rem;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--veritas);
  font-size: 1.0625rem;
  line-height: 1.5;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
blockquote {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

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

a:hover {
  text-decoration-thickness: 0.12em;
}

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

.skip {
  position: absolute;
  left: var(--edge);
  top: -4rem;
  padding: 0.5rem 0.875rem;
  background: var(--ink);
  color: var(--paper);
  border-radius: 0.625rem;
  z-index: 3;
}

.skip:focus {
  top: 0.75rem;
}

.wrap {
  width: 100%;
  max-width: var(--page);
  margin-inline: auto;
  padding-inline: var(--edge);
}

/* --- Marks ---------------------------------------------------------------------- */

.glyph {
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.v-mark {
  display: block;
  width: 1.375rem;
  height: 1.375rem;
  fill: currentColor;
}

.figure {
  display: block;
  font-size: 1.3125rem;
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums slashed-zero;
}

.figure.is-small {
  font-size: 1.0625rem;
}

.figure-label,
.clock {
  display: block;
  font-size: 0.71875rem;
  line-height: 1.1;
}

.clock {
  padding-top: 0.2rem;
  font-size: 0.8125rem;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums slashed-zero;
}

.is-supported {
  color: var(--supported);
}

.is-contradicted {
  color: var(--contradicted);
}

.is-contested {
  color: var(--contested);
}

.is-unverified {
  color: var(--unverified);
}

/* --- Masthead ------------------------------------------------------------------- */

.masthead {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--paper);
  border-bottom: 1px solid var(--rule);
}

.masthead-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0 2rem;
  min-height: 4rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  font-family: var(--publisher);
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-decoration: none;
}

.wordmark .v-mark {
  color: var(--pencil);
}

.masthead nav {
  margin-left: auto;
}

.masthead nav ul {
  display: flex;
  gap: 1.75rem;
}

.masthead nav a {
  display: block;
  padding: 0.5rem 0;
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
}

.masthead nav a:hover {
  color: var(--pencil);
  text-decoration: underline;
}

.language {
  font-size: 0.9375rem;
}

@media (max-width: 52rem) {
  .masthead-line {
    padding-top: 0.75rem;
  }

  .language {
    margin-left: auto;
  }

  /* The sections of the page on a line of their own; it scrolls sideways when it must. */
  .masthead nav {
    order: 3;
    flex-basis: 100%;
    margin: 0.25rem calc(var(--edge) * -1) 0;
    padding-inline: var(--edge);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .masthead nav ul {
    gap: 1.5rem;
    width: max-content;
  }

  .masthead nav a {
    padding: 0.625rem 0 0.75rem;
  }

  html {
    scroll-padding-top: 7rem;
  }
}

/* --- Screens: the app, drawn ---------------------------------------------------- */

/* A phone in outline. No shadow: depth is not part of the language. */
.screen {
  width: 100%;
  max-width: 23.5rem;
  padding: 0.5rem 0 1.5rem;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: 2.25rem;
  overflow: hidden;
  font-size: 1rem;
  line-height: 1.4375;
  text-align: left;
}

.screen.is-note {
  background: var(--note);
}

.s-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 3.25rem;
  padding: 0.5rem var(--inset) 0.25rem;
  color: var(--ink);
}

.s-bar .glyph {
  width: 1.375rem;
  height: 1.375rem;
  margin-left: -0.25rem;
  stroke-width: 2;
}

.s-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.s-masthead {
  font-family: var(--publisher);
  font-size: 1.875rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* Veritas's mark in the margin, content in the text column. */
.s-row,
.s-note {
  display: grid;
  grid-template-columns: var(--gutter) minmax(0, 1fr);
  padding: 0.75rem var(--inset) 0.75rem 0;
}

.s-row.is-tight {
  padding-block: 0.375rem;
}

.s-row.claim {
  padding-block: 1rem;
}

.s-mark {
  justify-self: center;
  padding-top: 0.125rem;
  color: var(--pencil);
  text-align: center;
}

.s-mark .glyph,
.s-mark .v-mark {
  margin-inline: auto;
}

.s-mark .is-supported {
  color: var(--supported);
}

.s-mark .is-unverified {
  color: var(--unverified);
}

/* A hairline that starts at the text column, as between rows in the app. */
.s-row.is-ruled + .s-row.is-ruled .s-body {
  position: relative;
}

.s-row.is-ruled + .s-row.is-ruled .s-body::before {
  content: '';
  position: absolute;
  top: -0.75rem;
  left: 0;
  right: calc(var(--inset) * -1);
  border-top: 1px solid var(--rule);
}

.s-note {
  margin: 0.25rem 0.75rem 0.5rem;
  grid-template-columns: calc(var(--gutter) - 0.75rem) minmax(0, 1fr);
  padding: 1rem 1rem 1rem 0;
  background: var(--note);
  border-radius: 0.625rem;
}

.s-column {
  padding: 0.25rem var(--inset) 0.75rem;
}

.s-heading {
  padding: 1.25rem var(--inset) 0.25rem var(--gutter);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.s-story,
.s-article,
.s-headline,
.s-reading {
  font-family: var(--publisher);
  text-wrap: pretty;
}

.s-story {
  font-size: 1.1875rem;
  font-weight: 600;
  line-height: 1.32;
}

.s-article {
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.35;
}

.s-headline {
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.27;
}

.s-reading {
  font-size: 1.125rem;
  line-height: 1.6;
}

.s-meta {
  margin-top: 0.25rem;
  font-size: 0.84375rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.s-label {
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.35;
}

.s-text + .s-label,
.s-dashes + .s-label {
  margin-top: 1rem;
}

.s-text {
  margin-top: 0.25rem;
}

.s-text b {
  font-weight: 600;
  padding-right: 0.25rem;
}

.s-note-title {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.s-note-title + .s-text {
  margin-top: 0.5rem;
}

.s-overview {
  margin-top: 0.75rem;
  font-size: 1.0625rem;
  line-height: 1.5;
}

.s-dashes li {
  display: grid;
  grid-template-columns: 1.125rem minmax(0, 1fr);
  margin-top: 0.25rem;
}

.s-dashes li::before {
  content: '–';
}

.s-note .s-meta {
  margin-top: 0.75rem;
}

/* One segment per claim, coloured by verdict. */
.tally {
  display: flex;
  gap: 0.25rem;
  margin-top: 0.75rem;
}

.tally i {
  width: 1.625rem;
  height: 0.375rem;
  border-radius: 3px;
  background: currentColor;
}

/* The highlighter: one stroke per line of the claim. */
.claim-text {
  font-family: var(--publisher);
  font-size: 1.0625rem;
  font-weight: 500;
  line-height: 1.53;
}

.claim-text span {
  background: linear-gradient(var(--marker), var(--marker)) no-repeat 0 50% / 100% 100%;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  padding: 0.06em 0.3em;
  margin: 0 -0.3em;
}

.verdict {
  margin-top: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.84375rem;
  color: var(--pencil);
}

.chip {
  overflow-wrap: anywhere;
}

.chip span {
  text-decoration: underline;
  text-decoration-color: color-mix(in srgb, var(--pencil) 40%, transparent);
  text-underline-offset: 0.18em;
}

.chip b {
  padding-right: 0.3rem;
  font-size: 0.9375rem;
  font-weight: 600;
}

/* The reader's own articles on paper, inside a screen Veritas wrote. */
.s-inset {
  margin: 0.25rem 0.75rem 0 calc(var(--gutter) - 0.75rem);
  background: var(--paper);
  border-radius: 0.625rem;
}

.s-inset > div {
  padding: 0.75rem;
}

.s-inset > div + div {
  border-top: 1px solid var(--rule);
}

.s-inset .s-article {
  font-size: 1rem;
}

.s-actions {
  display: flex;
  justify-content: space-around;
  margin-top: 0.75rem;
  padding: 1rem var(--inset) 0;
  border-top: 1px solid var(--rule);
  color: var(--pencil);
  font-size: 0.9375rem;
  font-weight: 600;
}

/* One arrival, once: the strokes are drawn and the marks settle, one claim after the other. */
.claim-1 {
  --order: 0;
}

.claim-2 {
  --order: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .hero .claim-text span {
    animation: stroke 520ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
    animation-delay: calc(var(--order) * 420ms + 250ms);
  }

  .hero .claim .s-mark,
  .hero .claim .verdict,
  .hero .claim .s-text,
  .hero .claim .s-meta,
  .hero .claim .chips {
    animation: settle 300ms ease-out both;
    animation-delay: calc(var(--order) * 420ms + 640ms);
  }

  @keyframes stroke {
    from {
      background-size: 0% 100%;
    }
  }

  @keyframes settle {
    from {
      opacity: 0;
      transform: translateY(4px);
    }
  }
}

/* --- The page ------------------------------------------------------------------- */

/* One sentence to a line where there is room. */
h1 span {
  display: block;
}

h1 {
  font-size: clamp(2.125rem, 1.45rem + 2.6vw, 3.375rem);
  font-weight: 700;
  line-height: 1.06;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

h2 {
  font-size: clamp(1.75rem, 1.4rem + 1.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h3 {
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.3;
}

section {
  padding-block: clamp(3.5rem, 8vw, 6.5rem);
}

/* A band is set off by hairlines, never by a different ground. */
.band {
  border-block: 1px solid var(--rule);
}

.band + .band {
  border-top: 0;
}

.hero {
  padding-block: clamp(2.5rem, 6vw, 5rem) clamp(3rem, 7vw, 5.5rem);
}

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

.lead {
  max-width: 34rem;
  margin-top: 1.5rem;
  font-size: clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem);
  line-height: 1.5;
  color: var(--ink-soft);
  text-wrap: pretty;
}

.hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0;
  margin-top: 2rem;
  font-weight: 600;
}

.hero-facts li + li::before {
  content: '';
  display: inline-block;
  width: 1px;
  height: 0.9em;
  margin: 0 0.875rem -0.05em;
  background: var(--ink-faint);
}

/* Too narrow for one line: one fact to a line, without the dividers. */
@media (max-width: 34rem) {
  .hero-facts {
    flex-direction: column;
    gap: 0.25rem;
  }

  .hero-facts li + li::before {
    content: none;
  }
}

.availability {
  margin-top: 0.75rem;
  color: var(--ink-soft);
}

.hero-more {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  margin-top: 2rem;
  font-weight: 600;
}

.hero-screen {
  display: grid;
  justify-items: start;
  gap: 0.875rem;
}

.hero-screen figcaption,
.invented {
  max-width: 23.5rem;
  font-size: 0.875rem;
  line-height: 1.45;
  color: var(--ink-faint);
}

@media (min-width: 60rem) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 23.5rem;
    gap: clamp(3rem, 7vw, 6rem);
    align-items: start;
  }

  .hero-text {
    position: sticky;
    top: 6.5rem;
    padding-top: 1.5rem;
  }
}

/* --- The rule ------------------------------------------------------------------- */

.split {
  display: grid;
  gap: 2.5rem;
}

.prose {
  max-width: var(--measure);
}

.prose h2 + p {
  margin-top: 1.25rem;
}

.prose p + p,
.prose p + ul,
.prose ul + p,
.prose p + h3,
.prose ul + h3 {
  margin-top: 0.875rem;
}

.prose h3 {
  margin-top: 1.75rem;
}

.prose ul {
  padding-left: 1.1rem;
  list-style: disc;
}

.prose li + li {
  margin-top: 0.375rem;
}

.prose li::marker {
  color: var(--ink-faint);
}

.verdicts h3,
.steps-heading,
.also h3 {
  font-size: 1.0625rem;
  color: var(--ink-soft);
}

.verdicts dl {
  margin-top: 0.75rem;
}

.verdicts dl > div {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  padding: 0.875rem 0;
  border-top: 1px solid var(--rule);
}

.verdicts .glyph {
  grid-row: span 2;
}

.verdicts dt {
  font-weight: 700;
}

.verdicts dd {
  grid-column: 2;
  color: var(--ink);
}

@media (min-width: 60rem) {
  .split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 24rem);
    gap: clamp(3rem, 7vw, 6rem);
  }
}

.steps-heading {
  margin-top: clamp(3rem, 6vw, 4.5rem);
}

.steps {
  display: grid;
  gap: 2rem;
  margin-top: 1.25rem;
}

.steps li {
  padding-top: 1rem;
  border-top: 1.5px solid var(--ink);
}

.steps .figure {
  color: var(--pencil);
}

.steps h4 {
  margin-top: 0.5rem;
}

.steps p {
  margin-top: 0.375rem;
  color: var(--ink-soft);
}

@media (min-width: 40rem) {
  .steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 64rem) {
  .steps {
    grid-template-columns: repeat(4, 1fr);
  }
}

.limits {
  max-width: var(--measure);
  margin-top: clamp(2rem, 5vw, 3rem);
  padding: 1rem 1.25rem;
  background: var(--note);
  border-radius: 0.625rem;
}

/* --- What it does --------------------------------------------------------------- */

.feature {
  display: grid;
  gap: 2rem;
  padding-top: clamp(3rem, 7vw, 5.5rem);
  align-items: center;
}

.feature-text {
  max-width: 30rem;
}

.feature-text h3 {
  font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.012em;
}

.feature-text p {
  margin-top: 0.875rem;
  color: var(--ink-soft);
  text-wrap: pretty;
}

@media (min-width: 56rem) {
  .feature {
    grid-template-columns: minmax(0, 1fr) 23.5rem;
    gap: clamp(3rem, 8vw, 7rem);
  }

  .feature.is-flipped {
    grid-template-columns: 23.5rem minmax(0, 1fr);
  }

  .feature.is-flipped .feature-screen {
    order: -1;
  }
}

.also {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
}

.also ul {
  display: grid;
  gap: 0 2.5rem;
  margin-top: 0.75rem;
}

.also li {
  padding: 0.75rem 0;
  border-top: 1px solid var(--rule);
}

@media (min-width: 40rem) {
  .also ul {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 64rem) {
  .also ul {
    grid-template-columns: repeat(3, 1fr);
  }
}

.invented {
  max-width: var(--measure);
  margin-top: 2rem;
}

/* --- Free, and Premium ---------------------------------------------------------- */

.section-lead {
  max-width: var(--measure);
  margin-top: 1rem;
  font-size: 1.1875rem;
  color: var(--ink-soft);
}

.plans {
  display: grid;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

/* Free is plain text on paper. What Veritas writes for you sits on its note: the only
   shape on the page, as in the app. */
.plans > div {
  padding-block: 1.5rem 1.75rem;
}

.plans > .is-premium {
  padding-inline: 1.5rem;
  background: var(--note);
  border-radius: 0.625rem;
}

.plans h3 {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.plans h3 .v-mark {
  color: var(--pencil);
}

.plans ul {
  margin-top: 1rem;
}

.plans li {
  padding: 0.625rem 0;
  border-top: 1px solid var(--rule);
}

.plans .is-premium li {
  border-color: color-mix(in srgb, var(--ink) 16%, transparent);
}

.plans p {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink-soft);
}

@media (min-width: 44rem) {
  .plans {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

/* --- Privacy -------------------------------------------------------------------- */

.flow-label {
  margin-top: 2.5rem;
  font-weight: 700;
  color: var(--ink-soft);
}

.flow {
  display: grid;
  margin-top: 0.75rem;
  border-top: 1.5px solid var(--ink);
}

.flow li {
  position: relative;
  padding: 1rem 0 1rem 2rem;
  border-bottom: 1px solid var(--rule);
}

.flow li::before {
  content: '↓';
  position: absolute;
  left: 0;
  top: 1rem;
  color: var(--pencil);
  font-weight: 700;
}

.flow li:first-child::before {
  content: '';
  top: 1.4rem;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--pencil);
}

.flow strong,
.flow span {
  display: block;
}

.flow span {
  color: var(--ink-soft);
}

@media (min-width: 48rem) {
  .flow {
    grid-template-columns: repeat(3, 1fr);
    gap: 0 2.5rem;
    border-bottom: 1px solid var(--rule);
  }

  .flow li {
    padding: 1.25rem 0 1.5rem 2rem;
    border-bottom: 0;
  }

  .flow li::before {
    content: '→';
    top: 1.25rem;
  }

  .flow li:first-child::before {
    top: 1.65rem;
  }
}

.facts {
  display: grid;
  gap: 0 3rem;
  margin-top: 2.5rem;
}

.facts div {
  padding: 1.125rem 0;
  border-top: 1px solid var(--rule);
}

.facts dt {
  font-weight: 700;
}

.facts dd {
  margin-top: 0.25rem;
  color: var(--ink-soft);
}

@media (min-width: 48rem) {
  .facts {
    grid-template-columns: 1fr 1fr;
  }
}

.more {
  margin-top: 1.5rem;
  font-weight: 600;
}

/* --- Closing -------------------------------------------------------------------- */

.closing p {
  max-width: var(--measure);
  margin-top: 1rem;
  color: var(--ink-soft);
}

.closing p + p {
  margin-top: 0.5rem;
}

/* --- Policy pages ----------------------------------------------------------------- */

.document {
  padding-top: clamp(2.5rem, 6vw, 4.5rem);
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.document h1 {
  font-size: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  line-height: 1.12;
}

.document .dated {
  margin-top: 0.75rem;
  font-size: 0.9375rem;
  color: var(--ink-faint);
}

.document h2 {
  margin-top: 2.5rem;
  font-size: 1.3125rem;
  line-height: 1.25;
  letter-spacing: -0.005em;
}

.document h2 + p,
.document h2 + ul,
.document h2 + address {
  margin-top: 0.75rem;
}

.document h1 + p:not(.dated) {
  margin-top: 1rem;
}

.document address {
  font-style: normal;
}

.document address + p {
  margin-top: 0.875rem;
}

/* --- Footer: made by CIDIX -------------------------------------------------------- */

footer {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
  background: var(--cidix-amethyst);
  color: var(--cidix-dust);
}

footer a {
  color: var(--cidix-dust);
}

footer :focus-visible {
  outline-color: var(--cidix-dust);
}

.cidix-mark {
  display: block;
  width: 7.5rem;
  height: auto;
  fill: var(--cidix-dust);
}

.made {
  margin-top: 1rem;
  max-width: 30rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-top: 1.5rem;
  font-size: 0.9375rem;
}
