/* self-hosted — CSP font-src 'self' */

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  --obsidian: #0d0f12;
  --charcoal: #1a1d21;
  --slate: #5b616b;
  --red: #e6392e;
  /* the brand red falls under AA as small text on charcoal; this clears it on
     both dark grounds and is the same value as the primary button's hover */
  --red-aa-on-dark: #f04a3f;
  --white: #ffffff;

  --slate-light: #8b9099;
  --hairline-dark: rgba(255, 255, 255, 0.09);
  --hairline-light: rgba(13, 15, 18, 0.1);
  /* AA non-text contrast — discernible against paper and against the fill */
  --field-edge: rgba(13, 15, 18, 0.5);
  --paper: #f4f5f7;

  --font-brand:
    "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --step--1: clamp(0.83rem, 0.81rem + 0.1vw, 0.88rem);
  --step-0: clamp(1rem, 0.97rem + 0.15vw, 1.09rem);
  --step-1: clamp(1.2rem, 1.14rem + 0.3vw, 1.4rem);
  --step-2: clamp(1.44rem, 1.33rem + 0.55vw, 1.8rem);
  --step-3: clamp(1.75rem, 1.55rem + 1vw, 2.4rem);
  --step-4: clamp(2.1rem, 1.75rem + 1.75vw, 3.2rem);
  --step-5: clamp(2.6rem, 1.95rem + 3.2vw, 4.6rem);

  --space-xs: 0.5rem;
  --space-sm: 0.875rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6.5rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --container: 1140px;
  --form-col: 34rem;
  --nav-h: 68px;

  /* asset + font geometry */
  --wordmark-name: 1.16rem;
  --wordmark-gap: 0.21rem;
  --wordmark-sub: 0.5rem;
  --wordmark-ink: 1.61rem;
  --mark-optical: 0.92;
  --mark-ink: 0.635;
  --mark-height: calc(
    var(--wordmark-ink) * var(--mark-optical) / var(--mark-ink)
  );
  /* font metric: cap-line alignment */
  --mark-nudge: 0px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-ui);
  font-size: var(--step-0);
  line-height: 1.6;
  color: var(--white);
  background: var(--obsidian);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* keeps the footer down on pages shorter than the viewport */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
}

main {
  flex: 1 0 auto;
}

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-brand);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 var(--space-md);
  text-wrap: balance;
}

h1 {
  font-size: var(--step-5);
}
h2 {
  font-size: var(--step-4);
}
h3 {
  font-size: var(--step-2);
  font-weight: 700;
  letter-spacing: -0.015em;
}
h4 {
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 var(--space-md);
  text-wrap: pretty;
}

p:last-child,
h1:last-child,
h2:last-child,
h3:last-child {
  margin-bottom: 0;
}

a {
  color: inherit;
  text-decoration-color: var(--red);
  text-underline-offset: 3px;
}

ul {
  margin: 0 0 var(--space-md);
  padding-left: 1.15em;
}

li {
  margin-bottom: 0.4em;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: 0;
  left: -9999px;
  z-index: 100;
  padding: 0.7em 1.2em;
  font-family: var(--font-ui);
  /* AA contrast — white on red clears 4.5 only as large text, so bold at this
     size or above; the same constraint sets .btn's size */
  font-size: 1.1875rem;
  font-weight: 700;
  text-decoration: none;
  background: var(--red);
  color: var(--white);
  border-radius: 0 0 var(--radius-sm) 0;
}

.skip-link:focus {
  left: 0;
}

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

.section {
  padding-block: var(--space-2xl);
}

/* the nav is sticky and would otherwise cover the target */
.section[id] {
  scroll-margin-top: calc(var(--nav-h) + var(--space-md));
}

.section--light {
  background: var(--paper);
  color: var(--obsidian);
}

.section--charcoal {
  background: var(--charcoal);
}

