/* ==========================================================================
   CleanerFast AI — design system
   ========================================================================== */

:root {
  --bg: #07080d;
  --bg-soft: #0b0d15;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .065);
  --line: rgba(255, 255, 255, .09);
  --line-strong: rgba(255, 255, 255, .16);
  --text: #eef1f8;
  --muted: #9aa3bb;
  --mint: #5eead4;
  --indigo: #818cf8;
  --violet: #a78bfa;
  --amber: #fbbf24;
  --sky: #38bdf8;
  --rose: #fb7185;
  --lime: #a3e635;
  --grad: linear-gradient(100deg, var(--mint), var(--indigo) 60%, var(--violet));
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 24px 60px -22px rgba(0, 0, 0, .8);
  --container: 1180px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3 {
  margin: 0;
  font-weight: 660;
  letter-spacing: -.022em;
  line-height: 1.12;
}

h1 { font-size: clamp(2.35rem, 5.2vw, 4.15rem); }
h2 { font-size: clamp(1.65rem, 3.1vw, 2.5rem); }
h3 { font-size: 1.075rem; letter-spacing: -.01em; }

p { margin: 0; }

::selection { background: rgba(129, 140, 248, .35); }

:focus-visible {
  outline: 2px solid var(--mint);
  outline-offset: 3px;
  border-radius: 6px;
}

/* --------------------------------------------------------------------------
   Aurora background
   -------------------------------------------------------------------------- */

.aurora {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.aurora__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: .5;
  animation: drift 26s var(--ease) infinite alternate;
}

.aurora__blob--a {
  width: 60vw; height: 60vw;
  top: -22vw; left: -12vw;
  background: radial-gradient(circle at 30% 30%, #1e9e8a, transparent 68%);
}

.aurora__blob--b {
  width: 52vw; height: 52vw;
  top: -10vw; right: -14vw;
  background: radial-gradient(circle at 60% 40%, #3b3fbe, transparent 66%);
  animation-delay: -8s;
}

.aurora__blob--c {
  width: 46vw; height: 46vw;
  bottom: -22vw; left: 28vw;
  background: radial-gradient(circle at 50% 50%, #6b2f8f, transparent 68%);
  opacity: .32;
  animation-delay: -15s;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to   { transform: translate3d(4vw, 3vw, 0) scale(1.12); }
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .028) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 20%, transparent 78%);
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.container--narrow { max-width: 820px; }

.section { padding-block: clamp(4rem, 9vw, 7.5rem); }

.section--tint {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, .022) 18%, rgba(255, 255, 255, .022) 82%, transparent);
  border-block: 1px solid rgba(255, 255, 255, .05);
}

.section__head {
  max-width: 760px;
  margin-bottom: clamp(2.2rem, 4vw, 3.4rem);
}

.section__head h2 { margin-block: .85rem .9rem; }

.section__sub {
  color: var(--muted);
  font-size: 1.045rem;
  max-width: 62ch;
}

.eyebrow {
  display: inline-block;
  font-size: .765rem;
  font-weight: 620;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--mint);
}

.grad {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.grid { display: grid; gap: clamp(1rem, 2vw, 1.35rem); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  --btn-py: .8rem;
  --btn-px: 1.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: var(--btn-py) var(--btn-px);
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: .945rem;
  font-weight: 600;
  letter-spacing: -.008em;
  cursor: pointer;
  transition: transform .18s var(--ease), box-shadow .25s var(--ease),
              background-color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}

.btn svg { width: 18px; height: 18px; flex: none; }

.btn--primary {
  background: var(--grad);
  color: #06070c;
  box-shadow: 0 14px 34px -14px rgba(94, 234, 212, .65);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 44px -14px rgba(129, 140, 248, .8);
}

.btn--ghost {
  background: rgba(255, 255, 255, .045);
  border-color: var(--line-strong);
  color: var(--text);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, .09);
  border-color: rgba(255, 255, 255, .28);
  transform: translateY(-2px);
}

.btn--wide { width: 100%; }

.btn:active { transform: translateY(0) scale(.985); }

