/* ============================================================
   Olak · Marketing site styles
   Design system: Cobalt + Electric Cyan · Sora · Glass & Glow
   ============================================================ */

@font-face {
  font-family: 'Sora';
  src: url('../assets/img/Sora.ttf') format('truetype');
  font-weight: 100 800;
  font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --brand: #2563eb;
  --brand-deep: #1240d4;
  --brand-cyan: #38d6ff;
  --grad: linear-gradient(120deg, #1240d4 0%, #2563eb 45%, #38d6ff 100%);
  --grad-soft: linear-gradient(
    120deg,
    rgba(18, 64, 212, 0.12),
    rgba(56, 214, 255, 0.12)
  );

  --bg: #f3f6fd;
  --surface: #ffffff;
  --ink: #0a1230;
  --ink-soft: #223056;
  --text: #3c4a6b;
  --text-soft: #5d6b8f;
  --border: rgba(13, 30, 80, 0.08);
  --line: rgba(13, 30, 80, 0.05);

  --radius: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-sm:
    0 2px 6px rgba(13, 30, 80, 0.06), 0 1px 2px rgba(13, 30, 80, 0.04);
  --shadow-md:
    0 10px 24px rgba(13, 30, 80, 0.1), 0 4px 8px rgba(13, 30, 80, 0.06);
  --shadow-lg: 0 24px 60px rgba(13, 30, 80, 0.18);
  --glow: 0 10px 44px rgba(37, 99, 235, 0.38);

  --font-size: 15px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: 'Sora', 'Poppins', 'Inter', 'Helvetica Neue', sans-serif;
  font-size: var(--font-size);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a {
  color: var(--brand);
  text-decoration: none;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

.container {
  width: min(1120px, 100% - 2.5rem);
  margin-inline: auto;
}

::selection {
  background: rgba(37, 99, 235, 0.18);
  color: var(--ink);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s var(--ease),
    background 0.25s var(--ease);
  white-space: nowrap;
}

.btn--sm {
  padding: 0.5rem 1.1rem;
  font-size: 0.875rem;
}

.btn--block {
  width: 100%;
}

.btn--primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.32);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
}

.btn--secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border-color: var(--border);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.btn--secondary:hover {
  background: #fff;
  border-color: rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(16px) saturate(1.6);
  -webkit-backdrop-filter: blur(16px) saturate(1.6);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease);
}

.nav--scrolled {
  box-shadow: 0 8px 30px rgba(13, 30, 80, 0.08);
}

.nav__inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-height: 4.4rem;
}

.nav__brand {
  display: flex;
  align-items: center;
}

.nav__wordmark {
  height: 34px;
  width: auto;
}

.nav__links {
  display: flex;
  gap: 2rem;
  margin-left: auto;
}

.nav__links a {
  position: relative;
  color: var(--text-soft);
  font-weight: 500;
  font-size: 0.925rem;
  padding: 0.25rem 0;
  transition: color 0.2s ease;
}

.nav__links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 2px;
  width: 100%;
  border-radius: 999px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.nav__links a:hover {
  color: var(--ink);
}

.nav__links a:hover::after {
  transform: scaleX(1);
}

.nav__cta {
  margin-left: 0.25rem;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.5rem;
}

.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 7rem;
  background: var(--bg);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(13, 30, 80, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 30, 80, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(70rem 40rem at 70% 0%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(
    70rem 40rem at 70% 0%,
    #000 20%,
    transparent 75%
  );
  pointer-events: none;
}

.hero__bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}

.hero__orb--one {
  width: 34rem;
  height: 34rem;
  top: -12rem;
  right: -8rem;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.5), transparent 65%);
}

.hero__orb--two {
  width: 26rem;
  height: 26rem;
  bottom: -10rem;
  left: -8rem;
  background: radial-gradient(
    circle,
    rgba(56, 214, 255, 0.45),
    transparent 65%
  );
  animation-delay: -6s;
}

.hero__orb--three {
  width: 18rem;
  height: 18rem;
  top: 30%;
  left: 45%;
  background: radial-gradient(circle, rgba(124, 93, 250, 0.3), transparent 65%);
  animation-delay: -12s;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 3.5rem;
  align-items: center;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(37, 99, 235, 0.22);
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.1);
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.eyebrow__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--grad);
  animation: pulse 2s ease-in-out infinite;
}

.hero__title {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin: 0 0 1.4rem;
}

.hero__accent {
  background: var(--grad);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 6s linear infinite;
  font-size: clamp(1.875rem, 3.75vw, 2.75rem);
}

.hero__sub {
  font-size: 1.08rem;
  color: var(--text);
  max-width: 34rem;
  margin: 0 0 1.9rem;
  line-height: 1.75;
}

.hero__question {
  display: inline-block;
  margin-top: 0.35rem;
  font-weight: 600;
  color: var(--brand);
}

.hero__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.6rem;
}

.hero__compat {
  margin: 0 0 2.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--text-soft);
}

/* ---------- Store badges (App Store / Google Play) ---------- */
.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  justify-content: center;
}

