/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors */
  --green:       #1A7A4A;
  --green-light: #E8F5EE;
  --coral:       #E8614A;
  --coral-light: #FDF0ED;
  --coral-dark:  #d4503a;
  --indigo:      #4A3F8F;
  --indigo-light:#EEEDF8;
  --bg:          #FAFAF8;
  --text:        #1A1A1A;
  --text-muted:  #6B7280;
  --border:      #E5E7EB;
  --white:       #FFFFFF;

  /* Typography */
  --font:        'DM Sans', system-ui, sans-serif;
  --text-xs:     0.75rem;
  --text-sm:     0.875rem;
  --text-base:   1rem;
  --text-lg:     1.125rem;
  --text-xl:     1.25rem;
  --text-2xl:    1.5rem;
  --text-3xl:    1.875rem;
  --text-4xl:    2.25rem;
  --text-5xl:    3rem;

  /* Spacing (8px grid) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Layout */
  --max-w:       1100px;
  --max-w-prose: 720px;
  --radius-sm:   8px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-full: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
}

/* ============================================================
   RESET + BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font);
  font-size: var(--text-base);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font); cursor: pointer; border: none; background: none; }

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--space-6);
}

.container--prose {
  max-width: var(--max-w-prose);
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250,250,248,0.92); /* --bg with alpha */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__logo img { height: 32px; width: auto; }

.nav__cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: var(--coral);
  color: var(--white);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-full);
  transition: background 0.15s, transform 0.15s;
}

.nav__cta:hover {
  background: var(--coral-dark);
  transform: translateY(-1px);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  min-height: calc(100vh - 64px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-16);
  padding-block: var(--space-16);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 40%,
    rgba(74,63,143,0.06) 0%,
    rgba(26,122,74,0.04) 60%,
    transparent 100%);
  pointer-events: none;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--green);
  background: var(--green-light);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.hero__headline {
  font-size: var(--text-5xl);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: var(--space-6);
}

.hero__headline em {
  font-style: normal;
  color: var(--green);
}

.hero__sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: var(--space-8);
}

.hero__badge {
  display: inline-block;
  transition: transform 0.15s;
}

.hero__badge:hover { transform: scale(1.03); }
.hero__badge img { height: 52px; width: auto; }

.hero__visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero__phone {
  position: relative;
  width: 260px;
  filter: drop-shadow(0 24px 48px rgba(26,122,74,0.15));
}

.hero__phone-frame {
  width: 100%;
}

.hero__phone-screen {
  position: absolute;
  top: 50px;
  left: 14px;
  right: 14px;
  bottom: 14px;
  border-radius: 34px;
  overflow: hidden;
  background: linear-gradient(145deg, var(--green) 0%, var(--indigo) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__phone-placeholder {
  text-align: center;
  color: rgba(255,255,255,0.5);
  font-size: var(--text-xs);
  padding: var(--space-4);
}

.hero__phone-emoji {
  font-size: 2rem;
  margin-bottom: var(--space-2);
}

.hero__dot {
  position: absolute;
  border-radius: 50%;
}

.hero__dot--1 {
  width: 120px; height: 120px;
  background: var(--green-light);
  top: -20px; right: -30px;
  z-index: -1;
}

.hero__dot--2 {
  width: 64px; height: 64px;
  background: var(--coral-light);
  bottom: 40px; left: -20px;
  z-index: -1;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features {
  padding-block: var(--space-24);
}

.features__header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.features__label {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--coral);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-3);
}

.features__title {
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-8);
}

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: var(--space-6);
}

.feature-card:nth-child(1) .feature-card__icon { background: var(--green-light); }
.feature-card:nth-child(2) .feature-card__icon { background: var(--indigo-light); }
.feature-card:nth-child(3) .feature-card__icon { background: var(--coral-light); }

.feature-card__title {
  font-size: var(--text-xl);
  font-weight: 700;
  margin-bottom: var(--space-3);
}

.feature-card__desc {
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================================
   CTA STRIP
   ============================================================ */
.cta-strip {
  background: var(--coral);
  padding-block: var(--space-16);
  text-align: center;
}

.cta-strip__title {
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.cta-strip__sub {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--space-8);
}

.cta-strip__badge img {
  height: 52px;
  width: auto;
  margin-inline: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: opacity 0.15s, transform 0.15s;
}

.cta-strip__badge:hover img {
  opacity: 1;
  transform: scale(1.03);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.6);
  padding-block: var(--space-12);
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
}

.footer__logo img {
  height: 24px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.8;
}

.footer__copy {
  font-size: var(--text-sm);
}

.footer__links {
  display: flex;
  gap: var(--space-6);
  font-size: var(--text-sm);
}

.footer__links a {
  color: rgba(255,255,255,0.6);
  transition: color 0.15s;
}

.footer__links a:hover { color: var(--white); }

/* ============================================================
   LEGAL PAGES
   ============================================================ */
.legal {
  padding-block: var(--space-16);
}

.legal__header {
  margin-bottom: var(--space-12);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border);
}

.legal__title {
  font-size: var(--text-4xl);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-3);
}

.legal__meta {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

.legal__content h2 {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-top: var(--space-12);
  margin-bottom: var(--space-4);
}

.legal__content h3 {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-top: var(--space-8);
  margin-bottom: var(--space-3);
}

.legal__content p {
  margin-bottom: var(--space-4);
  color: var(--text-muted);
  line-height: 1.8;
}

.legal__content ul, .legal__content ol {
  padding-left: var(--space-6);
  margin-bottom: var(--space-4);
}

.legal__content li {
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: var(--space-2);
}

.legal__content a {
  color: var(--green);
  text-decoration: underline;
}

.legal__content a:hover { color: var(--indigo); }

.legal__disclaimer {
  background: var(--coral-light);
  border-left: 4px solid var(--coral);
  padding: var(--space-4) var(--space-6);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-block: var(--space-8);
}

.legal__disclaimer p {
  color: var(--text);
  font-weight: 500;
  margin: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    padding-block: var(--space-12);
    gap: var(--space-12);
  }

  .hero__sub { max-width: 100%; }
  .hero__visual { order: -1; }
  .hero__phone { width: 200px; }
  .hero__headline { font-size: var(--text-3xl); }
  .features__grid { grid-template-columns: 1fr; gap: var(--space-4); }
  .features__title { font-size: var(--text-3xl); }
  .cta-strip__title { font-size: var(--text-3xl); }
  .footer__inner { flex-direction: column; align-items: flex-start; }
  .hero__dot { display: none; }
}

@media (max-width: 480px) {
  .container { padding-inline: var(--space-4); }
  .hero__headline { font-size: var(--text-2xl); }
  .legal__title { font-size: var(--text-3xl); }
}