.section--glow {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.section--glow::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto;
  height: 70%;
  background: radial-gradient(
    ellipse at 50% 0%,
    rgba(230, 57, 46, 0.18),
    transparent 62%
  );
  z-index: -1;
  pointer-events: none;
}

.eyebrow {
  display: block;
  font-family: var(--font-ui);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-aa-on-dark);
  margin-bottom: var(--space-sm);
}

/* AA contrast */
.section--light .eyebrow {
  color: var(--slate);
}

.rule {
  width: 46px;
  height: 3px;
  border: 0;
  margin: var(--space-md) 0;
  background: var(--red);
  border-radius: 2px;
}

.lede {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--slate-light);
  max-width: 46ch;
}

.section--light .lede {
  color: var(--slate);
}

.muted {
  color: var(--slate-light);
}

.measure {
  max-width: 56ch;
}

.section--light .muted {
  color: var(--slate);
}

.section-head {
  max-width: 62ch;
  margin-bottom: var(--space-xl);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55em;
  padding: 0.8em 1.5em;
  font-family: var(--font-ui);
  /* AA contrast — depends on label size */
  font-size: 1.1875rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition:
    transform 0.18s ease,
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--red-aa-on-dark);
}

.btn--ghost {
  border-color: rgba(255, 255, 255, 0.22);
  color: var(--white);
}

.btn--ghost:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

.section--light .btn--ghost {
  border-color: var(--hairline-light);
  color: var(--obsidian);
}

.section--light .btn--ghost:hover {
  border-color: var(--obsidian);
  background: rgba(13, 15, 18, 0.04);
}

/* Apple badge terms */
.badge {
  display: inline-block;
  line-height: 0;
}

.badge img {
  height: 48px;
  width: auto;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.note {
  margin-top: var(--space-sm);
  font-size: var(--step--1);
  color: var(--slate-light);
}

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(13, 15, 18, 0.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--hairline-dark);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  min-height: var(--nav-h);
}

.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav__brand img {
  position: relative;
  top: var(--mark-nudge);
  height: var(--mark-height);
  width: auto;
}

.wordmark {
  display: flex;
  flex-direction: column;
  font-family: var(--font-brand);
  text-transform: uppercase;
  color: var(--white);
  line-height: 1;
}

/* nav fits three links without it; the mark carries the brand */
@media (max-width: 560px) {
  .wordmark {
    display: none;
  }

  .nav__inner {
    flex-wrap: wrap;
    gap: var(--space-sm);
    padding-block: var(--space-xs);
  }

  .nav .btn {
    white-space: nowrap;
  }
}

