/* FreqAF site: landing page sections */

/* ───── Hero ───── */
.hero { position: relative; padding: clamp(40px, 5vw, 72px) 0 clamp(36px, 5vw, 64px); }
.hero-copy {
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center; text-align: center;
}
.hero-copy .h-display { margin-top: 22px; }
.hero-copy .lede { margin-top: 24px; max-width: 68ch; }
.hero-cta { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.hero-cta .btn { min-height: 56px; padding: 0 24px; border-radius: 14px; }
.hero-meta {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 26px;
  font-size: 0.875rem; color: var(--text-muted);
}
.hero-meta li { display: inline-flex; align-items: center; }
.br-lg { display: none; }
@media (min-width: 900px) { .br-lg { display: inline; } }

/* The signature scan illustration */
.hero-stage { position: relative; margin: clamp(36px, 4.4vw, 60px) 0 0; }
.hero-stage::before {
  content: ''; position: absolute; inset: -8% -4% -14%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(46% 56% at 22% 42%, rgba(44, 198, 255, 0.24), transparent 70%),
    radial-gradient(44% 56% at 60% 58%, rgba(139, 124, 255, 0.22), transparent 70%),
    radial-gradient(38% 50% at 90% 44%, rgba(255, 92, 170, 0.15), transparent 70%);
  filter: blur(48px);
}
.scope {
  position: relative; z-index: 1;
  border-radius: var(--r-xl);
  background: linear-gradient(180deg, #0D121D 0%, #090C14 100%);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-lift);
}
.scope::after {
  content: ''; position: absolute; left: 7%; right: 7%; top: -1px; height: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent, var(--accent) 18%, var(--violet) 55%, var(--magenta) 82%, transparent);
}
/* The header never wraps: its texts change while the demo plays, and a wrap would shift the page. */
.scope-head {
  display: flex; align-items: center; justify-content: space-between; gap: 10px 20px;
  min-height: 56px; padding: 9px 12px 9px 20px;
  border-bottom: 1px solid var(--border);
}
.scope-title { display: flex; align-items: center; gap: 14px; min-width: 0; overflow: hidden; white-space: nowrap; font-size: 0.75rem; color: var(--text-muted); }
.scope-led {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: var(--clear); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.18);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.scope-led[data-state='busy'] { background: var(--accent); box-shadow: 0 0 0 3px rgba(44, 198, 255, 0.2); animation: led 1.1s ease-in-out infinite; }
@keyframes led { 50% { opacity: 0.35; } }
.scope-label { color: var(--text); font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; min-width: 11ch; }
.scope-res { padding-left: 14px; border-left: 1px solid var(--border-strong); }
.scope-tools { display: flex; flex: none; align-items: center; justify-content: flex-end; gap: 14px; min-height: 38px; }
.scope-sum { min-width: 25ch; text-align: right; white-space: nowrap; font-size: 0.75rem; color: var(--text-muted); transition: color 0.3s ease; }
.scope-sum[data-state='clear'] { color: var(--clear); }
.scope-sum[data-state='conflict'] { color: var(--conflict); }

.scope-plot {
  position: relative; height: clamp(230px, 31vw, 392px); overflow: hidden;
  background:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px) 0 0 / 100% 25%,
    linear-gradient(180deg, rgba(8, 11, 18, 0), rgba(8, 11, 18, 0.5));
}
.scope-plot canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scope-marks { position: absolute; inset: 0 0 24px; pointer-events: none; }
/* Without JavaScript the canvas stays empty, so <noscript> supplies a still picture. */
.scope-plot noscript img { position: absolute; left: 0; top: 0; width: 100%; height: calc(100% - 24px); }

