:root {
  --navy: #0b2545;
  --navy-2: #123b6d;
  --blue: #1677ff;
  --blue-dark: #0d5bd7;
  --sky: #eaf2ff;
  --ink: #0f172a;
  --muted: #5b6b82;
  --line: #e2e8f0;
  --bg: #f8fafc;
  --white: #ffffff;
  --green: #16a34a;
  --amber: #d97706;
  --red: #dc2626;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 24px 70px rgba(11, 37, 69, 0.14);
  --shadow-sm: 0 8px 24px rgba(11, 37, 69, 0.08);
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 100;
}
.skip-link:focus { left: 12px; top: 12px; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 68px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 19px;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  position: relative;
  box-shadow: 0 6px 16px rgba(22, 119, 255, 0.3);
}
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  left: 7px;
  height: 3px;
  border-radius: 2px;
  background: #fff;
}
.brand-mark::before { top: 10px; width: 15px; }
.brand-mark::after { top: 17px; width: 10px; }
.nav {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
}
.nav a {
  color: #334155;
  font-size: 14px;
  font-weight: 600;
}
.nav a:hover { color: var(--blue); text-decoration: none; }
.header-cta { display: flex; align-items: center; gap: 10px; margin-left: 8px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  white-space: nowrap;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 8px 22px rgba(22, 119, 255, 0.28);
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary {
  background: #fff;
  color: var(--navy);
  border-color: #cbd5e1;
}
.btn-secondary:hover { border-color: var(--blue); color: var(--blue); }
.btn-dark {
  background: var(--navy);
  color: #fff;
}
.btn-dark:hover { background: #081b33; }
.btn-light {
  background: #fff;
  color: var(--navy);
}
.btn-ghost {
  background: transparent;
  color: var(--navy);
  border-color: transparent;
  padding-left: 8px;
  padding-right: 8px;
}
.btn-sm { padding: 9px 16px; font-size: 13px; }
.btn-lg { padding: 15px 26px; font-size: 15px; }

/* Hero */
.hero {
  padding: 84px 0 72px;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(22, 119, 255, 0.14), transparent 60%),
    radial-gradient(700px 360px at 10% 10%, rgba(234, 242, 255, 0.9), transparent 60%),
    #fff;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}
.hero-grid > * { min-width: 0; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  background: var(--sky);
  border: 1px solid #d6e6ff;
  border-radius: 999px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero h1 {
  margin: 18px 0 18px;
  font-size: clamp(40px, 5.2vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--navy);
  overflow-wrap: break-word;
}
.hero h1 span { color: var(--blue); }
.hero-lede {
  font-size: 19px;
  color: var(--muted);
  max-width: 620px;
  margin: 0 0 26px;
  overflow-wrap: break-word;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}
.microcopy {
  margin-top: 14px;
  font-size: 13px;
  color: #7c8aa0;
}
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: #475569;
  font-size: 13px;
  font-weight: 600;
}
.hero-proof span { display: inline-flex; align-items: center; gap: 7px; }
.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  display: inline-block;
}

/* Phone mock */
.phone-wrap {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 18px;
}
.phone {
  width: min(330px, 100%);
  border-radius: 42px;
  background: #0b2545;
  padding: 11px;
  box-shadow: var(--shadow);
  transform: rotate(1.2deg);
}
.phone-screen {
  border-radius: 33px;
  background: #fff;
  overflow: hidden;
  min-height: 540px;
}
.phone-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 18px 10px;
  font-size: 12px;
  color: #64748b;
}
.phone-title {
  padding: 0 18px 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--navy);
}
.phone-sub { padding: 0 18px 16px; font-size: 11px; color: #94a3b8; }
.gantt {
  padding: 0 14px 18px;
  display: grid;
  gap: 9px;
}
.gantt-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 8px;
  align-items: center;
  font-size: 9px;
  color: #64748b;
}
.gantt-track {
  position: relative;
  height: 22px;
  border-radius: 7px;
  background: #f1f5f9;
  overflow: hidden;
}
.gantt-bar {
  position: absolute;
  top: 4px;
  height: 14px;
  border-radius: 5px;
  background: linear-gradient(90deg, #1677ff, #5ea0ff);
}
.gantt-bar.green { background: linear-gradient(90deg, #16a34a, #4ade80); }
.gantt-bar.amber { background: linear-gradient(90deg, #d97706, #fbbf24); }
.gantt-bar.red { background: linear-gradient(90deg, #dc2626, #f87171); }
.phone-alert {
  margin: 4px 14px 12px;
  border-radius: 12px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  padding: 10px 11px;
  font-size: 10px;
  line-height: 1.45;
}
.phone-alert strong { display: block; font-size: 11px; }
.phone-bottom {
  display: flex;
  justify-content: space-around;
  padding: 12px 8px 18px;
  border-top: 1px solid #f1f5f9;
  color: #94a3b8;
  font-size: 9px;
}
.phone-bottom b { color: var(--blue); }
.float-card {
  position: absolute;
  z-index: 3;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 11px 14px;
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 8px;
}
.float-card .pill {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.phone { position: relative; z-index: 1; }
.float-card.one { top: -8px; left: 0; transform: rotate(-3deg); }
.float-card.two { bottom: -8px; right: 0; transform: rotate(2deg); }
.float-card.two .pill { background: var(--amber); }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: var(--bg); }
.section.dark { background: var(--navy); color: #fff; }
.section-head { max-width: 760px; margin-bottom: 38px; }
.section-head h2 {
  margin: 0 0 12px;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--navy);
}
.section.dark .section-head h2 { color: #fff; }
.section-head p { margin: 0; color: var(--muted); font-size: 17px; }
.section.dark .section-head p { color: #cbd5e1; }
.kicker {
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.section.dark .kicker { color: #7db4ff; }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.pain {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.pain h3 { margin: 0 0 8px; font-size: 16px; color: var(--navy); }
.pain p { margin: 0; color: var(--muted); font-size: 14px; }
.pain .num {
  display: inline-flex;
  width: 30px;
  height: 30px;
  border-radius: 9px;
  align-items: center;
  justify-content: center;
  background: var(--sky);
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
  margin-bottom: 14px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.02);
}
.feature h3 { margin: 0 0 10px; font-size: 18px; color: var(--navy); letter-spacing: -0.02em; }
.feature p { margin: 0; color: var(--muted); font-size: 14px; }
.icon-box {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--sky);
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 16px;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.step::before {
  counter-increment: step;
  content: "0" counter(step);
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 14px;
}
.step h3 { margin: 0 0 7px; font-size: 15px; color: var(--navy); }
.step p { margin: 0; color: var(--muted); font-size: 13px; }

.template-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.template {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.template .tag {
  align-self: flex-start;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--sky);
  padding: 4px 8px;
  border-radius: 999px;
}
.template h3 { margin: 0; font-size: 15px; color: var(--navy); }
.template p { margin: 0; font-size: 13px; color: var(--muted); flex: 1; }
.template a { font-size: 13px; font-weight: 700; }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: stretch;
}
.price-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
}
.price-card.featured {
  border-color: var(--blue);
  box-shadow: 0 18px 50px rgba(22, 119, 255, 0.16);
  position: relative;
}
.price-card.featured::before {
  content: "Most popular";
  position: absolute;
  top: -11px;
  left: 24px;
  background: var(--blue);
  color: #fff;
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.price-card h3 { margin: 0 0 6px; font-size: 16px; color: var(--navy); }
.price-card .price { font-size: 34px; font-weight: 800; letter-spacing: -0.04em; color: var(--navy); }
.price-card .price small { font-size: 13px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.price-card ul { margin: 18px 0 22px; padding: 0; list-style: none; display: grid; gap: 9px; }
.price-card li { font-size: 13px; color: #475569; display: flex; gap: 8px; }
.price-card li::before { content: "✓"; color: var(--green); font-weight: 800; }
.price-card .btn { margin-top: auto; width: 100%; }
.price-note { margin-top: 14px; font-size: 12px; color: #7c8aa0; }

.private-teaser {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}
.private-teaser h2 { margin: 0 0 12px; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -0.035em; }
.private-teaser p { color: #cbd5e1; font-size: 16px; margin: 0 0 22px; }
.private-teaser .panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 24px;
}
.private-teaser .panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.private-teaser .panel li { color: #e2e8f0; font-size: 14px; display: flex; gap: 9px; }
.private-teaser .panel li::before { content: "✓"; color: #7db4ff; font-weight: 800; }

.faq { max-width: 860px; }
.faq details {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 15px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 20px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 12px 0 0; color: var(--muted); font-size: 14px; max-width: 720px; }

.cta-band {
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  color: #fff;
  border-radius: 28px;
  padding: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow);
}
.cta-band h2 { margin: 0 0 8px; font-size: clamp(26px, 3vw, 36px); letter-spacing: -0.035em; }
.cta-band p { margin: 0; color: #dbeafe; font-size: 15px; }
.cta-band .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 42px 0 30px;
  background: #fff;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 30px;
  align-items: start;
}
.footer-brand p { margin: 10px 0 0; color: var(--muted); font-size: 13px; max-width: 340px; }
.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.footer-links h4 { margin: 0 0 10px; font-size: 12px; text-transform: uppercase; letter-spacing: 0.08em; color: #94a3b8; }
.footer-links a { display: block; color: #475569; font-size: 13px; margin: 7px 0; }
.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: #94a3b8;
  font-size: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
}

/* Legal / simple pages */
.simple-page { padding: 64px 0 80px; }
.simple-page h1 { font-size: clamp(32px, 4vw, 48px); letter-spacing: -0.04em; color: var(--navy); margin: 0 0 12px; }
.simple-page h2 { font-size: 20px; margin: 34px 0 10px; color: var(--navy); }
.simple-page p, .simple-page li { color: #475569; font-size: 15px; }
.simple-page .notice {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #9a3412;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 13px;
  margin: 20px 0;
}
.prose { max-width: 820px; }
.prose ul { padding-left: 22px; }
.back-link { display: inline-block; margin-bottom: 18px; font-size: 13px; font-weight: 700; }

/* Lead form */
.form-card {
  max-width: 820px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow-sm);
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.field { display: flex; flex-direction: column; gap: 7px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 13px; font-weight: 700; color: var(--navy); }
.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  padding: 11px 12px;
  font: inherit;
  font-size: 14px;
  color: var(--ink);
  background: #fff;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(22, 119, 255, 0.25);
  border-color: var(--blue);
}
.field textarea { min-height: 110px; resize: vertical; }
.checkbox {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}
.checkbox input { width: 16px; height: 16px; margin-top: 2px; flex: 0 0 auto; }
.honeypot { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
}
.form-status.error { display: block; background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; }
.form-status.info { display: block; background: var(--sky); color: var(--navy); border: 1px solid #d6e6ff; }

/* Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .phone-wrap { order: 2; }
  .hero { padding-top: 56px; }
  .card-grid, .pain-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .steps, .template-grid { grid-template-columns: 1fr 1fr; }
  .private-teaser { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-band { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 760px) {
  .nav { display: none; }
  .header-cta .btn-secondary { display: none; }
  .section { padding: 64px 0; }
  .card-grid, .pain-grid, .pricing-grid, .steps, .template-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 20px; }
  .hero-proof { gap: 12px; }
  .float-card { display: none; }
  .phone { transform: none; }
  .cta-band { padding: 30px; }
  .footer-links { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .container { width: min(100% - 32px, 1120px); }
  .hero h1 { font-size: 38px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .header-inner { min-height: 62px; }
  .brand { font-size: 17px; }
}
