:root {
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --text: #16181d;
  --text-muted: #5b6070;
  --accent: #1f9b7d;
  --accent-ink: #ffffff;
  --border: #e5e7eb;
  --brand-teal: #4bc9a0;
  --brand-blue: #5a8fde;
  --hero-top: #081a1c;
  --hero-bottom: #123c4c;
  --max-width: 1080px;
  --content-width: 720px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0f12;
    --bg-alt: #17181c;
    --text: #eef0f3;
    --text-muted: #9ba0ac;
    --border: #2a2c32;
    --accent: #4bc9a0;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: var(--max-width);
  margin: 0 auto;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--text);
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  display: block;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(75, 201, 160, 0.35);
}

main { overflow-x: hidden; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background: linear-gradient(175deg, var(--hero-top) 0%, var(--hero-bottom) 100%);
  color: #fff;
  padding: 76px 24px 0;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 15% 0%, rgba(75, 201, 160, 0.28), transparent 60%),
    radial-gradient(ellipse 50% 50% at 100% 30%, rgba(90, 143, 222, 0.32), transparent 60%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: end;
}

.hero-copy { padding-bottom: 80px; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #7fe0c2;
  background: rgba(75, 201, 160, 0.14);
  border: 1px solid rgba(75, 201, 160, 0.35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.4rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
  font-weight: 800;
}

.hero h1 .accent {
  background: linear-gradient(90deg, var(--brand-teal), var(--brand-blue));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero p.lede {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 46ch;
  margin: 0 0 34px;
}

.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 26px;
  border-radius: 14px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-blue));
  color: var(--accent-ink);
  box-shadow: 0 10px 26px rgba(75, 160, 201, 0.35);
}

.btn-primary:hover { transform: translateY(-2px); }

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.hero-phone {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-phone img {
  width: 100%;
  max-width: 340px;
  height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.45));
}

.hero-stats {
  position: relative;
  max-width: var(--max-width);
  margin: 56px auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  overflow: hidden;
}

.hero-stats div {
  background: rgba(10, 22, 26, 0.9);
  padding: 22px 20px;
  text-align: center;
}

.hero-stats strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #fff;
}

.hero-stats span {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---------- Sections ---------- */

section.section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 120px 24px 40px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 56px;
}

.section-head .kicker {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.2rem);
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 0;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.step {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 24px;
}

.step-num {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--brand-teal), var(--brand-blue));
  color: #ffffff;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.step h3 { margin: 0 0 8px; font-size: 1.05rem; }
.step p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

.plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.plan {
  border-radius: 20px;
  padding: 32px 28px;
  border: 1px solid var(--border);
  background: var(--bg-alt);
}

.plan.pro {
  background: linear-gradient(160deg, #0e2a2c, var(--hero-top));
  color: #fff;
  border: none;
  position: relative;
}

.plan .badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.plan.pro .badge { color: #7fe0c2; }

.plan h3 { margin: 0 0 4px; font-size: 1.3rem; }

.plan .price {
  font-size: 2.2rem;
  font-weight: 800;
  margin: 14px 0 4px;
}

.plan .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.plan.pro .price span { color: rgba(255, 255, 255, 0.6); }

.plan .save {
  display: inline-block;
  font-size: 0.85rem;
  color: #7fe0c2;
  font-weight: 600;
  margin-bottom: 18px;
}

.plan ul {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}

.plan li {
  padding: 9px 0;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  display: flex;
  gap: 10px;
}

.plan.pro li { border-top-color: rgba(255, 255, 255, 0.1); }
.plan li:first-child { border-top: none; }

.plan li::before {
  content: "✓";
  color: var(--accent);
  font-weight: 800;
  flex-shrink: 0;
}

.plan.pro li::before { color: var(--brand-teal); }

.faq details {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 400;
  transition: transform 0.2s ease;
}

.faq details[open] summary::after { transform: rotate(45deg); }

.faq p {
  color: var(--text-muted);
  margin: 12px 0 0;
}

.cta-band {
  max-width: var(--max-width);
  margin: 40px auto 0;
  padding: 56px 40px;
  border-radius: 28px;
  background: linear-gradient(135deg, var(--hero-top), var(--hero-bottom));
  color: #fff;
  text-align: center;
}

.cta-band h2 { margin: 0 0 14px; font-size: 1.8rem; }
.cta-band p { color: rgba(255, 255, 255, 0.72); margin: 0 0 28px; }

/* ---------- Footer ---------- */

footer {
  border-top: 1px solid var(--border);
  padding: 40px 24px;
  margin-top: 100px;
}

footer .links {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}

footer a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.muted { color: var(--text-muted); font-size: 0.9rem; }

/* ---------- Legal pages ---------- */

main.legal {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.legal h1 { margin-bottom: 4px; font-size: 2.1rem; letter-spacing: -0.01em; }
.legal section { margin-top: 32px; }
.legal section h2 { margin-top: 0; font-size: 1.2rem; }
.legal ul { padding-left: 22px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--accent); }

/* ---------- Responsive ---------- */

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 40px; text-align: left; }
  .hero-phone { max-width: 280px; margin: 0 auto; }
  .hero-stats { grid-template-columns: 1fr; transform: none; margin-bottom: 0; border-radius: 18px; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  section.section { padding: 72px 20px 20px; }
}
