/* Zero to Accessible — site styles.
   Type: Atkinson Hyperlegible Next (Braille Institute; made for low-vision readers), self-hosted.
   Sizes in rem so the whole page follows the reader's browser text size. */

@font-face { font-family: "Atkinson Next"; font-weight: 400; font-display: swap;
  src: url("fonts/atkinson-hyperlegible-next-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Next"; font-weight: 700; font-display: swap;
  src: url("fonts/atkinson-hyperlegible-next-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Atkinson Next"; font-weight: 400; font-display: swap;
  src: url("fonts/atkinson-hyperlegible-next-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, 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: "Atkinson Next"; font-weight: 700; font-display: swap;
  src: url("fonts/atkinson-hyperlegible-next-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  color-scheme: light dark;
  --ink: #14213d;        /* text, 15.9:1 on paper */
  --paper: #ffffff;
  --mist: #edf1f7;       /* panels, table stripes */
  --line: #8a96ab;       /* borders, 3.1:1 on paper */
  --muted: #475569;      /* secondary text, 7.6:1 */
  --accent: #2f3fcf;     /* links and the main button, 7.1:1; white on it 7.1:1 */
  --accent-ink: #ffffff;
  --ok: #17703a;         /* "covered" marks, 6.0:1 */
  --phone: #f2f2f7;      /* iOS grouped background */
  --phone-row: #ffffff;
  --font: "Atkinson Next", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ios: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  --measure: 66ch;
}
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef2f8; --paper: #0f1626; --mist: #1a2438; --line: #6f7d96; --muted: #b8c2d3;
    --accent: #9fb0ff; --accent-ink: #0f1626; --ok: #6fd393; --phone: #000000; --phone-row: #1c1c1e;
  }
}

* { box-sizing: border-box; }
html { font-size: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.125rem/1.6 var(--font);
  -webkit-text-size-adjust: 100%; text-size-adjust: 100%;
}
img, svg { max-width: 100%; }
a { color: var(--accent); text-underline-offset: 0.18em; text-decoration-thickness: 0.08em; }
a:hover { text-decoration-thickness: 0.14em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; }
pre { background: var(--mist); padding: 1rem 1.125rem; border-radius: 6px; overflow-x: auto; white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.5; }
p code, li code, td code { background: var(--mist); padding: 0.08em 0.3em; border-radius: 4px; }

.skip { position: absolute; left: 1rem; top: -10rem; background: var(--paper); color: var(--accent); padding: 0.75rem 1rem; z-index: 10; }
.skip:focus { top: 1rem; }

.wrap { max-width: 72rem; margin: 0 auto; padding: 0 1.25rem; }
.prose { max-width: var(--measure); }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; align-items: center; justify-content: space-between; padding-block: 1rem; }
.brand { font-weight: 700; font-size: 1.125rem; color: var(--ink); text-decoration: none; }
.brand span { font-weight: 400; color: var(--muted); }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-nav a { color: var(--ink); text-decoration: none; padding-block: 0.6rem; display: inline-block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { text-decoration: underline; }

/* Type scale (1.25) */
h1, h2, h3 { line-height: 1.15; letter-spacing: -0.01em; margin: 0 0 0.6em; }
h1 { font-size: clamp(2.4rem, 1.6rem + 3.6vw, 4.4rem); font-weight: 700; letter-spacing: -0.025em; }
h2 { font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.44rem); margin-top: 0; }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
.lede { font-size: 1.32rem; line-height: 1.5; color: var(--muted); max-width: 36ch; }

section { padding-block: clamp(3rem, 2rem + 4vw, 5.5rem); }
section + section { border-top: 1px solid var(--line); }

/* Buttons */
.actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 1.75rem; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem;
  padding: 0.7rem 1.35rem; border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none;
  border: 2px solid var(--accent); background: var(--accent); color: var(--accent-ink); cursor: pointer;
}
.button:hover { filter: brightness(1.08); }
.button.secondary { background: transparent; color: var(--accent); }

/* Hero */
.hero .wrap { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 60rem) { .hero .wrap { grid-template-columns: 1.1fr 1fr; } }

