/* ==========================================================================
   TECHNOVENT — Coming Soon
   Brand tokens follow the Technovent design system.
   ========================================================================== */

:root {
  /* Brand */
  --orange: #F05234;
  --orange-strong: #C93A1E;
  --orange-soft: #FF7A5C;
  --navy: #142B4A;
  --navy-deep: #0B1A2E;
  --navy-ink: #08121F;
  --ink: #111827;
  --white: #FFFFFF;
  --gray: #F3F5F7;
  --teal: #087F8C;
  --teal-bright: #2BB3C0;

  /* Roles on the dark hero */
  --text: var(--white);
  --text-muted: #B4BFCD;          /* 8.9:1 on navy */
  --text-faint: #8796A9;          /* 5.1:1 on navy-deep */
  --line: rgba(255, 255, 255, .12);
  --line-strong: rgba(255, 255, 255, .22);
  --focus: var(--orange-soft);

  /* Type */
  --font-display: "Viga", "Segoe UI", system-ui, sans-serif;
  --font-sans: "Mulish", "Hind Guntur", "Segoe UI", system-ui, sans-serif;

  /* Spacing (4px base) */
  --s-1: 4px;  --s-2: 8px;  --s-3: 12px; --s-4: 16px;
  --s-6: 24px; --s-8: 32px; --s-12: 48px; --s-16: 64px; --s-24: 96px;

  /* Radius */
  --r-sm: 4px; --r-md: 8px; --r-lg: 16px; --r-full: 9999px;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --container: 1240px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--navy-deep);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }
h1, h2, p { margin: 0; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}

.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s-4); top: -60px; z-index: 100;
  padding: var(--s-2) var(--s-4);
  background: var(--orange); color: var(--ink);
  font-weight: 700; border-radius: var(--r-md); text-decoration: none;
  transition: top .2s;
}
.skip-link:focus { top: var(--s-4); }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 48px);
}

/* ==========================================================================
   Ambient background
   ========================================================================== */
.ambient {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(120% 90% at 78% 40%, #1B3A62 0%, var(--navy) 32%, var(--navy-deep) 68%, var(--navy-ink) 100%);
}
.ambient__network { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.ambient__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(80% 70% at 70% 45%, #000 20%, transparent 75%);
          mask-image: radial-gradient(80% 70% at 70% 45%, #000 20%, transparent 75%);
}
.ambient__glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.ambient__glow--orange {
  width: 46vmax; height: 46vmax; right: -8vmax; top: 8vh;
  background: radial-gradient(circle, rgba(240,82,52,.22), transparent 65%);
  animation: drift 18s ease-in-out infinite alternate;
}
.ambient__glow--teal {
  width: 34vmax; height: 34vmax; left: -12vmax; bottom: -12vmax;
  background: radial-gradient(circle, rgba(8,127,140,.20), transparent 65%);
  animation: drift 22s ease-in-out infinite alternate-reverse;
}
@keyframes drift {
  to { transform: translate3d(-4vmax, 3vmax, 0) scale(1.08); }
}

/* ==========================================================================
   Top bar
   ========================================================================== */
.topbar { position: relative; z-index: 2; }
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-4);
  padding-block: clamp(20px, 3vw, 36px);
}
.topbar__logo { display: inline-block; }
.topbar__logo img { width: clamp(150px, 16vw, 220px); height: auto; }
.topbar__status {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 6px var(--s-3);
  border: 1px solid var(--line);
  border-radius: var(--r-full);
  font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(8, 18, 31, .35);
}
.status-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(240,82,52,.6);
  animation: ping 2s infinite;
}
@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(240,82,52,.55); }
  70% { box-shadow: 0 0 0 10px rgba(240,82,52,0); }
  100% { box-shadow: 0 0 0 0 rgba(240,82,52,0); }
}

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; z-index: 1; flex: 1; display: flex; align-items: center; overflow-x: clip; }
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(24px, 4vw, 64px);
  padding-block: clamp(8px, 2vw, 24px) clamp(48px, 6vw, 80px);
}
.hero__copy { position: relative; z-index: 2; }

