/* AfricaOS site. One motif: the open door from the logo.
   The lit doorway (amber) frames every picture; the door leaf (teal, a
   parallelogram that drops on its far edge) stands beside it. */

@font-face {
  font-family: "Inter";
  src: url("fonts/inter-var-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Colour, from the logo and the AfricaOS desktop colours */
  --ground: #F4F7F6;
  --ground-2: #E6ECEA;
  --ink: #14201F;
  --muted: #4A5754;
  --deep: #0B3B38;
  --deep-2: #0A2E2D;
  --teal: #0F766E;
  --leaf: #14B8A6;
  --amber: #F59E0B;
  --amber-strong: #E08E00;
  --sill: #B8860B;
  --on-deep: #F2F8F6;
  --on-deep-soft: #B9D3CE;

  /* Type: five sizes */
  --fs-display: clamp(44px, 5.4vw, 84px);
  --fs-h2: clamp(30px, 3.2vw, 46px);
  --fs-statement: clamp(24px, 2.5vw, 36px);
  --fs-h3: 22px;
  --fs-body: 18px;
  --fs-small: 15px;

  /* Frame */
  --margin: clamp(20px, 2.8vw, 40px);
  --gap-section: clamp(112px, 13vw, 200px);
  --radius: 0px;

  /* The door: leaf width and how far its far edge drops, as fractions */
  --leaf-w: 0.16;
  --drop: 14%;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
  --t-ui: 300ms;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: var(--fs-body);
  line-height: 1.55;
  font-feature-settings: "cv11";
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }
::selection { background: var(--amber); color: var(--ink); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip { position: absolute; left: var(--margin); top: -60px; background: var(--deep); color: var(--on-deep); padding: 10px 16px; z-index: 10; }
.skip:focus { top: 12px; }

.display { font-size: var(--fs-display); font-weight: 600; line-height: 1.0; letter-spacing: -0.035em; }
.h2 { font-size: var(--fs-h2); font-weight: 600; line-height: 1.05; letter-spacing: -0.025em; }
.h3 { font-size: var(--fs-h3); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
.nowrap { white-space: nowrap; }
.soft { color: var(--muted); }

.link {
  text-decoration: underline; text-decoration-color: transparent;
  text-underline-offset: 0.22em; text-decoration-thickness: 0.08em;
  transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease;
}
@media (hover: hover) and (pointer: fine) { .link:hover { text-decoration-color: currentColor; } }

/* The button is the door: a lit block with the leaf standing open on its right */
.button {
  display: inline-flex; align-items: stretch; text-decoration: none;
  font-size: var(--fs-body); font-weight: 600; color: var(--ink);
  transition: transform var(--t-press) var(--ease-out);
}
.button span {
  background: var(--amber); padding: 15px 22px 15px 24px;
  transition: background-color var(--t-hover) ease;
}
.button::after {
  content: ""; width: 14px; background: var(--leaf);
  clip-path: polygon(0 0, 100% 22%, 100% 100%, 0 82%);
  transform-origin: left center;
  transition: transform var(--t-ui) var(--ease-out);
  margin-bottom: -9px;
}
.button:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) {
  .button:hover span { background: var(--amber-strong); }
  .button:hover::after { transform: scaleX(1.35); }
}
.button--small { font-size: var(--fs-small); }
.button--small span { padding: 10px 16px; }
.button--small::after { width: 10px; margin-bottom: -6px; }

/* The door component: picture in the lit opening, leaf beside it */
.door { position: relative; padding-right: calc(var(--leaf-w) * 100%); }
.door .opening { background: var(--amber); padding: clamp(6px, 0.9vw, 14px); overflow: hidden; }
.door .opening img { width: 100%; height: 100%; object-fit: cover; }
.door .leaf {
  position: absolute; top: 0; right: 0;
  width: calc(var(--leaf-w) * 100%);
  height: calc(100% + var(--drop-px, 28px));
  background: var(--leaf);
  clip-path: polygon(0 0, 100% var(--drop), 100% 100%, 0 calc(100% - var(--drop)));
}
.door .leaf::after {
  content: ""; position: absolute; left: 24%; top: 52%;
  width: 9px; height: 9px; border-radius: 50%; background: var(--deep);
}

/* Navigation */
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--margin) 0; position: relative; z-index: 2;
}
.wordmark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: var(--fs-h3); letter-spacing: -0.02em; }
.nav nav { display: flex; gap: clamp(16px, 2.4vw, 36px); font-size: var(--fs-small); font-weight: 500; }

