/* ───── OOT brand variables ───── */
:root {
  --brand: #046bd2;
  --brand-dark: #0353a3;
  --brand-darker: #022d59;
  --accent: #2ECC71;
  --accent-dark: #25a259;
  --bg: #ffffff;
  --bg-soft: #EBF3FE;
  --bg-section: #f7f9fc;
  --ink: #111111;
  --ink-soft: #475569;
  --line: #e2e8f0;
  --shadow: 0 4px 24px rgba(4, 107, 210, 0.08);
  --shadow-lg: 0 12px 40px rgba(4, 107, 210, 0.12);
  --radius: 12px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 88px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Skip link — keyboard accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--brand);
  color: white;
  padding: 12px 18px;
  border-radius: 0 0 8px 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-decoration: none;
  z-index: 200;
}
.skip-link:focus {
  left: 0;
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Anchor scroll offset for sections under sticky nav */
section[id] { scroll-margin-top: 88px; }

body {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  line-height: 1.2;
  color: var(--ink);
  letter-spacing: -0.01em;
}
h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.35rem; }

p { color: var(--ink-soft); }

a { color: var(--brand); text-decoration: none; transition: color 0.15s ease; }
a:hover { color: var(--brand-dark); }

img { max-width: 100%; height: auto; display: block; }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

.eyebrow {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand);
  background: var(--bg-soft);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

/* ───── Buttons ───── */
.btn {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  text-align: center;
  padding: 14px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.btn-primary { background: var(--brand); color: white; box-shadow: 0 4px 12px rgba(4,107,210,0.25); }
.btn-primary:hover { background: var(--brand-dark); color: white; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(4,107,210,0.35); }
.btn-ghost { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-ghost:hover { background: var(--bg-soft); }
.btn-ghost-light { background: rgba(255,255,255,0.1); color: white; border-color: rgba(255,255,255,0.6); }
.btn-ghost-light:hover { background: rgba(255,255,255,0.2); color: white; border-color: white; }
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.92rem; }
.btn-block { display: block; width: 100%; }

/* ───── Nav ───── */
.nav {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 100;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.logo { flex-shrink: 1; min-width: 0; }
.logo img { height: 36px; max-width: 100%; }
.nav-cta { flex-shrink: 0; white-space: nowrap; }
.nav-cta-short { display: none; }

/* ───── Hero ───── */
.hero {
  background:
    radial-gradient(ellipse at 80% -20%, rgba(4,107,210,0.08), transparent 60%),
    radial-gradient(ellipse at 0% 100%, rgba(46,204,113,0.06), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-soft) 100%);
  padding: 80px 0 100px;
}
.hero-inner { max-width: 880px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: 3.4rem; margin-bottom: 24px; }
.hero-sub { font-size: 1.18rem; max-width: 720px; margin: 0 auto 36px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 32px; }
.hero-trust {
  font-size: 0.92rem;
  color: var(--ink-soft);
  margin-top: 18px;
}

/* ───── Trusted bar ───── */
.trusted {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: white;
}
.trusted-label {
  text-align: center;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 18px;
  font-weight: 500;
}
.trusted-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  flex-wrap: wrap;
}
.trusted-logos span {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--ink-soft);
  opacity: 0.75;
  letter-spacing: 0.02em;
}

/* ───── Problem section ───── */
.problem { padding: 100px 0; background: var(--bg-section); }
.problem-inner { max-width: 1100px; margin: 0 auto; }
.problem h2 { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.problem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
}
.problem-item {
  background: white;
  padding: 32px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.problem-item:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.problem-num {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brand);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}
.problem-item h3 { font-size: 1.18rem; margin-bottom: 12px; }
.problem-item p { font-size: 0.96rem; }

/* ───── Section head ───── */
.section-head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section-head .eyebrow { margin-bottom: 16px; }
.section-head h2 { margin-bottom: 16px; }
.section-sub { font-size: 1.1rem; color: var(--ink-soft); }

/* ───── Tiers ───── */
.tiers { padding: 100px 0; background: white; }
.tier-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: stretch;
}
.tier {
  background: white;
  border: 2px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--brand); }
.tier-featured {
  border-color: var(--brand);
  background: linear-gradient(180deg, white 0%, var(--bg-soft) 100%);
  position: relative;
}
.tier-featured::before {
  content: 'Most popular';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: white;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 999px;
}
.tier-head { margin-bottom: 16px; }
.tier-tag {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 8px;
}
.tier h3 { font-size: 1.4rem; }
.tier-pitch { margin-bottom: 24px; font-size: 0.98rem; }
.tier-list { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.tier-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.95rem;
  color: var(--ink-soft);
}
.tier-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'><path fill='white' d='M6.4 11.4L3 8l1.4-1.4L6.4 8.6 11.6 3.4 13 4.8z'/></svg>");
  background-position: center;
  background-repeat: no-repeat;
}