.wordmark__name {
  font-size: var(--wordmark-name);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.wordmark__sub {
  display: flex;
  justify-content: space-between;
  margin-top: var(--wordmark-gap);
  font-size: var(--wordmark-sub);
  font-weight: 500;
}

.nav .btn {
  padding: 0.55em 1.1em;
  font-size: var(--step--1);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  font-size: var(--step--1);
  font-weight: 500;
}

.nav__links a,
.footer a {
  /* AA target size */
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  color: var(--slate-light);
  text-decoration: none;
  transition: color 0.18s ease;
}

.nav__links a:hover,
.nav__links a[aria-current="page"],
.footer a:hover {
  color: var(--white);
}

.grid {
  display: grid;
  gap: var(--space-md);
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.card {
  padding: var(--space-lg);
  background: var(--charcoal);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-lg);
}

.section--light .card {
  background: var(--white);
  border-color: var(--hairline-light);
}

.section--charcoal .card {
  background: rgba(255, 255, 255, 0.035);
}

/* auto-fill, so one app sits in a tile rather than stretching the row */
.grid--apps {
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
}

.card--app {
  display: grid;
  justify-items: start;
  gap: var(--space-xs);
  color: inherit;
  text-decoration: none;
  transition:
    border-color 0.15s ease,
    transform 0.15s ease;
}

.card--app:hover,
.card--app:focus-visible {
  border-color: var(--red);
  transform: translateY(-2px);
}

/* asset geometry — squircle */
.card__icon {
  border-radius: 18px;
  margin-bottom: var(--space-sm);
}

.card__name {
  margin: 0;
  font-family: var(--font-brand);
  font-size: var(--step-1);
  font-weight: 700;
}

.card h3,
.product__name {
  margin-bottom: var(--space-xs);
}

.card p {
  color: var(--slate-light);
  font-size: var(--step-0);
}

.section--light .card p {
  color: var(--slate);
}

.feature {
  padding-top: var(--space-md);
  border-top: 1px solid var(--hairline-light);
}

.section:not(.section--light) .feature {
  border-top-color: var(--hairline-dark);
}

/* heading outline level */
.feature h3 {
  font-size: var(--step-1);
  margin-bottom: var(--space-xs);
}

.feature p {
  margin: 0;
  color: var(--slate);
  font-size: var(--step-0);
}

.section:not(.section--light) .feature p {
  color: var(--slate-light);
}

.form__hint--lead {
  margin-bottom: var(--space-lg);
}

.form__hint {
  margin: 0;
  font-size: var(--step--1);
  color: var(--slate);
}

.callout {
  max-width: var(--form-col);
  margin: 0 0 var(--space-lg);
  padding: var(--space-sm) var(--space-md);
  background: var(--white);
  border: 1px solid var(--hairline-light);
  border-left: 3px solid var(--red);
  border-radius: var(--radius-sm);
  line-height: 1.5;
}

.form {
  display: grid;
  gap: var(--space-md);
  max-width: var(--form-col);
}

.form fieldset {
  display: grid;
  gap: var(--space-md);
  margin: 0;
  padding: 0;
  border: 0;
  min-inline-size: 0;
}

.field {
  display: grid;
  gap: var(--space-xs);
}

.field label {
  font-family: var(--font-ui);
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--slate);
}

.field label .req {
  color: var(--obsidian);
}

.form__req {
  margin: var(--space-md) 0 0;
  font-size: var(--step--1);
  color: var(--slate);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.7em 0.85em;
  font-family: var(--font-ui);
  font-size: var(--step-0);
  line-height: 1.5;
  color: var(--obsidian);
  background: var(--white);
  border: 1px solid var(--field-edge);
  border-radius: var(--radius-sm);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: var(--obsidian);
}

/* bait: named for the provider, never shown or focusable */
.field--bait {
  display: none;
}

/* hidden only where :has() can reveal them again — without it, all of it shows */
.form:has(select[name="reason"]) [data-when] {
  display: none;
}

.form:has(option[value="support"]:checked) [data-when~="support"],
.form:has(option[value="feedback"]:checked) [data-when~="feedback"] {
  display: grid;
}

/* a paragraph's link and text would become separate grid items */
.form:has(option[value="support"]:checked) p[data-when~="support"],
.form:has(option[value="feedback"]:checked) p[data-when~="feedback"] {
  display: block;
}

/* the callout is a sibling of .form, out of reach of the rules above */
.container:has(.form select[name="reason"]) .callout[data-when] {
  display: none;
}

.container:has(.form option[value="support"]:checked)
  .callout[data-when~="support"] {
  display: block;
}

.form .btn {
  justify-self: start;
}

/* stays clickable while incomplete — the click is what reports what's missing */
.form:has(:invalid) .btn--primary {
  background: var(--slate);
}

.form:has(:invalid) .btn--primary:hover {
  background: var(--slate);
  transform: none;
}