/* --------------------------------------------------------------------------
   Navigation
   -------------------------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              backdrop-filter .3s var(--ease);
  border-bottom: 1px solid transparent;
}

.nav.is-stuck {
  background: rgba(7, 8, 13, .72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-bottom-color: var(--line);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: var(--container);
  margin-inline: auto;
  padding: .95rem clamp(1.15rem, 4vw, 2.5rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-weight: 680;
  letter-spacing: -.02em;
  font-size: 1.06rem;
}

.brand__mark { width: 30px; height: 30px; flex: none; }
.brand__text em { font-style: normal; color: var(--mint); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.7rem;
  font-size: .925rem;
  color: var(--muted);
}

.nav__links > a:not(.btn) {
  position: relative;
  padding-block: .25rem;
  transition: color .2s var(--ease);
}

.nav__links > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .28s var(--ease);
}

.nav__links > a:not(.btn):hover { color: var(--text); }
.nav__links > a:not(.btn):hover::after { transform: scaleX(1); }

.nav__cta { --btn-py: .58rem; --btn-px: 1.15rem; font-size: .885rem; }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px; height: 42px;
  padding: 0 10px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}

.nav.is-open .nav__burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__burger span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero { padding-top: clamp(2.5rem, 6vw, 4.5rem); }

.hero__grid {
  display: grid;
  grid-template-columns: 1.06fr .94fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .42rem .95rem;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  background: rgba(255, 255, 255, .045);
  font-size: .8rem;
  color: #cbd3e8;
  margin-bottom: 1.5rem;
}

.dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--mint);
  box-shadow: 0 0 0 0 rgba(94, 234, 212, .65);
  animation: pulse 2.4s infinite;
}

@keyframes pulse {
  70%  { box-shadow: 0 0 0 9px rgba(94, 234, 212, 0); }
  100% { box-shadow: 0 0 0 0 rgba(94, 234, 212, 0); }
}

.hero h1 { margin-bottom: 1.25rem; }

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 1.35vw, 1.13rem);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.hero__points {
  display: flex;
  flex-wrap: wrap;
  gap: 1.3rem;
  margin-top: 1.9rem;
  font-size: .875rem;
  color: var(--muted);
}

.hero__points li { display: inline-flex; align-items: center; gap: .45rem; }
.hero__points svg { width: 15px; height: 15px; color: var(--mint); }

/* Device mock */

.hero__visual { perspective: 1400px; }

.device {
  border-radius: 22px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(165deg, rgba(24, 27, 40, .96), rgba(11, 13, 21, .97));
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .07);
  overflow: hidden;
  transform: rotateY(-7deg) rotateX(3deg);
  transition: transform .6s var(--ease);
}

.device:hover { transform: rotateY(0deg) rotateX(0deg); }

.device__bar {
  display: flex;
  align-items: center;
  gap: .45rem;
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
}

.device__bar span {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
}

.device__bar span:nth-child(1) { background: #f87171; }
.device__bar span:nth-child(2) { background: #fbbf24; }
.device__bar span:nth-child(3) { background: #4ade80; }

.device__bar em {
  margin-left: auto;
  font-style: normal;
  font-size: .74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.device__body { padding: 1.35rem 1.35rem 1.15rem; }

.gauge {
  position: relative;
  width: 148px;
  margin: 0 auto 1.25rem;
}

.gauge svg { width: 100%; transform: rotate(-90deg); }

.gauge__track {
  fill: none;
  stroke: rgba(255, 255, 255, .08);
  stroke-width: 10;
}

.gauge__value {
  fill: none;
  stroke: url(#bg1);
  stroke: var(--mint);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-dasharray: 327;
  stroke-dashoffset: 327;
  transition: stroke-dashoffset .45s var(--ease), stroke .45s var(--ease);
}

.gauge__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .1rem;
}

.gauge__label strong {
  font-size: 1.5rem;
  font-variant-numeric: tabular-nums;
  letter-spacing: -.03em;
}

.gauge__label small {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--muted);
}

.scan { display: grid; gap: .42rem; }

.scan li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem .8rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, .035);
  border: 1px solid transparent;
  font-size: .845rem;
  color: #c2cadf;
  transition: background-color .3s var(--ease), border-color .3s var(--ease),
              color .3s var(--ease);
}

.scan li b {
  font-variant-numeric: tabular-nums;
  font-weight: 580;
  color: var(--muted);
  transition: color .3s var(--ease);
  white-space: nowrap;
}

.scan li span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.scan li.is-done {
  background: rgba(94, 234, 212, .09);
  border-color: rgba(94, 234, 212, .22);
  color: #d9fff7;
}

.scan li.is-done b { color: var(--mint); }

.device__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  margin-top: 1.1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  font-size: .82rem;
  color: var(--muted);
}

