:root {
  --teal: #305080;
  --teal-dark: #284670;
  --teal-deep: #1b3151;
  --cream: #f7f5f0;
  --cream-2: #efece4;
  --ink: #1c2533;
  --ink-soft: #4a5468;
  --orange: #e8994a;
  --orange-dark: #e06b30;
  --red: #e05050;
  --white: #ffffff;
  --line: rgba(33, 62, 99, 0.13);
  --shadow: 0 18px 40px -18px rgba(27, 49, 81, 0.35);
  --radius: 18px;
  --maxw: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.4em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 5.2vw, 4rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  font-weight: 800;
}

h3 {
  font-size: 1.2rem;
  font-weight: 700;
}

p {
  margin: 0 0 1rem;
}

a {
  color: var(--teal-dark);
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow {
  max-width: 760px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal-dark);
  margin: 0 0 0.6rem;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 100;
}
.skip-link:focus {
  left: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 1rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn-lg {
  padding: 15px 30px;
  font-size: 1.05rem;
}
.btn-primary {
  background: var(--orange);
  color: #3a2410;
  box-shadow: 0 12px 24px -12px rgba(224, 107, 48, 0.7);
}
.btn-primary:hover {
  background: var(--orange-dark);
  color: #fff;
  transform: translateY(-2px);
}
.btn-ghost {
  background: transparent;
  color: var(--teal-deep);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: rgba(48, 80, 128, 0.1);
  transform: translateY(-2px);
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 245, 240, 0.86);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.brand-logo {
  border-radius: 9px;
}
.brand-name {
  font-size: 1.15rem;
}
.nav {
  display: flex;
  gap: 26px;
  margin-left: auto;
}
.nav a {
  color: var(--ink-soft);
  font-weight: 500;
}
.nav a:hover {
  color: var(--teal-deep);
}
.nav-cta {
  margin-left: 8px;
}
.nav-toggle {
  display: none;
  margin-left: auto;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}
.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 24px 20px;
  border-top: 1px solid var(--line);
}
.mobile-nav a {
  padding: 12px 4px;
  color: var(--ink);
  font-weight: 600;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a:last-child {
  border-bottom: 0;
  margin-top: 8px;
}
.mobile-nav.open {
  display: flex;
}

/* Hero */
.hero {
  background: radial-gradient(
      1000px 520px at 85% -10%,
      rgba(48, 80, 128, 0.18),
      transparent 60%
    ),
    linear-gradient(180deg, var(--cream) 0%, var(--cream-2) 100%);
  padding: clamp(48px, 8vw, 96px) 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.hero h1 em {
  font-style: normal;
  color: var(--teal-dark);
}
.lede {
  font-size: 1.18rem;
  color: var(--ink-soft);
  max-width: 36ch;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 14px;
}
.hero-note {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin: 0;
}

/* Phone mock */
.hero-art {
  display: flex;
  justify-content: center;
}
.phone {
  width: 270px;
  background: var(--white);
  border-radius: 38px;
  padding: 14px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.phone-screen {
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-deep) 100%);
  border-radius: 26px;
  padding: 36px 24px 30px;
  text-align: center;
  color: #fff;
}
.phone-logo {
  width: 84px;
  height: 84px;
  border-radius: 22px;
  margin: 0 auto 18px;
  box-shadow: 0 10px 24px -8px rgba(0, 0, 0, 0.4);
}
.phone-status {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  opacity: 0.85;
  margin: 0;
}
.phone-time {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 4px 0 22px;
}
.phone-pill {
  background: var(--orange);
  color: #3a2410;
  font-weight: 700;
  padding: 14px;
  border-radius: 999px;
  font-size: 1.1rem;
}
.phone-sub {
  font-size: 0.85rem;
  opacity: 0.85;
  margin: 16px 0 0;
}

/* Sections */
section {
  padding: clamp(56px, 8vw, 96px) 0;
}
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.problem {
  background: var(--white);
}
.problem h2 {
  text-align: center;
}
.problem p {
  font-size: 1.2rem;
  color: var(--ink-soft);
  text-align: center;
}

/* Steps */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 22px;
  counter-reset: step;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(48, 80, 128, 0.14);
  color: var(--teal-deep);
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 {
  margin-bottom: 6px;
}
.step p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.98rem;
}

/* Features */
.features {
  background: linear-gradient(180deg, var(--cream-2), var(--cream));
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 22px;
}
.feature {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.18s ease, box-shadow 0.2s ease;
}
.feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.feature h3 {
  color: var(--teal-deep);
}
.feature p {
  margin: 0;
  color: var(--ink-soft);
}

/* Who */
.who {
  background: var(--white);
}
.who-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.who-grid li {
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 18px 20px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 16px;
}
.who-grid li::before {
  content: "";
  flex: 0 0 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(48, 80, 128, 0.2);
}

/* Privacy */
.privacy {
  background: linear-gradient(180deg, var(--cream), var(--cream-2));
}
.privacy h2 {
  text-align: center;
}
.privacy-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 36px;
}
.privacy-cols > div {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.privacy-cols ul {
  margin: 0 0 10px;
  padding-left: 20px;
}
.privacy-cols li {
  margin-bottom: 8px;
}
.privacy-cols h3.ok {
  color: var(--teal-deep);
}
.privacy-cols h3.no {
  color: var(--orange-dark);
}
.muted {
  color: var(--ink-soft);
  font-size: 0.92rem;
  margin: 0;
}

/* FAQ */
.faq {
  background: var(--white);
}
.accordion details {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 4px 20px;
  margin-bottom: 12px;
  background: var(--cream);
}
.accordion summary {
  list-style: none;
  cursor: pointer;
  font-weight: 600;
  padding: 16px 32px 16px 0;
  position: relative;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  content: "+";
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--teal-dark);
  transition: transform 0.2s ease;
}
.accordion details[open] summary::after {
  content: "–";
}
.accordion details p {
  margin: 0 0 16px;
  color: var(--ink-soft);
}

/* CTA */
.cta {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-deep) 100%);
  color: #fff;
  text-align: center;
}
.cta h2 {
  color: #fff;
}
.cta p {
  color: rgba(255, 255, 255, 0.9);
  max-width: 48ch;
  margin: 0 auto 28px;
  font-size: 1.1rem;
}
.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  border-radius: 14px;
  padding: 12px 26px;
  transition: background 0.2s ease, transform 0.15s ease;
}
.store-badge:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}
.store-small {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  opacity: 0.85;
}
.store-big {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
  padding: 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  padding-top: 48px;
  padding-bottom: 28px;
}
.footer-brand .brand {
  color: #fff;
}
.footer-brand p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.6);
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.78);
}
.footer-links a:hover {
  color: #fff;
}
.footer-base {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 20px;
  padding-bottom: 28px;
}
.footer-base p {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

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

@media (max-width: 860px) {
  .nav,
  .nav-cta {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .hero-art {
    order: -1;
  }
  .privacy-cols {
    grid-template-columns: 1fr;
  }
}

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