.mk {
  --c: var(--clear); --c-soft: rgba(52, 211, 153, 0.2);
  position: absolute; top: 0; bottom: 0; width: 0;
  transition: left 0.9s cubic-bezier(0.34, 1.36, 0.5, 1), opacity 0.35s ease, transform 0.35s var(--ease-out);
}
.mk[data-state='caution'] { --c: var(--caution); --c-soft: rgba(251, 191, 36, 0.2); }
.mk[data-state='conflict'] { --c: var(--conflict); --c-soft: rgba(251, 90, 107, 0.22); }
.mk[data-state='idle'] { --c: var(--excluded); --c-soft: rgba(148, 163, 184, 0.18); }
.mk.is-off { opacity: 0; transform: translateY(-10px); }
.mk-line {
  position: absolute; left: -0.75px; top: 30px; bottom: 0; width: 1.5px;
  background: linear-gradient(180deg, var(--c) 0%, var(--c) 45%, transparent 100%);
  transition: background 0.3s ease;
}
.mk-flag {
  position: absolute; left: 0; top: 10px; transform: translateX(-50%);
  min-width: 22px; height: 22px; padding: 0 5px; border-radius: 7px;
  background: var(--c); color: #07090F;
  font-size: 0.6875rem; font-weight: 600; line-height: 22px; text-align: center;
  box-shadow: 0 0 0 3px var(--c-soft), 0 8px 16px -6px var(--c);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
.mk-ring {
  position: absolute; left: -6px; top: 15px; width: 12px; height: 12px; border-radius: 50%;
  border: 1.5px solid var(--c); opacity: 0;
}
.mk.pulse .mk-ring { animation: ring 0.9s var(--ease-out); }
@keyframes ring { from { opacity: 0.9; transform: scale(1); } to { opacity: 0; transform: scale(5); } }

.scope-strip {
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1px;
  background: var(--border); border-top: 1px solid var(--border);
  border-radius: 0 0 calc(var(--r-xl) - 1px) calc(var(--r-xl) - 1px); overflow: hidden;
}
.tx {
  --c: var(--clear);
  display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 11px; align-items: start;
  padding: 15px 16px 14px; background: #0A0E16;
}
.tx[data-state='caution'] { --c: var(--caution); }
.tx[data-state='conflict'] { --c: var(--conflict); }
.tx[data-state='idle'] { --c: var(--excluded); }
.tx-n {
  width: 22px; height: 22px; border-radius: 7px; margin-top: 1px;
  display: grid; place-items: center;
  font-size: 0.6875rem; font-weight: 600; color: #07090F; background: var(--c);
  transition: background 0.3s ease;
}
.tx-body { display: grid; min-width: 0; }
.tx-name { font-size: 0.8125rem; font-weight: 600; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tx-f { font-size: 0.6875rem; color: var(--text-muted); white-space: nowrap; }
.tx-f b { font-size: 0.9375rem; font-weight: 600; color: var(--text); letter-spacing: -0.01em; }
.tx-st {
  grid-column: 1 / -1; margin-top: 6px;
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.75rem; font-weight: 500; color: var(--c);
  transition: color 0.3s ease;
}
.tx-st::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.scope-cap {
  position: relative; z-index: 1;
  margin: 18px auto 0; max-width: 72ch; text-align: center;
  font-size: 0.8125rem; color: var(--text-muted);
}
@media (max-width: 960px) {
  .scope-res { display: none; }
  .scope-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .scope-head { flex-direction: column; align-items: stretch; gap: 4px; padding: 12px 12px 10px 16px; }
  .scope-title { min-height: 20px; }
  .scope-tools { justify-content: space-between; }
  .scope-sum { min-width: 0; text-align: left; }
}
@media (max-width: 600px) {
  .scope-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tx { padding: 12px 12px 11px; }
  .mk-flag { min-width: 18px; height: 18px; line-height: 18px; border-radius: 6px; font-size: 0.625rem; padding: 0 4px; }
  .mk-line { top: 26px; }
}

/* ───── Key facts ───── */
.facts { padding: clamp(20px, 3vw, 36px) 0 0; }
.facts-grid {
  margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--border); border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(14, 19, 30, 0.7), rgba(10, 14, 23, 0.5));
}
.fact { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 6px; padding: 26px 28px; border-left: 1px solid var(--border); }
.fact:first-child { border-left: 0; }
.fact dt { font-size: 0.875rem; color: var(--text-muted); }
.fact dd { margin: 0; font-size: clamp(1.5rem, 1.6vw + 1rem, 2.125rem); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; white-space: nowrap; }
.fact dd small { font-size: 0.5em; font-weight: 500; letter-spacing: 0; color: var(--text-muted); }
@media (max-width: 860px) {
  .facts-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact { padding: 20px 20px; }
  .fact:nth-child(odd) { border-left: 0; }
  .fact:nth-child(n + 3) { border-top: 1px solid var(--border); }
}