/* The demo: an iPhone settings row at every text size */
.demo { background: var(--mist); border-radius: 28px; padding: 1.25rem; }
.demo-title { font-size: 1.25rem; margin: 0 0 1rem; }
.demo-controls { display: grid; gap: 0.75rem; margin-bottom: 1.25rem; }
.demo label { font-weight: 700; }
.size-label { margin: 0; }
.size-readout { font-variant-numeric: tabular-nums; color: var(--muted); font-weight: 400; }
.demo input[type="range"] { width: 100%; min-height: 2.75rem; accent-color: var(--accent); }
.switch-row { display: flex; gap: 0.75rem; align-items: center; min-height: 2.75rem; }
.switch-row input { width: 1.5rem; height: 1.5rem; accent-color: var(--accent); flex: none; }
.switch-row label { font-weight: 400; }

.phone {
  width: min(100%, 20rem); margin-inline: auto; background: var(--phone); border: 1px solid var(--line);
  border-radius: 34px; padding: 1.1rem 0.9rem 1.4rem; font-family: var(--ios); color: var(--ink);
  overflow: hidden;
}
.phone-title { font-weight: 700; margin: 0.25rem 0.4rem 0.75rem; }
.phone-list { list-style: none; margin: 0; padding: 0; background: var(--phone-row); border-radius: 12px; }
.phone-row { display: flex; align-items: center; gap: 10px; padding: 8px 12px; min-height: 44px; }
.phone-row + .phone-row { border-top: 1px solid color-mix(in srgb, var(--line) 50%, transparent); }
.phone-row .name, .phone-row .value { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.phone-row .name { flex: 1 1 auto; }
.phone-row .value { flex: 0 1 auto; color: var(--muted); }
.phone-row .icon { flex: none; width: 1.45em; height: 1.45em; border-radius: 0.35em; display: grid; place-items: center; color: #fff; }
.phone-row .icon svg { width: 0.9em; height: 0.9em; }
/* Adaptive stack: what AStack does in SwiftUI at accessibility sizes */
.phone.adaptive.ax .phone-row { flex-direction: column; align-items: flex-start; gap: 4px; padding-block: 12px; }
.phone.adaptive.ax .phone-row .name,
.phone.adaptive.ax .phone-row .value { white-space: normal; overflow: visible; text-overflow: clip; overflow-wrap: anywhere; hyphens: auto; line-height: 1.15; }
.demo-note { margin: 0.75rem 0 0; color: var(--muted); font-size: 0.9rem; text-align: center; }
.demo-caption { margin: 1rem 0 0; color: var(--muted); font-size: 1rem; }

/* Comparison table */
.table-wrap { overflow-x: auto; margin-top: 2rem; }
table { border-collapse: collapse; width: 100%; }
@media (max-width: 30rem) { th, td { padding: 0.7rem 0.3rem; } th:first-child, td:first-child { padding-left: 0; } td, tbody th { font-size: 1rem; } thead th { font-size: 1rem; } }
caption { text-align: left; color: var(--muted); padding-bottom: 0.75rem; }
th, td { text-align: left; vertical-align: top; padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); }
thead th { font-size: 1.15rem; border-bottom-width: 2px; }
tbody th { font-weight: 400; }
td.yes { color: var(--ok); font-weight: 700; }
td.no { color: var(--muted); }

/* Lists of things Pro covers */
.split { display: grid; gap: 2rem 3rem; }
@media (min-width: 52rem) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 60rem) { .split.three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.audience { margin-top: 1rem; color: var(--muted); max-width: var(--measure); }
.price s { font-size: 0.5em; font-weight: 400; color: var(--muted); margin-right: 0.3em; }
.sale-note { font-weight: 700; margin: 0 0 1rem; }
.plain-list { padding-left: 1.2rem; margin: 0; }
.plain-list li { margin-bottom: 0.55rem; }

/* Pricing */
.price-block { border: 2px solid var(--ink); border-radius: 20px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); max-width: 40rem; }
.price { font-size: clamp(2.6rem, 2rem + 2vw, 3.6rem); font-weight: 700; line-height: 1; margin: 0 0 0.25rem; }
.price small { font-size: 1.1rem; font-weight: 400; color: var(--muted); }

