/* Alta web: page sections and the illustrative app mock-ups. Colours: tokens only. */

/* ---------- 3D stage + posters ---------- */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.stage canvas { width: 100%; height: 100%; display: block; opacity: 0; transition: opacity 600ms ease; }
.pod-ready .stage canvas { opacity: 1; }

.pod-slot { position: relative; aspect-ratio: 4 / 3; }
.pod-slot .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 500ms ease; }
.poster--light { display: none; }
[data-theme="paper"] .poster--light { display: block; }
[data-theme="paper"] .poster--dark { display: none; }
@media (prefers-color-scheme: light) {
  :root:not([data-theme]) .poster--light { display: block; }
  :root:not([data-theme]) .poster--dark { display: none; }
}
/* Once the live pod has drawn its first frame, the posters step aside (they keep their box). */
.pod-ready .pod-slot .poster { opacity: 0; }
.pod-ready .pod-slot.keep-poster .poster { opacity: 1; }

.aura { position: absolute; inset: 0; pointer-events: none; z-index: -1;
  background: radial-gradient(60% 55% at 70% 55%, color-mix(in srgb, var(--alta-aura) calc(var(--alta-opacity-aura) * 100%), transparent), transparent 70%); }
.aura--low { background: radial-gradient(50% 50% at 50% 30%, color-mix(in srgb, var(--alta-aura) calc(var(--alta-opacity-aura) * 100%), transparent), transparent 70%); }

/* Leader lines tied to real features of the 3D pod (desktop): the finger dimple, the contacts and magnets. Decorative: the list says the same. */
.leaders { position: absolute; inset: 0; opacity: 0; transition: opacity 360ms ease; }
.leaders.is-on { opacity: 1; }
.leaders svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.leaders line { stroke: var(--alta-text-secondary); stroke-width: 1.25; }
.leaders circle { fill: var(--alta-background); stroke: var(--alta-text-primary); stroke-width: 1.5; }
.leader { position: absolute; left: 0; top: 0; padding: 6px 10px; border-radius: var(--alta-radius-sm); white-space: nowrap; visibility: hidden;
  background: var(--alta-surface); border: 1px solid var(--alta-border); color: var(--alta-text-primary); font: 600 14px/18px var(--alta-font-rounded); }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; transition: background-color 240ms ease, box-shadow 240ms ease, backdrop-filter 240ms ease; }
.nav__inner { display: flex; align-items: center; gap: 24px; height: 68px; max-width: 1200px; margin-inline: auto; padding-inline: var(--alta-layout-page-inset); }
@media (min-width: 768px) { .nav__inner { padding-inline: 40px; } }
.nav.is-scrolled { background: color-mix(in srgb, var(--alta-background) 82%, transparent); -webkit-backdrop-filter: saturate(1.4) blur(18px); backdrop-filter: saturate(1.4) blur(18px); box-shadow: 0 1px 0 var(--alta-separator); }
.nav__brand { display: inline-flex; align-items: center; min-height: 44px; color: var(--alta-text-primary); }
.wordmark { display: block; width: 72px; height: 36px; background: currentColor;
  -webkit-mask: url("../assets/wordmark.svg") center / contain no-repeat; mask: url("../assets/wordmark.svg") center / contain no-repeat; }
