/* ===================== Design tokens ===================== */
:root {
  --ink: #0b1512;
  --ink-soft: #3a4a45;
  --paper: #f7f8f6;
  --paper-alt: #eef1ee;
  --line: rgba(11, 21, 18, 0.1);
  --teal-900: #0a2e28;
  --teal-700: #0f766e;
  --teal-500: #14b8a6;
  --teal-300: #5eead4;
  --gold: #eab308;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow-soft: 0 20px 60px rgba(10, 30, 25, 0.12);
  --font-display: 'Fraunces', serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; margin: 0; letter-spacing: -0.01em; }
p { margin: 0; line-height: 1.6; }
ul { margin: 0; padding: 0; list-style: none; }

.text-gradient {
  background: linear-gradient(100deg, var(--teal-300), var(--gold) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===================== Reveal-on-scroll ===================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s cubic-bezier(.22,1,.36,1), transform 0.9s cubic-bezier(.22,1,.36,1);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===================== Buttons ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  border-radius: 999px;
  padding: 13px 24px;
  font-size: 0.95rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(120deg, var(--teal-500), var(--teal-700));
  color: #fff;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.35);
}
.btn-primary:hover { box-shadow: 0 16px 36px rgba(15, 118, 110, 0.45); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { background: rgba(11,21,18,0.05); }
.btn-large { padding: 16px 30px; font-size: 1.02rem; }
.btn-small { padding: 9px 18px; font-size: 0.85rem; }
.btn-full { width: 100%; margin-top: 18px; }

/* ===================== Nav ===================== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: rgba(247, 248, 246, 0.75);
  backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 rgba(11,21,18,0.06);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.05rem;
  color: var(--ink);
}
.nav.scrolled ~ .hero .brand,
.hero .brand { color: #fff; }
.brand-mark { width: 30px; height: 30px; border-radius: 9px; }
.nav-links { display: flex; gap: 30px; }
.nav-right { display: flex; align-items: center; gap: 18px; }
.nav-privacy { font-size: 0.88rem; font-weight: 600; color: var(--ink-soft); transition: color 0.2s ease; }
.nav-privacy:hover { color: var(--teal-700); }
.nav:not(.scrolled) .nav-privacy { color: rgba(255,255,255,0.75); }
.nav:not(.scrolled) .nav-privacy:hover { color: #fff; }
.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink-soft);
  transition: color 0.2s ease;
}
.nav-links a:hover { color: var(--teal-700); }

/* Nav sits over the dark hero until scrolled */
.nav:not(.scrolled) .brand,
.nav:not(.scrolled) .nav-links a { color: rgba(255,255,255,0.92); }
.nav:not(.scrolled) .nav-links a:hover { color: #fff; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: radial-gradient(120% 120% at 20% 0%, #123f38 0%, #071813 55%, #05100d 100%);
  overflow: hidden;
  padding: 140px 28px 80px;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
.hero-glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 900px;
  max-height: 900px;
  right: -15%;
  top: 10%;
  background: radial-gradient(circle, rgba(94,234,212,0.25), transparent 65%);
  filter: blur(20px);
  pointer-events: none;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.hero-copy .eyebrow { margin-left: auto; margin-right: auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--teal-300);
  background: rgba(94, 234, 212, 0.1);
  border: 1px solid rgba(94, 234, 212, 0.25);
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}
.eyebrow-dark { color: var(--teal-700); background: rgba(15,118,110,0.08); border-color: rgba(15,118,110,0.2); }
.eyebrow.light { color: var(--teal-300); background: rgba(94,234,212,0.12); border-color: rgba(94,234,212,0.3); }
.dot-pulse {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--teal-300);
  box-shadow: 0 0 0 0 rgba(94,234,212,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(94,234,212,0.55); }
  70% { box-shadow: 0 0 0 10px rgba(94,234,212,0); }
  100% { box-shadow: 0 0 0 0 rgba(94,234,212,0); }
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.7rem);
  color: #fff;
  line-height: 1.08;
}
.hero-sub {
  margin: 22px auto 0;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
}
.hero-sub strong { color: var(--teal-300); }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; justify-content: center; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.25); }
.hero .btn-ghost:hover { background: rgba(255,255,255,0.08); }
.hero-trust {
  margin-top: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255,255,255,0.55);
  font-size: 0.82rem;
}
.stars { color: var(--gold); letter-spacing: 2px; }

