:root {
  color-scheme: light;
  --primary-50: #f0f9ff;
  --primary-100: #e0f2fe;
  --primary-500: #0ea5e9;
  --primary-600: #0284c7;
  --primary-700: #0369a1;
  --secondary-50: #ecfdf5;
  --secondary-500: #10b981;
  --secondary-700: #047857;
  --accent-50: #f5f3ff;
  --accent-500: #8b5cf6;
  --neutral-50: #f8fafc;
  --neutral-100: #f1f5f9;
  --neutral-200: #e2e8f0;
  --neutral-300: #cbd5e1;
  --neutral-500: #64748b;
  --neutral-700: #334155;
  --neutral-800: #1e293b;
  --neutral-900: #0f172a;
  --surface: #ffffff;
  --warning-50: #fffbeb;
  --warning-700: #b45309;
  --danger-50: #fef2f2;
  --danger-700: #b91c1c;
  --shadow-sm: 0 1px 2px rgb(15 23 42 / 0.06);
  --shadow-md: 0 10px 30px rgb(15 23 42 / 0.08);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --content: 1120px;
  --legal: 820px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgb(14 165 233 / 0.08), transparent 34rem),
    linear-gradient(180deg, #ffffff 0, var(--neutral-50) 54rem);
  color: var(--neutral-800);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

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

a:hover {
  text-decoration: underline;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgb(255 255 255 / 0.94);
  border-bottom: 1px solid var(--neutral-200);
  backdrop-filter: blur(14px);
  transition: box-shadow 180ms ease, border-color 180ms ease;
}

.site-header.is-scrolled {
  border-color: rgb(203 213 225 / 0.75);
  box-shadow: 0 16px 40px rgb(15 23 42 / 0.08);
}

.nav-shell,
.section-shell,
.footer-shell {
  width: min(100% - 32px, var(--content));
  margin: 0 auto;
}

.nav-shell {
  display: flex;
  min-height: 72px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--neutral-900);
  font-weight: 750;
  letter-spacing: 0;
}

.brand:hover {
  text-decoration: none;
}

.brand img {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  border-radius: var(--radius-sm);
  color: var(--neutral-700);
  font-size: 0.94rem;
  font-weight: 650;
  padding: 8px 10px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  background: var(--primary-50);
  color: var(--primary-700);
  text-decoration: none;
}

.hero {
  background:
    linear-gradient(135deg, rgb(255 255 255 / 0.96) 0%, rgb(240 249 255 / 0.92) 50%, rgb(236 253 245 / 0.8) 100%);
  border-bottom: 1px solid var(--neutral-200);
  position: relative;
  overflow: hidden;
}

.hero::after {
  position: absolute;
  right: 7%;
  bottom: -1px;
  width: min(520px, 46vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--primary-500), var(--secondary-500), transparent);
  content: "";
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 48px;
  align-items: center;
  padding: 76px 0 64px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  border: 1px solid var(--primary-100);
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 5px 11px;
}

.eyebrow::before {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--secondary-500);
  content: "";
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--neutral-900);
  line-height: 1.12;
  letter-spacing: 0;
}

h1 {
  max-width: 680px;
  font-size: clamp(2.4rem, 6vw, 4.45rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.45rem);
  font-weight: 780;
}

h3 {
  font-size: 1.08rem;
  font-weight: 760;
}

.hero-copy {
  max-width: 640px;
  margin: 18px 0 0;
  color: var(--neutral-700);
  font-size: 1.15rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 28px;
}

.hero-metrics div {
  border: 1px solid rgb(14 165 233 / 0.16);
  border-radius: var(--radius-md);
  background: rgb(255 255 255 / 0.78);
  padding: 12px;
  box-shadow: var(--shadow-sm);
}

.hero-metrics strong {
  display: block;
  color: var(--neutral-900);
  font-size: 1.25rem;
  line-height: 1.1;
}

.hero-metrics span {
  display: block;
  margin-top: 4px;
  color: var(--neutral-500);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero-actions,
.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 28px;
}

