/* ==========================================================================
   LŪCIS — kubs, kas vēl nav laists klajā
   Statiska lapa, ko apkalpo nginx. Bez ārējām atkarībām.
   ========================================================================== */

/* --------------------------------------------------------------- Mainīgie */
:root {
  --bg:            #05090b;
  --bg-soft:       #080f12;
  --bg-alt:        #060c0f;
  --panel:         rgba(255, 255, 255, .035);
  --line:          rgba(160, 220, 200, .12);
  --line-strong:   rgba(160, 220, 200, .26);

  --text:          #e7f2ee;
  --text-dim:      #9db0ab;
  --text-faint:    #66807a;

  --accent:        #79f2c0;
  --accent-deep:   #2ad39a;
  --accent-cold:   #7fb6ff;
  --ember:         #f2b46b;

  --shadow-lg:     0 30px 80px rgba(0, 0, 0, .55);

  --wrap:          1160px;
  --radius:        16px;
  --radius-sm:     10px;

  --font: "Inter", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter Tight", "Segoe UI Semibold", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(.22, .68, 0, 1);
}

/* ------------------------------------------------------------------- Bāze */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  letter-spacing: .01em;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.is-locked { overflow: hidden; }

img, canvas { display: block; max-width: 100%; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin: 0 0 .5em;
}

h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.18rem; letter-spacing: -.01em; }
p  { margin: 0 0 1rem; }

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .25s var(--ease), opacity .25s var(--ease);
}
a:hover { color: #b8ffe0; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: min(100% - 2.5rem, var(--wrap));
  margin-inline: auto;
}
.wrap--narrow { width: min(100% - 2.5rem, 780px); }
.center { text-align: center; }

.visually-hidden {
  position: absolute; 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; top: -100px; left: 1rem; z-index: 200;
  background: var(--accent); color: #04120d;
  padding: .7rem 1.1rem; border-radius: 0 0 8px 8px; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* -------------------------------------------------------------- Ielādēšana */
.preloader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background:
    radial-gradient(900px 600px at 50% 40%, #0b1a17 0%, transparent 70%),
    var(--bg);
  transition: opacity .7s var(--ease), visibility .7s var(--ease);
}
.preloader.is-done { opacity: 0; visibility: hidden; }

.preloader__inner { text-align: center; width: min(80vw, 280px); }

.preloader__mark {
  position: relative;
  width: 56px; height: 56px;
  margin: 0 auto 1.6rem;
  transform-style: preserve-3d;
  animation: mark-spin 3.2s linear infinite;
}
.preloader__mark span {
  position: absolute; inset: 0;
  border: 1px solid var(--accent);
  opacity: .75;
  box-shadow: 0 0 22px rgba(121, 242, 192, .35) inset;
}
.preloader__mark span:nth-child(1) { transform: rotateY(0deg)  translateZ(28px); }
.preloader__mark span:nth-child(2) { transform: rotateY(90deg) translateZ(28px); }
.preloader__mark span:nth-child(3) { transform: rotateX(90deg) translateZ(28px); }

@keyframes mark-spin {
  from { transform: rotateX(-24deg) rotateY(0deg); }
  to   { transform: rotateX(-24deg) rotateY(360deg); }
}

.preloader__word {
  margin: 0 0 1rem;
  font-size: .74rem; letter-spacing: .5em; text-indent: .5em;
  color: var(--text-faint);
}
.preloader__bar {
  height: 2px; width: 100%;
  background: rgba(255, 255, 255, .08);
  overflow: hidden; border-radius: 2px;
}
.preloader__bar i {
  display: block; height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--accent-deep), var(--accent));
  transition: width .25s linear;
}
.preloader__pct {
  margin: .8rem 0 0;
  font-size: .72rem; letter-spacing: .2em; color: var(--text-faint);
  font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------------------- Galvene */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  padding: 1.1rem 0;
  transition: background .35s var(--ease), padding .35s var(--ease),
              border-color .35s var(--ease), backdrop-filter .35s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.is-stuck {
  padding: .6rem 0;
  background: rgba(5, 9, 11, .78);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line);
}
.site-header__row {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}

