/* meshveil.app — the app's Quiet Signal language on the web.
   Colours are the tokens in Documentation/UI_DESIGN_SYSTEM.md; keep them in
   step with the app. Layout uses logical properties throughout, so the
   Arabic pages mirror without a second stylesheet. System fonts only. */

:root {
  color-scheme: light dark;
  --bg: #F5F7F7;
  --surface: #FFFFFF;
  --inset: #E8F0F2;
  --accent: #08737D;
  --on-accent: #FFFFFF;
  --text: #14212B;
  --muted: #5C6E7A;
  --line: rgba(20, 33, 43, .12);
  --line-strong: rgba(20, 33, 43, .22);
  --button-quiet: #DCE7EA;
  --button-quiet-hover: #CEDDE1;
  --accent-wash: rgba(8, 115, 125, .08);
  --accent-line: rgba(8, 115, 125, .35);
  --critical: #A1404A;
  --shadow: 0 1px 2px rgba(20, 33, 43, .05), 0 12px 32px rgba(20, 33, 43, .06);
  --phone-shadow: 0 2px 4px rgba(20, 33, 43, .10), 0 28px 60px rgba(8, 60, 70, .22);

  /* Always-dark bands: the icon's dark background. */
  --deep-top: #0C2A2E;
  --deep-bottom: #04181B;
  --deep-text: #EDF2F7;
  --deep-muted: #9DB6BC;
  --deep-accent: #59D1C2;
  --deep-line: rgba(237, 242, 247, .14);

  /* Ember, the supporter theme. */
  --ember-bg: #F8F4EF;
  --ember-accent: #A5471F;
  --ember-text: #2A1C14;
  --ember-muted: #76655A;

  --sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1120px;
  --gutter: 24px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0A0F14;
    --surface: #121721;
    --inset: #1A212E;
    --accent: #59D1C2;
    --on-accent: #081214;
    --text: #EDF2F7;
    --muted: #8799AD;
    --line: rgba(237, 242, 247, .10);
    --line-strong: rgba(237, 242, 247, .20);
    --button-quiet: #232D3D;
    --button-quiet-hover: #2D394C;
    --accent-wash: rgba(89, 209, 194, .08);
    --accent-line: rgba(89, 209, 194, .35);
    --critical: #D1646E;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3);
    --phone-shadow: 0 2px 4px rgba(0, 0, 0, .5), 0 28px 60px rgba(0, 0, 0, .55);
    --deep-top: #0B2327;
    --deep-bottom: #050D10;
    --ember-bg: #15110E;
    --ember-accent: #F0976A;
    --ember-text: #F6EDE6;
    --ember-muted: #AB9A8D;
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body { line-height: 1.85; font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans Arabic", Tahoma, sans-serif; }
/* Monospaced labels have no good Arabic face, so Arabic uses the text face. */
[dir="rtl"] :is(.eyebrow, .telemetry li, .hop-state, .faq-groups h3, .updated) {
  font-family: inherit; font-size: .9rem; line-height: 1.6; letter-spacing: 0; text-transform: none;
}
[dir="rtl"] .telemetry li { font-size: .82rem; line-height: 1.2; }

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

a { color: var(--accent); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0; line-height: 1.1; letter-spacing: -.03em; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 6.4vw, 4.4rem); font-weight: 700; }
h2 { font-size: clamp(1.75rem, 3.6vw, 2.6rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; }
p { margin: 0; text-wrap: pretty; }
[dir="rtl"] :is(h1, h2, h3) { letter-spacing: 0; line-height: 1.35; }
[dir="rtl"] .hero h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

.skip-link { position: absolute; inset-block-start: -100px; inset-inline-start: 12px; z-index: 20; padding: 8px 14px; background: var(--surface); border-radius: 8px; }
.skip-link:focus { inset-block-start: 12px; }

.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
[dir="rtl"] .link-card .icon { transform: scaleX(-1); }

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font: 600 .74rem/1.4 var(--mono);
  letter-spacing: .12em;
  text-transform: uppercase;
}

.lead { font-size: clamp(1.08rem, 1.9vw, 1.28rem); line-height: 1.55; color: var(--muted); max-width: 60ch; }
[dir="rtl"] .lead { line-height: 1.8; }
.section-lead { margin-top: 16px; color: var(--muted); font-size: 1.1rem; max-width: 62ch; }
.fine { font-size: .86rem; color: var(--muted); }

/* ------------------------------------------------------------ buttons */

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 10px 24px;
  border: 1px solid transparent; border-radius: 999px;
  font-weight: 600; font-size: 1rem; line-height: 1.2; text-decoration: none;
  transition: background-color .2s ease-in-out, border-color .2s ease-in-out;
}
.button-primary { background: var(--accent); color: var(--on-accent); }
.button-primary:hover { background: color-mix(in srgb, var(--accent) 88%, var(--text)); }
/* Every button is filled. An outline on the page colour reads as text, not a button. */
.button-secondary { background: var(--button-quiet); color: var(--text); }
.button-secondary:hover { background: var(--button-quiet-hover); }
.button-small { min-height: 38px; padding: 6px 16px; font-size: .9rem; }
.button-on-deep.button-primary { background: var(--deep-accent); color: #081214; }
.button-on-deep.button-primary:hover { background: #7ADDD0; }
.button-on-deep.button-secondary { color: var(--deep-text); background: rgba(237, 242, 247, .16); }
.button-on-deep.button-secondary:hover { background: rgba(237, 242, 247, .24); }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 30px; }
.badge { display: inline-flex; border-radius: 9px; }
.badge img { display: block; height: 52px; width: auto; }
/* Beside Apple's badge, a button takes the badge's height. */
.actions:has(.badge) .button { min-height: 52px; }
/* A pair of buttons on a page header is one size, set by the longer label. */
.page-hero .actions { display: inline-grid; grid-auto-flow: column; grid-auto-columns: 1fr; }

/* ------------------------------------------------------------ header */

.site-header {
  position: sticky; inset-block-start: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px);
  border-block-end: 1px solid var(--line);
}
.header-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-weight: 700; font-size: 1.1rem; letter-spacing: -.02em; }
.brand img { border-radius: 22.5%; }
.brand-text { display: grid; line-height: 1.15; }
.brand-text small { font-size: .66rem; font-weight: 500; letter-spacing: .01em; color: var(--muted); }
.site-header nav { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 26px); }
.site-header nav a:not(.button) { color: var(--muted); text-decoration: none; font-size: .94rem; padding-block: 8px; }
.site-header nav a:not(.button):hover, .site-header nav a[aria-current] { color: var(--text); }
.site-header nav .lang-switch { border-radius: 999px; padding: 5px 15px; color: var(--text); background: var(--button-quiet); line-height: 1.5; }
.site-header nav .lang-switch:hover { background: var(--button-quiet-hover); }