/* ───── How it works ───── */
.steps { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.step { padding: 14px 14px 28px; display: flex; flex-direction: column; }
.step-art {
  height: 128px; margin-bottom: 24px; padding: 16px;
  display: grid; place-items: center;
  border-radius: 12px; border: 1px solid var(--border);
  background: radial-gradient(120% 120% at 50% 0%, rgba(44, 198, 255, 0.07), transparent 60%), rgba(7, 9, 15, 0.6);
}
.step-art svg { width: 100%; max-width: 250px; height: auto; }
.step-n, .step h3, .step p { margin-left: 14px; margin-right: 14px; }
.step-n { font-size: 0.75rem; letter-spacing: 0.12em; color: var(--accent); }
.step h3 { margin-top: 10px; }
.step p { margin-top: 10px; font-size: 0.9375rem; color: var(--text-muted); text-wrap: pretty; }
@media (max-width: 860px) {
  .steps { grid-template-columns: 1fr; }
}

/* ───── Feature rows ───── */
.features { padding-top: clamp(24px, 4vw, 56px); padding-bottom: clamp(32px, 4vw, 56px); }
.feature {
  margin-top: clamp(72px, 10vw, 144px);
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  gap: clamp(32px, 6vw, 96px);
}
.sec-head + .feature { margin-top: clamp(56px, 7vw, 96px); }
.feature-copy { max-width: 540px; }
.feature.flip .feature-copy { order: 2; }
.h-feature {
  font-size: clamp(1.625rem, 1.8vw + 1rem, 2.375rem);
  font-weight: 620; letter-spacing: -0.03em; line-height: 1.1; text-wrap: balance;
}
.feature-copy .h-feature { margin-top: 16px; }
.feature-text { margin-top: 18px; font-size: 1.0625rem; line-height: 1.65; color: var(--text-muted); text-wrap: pretty; }
.word { white-space: nowrap; font-weight: 500; }
.word::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: currentColor; vertical-align: 0.08em; }
.word-clear { color: var(--clear); }
.word-caution { color: var(--caution); }
.word-conflict { color: var(--conflict); }
.ticks { margin-top: 26px; display: grid; gap: 12px; }
.ticks li { display: flex; align-items: flex-start; gap: 12px; font-size: 0.96875rem; color: var(--text); }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 2px; padding: 4px; border-radius: 50%; color: var(--accent); background: var(--accent-soft); }
.legend { margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--border); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 20px; }
.legend div { display: flex; align-items: center; gap: 10px; min-width: 0; }
.legend dt {
  flex: none; padding: 3px 7px; border-radius: 6px;
  font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--text); background: var(--bg-surface-3); border: 1px solid var(--border-strong);
}
.legend dd { margin: 0; font-size: 0.8125rem; color: var(--text-muted); }

.device { position: relative; margin: 0; display: flex; flex-direction: column; align-items: center; }
.device::before {
  content: ''; position: absolute; left: 50%; top: 46%; z-index: 0; pointer-events: none;
  width: min(560px, 130%); aspect-ratio: 1; transform: translate(-50%, -50%);
  background:
    radial-gradient(closest-side, rgba(44, 198, 255, 0.16), transparent 72%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 58px, rgba(148, 163, 184, 0.07) 58px 59px);
  -webkit-mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 30%, transparent 100%);
}
.feature.flip .device::before { background: radial-gradient(closest-side, rgba(139, 124, 255, 0.17), transparent 72%), repeating-radial-gradient(circle at 50% 50%, transparent 0 58px, rgba(148, 163, 184, 0.07) 58px 59px); }
.device > * { position: relative; z-index: 1; }
.device-cap { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 0.75rem; letter-spacing: 0.03em; color: var(--text-muted); }
.device-cap [data-screen-note] {
  padding: 2px 8px; border-radius: 999px; border: 1px solid var(--border-strong);
  font-size: 0.625rem; letter-spacing: 0.12em; text-transform: uppercase;
}
.device.has-shot [data-screen-note] { display: none; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; gap: 44px; }
  .feature-copy { max-width: 620px; }
  .feature.flip .feature-copy { order: 0; }
}
@media (max-width: 420px) {
  .legend { grid-template-columns: 1fr; }
}