.store-button {
  display: inline-flex;
  min-width: 184px;
  min-height: 56px;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--neutral-300);
  border-radius: var(--radius-md);
  background: var(--neutral-900);
  color: #ffffff;
  padding: 9px 14px;
  box-shadow: var(--shadow-sm);
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.store-button:hover {
  background: var(--neutral-800);
  box-shadow: 0 12px 24px rgb(15 23 42 / 0.18);
  transform: translateY(-2px);
  text-decoration: none;
}

.store-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
}

.store-mark {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border-radius: 7px;
  background: rgb(255 255 255 / 0.12);
  font-size: 1rem;
  font-weight: 800;
}

.store-label {
  display: block;
  color: rgb(255 255 255 / 0.78);
  font-size: 0.72rem;
  line-height: 1.1;
}

.store-name {
  display: block;
  color: #ffffff;
  font-size: 1.06rem;
  font-weight: 750;
  line-height: 1.2;
}

.status-note {
  margin: 16px 0 0;
  color: var(--neutral-500);
  font-size: 0.95rem;
}

.phone-visual {
  display: grid;
  justify-items: center;
  perspective: 1200px;
}

.phone-frame {
  width: min(100%, 360px);
  border: 1px solid var(--neutral-200);
  border-radius: 28px;
  background: #ffffff;
  box-shadow: 0 24px 70px rgb(15 23 42 / 0.14);
  padding: 16px;
  transform: rotateX(4deg) rotateY(-8deg);
  transition: transform 240ms ease, box-shadow 240ms ease;
  animation: floatPhone 7s ease-in-out infinite;
}

.phone-frame:hover {
  box-shadow: 0 30px 90px rgb(15 23 42 / 0.18);
  transform: rotateX(0deg) rotateY(0deg) translateY(-6px);
}

.phone-screen {
  min-height: 560px;
  overflow: hidden;
  border: 1px solid var(--neutral-200);
  border-radius: 20px;
  background:
    linear-gradient(180deg, #ffffff 0, var(--neutral-50) 34%),
    var(--neutral-50);
}

.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--neutral-200);
  background: #ffffff;
  padding: 18px;
}