/* ------------------------------------------------------------ hero */

.hero { position: relative; overflow: hidden; padding-block: clamp(48px, 8vw, 96px) clamp(40px, 6vw, 72px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 70% at 78% 40%, var(--accent-wash), transparent 70%),
    radial-gradient(40% 50% at 10% 0%, var(--accent-wash), transparent 70%);
}
[dir="rtl"] .hero::before { transform: scaleX(-1); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero h1 span { display: block; }
.hero h1 span:last-child { color: var(--accent); }
.hero .lead { margin-top: 24px; }
.hero .fine { margin-top: 16px; }

.hero-visual { display: grid; justify-items: center; gap: 28px; }
.hero-phones { position: relative; width: min(100%, 420px); display: grid; justify-items: center; padding-block: 8px; }
.hero-phones .phone-front { width: min(66%, 290px); position: relative; z-index: 1; margin-inline-end: 30%; }
.hero-phones .phone-back { width: min(56%, 246px); position: absolute; inset-inline-end: 0; inset-block-start: 10%; }

.phone {
  aspect-ratio: 660 / 1434;
  padding: 2.4%;
  background: #0B0D10;
  border-radius: 15.5% / 7.2%;
  box-shadow: var(--phone-shadow), inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.phone img { width: 100%; height: 100%; border-radius: 13.2% / 6.1%; }

.telemetry { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.telemetry li {
  font: 500 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; background: var(--surface);
}

/* ------------------------------------------------------------ facts */

.facts { border-block: 1px solid var(--line); background: var(--surface); }
.facts-grid { margin-block: 0; display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid > div { padding: 28px 24px; border-inline-start: 1px solid var(--line); }
.facts-grid > div:first-child { border-inline-start: 0; padding-inline-start: 0; }
.facts-grid dt { font-weight: 700; font-size: 1.12rem; letter-spacing: -.01em; }
.facts-grid dd { margin: 6px 0 0; color: var(--muted); font-size: .94rem; line-height: 1.5; }
[dir="rtl"] .facts-grid dd { line-height: 1.75; }

/* ------------------------------------------------------------ sections */

.section { padding-block: clamp(64px, 9vw, 112px); }
.section-tint { background: var(--inset); }
.section-deep, .cta {
  background: linear-gradient(160deg, var(--deep-top), var(--deep-bottom));
  color: var(--deep-text);
}
.section-deep .eyebrow, .cta .eyebrow { color: var(--deep-accent); }
.section-deep .section-lead { color: var(--deep-muted); }

.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(22px, 3vw, 32px); box-shadow: var(--shadow);
}
.card-accent { background: color-mix(in srgb, var(--accent) 6%, var(--surface)); border-color: var(--accent-line); }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.card h3 { margin-top: 18px; }
.card p { margin-top: 10px; color: var(--muted); font-size: .98rem; }
.card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--accent-wash); color: var(--accent); font-size: 1.15rem; }

/* How it works: four phones, one message moving between them. */
.hops { margin-top: 40px; padding-block: clamp(28px, 4vw, 44px); }
.hop-track { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.hop-track::before {
  content: ""; position: absolute; inset-block-start: 27px; inset-inline: 12.5%;
  border-block-start: 2px dashed var(--accent-line);
}
.hop-track::after {
  content: ""; position: absolute; inset-block-start: 21px; inset-inline-start: 12.5%;
  width: 14px; height: 14px; margin-inline-start: -7px; border-radius: 50%;
  background: var(--accent); box-shadow: 0 0 0 5px var(--accent-wash);
  animation: hop-across 6s cubic-bezier(.6, 0, .4, 1) infinite;
}
@keyframes hop-across {
  0%, 8% { inset-inline-start: 12.5%; opacity: 0; }
  12% { opacity: 1; }
  30%, 38% { inset-inline-start: 37.5%; }
  56%, 64% { inset-inline-start: 62.5%; }
  82%, 90% { inset-inline-start: 87.5%; opacity: 1; }
  100% { inset-inline-start: 87.5%; opacity: 0; }
}
.hop { display: grid; justify-items: center; text-align: center; gap: 4px; padding-inline: 8px; position: relative; z-index: 1; }
.hop-node {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 10px;
  border-radius: 50%; background: var(--surface); border: 1px solid var(--line-strong); color: var(--muted); font-size: 1.2rem;
}
/* A lock on each link: the message is sealed while it travels. */
.hop-seal { position: absolute; inset-block-start: 14px; inset-inline-start: -14px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--surface); border: 1px solid var(--accent-line); color: var(--accent); font-size: .78rem; }
.hop-end .hop-node { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.hop-name { font-weight: 600; }
.hop-state { font: 500 .74rem/1.4 var(--mono); letter-spacing: .04em; color: var(--muted); }

/* How far one phone reaches against how far the mesh does. Not to scale. */
.range { margin: 34px auto 0; width: 75%; display: grid; gap: 14px; }
.range-row { display: grid; gap: 6px; font-size: .86rem; color: var(--muted); }
.range-row i { display: block; height: 8px; border-radius: 999px; background: var(--line-strong); }
.range-short i { width: 33.3%; }
.range-long { color: var(--text); font-weight: 600; }
.range-long i { background: var(--accent); }

.steps { list-style: none; margin: 40px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.steps li { border-block-start: 1px solid var(--line-strong); padding-top: 20px; }
.step-number, .spec-number { display: block; font: 600 .78rem/1 var(--mono); letter-spacing: .1em; color: var(--accent); margin-bottom: 14px; }
.steps p { margin-top: 8px; color: var(--muted); font-size: .98rem; }

/* Feature rows: a phone beside its explanation, alternating sides. */
.features { display: grid; gap: clamp(72px, 10vw, 128px); }
.feature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; }
.feature:nth-child(even) .feature-visual { order: 2; }
.feature-visual { display: grid; justify-items: center; position: relative; padding-block: 12px; }
.feature-visual::before {
  content: ""; position: absolute; inset: 14% 8%; z-index: -1; border-radius: 28px;
  background: var(--inset); border: 1px solid var(--line);
}
.feature-visual .phone { width: min(74%, 290px); }
.feature-copy > p:not(.eyebrow) { margin-top: 18px; color: var(--muted); font-size: 1.08rem; }
.points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 12px; }
.points li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; }
.points .icon { color: var(--accent); margin-top: .22em; }
[dir="rtl"] .points .icon { margin-top: .4em; }