.brand {
  display: inline-flex; align-items: center; gap: .65rem;
  color: var(--text); font-family: var(--font-display);
  font-weight: 600; letter-spacing: .22em; font-size: .92rem;
}
.brand:hover { color: var(--text); }
.brand__glyph {
  width: 16px; height: 16px;
  border: 1.5px solid var(--accent);
  transform: rotate(45deg);
  box-shadow: 0 0 14px rgba(121, 242, 192, .45);
}

.nav { display: flex; align-items: center; gap: 1.9rem; }
.nav a {
  color: var(--text-dim); font-size: .9rem; letter-spacing: .04em;
}
.nav a:hover { color: var(--text); }
.nav .btn { color: #04120d; }

.nav-toggle {
  display: none;
  width: 42px; height: 38px;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  cursor: pointer; padding: 9px 10px;
}
.nav-toggle span {
  display: block; height: 1.5px; background: var(--text);
  margin: 3px 0; transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-4.5px) rotate(-45deg); }

/* ------------------------------------------------------------------ Pogas */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: .5rem;
  padding: .85rem 1.6rem;
  border: 1px solid transparent; border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #04120d;
  font: inherit; font-weight: 650; font-size: .93rem; letter-spacing: .02em;
  cursor: pointer; white-space: nowrap;
  box-shadow: 0 10px 30px rgba(42, 211, 154, .18);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), filter .25s var(--ease);
}
.btn:hover {
  color: #04120d;
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 16px 40px rgba(42, 211, 154, .28);
}
.btn:active { transform: translateY(0); }
.btn--small { padding: .55rem 1.1rem; font-size: .85rem; }
.btn--ghost {
  background: transparent; color: var(--text);
  border-color: var(--line-strong); box-shadow: none;
}
.btn--ghost:hover { color: var(--text); border-color: var(--accent); box-shadow: none; }

/* ------------------------------------------------------------ Sākumekrāns */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
  background:
    radial-gradient(120% 80% at 50% 8%,  #0d1f1c 0%, transparent 60%),
    radial-gradient(90%  60% at 50% 55%, #0a1a20 0%, transparent 70%),
    linear-gradient(#040809 0%, #050b0d 55%, #020405 100%);
}

.hero__canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}
.hero__canvas--back  { z-index: 1; }
.hero__canvas--front { z-index: 3; }

.hero__vignette {
  position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background:
    radial-gradient(75% 60% at 50% 45%, transparent 40%, rgba(2, 5, 6, .82) 100%),
    linear-gradient(transparent 55%, rgba(2, 5, 6, .9) 100%);
}

.hero__content { position: relative; z-index: 5; max-width: 660px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem;
  margin: 0 0 1.2rem;
  font-size: .74rem; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent);
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(121, 242, 192, .6);
  animation: pulse 2.4s ease-out infinite;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(121, 242, 192, .5); }
  70%  { box-shadow: 0 0 0 12px rgba(121, 242, 192, 0); }
  100% { box-shadow: 0 0 0 0 rgba(121, 242, 192, 0); }
}

.hero__title {
  font-size: clamp(3.6rem, 13vw, 8.5rem);
  line-height: .92;
  letter-spacing: -.045em;
  margin: 0 0 .15em;
  background: linear-gradient(170deg, #ffffff 0%, #cfeee2 45%, #4f9b84 100%);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  text-shadow: 0 0 90px rgba(121, 242, 192, .12);
}

.hero__tagline {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  color: var(--text);
  margin: 0 0 .9rem;
}
.hero__lead {
  color: var(--text-dim);
  max-width: 46ch;
  margin-bottom: 2.2rem;
}

.hero__actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

/* --------------------------------------------------------------- Atskaite */
.countdown {
  display: flex; align-items: flex-end; gap: .5rem;
  padding: 1.1rem 1.35rem;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(6, 16, 14, .5);
  backdrop-filter: blur(8px);
}
.countdown__item { text-align: center; min-width: 62px; }
.countdown__item b {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.6vw, 2.1rem);
  font-weight: 600; line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.countdown__item span {
  display: block; margin-top: .4rem;
  font-size: .64rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-faint);
}
.countdown__sep {
  font-size: 1.6rem; line-height: 1.1; color: var(--text-faint);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------- Kubs */
.cube-stage {
  position: absolute; z-index: 2;
  top: 42%; left: 72%;
  transform: translate(-50%, -50%);
  width: 340px; height: 340px;
  display: grid; place-items: center;
  pointer-events: none;
}

.cube-glow {
  position: absolute; inset: -60%;
  background: radial-gradient(circle, rgba(121, 242, 192, .22) 0%, rgba(60, 150, 190, .10) 35%, transparent 68%);
  filter: blur(14px);
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { opacity: .75; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.08); }
}