.split {
  display: grid;
  gap: var(--space-xl);
  align-items: center;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.split--reverse > :first-child {
  order: 2;
}

@media (max-width: 719px) {
  .split--reverse > :first-child {
    order: 0;
  }
}

/* Apple product image terms */
.frame--device {
  display: flex;
  justify-content: center;
  background: none;
  border: 0;
  overflow: visible;
  min-height: 0;
  --device-max: 520px;
}

.frame--device img {
  width: 100%;
  max-width: var(--device-max);
  height: auto;
}

.frame--portrait {
  --device-max: 210px;
}

.hero .frame--portrait {
  --device-max: 320px;
}

.hero {
  padding-block: clamp(var(--space-xl), 9vw, 8rem);
}

.hero__title {
  max-width: 30ch;
}

.hero__lede {
  max-width: 56ch;
  margin-top: var(--space-md);
}

.hero__lede p {
  margin-bottom: var(--space-xs);
}

.hero__lede p:last-child {
  margin-bottom: 0;
}

.app-icon {
  width: 104px;
  height: 104px;
  margin: 0 0 var(--space-lg);
  border-radius: 24px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.55);
}

.app-lockup {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

/* squircle ratio */
.app-lockup .app-icon {
  width: 44px;
  height: 44px;
  margin: 0;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.45);
}

.section--light .app-lockup .app-icon {
  box-shadow: 0 6px 16px rgba(13, 15, 18, 0.16);
}

.app-lockup .eyebrow {
  margin-bottom: 0;
}

.platforms {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  list-style: none;
  padding: 0;
  margin: var(--space-lg) 0 0;
}

.platforms li {
  margin: 0;
  padding: 0.5em 1.1em;
  font-size: var(--step--1);
  font-weight: 600;
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-pill);
  color: var(--slate-light);
}

.section--light .platforms li {
  border-color: var(--hairline-light);
  color: var(--slate);
}

.product-list {
  display: grid;
  gap: var(--space-md);
}

.product {
  display: grid;
  gap: var(--space-lg);
  align-items: center;
  grid-template-columns: minmax(0, 1fr);
  padding: var(--space-lg);
  border: 1px solid var(--hairline-dark);
  border-radius: var(--radius-lg);
  background: linear-gradient(
    140deg,
    rgba(230, 57, 46, 0.1),
    rgba(255, 255, 255, 0.02) 55%
  );
}

@media (min-width: 720px) {
  .product {
    grid-template-columns: auto minmax(0, 1fr) auto;
    padding: var(--space-lg) var(--space-xl);
  }
}

.product__icon {
  width: 76px;
  height: 76px;
  border-radius: 18px;
}

.product .platforms {
  margin-top: var(--space-md);
}

.product .platforms li {
  padding: 0.35em 0.85em;
  font-size: 0.78rem;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  font-size: var(--step-2);
  margin-top: var(--space-xl);
}

/* the nav is sticky and would otherwise cover the target */
.prose :is(h2, h3)[id] {
  scroll-margin-top: calc(var(--nav-h) + var(--space-md));
}

.prose h3 {
  font-size: var(--step-1);
  margin-top: var(--space-lg);
}

.prose p,
.prose li {
  color: var(--slate);
}

/* AA contrast + WCAG 1.4.1 */
.prose a {
  color: var(--obsidian);
  text-decoration-color: var(--red);
  text-decoration-thickness: 2px;
}

.prose ul {
  padding-left: 1.3em;
}

.prose li {
  margin-bottom: 0.5em;
}

.prose strong {
  color: var(--obsidian);
  font-weight: 600;
}

code {
  padding: 0.12em 0.38em;
  border-radius: 5px;
  background: rgba(13, 15, 18, 0.06);
  font-size: 0.9em;
}

.section:not(.section--light) code {
  background: rgba(255, 255, 255, 0.09);
}

.table-scroll {
  overflow-x: auto;
  margin-bottom: var(--space-md);
}

.prose table {
  width: 100%;
  min-width: 34rem;
  border-collapse: collapse;
  font-size: var(--step--1);
}

.prose th,
.prose td {
  padding: 0.7em 0.8em 0.7em 0;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--hairline-light);
  color: var(--slate);
}

.prose th {
  font-family: var(--font-ui);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--obsidian);
  white-space: nowrap;
}