/* Security: a specification sheet on the dark band. */
.spec-grid { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-block-start: 1px solid var(--deep-line); }
.spec-grid li { padding: 28px 28px 28px 0; padding-inline: 0 28px; border-block-end: 1px solid var(--deep-line); }
.spec-grid li:not(:nth-child(3n + 1)) { padding-inline-start: 28px; border-inline-start: 1px solid var(--deep-line); }
.spec-number { color: var(--deep-accent); }
.spec-grid p { margin-top: 10px; color: var(--deep-muted); font-size: .96rem; }

/* Film */
.video-section { display: grid; gap: 36px; }
.film { width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; background: #04181B; border: 1px solid var(--line); box-shadow: var(--shadow); }

/* Ember */
.section-ember { background: var(--ember-bg); color: var(--ember-text); }
.section-ember .eyebrow { color: var(--ember-accent); }
.ember-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 88px); align-items: center; }
.ember-grid h2 + p { margin-top: 18px; font-size: 1.08rem; color: var(--ember-muted); }
.ember-grid .fine { margin-top: 18px; color: var(--ember-muted); }
.ember-phones { display: flex; justify-content: center; align-items: flex-start; gap: 4%; }
.ember-phones .phone { width: min(44%, 230px); }
.ember-phones .phone:last-child { margin-top: 12%; }

