/* ─── FONTS ────────────────────────────────────────────────── */
@font-face {
  font-family: 'Red Hat Display';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/RedHatDisplay-normal-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: 'Red Hat Display';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url('fonts/RedHatDisplay-normal-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: 'Red Hat Display';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('fonts/RedHatDisplay-italic-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: 'Red Hat Display';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('fonts/RedHatDisplay-italic-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: 'OpenDyslexic';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/OpenDyslexic-Regular.woff2') format('woff2');
}
@font-face {
  font-family: 'OpenDyslexic';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/OpenDyslexic-Bold.woff2') format('woff2');
}

/* ─── DESIGN TOKENS ────────────────────────────────────────── */
:root {
  /* Brand colors */
  --ink:        #1D3441;
  --ink-mid:    #234959;
  --accent:     #43BFE2;
  --surface:    #ffffff;
  --surface-2:  #ECF2F2;
  --text:       #0B0B09;
  --text-muted: #566F7D;
  --white:      #ffffff;

  /* Typography — fonts */
  --font-display: 'Red Hat Display', sans-serif;
  --font-body:    'Red Hat Display', sans-serif;

  /* Type scale — body (fixed) */
  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-md:   1.05rem;
  --fs-lg:   1.2rem;
  --fs-step: 2.5rem;       /* the "01/02/03" numerals in How-it-works */

  /* Type scale — display (responsive, three steps via @media below) */
  --fs-hero:    3rem;      /* hero title */
  --fs-display: 1.8rem;    /* section + about titles */
  --fs-tagline: 1.1rem;    /* hero tagline */

  /* Spacing scale — multiples of 0.25rem (4px) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-7:  1.75rem;
  --space-8:  2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-28: 7rem;

  /* Layout — content max widths */
  --container-sm: 720px;   /* FAQ */
  --container-md: 780px;   /* About */
  --container-lg: 1280px;  /* Hero, Features, How-it-works, Footer */

  /* Layout — outer section gutter */
  --gutter: 5vw;

  /* Border radius */
  --radius-sm:   12px;
  --radius-md:   20px;
  --radius-lg:   32px;
  --radius-xl:   48px;
  --radius-pill: 999px;

  /* Shadows — derived from brand colors via color-mix */
  --shadow-xs:           0 4px 20px color-mix(in srgb, var(--ink) 7%, transparent);
  --shadow-sm:           0 8px 30px color-mix(in srgb, var(--ink) 8%, transparent);
  --shadow-md:           0 12px 36px color-mix(in srgb, var(--ink) 10%, transparent);
  --shadow-cta:          0 4px 20px color-mix(in srgb, var(--ink) 25%, transparent);
  --shadow-cta-hover:    0 8px 28px color-mix(in srgb, var(--ink) 35%, transparent);
  --shadow-accent:       0 4px 20px color-mix(in srgb, var(--accent) 35%, transparent);
  --shadow-accent-hover: 0 8px 28px color-mix(in srgb, var(--accent) 50%, transparent);
  --shadow-toggle:       0 4px 16px rgba(0, 0, 0, 0.25);

  /* Z-index scale */
  --z-base:   1;
  --z-nav:    100;
  --z-toggle: 200;

  /* Motion */
  --duration-fast:  150ms;
  --duration-base:  200ms;
  --duration-slow:  180ms;  /* btn hover transitions */
  --duration-float: 5s;
  --ease-out: ease;
}

@media (min-width: 768px) {
  :root {
    --fs-hero:    4rem;
    --fs-display: 2.2rem;
    --fs-tagline: 1.2rem;
  }
}

@media (min-width: 1280px) {
  :root {
    --fs-hero:    5.5rem;
    --fs-display: 2.8rem;
    --fs-tagline: 1.35rem;
  }
}

body.dyslexic {
  --font-display: 'OpenDyslexic', sans-serif;
  --font-body:    'OpenDyslexic', sans-serif;
}

/* ─── RESET & BASE ────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: 0.02em;
}

/* ─── FONT TOGGLE BUTTON (in nav, top right) ──────────────── */
.font-toggle {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--accent);
  color: var(--ink);
  border: none;
  border-radius: var(--radius-pill);
  padding: 0.5rem var(--space-3);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--duration-base);
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.font-toggle:hover {
  background: color-mix(in srgb, var(--accent) 80%, white);
}
.font-toggle__icon { font-size: var(--fs-base); line-height: 1; }

/* ─── UTILITY ─────────────────────────────────────────────── */
.section-label {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.section-title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
}