.wordmark--s { width: 60px; height: 30px; color: var(--alta-text-primary); }
.nav__links { display: none; gap: 28px; margin-left: 16px; }
.nav__links a { color: var(--alta-text-secondary); text-decoration: none; font: 500 15px/44px var(--alta-font-text); transition: color 120ms ease; }
.nav__links a:hover { color: var(--alta-text-primary); }
@media (min-width: 900px) { .nav__links { display: flex; } }
.nav__actions { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav__cta { margin-bottom: 0; }
.theme-toggle { width: 44px; height: 44px; display: grid; place-items: center; border: 0; background: transparent; border-radius: var(--alta-radius-md); cursor: pointer; color: var(--alta-text-secondary); }
.theme-toggle:hover { color: var(--alta-text-primary); background: var(--alta-surface); }
.theme-toggle svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.theme-toggle .i-moon { fill: currentColor; stroke: none; }
.theme-toggle .i-sun circle { fill: currentColor; stroke: none; }
.i-moon { display: none; }
[data-theme="paper"] .i-sun { display: none; } [data-theme="paper"] .i-moon { display: block; }
@media (prefers-color-scheme: light) { :root:not([data-theme]) .i-sun { display: none; } :root:not([data-theme]) .i-moon { display: block; } }

/* ---------- 1. Hero ---------- */
.hero { position: relative; z-index: 1; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding-top: 68px; overflow: clip; }
.hero__grid { display: grid; gap: 8px; align-items: center; padding-block: 24px 64px; }
.hero__copy { max-width: 620px; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 36px; }
.pod-slot--hero { width: min(100%, 520px); justify-self: center; }
.pod-slot--hero .chip--float { position: absolute; left: 4%; bottom: 14%; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 24px; padding-block: 40px; }
  .pod-slot--hero { width: 100%; max-width: 680px; }
  .pod-slot--hero .chip--float { left: 2%; bottom: 18%; }
}
@media (max-width: 899px) { .hero { align-items: flex-start; } .hero__grid { padding-top: 40px; } .hero__copy { text-align: left; } }

/* ---------- 2. The pod (sticky: the whole pod turns as you scroll) ---------- */
.reveal-pod { position: relative; z-index: 1; height: 380vh; }
.reveal-pod__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; padding-top: 68px; }
.reveal-pod__grid { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); gap: 48px; align-items: center; }
.pod-slot--reveal { width: 100%; max-height: calc(100svh - 140px); justify-self: center; }
.callouts { margin-top: 36px; display: grid; gap: 18px; }
.callout { padding-left: 16px; border-left: 2px solid var(--alta-border-strong); transition: border-color 420ms ease, transform var(--alta-motion-content); }
.callout__k { display: block; font: 700 19px/24px var(--alta-font-rounded); }
.callout__v { display: block; margin-top: 2px; font-size: 15px; line-height: 21px; color: var(--alta-text-secondary); }
.reveal-pod[data-beat="top"] .callout[data-beat="top"],
.reveal-pod[data-beat="grip"] .callout[data-beat="grip"],
.reveal-pod[data-beat="under"] .callout[data-beat="under"] { border-left-color: var(--alta-accent); transform: translateX(4px); }
.reveal-pod__progress { position: absolute; left: 50%; bottom: 18px; width: 120px; height: 4px; margin-left: -60px; border-radius: var(--alta-radius-full); background: var(--alta-zone-track); overflow: hidden; opacity: 0; transition: opacity 200ms ease; }
.is-pinned .reveal-pod__progress { opacity: 1; }
.reveal-pod__progress span { display: block; height: 100%; width: 100%; background: var(--alta-accent); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 899px) {
  .reveal-pod { height: 320vh; }
  .reveal-pod__sticky { align-items: stretch; padding-top: 68px; padding-bottom: 20px; }
  .reveal-pod__grid { grid-template-columns: minmax(0, 1fr); grid-template-rows: minmax(0, 1fr) auto; gap: 4px; height: 100%; }
  .reveal-pod__head { order: 2; }
  .pod-slot--reveal { order: 1; height: 100%; width: 100%; aspect-ratio: auto; max-height: none; min-height: 0; }
  .reveal-pod__head .lede { margin-top: 10px; font-size: 16px; }
  .callouts { margin-top: 16px; gap: 8px; }
  .callout { display: flex; gap: 8px; align-items: baseline; padding-left: 10px; }
  .callout__k { font-size: 15px; line-height: 20px; flex: none; width: 84px; } .callout__v { font-size: 14px; line-height: 19px; margin-top: 0; }
  .reveal-pod__progress { bottom: 8px; }
}
/* Posters only (no WebGL / reduced motion): no pin, everything shown, the three moments as stills. */
.reveal-pod__stills { display: none; }
.no-3d .reveal-pod__stills, :root:not(.js) .reveal-pod__stills { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 8px; }
.reveal-pod__stills figure { position: relative; margin: 0; }
.reveal-pod__stills img { width: 100%; height: auto; vertical-align: top; }
.reveal-pod__stills figcaption { margin-top: 4px; text-align: center; font: 600 14px/20px var(--alta-font-rounded); color: var(--alta-text-secondary); }
@media (max-width: 520px) { .no-3d .reveal-pod__stills { grid-template-columns: minmax(0, 1fr); } }
.no-3d .reveal-pod { height: auto; padding-block: 120px 80px; }
.no-3d .reveal-pod__sticky { position: static; height: auto; padding-top: 0; }
.no-3d .callout { border-left-color: var(--alta-accent); }
.no-3d .reveal-pod__progress { display: none; }
@media (max-width: 899px) { .no-3d .reveal-pod__grid { height: auto; } .no-3d .pod-slot--reveal { height: auto; width: 100%; } }