/* Good to know */
.know { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 6vw, 88px); }
.know-list { list-style: none; margin: 0; padding: 0; }
.know-list li { padding-block: 18px; border-block-start: 1px solid var(--line-strong); color: var(--muted); }
.know-list li:last-child { border-block-end: 1px solid var(--line-strong); color: var(--text); font-weight: 600; }

/* Closing call to action */
.cta { padding-block: clamp(72px, 10vw, 120px); text-align: center; }
.cta-inner { display: grid; justify-items: center; }
.cta-inner > img { border-radius: 22.5%; margin-bottom: 28px; box-shadow: 0 12px 36px rgba(0, 0, 0, .35); }
.cta p { margin-top: 16px; color: var(--deep-muted); font-size: 1.12rem; max-width: 52ch; }
.cta .actions { justify-content: center; }

/* ------------------------------------------------------------ support */

.page-hero { padding-block: clamp(56px, 8vw, 96px) clamp(40px, 5vw, 56px); }
.page-hero h1 { font-size: clamp(2.3rem, 5.4vw, 3.8rem); }
.page-hero .lead { margin-top: 20px; }

.support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.support-grid .card h2, .faq h2, .section-tint h2 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.support-grid .card p { margin-top: 14px; color: var(--text); }
.support-grid .card .fine { color: var(--muted); }
.notice { padding: 14px 16px; border-radius: 11px; background: var(--surface); border: 1px solid var(--line); border-inline-start: 3px solid var(--critical); font-size: .94rem; }
.report-steps { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: step; display: grid; gap: 12px; }
.report-steps li { counter-increment: step; display: grid; grid-template-columns: 30px 1fr; gap: 12px; align-items: start; }
.report-steps li::before {
  content: counter(step); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%;
  background: var(--accent-wash); color: var(--accent); font: 600 .82rem/1 var(--mono);
}