/* ─── BUTTONS ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform var(--duration-slow) var(--ease-out),
    box-shadow var(--duration-slow) var(--ease-out),
    opacity var(--duration-slow) var(--ease-out);
}
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.btn:hover { transform: translateY(-2px); }

.btn--dark {
  background: var(--ink);
  color: var(--white);
  box-shadow: var(--shadow-cta);
}
.btn--dark:hover { box-shadow: var(--shadow-cta-hover); }

.btn--accent {
  background: var(--accent);
  color: var(--ink);
  box-shadow: var(--shadow-accent);
}
.btn--accent:hover { box-shadow: var(--shadow-accent-hover); }

/* ─── STORE BADGES ───────────────────────────────────────── */
.badge-link {
  display: inline-block;
  transition: transform var(--duration-slow) var(--ease-out), opacity var(--duration-slow) var(--ease-out);
}
.badge-link:hover { transform: translateY(-2px); opacity: 0.88; }

.badge-img {
  height: 44px;
  width: auto;
  display: block;
}

/* ─── PHONE MOCKUP ────────────────────────────────────────── */
.phone {
  background: var(--surface);
  border: 2px solid var(--surface-2);
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: var(--shadow-sm);
}
.phone::before {
  content: '';
  position: absolute;
  top: 12px;
  width: 36px;
  height: 4px;
  background: var(--surface-2);
  border-radius: 4px;
}
.phone::after {
  content: '';
  position: absolute;
  bottom: 12px;
  width: 24px;
  height: 4px;
  background: var(--surface-2);
  border-radius: 4px;
}

.phone__screen {
  width: 70%;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.phone__screen svg { width: 100%; height: 100%; color: var(--ink); opacity: 0.6; }

.phone--hero    { width: 200px; height: auto; }
.phone--feature { width: 150px; height: 320px; overflow: hidden; }
.phone--md      { width: 120px; height: 200px; }
.phone--sm      { width: 80px;  height: 136px; }

.phone__icon svg { width: 60px; height: 60px; color: var(--ink); opacity: 0.5; }

/* ─── NAV ─────────────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  gap: var(--space-8);
  padding: 1.1rem var(--gutter);
  background: color-mix(in srgb, var(--white) 85%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
}

.nav__logo {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--ink);
  margin-right: auto;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}
.nav__logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

/* Wrapper for links + CTA. Inline on desktop, drop-down panel on mobile. */
.nav__menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav__links {
  display: flex;
  gap: var(--space-8);
}
.nav__links a {
  font-size: var(--fs-sm);
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  transition: color var(--duration-fast);
}
.nav__links a:hover { color: var(--ink); }

/* Hamburger toggle — hidden on desktop, shown via mobile media query. */
.nav__toggle {
  display: none;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}
.nav__toggle-bar {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform var(--duration-base) var(--ease-out),
              opacity var(--duration-base) var(--ease-out);
  transform-origin: center;
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.nav__toggle:focus { outline: none; }
.nav__toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* ─── HERO ────────────────────────────────────────────────── */
.hero {
  min-height: 88vh;
  padding: var(--space-24) var(--gutter) var(--space-20);
  background: var(--ink);
  position: relative;
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-16);
  max-width: var(--container-lg);
  margin: 0 auto;
  min-height: calc(88vh - 11rem); /* fill remaining space after vertical padding */
  position: relative;
  z-index: var(--z-base);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 60% at 80% 20%, color-mix(in srgb, var(--accent) 8%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, color-mix(in srgb, var(--white) 4%, transparent) 0%, transparent 60%);
  pointer-events: none;
}

.hero__text { position: relative; z-index: var(--z-base); }

.hero__eyebrow {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-4);
}

.hero__title {
  font-family: var(--font-display);
  font-size: var(--fs-hero);
  font-weight: 700;
  color: var(--white);
  line-height: 1.0;
  margin-bottom: var(--space-3);
  display: flex;
  align-items: center;
  gap: 0.5em;
}
.hero__title-logo {
  width: 0.85em;
  height: 0.85em;
  border-radius: 18%;
  flex-shrink: 0;
}
/* Registered-trademark mark next to the brand name. Sized in em so it
   scales to whatever font-size the parent is using. */
.brand-r {
  font-size: 0.5em;
  font-weight: 400;
  vertical-align: top;
  position: relative;
  top: 0.2em;
  margin-left: 0;
  letter-spacing: 0;
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: var(--fs-tagline);
  font-weight: 400;
  color: color-mix(in srgb, var(--white) 90%, transparent);
  margin-bottom: var(--space-6);
}

