/* ==========================================================================
   Isaac AAC — "Communication board" design system
   The site borrows the visual language of a real AAC board: chunky,
   colour-coded word tiles, a sentence strip, big hyperlegible type.
   Display: Lexend (designed to improve reading fluency)
   Body:    Atkinson Hyperlegible (designed for low-vision readers)
   ========================================================================== */

:root {
  /* Ink + paper */
  --ink: #13313a;
  --ink-soft: #3d5a62;
  --paper: #fff8ee;
  --paper-2: #fdf0dc;
  --card: #ffffff;
  --line: #13313a;

  /* Brand (from the app icon) */
  --teal: #17806f;
  --teal-deep: #0e5249;
  --teal-pale: #d5f3ee;

  /* Word-category colours, as on an AAC board: fill / edge */
  --people: #fff0b3;   --people-edge: #c99400;
  --action: #d4f4d2;   --action-edge: #2b8a45;
  --thing: #ffe0c4;    --thing-edge: #d4691a;
  --describe: #d7e8ff; --describe-edge: #2c66c7;
  --social: #ffd8e5;   --social-edge: #c93c71;
  --question: #e9e0ff; --question-edge: #6c4bc9;

  --radius: 18px;
  --radius-lg: 28px;
  --press: 6px;
  --maxw: 1240px;

  --font-display: 'Lexend', 'Atkinson Hyperlegible', system-ui, sans-serif;
  --font-body: 'Atkinson Hyperlegible', system-ui, -apple-system, sans-serif;

  font-size: 112.5%; /* 18px base, scales with the text-size toggle */
}

html.text-xl { font-size: 131.25%; }  /* 21px */

/* High-visibility mode: maximum contrast, no pastel */
html.hi-vis {
  --ink: #000;
  --ink-soft: #000;
  --paper: #fff;
  --paper-2: #fff;
  --people: #ffe14d;   --people-edge: #000;
  --action: #7be08a;   --action-edge: #000;
  --thing: #ffb36b;    --thing-edge: #000;
  --describe: #8cc0ff; --describe-edge: #000;
  --social: #ff9cc0;   --social-edge: #000;
  --question: #c7b3ff; --question-edge: #000;
  --teal: #006b5f;
  --teal-deep: #003d36;
  --teal-pale: #bff0e8;
}

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

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background-color: var(--paper);
  background-image: radial-gradient(rgba(19, 49, 58, 0.09) 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5.2rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.2vw, 3.4rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; letter-spacing: -0.01em; }
p { max-width: 62ch; }

:focus-visible {
  outline: 4px solid var(--describe-edge);
  outline-offset: 3px;
  border-radius: 8px;
}

.skip-link {
  position: absolute; left: 16px; top: -100px; z-index: 1000;
  background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px;
  font-weight: 700; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(72px, 10vw, 128px) 0; position: relative; }