.faq { display: grid; grid-template-columns: minmax(0, .6fr) minmax(0, 1.4fr); gap: clamp(28px, 6vw, 80px); }
.faq-groups { display: grid; gap: 40px; }
.faq-groups h3 { font: 600 .76rem/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
details { border-block-end: 1px solid var(--line-strong); }
summary { cursor: pointer; padding-block: 18px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: baseline; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 400 1.3rem/1 var(--mono); color: var(--accent); flex: none; }
details[open] summary::after { content: "–"; }
details p { padding-block-end: 20px; color: var(--muted); max-width: 64ch; }

.link-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.link-card {
  display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 76px; padding: 18px 20px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  color: var(--text); font-weight: 600; text-decoration: none; transition: border-color .2s ease-in-out;
}
.link-card:hover { border-color: var(--accent); }
.link-card .icon { color: var(--accent); }

/* ------------------------------------------------------------ privacy */

.policy { max-width: 780px; padding-block: clamp(56px, 8vw, 96px); }
.policy-head { padding-block-end: 32px; border-block-end: 1px solid var(--line-strong); }
.policy-head h1 { font-size: clamp(2.3rem, 5.4vw, 3.6rem); }
.policy-head .lead { margin-top: 20px; }
.updated { margin-top: 22px; font: 500 .8rem/1.4 var(--mono); color: var(--muted); letter-spacing: .04em; }
.policy section { padding-block: 30px; border-block-end: 1px solid var(--line); }
.policy h2 { font-size: 1.45rem; margin-bottom: 12px; }
.policy section p + p { margin-top: 14px; }
.policy-end { padding-top: 32px; }

/* ------------------------------------------------------------ footer */

.site-footer { background: var(--deep-bottom); color: var(--deep-muted); font-size: .9rem; border-block-start: 1px solid var(--deep-line); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 48px; padding-block: 44px; }
.site-footer .brand { color: var(--deep-text); }
.site-footer .brand-text small { color: var(--deep-muted); }
.footer-brand p { margin-top: 10px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; align-content: start; justify-content: flex-end; }
.footer-links a { color: var(--deep-text); text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-legal { grid-column: 1 / -1; padding-top: 22px; border-block-start: 1px solid var(--deep-line); font-size: .8rem; display: grid; gap: 4px; }

/* ------------------------------------------------------------ small screens */

@media (max-width: 900px) {
  .hero-grid, .ember-grid, .know, .faq { grid-template-columns: minmax(0, 1fr); }
  .hero-visual { margin-top: 8px; }
  .facts-grid { grid-template-columns: repeat(2, 1fr); }
  .facts-grid > div { padding: 22px 18px; }
  .facts-grid > div:nth-child(odd) { border-inline-start: 0; padding-inline-start: 0; }
  .facts-grid > div:nth-child(n + 3) { border-block-start: 1px solid var(--line); }
  .card-grid, .steps, .link-grid { grid-template-columns: minmax(0, 1fr); }
  .steps { gap: 24px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-grid li:not(:nth-child(3n + 1)) { padding-inline-start: 0; border-inline-start: 0; }
  .spec-grid li:nth-child(even) { padding-inline-start: 24px; border-inline-start: 1px solid var(--deep-line); }
  .feature { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .feature .feature-visual, .feature:nth-child(even) .feature-visual { order: 0; }
  .feature-visual::before { inset: 12% 4%; }
  .support-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-inner { grid-template-columns: minmax(0, 1fr); }
  .footer-links { justify-content: flex-start; }
}

@media (max-width: 720px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .nav-wide, .nav-download { display: none; }
  .actions .button { flex: 1 1 100%; }
  .page-hero .actions { display: grid; grid-auto-flow: row; }

  /* The message travels down the page instead of across it. */
  .range { width: 100%; }
  .hop-track { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hop-track::before { inset-block: 28px; inset-inline: 27px auto; border-block-start: 0; border-inline-start: 2px dashed var(--accent-line); }
  .hop-track::after { inset-inline-start: 28px; animation-name: hop-down; }
  .hop { grid-template-columns: 56px 1fr; justify-items: start; text-align: start; column-gap: 16px; padding-inline: 0; }
  .hop-node { grid-row: span 2; margin-bottom: 0; }
  .hop-seal { inset-block-start: -25px; inset-inline-start: 14px; }
  .hop-name { align-self: end; }
  .hop-state { align-self: start; }
  .spec-grid { grid-template-columns: minmax(0, 1fr); }
  .spec-grid li, .spec-grid li:nth-child(even) { padding-inline: 0; border-inline-start: 0; }
}
@keyframes hop-down {
  0%, 8% { inset-block-start: 21px; opacity: 0; }
  12% { opacity: 1; }
  30%, 38% { inset-block-start: calc(21px + (100% - 56px) / 3); }
  56%, 64% { inset-block-start: calc(21px + (100% - 56px) * 2 / 3); }
  82%, 90% { inset-block-start: calc(100% - 35px); opacity: 1; }
  100% { inset-block-start: calc(100% - 35px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hop-track::after { animation: none; display: none; }
  .button, .link-card { transition: none; }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--bg); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