/* Eyebrow */
.eyebrow {
  display: inline-flex; align-items: center; gap: var(--s-3);
  font-size: 12px; line-height: 16px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange-soft);
}
.eyebrow__pixels { display: inline-flex; align-items: flex-end; gap: 3px; }
.eyebrow__pixels i { display: block; background: var(--orange); border-radius: 2px; }
.eyebrow__pixels i:nth-child(1) { width: 10px; height: 10px; }
.eyebrow__pixels i:nth-child(2) { width: 7px; height: 7px; transform: translateY(-6px); opacity: .8; }
.eyebrow__pixels i:nth-child(3) { width: 5px; height: 5px; transform: translateY(-11px); opacity: .6; }

/* Headline */
.headline {
  margin-top: var(--s-4);
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(42px, 5.9vw, 92px);
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--white);
  text-wrap: balance;
}
.headline__line { display: block; white-space: nowrap; }
.headline em {
  font-style: normal;
  color: var(--orange);
  position: relative;
  white-space: nowrap;
}
.headline em::after {           /* signature underline sweep */
  content: "";
  position: absolute; left: .04em; right: .2em; bottom: .02em;
  height: .07em;
  background: linear-gradient(90deg, var(--orange), rgba(240,82,52,0));
  transform-origin: left;
  transform: scaleX(0);
  animation: sweep 1.2s var(--ease-out) 1.1s forwards;
}
@keyframes sweep { to { transform: scaleX(1); } }

.subhead {
  margin-top: var(--s-6);
  font-family: var(--font-display);
  font-size: clamp(18px, 1.8vw, 24px);
  line-height: 1.3;
  color: var(--white);
  display: flex; flex-wrap: wrap; column-gap: .55em; row-gap: 2px;
}
.subhead span:nth-child(2) { color: var(--teal-bright); }

.lead {
  margin-top: var(--s-4);
  max-width: 52ch;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.65;
  color: var(--text-muted);
}

/* ==========================================================================
   Countdown
   ========================================================================== */
.countdown {
  position: relative;
  margin-top: clamp(28px, 3.5vw, 44px);
  max-width: 600px;
  padding: clamp(16px, 2vw, 24px) clamp(16px, 2.2vw, 28px) 0;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: linear-gradient(180deg, rgba(20,43,74,.72), rgba(11,26,46,.6));
  overflow: hidden;
}
.countdown::before {            /* corner pixel accent */
  content: ""; position: absolute; top: 0; right: 0;
  width: 56px; height: 56px;
  background:
    linear-gradient(var(--orange), var(--orange)) 100% 0 / 14px 14px no-repeat,
    linear-gradient(rgba(240,82,52,.6), rgba(240,82,52,.6)) calc(100% - 20px) 20px / 8px 8px no-repeat,
    linear-gradient(rgba(240,82,52,.35), rgba(240,82,52,.35)) calc(100% - 34px) 34px / 5px 5px no-repeat;
}
.countdown__head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: var(--s-1) var(--s-4);
  padding-right: 40px;
}
.countdown__title {
  font-size: 12px; line-height: 16px; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--white);
}
.countdown__dash { color: var(--orange); }
.countdown__zone {
  font-size: 12px; font-weight: 600; letter-spacing: .06em;
  color: var(--text-faint);
}

.countdown__grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: start;
  margin-top: var(--s-4);
  padding-bottom: clamp(14px, 1.8vw, 20px);
}
.unit { display: flex; flex-direction: column; align-items: center; gap: var(--s-2); min-width: 0; }
.unit__value {
  display: inline-flex;
  font-family: var(--font-display);
  font-size: clamp(36px, 5.4vw, 68px);
  line-height: 1;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.unit--accent .unit__value { color: var(--orange); }
.unit__label {
  font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--text-muted);
}
.unit__sep {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  line-height: 1.15;
  color: rgba(240,82,52,.7);
  padding-inline: clamp(2px, .6vw, 8px);
  animation: blink 1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: .25; } }