/* ---------- 3. How it works ---------- */
.how__grid { display: grid; gap: 40px; align-items: center; }
.pod-slot--how { width: min(100%, 440px); justify-self: center; }
@media (min-width: 900px) { .how__grid { grid-template-columns: 1fr 1fr; gap: 64px; } .pod-slot--how { width: 100%; max-width: 520px; } }
.steps { margin-top: 40px; display: grid; gap: 28px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 20px; align-items: start; }
.step__n { width: 48px; height: 48px; display: grid; place-items: center; border-radius: var(--alta-radius-md); font-size: 22px; font-weight: 800;
  background: var(--alta-accent-soft); color: var(--alta-accent-text); box-shadow: 0 var(--alta-lip-card) 0 var(--alta-accent-lip), inset 0 0 0 1.5px var(--alta-accent); }
.step h3 { font: 700 24px/30px var(--alta-font-rounded); }
.step p { margin-top: 4px; color: var(--alta-text-secondary); max-width: 26em; }

/* ---------- Feature chapters ---------- */
.feature__grid { display: grid; gap: 48px; align-items: center; }
.section-head { max-width: 760px; }
@media (min-width: 900px) {
  .feature__grid { grid-template-columns: 1fr 1fr; gap: 80px; }
  .feature--flip .feature__copy, .feature__grid--flip .feature__copy { order: 2; }
}
.device { justify-self: center; }

/* Phone frame: minimal, CSS-drawn, works in both themes. */
.phone { width: 320px; max-width: 86vw; aspect-ratio: 320 / 660; border-radius: 48px; padding: 10px; background: var(--alta-surface-raised);
  box-shadow: inset 0 0 0 1.5px var(--alta-border-strong), var(--alta-shadow-floating); }
.phone__screen { height: 100%; border-radius: 39px; background: var(--alta-background); padding: 22px 20px 20px; display: flex; flex-direction: column; overflow: hidden; position: relative;
  background-image: radial-gradient(80% 40% at 50% 0%, color-mix(in srgb, var(--alta-aura) calc(var(--alta-opacity-aura) * 100%), transparent), transparent); }
.app-top { display: flex; justify-content: space-between; align-items: center; color: var(--alta-text-secondary); }
.pods { display: flex; gap: 6px; }
.mini-pod { width: 18px; height: 17px; background: var(--alta-pod);
  -webkit-mask: url("../assets/favicon.svg") center / contain no-repeat; mask: url("../assets/favicon.svg") center / contain no-repeat; display: block; }
