:root {
  --color-1: #1E6F9F;
  --color-2: #43B6C9;
  --color-3: #0F3D5E;
  --color-4: #5DAE8B;
  --color-5: #D49A5B;
  --bg: #f5f9fc;
  --surface: #ffffff;
  --surface-soft: #eaf4f9;
  --text: #102331;
  --muted: #5f7280;
  --line: #d8e6ee;
  --brand: var(--color-1);
  --brand-dark: var(--color-3);
  --brand-soft: #e6f2f8;
  --success: #287a5e;
  --danger: #b94444;
  --shadow: 0 22px 60px rgba(16, 35, 49, .08);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
body.menu-open { overflow: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(100% - 40px, var(--max)); margin: 0 auto; }
.skip-link { position: absolute; left: -999px; top: 12px; background: var(--text); color: #fff; padding: 10px 14px; z-index: 99; }
.skip-link:focus { left: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(245, 249, 252, .9);
  border-bottom: 1px solid rgba(216, 230, 238, .9);
  backdrop-filter: blur(18px);
  transition: box-shadow .2s ease, background .2s ease;
}
.site-header.is-scrolled { box-shadow: 0 14px 40px rgba(16, 35, 49, .08); background: rgba(255, 255, 255, .94); }
.nav { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; letter-spacing: -.03em; font-size: 1.25rem; min-width: max-content; }
.brand-mark { width: 38px; height: 38px; background: linear-gradient(135deg, var(--brand), var(--color-2)); display: grid; place-items: center; color: #fff; font-weight: 900; }
.brand-copy { display: grid; gap: 1px; }
.brand-copy strong { font-size: 1.14rem; line-height: 1; }
.brand-copy small { color: var(--muted); font-size: .78rem; font-weight: 700; letter-spacing: 0; }
.nav-links { display: flex; align-items: center; gap: 22px; color: var(--muted); font-size: .95rem; }
.nav-links a:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; border: 1px solid var(--line); background: var(--surface); min-height: 42px; padding: 0 14px; color: var(--text); font-weight: 800; cursor: pointer; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; border: 1px solid transparent; background: var(--brand); color: #fff; font-weight: 800; cursor: pointer; transition: transform .18s ease, background .18s ease, border-color .18s ease, color .18s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); background: var(--brand-dark); }
.btn-secondary { background: transparent; color: var(--text); border-color: var(--line); }
.btn-secondary:hover { background: var(--surface); border-color: var(--brand); color: var(--brand-dark); }
.btn-soft { background: var(--brand-soft); color: var(--brand-dark); }
.btn-soft:hover { background: #d5ebf5; }

.hero { padding: 86px 0 54px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -160px -120px auto auto; width: 520px; height: 520px; background: radial-gradient(circle, rgba(67, 182, 201, .18), transparent 68%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 52px; align-items: center; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; background: var(--brand-soft); color: var(--brand-dark); font-size: .88rem; font-weight: 800; margin-bottom: 20px; }
.eyebrow span { width: 8px; height: 8px; background: var(--color-2); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.65rem, 5.2vw, 5.4rem); line-height: .96; letter-spacing: -.075em; margin-bottom: 22px; }
.hero-copy { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--muted); max-width: 650px; margin-bottom: 28px; }
.hero-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 24px; }
.micro-proof { display: flex; flex-wrap: wrap; gap: 14px 22px; color: var(--muted); font-size: .94rem; }
.micro-proof span { display: inline-flex; align-items: center; gap: 8px; }
.micro-proof b { width: 18px; height: 18px; background: var(--color-4); color: #fff; display: inline-grid; place-items: center; font-size: .78rem; }
.hero-card { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); padding: 22px; }
.product-window { border: 1px solid var(--line); background: #fbfefd; }
.window-bar { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 14px; border-bottom: 1px solid var(--line); background: #f2f8fb; }
.window-bar span { width: 9px; height: 9px; background: #cad8d4; }
.window-body { padding: 18px; display: grid; gap: 14px; }
.metric-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mini-card { border: 1px solid var(--line); background: var(--surface); padding: 16px; }
.mini-card small { color: var(--muted); font-size: .82rem; margin-bottom: 6px; display: block; }
.mini-card strong { font-size: 1.55rem; font-weight: 900; letter-spacing: -.04em; }
.schedule-list { display: grid; gap: 10px; }
.schedule-item { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; border: 1px solid var(--line); background: var(--surface); padding: 12px; }
.schedule-item > span { background: var(--surface-soft); color: var(--brand-dark); font-weight: 800; padding: 6px 8px; font-size: .82rem; }
.schedule-item small { color: var(--muted); display: block; margin-top: 2px; }
.schedule-item em { color: var(--brand-dark); background: var(--brand-soft); padding: 5px 8px; font-size: .78rem; font-weight: 800; font-style: normal; }

.section { padding: 76px 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { max-width: 760px; margin-bottom: 34px; }
.section-kicker { color: var(--brand-dark); font-weight: 900; text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; margin-bottom: 10px; }
h2 { font-size: clamp(2rem, 3.3vw, 3.35rem); line-height: 1.02; letter-spacing: -.055em; margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.06rem; max-width: 690px; }
.logo-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; border: 1px solid var(--line); background: var(--line); margin-top: 36px; }
.logo-strip div { min-height: 82px; background: var(--surface); display: grid; place-items: center; color: #7a8f9b; font-weight: 850; letter-spacing: -.02em; }
.pain-grid, .feature-grid, .plans-grid, .testimonial-grid { display: grid; gap: 18px; }
.pain-grid, .feature-grid, .testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.plans-grid { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
.card { background: var(--surface); border: 1px solid var(--line); padding: 24px; min-height: 100%; }
.card h3 { font-size: 1.22rem; letter-spacing: -.025em; margin-bottom: 10px; }
.card p { color: var(--muted); margin-bottom: 0; }
.tag { display: inline-flex; background: var(--surface-soft); color: var(--brand-dark); padding: 6px 9px; font-size: .78rem; font-weight: 900; margin-bottom: 18px; }
.feature-icon { width: 42px; height: 42px; background: var(--brand); margin-bottom: 18px; display: grid; place-items: center; color: #fff; font-weight: 900; }
.split { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: start; }
.sticky-note { position: sticky; top: 110px; }
.steps { counter-reset: steps; display: grid; gap: 14px; }
.step { counter-increment: steps; display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 18px; border: 1px solid var(--line); background: var(--surface); }
.step::before { content: counter(steps); width: 34px; height: 34px; display: grid; place-items: center; background: var(--brand); color: #fff; font-weight: 900; }
.step h3 { margin: 0 0 5px; font-size: 1.02rem; }
.step p { margin: 0; color: var(--muted); }
.quote p { font-size: 1.05rem; color: var(--text); margin-bottom: 18px; }
.quote small { color: var(--muted); }
.plan-card strong { font-size: 2rem; font-weight: 900; letter-spacing: -.05em; display: block; margin: 8px 0 6px; }
.plan-card ul { list-style: none; padding: 0; margin: 20px 0 24px; display: grid; gap: 10px; color: var(--muted); }
.plan-card li { display: grid; grid-template-columns: auto 1fr; gap: 9px; }
.plan-card li::before { content: "✓"; width: 18px; height: 18px; background: var(--color-4); color: #fff; display: grid; place-items: center; font-size: .78rem; font-weight: 900; margin-top: 2px; }
.highlighted { border-color: rgba(30, 111, 159, .45); box-shadow: var(--shadow); }
.faq-list { display: grid; gap: 12px; max-width: 860px; }
details { background: var(--surface); border: 1px solid var(--line); padding: 18px 20px; }
summary { cursor: pointer; font-weight: 850; color: var(--text); }
details p { color: var(--muted); margin: 12px 0 0; }
.cta-box { display: grid; grid-template-columns: 1fr .8fr; gap: 32px; align-items: center; background: var(--text); color: #fff; padding: 42px; }
.cta-box h2 { color: #fff; margin-bottom: 12px; }
.cta-box p { color: rgba(255,255,255,.74); margin-bottom: 0; }
.cta-box .section-kicker { color: #9bd4e0; }
.form-card { background: var(--surface); border: 1px solid var(--line); padding: 22px; color: var(--text); }
.form-card h3 { margin: 0 0 6px; letter-spacing: -.03em; }
.form-card p { color: var(--muted); margin-bottom: 18px; }
.login-form, .lead-form { display: grid; gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: .86rem; color: var(--muted); font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; border: 1px solid var(--line); background: #fff; min-height: 46px; padding: 11px 12px; color: var(--text); outline: none; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(30, 111, 159, .10); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.alert { padding: 12px 14px; border: 1px solid transparent; margin: 0 0 12px; font-weight: 750; }
.alert-error { background: #fff0f0; color: var(--danger); border-color: #f2c8c8; }
.alert-success { background: #edf8f3; color: var(--success); border-color: #bfe7d5; }
.site-footer { padding: 44px 0 24px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr .8fr; gap: 32px; align-items: start; }
.footer-grid h3, .footer-grid h4 { margin-top: 0; margin-bottom: 12px; }
.footer-grid p, .footer-grid a { color: var(--muted); font-size: .95rem; }
.footer-grid div:not(:first-child) { display: grid; gap: 8px; }
.legal { margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .88rem; display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; }

@media (max-width: 1060px) {
  .nav-links { position: fixed; inset: 76px 0 auto 0; display: none; background: var(--surface); border-bottom: 1px solid var(--line); padding: 18px 20px; box-shadow: var(--shadow); }
  .nav-links.is-open { display: grid; gap: 12px; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav { gap: 12px; }
  .hero-grid, .split, .cta-box, .footer-grid { grid-template-columns: 1fr; }
  .sticky-note { position: static; }
  .pain-grid, .feature-grid, .testimonial-grid, .plans-grid { grid-template-columns: 1fr 1fr; }
  .logo-strip { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .container { width: min(100% - 28px, var(--max)); }
  .hero { padding-top: 48px; }
  .nav { min-height: 66px; }
  .brand-copy small { display: none; }
  .nav-actions .btn-secondary { display: none; }
  .nav-actions .btn { padding-inline: 12px; }
  .pain-grid, .feature-grid, .testimonial-grid, .plans-grid, .metric-row, .form-grid { grid-template-columns: 1fr; }
  .schedule-item { grid-template-columns: 1fr; }
  .cta-box { padding: 28px; }
  .hero-actions { align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  h1 { letter-spacing: -.06em; }
}