/* Each digit sits in a fixed-width slot so values never jitter */
.digit {
  position: relative;
  display: inline-block;
  width: .64em;
  height: 1em;
  text-align: center;
  overflow: hidden;
}
.digit__old, .digit__new {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.digit__old { animation: digitOut .45s var(--ease-out) forwards; }
.digit__new { animation: digitIn .45s var(--ease-out) forwards; }
@keyframes digitOut { to { transform: translateY(-70%); opacity: 0; filter: blur(2px); } }
@keyframes digitIn  { from { transform: translateY(70%); opacity: 0; filter: blur(2px); } to { transform: none; opacity: 1; filter: none; } }

.countdown__progress {
  position: relative;
  height: 3px;
  margin-inline: calc(-1 * clamp(16px, 2.2vw, 28px));
  background: rgba(255,255,255,.06);
}
.countdown__progress span {
  position: absolute; inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, var(--teal), var(--orange));
  transition: width 1s linear;
}

/* Launched state */
.countdown__live { padding: var(--s-6) 0 var(--s-8); text-align: left; }
.countdown__live-kicker {
  font-size: 12px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--orange-soft);
}
.countdown__live-title {
  margin-top: var(--s-2);
  font-family: var(--font-display);
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.05;
  color: var(--white);
}
.countdown.is-live .countdown__grid,
.countdown.is-live .countdown__progress { display: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */
.cta-row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: var(--s-4) var(--s-6);
  margin-top: clamp(24px, 3vw, 36px);
}
.btn {
  --btn-bg: var(--orange);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s-3);
  min-height: 56px;
  padding: 0 var(--s-8);
  border: 0; border-radius: var(--r-md);
  font-size: 14px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  isolation: isolate;
  overflow: hidden;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background-color .2s;
}
.btn--primary {
  background: var(--orange);
  color: var(--ink);               /* 5.0:1 on orange */
  box-shadow: 0 10px 30px -10px rgba(240,82,52,.7);
}
.btn--primary::before {            /* light sweep on hover */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .7s var(--ease-out);
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(240,82,52,.85); }
.btn--primary:hover::before { transform: translateX(120%); }
.btn--primary:active { transform: translateY(0); background: var(--orange-soft); }
.btn__icon { width: 20px; height: 20px; transition: transform .3s var(--ease-out); }
.btn:hover .btn__icon { transform: translateX(4px); }
.btn--block { width: 100%; }
.btn--ghost {
  background: transparent; color: var(--ink);
  border: 1px solid #8A94A3;
  letter-spacing: .1em;
}
.btn--ghost:hover { background: var(--gray); }
.cta-note { font-size: 13px; color: var(--text-faint); }

/* ==========================================================================
   Signature visual — orbital globe
   ========================================================================== */
.hero__visual { position: relative; display: flex; justify-content: center; }
.orbit {
  position: relative;
  width: min(100%, 600px);
  aspect-ratio: 1;
  animation: float 9s ease-in-out infinite;
}
@keyframes float { 50% { transform: translateY(-12px); } }
.orbit__svg { width: 100%; height: 100%; overflow: visible; }

.orbit__grid circle, .orbit__grid line { fill: none; stroke: rgba(255,255,255,.07); stroke-width: 1; }
.orbit__dash {
  fill: none; stroke: rgba(255,255,255,.2); stroke-width: 1; stroke-dasharray: 2 8;
  transform-origin: 300px 300px;
  animation: spin 80s linear infinite;
}
.orbit__ring-text {
  transform-origin: 300px 300px;
  animation: spin 60s linear infinite reverse;
}
.orbit__ring-text text {
  font-family: var(--font-sans);
  font-size: 11.5px; font-weight: 700; letter-spacing: .32em;
  fill: rgba(255,255,255,.42);
}
.orbit__path { fill: none; stroke: rgba(255,255,255,.18); stroke-width: 1; }
.orbit__path--teal { stroke: rgba(43,179,192,.35); }
.node--orange { fill: var(--orange); filter: drop-shadow(0 0 8px rgba(240,82,52,.9)); }
.node--teal { fill: var(--teal-bright); filter: drop-shadow(0 0 6px rgba(43,179,192,.9)); }