.hero__sub {
  font-size: 1.1rem;
  line-height: 1.7;
  color: color-mix(in srgb, var(--white) 90%, transparent);
  max-width: 100%;
  margin-bottom: var(--space-6);
}

.hero__mockup {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__blob {
  position: absolute;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 12%, transparent) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.hero .phone--hero {
  background: color-mix(in srgb, var(--white) 7%, transparent);
  border-color: color-mix(in srgb, var(--white) 12%, transparent);
  position: relative;
  z-index: var(--z-base);
  animation: float var(--duration-float) ease-in-out infinite;
  display: block;
  overflow: hidden;
  padding: 0;
}
.hero .phone--hero::before,
.hero .phone--hero::after  { display: none; }

.phone__screenshot {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-12px); }
}

/* ─── ABOUT ───────────────────────────────────────────────── */
.about {
  padding: var(--space-28) var(--gutter);
  background: var(--ink-mid);
  position: relative;
}

.about__inner {
  max-width: var(--container-md);
  margin: 0 auto;
  text-align: center;
}

.about__brand {
  display: block;
  width: fit-content;
  margin: var(--space-8) auto 0;
}
.about__brand img {
  display: block;
  width: 180px;
  max-width: 30vw;
  height: auto;
  filter: invert(43%) sepia(100%) hue-rotate(155deg) saturate(2) brightness(100%);
  transition: filter var(--duration-base) var(--ease-out);
}
.about__brand:hover img {
  filter: invert(43%) sepia(100%) hue-rotate(155deg) saturate(2) brightness(125%);
}

.about .section-label { color: color-mix(in srgb, var(--accent) 70%, transparent); }

.about__title {
  font-family: var(--font-display);
  font-size: var(--fs-display);
  font-weight: 600;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: var(--space-7);
}

.about__label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--space-5);
}

.about__body {
  font-size: var(--fs-md);
  line-height: 1.75;
  color: color-mix(in srgb, var(--white) 60%, transparent);
}

/* ─── FEATURES ────────────────────────────────────────────── */
.features {
  padding: var(--space-28) var(--gutter);
  background: var(--surface);
}

.features__inner {
  max-width: var(--container-lg);
  margin: 0 auto;
}

.features__header {
  max-width: 600px;
  margin-bottom: var(--space-16);
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  border: 1px solid var(--surface-2);
  transition:
    transform var(--duration-base) var(--ease-out),
    box-shadow var(--duration-base) var(--ease-out);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.feature-card__mockup { flex-shrink: 0; }

.feature-card__body {
  width: 100%;
}
.feature-card__body h3 {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--space-2);
}
.feature-card__body p {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-muted);
}

/* ─── HOW IT WORKS ────────────────────────────────────────── */
.how-it-works {
  padding: var(--space-28) var(--gutter);
  background: var(--surface-2);
  text-align: center;
}

.how-it-works__inner {
  max-width: var(--container-lg);
  margin: 0 auto;
}

.how-it-works .section-label,
.how-it-works .section-title { display: block; }

.how-it-works .section-title { margin-bottom: var(--space-16); }

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  max-width: 220px;
  padding: 0 var(--space-4);
}

.step__connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--surface-2), var(--ink), var(--surface-2));
  margin-top: 60px;
  opacity: 0.25;
  flex-shrink: 0;
}

.step__number {
  font-family: var(--font-display);
  font-size: var(--fs-step);
  font-weight: 700;
  color: var(--ink);
  opacity: 0.12;
  line-height: 1;
}

.step__title {
  font-family: var(--font-display);
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
}

.step__desc {
  font-size: var(--fs-sm);
  line-height: 1.65;
  color: var(--text-muted);
}

/* ─── FAQ ─────────────────────────────────────────────────── */
.faq {
  padding: var(--space-28) var(--gutter);
  background: var(--surface);
}

.faq__inner {
  max-width: var(--container-sm);
  margin: 0 auto;
}

.faq__inner .section-title { margin-bottom: var(--space-12); }

.faq__list { display: flex; flex-direction: column; gap: var(--space-3); }

.faq__item {
  background: var(--white);
  border: 1px solid var(--surface-2);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--duration-base);
}
.faq__item:hover { box-shadow: var(--shadow-xs); }
.faq__item[open] { box-shadow: var(--shadow-xs); }