.store-badges a {
  display: inline-block;
  filter: drop-shadow(0 4px 10px rgba(13, 30, 80, 0.14));
  transition:
    filter 0.2s ease,
    transform 0.2s var(--ease);
}

.store-badges a:hover {
  filter: drop-shadow(0 8px 18px rgba(37, 99, 235, 0.3));
  transform: translateY(-2px);
}

.store-badges img {
  height: 48px;
  width: auto;
  border-radius: 8px;
}

.store-badges--sm img {
  height: 40px;
}

/* ---------- Hero answers ---------- */
.hero__answers {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
  max-width: 36rem;
}

.hero__answer {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease),
    border-color 0.25s ease,
    box-shadow 0.25s var(--ease);
}

.hero__answer:hover {
  transform: translateY(-3px);
  border-color: rgba(37, 99, 235, 0.3);
  box-shadow: var(--shadow-md);
}

.hero__answer-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: var(--grad-soft);
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 700;
}

.hero__answer-body strong {
  display: block;
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.35;
  margin-bottom: 0.15rem;
}

.hero__answer-body span {
  color: var(--text-soft);
  font-size: 0.82rem;
  line-height: 1.4;
}

/* ---------- Hero device / phone ---------- */
.hero__device {
  position: relative;
}

.phone {
  position: relative;
  width: min(290px, 78vw);
  margin-inline: auto;
  border-radius: 2.6rem;
  padding: 0.6rem;
  background: linear-gradient(160deg, #0b1430, #17213f 55%, #0b1430);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset,
    0 0 80px rgba(37, 99, 235, 0.35);
  animation: float 7s ease-in-out infinite;
}

.phone::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 2.7rem;
  padding: 2px;
  background: conic-gradient(
    from 180deg,
    rgba(56, 214, 255, 0.7),
    rgba(37, 99, 235, 0.1),
    rgba(56, 214, 255, 0.7)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.phone__notch {
  position: absolute;
  top: 1.1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 1.6rem;
  background: rgba(4, 10, 26, 0.95);
  border-radius: 999px;
  z-index: 2;
}

.phone__screen {
  border-radius: 2.1rem;
  width: 100%;
  aspect-ratio: 1178 / 2556;
  object-fit: cover;
  background: #050b1e;
}

.phone--small {
  width: min(220px, 60vw);
  border-radius: 2.1rem;
  padding: 0.5rem;
  animation: float 9s ease-in-out infinite;
}

.phone--small .phone__screen {
  border-radius: 1.7rem;
}

.phone--small .phone__notch {
  top: 0.9rem;
  height: 1.2rem;
  width: 42%;
}

/* Floating chips */
.hero__chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(13, 30, 80, 0.08);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
  z-index: 3;
}

.hero__chip--one {
  top: 18%;
  right: -1.5rem;
}

.hero__chip--two {
  bottom: 30%;
  left: -1.8rem;
  animation-delay: -2s;
}

.hero__chip--three {
  bottom: 8%;
  right: -0.5rem;
  animation-delay: -4s;
}

/* Scroll cue */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 1.6rem;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.hero__scroll:hover {
  opacity: 1;
}

.hero__mouse {
  display: block;
  width: 24px;
  height: 38px;
  border: 2px solid rgba(13, 30, 80, 0.35);
  border-radius: 999px;
  position: relative;
}

.hero__mouse-wheel {
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  margin-left: -2px;
  border-radius: 999px;
  background: var(--brand);
  animation: wheel 1.8s ease-in-out infinite;
}

/* ---------- Sections ---------- */
.section-head {
  text-align: center;
  max-width: 44rem;
  margin: 0 auto 3.2rem;
}

.section-head__eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(37, 99, 235, 0.09);
  border: 1px solid rgba(37, 99, 235, 0.18);
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.section-head__title {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.9rem;
}

.section-head__sub {
  color: var(--text-soft);
  font-size: 1.04rem;
  margin: 0;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-head--light .section-head__title {
  color: #fff;
}

.section-head--light .section-head__sub {
  color: oklch(0.85 0.02 250);
}

.section-head--light .section-head__eyebrow {
  color: var(--brand-cyan);
  background: rgba(56, 214, 255, 0.1);
  border-color: rgba(56, 214, 255, 0.25);
}

.grad-text--light {
  background: linear-gradient(120deg, #7cc4ff, #bce9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Features ---------- */
.features {
  padding: 6rem 0;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}

.card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.9rem 1.7rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease),
    border-color 0.35s ease;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  border-color: rgba(37, 99, 235, 0.28);
  box-shadow: var(--shadow-lg);
}

.card:hover::before {
  transform: scaleX(1);
}

.card__icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 1.5rem;
  border-radius: 14px;
  background: var(--grad-soft);
  border: 1px solid rgba(37, 99, 235, 0.14);
  margin-bottom: 1.1rem;
  transition: transform 0.3s var(--ease);
}

.card:hover .card__icon {
  transform: scale(1.08) rotate(-4deg);
}

.card h3 {
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.93rem;
}

.card__tag {
  display: inline-block;
  margin-top: 0.95rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
  background: var(--grad);
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

/* ---------- Demo ---------- */
.demo {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 7rem;
  background:
    radial-gradient(
      60rem 40rem at 85% -10%,
      rgba(37, 99, 235, 0.28),
      transparent 60%
    ),
    radial-gradient(
      40rem 30rem at 0% 110%,
      rgba(56, 214, 255, 0.18),
      transparent 60%
    ),
    #080e24;
}

.demo__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.6rem;
}

.demo__item {
  margin: 0;
  text-align: center;
}

.demo__stage {
  position: relative;
  display: grid;
  place-items: center;
}

.demo__stage::before {
  content: '';
  position: absolute;
  width: 70%;
  height: 46%;
  bottom: -2%;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.4);
  filter: blur(40px);
}