.net line { stroke: rgba(255,255,255,.14); stroke-width: 1; stroke-dasharray: 3 5; animation: dash 6s linear infinite; }
.net circle { fill: var(--white); }
.net__pulse { fill: none !important; stroke: var(--teal-bright); stroke-width: 1.5; transform-box: fill-box; transform-origin: center; animation: pulse 3s ease-out infinite; }
.net__pulse--late { stroke: var(--orange); animation-delay: 1.5s; }
@keyframes dash { to { stroke-dashoffset: -64; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(5); opacity: 0; } }

.globe-lines ellipse, .globe-lines line { fill: none; stroke: rgba(20,43,74,.55); stroke-width: 2; }
.globe-rim { fill: none; stroke: rgba(255,255,255,.25); stroke-width: 1; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Pixel trail */
.pixels i {
  position: absolute;
  left: var(--x); top: var(--y);
  width: var(--s); height: var(--s);
  border-radius: var(--r-sm);
  background: var(--orange);
  animation: shed 3.6s var(--ease-out) var(--t) infinite;
}
.pixels i:nth-child(5) { background: var(--teal-bright); }
@keyframes shed {
  0%   { transform: translate(-30px, 30px) scale(.4); opacity: 0; }
  20%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translate(24px, -24px) scale(1); opacity: 0; }
}

.orbit__badge {
  position: absolute; left: 4%; bottom: 10%;
  display: grid; grid-template-columns: auto; justify-items: start;
  padding: var(--s-3) var(--s-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-md);
  background: rgba(8,18,31,.6);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.orbit__badge[hidden] { display: none; }
.orbit__badge-k { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--text-muted); }
.orbit__badge-v { font-family: var(--font-display); font-size: 40px; line-height: 1.05; color: var(--orange); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer { position: relative; z-index: 1; border-top: 1px solid var(--line); }
.footer__inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s-4);
  padding-block: var(--s-6);
  font-size: 13px; color: var(--text-faint);
}
.footer__social { display: flex; gap: var(--s-2); }
.footer__social a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: var(--r-md);
  color: var(--text-muted);
  transition: color .2s, border-color .2s, transform .2s;
}
.footer__social a:hover { color: var(--orange); border-color: rgba(240,82,52,.5); transform: translateY(-2px); }
.footer__social svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ==========================================================================
   Modal
   ========================================================================== */