/* Hero */
.hero {
  position: relative; min-height: max(680px, calc(100svh - 62px));
  overflow: hidden; margin-top: -62px; padding-top: 62px;
}
.hero-text { position: relative; z-index: 1; padding: clamp(72px, 10vh, 120px) var(--margin) 0; max-width: 820px; }
.hero h1 { max-width: 11.5em; }
.lede { margin-top: 32px; max-width: 40ch; font-size: var(--fs-body); line-height: 1.5; }
.hero .button { margin-top: 32px; }

.hero-stage {
  position: absolute; left: 39%; right: 0; top: 44%; bottom: 0;
  display: grid; grid-template-columns: 1fr clamp(70px, 9vw, 150px);
}
.hero-opening { background: var(--amber); padding: 56px 0 0 56px; overflow: hidden; }
.hero-opening img { width: min(980px, 100%); max-width: none; height: auto; }
.hero-leaf {
  background: var(--leaf);
  clip-path: polygon(0 0, 100% 16%, 100% 100%, 0 100%);
}

/* Intro statement */
.intro { padding: var(--gap-section) var(--margin) 0; display: grid; justify-items: center; }
.statement {
  max-width: 26em; font-size: var(--fs-statement); font-weight: 500; line-height: 1.32;
  letter-spacing: -0.015em; text-align: center; text-wrap: balance;
}
.thumb {
  display: inline-flex; vertical-align: -0.16em; height: 0.92em; margin: 0 0.12em;
}
.thumb img { width: 1.5em; height: 0.92em; object-fit: cover; border: 0.09em solid var(--amber); background: var(--amber); }
.thumb::after {
  content: ""; width: 0.26em; height: 1.06em; background: var(--leaf);
  clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 86%);
}

/* Showcase: list left, door right */
.showcase {
  margin-top: var(--gap-section); padding: 0 var(--margin);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: end;
}
.showcase-list { grid-column: 1 / span 4; grid-row: 1; align-self: end; padding-bottom: 8px; }
.showcase-door { grid-column: 5 / span 8; grid-row: 1; --leaf-w: 0.1; --drop: 10%; --drop-px: 34px; }
.showcase-door .opening { aspect-ratio: 16 / 9.6; }
.showcase-door img { transition: opacity 260ms ease; }
.showcase-door img.is-swapping { opacity: 0; }
.screens { margin-top: 18px; display: grid; gap: 2px; }
.screen-name {
  background: none; border: 0; padding: 4px 0; cursor: pointer; text-align: left;
  font-size: var(--fs-h2); font-weight: 600; letter-spacing: -0.02em; line-height: 1.15;
  color: var(--muted); display: inline-flex; align-items: center; gap: 0.35em;
  transition: color var(--t-hover) ease, transform var(--t-ui) var(--ease-out);
}
.screen-name::before {
  content: ""; width: 0.32em; height: 0.56em; background: var(--amber); flex: none;
  transform: scaleX(0); transform-origin: left center; transition: transform var(--t-ui) var(--ease-out);
}
.screen-name[aria-pressed="true"] { color: var(--ink); }
.screen-name[aria-pressed="true"]::before { transform: scaleX(1); }
@media (hover: hover) and (pointer: fine) { .screen-name:hover { color: var(--ink); } }
.fact { margin-top: 28px; max-width: 34ch; font-size: var(--fs-body); min-height: 5.4em; }

/* Update tiles that grow */
.updates { margin-top: var(--gap-section); padding: 0 var(--margin); }
.tiles {
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 10px;
  align-items: end; grid-template-rows: auto auto;
}
.tiles-title { grid-column: 1 / span 6; grid-row: 1; align-self: start; max-width: 9em; }
.tile { display: grid; grid-template-rows: auto auto; }
.tile--1 { grid-column: 1 / span 3; grid-row: 2; }
.tile--2 { grid-column: 4 / span 4; grid-row: 2; }
.tile--3 { grid-column: 8 / span 5; grid-row: 1 / span 2; }
.tile-face { display: grid; place-items: center; overflow: hidden; }
.tile--1 .tile-face { height: 30vh; min-height: 220px; background: var(--deep); }
.tile--2 .tile-face { height: 44vh; min-height: 320px; background: var(--amber); }
.tile--3 .tile-face { height: 60vh; min-height: 440px; background: var(--leaf); padding: 40px; place-items: end center; }
.tile--1 .drawn { width: 64%; height: auto; }
.tile--2 .drawn { width: 46%; height: auto; }
.tile-face--shot img { width: 100%; height: auto; border: 8px solid var(--amber); }
.tile figcaption { padding: 20px 24px 0 0; display: grid; gap: 6px; max-width: 36ch; }
.tile figcaption strong { font-size: var(--fs-h3); font-weight: 600; }
.tile figcaption span { font-size: var(--fs-small); color: var(--muted); }