.faq__item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem var(--space-6);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  user-select: none;
  gap: var(--space-4);
}
.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary::after {
  content: '';
  display: block;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  border: 1.5px solid var(--text-muted);
  border-radius: 50%;
  background:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none' stroke='%23566F7D' stroke-width='1.5'%3E%3Cpath d='M3 4.5l3 3 3-3'/%3E%3C/svg%3E") center/12px no-repeat;
  transition: transform var(--duration-base) var(--ease-out);
}
.faq__item[open] summary::after { transform: rotate(180deg); }

.faq__item p {
  padding: 0 var(--space-6) var(--space-5);
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-muted);
  border-top: 1px solid var(--surface-2);
  padding-top: var(--space-4);
}

.faq__item p a { color: var(--ink-mid); text-underline-offset: 3px; }
.faq__item p a:hover { color: var(--accent); }

/* ─── FOOTER ──────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  padding: var(--space-12) var(--gutter);
}

.footer__inner {
  max-width: var(--container-lg);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-8);
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer__logo {
  font-family: var(--font-display);
  font-size: var(--fs-lg);
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-1);
}
.footer__logo img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  flex-shrink: 0;
}

.footer__brand p {
  font-size: 0.8rem;
  color: color-mix(in srgb, var(--white) 70%, transparent);
  font-style: italic;
}

.footer__social {
  display: flex;
  gap: var(--space-3);
}

.footer__social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid color-mix(in srgb, var(--white) 35%, transparent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: color-mix(in srgb, var(--white) 80%, transparent);
  transition:
    color var(--duration-fast),
    border-color var(--duration-fast),
    transform var(--duration-fast);
}
.footer__social a:hover {
  color: var(--white);
  border-color: color-mix(in srgb, var(--white) 40%, transparent);
  transform: translateY(-2px);
}
.footer__social svg { width: 18px; height: 18px; display: block; }

.footer__copy {
  font-size: 0.78rem;
  color: color-mix(in srgb, var(--white) 75%, transparent);
  width: 100%;
  text-align: center;
  margin-top: var(--space-6);
  padding-top: var(--space-6);
  border-top: 1px solid color-mix(in srgb, var(--white) 12%, transparent);
}
.footer__copy a {
  color: color-mix(in srgb, var(--white) 75%, transparent);
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color var(--duration-fast);
}
.footer__copy a:hover { color: var(--white); text-decoration: underline; }

/* ─── REDUCED MOTION ──────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero .phone--hero { animation: none; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ─── RESPONSIVE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav__toggle { display: flex; }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-5);
    padding: var(--space-6) var(--gutter);
    background: var(--white);
    border-bottom: 1px solid color-mix(in srgb, var(--ink) 7%, transparent);
    box-shadow: 0 12px 24px color-mix(in srgb, var(--ink) 8%, transparent);
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--duration-base) var(--ease-out),
                opacity var(--duration-base) var(--ease-out),
                visibility 0s var(--duration-base);
  }
  .nav__menu.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform var(--duration-base) var(--ease-out),
                opacity var(--duration-base) var(--ease-out);
  }
  .nav__menu .nav__links {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
    width: 100%;
  }
  .nav__menu .nav__links a {
    font-size: var(--fs-base);
    padding: var(--space-2) 0;
    width: 100%;
  }

  /* On mobile the font-toggle drops its label and becomes a round
     icon-only button so it can fit next to the hamburger. */
  .font-toggle {
    padding: 0;
    width: 36px;
    height: 36px;
    justify-content: center;
    border-radius: 50%;
  }
  .font-toggle__label-off,
  .font-toggle__label-on { display: none; }

  /* OpenDyslexic is noticeably wider than Red Hat Display, so on the
     narrow mobile layout we drop the brand wordmark from the nav (the
     logo image still identifies the site) and shrink the hero title
     so it stops overflowing the viewport. */
  body.dyslexic .nav__logo span { display: none; }
  body.dyslexic .hero__title { font-size: 2.2rem; }
  body.dyslexic .hero__tagline { font-size: 0.95rem; }
  body.dyslexic .hero__sub { font-size: 0.9rem; line-height: 1.55; }

  .hero {
    min-height: auto;
    padding: var(--space-16) var(--gutter);
    text-align: center;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .hero__title { justify-content: center; }
  .hero__sub { margin: 0 auto var(--space-10); }
  .hero__blob { width: 200px; height: 200px; }

  .step__connector { display: none; }
  .steps { gap: var(--space-10); }

  .testimonials__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .testimonial { padding: var(--space-6); }

  .footer__inner { flex-direction: column; align-items: flex-start; gap: var(--space-6); }
}