/* Phone cluster - fans out several screens right in the hero */
.phone-cluster {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  width: 100%;
  max-width: 1180px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.cluster-phone {
  width: 200px;
  border-radius: 30px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5), 0 0 0 5px rgba(255,255,255,0.06);
  animation: float 7s ease-in-out infinite;
}
.cluster-center {
  width: 250px;
  position: relative;
  z-index: 3;
  animation-delay: 0s;
}
.cluster-near {
  z-index: 2;
  margin-bottom: -14px;
  filter: brightness(0.82);
  animation-delay: 0.6s;
}
.cluster-near.cluster-left { transform: rotate(-9deg) translateX(18px); }
.cluster-near.cluster-right { transform: rotate(9deg) translateX(-18px); }
.cluster-far {
  z-index: 1;
  margin-bottom: -34px;
  filter: brightness(0.62);
  animation-delay: 1.2s;
  display: none;
}
.cluster-far.cluster-left { transform: rotate(-17deg) translateX(30px); }
.cluster-far.cluster-right { transform: rotate(17deg) translateX(-30px); }
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.cluster-near.cluster-left { animation-name: floatNearLeft; }
.cluster-near.cluster-right { animation-name: floatNearRight; }
.cluster-far.cluster-left { animation-name: floatFarLeft; }
.cluster-far.cluster-right { animation-name: floatFarRight; }
@keyframes floatNearLeft {
  0%, 100% { transform: rotate(-9deg) translateX(18px) translateY(0); }
  50% { transform: rotate(-9deg) translateX(18px) translateY(-14px); }
}
@keyframes floatNearRight {
  0%, 100% { transform: rotate(9deg) translateX(-18px) translateY(0); }
  50% { transform: rotate(9deg) translateX(-18px) translateY(-14px); }
}
@keyframes floatFarLeft {
  0%, 100% { transform: rotate(-17deg) translateX(30px) translateY(0); }
  50% { transform: rotate(-17deg) translateX(30px) translateY(-10px); }
}
@keyframes floatFarRight {
  0%, 100% { transform: rotate(17deg) translateX(-30px) translateY(0); }
  50% { transform: rotate(17deg) translateX(-30px) translateY(-10px); }
}
@media (min-width: 700px) {
  .cluster-phone { width: 230px; }
  .cluster-center { width: 280px; }
  .cluster-far { display: block; }
}
@media (min-width: 1000px) {
  .cluster-phone { width: 260px; }
  .cluster-center { width: 310px; }
}

.scroll-cue {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}
.scroll-line { width: 1px; height: 40px; background: rgba(255,255,255,0.2); overflow: hidden; }
.scroll-line i {
  display: block; width: 100%; height: 14px;
  background: var(--teal-300);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { transform: translateY(-14px); }
  100% { transform: translateY(40px); }
}