/* Plans side by side on wide screens */
.plans { display: grid; gap: 1.5rem; }
@media (min-width: 52rem) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } .plans .price-block { max-width: none; } }
.pricing-note { margin-top: 1.25rem; color: var(--muted); max-width: var(--measure); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding-block: 0.4rem; max-width: var(--measure); }
summary { cursor: pointer; font-weight: 700; padding-block: 0.7rem; min-height: 2.75rem; }
details p { margin-top: 0.25rem; }

/* Steps (setup page — a real sequence) */
.steps { counter-reset: step; list-style: none; padding: 0; max-width: var(--measure); }
.steps > li { counter-increment: step; position: relative; padding-left: 3rem; margin-bottom: 1.75rem; }
.steps > li::before {
  content: counter(step); position: absolute; left: 0; top: 0.05rem; width: 2rem; height: 2rem; border-radius: 50%;
  background: var(--ink); color: var(--paper); font-weight: 700; display: grid; place-items: center; font-size: 1rem;
}

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding-block: 2rem 3rem; color: var(--muted); font-size: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.site-footer a { color: var(--ink); display: inline-block; padding-block: 0.5rem; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
@media (forced-colors: active) { .button, .price-block, .phone { border: 2px solid CanvasText; } }

/* ---- Site-wide: tabs, pages and Zero to Accessible components ---------------------------- */

/* Tabs: the main navigation. The current tab is marked with aria-current="page" and a bar. */
.site-nav a { border-bottom: 3px solid transparent; padding-block: 0.55rem 0.4rem; }
.site-nav a[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 700; text-decoration: none; }
.sub-nav { border-bottom: 1px solid var(--line); background: var(--mist); }
.sub-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 1.5rem; }
.sub-nav a { display: inline-block; padding-block: 0.6rem; color: var(--ink); }
.sub-nav a[aria-current="page"] { font-weight: 700; }

.page-head { padding-block: clamp(2.5rem, 2rem + 3vw, 4.5rem) 0; }
.page-head + section { border-top: 0; }
.page-head .lede { max-width: 44ch; }
.toc { list-style: none; padding: 0; margin: 1.5rem 0 0; display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.toc a { display: inline-flex; align-items: center; min-height: 44px; }
section h2 { scroll-margin-top: 1rem; }

/* Newsletter signup */
.signup { display: flex; flex-wrap: wrap; gap: 0.75rem; margin: 1.75rem 0 0.75rem; max-width: 36rem; }
.signup label { flex: 1 1 100%; font-weight: 700; }
.signup input[type="email"] { flex: 1 1 16rem; min-height: 3rem; padding: 0.6rem 1.1rem; font: inherit; color: var(--ink);
  background: var(--paper); border: 2px solid var(--ink); border-radius: 999px; }
.signup .button { margin: 0; }
.fine { color: var(--muted); font-size: 0.95rem; }

/* Lists of apps, people, tools, books */
.zta-list { list-style: none; margin: 1.5rem 0; padding: 0; max-width: var(--measure); }
.zta-list li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.zta-list li:first-child { border-top: 1px solid var(--line); }
.zta-item-name { font-weight: 700; font-size: 1.15rem; }
.zta-item-why { flex: 1 1 100%; margin: 0; color: var(--muted); }
.zta-empty { padding: 1rem 0; border-block: 1px solid var(--line); margin: 1.5rem 0; max-width: var(--measure); }
/* Apple's App Store badge: 44 px tall, with the clear space Apple asks for (a quarter of its height) */
.zta-badge { display: inline-block; margin: 11px 11px 0 0; }
.zta-badge img { display: block; height: 44px; width: auto; }

/* Conversation topics */
.zta-cards { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 52rem) { .zta-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.zta-card { background: var(--mist); border-radius: 20px; padding: 1.25rem 1.4rem; }
.zta-card h3 { margin-bottom: 0.4rem; }
.zta-card p { color: var(--muted); }

/* Old component names, now drawn like the rest of the site */
.zta-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: 0.7rem 1.35rem;
  border-radius: 999px; font: inherit; font-weight: 700; text-decoration: none; border: 2px solid var(--accent);
  background: var(--accent); color: var(--accent-ink); cursor: pointer; }
.zta-btn:hover { filter: brightness(1.08); }
.zta-btn.secondary { background: transparent; color: var(--accent); }
.zta-btn.small { min-height: 2.75rem; padding: 0.45rem 1.05rem; font-size: 1rem; }
.zta-actions { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; margin-top: 1rem; }
.zta-sr, .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.95rem; }
@media (forced-colors: active) { .zta-btn { border: 2px solid ButtonText; } }
@media (prefers-contrast: more) { :root { --muted: var(--ink); --line: var(--ink); } }
section .wrap > p, section .wrap > h3 { max-width: var(--measure); }

