/* Cross-document page transitions — Chrome 126+, Safari 18.2+, Firefox falls back to hard navigation */
@view-transition { navigation: auto; }
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 0.35s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ===== Yawn — once.film-style landing ===== */
:root {
  --bg: #0d0d0d;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.06);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);

  --text: #ffffff;
  --muted: #9a9a9a;
  --dim: #5c5c5c;

  --blue: #87c7f2;
  --maxw: 1180px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* display headings */
.display {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
}

/* ===== Sticky QR card ===== */
.qr-card {
  position: fixed;
  top: 80px;
  left: 50px;
  z-index: 90;
  width: 178px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 21px;
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  backdrop-filter: blur(8px);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
  will-change: transform;
}
.qr-code {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
}
.qr-code img { width: 100%; height: 100%; display: block; }
.qr-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===== Nav ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 36px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: rgba(13, 13, 13, 0.78);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  -webkit-mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 88%, transparent 100%);
}
.nav-center {
  grid-column: 2;
  display: flex;
  align-items: center;
  gap: 46px;
}
.nav > .appstore-badge { grid-column: 3; justify-self: end; }
.nav > .nav-toggle { grid-column: 3; justify-self: end; }
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  justify-content: center;
}

/* ===== App Store badge ===== */
.appstore-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 14px;
  border: 1.5px solid var(--text);
  border-radius: 10px;
  color: var(--text);
  text-decoration: none;
  line-height: 1;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.appstore-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-1px);
}
.appstore-badge svg {
  width: 26px;
  height: 26px;
  fill: var(--text);
  flex-shrink: 0;
}
.appstore-badge-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.appstore-small {
  font-family: "Inter", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.appstore-large {
  font-family: "Inter", sans-serif;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}

/* ===== Mobile menu overlay ===== */
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100vh;
  height: 100dvh;
  z-index: 200;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  padding: 18px 24px 40px;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transition: opacity 0.25s var(--ease), visibility 0.25s var(--ease);
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}
.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
}
.mobile-close {
  background: transparent;
  border: none;
  color: var(--text);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-links {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  padding-bottom: 40px;
}
.mobile-links a {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.025em;
  color: var(--text);
}
.mobile-cta {
  margin-top: 18px;
  font-family: "Inter", sans-serif !important;
  font-size: 14.5px !important;
  font-weight: 600;
  color: #0d0d0d !important;
  background: var(--text);
  border-radius: 999px;
  padding: 14px 26px;
}
.logo {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  display: flex;
  align-items: center;
  gap: 9px;
}
.logo-mark {
  width: 22px;
  height: 22px;
  display: inline-block;
  vertical-align: -5px;
  border-radius: 5px;
}
.nav-links {
  display: flex;
  gap: 38px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text);
  transition: color 0.2s var(--ease);
}
.nav-links a:hover { color: var(--muted); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  font-weight: 600;
  border-radius: 999px;
  padding: 15px 26px;
  cursor: pointer;
  border: none;
  transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-white { background: #ffffff; color: #0d0d0d; }
.btn-blue { background: var(--blue); color: #0d2233; }
.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-strong);
}
.btn-outline:hover { background: rgba(255, 255, 255, 0.06); }
.btn-block { width: 100%; }
.apple { font-size: 16px; line-height: 1; }

/* ===== Layout ===== */
.section,
.panel {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 40px;
}
.section { margin-top: 170px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 190px 40px 0;
  text-align: center;
  overflow: hidden;
}
/* Soft ethereal bloom behind the hero text (Superwall-style) */
.hero::before {
  content: "";
  position: absolute;
  top: 34%;
  left: 50%;
  width: min(1200px, 135%);
  height: 680px;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 52% 46% at 50% 42%, rgba(135, 199, 242, 0.26), transparent 70%),
    radial-gradient(ellipse 42% 38% at 42% 58%, rgba(116, 110, 224, 0.18), transparent 70%),
    radial-gradient(ellipse 46% 40% at 62% 60%, rgba(95, 169, 176, 0.14), transparent 72%);
  filter: blur(44px);
}
.hero > *:not(.starfield) {
  position: relative;
  z-index: 1;
}