.section--band { background: var(--paper-2); border-block: 3px solid var(--line); }
.section--ink { background: var(--ink); color: #fff; }
.section--ink h2, .section--ink h3 { color: #fff; }

.section-head { margin-bottom: clamp(40px, 6vw, 64px); max-width: 780px; }
.section-head p { font-size: 1.2rem; color: var(--ink-soft); margin-top: 18px; }
.section--ink .section-head p { color: #cfe3e0; }

/* ---------- Word tile: the core visual unit ---------- */
.tile {
  --fill: var(--card);
  --edge: var(--line);
  position: relative;
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--fill);
  border: 3px solid var(--edge);
  border-radius: var(--radius);
  box-shadow: 0 var(--press) 0 var(--edge);
  color: var(--ink);
  text-decoration: none;
  transition: transform .14s ease, box-shadow .14s ease;
}
a.tile:hover, button.tile:hover { transform: translateY(-2px); box-shadow: 0 calc(var(--press) + 2px) 0 var(--edge); }
a.tile:active, button.tile:active { transform: translateY(var(--press)); box-shadow: 0 0 0 var(--edge); }

.t-people   { --fill: var(--people);   --edge: var(--people-edge); }
.t-action   { --fill: var(--action);   --edge: var(--action-edge); }
.t-thing    { --fill: var(--thing);    --edge: var(--thing-edge); }
.t-describe { --fill: var(--describe); --edge: var(--describe-edge); }
.t-social   { --fill: var(--social);   --edge: var(--social-edge); }
.t-question { --fill: var(--question); --edge: var(--question-edge); }
.t-teal     { --fill: var(--teal-pale); --edge: var(--teal-deep); }

/* Small label tile that opens every section */
.kicker {
  font-family: var(--font-display);
  font-size: .82rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 8px 16px; --press: 4px; border-radius: 12px; margin-bottom: 22px;
}
.kicker svg { width: 20px; height: 20px; }

/* ---------- Buttons ---------- */
.btn {
  font-family: var(--font-display); font-weight: 700; font-size: 1.1rem;
  padding: 16px 28px; min-height: 60px; justify-content: center; cursor: pointer;
}
.btn svg { width: 24px; height: 24px; flex-shrink: 0; }
.btn-primary { --fill: var(--teal); --edge: var(--teal-deep); color: #fff; }
.btn-primary:hover { --fill: #136f60; }
.btn-light { --fill: #fff; --edge: var(--line); }

/* ---------- Navigation ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--paper);
  border-bottom: 3px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 16px; height: 84px; }
.brand { flex-shrink: 0; display: flex; align-items: center; gap: 12px; text-decoration: none; margin-right: auto; }
.brand img { width: 48px; height: 48px; }
.brand span { display: flex; flex-direction: column; font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; letter-spacing: -0.02em; }
.brand small { display: block; font-family: var(--font-body); font-weight: 400; font-size: .72rem; color: var(--ink-soft); letter-spacing: .02em; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; padding: 0; }
.nav-links > li > a, .nav-more summary {
  display: block; padding: 10px 11px; border-radius: 12px;
  font-family: var(--font-display); font-weight: 500; font-size: .95rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.nav-links > li > a:hover, .nav-more summary:hover { background: var(--paper-2); }
.nav-more { position: relative; }
.nav-more summary { list-style: none; }
.nav-more summary::-webkit-details-marker { display: none; }
.nav-more summary::after { content: ' ▾'; font-size: .8em; }
.nav-more[open] .nav-menu, .lang-select[open] .nav-menu { display: grid; }
.nav-menu {
  display: none; position: absolute; right: 0; top: calc(100% + 10px);
  background: #fff; border: 3px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--line); padding: 8px; min-width: 220px; gap: 2px;
}
.nav-menu a { padding: 12px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; }
.nav-menu a:hover { background: var(--paper-2); }

.nav-tools { display: flex; align-items: center; gap: 8px; }
.icon-btn {
  width: 48px; height: 48px; --press: 4px; border-radius: 14px; justify-content: center;
  cursor: pointer; font-family: var(--font-display); font-weight: 700; font-size: 1rem; padding: 0;
}
.icon-btn[aria-pressed="true"] { --fill: var(--ink); color: #fff; }
.icon-btn svg { width: 22px; height: 22px; }
.nav-cta { padding: 12px 20px; min-height: 48px; --press: 4px; font-size: 1rem; }

.lang-select { position: relative; }
.lang-select summary { list-style: none; }
.lang-select summary::-webkit-details-marker { display: none; }
.lang-select .nav-menu { min-width: 160px; }
.lang-select a[aria-current="true"] { background: var(--teal-pale); }

.burger { display: none; }

@media (max-width: 1180px) {
  .nav-links, .nav-cta { display: none; }
  .burger { display: inline-flex; }
}
.drawer {
  display: none; border-top: 3px solid var(--line); background: var(--paper);
  padding: 16px 24px 28px; max-height: calc(100vh - 84px); overflow-y: auto;
}
.drawer.open { display: block; }
.drawer-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.drawer-grid .tile { padding: 16px; font-family: var(--font-display); font-weight: 600; --press: 4px; justify-content: center; text-align: center; min-height: 64px; }
.drawer .btn { width: 100%; margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { padding: clamp(48px, 7vw, 96px) 0 clamp(64px, 8vw, 112px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 5vw, 72px); align-items: center; }
.hero h1 .bubble {
  display: inline-block; position: relative;
  background: var(--teal); color: #fff;
  padding: 0 .22em .06em; border-radius: .32em; margin: 0 .04em;
  border: 4px solid var(--teal-deep);
  box-shadow: 0 6px 0 var(--teal-deep);
}
.hero h1 .bubble::after {
  content: ''; position: absolute; left: .45em; bottom: -.36em;
  width: .42em; height: .42em; background: var(--teal);
  border-left: 4px solid var(--teal-deep); border-bottom: 4px solid var(--teal-deep);
  transform: skewY(-35deg); border-bottom-left-radius: 4px;
}
.hero-lead { font-size: clamp(1.2rem, 1.6vw, 1.4rem); margin-top: 32px; color: var(--ink-soft); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 36px; list-style: none; padding: 0; font-weight: 700; }
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 22px; height: 22px; color: var(--teal-deep); }

/* ---------- Interactive AAC board ---------- */
.board {
  background: #fff; border: 3px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: 0 10px 0 var(--line); padding: 18px;
}
.board-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; padding: 0 4px; }
.board-top b { font-family: var(--font-display); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.board-dots { display: flex; gap: 6px; }
.board-dots i { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); }
.board-dots i:nth-child(1) { background: var(--social); }
.board-dots i:nth-child(2) { background: var(--people); }
.board-dots i:nth-child(3) { background: var(--action); }

.strip {
  display: flex; align-items: center; gap: 10px;
  background: var(--paper); border: 3px solid var(--line); border-radius: var(--radius);
  padding: 10px; min-height: 84px; margin-bottom: 16px;
}
.strip-words { flex: 1; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; min-height: 56px; }
.strip-words:empty::before { content: attr(data-placeholder); color: var(--ink-soft); font-style: italic; padding-left: 6px; }
.strip-word {
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  padding: 8px 14px; --press: 3px; border-width: 2.5px; border-radius: 12px;
  animation: pop .28s cubic-bezier(.3,1.6,.5,1);
}
@keyframes pop { from { transform: scale(.4); opacity: 0; } }
.strip-btn { width: 56px; height: 56px; padding: 0; justify-content: center; cursor: pointer; --press: 4px; border-radius: 14px; flex-shrink: 0; }
.strip-btn svg { width: 26px; height: 26px; }
.strip-btn.speak { --fill: var(--teal); --edge: var(--teal-deep); color: #fff; }
.strip-btn.speaking { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); } }

.keys { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.key {
  flex-direction: column; justify-content: center; gap: 6px;
  aspect-ratio: 1 / 1; padding: 8px; cursor: pointer; --press: 5px; border-radius: 16px;
  font-family: var(--font-display); font-weight: 700; font-size: .85rem;
  letter-spacing: .06em; text-transform: uppercase;
}
.key svg { width: 46%; height: auto; max-width: 52px; stroke: var(--ink); }
.board-note { margin-top: 14px; font-size: .9rem; color: var(--ink-soft); text-align: center; }

/* ---------- Fact strip ---------- */
.facts { border-block: 3px solid var(--line); background: #fff; }
.facts-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.fact:first-child { padding-left: 0; }
.fact { padding: 32px 24px; border-right: 3px solid var(--line); }
.fact:last-child { border-right: 0; }
.fact + .fact { padding-left: 32px; }
.fact strong { display: block; font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; font-weight: 700; }
.fact span { display: block; margin-top: 8px; font-weight: 700; color: var(--ink-soft); }

/* ---------- Mode tiles ---------- */
.modes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.mode { flex-direction: column; align-items: stretch; gap: 0; padding: 0; overflow: hidden; --press: 8px; border-radius: var(--radius-lg); }
.mode-face { display: flex; align-items: center; justify-content: space-between; padding: 26px 26px 20px; }
.mode-face svg.pic { width: 64px; height: 64px; stroke: var(--ink); }
.mode-num { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .1em; padding: 4px 10px; border: 2.5px solid var(--edge); border-radius: 10px; background: #fff; }
.mode-body { background: #fff; border-top: 3px solid var(--edge); padding: 22px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.mode-body h3 { font-size: 1.55rem; }
.mode-body p { margin-top: 10px; color: var(--ink-soft); }
.mode-more { margin-top: auto; padding-top: 18px; font-family: var(--font-display); font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.mode-more svg { width: 20px; height: 20px; transition: transform .2s; }
.mode:hover .mode-more svg { transform: translateX(4px); }
.mode--dark { --fill: #1b2a31; --edge: #000; }
.mode--dark .mode-face svg.pic { stroke: #fff700; }
.mode--dark .mode-num { background: #000; color: #fff700; border-color: #fff700; }

/* ---------- Screens gallery ---------- */
.gallery {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(260px, 340px); gap: 24px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 4px 28px;
  scrollbar-width: thin;
}
.gallery figure { scroll-snap-align: start; border: 3px solid #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 8px 0 rgba(255,255,255,.25); background: #fff; }
.gallery img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; }
.gallery-controls { display: flex; gap: 12px; margin-top: 8px; }
.gallery-controls .tile { --fill: #fff; --edge: #9fd8cf; }

/* ---------- Tools list ---------- */
.tools { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 28px; }
.tool { display: grid; grid-template-columns: 72px 1fr; gap: 20px; align-items: start; padding: 22px; background: #fff; border: 3px solid var(--line); border-radius: var(--radius); }
.tool .tile { width: 72px; height: 72px; justify-content: center; --press: 5px; border-radius: 16px; }
.tool .tile svg { width: 34px; height: 34px; stroke: var(--ink); }
.tool h3 { font-size: 1.3rem; }
.tool p { margin-top: 6px; color: var(--ink-soft); }

/* ---------- Who benefits ---------- */
.needs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.need { flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; --press: 6px; }
.need h3 { font-size: 1.35rem; }
.need p { color: var(--ink); opacity: .85; }
.need .say {
  font-family: var(--font-display); font-weight: 600; font-size: .9rem;
  background: #fff; border: 2.5px solid var(--edge); border-radius: 999px; padding: 4px 14px;
}

/* ---------- Devices ---------- */
.devices { display: grid; grid-template-columns: 1.3fr 1fr; gap: 28px; }
.device { flex-direction: column; align-items: flex-start; gap: 14px; padding: 36px; --press: 8px; border-radius: var(--radius-lg); }
.device svg.pic { width: 72px; height: 72px; stroke: var(--ink); }
.device h3 { font-size: 1.8rem; }
.badge { font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; background: var(--ink); color: #fff; border-radius: 10px; padding: 6px 12px; }
.tip { margin-top: 28px; display: flex; gap: 16px; align-items: flex-start; padding: 22px 26px; background: #fff; border: 3px dashed var(--line); border-radius: var(--radius); font-size: 1.1rem; }
.tip svg { width: 30px; height: 30px; flex-shrink: 0; stroke: var(--people-edge); }

/* ---------- Advisor ---------- */
.advisor { display: grid; grid-template-columns: 340px 1fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.advisor-photo { border: 3px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 10px 0 var(--line); background: var(--people); }
.advisor-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.advisor h3 { font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.advisor .role { font-family: var(--font-display); font-weight: 600; color: var(--teal-deep); margin-top: 10px; font-size: 1.1rem; }
.advisor .role-sub { color: var(--ink-soft); margin-top: 4px; }
.advisor p { margin-top: 18px; font-size: 1.1rem; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips .tile { padding: 8px 14px; --press: 3px; font-weight: 700; font-size: .95rem; border-radius: 12px; }

/* ---------- Blog ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post { flex-direction: column; align-items: flex-start; gap: 14px; padding: 30px; --press: 6px; background: #fff; }
.post .tag { font-family: var(--font-display); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 8px; border: 2.5px solid var(--edge); background: var(--fill); }
.post.t-action, .post.t-describe, .post.t-people { background: #fff; }
.post h3 { font-size: 1.35rem; }
.post p { color: var(--ink-soft); }
.post .mode-more { padding-top: 6px; }

/* ---------- Resources + CTA ---------- */
.resources { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: clamp(64px, 8vw, 96px); }
.resource { flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px; --press: 6px; }
.resource svg { width: 40px; height: 40px; stroke: var(--ink); }
.resource h3 { font-size: 1.4rem; }

.cta {
  background: var(--teal); color: #fff; border: 3px solid var(--line); border-radius: 36px;
  box-shadow: 0 12px 0 var(--line); padding: clamp(40px, 6vw, 80px);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden;
}
.cta h2 { color: #fff; }
.cta p { font-size: 1.25rem; margin-top: 18px; color: #f0fffc; }
.stores { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; justify-self: end; }
.stores a { display: block; background: #fff; border: 3px solid var(--line); border-radius: 16px; padding: 10px 16px; box-shadow: 0 5px 0 var(--line); transition: transform .14s, box-shadow .14s; }
.stores a:hover { transform: translateY(-2px); box-shadow: 0 7px 0 var(--line); }
.stores img { height: 48px; width: auto; }
.cta-say { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.cta-say .tile { padding: 8px 14px; --press: 4px; font-family: var(--font-display); font-weight: 700; border-radius: 12px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #dbe9e7; padding: 72px 0 40px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; }
.footer .brand span { color: #fff; }
.footer .brand small { color: #9fc1bc; }
.footer p { margin-top: 16px; color: #b8d3cf; }
.footer h4 { color: #fff; font-size: 1rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 16px; }
.footer ul { list-style: none; padding: 0; display: grid; gap: 10px; }
.footer a { text-decoration: none; }
.footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.footer-bottom { margin-top: 56px; padding-top: 24px; border-top: 2px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: .95rem; color: #9fc1bc; }
.footer-bottom nav { display: flex; gap: 20px; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .cta, .advisor, .devices { grid-template-columns: 1fr; }
  .stores { justify-self: start; }
  .modes, .needs, .posts, .resources { grid-template-columns: repeat(2, 1fr); }
  .advisor-photo { max-width: 320px; }
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { padding-left: 0; }
  .fact:nth-child(2) { border-right: 0; }
  .fact:nth-child(-n+2) { border-bottom: 3px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .wrap { padding: 0 16px; }
  .nav-inner { height: 72px; }
  .brand img { width: 40px; height: 40px; }
  .brand small { display: none; }
  .nav-tools .lang-select { display: none; }
  .modes, .needs, .posts, .resources, .tools { grid-template-columns: 1fr; }
  .keys { gap: 8px; }
  .key { font-size: .7rem; border-radius: 12px; }
  .board { padding: 12px; }
  .strip-btn { width: 48px; height: 48px; }
  .tool { grid-template-columns: 56px 1fr; padding: 18px; }
  .tool .tile { width: 56px; height: 56px; }
  .hero-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
}

.key.demo-press { transform: translateY(var(--press)); box-shadow: 0 0 0 var(--edge); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.brand span, .btn { white-space: nowrap; }
.kicker { max-width: 100%; }
h1, h2 { overflow-wrap: break-word; hyphens: auto; }
.brand small { line-height: 1.2; }
@media (max-width: 680px) { .hero-actions .btn { white-space: normal; } }
@media (max-width: 680px) {
  .nav-inner { gap: 8px; }
  .nav-tools { gap: 6px; }
  .icon-btn { width: 44px; height: 44px; }
  .brand { gap: 8px; }
  .brand span { font-size: 1.15rem; }
  .cta p { font-size: 1.1rem; }
}
@media (max-width: 360px) { #toggle-contrast { display: none; } }
.drawer-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; justify-content: center; }
.drawer-langs a { font-family: var(--font-display); font-weight: 700; text-decoration: none; padding: 10px 14px; border: 2.5px solid var(--line); border-radius: 12px; min-width: 52px; text-align: center; }
.drawer-langs a[aria-current="true"] { background: var(--ink); color: #fff; }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.phero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 96px); border-bottom: 3px solid var(--line); }
.phero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.phero h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
.phero .hero-lead { margin-top: 24px; }
.phero--plain .phero-grid { grid-template-columns: 1fr; max-width: 900px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 22px; font-weight: 700; font-size: .95rem; }
.crumbs a { color: var(--teal-deep); text-underline-offset: 4px; }
.crumbs span[aria-hidden] { color: var(--ink-soft); }

/* Decorative mini board in page heroes */
.art { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding: 20px; background: #fff; border: 3px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 10px 0 var(--line); max-width: 420px; justify-self: end; width: 100%; }
.art .tile { aspect-ratio: 1; justify-content: center; --press: 5px; border-radius: 16px; }
.art .tile svg { width: 46%; height: auto; stroke: var(--ink); }
.art .tile:nth-child(5) { --fill: var(--teal); --edge: var(--teal-deep); }
.art .tile:nth-child(5) svg { stroke: #fff; }

/* Mode switcher (replaces old breadcrumb tabs) */
.modebar { border-bottom: 3px solid var(--line); background: #fff; }
.modebar .wrap { display: flex; gap: 10px; overflow-x: auto; padding-top: 14px; padding-bottom: 18px; scrollbar-width: thin; }
.modebar a { flex-shrink: 0; padding: 10px 16px; --press: 4px; border-radius: 12px; font-family: var(--font-display); font-weight: 600; font-size: .95rem; white-space: nowrap; }
.modebar a[aria-current="page"] { --fill: var(--ink); --edge: #000; color: #fff; }

/* Section headings carry a small category tile */
.section-title, .section-head h2, .section > .wrap > h2 { display: block; margin-bottom: 20px; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head > p, .lede { font-size: 1.2rem; color: var(--ink-soft); margin-top: 14px; max-width: 62ch; }
h2.section-title::before, .section-head h2::before {
  content: ''; display: block; width: 76px; height: 18px; margin-bottom: 20px; border-radius: 5px;
  background: linear-gradient(90deg, var(--people) 0 28%, transparent 28% 36%, var(--action) 36% 64%, transparent 64% 72%, var(--describe) 72%);
}
.section--band h2.section-title::before, .section--band .section-head h2::before {
  background: linear-gradient(90deg, var(--social) 0 28%, transparent 28% 36%, var(--thing) 36% 64%, transparent 64% 72%, var(--question) 72%);
}
.section-label { font-family: var(--font-display); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .9rem; margin-bottom: 20px; }

.prose { max-width: 760px; font-size: 1.1rem; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose h2:first-child, .prose h3:first-child { margin-top: 0; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose a { color: var(--teal-deep); font-weight: 700; text-underline-offset: 3px; }
.wrap > p { max-width: 70ch; font-size: 1.1rem; margin-bottom: 24px; }

/* Generic tile grids: every old card family becomes a colour-coded tile */
.cards-grid, .features-grid, .levels-grid, .resources-grid, .aac-types, .team-grid, .partner-types,
.contact-grid, .why-tablet-grid, .features-highlight, .steps-grid, .problem-grid .lc > div, .stats-grid, .color-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 24px;
}
.features-highlight { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.card, .feature-card, .level-card, .resource-card, .aac-type, .team-card, .partner-type, .contact-card,
.why-tablet-item, .feature-highlight-card, .step-card, .price-card, .problem-card {
  --fill: var(--card); --edge: var(--line);
  background: var(--fill); border: 3px solid var(--edge); border-radius: var(--radius);
  box-shadow: 0 6px 0 var(--edge); padding: 28px; color: var(--ink);
  display: flex; flex-direction: column; gap: 10px; text-align: left;
}
.card h3, .card h4, .feature-card h4, .level-card .level-number, .resource-card h4, .aac-type h4, .team-card h4,
.partner-type h3, .contact-card h3, .why-tablet-item h4, .feature-highlight-card h3, .step-card h4, .price-card h3 {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.2; letter-spacing: -0.01em;
}
.card p, .feature-card p, .level-card p, .resource-card p, .aac-type p, .team-card p, .partner-type p,
.contact-card p, .why-tablet-item p, .feature-highlight-card p, .step-card p { color: var(--ink); opacity: .86; }

/* Rotate the AAC category colours through any grid */
:is(.cards-grid, .features-grid, .levels-grid, .aac-types, .team-grid, .partner-types, .contact-grid, .why-tablet-grid, .features-highlight, .steps-grid, .resources-grid) > :nth-child(6n+1) { --fill: var(--describe); --edge: var(--describe-edge); }
:is(.cards-grid, .features-grid, .levels-grid, .aac-types, .team-grid, .partner-types, .contact-grid, .why-tablet-grid, .features-highlight, .steps-grid, .resources-grid) > :nth-child(6n+2) { --fill: var(--action); --edge: var(--action-edge); }
:is(.cards-grid, .features-grid, .levels-grid, .aac-types, .team-grid, .partner-types, .contact-grid, .why-tablet-grid, .features-highlight, .steps-grid, .resources-grid) > :nth-child(6n+3) { --fill: var(--people); --edge: var(--people-edge); }
:is(.cards-grid, .features-grid, .levels-grid, .aac-types, .team-grid, .partner-types, .contact-grid, .why-tablet-grid, .features-highlight, .steps-grid, .resources-grid) > :nth-child(6n+4) { --fill: var(--social); --edge: var(--social-edge); }
:is(.cards-grid, .features-grid, .levels-grid, .aac-types, .team-grid, .partner-types, .contact-grid, .why-tablet-grid, .features-highlight, .steps-grid, .resources-grid) > :nth-child(6n+5) { --fill: var(--thing); --edge: var(--thing-edge); }
:is(.cards-grid, .features-grid, .levels-grid, .aac-types, .team-grid, .partner-types, .contact-grid, .why-tablet-grid, .features-highlight, .steps-grid, .resources-grid) > :nth-child(6n) { --fill: var(--question); --edge: var(--question-edge); }

/* Icon chips inside cards */
.ico {
  width: 64px; height: 64px; flex-shrink: 0; display: grid; place-items: center;
  background: #fff; border: 3px solid var(--edge, var(--line)); border-radius: 16px; box-shadow: 0 4px 0 var(--edge, var(--line));
  margin-bottom: 6px;
}
.ico svg { width: 32px; height: 32px; stroke: var(--ink); fill: none; }
.ico svg [fill="currentColor"] { fill: var(--ink); }

/* Feature rows (alternating explainer blocks) */
.frows { display: grid; gap: 24px; }
.frow { display: grid; grid-template-columns: 88px 1fr; gap: 28px; align-items: start; padding: 32px; background: #fff; border: 3px solid var(--line); border-radius: var(--radius-lg); }
.frow-num { width: 88px; height: 88px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.9rem; border: 3px solid var(--edge); background: var(--fill); border-radius: 20px; box-shadow: 0 6px 0 var(--edge); }
.frow:nth-child(4n+1) .frow-num { --fill: var(--describe); --edge: var(--describe-edge); }
.frow:nth-child(4n+2) .frow-num { --fill: var(--action); --edge: var(--action-edge); }
.frow:nth-child(4n+3) .frow-num { --fill: var(--people); --edge: var(--people-edge); }
.frow:nth-child(4n) .frow-num { --fill: var(--social); --edge: var(--social-edge); }
.frow h3 { font-size: clamp(1.4rem, 2.2vw, 1.8rem); }
.frow p { margin-top: 12px; font-size: 1.08rem; }

/* Colour key (who benefits / Fitzgerald colours) */
.color-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 16px; }
.color-item { display: flex; gap: 16px; align-items: flex-start; padding: 18px 20px; background: #fff; border: 3px solid var(--line); border-radius: var(--radius); }
.color-swatch { width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0; border: 3px solid var(--line); }
.color-item h5 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; }
.color-item span { color: var(--ink-soft); }
.cat-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border: 2px solid var(--line); border-radius: 999px; font-weight: 700; font-size: .9rem; background: #fff; margin: 4px 4px 0 0; }
.cat-dot { width: 12px; height: 12px; border-radius: 50%; border: 2px solid var(--line); }

.level-card .level-age { font-weight: 700; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .08em; font-size: .85rem; }
.resource-card-img { width: 64px; height: 64px; display: grid; place-items: center; background: #fff; border: 3px solid var(--edge); border-radius: 16px; }
.resource-card-img svg { width: 30px; height: 30px; }

/* Steps */
.steps { display: grid; gap: 18px; counter-reset: none; }
.step { display: grid; grid-template-columns: 72px 1fr; gap: 22px; align-items: center; padding: 22px 26px; background: #fff; border: 3px solid var(--line); border-radius: var(--radius); }
.step-num, .ts-num { width: 64px; height: 64px; display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; background: var(--teal); color: #fff; border: 3px solid var(--teal-deep); box-shadow: 0 5px 0 var(--teal-deep); border-radius: 16px; }
.step h4 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; }
.step p { margin-top: 4px; color: var(--ink-soft); }
.steps-grid { counter-reset: st; }
.step-card { counter-increment: st; }
.step-card::before { content: counter(st); font-family: var(--font-display); font-weight: 700; font-size: 1.4rem; width: 52px; height: 52px; display: grid; place-items: center; background: #fff; border: 3px solid var(--edge); border-radius: 14px; }

.training-showcase { background: #fff; border: 3px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 4vw, 44px); }
.training-showcase > p { margin-top: 12px; font-size: 1.1rem; }
.training-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 28px; }
.training-step { display: flex; flex-direction: column; align-items: center; gap: 12px; text-align: center; font-weight: 700; }

/* Chips: indications, languages */
.indications, .lang-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.indication-tag, .lang-item { padding: 12px 18px; background: #fff; border: 3px solid var(--line); border-radius: 14px; box-shadow: 0 4px 0 var(--line); font-weight: 700; font-size: 1.05rem; }
.indications > :nth-child(6n+1) { background: var(--describe); } .indications > :nth-child(6n+2) { background: var(--action); }
.indications > :nth-child(6n+3) { background: var(--people); } .indications > :nth-child(6n+4) { background: var(--social); }
.indications > :nth-child(6n+5) { background: var(--thing); } .indications > :nth-child(6n) { background: var(--question); }
.lang-item { display: flex; align-items: center; gap: 12px; }
.lang-item p { margin: 0; }
.flag { font-family: var(--font-display); font-weight: 700; font-size: .85rem; letter-spacing: .06em; background: var(--ink); color: #fff; border-radius: 8px; padding: 4px 8px; }

/* Stats */
.stats-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 0; background: #fff; border: 3px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.stat { padding: 30px 26px; border-right: 3px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat .num { font-family: var(--font-display); font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; line-height: 1; }
.stat .label { margin-top: 8px; font-weight: 700; color: var(--ink-soft); }

/* Team / contact */
.avatar, .contact-card .icon, .dl-icon, .wt-icon, .fh-icon, .card-icon { display: contents; }
.contact-card a { font-weight: 700; color: var(--teal-deep); margin-top: auto; padding-top: 8px; }
.info-bar { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 32px; }
.info-bar-item { display: flex; align-items: center; gap: 10px; padding: 14px 20px; background: #fff; border: 3px solid var(--line); border-radius: 14px; font-size: 1.05rem; }
.info-bar-item svg { width: 24px; height: 24px; stroke: var(--teal-deep); fill: none; flex-shrink: 0; }
.info-bar-item a { color: var(--teal-deep); font-weight: 700; }

/* Partner type + price lists */
.partner-type ul, .price-card ul { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 6px; }
.partner-type li, .price-card ul:first-of-type li { padding-left: 32px; position: relative; }
.partner-type li::before, .price-card ul:first-of-type li::before {
  content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 6px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2313313a' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 14px no-repeat;
  border: 2px solid var(--line);
}
.pricing-grid { display: grid; justify-items: center; }
.price-card { max-width: 560px; width: 100%; background: #fff; border-width: 3px; box-shadow: 0 10px 0 var(--line); padding: clamp(26px, 4vw, 40px); }
.price-card.recommended { border-color: var(--teal-deep); box-shadow: 0 10px 0 var(--teal-deep); }
.price { font-family: var(--font-display); font-size: clamp(2.6rem, 5vw, 3.6rem); font-weight: 700; line-height: 1.1; }
.price s, .price del { font-size: 1.3rem; color: var(--ink-soft); font-weight: 500; margin-right: 8px; }
.price-card .note { color: var(--ink-soft); font-size: .95rem; }
.price-card hr { border: 0; border-top: 3px dashed var(--line); margin: 14px 0; opacity: .3; }
.price-card ul.options li { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-bottom: 2px solid var(--paper-2); }
.price-card ul.options li:last-child { border-bottom: 0; }
.center { text-align: center; margin-top: 32px; }

/* Downloads */
.download-grid { display: grid; gap: 16px; }
.dl-card { display: flex; align-items: center; gap: 22px; padding: 22px 26px; background: #fff; border: 3px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 0 var(--line); }
.dl-card .ico { --edge: var(--thing-edge); background: var(--thing); margin: 0; }
.dl-info { flex: 1; }
.dl-info h4 { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.dl-info p { color: var(--ink-soft); }
.dl-btn { flex-shrink: 0; }
.store-section { background: #fff; border: 3px solid var(--line); border-radius: var(--radius-lg); padding: 32px; }
.store-section h3 { font-size: 1.6rem; }
.store-badges { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 18px; }
.store-badges a { display: block; background: #fff; border: 3px solid var(--line); border-radius: 16px; padding: 10px 16px; box-shadow: 0 5px 0 var(--line); }
.store-badges img { height: 44px; width: auto; }

/* Info box / tip / highlight */
.info-box, .highlight-box, .key-principle, .training-note {
  background: var(--paper-2); border: 3px dashed var(--line); border-radius: var(--radius); padding: 24px 28px; margin-top: 28px;
}
.info-box > * + *, .highlight-box > * + * { margin-top: .7em; }
.highlight-box.success { background: var(--action); border-style: solid; border-color: var(--action-edge); }
.highlight-box.warning { background: var(--people); border-style: solid; border-color: var(--people-edge); }

/* Tables */
.table-responsive { overflow-x: auto; border: 3px solid var(--line); border-radius: var(--radius); background: #fff; }
.comparison-table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 1rem; }
.comparison-table th { background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; text-align: left; padding: 14px 16px; }
.comparison-table td { padding: 14px 16px; border-top: 2px solid var(--paper-2); vertical-align: top; }
.comparison-table tr:nth-child(even) td { background: #fffcf6; }

/* CTA used on inner pages */
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 26px; }
.cta .btn-light { --fill: #fff; }
.cta--solo { grid-template-columns: 1fr; }
.cta a:not(.tile):not(.stores a) { color: #fff; }

/* Gallery on light backgrounds */
.gallery--light figure { border-color: var(--line); box-shadow: 0 8px 0 var(--line); }
.gallery--light + .gallery-controls .tile { --fill: #fff; --edge: var(--line); }

/* Blog article */
.article { background: #fff; border: 3px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 10px 0 var(--line); padding: clamp(28px, 5vw, 64px); max-width: 860px; }
.article .lead { font-size: 1.3rem; font-weight: 700; }
.article-footer { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; padding-top: 28px; border-top: 3px dashed rgba(19,49,58,.25); }
.chip { display: inline-block; font-family: var(--font-display); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 6px 12px; border: 2.5px solid var(--describe-edge); background: var(--describe); border-radius: 10px; margin-bottom: 18px; }

/* Privacy / legal */
.toc { background: #fff; border: 3px solid var(--line); border-radius: var(--radius); padding: 24px 28px; margin-bottom: 40px; }
.toc ul { list-style: none; padding: 0; columns: 2; column-gap: 32px; margin-top: 12px; }
.toc li { padding: 4px 0; break-inside: avoid; }
.toc a { color: var(--teal-deep); font-weight: 700; }
.legal .section { padding: 32px 0; border-top: 3px dashed rgba(19,49,58,.2); }
.legal .section h2::before { display: none; }
.summary-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.summary-card { background: #fff; border: 3px solid var(--line); border-radius: var(--radius); padding: 20px; }
.legal h3 { margin-top: 1.2em; }
.legal h4 { margin-top: 1em; font-family: var(--font-display); }
.legal ul { padding-left: 1.3em; margin-top: .5em; }
.last-updated { color: var(--ink-soft); margin-top: 32px; }

/* FAQ / help centre */
.status-bar { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 12px; background: var(--action); border-bottom: 3px solid var(--line); font-weight: 700; }
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--action-edge); box-shadow: 0 0 0 4px rgba(43,138,69,.25); }
.search-wrap { display: flex; gap: 12px; margin-top: 28px; max-width: 720px; }
.search-input { flex: 1; min-height: 64px; padding: 0 22px; font: inherit; font-size: 1.15rem; border: 3px solid var(--line); border-radius: 16px; background: #fff; color: var(--ink); box-shadow: inset 0 4px 0 rgba(19,49,58,.06); }
.search-input:focus { outline: 4px solid var(--describe-edge); outline-offset: 2px; }
.search-btn { font: inherit; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; padding: 0 26px; min-height: 64px; border-radius: 16px; background: var(--teal); color: #fff; border: 3px solid var(--teal-deep); box-shadow: 0 6px 0 var(--teal-deep); cursor: pointer; }
.search-hint { margin-top: 12px; color: var(--ink-soft); }
#searchCount { margin-top: 8px; font-weight: 700; }
.problem-grid { margin-bottom: 8px; }
.problem-grid .lc > div { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.problem-card { font: inherit; cursor: pointer; align-items: flex-start; transition: transform .14s, box-shadow .14s; }
.problem-card:hover { transform: translateY(-2px); box-shadow: 0 8px 0 var(--edge); }
.problem-card:active { transform: translateY(6px); box-shadow: 0 0 0 var(--edge); }
.problem-grid .lc > div > :nth-child(6n+1) { --fill: var(--describe); --edge: var(--describe-edge); }
.problem-grid .lc > div > :nth-child(6n+2) { --fill: var(--action); --edge: var(--action-edge); }
.problem-grid .lc > div > :nth-child(6n+3) { --fill: var(--people); --edge: var(--people-edge); }
.problem-grid .lc > div > :nth-child(6n+4) { --fill: var(--social); --edge: var(--social-edge); }
.problem-grid .lc > div > :nth-child(6n+5) { --fill: var(--thing); --edge: var(--thing-edge); }
.problem-grid .lc > div > :nth-child(6n) { --fill: var(--question); --edge: var(--question-edge); }
.problem-icon { display: contents; }
.problem-title { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; }
.problem-desc { opacity: .85; }
.faq-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.faq-filter { font: inherit; font-weight: 700; padding: 10px 18px; border-radius: 12px; border: 3px solid var(--line); background: #fff; color: var(--ink); box-shadow: 0 4px 0 var(--line); cursor: pointer; }
.faq-filter.active, .faq-filter[aria-pressed="true"] { background: var(--ink); color: #fff; }
#faqContainer { display: grid; gap: 14px; }
.faq-item { background: #fff; border: 3px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.faq-q, .faq-item > button { width: 100%; text-align: left; font: inherit; font-family: var(--font-display); font-weight: 600; font-size: 1.15rem; padding: 20px 24px; background: none; border: 0; color: var(--ink); cursor: pointer; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq-a { padding: 0 24px 22px; }
.faq-a .step, .faq-a .alt, #guidedWrap .step { display: block; padding: 12px 16px 12px 18px; margin-top: 10px; background: var(--paper); border-left: 6px solid var(--teal); border-radius: 10px; grid-template-columns: none; border-top: 0; border-right: 0; border-bottom: 0; }
.faq-a .alt { border-left-color: var(--question-edge); }
.contact-strip { background: var(--teal); color: #fff; border-block: 3px solid var(--line); padding: 56px 0; text-align: center; }
.contact-strip h2 { color: #fff; }
.contact-strip h2::before { display: none; }
.contact-btns { display: flex; justify-content: center; gap: 14px; margin-top: 20px; }
.c-btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 28px; border-radius: 16px; background: #fff; color: var(--ink); border: 3px solid var(--line); box-shadow: 0 6px 0 var(--line); font-family: var(--font-display); font-weight: 700; text-decoration: none; }
.channels-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.channels-grid > * { background: #fff; border: 3px solid var(--line); border-radius: var(--radius); padding: 20px; text-decoration: none; color: var(--ink); }
.social-row { display: flex; gap: 12px; margin-top: 20px; flex-wrap: wrap; }
.social-btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border: 3px solid var(--line); border-radius: 12px; background: #fff; text-decoration: none; color: var(--ink); font-weight: 700; }
.guided-wrap:empty { display: none; }
.guided-wrap { margin-block: 24px; }

@media (max-width: 1000px) {
  .phero-grid { grid-template-columns: 1fr; }
  .art { justify-self: start; max-width: 320px; }
  .training-steps { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 680px) {
  .art { display: none; }
  .frow { grid-template-columns: 1fr; padding: 24px; gap: 16px; }
  .frow-num { width: 64px; height: 64px; font-size: 1.4rem; }
  .step { grid-template-columns: 1fr; }
  .training-steps { grid-template-columns: repeat(2, 1fr); }
  .dl-card { flex-direction: column; align-items: flex-start; }
  .toc ul { columns: 1; }
  .stat { border-right: 0; border-bottom: 3px solid var(--line); }
  .search-wrap { flex-direction: column; }
}
.faq-a { display: none; }
.faq-item.open .faq-a { display: block; }
.faq-item.open { border-color: var(--teal-deep); box-shadow: 0 6px 0 var(--teal-deep); }
.q-icon { width: 36px; height: 36px; flex-shrink: 0; display: grid; place-items: center; border: 3px solid var(--line); border-radius: 10px; font-size: 1.3rem; line-height: 1; }
.faq-item.open .q-icon { background: var(--ink); color: #fff; transform: rotate(45deg); }
.faq-tag { display: none; }
.no-results { padding: 28px; background: #fff; border: 3px dashed var(--line); border-radius: var(--radius); display: grid; gap: 6px; }
.guided-card { background: #fff; border: 3px solid var(--line); border-radius: var(--radius-lg); box-shadow: 0 10px 0 var(--line); padding: clamp(24px, 4vw, 40px); }
.guided-title { font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; }
.guided-q { font-size: 1.15rem; margin-top: 10px; }
.guided-opts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.guided-opt, .guided-back { font: inherit; font-weight: 700; padding: 14px 20px; border-radius: 14px; border: 3px solid var(--describe-edge); background: var(--describe); color: var(--ink); box-shadow: 0 5px 0 var(--describe-edge); cursor: pointer; }
.guided-back { margin-top: 20px; border-color: var(--line); background: #fff; box-shadow: 0 5px 0 var(--line); }
.guided-answer { display: none; margin-top: 20px; }
.guided-answer.show { display: block; }
.channel-card { background: #fff; border: 3px solid var(--line); border-radius: var(--radius); box-shadow: 0 6px 0 var(--line); padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.channel-badge { align-self: flex-start; font-size: .8rem; font-weight: 700; padding: 4px 10px; border-radius: 8px; background: var(--action); border: 2px solid var(--action-edge); }
.channel-icon { display: none; }
.channel-name { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; }
.channel-btn { margin-top: auto; align-self: flex-start; padding: 12px 18px; border-radius: 12px; background: var(--teal); color: #fff; border: 3px solid var(--teal-deep); box-shadow: 0 4px 0 var(--teal-deep); font-weight: 700; text-decoration: none; }
.channel-a11y { display: flex; flex-wrap: wrap; gap: 6px; }
.a11y-pill { font-size: .85rem; padding: 2px 10px; border: 2px solid var(--line); border-radius: 999px; }
.social-inline { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; align-items: center; margin-top: 24px; padding: 20px; background: #fff; border: 3px solid var(--line); border-radius: var(--radius); }
.social-inline-left, .social-inline-links { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.faq-hero { padding-bottom: clamp(40px, 5vw, 64px); }

.section-head .center { text-align: left; margin-top: 14px; }
.stores img, .store-badges img { height: 48px; width: auto; }

@media (max-width: 1320px) { .nav-cta { display: none; } }
.article .article-body > * + * { margin-top: 1.1em; }
.article .article-body { font-size: 1.12rem; }
.hero-grid > *, .phero-grid > * { min-width: 0; }
.key { text-align: center; overflow-wrap: anywhere; line-height: 1.1; }
@media (max-width: 680px) { .key { letter-spacing: .02em; } }
p, li, h3, h4, .fact span, .fact strong { overflow-wrap: break-word; }
.facts-grid > *, .cta > *, .advisor > *, .devices > * { min-width: 0; }
@media (max-width: 680px) { .fact { padding: 24px 14px; } .fact + .fact { padding-left: 14px; } .fact span { hyphens: auto; } }
@media (max-width: 680px) { .btn { white-space: normal; text-align: center; max-width: 100%; } }