/* ===================== Trust strip ===================== */
.trust-strip { background: var(--paper-alt); padding: 26px 0; border-bottom: 1px solid var(--line); }
.trust-strip-inner { max-width: 1180px; margin: 0 auto; padding: 0 28px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.trust-strip-inner p { font-weight: 700; font-size: 0.9rem; color: var(--ink-soft); }
.trust-items { display: flex; gap: 10px; flex-wrap: wrap; font-size: 0.82rem; color: var(--ink-soft); }

/* ===================== Sections ===================== */
.section { max-width: 1180px; margin: 0 auto; padding: 120px 28px; }
.section-head { max-width: 640px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 14px; }
.section-head p { margin-top: 16px; font-size: 1.05rem; color: var(--ink-soft); }
.section-head.light h2 { color: #fff; }
.section-head.light .eyebrow { margin: 0 auto 14px; }

/* Bento grid */
.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(180px, auto);
  gap: 18px;
}
.bento-card {
  grid-column: span 2;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}
.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-soft);
  border-color: rgba(15,118,110,0.25);
}
.bento-large { grid-column: span 2; }
@media (min-width: 880px) {
  .bento-card:nth-child(1) { grid-column: span 4; }
  .bento-card:nth-child(6) { grid-column: span 4; }
}
.bento-icon {
  font-size: 1.8rem;
  width: 54px; height: 54px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(140deg, rgba(15,118,110,0.12), rgba(94,234,212,0.18));
  border-radius: 14px;
  margin-bottom: 18px;
}
.bento-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.bento-card p { color: var(--ink-soft); font-size: 0.95rem; }