/* The planner: the one live thing */
.planner {
  margin-top: 96px; background: var(--deep); color: var(--on-deep);
  display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px;
  padding: clamp(32px, 4vw, 64px);
}
.planner .h3 { grid-column: 1 / -1; font-size: var(--fs-h2); letter-spacing: -0.025em; line-height: 1.05; max-width: 14em; }
.planner-form { grid-column: 1 / span 6; margin-top: 40px; display: grid; gap: 28px; }
.field { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; }
.field legend, .count-line { font-size: var(--fs-body); color: var(--on-deep); font-weight: 600; padding: 0; margin-bottom: 8px; }
.count-line output { font-variant-numeric: tabular-nums; color: var(--amber); }
.field--count input { width: 100%; accent-color: var(--amber); height: 32px; margin: 0; }
.choice { display: inline-flex; align-items: center; gap: 12px; cursor: pointer; padding: 6px 0; font-size: var(--fs-body); }
.choice input { width: 20px; height: 20px; accent-color: var(--amber); margin: 0; }
fieldset.field { display: block; }
fieldset.field .choice { display: flex; }
.plan-result { grid-column: 8 / span 5; margin-top: 40px; align-self: start; background: var(--amber); color: var(--ink); padding: 32px; }
.plan-route { font-size: var(--fs-h2); font-weight: 600; line-height: 1.15; letter-spacing: -0.02em; }
.plan-detail { margin-top: 16px; font-size: var(--fs-body); }
.plan-note { margin-top: 16px; font-size: var(--fs-small); }

/* The band: the page's turn, a field of deep teal holding real labs */
.band { margin-top: var(--gap-section); background: var(--deep); color: var(--on-deep); padding: clamp(80px, 9vw, 140px) var(--margin); }
.band-inner { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; row-gap: 32px; align-items: start; }
.band-title { grid-column: 1 / span 5; grid-row: 1; }
.band-text { grid-column: 1 / span 4; grid-row: 2; color: var(--on-deep); max-width: 34ch; }
.band-photo-1 { grid-column: 6 / span 3; grid-row: 1 / span 3; --leaf-w: 0.2; --drop: 8%; --drop-px: 24px; }
.band-photo-1 .opening { aspect-ratio: 3 / 4; }
.band-photo-2 { grid-column: 9 / span 4; grid-row: 2 / span 3; margin-top: 90px; --leaf-w: 0.16; --drop: 9%; --drop-px: 24px; }
.band-photo-2 .opening { aspect-ratio: 1 / 1; }
.band figcaption { margin-top: 40px; font-size: var(--fs-small); color: var(--on-deep-soft); padding-right: 12px; }
.band .leaf::after { background: var(--deep); }

/* Proof board */
.tested { margin-top: var(--gap-section); padding: 0 var(--margin); }
.board { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.board-head, .mark { aspect-ratio: 3 / 2; padding: 24px; display: flex; flex-direction: column; justify-content: space-between; }
.board-head { grid-column: span 2; aspect-ratio: auto; background: var(--amber); }
.board-head .h2 { max-width: 10em; }
.mark { background: var(--ground-2); }
.mark strong { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.025em; line-height: 1.05; }
.mark span { font-size: var(--fs-small); max-width: 30ch; }
.tested-note { margin-top: 24px; font-size: var(--fs-small); color: var(--muted); max-width: 70ch; }

/* Programs list */
.programs { margin-top: var(--gap-section); padding: 0 var(--margin); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; }
.programs > .h2 { grid-column: 1 / span 6; }
.programs-lede { grid-column: 8 / span 5; align-self: end; max-width: 46ch; }
.menu { grid-column: 1 / -1; }
.menu-head { display: flex; justify-content: space-between; align-items: baseline; margin: 96px 0 40px; }
.menu-head .h3 { font-size: var(--fs-h2); letter-spacing: -0.025em; }
.menu-count { font-size: var(--fs-small); color: var(--muted); }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; row-gap: 36px; }
.menu-list li { display: grid; grid-template-columns: 44px 1fr; column-gap: 20px; align-items: start; }
.bullet { position: relative; width: 28px; height: 44px; background: var(--amber); margin-top: 2px; }
.bullet::after {
  content: ""; position: absolute; left: 100%; top: 0; width: 12px; height: 50px; background: var(--leaf);
  clip-path: polygon(0 0, 100% 16%, 100% 100%, 0 88%);
}
.item { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; font-size: var(--fs-body); }
.item strong { font-weight: 700; }
.item span { font-size: var(--fs-small); color: var(--teal); font-weight: 500; text-align: right; }
.item-text { margin-top: 6px; font-size: var(--fs-small); color: var(--muted); max-width: 44ch; }

