/*
  Edit PDF Offline · site.css
  The shared stylesheet. Mirrors the app's design language (Packages/FolioDesignSystem):
  a calm canvas, white cards with big soft corners, capsule controls, black ink, and the brand
  pink kept for selection and the one primary action on a screen. Avenir Next, like the sister
  site, with system fallbacks and no web fonts.

  Contents
    1. Tokens (light, dark)        7. Buttons
    2. Reset and base              8. Chips, cards
    3. Type                        9. Icon badges, pill tags
    4. Layout and utilities       10. Phone and Mac frames
    5. Accessibility helpers      11. Site footer
    6. Site header                12. FAQ, reduced motion, forced colors, print
*/

/* 1. Tokens ------------------------------------------------------------------------------- */

:root {
  color-scheme: light dark;

  /* Palette (FolioPalette.swift) */
  --canvas: #EAEDF2;
  --surface: #FFFFFF;
  --surface-muted: #F2F4F7;
  --ink: #0A0E1B;
  --ink-secondary: #62656C;
  --hairline: #CED1D6;
  --brand: #E933BA;
  --brand-bright: #F04FC7;
  --brand-deep: #C9279F;
  --brand-tint: #FCE6F6;
  --brand-ink: #A8167F; /* 5.0:1 on surface: fine for short text on cards */
  --on-brand: #FFFFFF;
  --on-ink: #FFFFFF;
  --success: #1B7F4A;

  /* Derived */
  --header-bg: rgb(234 237 242 / 0.78);
  --header-line: rgb(10 14 27 / 0.07);
  --shadow-card: 0 1px 2px rgb(10 14 27 / 0.04), 0 12px 32px -14px rgb(10 14 27 / 0.14);
  --card-border: transparent;
  --focus-ring: var(--ink);
  --focus-gap: #FFFFFF;
  --phone-rim: #2A2C32;
  --phone-bezel: #060607;
  --app-icon-ring: transparent;
  --phone-shadow: 0 2px 4px rgb(10 14 27 / 0.10), 0 22px 44px -14px rgb(10 14 27 / 0.30), 0 60px 110px -40px rgb(10 14 27 / 0.28);
  --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0E1B' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");

  /* Type */
  --font-sans: "Avenir Next", "Avenir", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fs-display: clamp(2.75rem, 1.55rem + 5.2vw, 5.25rem);   /* 44 → 84 */
  --fs-h1: clamp(2.125rem, 1.6rem + 2.3vw, 3.5rem);          /* 34 → 56 */
  --fs-h2: clamp(1.625rem, 1.28rem + 1.5vw, 2.5rem);         /* 26 → 40 */
  --fs-h3: clamp(1.1875rem, 1.1rem + 0.35vw, 1.375rem);      /* 19 → 22 */
  --fs-lede: clamp(1.125rem, 1.04rem + 0.38vw, 1.3125rem);   /* 18 → 21 */
  --fs-body: 1.0625rem;                                      /* 17 */
  --fs-small: 0.9375rem;                                     /* 15 */
  --fs-caption: 0.8125rem;                                   /* 13 */

  /* Space */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4rem;
  --space-9: 6rem;
  --gutter: clamp(1.25rem, 0.5rem + 3.2vw, 2.5rem);         /* 20 on phones → 40 */
  --container: 72.5rem;                                      /* 1160 */
  --section-y: clamp(4rem, 2.6rem + 6vw, 8rem);
  --section-y-sm: clamp(3rem, 2.2rem + 3.5vw, 5rem);

  /* Shape */
  --radius-card: clamp(1.75rem, 1.3rem + 1.2vw, 2.25rem);  /* 28 on phones → 36 */
  --radius-inner: 1.25rem;
  --radius-pill: 999px;
  --card-pad: clamp(1.25rem, 0.8rem + 2vw, 2.5rem);

  /* Chrome */
  --header-h: 3.75rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #141414;
    --surface: #1E1F24;
    --surface-muted: #2A2B31;
    --ink: #F5F6FA;
    --ink-secondary: #A7AAB3;
    --hairline: #3C3E46;
    --brand-tint: #3A1A33;
    --brand-ink: #F47CD6;
    --on-ink: #0A0E1B;

    --header-bg: rgb(20 20 20 / 0.9);
    --header-line: rgb(255 255 255 / 0.07);
    --shadow-card: none;
    --card-border: var(--hairline);
    --focus-gap: #141414;
    --phone-rim: #464953;
    --phone-shadow: 0 30px 70px -30px rgb(0 0 0 / 0.9);
    --app-icon-ring: rgb(255 255 255 / 0.12);
    --chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23F5F6FA' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9.5l6 6 6-6'/%3E%3C/svg%3E");
  }
}