.demo__item figcaption {
  position: relative;
  margin-top: 1.2rem;
}

.demo__item h3 {
  color: #fff;
  font-size: 1rem;
  margin: 0 0 0.35rem;
}

.demo__item p {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.85rem;
  margin: 0;
  max-width: 15rem;
  margin-inline: auto;
}

/* ---------- CTA ---------- */
.cta {
  padding: 6rem 0;
}

.cta__panel {
  position: relative;
  overflow: hidden;
  text-align: center;
  color: #fff;
  background: var(--grad);
  border-radius: var(--radius-xl);
  padding: 4.5rem 2rem;
  box-shadow: 0 30px 80px rgba(37, 99, 235, 0.35);
}

.cta__panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(
      30rem 16rem at 20% 0%,
      rgba(255, 255, 255, 0.18),
      transparent 60%
    ),
    radial-gradient(
      26rem 16rem at 90% 100%,
      rgba(56, 214, 255, 0.35),
      transparent 60%
    );
}

.cta__ring {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

.cta__ring--one {
  width: 22rem;
  height: 22rem;
  top: -10rem;
  right: -6rem;
  animation: spin 40s linear infinite;
}

.cta__ring--two {
  width: 15rem;
  height: 15rem;
  bottom: -7rem;
  left: -4rem;
  animation: spin 30s linear infinite reverse;
}

.cta__title {
  position: relative;
  font-size: clamp(1.9rem, 3.6vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.7rem;
}

.cta__sub {
  position: relative;
  margin: 0 0 2rem;
  opacity: 0.94;
  font-size: 1.05rem;
}

.cta .store-badges {
  position: relative;
}

.cta__os {
  position: relative;
  margin: 1.4rem 0 0;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  opacity: 0.92;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  background: #070c1e;
  color: rgba(255, 255, 255, 0.62);
  padding: 4rem 0 2.75rem;
  text-align: center;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(56, 214, 255, 0.5),
    transparent
  );
}

.footer__wordmark {
  margin: 0 auto 0.9rem;
  height: 30px;
  width: auto;
  opacity: 0.95;
}

.footer__tag {
  margin: 0 0 1.4rem;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.5);
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 1.7rem;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer__links a:hover {
  color: #fff;
}

.footer__copy {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.34);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--ease),
    transform 0.7s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Keyframes ---------- */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-14px);
  }
}

@keyframes drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(40px, -30px) scale(1.12);
  }
}

@keyframes shimmer {
  to {
    background-position: 200% center;
  }
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.45;
    transform: scale(0.8);
  }
}

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

@keyframes wheel {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(10px);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero__orb,
  .phone,
  .phone--small,
  .hero__chip,
  .hero__mouse-wheel,
  .cta__ring,
  .hero__accent,
  .eyebrow__dot {
    animation: none !important;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
    text-align: center;
  }
  .hero__copy {
    order: 2;
  }
  .hero__answers {
    text-align: left;
    margin-inline: auto;
    grid-template-columns: repeat(2, 1fr);
  }
  .hero__chip--one {
    right: 0.5rem;
  }
  .hero__chip--two {
    left: 0.5rem;
  }
  .features__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .demo__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem 1.6rem;
  }
}

@media (max-width: 640px) {
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0.25rem;
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 0.75rem 1.25rem 1.25rem;
    margin: 0;
  }
  .nav__links.is-open {
    display: flex;
  }
  .nav__links a {
    padding: 0.6rem 0;
    border-bottom: 1px solid var(--line);
  }
  .nav__links a::after {
    display: none;
  }
  .nav__links a:last-child {
    border-bottom: 0;
  }
  .nav__toggle {
    display: flex;
    margin-left: auto;
  }
  .nav__cta {
    display: none;
  }
  .hero {
    padding: 4.5rem 0 5.5rem;
  }
  .hero__answers {
    grid-template-columns: 1fr;
  }
  .hero__chip {
    display: none;
  }
  .hero__scroll {
    display: none;
  }
  .features__grid,
  .demo__grid {
    grid-template-columns: 1fr;
  }
  .cta__panel {
    padding: 3.5rem 1.5rem;
  }
}
