/* ============================================================
   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);
  --border-strong: rgba(13, 30, 80, 0.16);
  --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--lg {
  padding: 0.95rem 2.2rem;
  font-size: 1.05rem;
}

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

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

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

/* Keep the primary pill crisp against the gradient CTA panel */
.cta__panel .btn--primary {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 6px 18px rgba(13, 30, 80, 0.35);
}

.cta__panel .btn--primary:hover {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.85),
    0 14px 32px rgba(13, 30, 80, 0.42);
}

/* Keep the header pill crisp too (matches the CTA-section button) */
.nav__cta {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 6px 18px rgba(13, 30, 80, 0.35);
}

.nav__cta:hover {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.85),
    0 14px 32px rgba(13, 30, 80, 0.42);
}

/* Keep the hero pill crisp too (matches the header / CTA-section buttons) */
.hero__stores .btn--primary {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.72),
    0 6px 18px rgba(13, 30, 80, 0.35);
}

.hero__stores .btn--primary:hover {
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.85),
    0 14px 32px rgba(13, 30, 80, 0.42);
}

.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);
}

/* Why Olak - value-prop blobs */
.hero__why {
  margin: 0 0 1.9rem;
}

.hero__why-lead {
  margin: 0 0 0.8rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text);
}

.hero__blobs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0 0 0.8rem;
  padding: 0;
  list-style: none;
}

.hero__blob {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.45rem;
  width: 7.25rem;
  padding: 0.85rem 0.5rem 0.75rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition:
    transform 0.25s var(--ease),
    box-shadow 0.25s ease;
}

.hero__blob:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hero__blob-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  font-size: 1.4rem;
  border-radius: 50%;
  background: var(--grad-soft);
  border: 1px solid rgba(37, 99, 235, 0.14);
}

.hero__blob-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.35;
}

.hero__cribs {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  margin: 0 0 1.4rem;
}

.hero__crib {
  position: relative;
  margin: 0;
  padding: 0.65rem 0.9rem 0.65rem 1.7rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}

.hero__crib::before {
  content: '\201C';
  position: absolute;
  left: 0.55rem;
  top: 0.15rem;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  color: var(--brand);
  opacity: 0.4;
}

.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 (story) ---------- */
.features {
  padding: 6rem 0;
}

.story {
  display: flex;
  flex-direction: column;
}

.story__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3.25rem 0;
  border-bottom: 1px solid var(--line);
}

.story__row:first-child {
  padding-top: 0.5rem;
}

.story__row--flip .story__media {
  order: 2;
}

.story__row--flip .story__copy {
  order: 1;
}

/* Media side */
.story__media {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0 2.5rem;
}

.story__media::before {
  content: '';
  position: absolute;
  inset: 12% 18%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.22), transparent 70%);
  filter: blur(34px);
  pointer-events: none;
}

.story__shot {
  position: relative;
  z-index: 1;
  width: min(340px, 100%);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 0.55rem;
  transition:
    transform 0.35s var(--ease),
    box-shadow 0.35s var(--ease);
}

.story__shot:hover {
  transform: translateY(-4px) rotate(0.5deg);
  box-shadow:
    var(--shadow-lg),
    0 0 0 1px rgba(37, 99, 235, 0.12);
}

.story__shot img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: calc(var(--radius-lg) - 6px);
  background: #fff;
  display: block;
}

.story__shot--tall {
  width: min(300px, 100%);
}

.story__shot--tall img {
  max-height: 640px;
}

.story__shot--small {
  position: absolute;
  z-index: 2;
  width: min(190px, 66%);
  right: 2%;
  bottom: 0;
  padding: 0.4rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border-color: rgba(37, 99, 235, 0.22);
}

.story__shot--small img {
  max-height: 170px;
  border-radius: calc(var(--radius) - 4px);
}

/* Copy side */
.story__copy {
  min-width: 0;
}

.story__step {
  display: inline-flex;
  align-items: center;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: rgba(37, 99, 235, 0.09);
  border: 1px solid rgba(37, 99, 235, 0.18);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.story__label {
  position: relative;
  margin: 0 0 0.9rem;
  padding: 0.7rem 1rem 0.7rem 1.65rem;
  font-size: 0.98rem;
  font-style: italic;
  line-height: 1.5;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand-cyan);
  border-radius: 0 var(--radius) var(--radius) 0;
  box-shadow: var(--shadow-sm);
}

.story__label::before {
  content: '\201C';
  position: absolute;
  left: 0.55rem;
  top: 0.12rem;
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 700;
  color: var(--brand);
  opacity: 0.4;
}

.story__title {
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 0 0 0.75rem;
}

.story__body {
  color: var(--text-soft);
  font-size: 1rem;
  line-height: 1.75;
  margin: 0;
  max-width: 30rem;
}

.story__proof {
  display: inline-flex;
  align-items: center;
  margin-top: 1.15rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--ink);
  background: var(--grad-soft);
  border: 1px solid rgba(37, 99, 235, 0.18);
  border-radius: 999px;
  padding: 0.42rem 0.9rem;
}

.story__proof--link {
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.story__proof--link:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.2);
}

/* Fair close */
.story__close {
  margin-top: 3.25rem;
  text-align: center;
  background:
    radial-gradient(
      30rem 14rem at 15% 0%,
      rgba(37, 99, 235, 0.1),
      transparent 60%
    ),
    radial-gradient(
      26rem 14rem at 90% 100%,
      rgba(56, 214, 255, 0.12),
      transparent 60%
    ),
    linear-gradient(180deg, rgba(37, 99, 235, 0.04), rgba(56, 214, 255, 0.05));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 3.75rem 2rem 3.25rem;
  box-shadow: var(--shadow-sm);
}