.mini-pod + .mini-pod { transform: rotate(180deg); }
.app-head { margin-top: 22px; display: flex; flex-direction: column; gap: 2px; }
.app-head .t-sub { color: var(--alta-text-secondary); }
.live-label { margin-top: 30px; display: flex; align-items: center; gap: 8px; font: 600 15px/20px var(--alta-font-rounded); color: var(--alta-live); }
.live-label b { color: var(--alta-text-primary); }
.hero-num { display: flex; align-items: baseline; gap: 8px; margin-top: 4px; }
.hero-num .num { font-size: 84px; line-height: 88px; font-weight: 800; letter-spacing: -2px; }
.hero-num .unit { font-size: 22px; }
.repbars { margin-top: auto; height: 112px; display: flex; align-items: flex-end; gap: 6px; padding-bottom: 16px; }
.phone .repbars { flex: 1 1 auto; height: auto; min-height: 0; margin-top: 18px; padding-top: 24px; gap: 8px; }
.repbars i { position: relative; }
.repbars i[data-v]::after { content: attr(data-v); position: absolute; left: 50%; bottom: calc(100% + 5px); transform: translateX(-50%);
  font: 700 12px/1 var(--alta-font-rounded); font-variant-numeric: tabular-nums; color: var(--alta-text-primary); white-space: nowrap; }
.repbars i { flex: 1 1 0; max-width: 26px; min-width: 8px; height: 4px; border-radius: 6px 6px 2px 2px; background: var(--alta-zone-track);
  transition: height var(--alta-motion-pop), background-color 200ms ease; }
.repbars i.is-live { background: var(--alta-surface-raised); box-shadow: inset 0 0 0 2px var(--alta-live); animation: bar-live 0.8s ease-in-out infinite alternate; }
@keyframes bar-live { from { opacity: 0.45; } to { opacity: 1; } }
.repbars i.z-held { background: var(--alta-zone-held); }
.repbars i.z-slowing { background: var(--alta-zone-slowing); }
.repbars i.z-past { background: var(--alta-zone-past); }
.app-btn { padding-bottom: 4px; }
.app-btn .btn { pointer-events: none; }

/* Speed drop panel */
.card--panel[data-demo="drop"] { width: 100%; max-width: 520px; justify-self: center; padding: 28px; }
.drop-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; min-height: 64px; }
.badge { flex: none; padding: 8px 12px; border-radius: var(--alta-radius-sm); font: 700 15px/1 var(--alta-font-rounded); background: var(--alta-zone-past); color: var(--alta-on-danger);
  animation: pop var(--alta-motion-pop) both; }
@keyframes pop { from { transform: scale(0.6); opacity: 0; } to { transform: none; opacity: 1; } }
.repbars--tall { height: 200px; margin-top: 16px; gap: 10px; }
.repbars--tall i { max-width: 44px; }
.meter { margin-top: 8px; }
.meter__track { position: relative; height: 16px; border-radius: 8px; background: var(--alta-zone-track); }
.meter__fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 8px; background: var(--alta-zone-held); transition: width var(--alta-motion-pop), background-color 200ms ease; }
.meter__tick { position: absolute; left: 80%; top: -4px; width: 2px; height: 24px; margin-left: -1px; background: var(--alta-text-primary); border-radius: 1px; }
.meter__labels { display: flex; justify-content: space-between; margin-top: 12px; font: 600 15px/20px var(--alta-font-text); }
.meter__drop { color: var(--alta-success); }
.meter__drop.z-slowing { color: var(--alta-warning); }
.meter__drop.z-past { color: var(--alta-danger); }