.spinner {
  width: 14px; height: 14px;
  border-radius: 50%;
  border: 2px solid rgba(94, 234, 212, .28);
  border-top-color: var(--mint);
  opacity: 0;
  transition: opacity .2s var(--ease);
}

.spinner.is-active {
  opacity: 1;
  animation: spin .8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* Marquee */

.marquee {
  margin-top: clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}

.marquee__track {
  display: flex;
  gap: 3.2rem;
  width: max-content;
  animation: slide 26s linear infinite;
  font-size: .8rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .3);
}

@keyframes slide { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.card {
  position: relative;
  padding: clamp(1.35rem, 2.1vw, 1.75rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .022));
  transition: transform .3s var(--ease), border-color .3s var(--ease),
              box-shadow .3s var(--ease);
  overflow: hidden;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(94, 234, 212, .5), transparent 42%, rgba(129, 140, 248, .45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, .14);
  box-shadow: 0 26px 50px -26px rgba(0, 0, 0, .9);
}

.card:hover::after { opacity: 1; }

.card h3 { margin-bottom: .55rem; }
.card p { color: var(--muted); font-size: .935rem; }

.card__icon {
  display: grid;
  place-items: center;
  width: 44px; height: 44px;
  border-radius: 13px;
  margin-bottom: 1.1rem;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--line);
}

.card__icon svg { width: 22px; height: 22px; }

.card__icon--mint   { color: var(--mint);   background: rgba(94, 234, 212, .1);  border-color: rgba(94, 234, 212, .22); }
.card__icon--violet { color: var(--violet); background: rgba(167, 139, 250, .1); border-color: rgba(167, 139, 250, .22); }
.card__icon--amber  { color: var(--amber);  background: rgba(251, 191, 36, .1);  border-color: rgba(251, 191, 36, .22); }
.card__icon--sky    { color: var(--sky);    background: rgba(56, 189, 248, .1);  border-color: rgba(56, 189, 248, .22); }
.card__icon--rose   { color: var(--rose);   background: rgba(251, 113, 133, .1); border-color: rgba(251, 113, 133, .22); }
.card__icon--lime   { color: var(--lime);   background: rgba(163, 230, 53, .1);  border-color: rgba(163, 230, 53, .22); }

/* Platforms */

.platform {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  padding: 1.6rem 1.3rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .035);
  transition: transform .28s var(--ease), background-color .28s var(--ease),
              border-color .28s var(--ease);
}

.platform:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, .07);
  border-color: rgba(94, 234, 212, .4);
}

.platform__logo {
  width: 30px; height: 30px;
  margin-bottom: .7rem;
  color: var(--mint);
  transition: color .28s var(--ease);
}

.platform:hover .platform__logo { color: var(--indigo); }

.platform strong { font-size: 1rem; }

.platform span {
  font-size: .78rem;
  color: var(--muted);
  letter-spacing: .01em;
}

/* Steps */

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 1.7rem 1.4rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .03);
}

.steps__num {
  display: grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 50%;
  margin-bottom: 1rem;
  font-size: .9rem;
  font-weight: 700;
  color: #06070c;
  background: var(--grad);
}

.steps h3 { margin-bottom: .4rem; }
.steps p { color: var(--muted); font-size: .92rem; }

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: clamp(2.2rem, 4vw, 3rem);
  padding: clamp(1.4rem, 2.6vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(94, 234, 212, .07), rgba(129, 140, 248, .07));
}

.stats div { text-align: center; }

