:root {
  color-scheme: dark;
  --bg: #05070b;
  --bg-2: #080c14;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-2: rgba(255, 255, 255, 0.09);
  --text: #f8fbff;
  --muted: #a6afc0;
  --muted-2: #c9d1de;
  --line: rgba(255, 255, 255, 0.13);
  --line-2: rgba(255, 255, 255, 0.22);
  --accent: #0a84ff;
  --accent-2: #64d2ff;
  --green: #83e8be;
  --amber: #ffd58b;
  --danger: #ff8f9b;
  --shadow: 0 28px 90px rgba(0, 0, 0, 0.48);
  --ease: cubic-bezier(0.2, 0.75, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -22%, rgba(10, 132, 255, 0.12), transparent 31rem),
    linear-gradient(180deg, var(--bg) 0%, #07090f 56%, #05070b 100%);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 42%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), transparent 72%);
}

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

a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}

p,
li {
  color: var(--muted);
}

p,
ul {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--text);
  letter-spacing: 0;
}

h1 {
  max-width: 920px;
  font-size: clamp(3.35rem, 12vw, 8rem);
  font-weight: 820;
  line-height: 0.9;
}

h2 {
  max-width: 790px;
  font-size: clamp(2.1rem, 6vw, 5rem);
  font-weight: 790;
  line-height: 0.98;
}

h3 {
  font-size: 1.08rem;
  line-height: 1.22;
}

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
  padding: 16px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--text);
  font-size: 1rem;
  font-weight: 850;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 7, 11, 0.74);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.28);
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--muted-2);
  font-size: 0.86rem;
  font-weight: 700;
}

.nav-links a:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
}

.nav-links .nav-cta {
  background: rgba(10, 132, 255, 0.18);
  color: var(--accent);
}

.section-pad {
  padding: 92px 0;
}

.announcement {
  padding: 12px 0 0;
}

.announcement p {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(10, 132, 255, 0.22);
  border-radius: 999px;
  background: rgba(10, 132, 255, 0.08);
  color: var(--muted-2);
  font-size: 0.9rem;
  font-weight: 720;
}

.hero {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding-top: 42px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.72fr);
  gap: 58px;
  align-items: center;
}

.hero-copy {
  padding: 34px 0;
}

.memory-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.memory-strip span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 36px;
  padding: 8px 11px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.045);
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
}

.memory-strip strong {
  color: var(--text);
}

.eyebrow {
  margin-bottom: 17px;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-subtitle,
.section-lede,
.doc-hero p {
  color: var(--muted-2);
  font-size: clamp(1.12rem, 2.4vw, 1.45rem);
  line-height: 1.45;
}

.hero-subtitle {
  max-width: 690px;
  margin-top: 25px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border-radius: 8px;
  font-size: 0.96rem;
  font-weight: 830;
  line-height: 1;
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), background 180ms var(--ease);
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  background: linear-gradient(180deg, #64d2ff 0%, #0a84ff 100%);
  color: #f8fbff;
  box-shadow: 0 12px 28px rgba(10, 132, 255, 0.2);
}

.button.secondary {
  border: 1px solid var(--line-2);
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.trust-line {
  margin-top: 18px;
  color: #dde5f2;
  font-size: 0.98rem;
  font-weight: 650;
}

.honest-line {
  margin-top: 8px;
  color: #8894a8;
  font-size: 0.9rem;
}

.demo-stage {
  position: relative;
}

.demo-glow {
  position: absolute;
  inset: 12% -3%;
  border-radius: 42px;
  background: radial-gradient(circle, rgba(10, 132, 255, 0.13), transparent 66%);
  filter: blur(18px);
}

.app-mockup {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid var(--line-2);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.045)),
    #0b0f17;
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.16);
}

.app-mockup::before {
  content: "";
  position: absolute;
  inset: -30% -20% auto;
  height: 230px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08), transparent 64%);
}

.mock-header {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 30px;
}

.mock-header span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.23);
}

.mock-header span:first-child {
  background: var(--accent);
}

.mock-header strong {
  margin-left: auto;
  color: var(--muted);
  font-size: 0.78rem;
}

.search-box {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  margin-top: 18px;
  padding: 0 16px;
  border: 1px solid rgba(10, 132, 255, 0.42);
  border-radius: 18px;
  background: rgba(1, 7, 14, 0.7);
  color: var(--text);
  font-size: 1.13rem;
  font-weight: 780;
}

.search-lens {
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  position: relative;
  flex: 0 0 auto;
}

.search-lens::after {
  content: "";
  position: absolute;
  width: 7px;
  height: 2px;
  right: -5px;
  bottom: -3px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}