/* Starfield — 3D canvas fly-through above the fold */
.starfield {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
  transition: opacity 0.25s ease-out;
}
.hero-tagline {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(44px, 6.6vw, 86px);
  text-shadow: 0 0 70px rgba(135, 199, 242, 0.3), 0 0 30px rgba(135, 199, 242, 0.18);
}
.hero-sub {
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}
.hero .btn {
  margin-top: 34px;
}
.hero-cta {
  position: relative;
  display: inline-block;
  margin-top: 34px;
  isolation: isolate;
  transition: transform 0.3s var(--ease);
}
.hero-cta:hover { transform: translateY(-2px); }
.hero-cta img {
  position: relative;
  z-index: 1;
  display: block;
  height: 54px;
  width: auto;
}
/* Aurora bloom behind the CTA on hover */
.hero-cta::before {
  content: "";
  position: absolute;
  inset: -60%;
  z-index: 0;
  border-radius: 999px;
  background:
    radial-gradient(circle at 22% 30%, rgba(135, 199, 242, 0.85) 0%, transparent 55%),
    radial-gradient(circle at 78% 28%, rgba(180, 140, 255, 0.85) 0%, transparent 55%),
    radial-gradient(circle at 50% 82%, rgba(116, 224, 165, 0.8) 0%, transparent 55%);
  filter: blur(60px);
  opacity: 0;
  pointer-events: none;
  transform: scale(0.65);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-cta:hover::before {
  opacity: 1;
  transform: scale(1.15);
  animation: aurora-drift 6s ease-in-out infinite;
}
@keyframes aurora-drift {
  0%, 100% { filter: blur(60px) hue-rotate(0deg); }
  50%     { filter: blur(75px) hue-rotate(45deg); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cta::before, .hero-cta:hover::before { animation: none; transition: none; }
}

/* hero phone */
.hero-phone {
  margin: 80px auto 0;
  display: flex;
  justify-content: center;
}
.phone {
  position: relative;
  width: 300px;
  height: 612px;
  background: #000;
  border-radius: 48px;
  padding: 13px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 60px 120px -50px rgba(0, 0, 0, 0.9);
}
.phone-notch {
  position: absolute;
  top: 13px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 27px;
  background: #000;
  border-radius: 0 0 16px 16px;
  z-index: 3;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 37px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.breathe-field {
  flex: 1;
  background: linear-gradient(135deg, #5fa9b0 0%, #4f9892 40%, #3d7a78 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}
.breathe-orb {
  width: 138px;
  height: 138px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 34%, #bce8d4, rgba(188, 232, 212, 0.12));
  box-shadow: 0 0 70px rgba(188, 232, 212, 0.5);
  animation: breathe 8s ease-in-out infinite;
}
@keyframes breathe {
  0%, 100% { transform: scale(0.72); opacity: 0.7; }
  50% { transform: scale(1.05); opacity: 1; }
}
.breathe-label {
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}
.phone-card {
  background: #131318;
  padding: 22px 22px 26px;
}
.phone-eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.phone-title {
  font-family: "DM Sans", -apple-system, sans-serif;
  font-size: 19px;
  line-height: 1.3;
  margin: 9px 0 6px;
}
.phone-meta { font-size: 12.5px; color: var(--dim); margin-bottom: 16px; }
.phone-progress {
  height: 4px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}
.phone-progress span {
  display: block;
  width: 38%;
  height: 100%;
  border-radius: 99px;
  background: var(--blue);
}

/* ===== Interactive demo (Cluely-style browser card) ===== */
.demo-section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(80px, 12vw, 140px) 24px 60px;
  text-align: center;
}
.demo-title {
  font-family: "Inter", -apple-system, sans-serif;
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.05;
  color: var(--text);
}
.demo-sub {
  margin-top: 18px;
  font-size: 17px;
  color: var(--muted);
}
.demo-card-wrap {
  position: relative;
  margin: 60px auto 0;
  max-width: 880px;
  padding: 30px 20px;
}
/* Soft brand-tinted halo behind the card */
.demo-card-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 25%, rgba(135, 199, 242, 0.18), transparent 55%),
    radial-gradient(circle at 70% 75%, rgba(95, 169, 176, 0.16), transparent 55%);
  filter: blur(50px);
  border-radius: 32px;
  z-index: 0;
  pointer-events: none;
}
.demo-card {
  position: relative;
  z-index: 1;
  background: #f5f1ea;
  border-radius: 18px;
  overflow: hidden;
  box-shadow:
    0 40px 100px -20px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.04);
  text-align: left;
}
.demo-chrome {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  background: rgba(0, 0, 0, 0.04);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
.demo-dots { display: flex; gap: 7px; }
.demo-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}
.demo-dot-red { background: #ff5f57; }
.demo-dot-yellow { background: #febc2e; }
.demo-dot-green { background: #28c840; }
.demo-url {
  justify-self: center;
  font-family: "Inter", sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: #6b6660;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 6px;
  padding: 5px 14px;
  max-width: 280px;
  text-align: center;
}
.demo-chrome-spacer { width: 56px; }

.demo-stage {
  padding: clamp(36px, 5vw, 60px) clamp(24px, 4vw, 48px);
  color: #1a1a1a;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.demo-stage[hidden] { display: none; }
.demo-prompt {
  display: block;
  font-family: "Inter", sans-serif;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: #1a1a1a;
}
.demo-field {
  margin-top: 28px;
  display: flex;
  gap: 8px;
  align-items: center;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  padding: 5px 5px 5px 18px;
}
.demo-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: "Inter", sans-serif;
  font-size: 15.5px;
  color: #1a1a1a;
  padding: 12px 0;
  min-width: 0;
}
.demo-input::placeholder { color: #9a9a9a; }
.demo-submit {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #1a1a1a;
  color: #f5f1ea;
  border: none;
  border-radius: 9px;
  padding: 11px 16px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}
.demo-submit:hover { background: #000; transform: translateY(-1px); }
.demo-hint {
  margin-top: 16px;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  color: #6b6660;
}

.demo-eyebrow {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #5f86ab;
}
.demo-story-title {
  margin: 12px 0 8px;
  font-family: "DM Sans", -apple-system, sans-serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.15;
  color: #1a1a1a;
  min-height: 1.2em;
}
.demo-story-title::after {
  content: "|";
  margin-left: 2px;
  font-weight: 300;
  color: #5f86ab;
  animation: cursor-blink 0.8s steps(2, start) infinite;
}
.demo-story-title.is-done::after { display: none; }
@keyframes cursor-blink {
  to { opacity: 0; }
}
.demo-story-meta {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  color: #6b6660;
  margin-bottom: 20px;
}

.demo-player {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 12px;
}
.demo-play {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: #1a1a1a;
  color: #f5f1ea;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease);
}
.demo-play:hover { transform: scale(1.04); }
.demo-play svg { width: 16px; height: 16px; }
.demo-waveform {
  flex: 1;
  display: flex;
  gap: 2px;
  align-items: center;
  height: 28px;
  min-width: 0;
}
.demo-waveform .bar {
  flex: 1;
  background: rgba(0, 0, 0, 0.18);
  border-radius: 1px;
  transition: background 0.2s var(--ease);
  transform-origin: center;
}
.demo-waveform.is-playing .bar {
  background: #1a1a1a;
  animation: bar-pulse 1.1s ease-in-out infinite;
}
.demo-waveform.is-playing .bar:nth-child(2n) { animation-delay: 0.12s; }
.demo-waveform.is-playing .bar:nth-child(3n) { animation-delay: 0.28s; }
.demo-waveform.is-playing .bar:nth-child(5n) { animation-delay: 0.42s; }
.demo-waveform.is-playing .bar:nth-child(7n) { animation-delay: 0.55s; }
@keyframes bar-pulse {
  0%, 100% { transform: scaleY(0.45); }
  50%     { transform: scaleY(1); }
}
.demo-time {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: #6b6660;
  font-variant-numeric: tabular-nums;
  min-width: 32px;
  text-align: right;
}
.demo-restart {
  margin-top: 16px;
  align-self: flex-start;
  background: transparent;
  color: #6b6660;
  border: none;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.demo-restart:hover { color: #1a1a1a; }

@media (max-width: 600px) {
  .demo-stage { padding: 28px 22px; }
  .demo-field { flex-direction: column; align-items: stretch; padding: 12px; }
  .demo-submit { width: 100%; justify-content: center; }
  .demo-url { font-size: 11px; max-width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .demo-story-title::after { animation: none; }
  .demo-waveform.is-playing .bar { animation: none; transform: scaleY(0.7); }
}

/* ===== Use-cases panel ===== */
.panel {
  margin-top: 170px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 80px 40px 70px;
  text-align: center;
}
.panel .eyebrow { margin-bottom: 22px; }
.panel-head { font-size: clamp(30px, 3.6vw, 46px); }
.usecase-quotes {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  text-align: left;
}
.usecase-card {
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 28px 26px 30px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.usecase-card:hover {
  border-color: var(--line-strong);
  transform: translateY(-2px);
}
.usecase-label {
  font-family: "Inter", sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.usecase-quote {
  font-family: "DM Sans", -apple-system, sans-serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.4;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.005em;
}

.pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}
.pill {
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 11px 20px;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}
.pill:hover { color: var(--text); border-color: var(--line-strong); }
.pill.is-active {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
  border-color: transparent;
}
.panel-visual {
  margin-top: 48px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 70px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  overflow: hidden;
}
.visual-orb {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 36%, #bce8d4, #4f9892 55%, #2c5050);
  box-shadow: 0 0 110px 10px rgba(95, 169, 176, 0.4);
  animation: breathe 9s ease-in-out infinite;
}
.visual-caption {
  font-family: "DM Sans", -apple-system, sans-serif;
  font-style: italic;
  font-size: 20px;
  color: var(--muted);
}

/* ===== How it works ===== */
.section-head {
  font-size: clamp(30px, 4vw, 52px);
  margin-top: 18px;
}
.section-note {
  margin-top: 16px;
  color: var(--muted);
  font-size: 15.5px;
}
.steps {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 26px 26px 30px;
}
.step-art {
  height: 188px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.art-1 { background: linear-gradient(150deg, #2a4280, #66809b 90%); }
.art-2 { background: linear-gradient(150deg, #5fa9b0, #3d7a78 90%); }
.art-3 { background: linear-gradient(150deg, #1f3a5e, #11202f 90%); }
.art-glyph { font-size: 50px; opacity: 0.92; }
.step-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
}
.step h3 {
  font-family: "DM Sans", -apple-system, sans-serif;
  font-weight: 400;
  font-size: 24px;
  margin: 12px 0 10px;
}
.step p { color: var(--muted); font-size: 14.5px; }

/* ===== Pricing ===== */
.plans {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  align-items: start;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
}
.plan-featured {
  background: var(--surface-2);
  border-color: var(--line-strong);
}
.plan-tag {
  position: absolute;
  top: -12px;
  left: 30px;
  background: var(--blue);
  color: #0d2233;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 999px;
}
.plan-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}
.plan-price {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 44px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin: 14px 0 4px;
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
}
.plan-price .cur {
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.02em;
  align-self: flex-start;
  margin-top: 6px;
}
.plan-price .per {
  font-size: 15px;
  font-weight: 500;
  color: var(--dim);
  letter-spacing: 0;
  align-self: flex-end;
  margin-bottom: 9px;
  margin-left: 2px;
}
.plan-desc { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.plan ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
  margin-bottom: 28px;
}
.plan li {
  font-size: 14px;
  color: var(--muted);
  padding-left: 24px;
  position: relative;
}
.plan li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 13px;
  height: 7px;
  border-left: 1.6px solid var(--blue);
  border-bottom: 1.6px solid var(--blue);
  transform: rotate(-45deg);
}
.plan .btn { margin-top: auto; }

/* ===== FAQ ===== */
.faq { margin-top: 40px; display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 8px;
  cursor: pointer;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-q { font-size: 17px; font-weight: 500; }
.faq-chevron {
  font-size: 26px;
  color: var(--dim);
  transition: transform 0.3s var(--ease);
}
.faq-item[open] .faq-chevron { transform: rotate(90deg); }
.faq-item p {
  color: var(--muted);
  font-size: 15px;
  padding: 0 8px 28px;
  max-width: 760px;
}

/* ===== Closing ===== */
.closing {
  max-width: var(--maxw);
  margin: 200px auto 0;
  padding: 0 40px;
  text-align: center;
}
.closing h2 { font-size: clamp(34px, 5vw, 64px); }
.closing .btn { margin-top: 38px; }

/* ===== Footer ===== */
.footer {
  max-width: var(--maxw);
  margin: 150px auto 60px;
  padding: 0 40px;
}
.footer-banner {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px 28px 0 0;
  border-bottom: none;
  padding: 48px 50px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.footer-mark {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.footer-mark img {
  width: 58px;
  height: 58px;
  display: block;
  border-radius: 12px;
}
.footer-banner p { font-size: clamp(22px, 2.6vw, 34px); }
.footer-cols {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 0 0 28px 28px;
  border-top: 1px solid var(--line);
  padding: 44px 50px 48px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.footer-col { display: flex; flex-direction: column; gap: 13px; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14.5px;
  color: var(--muted);
  transition: color 0.2s var(--ease);
}
.footer-col a:hover { color: var(--text); }

/* ===== Legal pages (Privacy / Terms) ===== */
.legal-nav {
  padding: 22px clamp(20px, 5vw, 60px);
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.legal-shell {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) clamp(16px, 4vw, 40px) clamp(48px, 6vw, 80px);
}
.legal-back {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--muted);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color 0.2s var(--ease);
}
.legal-back:hover { color: var(--text); }

/* The cream-style card within the dark page */
.legal-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: clamp(40px, 6vw, 72px) clamp(28px, 5vw, 60px);
}
.legal-header {
  text-align: center;
  margin-bottom: 40px;
}
.legal-card h1 {
  font-size: clamp(40px, 5.5vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.legal-meta {
  font-family: "Inter", sans-serif;
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--dim);
  margin-top: 10px;
}
.legal-lede {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
}
.legal-card section {
  margin-top: 8px;
}
.legal-card h2 {
  font-family: "Inter", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text);
  margin: 8px 0 14px;
}
.legal-card h3 {
  font-family: "Inter", sans-serif;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text);
  margin: 22px 0 8px;
}
.legal-card p {
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.75;
  margin: 0 0 14px;
}
.legal-card ul,
.legal-card ol {
  list-style: none;
  padding: 0;
  margin: 8px 0 18px;
  counter-reset: legal-ol;
}
.legal-card ol li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
  counter-increment: legal-ol;
}
.legal-card ol li::before {
  content: counter(legal-ol) ".";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--text);
  opacity: 0.7;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.legal-card ul li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 15.5px;
  line-height: 1.7;
}
.legal-card ul li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--text);
  opacity: 0.45;
}
.legal-card ul li strong {
  color: var(--text);
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.2);
  text-underline-offset: 3px;
}
.legal-defs li strong { text-decoration: none; }
.legal-card a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.legal-card hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 32px 0;
}
.legal-fineprint {
  text-align: center;
  font-size: 13px;
  color: var(--dim);
  margin-top: 32px;
}
.legal-footer {
  border-top: 1px solid var(--line);
  padding-top: 60px;
}

/* ===== Stats pill (Cal.ai-style) ===== */
.stats-wrap {
  margin: 90px auto 0;
  padding: 0 24px;
  display: flex;
  justify-content: center;
}
.stats {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 11px 24px;
  max-width: 100%;
}
.stats-text {
  font-family: "Inter", sans-serif;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--text);
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.stats-text strong { font-weight: 700; }
.stats-star {
  color: #ffd166;
  margin: 0 1px;
}
@media (max-width: 520px) {
  .stats {
    padding: 12px 20px;
  }
  .stats-text {
    font-size: 13px;
    white-space: normal;
    text-align: center;
  }
}

/* ===== Testimonials ===== */
.testimonials {
  max-width: var(--maxw);
  margin: 80px auto 0;
  padding: 0 40px;
}
.testimonials .eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 32px;
}
/* Scrolling marquee of review pills */
.testimonials-marquee {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 7%, #000 93%, transparent 100%);
}
.testimonials-row {
  display: flex;
  gap: 12px;
  width: max-content;
  flex-shrink: 0;
  animation: marquee-left 60s linear infinite;
}
.testimonials-row-2 {
  animation: marquee-right 70s linear infinite;
}
@keyframes marquee-left {
  from { transform: translate3d(0, 0, 0); }
  to   { transform: translate3d(-50%, 0, 0); }
}
@keyframes marquee-right {
  from { transform: translate3d(-50%, 0, 0); }
  to   { transform: translate3d(0, 0, 0); }
}
.testimonials-marquee:hover .testimonials-row { animation-play-state: paused; }
.testi-pill {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: "Inter", sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  white-space: nowrap;
}
.testi-stars {
  color: var(--blue);
  font-size: 10px;
  letter-spacing: 2px;
  flex-shrink: 0;
}
.testi-attr {
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--dim);
}
@media (prefers-reduced-motion: reduce) {
  .testimonials-row { animation: none; }
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translate(-50%, 200%);
  z-index: 95;
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(13, 13, 13, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 8px 8px 22px;
  max-width: 92vw;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.cookie-banner.is-shown { transform: translate(-50%, 0); }
.cookie-text {
  font-family: "Inter", sans-serif;
  font-size: 13.5px;
  color: var(--muted);
  white-space: nowrap;
}
.cookie-text a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-dismiss {
  background: var(--text);
  color: var(--bg);
  border: none;
  border-radius: 999px;
  padding: 9px 16px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  white-space: nowrap;
}
@media (max-width: 480px) {
  .cookie-text { white-space: normal; font-size: 12.5px; }
  .cookie-banner { border-radius: 22px; padding: 12px 12px 12px 18px; }
}

/* ===== Sticky mobile download CTA ===== */
.sticky-cta {
  position: fixed;
  bottom: 18px;
  left: 50%;
  transform: translate(-50%, 200%);
  z-index: 90;
  display: none;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: #0d0d0d;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 14.5px;
  padding: 14px 22px;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.sticky-cta.is-shown { transform: translate(-50%, 0); }
@media (max-width: 767px) {
  .sticky-cta { display: inline-flex; }
}
/* While the cookie banner is up, suppress the sticky CTA so they don't stack */
body.cookie-shown .sticky-cta { display: none; }

/* ===== Magnetic CTAs ===== */
.magnetic {
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
/* Override the standard btn :hover translate so the magnetic JS owns the transform */
.btn.magnetic:hover { transform: none; }

/* ===== Hero word-by-word stagger ===== */
.hero-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero-word.in { opacity: 1; transform: none; }

/* ===== Cursor spotlight (desktop only) ===== */
.cursor-spot {
  position: fixed;
  top: 0;
  left: 0;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(135, 199, 242, 0.16) 0%, rgba(135, 199, 242, 0.06) 35%, transparent 65%);
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transform: translate3d(var(--mx, 50vw), var(--my, 50vh), 0) translate(-50%, -50%);
  transition: opacity 0.4s ease-out;
  mix-blend-mode: screen;
  will-change: transform, opacity;
}
.cursor-spot.is-on { opacity: 1; }
@media (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-spot { display: none; }
}

/* ===== Phone parallax tilt ===== */
.hero-phone { perspective: 1000px; }
.hero-phone .phone {
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

/* ===== Reveal ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .qr-card { display: none; }
}
@media (max-width: 767px) {
  .nav-inner { gap: 22px; }
  .nav-links { display: none; }
  .nav > .appstore-badge { display: none; }
  .nav-toggle { display: flex; }
  .hero { padding-top: 150px; }
  .hero-sub br { display: none; }
  .steps,
  .plans { grid-template-columns: 1fr; }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .footer-banner { flex-direction: column; text-align: center; gap: 22px; }
  .panel { padding: 56px 24px 50px; }
  .section { margin-top: 120px; padding: 0 24px; }
  .panel,
  .hero,
  .closing,
  .footer { padding-left: 24px; padding-right: 24px; }
}
@media (max-width: 520px) {
  .hero h1 br,
  .panel-head br,
  .section-head br,
  .closing h2 br,
  .footer-banner p br { display: none; }
  .footer-cols { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .breathe-orb, .visual-orb, .star { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
