/* ── Light site theme (default) ───────────────────────────────────────────── */
:root {
  --ink:     #0d1520;
  --muted:   #5c6b7a;
  --bg:      #f5f8fc;
  --panel:   rgba(255, 255, 255, 0.96);
  --line:    rgba(15, 35, 55, 0.09);
  --sky:     #1a80bd;
  --mint:    #0a8a6a;
  --sun:     #b57a14;
  --grad:    linear-gradient(105deg, #1a80bd 0%, #0a8a6a 55%, #b57a14 100%);
  --shadow:  0 8px 40px rgba(15, 35, 55, 0.1), inset 0 0 0 1px rgba(15, 35, 55, 0.07);
  --header:  rgba(245, 248, 252, 0.88);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  letter-spacing: 0;
}
a { color: inherit; text-decoration: none; }

/* ── Header ───────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 18px clamp(18px, 4vw, 58px);
  background: var(--header); backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--line);
}
.brand { display: flex; align-items: center; gap: 12px; font-size: 21px; font-weight: 800; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 16px;
  display: grid; place-items: center; font-size: 25px;
  background: linear-gradient(145deg, rgba(26, 128, 189, 0.15), rgba(10, 138, 106, 0.15));
  box-shadow: var(--shadow);
}
nav { display: flex; gap: 24px; color: var(--muted); font-weight: 730; }
nav a:hover { color: var(--ink); }
.header-cta, .primary, .secondary, .plan-card a {
  display: inline-flex; min-height: 48px;
  align-items: center; justify-content: center;
  border-radius: 999px; font-weight: 850;
}
.header-cta, .secondary {
  padding: 0 20px;
  background: rgba(26, 128, 189, 0.08);
  box-shadow: inset 0 0 0 1px rgba(26, 128, 189, 0.2);
  color: var(--sky);
}
.primary, .plan-card a {
  padding: 0 24px;
  color: #fff;
  background: var(--grad);
  box-shadow: 0 14px 36px rgba(26, 128, 189, 0.22);
}

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  min-height: min(760px, calc(100vh - 72px)); position: relative;
  overflow: hidden; display: grid; align-items: center;
  padding: clamp(42px, 7vw, 88px) clamp(18px, 6vw, 84px);
}
.hero img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; filter: saturate(1.05) brightness(.78);
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(245,248,252,.96), rgba(245,248,252,.82) 42%, rgba(245,248,252,.26)),
    linear-gradient(180deg, transparent 68%, var(--bg));
}
.hero-content { position: relative; max-width: 720px; }
.eyebrow {
  margin: 0 0 12px; color: var(--mint); font-weight: 850;
  text-transform: uppercase; font-size: 13px; letter-spacing: .06em;
}
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(52px, 9vw, 108px); line-height: .92; margin-bottom: 22px; color: var(--ink); }
.lead { color: var(--muted); font-size: clamp(19px, 2.3vw, 26px); line-height: 1.4; max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }
.secondary { padding-inline: 24px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 18px; margin-top: 28px;
  align-items: center; color: var(--muted); font-size: 15px; font-weight: 700;
}
.trust-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); }

/* ── Metrics ──────────────────────────────────────────────────────────────── */
.band, .section { width: min(1160px, calc(100% - 36px)); margin: 0 auto; }
.metrics {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; transform: translateY(-42px);
}
.metrics div, .plan-card, .flow-panel, .cabinet {
  background: var(--panel); box-shadow: var(--shadow);
  backdrop-filter: blur(24px); border-radius: 24px;
}
.metrics div { padding: 24px; }
.metrics strong { display: block; font-size: clamp(28px, 4vw, 44px); color: var(--sky); }
.metrics span { color: var(--muted); line-height: 1.45; }

/* ── Sections ─────────────────────────────────────────────────────────────── */
.section { padding: 48px 0; }
.section-head { max-width: 700px; margin-bottom: 24px; }
.section h2 { font-size: clamp(34px, 5vw, 60px); line-height: 1; margin-bottom: 16px; }
.section-head span, .cabinet span { font-size: 19px; color: var(--muted); }

/* ── Plans ────────────────────────────────────────────────────────────────── */
.plan-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.plan-card {
  position: relative; padding: 28px; min-height: 270px;
  display: flex; flex-direction: column; align-items: flex-start;
  border: 2px solid var(--line);
}
.plan-card.popular { border-color: var(--mint); transform: translateY(-8px); }
.plan-card b {
  position: absolute; right: 18px; top: -15px;
  background: var(--grad); color: #fff;
  border-radius: 999px; padding: 8px 14px;
}
.plan-card p { color: var(--muted); font-size: 20px; font-weight: 800; }
.plan-card h3 { font-size: clamp(40px, 4.8vw, 52px); margin-bottom: 8px; color: var(--ink); }
.plan-card .per-month { color: var(--muted); font-size: 16px; margin-bottom: 4px; }
.plan-card .discount { color: var(--mint); font-weight: 800; font-size: 15px; margin-bottom: 12px; }
.plan-card a { margin-top: auto; width: 100%; }

/* ── How it works ─────────────────────────────────────────────────────────── */
.split { display: grid; grid-template-columns: minmax(0, .88fr) minmax(360px, 1fr); gap: 28px; align-items: center; }
.flow-panel { padding: 10px 0; }
.flow-panel > div {
  display: grid; grid-template-columns: 58px 1fr; gap: 14px;
  padding: 26px 28px; border-bottom: 1px solid var(--line);
}
.flow-panel > div > div { display: block; }
.flow-panel > div:last-child { border-bottom: 0; }
.flow-panel i {
  width: 38px; height: 38px; border-radius: 50%; display: grid;
  place-items: center; background: var(--grad); color: #fff;
  font-style: normal; font-weight: 900;
}
.flow-panel strong { display: block; font-size: 22px; margin-bottom: 8px; }
.flow-panel span { color: var(--muted); }

/* ── CTA band ─────────────────────────────────────────────────────────────── */
.cabinet {
  display: flex; justify-content: space-between; align-items: center;
  gap: 24px; padding: clamp(28px, 5vw, 54px); margin-bottom: 54px;
}
.cabinet div { max-width: 700px; }

/* ── Footer ───────────────────────────────────────────────────────────────── */
footer {
  display: flex; justify-content: space-between; gap: 20px;
  padding: 30px clamp(18px, 4vw, 58px); color: var(--muted);
  border-top: 1px solid var(--line);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1040px) {
  .plan-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plan-card.popular { transform: none; }
}
@media (max-width: 840px) {
  .site-header { align-items: flex-start; flex-wrap: wrap; }
  nav { order: 3; width: 100%; overflow-x: auto; padding-bottom: 4px; }
  .header-cta { margin-left: auto; }
  .hero { min-height: 640px; align-items: end; }
  .hero-overlay {
    background: linear-gradient(180deg, rgba(245,248,252,.1), rgba(245,248,252,.96) 56%, var(--bg));
  }
  .metrics, .split { grid-template-columns: 1fr; }
  .metrics { transform: none; padding-top: 24px; }
  .cabinet { flex-direction: column; align-items: flex-start; }
  .primary { width: 100%; }
}
@media (max-width: 560px) {
  .site-header { padding-inline: 14px; }
  .brand { font-size: 19px; }
  .header-cta { width: 100%; }
  .hero { padding-inline: 18px; }
  .hero-actions a { width: 100%; }
  h1 { font-size: 54px; }
  .plan-grid { grid-template-columns: 1fr; }
  footer { flex-direction: column; }
}