.story__label--center {
  text-align: left;
  border-left: none;
  border-radius: var(--radius);
  padding: 0.7rem 1rem;
  margin-inline: auto;
  max-width: 24rem;
}

.story__label--center::before {
  display: none;
}

.story__close-title {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin: 0 auto 0.8rem;
  max-width: 34rem;
}

.story__body--center {
  margin-inline: auto;
}

.story__close .btn {
  margin-top: 1.6rem;
}

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

/* ---------- 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;
  pointer-events: none;
  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);
}

.footer__company {
  margin: 0.55rem 0 0;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.footer__company-name {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

/* ---------- Legal pages (Privacy Policy / Terms of Service) ---------- */
.legal {
  padding: 4rem 0 5.5rem;
  min-height: 70vh;
}

.legal__wrap {
  max-width: 780px;
  margin-inline: auto;
}

.legal__header {
  margin-bottom: 2rem;
}

.legal__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 0.9rem;
}

.legal__title {
  margin: 0 0 0.6rem;
  font-size: clamp(1.9rem, 4.5vw, 2.6rem);
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.legal__meta {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.legal__body {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 2.5rem clamp(1.25rem, 4vw, 3rem);
}

.legal__body h2 {
  font-size: 1.22rem;
  line-height: 1.3;
  color: var(--ink);
  margin: 2.4rem 0 0.9rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.legal__body h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal__body h2.legal__annexure {
  color: var(--brand-deep);
}

.legal__body h3 {
  font-size: 1.02rem;
  line-height: 1.35;
  color: var(--ink-soft);
  margin: 1.7rem 0 0.6rem;
}

.legal__body h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink);
  margin: 1.4rem 0 0.5rem;
}

.legal__body p {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 0.95rem;
}

.legal__body ul {
  margin: 0 0 1.1rem;
  padding-left: 1.3rem;
}

.legal__body li {
  margin: 0.45rem 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal__body li::marker {
  color: var(--brand);
}

.legal__body a {
  color: var(--brand);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__body a:hover {
  color: var(--brand-deep);
}

.legal__body strong {
  color: var(--ink);
  font-weight: 600;
}

/* ---------- 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__why {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero__blobs {
    justify-content: center;
  }
  .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;
  }
  .story__row {
    grid-template-columns: 1fr;
    gap: 2.75rem;
    text-align: center;
    padding: 2.75rem 0;
  }
  .story__row--flip .story__media,
  .story__row--flip .story__copy {
    order: 0;
  }
  .story__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .story__body,
  .story__label--center {
    margin-inline: auto;
  }
  .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;
  }
  .story__row {
    padding: 2.5rem 0;
  }
  .story__media {
    padding: 0.5rem 0 2rem;
  }
  .story__shot--small {
    display: none;
  }
  .story__close {
    padding: 3rem 1.5rem;
  }
  .demo__grid {
    grid-template-columns: 1fr;
  }
  .cta__panel {
    padding: 3.5rem 1.5rem;
  }
}

/* ---------- Waitlist Modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal.is-open {
  display: flex;
}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 18, 48, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: modalFade 0.25s var(--ease);
}

.modal__panel {
  position: relative;
  width: min(440px, 100%);
  background:
    linear-gradient(var(--surface), var(--surface)) padding-box,
    var(--grad) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  padding: 2.25rem 2rem 2rem;
  animation: modalPop 0.3s var(--ease);
  max-height: calc(100vh - 2.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}

.modal__panel::-webkit-scrollbar {
  width: 6px;
}

.modal__panel::-webkit-scrollbar-thumb {
  background: rgba(13, 30, 80, 0.16);
  border-radius: 999px;
}

.modal__close {
  position: absolute;
  top: 0.9rem;
  right: 0.9rem;
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(13, 30, 80, 0.06);
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition:
    background 0.2s var(--ease),
    color 0.2s var(--ease);
}

.modal__close:hover {
  background: rgba(37, 99, 235, 0.12);
  color: var(--brand);
}

.modal__body--hidden {
  display: none;
}

.modal__eyebrow {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand);
}

.modal__title {
  margin: 0 0 0.5rem;
  font-size: 1.6rem;
  line-height: 1.2;
  color: var(--ink);
}

.modal__sub {
  margin: 0 0 1.5rem;
  color: var(--text-soft);
}

.modal__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  margin-bottom: 1rem;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  background: var(--grad);
  box-shadow: var(--glow);
}

/* Form */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.waitlist-form__field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.waitlist-form__label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.waitlist-form__input {
  width: 100%;
  padding: 0.7rem 0.95rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  transition:
    border-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
}

.waitlist-form__input::placeholder {
  color: var(--text-soft);
}

.waitlist-form__input:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.waitlist-form__input--invalid {
  border-color: #dc2626;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12);
}

.waitlist-form__error {
  min-height: 1em;
  font-size: 0.8rem;
  color: #dc2626;
}

.waitlist-form__status {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.85rem;
  color: var(--brand);
  text-align: center;
}

.waitlist-form__status--error {
  color: #dc2626;
}

@keyframes modalFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal__backdrop,
  .modal__panel {
    animation: none;
  }
}