/* FAQ */
.faq { margin-top: var(--gap-section); padding: 0 var(--margin); display: grid; grid-template-columns: repeat(12, 1fr); column-gap: 24px; align-items: start; }
.faq-title { grid-column: 1 / span 4; position: sticky; top: 96px; max-width: 7em; }
.faq-list { grid-column: 5 / span 8; display: grid; gap: 8px; }
details { background: var(--ground-2); transition: background-color var(--t-ui) ease; }
details[open] { background: var(--amber); }
summary {
  list-style: none; cursor: pointer; min-height: 72px; padding: 22px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  font-size: var(--fs-body); font-weight: 600;
}
summary::-webkit-details-marker { display: none; }
.plus { position: relative; width: 16px; height: 16px; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: var(--ink); transition: transform var(--t-ui) var(--ease-out); }
.plus::after { transform: rotate(90deg); }
details[open] .plus::after { transform: rotate(0deg); }
details p { padding: 0 24px 26px; font-size: var(--fs-body); max-width: 58ch; }
@media (hover: hover) and (pointer: fine) { details:not([open]) summary:hover { background: #DCE4E1; } }

/* Call to action: a sentence with a blank */
.pilot { margin-top: var(--gap-section); padding: 0 var(--margin) var(--gap-section); }
.pilot-sentence {
  font-size: var(--fs-display); font-weight: 600; letter-spacing: -0.035em; line-height: 1.12;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.22em;
}
.pilot-sentence input {
  width: 7.4em; height: 1.3em; padding: 0 0.28em; border: 0; border-radius: 0;
  background: var(--ground-2); font-weight: 600; letter-spacing: -0.035em;
}
.pilot-sentence input::placeholder { color: var(--muted); }
.pilot-sentence input:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; background: #fff; }
.pilot-send {
  border: 0; cursor: pointer; height: 1.3em; padding: 0 0.34em; background: var(--amber); font-weight: 600;
  letter-spacing: -0.035em; display: inline-flex; align-items: center; position: relative;
  transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease;
  margin-right: 0.32em;
}
.pilot-send::after {
  content: ""; position: absolute; left: 100%; top: 0; width: 0.22em; height: calc(100% + 0.16em); background: var(--leaf);
  clip-path: polygon(0 0, 100% 18%, 100% 100%, 0 86%);
}
.pilot-send:active { transform: scale(0.97); }
@media (hover: hover) and (pointer: fine) { .pilot-send:hover { background: var(--amber-strong); } }
.pilot-note { margin-top: 28px; font-size: var(--fs-small); color: var(--muted); max-width: 56ch; }

/* Footer: the mark, built large */
.footer { background: var(--deep-2); color: var(--on-deep); padding: 64px var(--margin) 32px; }
.footer-mark { display: flex; align-items: flex-end; gap: clamp(16px, 3vw, 48px); }
.footer-mark svg { width: auto; height: clamp(110px, 22vw, 300px); flex: none; }
.footer-mark span { font-size: clamp(56px, 14vw, 216px); font-weight: 700; letter-spacing: -0.05em; line-height: 0.74; color: var(--on-deep); }
.footer-cols { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 32px; font-size: var(--fs-small); }
.footer-cols > div { display: grid; gap: 8px; align-content: start; }
.footer-cols p { color: var(--on-deep-soft); }
.footer-head { color: var(--on-deep) !important; font-weight: 600; margin-bottom: 4px; }
.footer-cols a { color: var(--on-deep); }
.footer-credits a { text-decoration-color: var(--on-deep-soft); }
.footer-last { margin-top: 56px; display: flex; justify-content: space-between; align-items: center; font-size: var(--fs-small); color: var(--on-deep-soft); }

/* Entrances: content is visible without the script; with it, parts rise in order */
@media (prefers-reduced-motion: no-preference) {
  .js .rise, .js .tile, .js .mark, .js .menu-list li, .js .faq-list details, .js .door--photo {
    opacity: 0; transform: translateY(24px);
    transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-expo);
    transition-delay: calc(var(--i, 0) * 80ms);
  }
  .js .is-in { opacity: 1 !important; transform: none !important; }

  .js .shutter { clip-path: inset(100% 0 0 0); transition: clip-path 1100ms var(--ease-in-out) 200ms; }
  .js .shutter img { transform: scale(1.12); transform-origin: 30% 0; transition: transform 1500ms var(--ease-soft) 200ms; }
  .js .shutter.is-in { clip-path: inset(0); }
  .js .shutter.is-in img { transform: none; }
  .js .hero-leaf { transform: scaleX(0); transform-origin: left center; transition: transform 900ms var(--ease-expo) 1000ms; }
  .js .hero-leaf.is-in { transform: none; }

  @supports (animation-timeline: view()) {
    .band-photo-1 img, .band-photo-2 img { scale: 1.08; animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
    @keyframes drift { from { translate: 0 -3%; } to { translate: 0 3%; } }
  }
}

/* Tablet */
@media (max-width: 1080px) {
  .hero { min-height: 0; overflow: visible; }
  .hero-text { padding-top: 48px; }
  .hero-stage {
    position: relative; left: auto; right: auto; top: auto; bottom: auto;
    margin-top: 56px; margin-left: calc(var(--margin) * 3); overflow: hidden;
  }
  .hero-opening { padding: 32px; }
  .hero-opening img { width: 100%; }
  .showcase-list { grid-column: 1 / span 5; }
  .showcase-door { grid-column: 6 / span 7; }
  .planner-form { grid-column: 1 / -1; }
  .plan-result { grid-column: 1 / -1; }
  .board { grid-template-columns: repeat(2, 1fr); }
  .board-head { grid-column: 1 / -1; min-height: 160px; }
  .menu-list { column-gap: 40px; }
}

/* Phone: its own composition */
@media (max-width: 760px) {
  :root { --margin: 20px; }
  .nav nav { display: none; }
  .display { font-size: clamp(38px, 10.4vw, 56px); }
  .lede { margin-top: 24px; }
  .hero .button { margin-top: 28px; }
  .hero-stage { grid-template-columns: 1fr 44px; margin-left: 0; }
  .hero-opening { padding: 16px; }

  .statement { text-align: left; }

  .showcase { display: block; min-height: 0; }
  .showcase-door { --leaf-w: 0.12; --drop-px: 18px; }
  .showcase-list { margin-top: 48px; }
  .screens { display: flex; flex-wrap: wrap; column-gap: 20px; row-gap: 0; }
  .screen-name { font-size: var(--fs-h3); }
  .fact { margin-top: 16px; }

  .tiles { display: grid; grid-template-columns: 1fr; row-gap: 32px; }
  .tiles-title { grid-column: 1; grid-row: auto; max-width: none; }
  .tile--1, .tile--2, .tile--3 { grid-column: 1; grid-row: auto; }
  .tile--1 .tile-face { height: 40vw; min-height: 150px; }
  .tile--2 .tile-face { height: 54vw; min-height: 200px; }
  .tile--3 .tile-face { height: auto; min-height: 0; padding: 20px; }
  .tile figcaption { padding-top: 14px; }

  .planner { display: block; margin-top: 72px; padding: 28px 20px; }
  .plan-result { padding: 24px; }

  .band-inner { display: block; }
  .band-text { margin-top: 20px; }
  .band-photo-1 { margin-top: 48px; width: 82%; }
  .band-photo-2 { margin-top: 56px; width: 88%; margin-left: auto; }
  .band figcaption { margin-top: 30px; }

  .board { grid-template-columns: 1fr 1fr; gap: 6px; }
  .board-head { min-height: 120px; padding: 20px; }
  .mark { aspect-ratio: auto; min-height: 170px; padding: 16px; gap: 12px; }
  .mark strong { font-size: var(--fs-h3); }

  .programs { display: block; }
  .programs-lede { margin-top: 20px; }
  .menu-head { margin: 64px 0 28px; }
  .menu-list { grid-template-columns: 1fr; row-gap: 28px; }
  .menu-list li { grid-template-columns: 36px 1fr; column-gap: 16px; }
  .bullet { width: 22px; height: 34px; }
  .bullet::after { width: 10px; height: 39px; }
  .item { flex-direction: column; gap: 2px; }
  .item span { text-align: left; }

  .faq { display: block; }
  .faq-title { position: static; max-width: none; margin-bottom: 24px; }
  .faq-list { gap: 6px; }
  summary { min-height: 64px; padding: 18px 20px; }
  details p { padding: 0 20px 22px; }

  .pilot-sentence { font-size: clamp(38px, 10.4vw, 56px); }
  .pilot-sentence input { width: 100%; order: 2; height: 1.4em; }
  .pilot-sentence span { order: 1; }
  .pilot-send { order: 3; }

  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-credits { grid-column: 1 / -1; }
}