@media (min-width: 40em) {
  :root { --header-h: 4.5rem; }
}

/* 2. Reset and base ----------------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  background: var(--canvas);
  scroll-padding-top: calc(var(--header-h) + 1.5rem);
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--fs-body);
  font-weight: 500;
  line-height: 1.55;
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

:where(h1, h2, h3, h4, h5, h6, p, figure, blockquote, dl, dd, ul, ol, pre) { margin: 0; }
:where(ul[role="list"], ol[role="list"]) { list-style: none; padding: 0; }

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

input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; }

a { color: inherit; text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }

:where(p, li, dd, figcaption) { text-wrap: pretty; }
:where(h1, h2, h3, h4) { text-wrap: balance; }

/* 3. Type --------------------------------------------------------------------------------- */

h1, .h1 { font-size: var(--fs-h1); font-weight: 700; line-height: 1.08; letter-spacing: -0.03em; }
h2, .h2 { font-size: var(--fs-h2); font-weight: 700; line-height: 1.14; letter-spacing: -0.022em; }
h3, .h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.3; letter-spacing: -0.01em; }
h4, .h4 { font-size: var(--fs-body); font-weight: 600; line-height: 1.4; }

.display {
  font-size: var(--fs-display);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.lede {
  font-size: var(--fs-lede);
  font-weight: 500;
  line-height: 1.5;
  color: var(--ink-secondary);
}

.eyebrow {
  display: block;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.01em;
  color: var(--ink-secondary);
}

.small, small { font-size: var(--fs-small); }
.caption { font-size: var(--fs-caption); font-weight: 500; line-height: 1.45; }
.text-secondary { color: var(--ink-secondary); }
.text-brand { color: var(--brand-ink); }
.text-center { text-align: center; }
.nowrap { white-space: nowrap; }

/* 4. Layout and utilities ----------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--narrow { max-width: calc(48rem + 2 * var(--gutter)); }

/* Positioned so each section paints over the soft shadows of the screenshots above it. */
.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: var(--section-y-sm); }
.section:not([class*="band--"]) + .section:not([class*="band--"]) { padding-top: 0; }

.section-head {
  display: grid;
  gap: var(--space-3);
  max-width: 44rem;
  margin-bottom: clamp(2rem, 1.4rem + 2.5vw, 3.5rem);
}
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }

.grid {
  display: grid;
  gap: var(--grid-gap, clamp(1rem, 0.7rem + 1.2vw, 1.5rem));
  grid-template-columns: repeat(auto-fit, minmax(min(100%, var(--grid-min, 16rem)), 1fr));
}

/* Full-bleed white band, to set a section apart from the canvas. */
.band--surface { background: var(--surface); }

/* Full-bleed ink band: the dark closing section. */
.band--ink {
  --canvas: #0A0E1B;
  --surface: #171B2A;
  --surface-muted: #222738;
  --ink: #F5F6FA;
  --ink-secondary: #B5B8C2;
  --hairline: rgb(255 255 255 / 0.14);
  --on-ink: #0A0E1B;
  --card-border: var(--hairline);
  --shadow-card: none;
  --focus-ring: #FFFFFF;
  --focus-gap: #0A0E1B;
  --app-icon-ring: rgb(255 255 255 / 0.12);
  background: var(--canvas);
  color: var(--ink);
}