/* Between sets */
.between__grid { display: grid; gap: 20px; margin-top: 48px; }
@media (min-width: 900px) { .between__grid { grid-template-columns: 1fr 1.3fr; gap: 24px; } }
.rest { display: grid; justify-items: center; position: relative; padding-block: 32px 28px; }
.ring { width: 240px; height: 240px; transform: rotate(-90deg) scaleY(-1); }
.ring circle { fill: none; stroke-width: 7; }
.ring__track { stroke: var(--alta-zone-track); }
.ring__bar { stroke: var(--alta-accent); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 0; }
.ring__center { position: absolute; top: 32px; height: 240px; display: grid; place-content: center; text-align: center; }
.ring__center .eyebrow { margin: 0; }
.timer { font-size: 64px; line-height: 68px; font-weight: 800; letter-spacing: -1.5px; }
.rest.is-go .ring__bar { stroke: var(--alta-success); }
.rest__btns { display: flex; gap: 24px; margin-top: 20px; }
.rest__btns .btn { pointer-events: none; }
.plates { display: flex; flex-direction: column; gap: 20px; padding: 28px; }
.plates__head .t-sub { margin-top: 2px; }
.barbell { display: flex; align-items: center; justify-content: center; height: 160px; }
.barbell__bar { flex: 1 1 auto; max-width: 220px; height: 10px; background: var(--alta-border-strong); }
.barbell__sleeve { width: 28px; height: 14px; background: var(--alta-border-strong); border-radius: 3px; }
.plate { display: grid; place-items: center; width: 32px; border-radius: 6px; margin-inline: 2px; color: var(--alta-on-accent);
  font: 800 13px/1 var(--alta-font-rounded); writing-mode: vertical-rl; transform-origin: center; }
.plate b { transform: rotate(180deg); }
.plate--25 { height: 148px; background: var(--alta-accent); }
.plate--15 { height: 116px; background: var(--alta-surface-raised); color: var(--alta-text-primary); box-shadow: inset 0 0 0 1.5px var(--alta-border-strong); }
.js .plates .plate { transform: scaleY(0.2); opacity: 0; transition: transform var(--alta-motion-pop), opacity 200ms ease; }
.js .plates.is-in .plate { transform: none; opacity: 1; }
.js .plates.is-in .plate:nth-of-type(2), .js .plates.is-in .plate:nth-of-type(3) { transition-delay: 90ms; }
.plates__foot { text-align: center; }