/* ───── Bento ───── */
.bento { margin-top: clamp(36px, 5vw, 60px); display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 20px; }
.tile { grid-column: span 2; padding: 14px 14px 28px; display: flex; flex-direction: column; transition: border-color 0.25s ease; }
.tile:hover { border-color: var(--border-strong); }
.tile-wide { grid-column: span 4; }
.tile-full { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: center; gap: 28px; padding: 14px; }
.tile-art {
  height: 148px; margin-bottom: 22px; padding: 18px;
  display: grid; place-items: center; overflow: hidden;
  border-radius: 12px; border: 1px solid var(--border); background: rgba(7, 9, 15, 0.6);
}
.tile > h3, .tile > p { margin-left: 14px; margin-right: 14px; }
.tile > p, .tile-body p { margin-top: 8px; font-size: 0.9375rem; color: var(--text-muted); text-wrap: pretty; }
.tile-full .tile-body { padding: 18px 14px 18px 18px; }
.tile-full .tile-art { margin: 0; height: 100%; min-height: 148px; }
.inline-link { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-line); text-underline-offset: 3px; }
.inline-link:hover { text-decoration-color: currentColor; }

/* exclusion bands */
.band { position: relative; width: 100%; height: 64px; border-radius: 8px; border: 1px solid var(--border); background: rgba(148, 163, 184, 0.03); }
.band-seg {
  position: absolute; top: -1px; bottom: -1px; left: var(--l); width: var(--w);
  display: grid; place-items: center;
  border-left: 1px dashed rgba(148, 163, 184, 0.4); border-right: 1px dashed rgba(148, 163, 184, 0.4);
  background: repeating-linear-gradient(45deg, rgba(148, 163, 184, 0.2) 0 1.5px, transparent 1.5px 7px), rgba(148, 163, 184, 0.05);
}
.band-seg b { padding: 2px 7px; border-radius: 5px; font-size: 0.625rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--excluded); background: #0A0E16; }
.band-seg.is-own { border-color: rgba(139, 124, 255, 0.55); background: repeating-linear-gradient(45deg, rgba(139, 124, 255, 0.3) 0 1.5px, transparent 1.5px 7px), rgba(139, 124, 255, 0.07); }
.band-seg.is-own b { color: #B3A9FF; }
.band-mk { position: absolute; left: var(--l); top: -9px; bottom: -9px; width: 2px; margin-left: -1px; border-radius: 2px; background: var(--clear); }
.band-mk::before { content: ''; position: absolute; left: -3px; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: var(--clear); box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.2); }

/* custom transmitter form */
.form { width: 100%; max-width: 280px; display: grid; gap: 6px; font-size: 0.75rem; }
.form div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 7px 11px; border-radius: 8px; background: var(--bg-surface-2); border: 1px solid var(--border); }
.form span { color: var(--text-muted); }
.form b { font-weight: 500; color: var(--text); white-space: nowrap; }