.phone-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.phone-brand img {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.sync-chip {
  border-radius: 999px;
  background: var(--secondary-50);
  color: var(--secondary-700);
  font-size: 0.76rem;
  font-weight: 800;
  padding: 4px 9px;
  animation: pulseChip 2.8s ease-in-out infinite;
}

.search-pill {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 16px 18px 0;
  border: 1px solid var(--neutral-200);
  border-radius: 999px;
  background: #ffffff;
  color: var(--neutral-500);
  font-size: 0.84rem;
  font-weight: 650;
  padding: 10px 12px;
}

.search-pill span {
  width: 10px;
  height: 10px;
  border: 2px solid var(--primary-500);
  border-radius: 999px;
  box-shadow: 7px 7px 0 -5px var(--primary-500);
}

.doc-stack {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.doc-card {
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 15px;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.doc-card:hover,
.doc-card.active-doc {
  border-color: rgb(14 165 233 / 0.45);
  box-shadow: 0 12px 28px rgb(14 165 233 / 0.12);
  transform: translateX(4px);
}

.doc-card.primary {
  border-color: #bae6fd;
  background: #f8fdff;
}

.doc-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--neutral-500);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.doc-title {
  color: var(--neutral-900);
  font-size: 1rem;
  font-weight: 800;
}

.doc-lines {
  display: grid;
  gap: 7px;
  margin-top: 12px;
}

.doc-line {
  height: 8px;
  border-radius: 999px;
  background: var(--neutral-200);
}

.doc-line.short {
  width: 58%;
}

.scan-panel {
  margin: 0 18px 18px;
  border: 1px solid #a7f3d0;
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 15px;
}

.scan-panel strong {
  display: block;
  color: var(--secondary-700);
  margin-bottom: 8px;
}

.progress {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--neutral-100);
}

.progress span {
  display: block;
  width: 72%;
  height: 100%;
  border-radius: inherit;
  background: var(--secondary-500);
  animation: progressSweep 4.2s ease-in-out infinite;
}

.scan-panel small {
  display: block;
  margin-top: 8px;
  color: var(--neutral-500);
  font-size: 0.76rem;
  font-weight: 650;
}

section {
  padding: 72px 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-heading p {
  max-width: 520px;
  margin: 0;
  color: var(--neutral-600, #475569);
}

.feature-grid,
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.feature-card,
.trust-card,
.support-card {
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 20px;
  box-shadow: var(--shadow-sm);
  transform: translateY(0);
  transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease;
}

.feature-card:hover,
.trust-card:hover,
.support-card:hover {
  border-color: rgb(14 165 233 / 0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-5px);
}

.feature-card p,
.trust-card p,
.support-card p {
  margin: 9px 0 0;
  color: var(--neutral-700);
}

.icon-tile {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 850;
}

.feature-card:nth-child(2n) .icon-tile {
  background: var(--secondary-50);
  color: var(--secondary-700);
}

.feature-card:nth-child(3n) .icon-tile {
  background: var(--accent-50);
  color: var(--accent-500);
}

.privacy-band {
  background: #ffffff;
  border-block: 1px solid var(--neutral-200);
}

.workflow-band {
  background:
    linear-gradient(180deg, #ffffff 0%, var(--primary-50) 100%);
  border-block: 1px solid var(--neutral-200);
}

.workflow-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 36px;
  align-items: center;
}

.workflow-copy {
  max-width: 520px;
  color: var(--neutral-700);
}

.step-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.step-button {
  border: 1px solid var(--neutral-300);
  border-radius: 999px;
  background: #ffffff;
  color: var(--neutral-700);
  cursor: pointer;
  font: inherit;
  font-weight: 750;
  padding: 9px 14px;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.step-button:hover {
  border-color: var(--primary-500);
  color: var(--primary-700);
  transform: translateY(-1px);
}

.step-button.is-active {
  border-color: var(--primary-500);
  background: var(--primary-500);
  color: #ffffff;
}

.workflow-preview {
  position: relative;
  min-height: 312px;
}

.workflow-card {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  border: 1px solid rgb(14 165 233 / 0.2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, #ffffff 0%, rgb(236 253 245 / 0.86) 100%);
  box-shadow: var(--shadow-md);
  opacity: 0;
  padding: clamp(24px, 5vw, 44px);
  pointer-events: none;
  transform: translateY(16px) scale(0.98);
  transition: opacity 220ms ease, transform 220ms ease;
}

.workflow-card.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.workflow-card span {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: var(--radius-md);
  background: var(--neutral-900);
  color: #ffffff;
  font-weight: 850;
}

.workflow-card h3 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.workflow-card p {
  max-width: 540px;
  margin: 12px 0 0;
  color: var(--neutral-700);
  font-size: 1.04rem;
}

.callout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.55fr);
  gap: 28px;
  align-items: center;
  border: 1px solid #bae6fd;
  border-radius: var(--radius-lg);
  background: var(--primary-50);
  padding: 28px;
}

.callout p {
  margin: 12px 0 0;
  color: var(--neutral-700);
}

.callout-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.callout-list li {
  border: 1px solid rgb(14 165 233 / 0.18);
  border-radius: var(--radius-sm);
  background: #ffffff;
  padding: 10px 12px;
  color: var(--neutral-700);
  font-weight: 650;
}

.disclaimer-strip {
  border-top: 1px solid var(--neutral-200);
  background: var(--warning-50);
  padding: 26px 0;
}

.disclaimer-strip p {
  margin: 0;
  color: var(--warning-700);
  font-weight: 650;
}

.page-hero {
  border-bottom: 1px solid var(--neutral-200);
  background: #ffffff;
  padding: 56px 0;
}

.page-hero .section-shell {
  max-width: var(--legal);
}

.page-hero p {
  max-width: 720px;
  margin: 16px 0 0;
  color: var(--neutral-700);
  font-size: 1.08rem;
}

.legal-shell {
  width: min(100% - 32px, var(--legal));
  margin: 0 auto;
  padding: 48px 0 72px;
}

.legal-card {
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: clamp(22px, 4vw, 42px);
  box-shadow: var(--shadow-sm);
}

.legal-card h2 {
  margin-top: 34px;
  font-size: 1.35rem;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card h3 {
  margin-top: 24px;
}

.legal-card p,
.legal-card li {
  color: var(--neutral-700);
}

.legal-card ul,
.legal-card ol {
  padding-left: 1.25rem;
}

.legal-card li + li {
  margin-top: 8px;
}

.notice {
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  background: var(--warning-50);
  color: var(--warning-700);
  padding: 14px 16px;
}

.danger-notice {
  border-color: #fecaca;
  background: var(--danger-50);
  color: var(--danger-700);
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.faq-section {
  background: #ffffff;
  border-top: 1px solid var(--neutral-200);
}

.faq-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.7fr) minmax(0, 1.3fr);
  gap: 32px;
}

.faq-intro {
  display: grid;
  align-content: start;
  gap: 18px;
}

.text-button {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--primary-100);
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  font-weight: 800;
  padding: 10px 14px;
  transition: background 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.text-button:hover {
  border-color: rgb(14 165 233 / 0.35);
  background: #ffffff;
  text-decoration: none;
  transform: translateY(-1px);
}

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

.faq-item {
  width: 100%;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-md);
  background: #ffffff;
  color: var(--neutral-800);
  cursor: pointer;
  font: inherit;
  padding: 18px 20px;
  text-align: left;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.faq-item:hover {
  border-color: rgb(14 165 233 / 0.32);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.faq-item span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--neutral-900);
  font-weight: 800;
}

.faq-item span::after {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--primary-50);
  color: var(--primary-700);
  content: "+";
  display: grid;
  flex: 0 0 auto;
  font-weight: 850;
  place-items: center;
}

.faq-item small {
  display: block;
  max-height: 0;
  color: var(--neutral-700);
  font-size: 0.98rem;
  line-height: 1.55;
  margin-top: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 220ms ease, margin-top 220ms ease, opacity 220ms ease;
}

.faq-item.is-open span::after {
  content: "-";
}

.faq-item.is-open small {
  max-height: 180px;
  margin-top: 10px;
  opacity: 1;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
}

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

@keyframes floatPhone {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -10px;
  }
}