/* ───── Benefits ───── */
.benefits { padding: 100px 0; background: var(--bg-section); }
.benefits-inner { max-width: 1100px; margin: 0 auto; }
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.benefit {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: white;
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.benefit .check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}
.benefit strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.02rem;
  color: var(--ink);
  margin-bottom: 4px;
}
.benefit p { font-size: 0.92rem; }

/* ───── Process steps ───── */
.process { padding: 100px 0; background: white; }
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 32px;
  position: relative;
}
.process-step {
  text-align: center;
  padding: 0 16px;
}
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--brand);
  color: white;
  border-radius: 50%;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  margin-bottom: 20px;
  box-shadow: 0 6px 16px rgba(4,107,210,0.3);
}
.process-step h3 { font-size: 1.15rem; margin-bottom: 10px; }
.process-step p { font-size: 0.94rem; }

/* ───── Trust block ───── */
.trust-block { padding: 60px 0; background: var(--brand); color: white; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  text-align: center;
}
.trust-item strong {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.2rem;
  margin-bottom: 4px;
}
.trust-item span {
  font-size: 0.95rem;
  color: white;
}

/* ───── FAQ ───── */
.faq { padding: 100px 0; background: var(--bg-section); }
.faq-inner { max-width: 800px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details {
  background: white;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 0;
  overflow: hidden;
  transition: box-shadow 0.2s ease;
}
.faq details[open] { box-shadow: var(--shadow); }
.faq summary {
  cursor: pointer;
  padding: 22px 28px;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding-right: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--brand);
  font-weight: 400;
  transition: transform 0.2s ease;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p {
  padding: 0 28px 22px;
  font-size: 0.96rem;
}

/* ───── Final CTA ───── */
.cta-final {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(4,107,210,0.12), transparent 60%),
    linear-gradient(135deg, var(--brand-darker) 0%, var(--brand) 100%);
  color: white;
  text-align: center;
}
.cta-final-inner { max-width: 720px; margin: 0 auto; }
.cta-final h2 { color: white; margin-bottom: 18px; }
.cta-final p { color: white; font-size: 1.15rem; margin-bottom: 32px; opacity: 0.95; }
.cta-final-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-final .btn-primary {
  background: white;
  color: var(--brand);
  font-weight: 800;
}
.cta-final .btn-primary:hover {
  background: var(--bg-soft);
  color: var(--brand-darker);
}

/* ───── Footer ───── */
.footer { background: var(--ink); color: rgba(255,255,255,0.72); padding: 56px 0 32px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand img { height: 32px; margin-bottom: 16px; filter: brightness(0) invert(1); opacity: 0.85; }
.footer-brand p { color: rgba(255,255,255,0.6); font-size: 0.92rem; max-width: 460px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.footer-links a { color: rgba(255,255,255,0.78); font-size: 0.95rem; }
.footer-links a:hover { color: white; }
.footer-base { padding-top: 24px; font-size: 0.85rem; color: rgba(255,255,255,0.5); }

/* ───── Mobile ───── */
@media (max-width: 768px) {
  body { font-size: 16px; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.7rem; }
  .hero { padding: 60px 0 70px; }
  .hero h1 { font-size: 2.4rem; }
  .hero-sub { font-size: 1.05rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .cta-final-actions { flex-direction: column; }
  .cta-final-actions .btn { width: 100%; }
  .problem, .tiers, .benefits, .process, .faq, .cta-final { padding: 70px 0; }
  .section-head { margin-bottom: 40px; }
  .trusted-logos { gap: 28px; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  /* Tighten grids for narrow screens to prevent 320px overflow */
  .problem-grid,
  .tier-grid,
  .benefit-grid { grid-template-columns: 1fr; }
  .process-steps { grid-template-columns: 1fr 1fr; }
}

/* Phones — show shorter nav CTA */
@media (max-width: 560px) {
  .nav-cta-full { display: none; }
  .nav-cta-short { display: inline; }
  .nav-cta { padding: 9px 16px; font-size: 0.88rem; }
  .logo img { height: 32px; }
  .nav-inner { padding-top: 12px; padding-bottom: 12px; }
}

/* Very narrow phones (320-380px) */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.85rem; }
  .hero h1 { font-size: 1.95rem; }
  .hero-sub { font-size: 1rem; }
  .eyebrow { font-size: 0.72rem; padding: 5px 12px; }
  .tier { padding: 28px 22px; }
  .problem-item { padding: 26px 22px; }
  .trust-item strong { font-size: 1.85rem; }
  .process-steps { grid-template-columns: 1fr; }
  .faq summary { padding: 18px 22px; padding-right: 48px; font-size: 0.96rem; }
  .faq summary::after { right: 18px; }
  .faq details p { padding: 0 22px 18px; }
  .logo img { height: 28px; }
  .nav-cta { padding: 8px 14px; font-size: 0.82rem; }
}