/* 5. Accessibility helpers ---------------------------------------------------------------- */

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

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 2px;
  box-shadow: 0 0 0 2px var(--focus-gap);
}
:focus:not(:focus-visible) { outline: none; }
a:not([class]):focus-visible { border-radius: 0.25rem; }
[tabindex="-1"]:focus { outline: none; box-shadow: none; }

.skip-link {
  position: fixed;
  top: 0.625rem;
  left: 0.625rem;
  z-index: 100;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1.25rem;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: var(--on-ink);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  transform: translateY(-160%);
}
.skip-link:focus, .skip-link:focus-visible { transform: none; }

/* 6. Site header --------------------------------------------------------------------------
   Phones (< 640px): a fixed 60px bar holds brand + CTA; the text links sit in a row under it
   and scroll away with the page. From 640px: one sticky 72px row. No JavaScript involved.   */

.site-header {
  position: relative;
  z-index: 50;
  padding-top: var(--header-h);
}

.site-header::before {
  content: "";
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  background: var(--canvas);
  box-shadow: 0 1px 0 var(--header-line);
}

@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header::before {
    background: var(--header-bg);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    backdrop-filter: saturate(180%) blur(20px);
  }
}

.site-header__inner {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  color: var(--ink);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.brand__icon {
  flex: none;
  width: 2rem;
  height: 2rem;
  border-radius: 22.5%;
}

.site-header .brand {
  position: fixed;
  top: 0;
  left: var(--gutter);
  z-index: 1;
  height: var(--header-h);
}

.site-header__cta {
  position: fixed;
  top: calc((var(--header-h) - 2.75rem) / 2);
  right: var(--gutter);
  z-index: 1;
}

@media (max-width: 22.49em) {
  .site-header .brand__name {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

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

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: var(--radius-pill);
  color: var(--ink-secondary);
  font-size: var(--fs-small);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.18s var(--ease), background-color 0.18s var(--ease);
}

@media (hover: hover) {
  .site-nav a:hover { color: var(--ink); background: var(--surface); }
}

@media (min-width: 40em) {
  .site-header { position: sticky; top: 0; padding-top: 0; }
  .site-header::before { position: absolute; inset: 0; z-index: -1; height: auto; }
  .site-header__inner { display: flex; align-items: center; gap: var(--space-4); min-height: var(--header-h); }
  .site-header .brand, .site-header__cta { position: static; height: auto; }
  .brand__icon { width: 2.125rem; height: 2.125rem; }
  .site-nav { margin-left: auto; }
  .site-nav ul { margin: 0; padding: 0; gap: 0.25rem; }
  .site-nav a { padding: 0 0.875rem; }
}

/* 7. Buttons ------------------------------------------------------------------------------
   60px capsules like the app's FolioButtonStyle. Brand pink = the one primary action.      */

.btn {
  --btn-bg: var(--surface);
  --btn-fg: var(--ink);
  --btn-border: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3.75rem;
  padding: 0.5rem 1.75rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--radius-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: inherit;
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), transform 0.18s var(--ease);
}

.btn:active { transform: scale(0.97); }
.btn svg { flex: none; width: 1.25em; height: 1.25em; }

.btn--brand { --btn-bg: var(--brand); --btn-fg: var(--on-brand); }
.btn--brand:active { --btn-bg: var(--brand-deep); }
.btn--ink { --btn-bg: var(--ink); --btn-fg: var(--on-ink); }
.btn--ink:active { --btn-bg: color-mix(in srgb, var(--ink) 82%, var(--canvas)); }
.btn--surface { --btn-bg: var(--surface); --btn-fg: var(--ink); --btn-border: var(--hairline); }
.btn--surface:active { --btn-bg: var(--surface-muted); }

@media (hover: hover) {
  .btn--brand:hover { --btn-bg: var(--brand-bright); }
  .btn--brand:hover:active { --btn-bg: var(--brand-deep); }
  .btn--ink:hover { --btn-bg: color-mix(in srgb, var(--ink) 88%, var(--canvas)); }
  .btn--surface:hover { --btn-bg: var(--surface-muted); }
}

.btn--sm { min-height: 2.75rem; padding: 0.375rem 1.125rem; font-size: var(--fs-small); }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.4; pointer-events: none; }