.cube-scene {
  width: 190px; height: 190px;
  perspective: 900px;
  perspective-origin: 50% 45%;
}

/* Kubs griežas ap savu asi, bet nepārvietojas pa ekrānu. */
.cube {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  animation: cube-spin 18s linear infinite;
}
@keyframes cube-spin {
  from { transform: rotateX(-22deg) rotateY(0deg)   rotateZ(4deg); }
  to   { transform: rotateX(-22deg) rotateY(360deg) rotateZ(4deg); }
}

.cube__face {
  position: absolute; inset: 0;
  border: 1px solid rgba(121, 242, 192, .55);
  background:
    linear-gradient(150deg, rgba(121, 242, 192, .16) 0%, rgba(10, 30, 30, .30) 55%, rgba(127, 182, 255, .12) 100%);
  box-shadow:
    inset 0 0 40px rgba(121, 242, 192, .16),
    0 0 26px rgba(121, 242, 192, .16);
  backdrop-filter: blur(2px);
}
/* Smalks režģis uz skaldnēm */
.cube__face::before {
  content: ""; position: absolute; inset: 0; opacity: .35;
  background-image:
    linear-gradient(rgba(121, 242, 192, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(121, 242, 192, .18) 1px, transparent 1px);
  background-size: 38px 38px;
}
/* Spīduma josla */
.cube__face::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, .16) 50%, transparent 65%);
}

.cube__face--front  { transform: translateZ(95px); }
.cube__face--back   { transform: rotateY(180deg) translateZ(95px); }
.cube__face--right  { transform: rotateY(90deg)  translateZ(95px); }
.cube__face--left   { transform: rotateY(-90deg) translateZ(95px); }
.cube__face--top    { transform: rotateX(90deg)  translateZ(95px); }
.cube__face--bottom { transform: rotateX(-90deg) translateZ(95px); }
.cube__face--top    { background: linear-gradient(150deg, rgba(121, 242, 192, .26), rgba(20, 50, 48, .35)); }
.cube__face--bottom { background: linear-gradient(150deg, rgba(10, 24, 26, .55), rgba(10, 24, 26, .35)); }