/* Progress */
.progress__stack { display: grid; gap: 20px; }
.progress__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 520px) { .progress__row { grid-template-columns: 1fr; } }
.trend__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.pr-badge { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: var(--alta-radius-sm); background: color-mix(in srgb, var(--alta-gold) 16%, transparent); color: var(--alta-gold); font: 700 14px/1 var(--alta-font-rounded); }
.pr-badge svg { width: 16px; height: 16px; fill: currentColor; }
.trend { width: 100%; height: auto; margin-top: 16px; overflow: visible; }
.trend__grid { stroke: var(--alta-chart-grid); stroke-width: 1; }
.trend__stop-a { stop-color: var(--alta-accent); stop-opacity: 0.32; }
.trend__stop-b { stop-color: var(--alta-accent); stop-opacity: 0; }
.trend__area { fill: url(#trend-fill); }
.trend__line { fill: none; stroke: var(--alta-accent); stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 0; }
.trend__pt { fill: var(--alta-gold); stroke: var(--alta-surface); stroke-width: 2.5; }
.trend__halo { fill: var(--alta-gold); opacity: 0.22; }
.js [data-demo="trend"] .trend__line { stroke-dashoffset: 100; transition: stroke-dashoffset 1.2s var(--alta-motion-value-ease); }
.js [data-demo="trend"].is-in .trend__line { stroke-dashoffset: 0; }
.js [data-demo="trend"] .trend__area, .js [data-demo="trend"] .trend__pt, .js [data-demo="trend"] .trend__halo { opacity: 0; transition: opacity 420ms ease 1s; }
.js [data-demo="trend"].is-in .trend__area, .js [data-demo="trend"].is-in .trend__pt { opacity: 1; }
.js [data-demo="trend"].is-in .trend__halo { opacity: 0.22; }
@media (prefers-reduced-motion: reduce) { .js [data-demo="trend"] .trend__line { transition: none; } .js [data-demo="trend"] :is(.trend__area, .trend__pt, .trend__halo) { transition: opacity 150ms ease; } }
.weeks { display: flex; gap: 6px; margin-top: 12px; }
.weeks li { width: 14px; height: 14px; border-radius: 4px; background: var(--alta-zone-track); }
.weeks li.on { background: var(--alta-streak); }
.weeks li.now { box-shadow: 0 0 0 2px var(--alta-surface), 0 0 0 3.5px var(--alta-streak); }
.trend__axis { display: flex; justify-content: space-between; margin-top: 8px; }
.streak .metric, .week .hist { margin-top: 4px; }
.streak .t-sub { margin-top: 6px; }
.hist li { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--alta-separator); font-size: 15px; }
.hist li:first-child { border-top: 0; }

/* Watch */
.watch-wrap { justify-self: center; }
.watch { color: var(--alta-text-primary); position: relative; width: 230px; aspect-ratio: 230 / 276; border-radius: 64px; padding: 14px; background: var(--alta-surface-raised);
  box-shadow: inset 0 0 0 1.5px var(--alta-border-strong), var(--alta-shadow-floating); }
.watch__crown { position: absolute; right: -9px; top: 72px; width: 10px; height: 40px; border-radius: 4px; background: var(--alta-border-strong); }
.watch__screen { height: 100%; border-radius: 50px; background: var(--alta-background); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 18px; }
.watch__lift { font: 600 14px/18px var(--alta-font-rounded); color: var(--alta-text-secondary); }
.watch__label { margin: 8px 0 0; }
.watch__time { font-size: 60px; line-height: 64px; font-weight: 800; letter-spacing: -1.5px; }
.watch__next { font-size: 13px; line-height: 18px; }
.watch__btn { margin-top: 12px; width: 100%; padding: 10px 0; border-radius: 22px; background: var(--alta-accent); color: var(--alta-on-accent); font: 700 15px/1 var(--alta-font-rounded); }

/* Why bar speed */
.why__grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 900px) { .why__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.why__list { margin-top: 28px; display: grid; gap: 14px; }
.why__list li { padding-left: 22px; position: relative; color: var(--alta-text-secondary); }
.why__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 8px; height: 8px; border-radius: 2px; background: var(--alta-accent); }
.why__list b { color: var(--alta-text-primary); font-weight: 600; }
.lv svg { width: 100%; height: auto; overflow: visible; }
.lv__axis { stroke: var(--alta-border-strong); stroke-width: 1.5; }
.lv__lab { fill: var(--alta-text-tertiary); font: 500 13px var(--alta-font-text); }
.lv__fit { stroke: var(--alta-chart-line); stroke-width: 2; stroke-dasharray: 5 6; }
.lv__pts circle { fill: var(--alta-accent); }
.js .lv .lv__pts circle { opacity: 0; transform: scale(0.3); transform-box: fill-box; transform-origin: center; transition: opacity 260ms ease, transform var(--alta-motion-pop); }
.js .lv.is-in .lv__pts circle { opacity: 1; transform: none; }
.lv.is-in .lv__pts circle:nth-child(2) { transition-delay: 80ms; } .lv.is-in .lv__pts circle:nth-child(3) { transition-delay: 160ms; }
.lv.is-in .lv__pts circle:nth-child(4) { transition-delay: 240ms; } .lv.is-in .lv__pts circle:nth-child(5) { transition-delay: 320ms; } .lv.is-in .lv__pts circle:nth-child(6) { transition-delay: 400ms; }
.lv figcaption { margin-top: 12px; }