/* 8. Chips, cards ------------------------------------------------------------------------- */

.chips { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.5rem;
  min-height: 2.75rem;
  padding: 0 1.125rem;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-pill);
  background: var(--surface);
  color: var(--ink);
  font-family: inherit;
  font-size: var(--fs-small);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

@media (hover: hover) {
  .chip:hover { background: var(--surface-muted); }
}

.chip[aria-pressed="true"],
.chip[aria-selected="true"] {
  border-color: var(--brand);
  background: var(--brand-tint);
  color: var(--ink);
}

.card {
  padding: var(--card-pad);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.card--muted { border-color: transparent; background: var(--surface-muted); box-shadow: none; }
.card > :where(h2, h3) + :where(p) { margin-top: var(--space-2); }
.card :where(p:not([class])) { color: var(--ink-secondary); }

/* 9. Icon badges, pill tags --------------------------------------------------------------- */

.icon-badge {
  --badge-size: 2.5rem;
  display: inline-grid;
  flex: none;
  place-items: center;
  width: var(--badge-size);
  height: var(--badge-size);
  border-radius: 50%;
  background: var(--surface-muted);
  color: var(--ink);
}

.icon-badge svg { width: 50%; height: 50%; }
.icon-badge--sm { --badge-size: 2rem; }
.icon-badge--lg { --badge-size: 4.75rem; }
.icon-badge--lg svg { width: 42%; height: 42%; }
.icon-badge--surface { background: var(--surface); }
.icon-badge--brand { background: var(--brand); color: var(--on-brand); }
.icon-badge--tint { background: var(--brand-tint); color: var(--brand-ink); }

.pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 1.75rem;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--surface-muted);
  color: var(--ink-secondary);
  font-size: var(--fs-caption);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.pill-tag svg { width: 1.1em; height: 1.1em; }
.pill-tag--surface { background: var(--surface); }
.pill-tag--ink { background: var(--ink); color: var(--on-ink); }
.pill-tag--brand { background: var(--brand); color: var(--on-brand); }
.pill-tag--tint { background: var(--brand-tint); color: var(--brand-ink); }

/* 10. Phone and Mac frames -----------------------------------------------------------------
   <figure class="phone" style="--phone-w: 20rem"><picture>…<img></picture></figure>
   A plain, generic frame: a flat dark border around the screen, shown straight on. No side
   keys, metal rim or tilt (Apple's marketing guidelines reserve product likenesses for its own
   bezels). The screenshots are full-bleed 1320×2868 captures, so the screen corner (12.8% of
   the screen width) is drawn here.                                                          */

.phone {
  --phone-w: min(18.75rem, 100%);
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  flex: none;
  width: var(--phone-w);
  margin: 0;
  border-radius: 15.5% / 7.42%;
  background: var(--phone-bezel);
  box-shadow: 0 0 0 1px var(--phone-rim), var(--phone-shadow);
}

.phone picture,
.phone > img {
  display: block;
  margin: 10px;
  margin: 3.6cqi;
  overflow: hidden;
  border-radius: 12.8% / 5.891%;
  background: var(--canvas);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1320 / 2868;
  object-fit: cover;
}

.phone--sm { --phone-w: min(15rem, 100%); }
.phone--lg { --phone-w: min(22.5rem, 100%); }

.phone-caption {
  margin-top: var(--space-4);
  color: var(--ink-secondary);
  font-size: var(--fs-small);
  text-align: center;
}

/* A tablet: the same flat frame, portrait, for the iPad capture (1668×2420). */
.tablet {
  --tablet-w: min(24rem, 100%);
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  width: var(--tablet-w);
  margin: 0;
  border-radius: 5.4% / 3.8%;
  background: var(--phone-bezel);
  box-shadow: 0 0 0 1px var(--phone-rim), var(--phone-shadow);
}