.faq {
  border-top: 1px solid var(--hairline-light);
}

.faq details {
  border-bottom: 1px solid var(--hairline-light);
}

/* the answer is a :last-child and so has dropped its own bottom margin */
.faq details[open] {
  padding-bottom: var(--space-md);
}

/* the nav is sticky and would otherwise cover the target */
.faq details[id] {
  scroll-margin-top: calc(var(--nav-h) + var(--space-md));
}

.faq summary {
  position: relative;
  padding: var(--space-md) var(--space-lg) var(--space-md) 0;
  cursor: pointer;
  /* the marker below replaces it */
  list-style: none;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary h3 {
  margin: 0;
  font-size: var(--step-1);
}

/* two bars: a plus whose upright lies flat into a minus */
.faq summary::before,
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 0;
  width: 14px;
  height: 2px;
  margin-top: -1px;
  border-radius: 1px;
  background: var(--slate);
  transition:
    transform 0.18s ease,
    background-color 0.18s ease;
}

.faq summary::after {
  transform: rotate(90deg);
}

.faq details[open] summary::after {
  transform: rotate(0deg);
}

.faq summary:hover::before,
.faq summary:hover::after,
.faq details[open] summary::before,
.faq details[open] summary::after {
  background: var(--red);
}

/* without the script a deep link lands on a closed panel, so it says which */
.faq details:target summary h3 {
  color: var(--red);
}

.footer {
  padding-block: var(--space-xl);
  background: var(--obsidian);
  font-size: var(--step--1);
}

/* only earns a rule where the section above shares the footer's ground */
main:has(> .section:last-child:not(.section--charcoal):not(.section--light))
  + .footer {
  border-top: 1px solid var(--hairline-dark);
}

.footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer li {
  margin-bottom: 0.55em;
}

.footer__legal {
  /* AA contrast */
  color: var(--slate-light);
}

.footer__legal p {
  margin: 0;
}

/* Companies Act disclosure */
.footer__disclosure {
  margin-bottom: var(--space-sm) !important;
  line-height: 1.7;
}

.footer__disclosure strong {
  color: var(--slate-light);
  font-weight: 600;
}

.footer__legal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 var(--space-xs);
}

.footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 var(--space-xs);
}

.footer__legal-links li {
  margin-bottom: 0;
}

/* decorative — kept out of the a11y tree */
.footer__legal-links li::before {
  content: "·";
  /* fallback: no content alt-text support */
  content: "·" / "";
  margin-right: var(--space-xs);
  color: var(--slate);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  body {
    background: #fff;
    color: #000;
    display: block;
  }

  .section {
    padding-block: 1.2rem;
  }

  .section--light,
  .section--charcoal,
  .section--glow {
    background: none;
    color: #000;
  }

  .section--glow::before {
    display: none;
  }

  .nav,
  .skip-link,
  .btn,
  .btn-row,
  .badge,
  .frame--device,
  .faq summary::before,
  .faq summary::after {
    display: none;
  }

  /* a closed answer must still print, and the UA hides it two ways */
  .faq details > * {
    display: block;
  }

  .faq details::details-content {
    content-visibility: visible;
  }

  h1,
  h2,
  h3,
  h4 {
    color: #000;
    page-break-after: avoid;
  }

  p,
  li,
  td,
  th,
  .lede,
  .muted,
  .eyebrow,
  .footer,
  .footer__disclosure {
    color: #000;
  }

  a {
    color: #000;
    text-decoration: underline;
  }

  .prose a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    word-break: break-all;
  }

  /* a scroll container cannot scroll on paper */
  .table-scroll {
    overflow: visible;
  }

  .prose table {
    min-width: 0;
    font-size: 0.8rem;
  }

  tr,
  .card {
    page-break-inside: avoid;
  }

  p,
  li {
    orphans: 3;
    widows: 3;
  }

  .footer {
    border-top: 1px solid #000;
    padding-top: 1rem;
  }
}