/* Specs */
.specs__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .specs__grid { grid-template-columns: 1fr 1fr; gap: 80px; } }
.dim { position: relative; aspect-ratio: 4 / 3; max-width: 520px; margin-inline: auto; }
.dim img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.dim__w, .dim__h { position: absolute; color: var(--alta-text-secondary); font-size: 14px; }
.dim__w { left: 27%; right: 27%; bottom: 3%; text-align: center; }
.dim__w i { display: block; height: 10px; border: 1.5px solid var(--alta-border-strong); border-top: 0; margin-bottom: 6px; }
.dim__h { top: 12%; bottom: 14%; right: 6%; display: flex; align-items: center; gap: 8px; }
.dim__h i { display: block; width: 10px; height: 100%; border: 1.5px solid var(--alta-border-strong); border-left: 0; }
.spec-list { margin-top: 32px; }
.spec-list > div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--alta-separator); }
.spec-list > div:last-child { border-bottom: 1px solid var(--alta-separator); }
.spec-list dt { color: var(--alta-text-tertiary); font-size: 15px; }
.spec-list dd { font-weight: 500; }
@media (max-width: 520px) { .spec-list > div { grid-template-columns: 1fr; gap: 2px; } }

/* FAQ: native details, keyboard-operable */
.faq__list { margin-top: 40px; }
.faq details { border-top: 1px solid var(--alta-separator); }
.faq details:last-child { border-bottom: 1px solid var(--alta-separator); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px; padding: 14px 0;
  font: 600 19px/26px var(--alta-font-rounded); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; border-right: 2px solid var(--alta-text-tertiary); border-bottom: 2px solid var(--alta-text-tertiary); transform: translateY(-3px) rotate(45deg); transition: transform var(--alta-motion-press); }
.faq details[open] summary::after { transform: translateY(3px) rotate(225deg); }
.faq details p { padding: 0 0 22px; max-width: 40em; color: var(--alta-text-secondary); }

/* ---------- Final CTA ---------- */
.join { position: relative; z-index: 1; padding-block: 64px 140px; overflow: clip; }
.join__inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
.pod-slot--join { width: min(78vw, 400px); margin-bottom: 8px; }
.join .lede { margin-inline: auto; }
.waitlist { width: 100%; max-width: 560px; margin-top: 36px; }
.waitlist__row { display: flex; gap: 12px; align-items: flex-start; }
.field { flex: 1; min-width: 0; height: 54px; padding: 0 18px; border-radius: var(--alta-radius-lg); background: var(--alta-surface); color: var(--alta-text-primary);
  border: 1.5px solid var(--alta-border-strong); font-size: 17px; transition: border-color 120ms ease; }
.field::placeholder { color: var(--alta-text-tertiary); }
.field:focus-visible { outline: 2px solid var(--alta-accent); outline-offset: 2px; border-color: var(--alta-accent); }
.field[aria-invalid="true"] { border-color: var(--alta-danger); }
.waitlist .btn { height: 50px; }
.waitlist__status { min-height: 24px; margin-top: 14px; font-size: 15px; line-height: 22px; color: var(--alta-text-secondary); }
.waitlist__status.is-error { color: var(--alta-danger); }
.waitlist__status.is-ok { color: var(--alta-success); }
.waitlist__status.is-info { color: var(--alta-text-secondary); }
@media (max-width: 560px) { .waitlist__row { flex-direction: column; align-items: stretch; } .field { flex: none; width: 100%; } .waitlist .btn { width: 100%; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--alta-separator); padding-block: 40px; background: var(--alta-background); }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.footer__links a { color: var(--alta-text-secondary); text-decoration: none; font-size: 15px; line-height: 44px; }
.footer__links a:hover { color: var(--alta-text-primary); }
.footer .t-sub { margin-left: auto; }
@media (max-width: 640px) { .footer .t-sub { margin-left: 0; } }
.footer__legal { display: flex; gap: 16px; }
.footer__legal a { color: var(--alta-text-tertiary); text-decoration: none; font-size: 13px; line-height: 44px; }
.footer__legal a:hover { color: var(--alta-text-primary); }