@keyframes pulseChip {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgb(16 185 129 / 0);
  }
  50% {
    box-shadow: 0 0 0 7px rgb(16 185 129 / 0.12);
  }
}

@keyframes progressSweep {
  0%,
  100% {
    width: 46%;
  }
  50% {
    width: 86%;
  }
}

.site-footer {
  border-top: 1px solid var(--neutral-200);
  background: #ffffff;
  padding: 36px 0;
}

.footer-shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
}

.footer-brand {
  display: grid;
  gap: 14px;
}

.footer-brand p {
  margin: 0;
  color: var(--neutral-700);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px 18px;
}

.footer-links a {
  color: var(--neutral-700);
  font-weight: 650;
}

.copyright {
  margin-top: 20px;
  color: var(--neutral-500);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 14px 0;
  }

  .nav-links {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .hero-grid,
  .callout,
  .workflow-grid,
  .faq-grid,
  .footer-shell {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    padding: 52px 0 44px;
  }

  .phone-screen {
    min-height: 500px;
  }

  .phone-frame {
    transform: none;
  }

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

  .workflow-preview {
    min-height: 280px;
  }
}

@media (max-width: 620px) {
  .nav-shell,
  .section-shell,
  .footer-shell,
  .legal-shell {
    width: min(100% - 24px, var(--content));
  }

  section {
    padding: 52px 0;
  }

  .section-heading {
    display: block;
  }

  .section-heading p {
    margin-top: 12px;
  }

  .feature-grid,
  .trust-grid,
  .support-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .store-button {
    width: 100%;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .callout {
    padding: 20px;
  }

  .workflow-card {
    position: relative;
    display: none;
    min-height: 280px;
  }

  .workflow-card.is-active {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