/* Services and placeholders */
.price-line { font-weight: 700; color: var(--ink); margin: 0 0 0.5rem; }
.service-cards .zta-card { display: flex; flex-direction: column; }
.service-cards .zta-card .zta-btn { align-self: flex-start; margin-top: auto; }
/* Placeholder marker for copy that still needs Robin's decision. Remove the span when it's settled. */
.todo { background: #fff3b0; color: #3d3000; padding: 0 0.25em; border-radius: 3px; font-weight: 700; font-size: 0.85em; }

/* Logo beside the site name. The file is white on transparent (assets/logo-white.svg); used as a mask it
   takes the text colour: white in dark mode, navy in light mode (a white logo would vanish on the white header). */
.brand { display: inline-flex; align-items: center; gap: 0.6rem; }
.brand::before {
  content: ""; flex: none; width: 3rem; height: 3rem; background-color: currentColor;
  -webkit-mask: url("/assets/logo-white.svg") center / contain no-repeat;
          mask: url("/assets/logo-white.svg") center / contain no-repeat;
}
@media (forced-colors: active) { .brand::before { background-color: CanvasText; } }

/* Home page */
.home-hero {
  /* Site colours: the cards' grey-blue behind; the logo matches the title in light mode, periwinkle in dark mode */
  --hero-mark: var(--ink);
  color: var(--ink); background: var(--mist); border-bottom: 1px solid var(--line);
  position: relative; overflow: hidden; padding-block: 0;
}
@media (prefers-color-scheme: dark) { .home-hero { --hero-mark: var(--accent); } }
.home-hero .wrap { position: relative; display: grid; gap: 0 3rem; align-items: center; }
.hero-text { position: relative; z-index: 1; padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) 1rem; }
/* The big logo, drawn in the text colour (decorative) */
.hero-mark { position: relative; justify-self: center; width: min(16rem, 70vw); aspect-ratio: 1; margin-bottom: 2.5rem; }
.hero-mark::before { content: ""; position: absolute; inset: 0; background-color: var(--hero-mark);
  -webkit-mask: url("/assets/logo-white.svg") center / contain no-repeat; mask: url("/assets/logo-white.svg") center / contain no-repeat; }
@media (min-width: 60rem) {
  .home-hero .wrap { grid-template-columns: 1.2fr 1fr; min-height: clamp(30rem, 40vw, 38rem); }
  .hero-text { padding-block: 4rem; }
  .hero-mark { width: min(26rem, 100%); margin: 3rem 0; }
}
@media (forced-colors: active) { .hero-mark::before { background-color: CanvasText; } }
.home-hero h1 { max-width: 18ch; }
.home-hero .lede { max-width: 50ch; }
.home-hero .actions { margin-top: 1rem; }
@media (min-width: 60rem) { .path-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 72rem) { .path-cards:has(> li:nth-child(3):last-child) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.path-cards .plain-list { margin-top: 0.5rem; }
.latest-cards { grid-template-columns: 1fr; }
@media (min-width: 52rem) { .latest-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.kicker { font-weight: 700; color: var(--accent); margin: 0 0 0.25rem; }
.zta-card h3 a { color: var(--ink); }
.resource-links { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.resource-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 1rem; border: 2px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); }
.resource-links a:hover { border-color: var(--accent); }
.ladder { max-width: 52rem; }
.ladder td:last-child { white-space: nowrap; font-weight: 700; }
.about-split { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 48rem) { .about-split { grid-template-columns: 15rem 1fr; } }
.portrait { width: 15rem; height: 15rem; max-width: 100%; border-radius: 50%; object-fit: cover; background: var(--mist); }
.home-close { background: var(--mist); }
/* On phones the price table stacks: each service becomes a small block */
@media (max-width: 40rem) {
  .ladder thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .ladder, .ladder tbody, .ladder tr, .ladder th, .ladder td { display: block; width: 100%; }
  .ladder tr { padding: 0.75rem 0; border-bottom: 1px solid var(--line); }
  .ladder th, .ladder td { border: 0; padding: 0.1rem 0; }
  .ladder td:last-child { white-space: normal; }
}

.home-hero h1 { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 3.5rem); max-width: 16ch; }