.caret {
  width: 2px;
  height: 22px;
  background: var(--accent);
  animation: blink 0.8s steps(2, start) infinite;
}

@keyframes blink {
  50% { opacity: 0; }
}

.system-lines {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.system-lines span {
  color: #9aa7ba;
  font-size: 0.83rem;
  font-weight: 700;
  opacity: 0;
  animation: status 4.2s infinite;
}

.system-lines span:nth-child(2) { animation-delay: 0.55s; }
.system-lines span:nth-child(3) { animation-delay: 1.1s; }
.system-lines span:nth-child(4) { animation-delay: 1.65s; color: var(--green); }

@keyframes status {
  0%, 12% { opacity: 0; transform: translateY(4px); }
  22%, 82% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0.55; }
}

.demo-result {
  position: relative;
  min-height: 238px;
  padding: 18px;
  border: 1px solid rgba(10, 132, 255, 0.24);
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.09), rgba(255, 255, 255, 0.05));
}

.demo-result.swap-in {
  animation: swapIn 520ms var(--ease);
}

@keyframes swapIn {
  from { opacity: 0.2; transform: translateY(10px); filter: blur(8px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.result-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 13px;
}

.result-meta span:first-child {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 5px 10px;
  border: 1px solid rgba(131, 232, 190, 0.32);
  border-radius: 999px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 850;
}

.result-meta span:last-child {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 760;
}

.demo-result p {
  min-height: 52px;
  color: #edf4ff;
  font-size: 1.02rem;
}

.jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  margin-top: 14px;
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(10, 132, 255, 0.15);
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 850;
}

.timeline {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
}

.time {
  color: #8490a3;
  font-size: 0.76rem;
  font-weight: 760;
}

.track {
  position: relative;
  height: 7px;
  flex: 1;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.12);
}

.playhead {
  position: absolute;
  top: 50%;
  left: 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 16px rgba(10, 132, 255, 0.42);
  transform: translate(-4px, -50%);
}

.timeline-run .playhead {
  animation: jumpPlayhead 1.35s var(--ease) forwards;
}

.timeline-run .jump-link {
  animation: pulseCta 1.35s var(--ease);
}

@keyframes jumpPlayhead {
  from { left: 0%; }
  to { left: 78%; }
}

@keyframes pulseCta {
  35% { box-shadow: 0 0 0 7px rgba(10, 132, 255, 0.11); }
}

.fake-screenshot {
  display: none;
  position: relative;
  min-height: 72px;
  margin-top: 16px;
  padding: 13px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.18);
}

.app-mockup[data-mode="screenshot"] .timeline {
  display: none;
}

.app-mockup[data-mode="screenshot"] .fake-screenshot {
  display: grid;
  gap: 7px;
}

.screen-row {
  display: block;
  width: 72%;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
}

.screen-row.wide { width: 92%; }
.screen-row.short { width: 48%; }

.fake-screenshot strong {
  color: var(--green);
  font-size: 0.78rem;
}

.scan-line {
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, transparent, var(--accent), transparent);
  opacity: 0;
}

.scan-run .scan-line {
  animation: scan 1.1s var(--ease);
}

@keyframes scan {
  0% { left: 0; opacity: 0; }
  15%, 80% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}

.split,
.pricing-home,
.faq-preview,
.doc-split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 52px;
  align-items: start;
}

.section-lede {
  max-width: 680px;
}

.check-list,
.compare-card ul,
.price-card ul,
.doc-list {
  display: grid;
  gap: 11px;
  margin-top: 22px;
  padding-left: 18px;
}

.check-list li::marker,
.price-card li::marker,
.compare-card li::marker,
.doc-list li::marker {
  color: var(--accent);
}

.surface {
  border-block: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.022);
}

.fragment-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 34px;
}

.fragment-grid span,
.feature-card,
.compare-card,
.privacy-flow,
.price-card,
.faq-list details,
.doc-card,
.support-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
}

.fragment-grid span {
  min-height: 98px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: var(--muted-2);
  font-weight: 760;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}

.feature-card {
  min-height: 230px;
  padding: 22px;
}

.feature-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 28px;
  margin-bottom: 34px;
  border: 1px solid rgba(10, 132, 255, 0.24);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.74rem;
  font-weight: 850;
}

.feature-card p,
.doc-card p,
.support-card p {
  margin-top: 10px;
}

.compare-grid,
.price-pair,
.pricing-cards,
.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.compare-card {
  min-height: 360px;
  padding: 28px;
}

.compare-card.before {
  background: linear-gradient(180deg, rgba(255, 143, 155, 0.08), var(--panel));
}

.compare-card.after {
  background: linear-gradient(180deg, rgba(10, 132, 255, 0.1), var(--panel));
  border-color: rgba(10, 132, 255, 0.27);
}