.tablet picture, .tablet > img {
  display: block;
  margin: 3.4cqi;
  overflow: hidden;
  border-radius: 2.2% / 1.5%;
  background: var(--canvas);
}

.tablet img { width: 100%; height: auto; aspect-ratio: 1668 / 2420; object-fit: cover; }

/* App icon images (square webp): round them like iOS. */
.app-icon { border-radius: 22.5%; box-shadow: 0 0 0 1px var(--app-icon-ring); }

/* 11. Site footer ------------------------------------------------------------------------- */

.site-footer {
  padding-block: clamp(2.5rem, 1.8rem + 3vw, 4rem) clamp(2rem, 1.6rem + 2vw, 3rem);
  border-top: 1px solid var(--hairline);
  color: var(--ink-secondary);
  font-size: var(--fs-small);
  line-height: 1.55;
}

.site-footer__top { display: grid; gap: var(--space-6); }
.site-footer__brand { display: grid; gap: var(--space-2); justify-items: start; }
.site-footer__tagline { max-width: 22rem; }

.site-footer__nav ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, max-content));
  column-gap: var(--space-6);
  margin: -0.5rem 0;
  padding: 0;
  list-style: none;
}

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

@media (hover: hover) {
  .site-footer__nav a:hover { text-decoration: underline; text-decoration-thickness: 1px; }
}

.site-footer__legal {
  display: grid;
  gap: var(--space-1);
  margin-top: var(--space-6);
  padding-top: var(--space-5);
  border-top: 1px solid var(--hairline);
  font-size: var(--fs-caption);
}

@media (min-width: 48em) {
  .site-footer__top {
    grid-template-columns: minmax(0, 1.3fr) auto;
    align-items: start;
    column-gap: clamp(2rem, 6vw, 6rem);
  }
}

/* 12. FAQ, reduced motion, forced colors, print -------------------------------------------- */

.faq {
  padding: 0.25rem var(--card-pad);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  background: var(--surface);
  box-shadow: var(--shadow-card);
}

.faq__item + .faq__item { border-top: 1px solid var(--hairline); }

.faq__item > summary {
  position: relative;
  display: block;
  min-height: 3.75rem;
  margin-inline: -0.75rem;
  padding: 1.0625rem 3.5rem 1.0625rem 0.75rem;
  border-radius: 1rem;
  color: var(--ink);
  font-size: var(--fs-body);
  font-weight: 600;
  line-height: 1.45;
  text-wrap: pretty;
  list-style: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item > summary::marker { content: ""; }

.faq__item > summary::after {
  content: "";
  position: absolute;
  top: 0.875rem;
  right: 0.625rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: var(--chevron) center / 1rem no-repeat, var(--surface-muted);
  transition: transform 0.22s var(--ease);
}

.faq__item[open] > summary::after { transform: rotate(180deg); }
.faq__item > summary:focus-visible { outline-offset: -3px; box-shadow: none; }

.faq__answer {
  padding: 0 3rem 1.25rem 0;
  color: var(--ink-secondary);
  font-size: 1rem;
  line-height: 1.62;
}

.faq__answer > * + * { margin-top: 0.75em; }
.faq__answer :where(strong) { color: var(--ink); font-weight: 600; }

@media (max-width: 29.99em) {
  .faq__answer { padding-right: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .btn:active { transform: none; }
}

@media (forced-colors: active) {
  .chip[aria-pressed="true"] { forced-color-adjust: none; background: Highlight; color: HighlightText; border-color: Highlight; }
  .faq__item > summary::after { forced-color-adjust: none; background: none; border: 1px solid CanvasText; }
  :focus-visible { outline-color: Highlight; }
}

@media print {
  :root {
    --canvas: #FFFFFF; --surface: #FFFFFF; --surface-muted: #F2F4F7;
    --ink: #000000; --ink-secondary: #3A3C42; --hairline: #CED1D6;
    --shadow-card: none; --card-border: transparent;
  }
  .site-header, .skip-link { display: none !important; }
  .faq__item > summary::after { display: none; }
}