.modal {
  position: fixed; inset: 0; z-index: 50;
  display: grid; place-items: center;
  padding: var(--s-4);
}
.modal[hidden] { display: none; }
.modal__backdrop {
  position: absolute; inset: 0;
  background: rgba(8,18,31,.72);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadeIn .3s ease forwards;
}
.modal__panel {
  position: relative;
  width: min(100%, 460px);
  max-height: calc(100dvh - 32px);
  overflow-y: auto;
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--r-lg);
  background: var(--white);
  color: var(--ink);
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.6);
  animation: panelIn .45s var(--ease-out) forwards;
}
.modal__panel::before {         /* orange top accent */
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange) 0 70%, var(--teal) 70%);
}
.modal.is-closing .modal__backdrop { animation: fadeOut .2s ease forwards; }
.modal.is-closing .modal__panel { animation: panelOut .2s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeOut { to { opacity: 0; } }
@keyframes panelIn { from { opacity: 0; transform: translateY(24px) scale(.97); } }
@keyframes panelOut { to { opacity: 0; transform: translateY(12px) scale(.98); } }

.modal__close {
  position: absolute; top: var(--s-3); right: var(--s-3);
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border: 0; border-radius: var(--r-md);
  background: transparent; color: #4B5563; cursor: pointer;
}
.modal__close:hover { background: var(--gray); color: var(--ink); }
.modal__close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.modal__close:focus-visible, .modal__panel :focus-visible { outline-color: var(--navy); }

.modal__kicker { font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-strong); }
.modal__title { margin-top: var(--s-2); font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.15; color: var(--ink); }
.modal__title:focus { outline: none; }
.modal__desc { margin-top: var(--s-3); font-size: 15px; line-height: 1.6; color: #4B5563; }

.form { margin-top: var(--s-6); display: grid; gap: var(--s-4); }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field__opt { font-weight: 400; color: #4B5563; }
.field input {
  width: 100%; min-height: 48px;
  padding: 0 var(--s-4);
  border: 1px solid #8A94A3; border-radius: var(--r-md);
  background: var(--white); color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder { color: #6B7280; }
.field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 3px rgba(20,43,74,.18); }
.field input[aria-invalid="true"] { border-color: #B42318; }
.field__error { font-size: 13px; color: #B42318; min-height: 0; }
.field__error:empty { display: none; }
.check { display: flex; gap: var(--s-3); align-items: flex-start; font-size: 13px; line-height: 1.5; color: #4B5563; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 0; accent-color: var(--orange-strong); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.btn__spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(17,24,39,.3); border-top-color: var(--ink);
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.btn.is-loading .btn__spinner { display: inline-block; }
.btn.is-loading { pointer-events: none; opacity: .85; }

.success-mark svg { width: 56px; height: 56px; }
.success-mark circle { fill: #FDE7E2; }
.success-mark path { fill: none; stroke: var(--orange-strong); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: draw .6s var(--ease-out) .15s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
[data-view="success"] .modal__title { margin-top: var(--s-4); }
[data-view="success"] .btn { margin-top: var(--s-6); }

/* ==========================================================================
   Entrance reveal
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(18px); }
.is-ready .reveal { animation: reveal .9s var(--ease-out) calc(var(--d, 0) * 110ms + 100ms) forwards; }
@keyframes reveal { to { opacity: 1; transform: none; } }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); }
  .hero__visual {
    position: absolute; z-index: 0;
    top: -40px; right: -22%;
    width: 70%;
    opacity: .45;
    pointer-events: none;
  }
  .orbit__badge { display: none; }
  .countdown { max-width: 640px; }
}

@media (max-width: 640px) {
  .topbar__status span:last-child { display: none; }
  .topbar__status { padding: 8px; }
  .hero__visual { top: -10px; right: -38%; width: 105%; opacity: .32; }
  .headline { margin-top: var(--s-4); }
  .countdown__head { padding-right: 32px; }
  .countdown::before { transform: scale(.75); transform-origin: top right; }
  .unit__label { font-size: 10px; letter-spacing: .12em; }
  .cta-row .btn { width: 100%; }
  .cta-note { width: 100%; text-align: center; }
  .footer__inner { flex-direction: column-reverse; text-align: center; }
}

@media (max-width: 360px) {
  .headline__line { white-space: normal; }
}

@media (max-width: 380px) {
  .unit__value { font-size: 32px; }
  .unit__sep { font-size: 24px; padding-inline: 1px; }
  .btn { padding-inline: var(--s-4); letter-spacing: .1em; }
}

@media (max-height: 760px) and (min-width: 1025px) {
  .headline { font-size: clamp(42px, 5.2vw, 76px); }
  .lead { margin-top: var(--s-3); }
  .countdown { margin-top: 24px; }
  .cta-row { margin-top: 24px; }
  .orbit { width: min(100%, 520px); }
}

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .pixels i { opacity: 1; transform: none; }
}