.privacy-flow {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  padding: 32px;
  background:
    linear-gradient(135deg, rgba(10, 132, 255, 0.1), transparent 44%),
    var(--panel);
}

.privacy-flow p {
  max-width: 760px;
  margin-top: 16px;
  color: var(--muted-2);
  font-size: 1.1rem;
}

.flow {
  display: grid;
  grid-template-columns: 1fr 70px 1fr 70px 1fr;
  align-items: center;
  gap: 12px;
}

.flow span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.18);
  color: var(--text);
  font-weight: 820;
  text-align: center;
}

.flow i {
  height: 2px;
  border-radius: 99px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform-origin: left;
  animation: flowLine 2.4s var(--ease) infinite;
}

@keyframes flowLine {
  0% { transform: scaleX(0.1); opacity: 0.35; }
  55% { transform: scaleX(1); opacity: 1; }
  100% { transform: scaleX(0.1); opacity: 0.35; }
}

.privacy-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 24px;
  padding-left: 18px;
}

.price-card {
  padding: 25px;
}

.price-card.pro {
  border-color: rgba(10, 132, 255, 0.3);
  background: var(--panel-2);
}

.price-card .price {
  margin-top: 10px;
  color: var(--accent);
  font-size: 1.45rem;
  font-weight: 850;
}

.pricing-note {
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.94rem;
}

.faq-list {
  display: grid;
  gap: 10px;
}

summary {
  cursor: pointer;
  padding: 18px;
  color: var(--text);
  font-weight: 800;
}

details p {
  padding: 0 18px 18px;
}

.final-cta {
  text-align: center;
}

.final-cta h2 {
  margin-inline: auto;
}

.final-cta .button {
  margin-top: 26px;
}

.doc-hero {
  padding: 76px 0 50px;
}

.doc-hero h1 {
  max-width: 900px;
  font-size: clamp(3rem, 10vw, 6.4rem);
}

.doc-hero p:not(.eyebrow) {
  max-width: 760px;
  margin-top: 24px;
}

.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.doc-card,
.support-card {
  padding: 24px;
}

.doc-card.full {
  grid-column: 1 / -1;
}

.not-yet {
  border-color: rgba(255, 213, 139, 0.26);
  background: linear-gradient(180deg, rgba(255, 213, 139, 0.08), var(--panel));
}

.support-card a,
.doc-card a,
.doc-hero a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer {
  padding: 30px 0;
  border-top: 1px solid var(--line);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.footer p,
.footer a {
  color: #8f9aac;
  font-size: 0.9rem;
}

.footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer a:hover {
  color: var(--text);
}

.reveal {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms var(--ease), transform 700ms var(--ease);
  }

  .reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .feature-grid .reveal:nth-child(2),
  .fragment-grid .reveal:nth-child(2),
  .price-pair .reveal:nth-child(2) {
    transition-delay: 80ms;
  }

  .feature-grid .reveal:nth-child(3),
  .fragment-grid .reveal:nth-child(3) {
    transition-delay: 140ms;
  }

  .feature-grid .reveal:nth-child(4),
  .fragment-grid .reveal:nth-child(4) {
    transition-delay: 200ms;
  }
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
  }

  .hero-grid,
  .split,
  .pricing-home,
  .faq-preview,
  .doc-split {
    grid-template-columns: 1fr;
  }

  .fragment-grid,
  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .container {
    width: min(100% - 28px, 1160px);
  }

  .site-header {
    position: relative;
    width: min(100% - 28px, 1200px);
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .nav-links {
    width: 100%;
    justify-content: flex-start;
    border-radius: 18px;
  }

  .nav-links a {
    min-height: 32px;
    padding: 7px 10px;
    font-size: 0.82rem;
  }

  .section-pad {
    padding: 62px 0;
  }

  .hero {
    padding-top: 22px;
  }

  .hero-copy {
    padding: 16px 0 0;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 50px;
  }

  .app-mockup {
    border-radius: 24px;
    padding: 14px;
  }

  .system-lines {
    gap: 6px;
  }

  .demo-result {
    min-height: 230px;
  }

  .fragment-grid,
  .feature-grid,
  .compare-grid,
  .price-pair,
  .pricing-cards,
  .support-grid,
  .doc-grid,
  .privacy-details {
    grid-template-columns: 1fr;
  }

  .flow {
    grid-template-columns: 1fr;
  }

  .flow i {
    width: 2px;
    height: 28px;
    justify-self: center;
    transform-origin: top;
    background: linear-gradient(180deg, transparent, var(--accent), transparent);
  }

  .doc-card.full {
    grid-column: auto;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}
