/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
/* Anchors land clear of the sticky header. Sections have their own top padding; everything else gets more room. */
[id] { scroll-margin-top: 5.5rem; }
section[id] { scroll-margin-top: 4.25rem; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-ink);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 600; color: var(--color-ink); text-wrap: balance; }
h1 { font-size: var(--text-display); line-height: 1.03; letter-spacing: -0.036em; }
h2 { font-size: var(--text-h2); line-height: 1.08; letter-spacing: -0.03em; }
h3 { font-size: var(--text-h3); line-height: 1.3; letter-spacing: -0.012em; }
p { text-wrap: pretty; }
a { color: var(--color-highlight); text-underline-offset: 0.18em; }
:focus-visible { outline: 3px solid var(--color-focus); outline-offset: 3px; }
.how :focus-visible, .band :focus-visible, .closing-grid > div :focus-visible { outline-color: #fff; }

.wrap { width: 100%; max-width: calc(var(--width-page) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 0.5rem; z-index: 100; padding: 0.6rem 1rem; border-radius: var(--radius-s); background: var(--color-surface); box-shadow: var(--shadow-card); }
.skip-link:focus { left: 0.5rem; }
.section { padding-block: var(--space-section); }
.section-tinted { background: var(--color-tint); }
.eyebrow { margin-bottom: 0.8rem; color: var(--color-highlight); font-size: var(--text-small); font-weight: 600; letter-spacing: -0.003em; }
.lede { color: var(--color-muted); font-size: var(--text-lead); line-height: 1.55; }
.section-head { max-width: 46rem; margin-bottom: clamp(1.75rem, 3.5vw, 3rem); }
.section-head .lede { margin-top: 1.25rem; }
.section-head-center { margin-inline: auto; text-align: center; }

/* Buttons */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 3.125rem; padding: 0.7rem 1.5rem;
  border: 1px solid var(--color-accent); border-radius: 999px;
  background: var(--color-accent); color: var(--color-on-accent);
  font: inherit; font-weight: 600; letter-spacing: -0.006em; text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}
.button:hover { background: var(--color-accent-hover); border-color: var(--color-accent-hover); }
.button-quiet { background: var(--color-surface); border-color: var(--color-line-strong); color: var(--color-ink); }
.button-quiet:hover { background: var(--color-tint); border-color: var(--color-line-strong); }
.button-small { min-height: 2.5rem; padding: 0.35rem 1.15rem; font-size: var(--text-small); }
.button-light { background: #fff; border-color: #fff; color: var(--color-navy); }
.button-light:hover { background: var(--color-tint-strong); border-color: var(--color-tint-strong); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgb(255 255 255 / 86%);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease;
}
.site-header.is-stuck { border-bottom-color: var(--color-line); }
.header-bar { display: flex; align-items: center; gap: 2rem; min-height: 4.25rem; }
.brand { display: inline-flex; align-items: center; gap: 0.55rem; color: var(--color-ink); font-size: 1.1875rem; font-weight: 600; letter-spacing: -0.02em; text-decoration: none; }
.site-nav { display: flex; gap: 1.75rem; margin-right: auto; }
.site-nav a { color: var(--color-muted); font-size: var(--text-small); font-weight: 500; text-decoration: none; transition: color 0.15s ease; }
.site-nav a:hover { color: var(--color-ink); }
.header-actions { display: flex; align-items: center; gap: 1.25rem; }
.demo-link { color: var(--color-ink); font-size: var(--text-small); font-weight: 500; text-decoration: none; white-space: nowrap; }
.demo-link:hover { color: var(--color-highlight); }
.menu-toggle { display: none; width: 2.5rem; height: 2.5rem; padding: 0; align-items: center; justify-content: center; border: 1px solid var(--color-line-strong); border-radius: 999px; background: var(--color-surface); color: var(--color-ink); cursor: pointer; }
.menu-panel { display: none; }

/* Hero */
.hero { position: relative; overflow: clip; background: linear-gradient(180deg, #fff 0%, var(--color-tint) 60%, var(--color-tint-strong) 100%); }
.hero-copy { position: relative; max-width: 58rem; margin-inline: auto; text-align: center; }
.hero-copy .lede { max-width: 42rem; margin: 1.25rem auto 0; }
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 1.75rem; }

/* Index of features under the hero */
.icon { width: 1.5rem; height: 1.5rem; flex: none; fill: none; stroke: var(--color-highlight); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* Photos */
.photo { overflow: hidden; border-radius: var(--radius-l); background: var(--color-tint-strong); }
.photo img { width: 100%; height: 100%; object-fit: cover; }

/* Full-bleed photo band with the path a set takes */
.band { position: relative; overflow: hidden; padding-block: clamp(3.75rem, 8vw, 7rem); background: var(--color-navy); color: var(--color-on-navy); isolation: isolate; }
.band-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: grayscale(0.35); }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(16 41 58 / 94%) 18%, rgb(16 41 58 / 72%) 62%, rgb(16 41 58 / 52%)), linear-gradient(0deg, rgb(16 41 58 / 80%), transparent 55%); }
.band-copy { max-width: 46rem; }
.band h2 { color: #fff; font-size: clamp(2.5rem, 1.5rem + 4.4vw, 5rem); line-height: 1.02; letter-spacing: -0.036em; }
.band .lede { max-width: 38rem; margin-top: 1.25rem; color: var(--color-on-navy); }
.journey { --stop: 4rem; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); margin-top: clamp(2.5rem, 5vw, 4rem); }
.journey li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.8rem; color: #fff; font-size: var(--text-small); font-weight: 600; letter-spacing: -0.006em; line-height: 1.25; text-align: center; }
.journey li:not(:last-child)::after { content: ""; position: absolute; top: calc(var(--stop) / 2 - 1px); left: 50%; width: 100%; height: 2px; background: linear-gradient(90deg, #7fd0cf, rgb(127 208 207 / 45%)); }
.journey-icon { position: relative; z-index: 1; display: grid; place-items: center; width: var(--stop); height: var(--stop); border: 1.5px solid #7fd0cf; border-radius: 50%; background: var(--color-navy); }
.journey-icon .icon { width: 46%; height: 46%; stroke: #bfeceb; }
.journey li:last-child .journey-icon { border-color: #fff; background: #fff; }
.journey li:last-child .icon { stroke: var(--color-navy); }

/* How it works */
.how { background: var(--color-navy); color: var(--color-on-navy); }
.how h2 { color: #fff; }
.how .lede { color: var(--color-on-navy); }
.how .eyebrow { color: #7fd0cf; }
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; counter-reset: step; }
.steps li { position: relative; padding-top: 3.75rem; counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: 0; left: 0; z-index: 1; display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border: 1px solid rgb(127 208 207 / 55%); border-radius: 50%; background: var(--color-navy); color: #fff; font-weight: 600; font-size: var(--text-small); }
.steps li::after { content: ""; position: absolute; top: 1.25rem; left: 2.5rem; right: -2rem; height: 1px; background: rgb(219 231 240 / 22%); }
.steps li:last-child::after { display: none; }
.steps h3 { color: #fff; }
.steps p { margin-top: 0.55rem; font-size: var(--text-small); line-height: 1.55; }


/* Trust */
.trust-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: clamp(2.5rem, 6vw, 6rem); }
.trust-grid h2 { font-size: clamp(1.9rem, 1.45rem + 1.9vw, 2.875rem); }
.trust-grid .lede { margin-top: 1.25rem; font-size: var(--text-body); }
.trust-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.25rem); }
.trust-card { padding: 1.35rem 1.5rem; border: 1px solid var(--color-line); border-radius: var(--radius-m); background: #fff; }
.trust-card h3 { margin-top: 0.7rem; font-size: 1.125rem; }
.trust-card p { margin-top: 0.45rem; color: var(--color-muted); font-size: var(--text-small); line-height: 1.55; }

/* Closing band and form */
.closing { position: relative; overflow: hidden; background: var(--color-navy); color: var(--color-on-navy); isolation: isolate; }
.closing-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; filter: grayscale(1) contrast(1.05); opacity: 0.8; }
.closing::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgb(13 36 56 / 94%) 25%, rgb(16 58 92 / 62%) 100%); }
.closing-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.closing h2 { color: #fff; font-size: clamp(2.25rem, 1.5rem + 3vw, 3.75rem); }
.closing .lede { margin-top: 1.25rem; color: var(--color-on-navy); }
.closing a:not(.button) { color: #fff; }
.closing-login { margin-top: 1.5rem; font-size: var(--text-small); }
.form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; padding: clamp(1.4rem, 3vw, 2.25rem); border-radius: var(--radius-l); background: #fff; color: var(--color-ink); box-shadow: 0 30px 70px -20px rgb(0 0 0 / 45%); }
.field { display: grid; gap: 0.35rem; align-content: start; min-width: 0; }
.field-wide { grid-column: 1 / -1; }
.field label { font-size: var(--text-small); font-weight: 600; letter-spacing: -0.004em; }
.optional, .field-hint { color: var(--color-muted); font-weight: 400; }
.field-hint { font-size: var(--text-label); }
input, select, textarea { width: 100%; min-height: 2.875rem; padding: 0.55rem 0.8rem; border: 1px solid var(--color-line-strong); border-radius: var(--radius-s); background: #fff; color: var(--color-ink); font: inherit; font-size: 1rem; transition: border-color 0.15s ease; }
input:hover, select:hover, textarea:hover { border-color: #9fb3c2; }
textarea { min-height: 6rem; resize: vertical; }
.trap { position: absolute; left: -9999px; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.9rem; }
.form-status { flex: 1 1 14rem; font-size: var(--text-small); }
.form-status[data-state="error"] { color: var(--color-error); }
.form-status[data-state="ok"] { color: var(--color-ok); }

/* Footer */
.site-footer { padding-block: clamp(2rem, 4vw, 3rem); font-size: var(--text-small); }
.footer-grid { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.25rem 2.5rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
.footer-links a { color: var(--color-muted); text-decoration: none; }
.footer-links a:hover { color: var(--color-ink); text-decoration: underline; }
.footer-legal { width: 100%; padding-top: 1.25rem; border-top: 1px solid var(--color-line); color: var(--color-muted); font-size: var(--text-label); }

/* Credits page */
.credits { max-width: 52rem; }
.credits h1 { font-size: clamp(2rem, 1.5rem + 2vw, 3rem); }
.credits > p { margin-top: 1.25rem; color: var(--color-muted); }
.credits ul { display: grid; gap: 0.5rem; margin-top: 1.75rem; }
.credits li { padding-bottom: 0.5rem; border-bottom: 1px solid var(--color-line); }

/* Aion: hero. The photo fills the right half, top to bottom. Below tablet it sits above the copy. */
.hero { display: flex; align-items: center; min-height: min(calc(100svh - 4.25rem), 50rem); }
.hero-split { position: relative; padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.hero-split .hero-copy { max-width: calc(50% - 2.5rem); margin: 0; text-align: left; }
.hero-split .hero-copy .lede { margin-inline: 0; max-width: 34rem; }
.hero-split .hero-actions { justify-content: flex-start; }
.hero-note { margin-top: 1.25rem; color: var(--color-muted); font-size: var(--text-small); }
.hero-visual { position: absolute; inset: 0 0 0 50%; }
.hero-photo { position: absolute; inset: 0; overflow: hidden; border-bottom-left-radius: var(--radius-l); background: var(--color-tint-strong); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.hero-card { position: absolute; right: clamp(1rem, 2.5vw, 2.5rem); bottom: clamp(1rem, 2.5vw, 2.5rem); width: min(21rem, 62%); padding: 1rem 1.15rem 1.15rem; border: 1px solid var(--color-line); border-radius: var(--radius-m); background: #fff; box-shadow: var(--shadow-frame); }
.hero-card-head { display: flex; align-items: center; justify-content: space-between; gap: 0.5rem; font-weight: 600; letter-spacing: -0.008em; }
.hero-card p { margin-top: 0.3rem; color: var(--color-muted); font-size: var(--text-label); line-height: 1.45; }
.hero-card svg { width: 100%; height: auto; margin-bottom: 0.5rem; }

/* Aion: status chips. Always a text label, never colour alone. */
.chip { display: inline-flex; align-items: center; gap: 0.4rem; flex: none; padding: 0.2rem 0.65rem; border-radius: 999px; font-size: var(--text-label); font-weight: 600; letter-spacing: -0.003em; line-height: 1.4; white-space: nowrap; }
.chip::before { content: ""; width: 0.45rem; height: 0.45rem; border-radius: 50%; background: currentColor; }
.chip-live { background: var(--color-tint-teal); color: var(--color-highlight); }
.chip-soon { background: #e8eff6; color: #2a5c84; }
.chip-soon::before { background: transparent; border: 1.5px solid currentColor; }

/* Aion: the three pieces of hardware at a glance */
.lineup { border-block: 1px solid var(--color-line); background: #fff; }
.lineup ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lineup a { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 0.8rem; height: 100%; padding: 1.1rem clamp(0.75rem, 2vw, 1.75rem); color: var(--color-ink); font-weight: 600; letter-spacing: -0.008em; text-decoration: none; transition: background-color 0.15s ease; }
.lineup a:hover { background: var(--color-tint); }
.lineup li + li { border-left: 1px solid var(--color-line); }

/* Aion: device comparison */
.devices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.device { overflow: hidden; border: 1px solid var(--color-line); border-radius: var(--radius-l); background: #fff; }
.device-art { padding: clamp(1rem, 2.5vw, 2rem) clamp(1rem, 2.5vw, 2rem) 0; background: linear-gradient(170deg, var(--color-tint-strong), var(--color-tint)); }
.device-art svg { width: 100%; max-width: 20rem; height: auto; margin-inline: auto; }
.device-art-b { background: linear-gradient(190deg, var(--color-tint-teal), var(--color-tint)); }
.device-body { padding: clamp(1.25rem, 2.5vw, 2rem); }
.device-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.5rem 1rem; margin-bottom: 1.1rem; }
.device-head h3 { font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); letter-spacing: -0.022em; }
.device dl { display: grid; grid-template-columns: minmax(0, 8.25rem) minmax(0, 1fr); gap: 0; font-size: var(--text-small); line-height: 1.5; }
.device dt, .device dd { padding-block: 0.75rem; border-top: 1px solid var(--color-line); }
.device dt { padding-right: 0.75rem; font-weight: 600; }
.device dd { color: var(--color-muted); }
.device dd .chip { margin: 0 0.3rem 0.25rem 0; }
.size-compare { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.25rem, 4vw, 3.5rem); align-items: center; margin-top: clamp(1rem, 2vw, 1.5rem); padding: clamp(1.25rem, 3vw, 2.5rem); border: 1px solid var(--color-line); border-radius: var(--radius-l); background: #fff; }
.size-compare svg { width: 100%; max-width: 30rem; height: auto; margin-inline: auto; }
.size-compare figcaption { font-size: var(--text-small); line-height: 1.55; }
.size-compare h3 { font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); letter-spacing: -0.022em; }
.size-compare p { margin-top: 0.7rem; color: var(--color-muted); }
.size-compare strong { color: var(--color-ink); }
.size-compare .size-note { font-size: var(--text-label); }
.table-wrap { margin-top: clamp(1rem, 2vw, 1.5rem); overflow-x: auto; border: 1px solid var(--color-line); border-radius: var(--radius-m); background: #fff; }
table { width: 100%; min-width: 44rem; border-collapse: collapse; font-size: var(--text-small); line-height: 1.5; }
caption { padding: 1.25rem 1.4rem 0.9rem; font-size: var(--text-h3); font-weight: 600; letter-spacing: -0.012em; text-align: left; }
th, td { padding: 0.9rem 1.4rem; border-top: 1px solid var(--color-line); font-weight: 400; text-align: left; vertical-align: top; }
thead th { color: var(--color-muted); font-size: var(--text-label); font-weight: 600; }
tbody th { font-weight: 600; }
.table-after { margin-top: 1rem; color: var(--color-muted); font-size: var(--text-small); }

/* Aion: coming soon cards */
.soon-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); }
.soon-card { overflow: hidden; border: 1px solid var(--color-line); border-radius: var(--radius-l); background: #fff; }
.soon-media { aspect-ratio: 16 / 9; border-radius: 0; }
.soon-media.photo img { object-position: 50% 62%; }
.soon-art { display: grid; place-items: center; padding: clamp(0.75rem, 1.5vw, 1.25rem); background: linear-gradient(150deg, var(--color-tint-strong), var(--color-tint)); }
.soon-art svg { width: auto; height: 100%; min-height: 0; }
.soon-copy { padding: clamp(1.25rem, 2.5vw, 2rem); }
.soon-copy h3 { margin-top: 0.8rem; font-size: clamp(1.375rem, 1.2rem + 0.7vw, 1.75rem); line-height: 1.15; letter-spacing: -0.024em; }
.soon-copy > p { margin-top: 0.6rem; color: var(--color-muted); font-size: var(--text-small); line-height: 1.55; }
.soon-after { margin-top: clamp(1.25rem, 3vw, 2rem); text-align: center; }

/* Aion: works with JointOps */
.partner-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.partner-photo { aspect-ratio: 1 / 1; }
.partner-photo img { object-position: 60% 42%; }
.partner-grid .lede { margin-top: 1.25rem; }
.partner-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem clamp(1.5rem, 3vw, 2.5rem); margin-top: 1.5rem; }
.partner-list h3 { font-size: 1.0625rem; }
.partner-list p { margin-top: 0.3rem; color: var(--color-muted); font-size: var(--text-small); line-height: 1.5; }
.partner-link { margin-top: 1.5rem; font-weight: 600; }

.section-join { padding-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.section-after-join { padding-top: clamp(1.5rem, 3vw, 2.5rem); }

/* Aion: who */
.who-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 1.6vw, 1.25rem); }

/* Aion: FAQ */
.faq { max-width: 48rem; margin-inline: auto; }
.faq details { border-bottom: 1px solid var(--color-line); }
.faq summary { position: relative; padding: 0.95rem 2.25rem 0.95rem 0; font-weight: 600; letter-spacing: -0.008em; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: 0.3rem; top: 1.25rem; width: 0.6rem; height: 0.6rem; border-right: 1.8px solid var(--color-highlight); border-bottom: 1.8px solid var(--color-highlight); transform: rotate(45deg); transition: transform 0.2s ease; }
.faq details[open] summary::after { transform: translateY(0.25rem) rotate(225deg); }
.faq details p { padding: 0 2.25rem 1.3rem 0; color: var(--color-muted); }

/* Aion: form states */
.status { flex: 1 1 14rem; font-size: var(--text-small); }
.status.err { color: var(--color-error); }
.status.ok { color: var(--color-ok); }
input[aria-invalid="true"] { border-color: var(--color-error); }
.hp { position: absolute; left: -9999px; }
.footer-logo { display: block; }


/* On phones the detail lists start collapsed (main.js). From tablet up they are always open and the summary is hidden. */
.more summary { display: none; }
@media (max-width: 640px) {
  .more { margin-top: 0.75rem; }
  .more summary { position: relative; display: block; padding: 0.4rem 1.5rem 0.4rem 0; color: var(--color-highlight); font-size: var(--text-small); font-weight: 600; cursor: pointer; list-style: none; }
  .more summary::-webkit-details-marker { display: none; }
  .more summary::after { content: ""; position: absolute; right: 0.3rem; top: 0.72rem; width: 0.5rem; height: 0.5rem; border-right: 1.8px solid currentColor; border-bottom: 1.8px solid currentColor; transform: rotate(45deg); }
  .more[open] summary::after { transform: translateY(0.2rem) rotate(225deg); }
}

@media (max-width: 1040px) {
  .partner-grid, .trust-grid, .closing-grid, .size-compare { grid-template-columns: minmax(0, 1fr); }
  .partner-photo { aspect-ratio: 16 / 7; }
  .hero { display: block; min-height: 0; }
  .hero-visual { position: relative; inset: auto; aspect-ratio: 16 / 7.5; }
  .hero-photo { border-radius: 0; }
  .hero-split { padding-block: 1.75rem 2.75rem; }
  .hero-split .hero-copy { max-width: 42rem; }
  .hero-card { width: 17rem; }
}
@media (max-width: 640px) {
  .lineup ul, .devices, .who-grid, .partner-list, .soon-rows, .trust-cards { grid-template-columns: minmax(0, 1fr); }
  .lineup li + li { border-left: 0; border-top: 1px solid var(--color-line); }
  .lineup a { justify-content: space-between; padding: 0.7rem 0; }
  .hero-visual { aspect-ratio: 16 / 9; }
  /* The card shrinks to a label on the cropped photo. The full drawing is in the comparison below. */
  .hero-card { right: auto; left: 0.75rem; bottom: 0.75rem; width: auto; padding: 0.4rem 0.45rem 0.4rem 0.8rem; border-radius: 999px; }
  .hero-card svg, .hero-card p { display: none; }
  .hero-actions .button { flex: 1 1 auto; }
  .brand img { width: 150px; height: auto; }
  .journey { --stop: 3rem; margin-inline: -0.4rem; }
  .journey li { gap: 0.55rem; font-size: 0.75rem; }
  .device-art svg { max-width: 13rem; }
  .device dl { grid-template-columns: minmax(0, 1fr); }
  .device dt { padding-bottom: 0; }
  .device dd { padding-top: 0.15rem; border-top: 0; }
  /* The question table becomes one compact card per question. */
  .table-wrap { overflow: visible; }
  table, tbody, tr, th, td, caption { display: block; min-width: 0; }
  table { min-width: 0; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  caption { padding: 1rem 1.1rem 0.6rem; }
  tbody tr { padding: 0.8rem 1.1rem; border-top: 1px solid var(--color-line); }
  th, td { padding: 0; border: 0; }
  tbody th { margin-bottom: 0.2rem; }
  tbody td:nth-of-type(1) { font-weight: 600; color: var(--color-highlight); }
  tbody td:nth-of-type(2) { color: var(--color-muted); }
  tbody td:nth-of-type(3) { margin-top: 0.4rem; }
  .partner-photo { aspect-ratio: 16 / 7; }
  .trust-card { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 0.85rem; padding: 1rem 1.1rem; }
  .trust-card h3 { margin-top: 0; }
  .trust-card p { grid-column: 2; margin-top: 0.2rem; }
}

/* Reveal. main.js adds .pre-reveal only to elements below the fold, and never under reduced motion. */
.pre-reveal { opacity: 0; transform: translateY(18px); }
.reveal-in { opacity: 1; transform: none; transition: opacity 0.7s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Tablet */
@media (max-width: 1040px) {
  .site-nav, .demo-link { display: none; }
  .header-bar { justify-content: space-between; }
  .menu-toggle { display: inline-flex; }
  .header-actions { gap: 0.6rem; }
  .menu-panel.is-open { display: grid; gap: 0.15rem; padding: 0.5rem var(--gutter) 1rem; border-top: 1px solid var(--color-line); background: #fff; }
  .menu-panel a { padding: 0.7rem 0; color: var(--color-ink); font-weight: 500; text-decoration: none; }
    .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps li:nth-child(2)::after { display: none; }
}

/* Phone */
@media (max-width: 640px) {
  .steps { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .steps li { padding: 0 0 0 3.5rem; }
  .steps li::after { display: none; }
  .form-actions .button { width: 100%; }
  .footer-grid { flex-direction: column; align-items: flex-start; }
}
.device-art.photo-art { padding: 0; aspect-ratio: 16 / 10; overflow: hidden; }
.device-art.photo-art img { width: 100%; height: 100%; object-fit: cover; }
.device-art.photo-art { position: relative; }
.device-art.photo-art img[src*="tote-tracker-composite"] { object-position: 50% 40%; }
.art-label { position: absolute; left: 0.75rem; bottom: 0.75rem; padding: 0.2rem 0.6rem; border-radius: 999px; background: rgb(255 255 255 / 92%); color: var(--color-ink, #142438); font-size: var(--text-label); font-weight: 600; }
.soon-media.photo img[src*="tray-perforated"] { object-position: 50% 50%; }
.device-art-b .art-label { top: 0.75rem; bottom: auto; }