/* Kodols kuba iekšpusē */
.cube__core {
  position: absolute; top: 50%; left: 50%;
  width: 54px; height: 54px; margin: -27px 0 0 -27px;
  background: radial-gradient(circle, #eafff5 0%, var(--accent) 40%, rgba(42, 211, 154, 0) 72%);
  filter: blur(3px);
  animation: core-pulse 3.4s ease-in-out infinite;
}
@keyframes core-pulse {
  0%, 100% { opacity: .55; transform: scale(.9); }
  50%      { opacity: 1;   transform: scale(1.15); }
}

.cube-shadow {
  position: absolute; bottom: 12%; left: 50%;
  width: 210px; height: 26px; margin-left: -105px;
  background: radial-gradient(ellipse, rgba(121, 242, 192, .18), transparent 70%);
  filter: blur(8px);
  animation: breathe 7s ease-in-out infinite;
}

/* ---------------------------------------------------------- Ritināšanas norāde */
.scroll-hint {
  position: absolute; z-index: 6; bottom: 2rem; left: 50%;
  transform: translateX(-50%);
  display: grid; justify-items: center; gap: .6rem;
  color: var(--text-faint);
  font-size: .66rem; letter-spacing: .3em; text-transform: uppercase;
}
.scroll-hint:hover { color: var(--accent); }
.scroll-hint__mouse {
  width: 22px; height: 34px;
  border: 1px solid var(--line-strong); border-radius: 12px;
  display: grid; justify-items: center; padding-top: 6px;
}
.scroll-hint__mouse i {
  width: 2px; height: 6px; border-radius: 2px; background: currentColor;
  animation: wheel 1.8s var(--ease) infinite;
}
@keyframes wheel {
  0%   { opacity: 0; transform: translateY(-3px); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(11px); }
}

/* --------------------------------------------------------------- Sadaļas */
.section { position: relative; padding: clamp(5rem, 11vw, 8.5rem) 0; }
.section--alt {
  background:
    radial-gradient(80% 60% at 15% 0%, rgba(20, 60, 55, .35) 0%, transparent 60%),
    var(--bg-alt);
  border-block: 1px solid var(--line);
}
.section--cta {
  background:
    radial-gradient(70% 90% at 50% 120%, rgba(42, 211, 154, .16) 0%, transparent 65%),
    var(--bg-soft);
  border-top: 1px solid var(--line);
}

.section__head { max-width: 620px; margin-bottom: 3.2rem; }
.section--cta .section__head { margin-inline: auto; }
.section__lead { color: var(--text-dim); font-size: 1.03rem; }

.grid { display: grid; gap: 1.3rem; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--split { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 3.5rem; align-items: center; }

/* ---------------------------------------------------------------- Kartes */
.card {
  position: relative;
  padding: 1.9rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(180deg, var(--panel), rgba(255, 255, 255, .012));
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.card::before {
  content: ""; position: absolute; inset: 0 0 auto; height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0; transition: opacity .35s var(--ease);
}
.card:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.card:hover::before { opacity: .8; }
.card__icon {
  display: grid; place-items: center;
  width: 46px; height: 46px; margin-bottom: 1.15rem;
  border: 1px solid var(--line-strong); border-radius: 12px;
  color: var(--accent); font-size: 1.25rem;
  background: rgba(121, 242, 192, .05);
}
.card p { color: var(--text-dim); margin: 0; font-size: .96rem; }

/* ------------------------------------------------------------- Specifikācija */
.specs {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(180deg, var(--panel), transparent);
}
.specs > div {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1.5rem;
  padding: .95rem 1.4rem;
  border-bottom: 1px solid var(--line);
}
.specs > div:last-child { border-bottom: 0; }
.specs dt {
  color: var(--text-faint);
  font-size: .74rem; letter-spacing: .16em; text-transform: uppercase;
}
.specs dd { margin: 0; text-align: right; font-size: .97rem; }

/* --------------------------------------------------------------- Ceļakarte */
.timeline { list-style: none; margin: 0; padding: 0 0 0 2rem; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px;
  background: linear-gradient(var(--accent), var(--line), transparent);
}
.timeline__item { position: relative; padding: 0 0 2.4rem; }
.timeline__item:last-child { padding-bottom: 0; }
.timeline__item::before {
  content: ""; position: absolute; left: -2rem; top: 7px;
  width: 11px; height: 11px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--line-strong);
}
.timeline__item.is-done::before { background: var(--accent-deep); border-color: var(--accent-deep); }
.timeline__item.is-active::before {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 0 0 5px rgba(121, 242, 192, .16);
  animation: pulse 2.4s ease-out infinite;
}
.timeline__date {
  display: block; margin-bottom: .35rem;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--accent);
}
.timeline__item p { color: var(--text-dim); margin: 0; }

/* -------------------------------------------------------------- Jautājumi */
.faq { display: grid; gap: .7rem; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--panel);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.faq__item[open] { border-color: var(--line-strong); background: rgba(121, 242, 192, .04); }
.faq__item summary {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 1.05rem 1.3rem;
  cursor: pointer; list-style: none;
  font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+"; color: var(--accent); font-size: 1.35rem; line-height: 1;
  transition: transform .3s var(--ease);
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p {
  margin: 0; padding: 0 1.3rem 1.25rem;
  color: var(--text-dim); font-size: .97rem;
}

/* ----------------------------------------------------------- Pieteikšanās */
.signup {
  display: flex; gap: .6rem; flex-wrap: wrap;
  justify-content: center;
  margin: 2.2rem auto .8rem;
  max-width: 520px;
}
.signup__input {
  flex: 1 1 260px;
  padding: .9rem 1.2rem;
  border: 1px solid var(--line-strong); border-radius: 999px;
  background: rgba(4, 10, 9, .7);
  color: var(--text); font: inherit; font-size: .95rem;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.signup__input::placeholder { color: var(--text-faint); }
.signup__input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(121, 242, 192, .14);
}
.signup__input[aria-invalid="true"] { border-color: #ff8f7a; }

.signup__msg { min-height: 1.5rem; margin: 0; font-size: .9rem; color: var(--accent); }
.signup__msg.is-error { color: #ff8f7a; }
.signup__fine { font-size: .8rem; color: var(--text-faint); margin: .5rem 0 0; }

/* ---------------------------------------------------------------- Kājene */
.site-footer {
  padding: 3.5rem 0 2rem;
  border-top: 1px solid var(--line);
  background: #030607;
}
.site-footer__row {
  display: flex; flex-wrap: wrap; gap: 2rem;
  justify-content: space-between; align-items: flex-start;
}
.site-footer__note { color: var(--text-faint); font-size: .9rem; margin: .9rem 0 0; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.site-footer__links a { color: var(--text-dim); font-size: .9rem; }
.site-footer__links a:hover { color: var(--accent); }
.site-footer__base {
  display: flex; flex-wrap: wrap; gap: .6rem 2rem; justify-content: space-between;
  margin-top: 3rem; padding-top: 1.4rem;
  border-top: 1px solid var(--line);
}
.site-footer__base p { margin: 0; color: var(--text-faint); font-size: .8rem; }

/* ------------------------------------------------------- Parādīšanās efekts */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ------------------------------------------------------------ Kļūdu lapa */
.error-page {
  min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 2rem;
  background: radial-gradient(80% 60% at 50% 30%, #0b1a17 0%, transparent 70%), var(--bg);
}
.error-page__code {
  font-family: var(--font-display);
  font-size: clamp(4rem, 18vw, 9rem); line-height: 1;
  letter-spacing: -.05em; margin: 0 0 .5rem;
  color: var(--accent);
  text-shadow: 0 0 70px rgba(121, 242, 192, .25);
}

/* --------------------------------------------------------------- Adaptīvs */
@media (max-width: 900px) {
  .cube-stage { top: 26%; left: 50%; width: 260px; height: 260px; opacity: .85; }
  .cube-scene { width: 150px; height: 150px; }
  .cube__face--front  { transform: translateZ(75px); }
  .cube__face--back   { transform: rotateY(180deg) translateZ(75px); }
  .cube__face--right  { transform: rotateY(90deg)  translateZ(75px); }
  .cube__face--left   { transform: rotateY(-90deg) translateZ(75px); }
  .cube__face--top    { transform: rotateX(90deg)  translateZ(75px); }
  .cube__face--bottom { transform: rotateX(-90deg) translateZ(75px); }
  .hero { align-items: flex-end; padding-top: 10rem; }
  .hero__content { max-width: none; }
}

@media (max-width: 760px) {
  body { font-size: 16px; }
  .nav {
    position: fixed; inset: 0 0 auto; z-index: -1;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 5.5rem 1.5rem 2rem;
    background: rgba(4, 9, 10, .97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-110%);
    transition: transform .45s var(--ease);
  }
  .nav.is-open { transform: none; }
  .nav a { padding: .95rem 0; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav .btn { margin-top: 1.2rem; border-bottom: 0; justify-content: center; }
  .nav-toggle { display: block; }

  .countdown { width: 100%; justify-content: space-between; padding: 1rem .6rem; }
  .countdown__item { min-width: 0; flex: 1; }
  .countdown__sep { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .specs > div { flex-direction: column; gap: .2rem; }
  .specs dd { text-align: left; }
}

/* ------------------------------------------- Samazinātas kustības režīms */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .cube { transform: rotateX(-22deg) rotateY(-35deg); }
  .reveal { opacity: 1; transform: none; }
}