/* Showcase */
.showcase {
  background: radial-gradient(120% 100% at 50% 0%, #0d2f28 0%, #071813 60%, #05100d 100%);
  padding: 110px 0 100px;
  overflow: hidden;
}
.showcase-head {
  max-width: 640px;
  margin: 0 auto 48px;
  padding: 0 28px;
  text-align: center;
}
.showcase-head h2 { color: #fff; font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-top: 14px; }
.showcase-strip {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.showcase-strip img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: 0 30px 60px rgba(0,0,0,0.45);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.showcase-strip img:hover { transform: translateY(-10px); box-shadow: 0 40px 80px rgba(0,0,0,0.55); }
@media (max-width: 880px) {
  .showcase-strip { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}
@media (max-width: 560px) {
  .showcase-strip { grid-template-columns: 1fr; max-width: 340px; }
}

/* Stats */
.stats-section {
  position: relative;
  background: linear-gradient(180deg, #0a2e28, #071813);
  padding: 110px 28px;
  overflow: hidden;
}
.stats-bg {
  position: absolute; inset: 0;
  background-image: radial-gradient(1px 1px at 20% 30%, rgba(255,255,255,0.5) 0, transparent 60%),
    radial-gradient(1px 1px at 70% 60%, rgba(255,255,255,0.4) 0, transparent 60%),
    radial-gradient(1.5px 1.5px at 40% 80%, rgba(255,255,255,0.4) 0, transparent 60%),
    radial-gradient(1px 1px at 85% 20%, rgba(255,255,255,0.4) 0, transparent 60%),
    radial-gradient(1.5px 1.5px at 55% 15%, rgba(255,255,255,0.35) 0, transparent 60%);
  opacity: 0.7;
}
.stats-grid {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stat-number { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--teal-300); font-weight: 600; }
.stat-label { margin-top: 8px; color: rgba(255,255,255,0.65); font-size: 0.88rem; }
.stats-note { position: relative; text-align: center; max-width: 560px; margin: 44px auto 0; color: rgba(255,255,255,0.55); font-size: 0.92rem; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px 30px;
  position: relative;
}
.step-num {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: rgba(15,118,110,0.18);
  margin-bottom: 6px;
}
.step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 0.95rem; }

/* Pricing */
.pricing-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1180px; margin: 0 auto; align-items: start; }
@media (max-width: 980px) {
  .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 780px; }
}
@media (max-width: 560px) {
  .pricing-grid { grid-template-columns: 1fr; }
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
}
.price-featured {
  background: linear-gradient(160deg, #0f2b26, #0a1f1b);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-soft);
}
.price-featured h3 { color: #fff; }
.price-featured .price-sub { color: rgba(255,255,255,0.6); }
.price-featured ul li { color: rgba(255,255,255,0.85); }
.price-badge {
  position: absolute; top: -13px; left: 32px;
  background: var(--gold); color: #1a1400;
  font-size: 0.72rem; font-weight: 800;
  padding: 5px 12px; border-radius: 999px;
  letter-spacing: 0.03em;
}
.price-card h3 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-soft); }
.price { font-family: var(--font-display); font-size: 2.6rem; margin-top: 10px; }
.price span { font-size: 1rem; font-weight: 400; opacity: 0.6; }
.price-sub { color: var(--ink-soft); font-size: 0.85rem; margin-top: 4px; }
.price-card ul { margin-top: 26px; display: flex; flex-direction: column; gap: 13px; }
.price-card ul li {
  font-size: 0.92rem;
  padding-left: 26px;
  position: relative;
  color: var(--ink-soft);
}
.price-card ul li::before {
  content: '✓';
  position: absolute; left: 0; top: 0;
  color: var(--teal-500);
  font-weight: 800;
}

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 20px 24px;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-size: 1.3rem;
  color: var(--teal-700);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { margin-top: 14px; color: var(--ink-soft); font-size: 0.95rem; }

/* Final CTA */
.final-cta {
  position: relative;
  background: radial-gradient(120% 120% at 50% 0%, #123f38, #05100d 70%);
  padding: 140px 28px;
  text-align: center;
  overflow: hidden;
}
#cta-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0.6; }
.final-cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.final-cta h2 { color: #fff; font-size: clamp(1.9rem, 4vw, 2.6rem); }
.final-cta p { color: rgba(255,255,255,0.7); margin-top: 16px; font-size: 1.05rem; }
.cta-note { margin-top: 18px; font-size: 0.78rem; color: rgba(255,255,255,0.35); }

/* Footer */
.footer { background: #071813; padding: 50px 28px 34px; }
.footer-inner { max-width: 1180px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 800; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.footer-links a:hover { color: #fff; }
.footer-note { color: rgba(255,255,255,0.35); font-size: 0.8rem; }

/* ===================== Responsive ===================== */
@media (max-width: 880px) {
  .nav-links { display: none; }
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-card, .bento-large { grid-column: span 2 !important; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .steps { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .section { padding: 90px 22px; }
}
@media (max-width: 520px) {
  .bento { grid-template-columns: 1fr; }
  .bento-card, .bento-large { grid-column: span 1 !important; }
  .cluster-phone { width: 132px; }
  .cluster-center { width: 168px; }
  .cluster-near.cluster-left { transform: rotate(-9deg) translateX(10px); }
  .cluster-near.cluster-right { transform: rotate(9deg) translateX(-10px); }
}

/* ===================== Legal / support page ===================== */
.legal-hero {
  background: radial-gradient(120% 120% at 20% 0%, #123f38 0%, #071813 55%, #05100d 100%);
  padding: 160px 28px 80px;
}
.legal-hero-inner { max-width: 720px; margin: 0 auto; text-align: center; }
.legal-hero-inner .eyebrow { margin: 0 auto 22px; }
.legal-hero-inner h1 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.2rem); }
.legal-hero-inner p { margin-top: 20px; color: rgba(255,255,255,0.78); font-size: 1.05rem; }

.legal { padding-top: 80px; }
.legal-body { max-width: 720px; margin: 0 auto; }
.legal-lede { font-size: 1.1rem; color: var(--ink-soft); margin-bottom: 48px; }
.legal-body h2 { font-size: 1.5rem; margin-top: 48px; margin-bottom: 16px; }
.legal-body h3 { font-size: 1.1rem; margin-top: 28px; margin-bottom: 12px; }
.legal-body p { margin-bottom: 16px; color: var(--ink-soft); }
.legal-body a { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.legal-list { margin: 0 0 16px; padding-left: 22px; list-style: disc; display: flex; flex-direction: column; gap: 8px; }
.legal-list li { color: var(--ink-soft); }
.legal-divider { border: none; border-top: 1px solid var(--line); margin: 48px 0; }
.legal-support-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  background: var(--paper-alt);
  border-radius: var(--radius);
  padding: 24px;
  margin: 24px 0 8px;
}
.legal-support-label { display: block; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-soft); margin-bottom: 6px; }
.legal-footnote { margin-top: 40px; font-size: 0.85rem; color: var(--ink-soft); }
@media (max-width: 640px) {
  .legal-support-grid { grid-template-columns: 1fr; }
}