/* venue list */
.venues { width: 100%; max-width: 280px; display: grid; gap: 6px; font-size: 0.8125rem; }
.venues li { display: flex; align-items: center; gap: 9px; padding: 7px 11px; border-radius: 8px; background: var(--bg-surface-2); border: 1px solid var(--border); }
.venues svg { width: 15px; height: 15px; flex: none; color: var(--accent); }
.venues span { font-weight: 600; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.venues b { font-size: 0.6875rem; font-weight: 400; color: var(--text-muted); white-space: nowrap; }

/* files */
.files { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; font-size: 0.75rem; }
.file { padding: 9px 12px; border-radius: 9px; background: var(--bg-surface-2); border: 1px solid var(--border-strong); color: var(--text); white-space: nowrap; }
.file b { font-weight: 500; color: var(--accent); }
.file.is-open { color: #B3A9FF; border-color: rgba(139, 124, 255, 0.4); background: rgba(139, 124, 255, 0.1); }

/* demo mode */
.demo { position: relative; width: 100%; max-width: 280px; display: grid; gap: 10px; }
.demo-row { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; color: var(--text); }
.switch { position: relative; width: 34px; height: 20px; border-radius: 999px; background: var(--violet); }
.switch::after { content: ''; position: absolute; right: 3px; top: 3px; width: 14px; height: 14px; border-radius: 50%; background: #fff; }
.demo svg { width: 100%; height: 48px; }
.demo-tag { font-size: 0.625rem; letter-spacing: 0.1em; text-transform: uppercase; color: #B3A9FF; }

/* offline checklist */
.nolist { display: grid; gap: 12px; font-size: 0.8125rem; color: var(--text); justify-self: start; padding-left: 10px; }
.nolist li { display: flex; align-items: center; gap: 12px; }
.nolist svg { width: 20px; height: 20px; padding: 4px; border-radius: 50%; color: var(--clear); background: rgba(52, 211, 153, 0.14); }

@media (max-width: 960px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tile, .tile-wide { grid-column: span 1; }
  .tile-wide:first-child { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .bento { grid-template-columns: 1fr; }
  .tile, .tile-wide, .tile-wide:first-child { grid-column: auto; }
  .tile-full { grid-template-columns: 1fr; gap: 0; padding: 14px 14px 20px; }
  .tile-full .tile-body { padding: 0 14px 22px; order: 2; }
  .tile-full .tile-art { order: 1; margin-bottom: 22px; }
}

/* ───── Hardware ───── */
.hw { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); align-items: start; gap: clamp(36px, 6vw, 88px); }
.hw-copy .h-section { margin-top: 18px; }
.hw-copy .lede { margin-top: 20px; }
.needs { margin-top: 38px; display: grid; gap: 24px; }
.needs li { display: flex; gap: 16px; align-items: flex-start; }
.needs-ic { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 12px; color: var(--accent); background: var(--accent-soft); border: 1px solid var(--accent-line); }
.needs-ic svg { width: 22px; height: 22px; }
.needs h3 { font-size: 1rem; letter-spacing: -0.012em; line-height: 1.35; }
.needs p { margin-top: 3px; font-size: 0.9375rem; color: var(--text-muted); }
.hw-side { display: grid; gap: 20px; }
.hw-card { padding: 6px 24px 8px; }
.hw-table { width: 100%; border-collapse: collapse; }
.hw-table caption {
  padding: 18px 0 8px; text-align: left;
  font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted);
}
.hw-table th { padding: 16px 16px 16px 0; text-align: left; font-size: 1rem; font-weight: 600; letter-spacing: -0.012em; }
.hw-table th small { display: block; margin-top: 5px; font-size: 0.75rem; font-weight: 400; letter-spacing: 0; color: var(--text-muted); }
.hw-table td { padding: 16px 0; text-align: right; vertical-align: top; white-space: nowrap; }
.hw-table tr + tr th, .hw-table tr + tr td { border-top: 1px solid var(--border); }
.hw-brands { padding: 24px; }
.hw-brands p { margin-top: 8px; font-size: 0.9375rem; color: var(--text-muted); }
.brands { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.brands li { padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border-strong); background: rgba(148, 163, 184, 0.04); font-size: 0.75rem; color: var(--text); }
@media (max-width: 900px) {
  .hw { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .hw-card { padding: 4px 18px 6px; }
  .hw-brands { padding: 20px 18px; }
}

/* ───── Coming next ───── */
.next { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); overflow: hidden; min-height: 280px; }
.next-map {
  position: relative; min-height: 180px;
  background:
    radial-gradient(80% 90% at 40% 50%, rgba(139, 124, 255, 0.16), transparent 70%),
    radial-gradient(rgba(148, 163, 184, 0.22) 1px, transparent 1.5px) 0 0 / 18px 18px;
  -webkit-mask-image: linear-gradient(90deg, #000 60%, transparent);
  mask-image: linear-gradient(90deg, #000 60%, transparent);
}
.next-map span {
  position: absolute; left: var(--x); top: var(--y); width: 8px; height: 8px; margin: -4px;
  border-radius: 50%; background: var(--violet); opacity: 0.55;
  box-shadow: 0 0 0 5px rgba(139, 124, 255, 0.14);
}
.next-map span.hot { opacity: 1; background: var(--magenta); box-shadow: 0 0 0 5px rgba(255, 92, 170, 0.18), 0 0 0 12px rgba(255, 92, 170, 0.07); }
.next-copy { padding: clamp(28px, 4vw, 52px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 16px; }
.next-copy p { color: var(--text-muted); max-width: 46ch; }
@media (max-width: 760px) {
  .next { grid-template-columns: 1fr; }
  .next-map { -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
}

/* ───── Final call to action ───── */
.cta { position: relative; overflow: hidden; }
.cta::before {
  content: ''; position: absolute; left: 50%; bottom: -40%; width: min(1100px, 130%); aspect-ratio: 2 / 1; transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(44, 198, 255, 0.16), rgba(139, 124, 255, 0.08) 55%, transparent 75%);
}
.cta .wrap { position: relative; }
.cta-mark { width: 88px; height: 88px; margin: 0 auto 30px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06), 0 28px 64px -18px rgba(44, 198, 255, 0.65); }
.cta-title { font-size: clamp(2.25rem, 4.4vw + 0.6rem, 4rem); }
.cta .lede { margin-top: 20px; }
.cta-row { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.cta-row .btn { min-height: 56px; padding: 0 24px; border-radius: 14px; }

/* ───── Support page pieces ───── */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin: 0 0 8px; }
.split .card { padding: 22px 24px; }
.split h3 { margin: 0 0 6px; font-size: 1rem; color: var(--text); }
.split p { margin: 0; font-size: 0.9375rem; }
@media (max-width: 640px) { .split { grid-template-columns: 1fr; } }

.howto { counter-reset: step; display: grid; gap: 0; margin: 0 0 18px; }
.howto > li { counter-increment: step; position: relative; padding: 0 0 26px 56px; }
.howto > li::before {
  content: counter(step, decimal-leading-zero); position: absolute; left: 0; top: 0;
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 600; color: var(--accent);
  background: var(--accent-soft); border: 1px solid var(--accent-line);
}
.howto > li::after { content: ''; position: absolute; left: 17.5px; top: 44px; bottom: 6px; width: 1px; background: var(--border-strong); }
.howto > li:last-child { padding-bottom: 0; }
.howto > li:last-child::after { display: none; }
.howto h3 { margin: 6px 0 6px; }
.howto p { margin: 0; }

.faq { display: grid; gap: 10px; margin: 0 0 18px; }
.faq details { border: 1px solid var(--border); border-radius: var(--r-md); background: linear-gradient(180deg, var(--bg-surface), #0A0E17); transition: border-color 0.2s ease; }
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 20px; cursor: pointer; list-style: none;
  font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; color: var(--text);
  border-radius: var(--r-md);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 9px; height: 9px; flex: none; margin-right: 4px;
  border-right: 1.8px solid var(--text-muted); border-bottom: 1.8px solid var(--text-muted);
  transform: translateY(-2px) rotate(45deg); transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(2px) rotate(-135deg); }
.faq .faq-a { padding: 0 20px 18px; }
.faq .faq-a p:last-child { margin-bottom: 0; }

.contact-card { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; padding: 24px; margin: 0 0 18px; }
.contact-card h3 { margin: 0 0 4px; font-size: 1.0625rem; color: var(--text); }
.contact-card p { margin: 0; font-size: 0.9375rem; }
.prose .btn { text-decoration: none; color: var(--text); }
.prose .btn-primary { color: #04121C; }

/* ───── 404 ───── */
.lost { min-height: 62vh; display: grid; place-items: center; text-align: center; padding: 72px 0; }
.lost-code { font-size: clamp(4.5rem, 16vw, 9rem); font-weight: 600; letter-spacing: -0.04em; line-height: 1; }
.lost h1 { margin-top: 14px; font-size: clamp(1.5rem, 2.4vw + 0.8rem, 2.25rem); letter-spacing: -0.03em; }
.lost p { margin: 14px auto 0; max-width: 46ch; color: var(--text-muted); }
.lost-row { margin-top: 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