/* Header dropdowns: a glimpse of each tab's sections.
   Mouse: hover opens. Keyboard and touch: the arrow button. Escape closes. */
.site-nav > ul > li.has-menu { position: relative; display: flex; align-items: center; }
.menu-toggle { display: inline-grid; place-items: center; width: 1.75rem; min-height: 2.75rem; margin-left: 0.35rem;
  padding: 0; border: 0; background: none; color: var(--ink); cursor: pointer; border-radius: 6px; }
.menu-toggle svg { transition: transform 0.15s; }
.has-menu.open .menu-toggle svg { transform: rotate(180deg); }
.site-nav .submenu { display: none; flex-direction: column; gap: 0; position: absolute; top: 100%; left: -0.75rem; z-index: 20; min-width: 15rem;
  list-style: none; margin: 0; padding: 0.5rem; background: var(--paper); color: var(--ink);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(20, 33, 61, 0.14); }
.submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -0.75rem; height: 0.75rem; }  /* hover bridge */
.submenu a { display: block; padding: 0.5rem 0.75rem; border-radius: 8px; color: var(--ink); text-decoration: none;
  border-bottom: 0; font-weight: 400; min-height: 2.75rem; }
.submenu a:hover, .submenu a:focus-visible { background: var(--mist); text-decoration: underline; }
.site-nav .has-menu.open .submenu { display: block; }
@media (hover: hover) and (pointer: fine) {
  .site-nav .has-menu:hover:not(.dismissed) .submenu { display: block; }
}
/* the last tabs open their menu leftwards so it stays on screen */
.site-nav > ul > li.has-menu:nth-last-child(-n+2) .submenu { left: auto; right: 0; }
@media (max-width: 40rem) {
  .submenu { position: fixed; left: 1rem; right: 1rem; top: auto; margin-top: 0.25rem; min-width: 0; }
  .site-nav > ul > li.has-menu:nth-last-child(-n+2) .submenu { left: 1rem; right: 1rem; }
}
@media (prefers-reduced-motion: reduce) { .menu-toggle svg { transition: none; } }
@media (forced-colors: active) { .submenu { border: 1px solid CanvasText; } }

/* Icons above the "How can I help?" card titles (decorative) */
.card-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 0.9rem;
  border-radius: 14px; background: var(--paper); color: var(--accent); border: 1px solid var(--line); }
@media (forced-colors: active) { .card-icon { color: CanvasText; border-color: CanvasText; } }

/* About: photo beside "Hi, I'm Robin" */
.about-me { display: grid; gap: 1.5rem 2.5rem; align-items: start; }
.about-me .portrait { width: 12rem; height: 12rem; }
.about-me h2 { margin-top: 0; }
@media (min-width: 48rem) { .about-me { grid-template-columns: auto 1fr; } .about-me .portrait { width: 15rem; height: 15rem; } }
.about-me .lede { margin-top: 0; }
.connect-links { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.75rem; }
.connect-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0.4rem 1.1rem;
  border: 2px solid var(--line); border-radius: 999px; text-decoration: none; color: var(--ink); font-weight: 700; }
.connect-links a:hover { border-color: var(--accent); color: var(--accent); }
.about-me { padding-bottom: 3rem; }