.stats strong {
  display: block;
  font-size: clamp(1.35rem, 2.6vw, 1.85rem);
  letter-spacing: -.03em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stats span {
  font-size: .79rem;
  color: var(--muted);
}

/* Pricing */

.pricing { align-items: stretch; }

.plan {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.plan h3 { font-size: 1.02rem; }

.plan__price {
  font-size: .82rem;
  color: var(--muted);
}

.plan__price span {
  display: block;
  font-size: 2.05rem;
  font-weight: 680;
  letter-spacing: -.035em;
  color: var(--text);
  line-height: 1.1;
}

.plan ul {
  display: grid;
  gap: .5rem;
  margin-block: .35rem .9rem;
  font-size: .895rem;
  color: var(--muted);
}

.plan ul li {
  position: relative;
  padding-left: 1.35rem;
}

.plan ul li::before {
  content: "";
  position: absolute;
  left: 0; top: .52em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
  opacity: .85;
}

.plan .btn { margin-top: auto; }

.plan--featured {
  border-color: rgba(94, 234, 212, .35);
  background: linear-gradient(180deg, rgba(94, 234, 212, .1), rgba(129, 140, 248, .07));
  box-shadow: 0 28px 60px -30px rgba(94, 234, 212, .5);
}

.plan__tag {
  position: absolute;
  top: 0; right: 0;
  padding: .3rem .8rem;
  border-bottom-left-radius: 12px;
  background: var(--grad);
  color: #06070c;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* FAQ */

.faq { display: grid; gap: .65rem; }

.faq details {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .032);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}

.faq details[open] {
  border-color: rgba(94, 234, 212, .32);
  background: rgba(94, 234, 212, .05);
}

.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  cursor: pointer;
  font-weight: 570;
  font-size: .955rem;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  flex: none;
  display: grid;
  place-items: center;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: 1px solid var(--line-strong);
  font-size: 1rem;
  line-height: 1;
  color: var(--mint);
  transition: transform .28s var(--ease), background-color .28s var(--ease);
}

.faq details[open] summary::after {
  content: "−";
  transform: rotate(180deg);
  background: rgba(94, 234, 212, .14);
}

.faq p {
  padding: 0 1.2rem 1.1rem;
  color: var(--muted);
  font-size: .925rem;
}

/* CTA */

.cta { padding-block: clamp(3rem, 6vw, 5rem); }

.cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  padding: clamp(1.8rem, 4vw, 3rem);
  border-radius: 24px;
  border: 1px solid rgba(94, 234, 212, .28);
  background:
    radial-gradient(120% 160% at 0% 0%, rgba(94, 234, 212, .16), transparent 55%),
    radial-gradient(120% 160% at 100% 100%, rgba(129, 140, 248, .18), transparent 55%),
    rgba(255, 255, 255, .03);
}

.cta__inner h2 { margin-bottom: .5rem; }
.cta__inner p { color: var(--muted); }

.cta__actions {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
}

/* Footer */

.footer {
  border-top: 1px solid var(--line);
  background: rgba(6, 7, 12, .6);
  padding-top: clamp(2.4rem, 5vw, 3.6rem);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding-bottom: 2.2rem;
}

.footer__brand p {
  color: var(--muted);
  font-size: .875rem;
  margin-top: .5rem;
  max-width: 32ch;
}

.footer__links {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.footer__links div {
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer__links strong {
  font-size: .76rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .45);
  margin-bottom: .15rem;
}

.footer__links a {
  font-size: .9rem;
  color: var(--muted);
  transition: color .2s var(--ease);
}

.footer__links a:hover { color: var(--text); }

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: .8rem;
  color: rgba(255, 255, 255, .38);
}

/* --------------------------------------------------------------------------
   Reveal animation
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 460px; margin-inline: auto; }
  .device { transform: none; }
  .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 860px) {
  .nav__burger { display: flex; }

  .nav__links {
    position: fixed;
    inset: 64px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: 1rem clamp(1.15rem, 4vw, 2.5rem) 1.6rem;
    background: rgba(7, 8, 13, .97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s var(--ease), transform .25s var(--ease);
  }

  .nav.is-open .nav__links {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .nav__links > a:not(.btn) {
    padding-block: .75rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
  }

  .nav__links > a:not(.btn)::after { display: none; }
  .nav__cta { margin-top: .8rem; }
}

@media (max-width: 640px) {
  .grid--3, .grid--4, .steps, .stats { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .hero__points { gap: 1rem; }
  .marquee__track { gap: 2rem; }
  .cta__actions .btn { flex: 1 1 100%; }
  .footer__links { gap: 2.2rem; }
  .device__body { padding: 1.1rem 1rem 1rem; }
  .gauge { width: 126px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