/* Audit options: price, description, "best for", then the buttons at the bottom of each card */
.audit-cards .zta-card { display: flex; flex-direction: column; }
.audit-cards .best-for { margin-top: auto; padding-top: 0.75rem; }
.card-actions { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.audit-cards .card-actions .zta-btn { margin-top: 0; }

/* Build: the free Dynamic Type skill, with the text-size demo beside it */
.skill-feature { display: grid; gap: 2rem; align-items: start; margin: 2rem 0 2.5rem; }
@media (min-width: 60rem) { .skill-feature { grid-template-columns: 1fr 1fr; } }
.skill-feature h3 { margin-top: 0; }
.tag { display: inline-block; margin-left: 0.4rem; padding: 0.1rem 0.6rem; border-radius: 999px; font-size: 0.85rem;
  vertical-align: middle; background: var(--accent); color: var(--accent-ink); }

/* The highlighted free skill, first in the Skills list, with a small demo beside it */
.skill-feature.highlight { margin: 1.5rem 0 1rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 20px;
  background: var(--mist); border: 2px solid var(--accent); grid-template-columns: 1fr; }
@media (min-width: 60rem) { .skill-feature.highlight { grid-template-columns: 1.3fr 1fr; } }
.demo-small { background: var(--paper); padding: 1rem; border-radius: 18px; max-width: 24rem; }
.demo-small .demo-title { font-size: 1rem; margin-bottom: 0.75rem; }
.demo-small .demo-controls { gap: 0.4rem; margin-bottom: 0.75rem; font-size: 0.95rem; }
.demo-small .phone { width: min(100%, 15rem); border-radius: 26px; padding: 0.8rem 0.7rem 1rem; }
.demo-small .demo-caption { font-size: 0.9rem; margin-top: 0.75rem; }
.skill-name { font-size: 0.95em; background: none; padding: 0; }

/* Build: the Accessibility Sidekicks pitch */
.card-price { color: var(--ink); font-weight: 700; margin-top: 0.75rem; }
.bundle-title { margin-top: 2.5rem; }
@media (min-width: 72rem) { .sidekick-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); } }   /* the 3 available Sidekicks fill the first row */
.sidekick-cards h3 { margin: 0 0 0.4rem; }
/* iOS page: the newsletter signup next to the free skill */
.newsletter-card { align-self: start; }
#free .ticks { margin-bottom: 1rem; }
.newsletter-card p { color: var(--ink); }
.newsletter-card .fine { color: var(--muted); }
#start { text-align: left; }

/* The iOS Sidekick leads the list, full width */
.featured-card { grid-column: 1 / -1; display: grid; gap: 1.25rem 3rem; border: 2px solid var(--accent); padding: clamp(1.4rem, 1rem + 2vw, 2.25rem); }
@media (min-width: 52rem) { .featured-card { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: center; } }
.featured-card h3 { font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.featured-card .featured-lede { color: var(--ink); font-size: 1.15rem; }
.featured-card .actions { margin-top: 1.25rem; }
.featured-card .ticks li { color: var(--ink); }
.coming-card .card-price { color: var(--muted); font-weight: 400; }
.badge { display: inline-block; border: 1px solid currentColor; border-radius: 999px; padding: 0 0.55em; margin-left: 0.3em;
  font-size: 0.8rem; font-weight: 700; line-height: 1.6; vertical-align: 0.15em; white-space: nowrap; }
h1 .badge { font-size: max(1rem, 0.3em); vertical-align: middle; margin-left: 0.4em; }
.price-group th[scope="rowgroup"] { padding-top: 1.5rem; text-align: left; font-weight: 700; }
.price-group td:not(:has(a)) { color: var(--muted); }
.pitch { font-size: 1.25rem; max-width: var(--measure); }
.pro-grid { display: grid; gap: 2rem 3rem; align-items: start; margin-top: 2rem; }
@media (min-width: 60rem) { .pro-grid { grid-template-columns: 1.2fr 1fr; } }
.pro-grid h3 { margin-top: 0; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.ticks + p { margin-top: 1.25rem; }
.ticks li { position: relative; padding-left: 1.9rem; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 0.3em; width: 1.1rem; height: 1.1rem; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 0.8rem no-repeat; }
@media (forced-colors: active) { .ticks li::before { forced-color-adjust: none; background-color: CanvasText; } }
.pro-offer { border-color: var(--accent); }
.mcp-note { margin-top: 2rem; max-width: var(--measure); }
@media (prefers-color-scheme: dark) {
  .ticks li::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.5l2.5 2.5L12 5.5' fill='none' stroke='%230f1626' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
}

/* A highlighted item at the top of a list (Robin's own book) */
.feature-box { margin: 1.5rem 0 1rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: 20px; background: var(--mist);
  border: 2px solid var(--accent); max-width: 52rem; }
.feature-box h3 { margin-top: 0; }

/* Keep the dropdown button's focus ring off the tab name next to it */
.menu-toggle:focus-visible { outline-offset: 0; }
