:root {
  --navy: #113162;
  --navy-deep: #0b2247;
  --navy-tint: #f2f5fa;
  --ink: #1a2230;
  --muted: #5a6472;
  --white: #ffffff;
  --line: #eef1f5;
  --maxw: 960px;
  --narrow: 720px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.container.narrow { max-width: var(--narrow); }
.center { text-align: center; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: radial-gradient(ellipse at 50% 28%, rgba(17, 49, 98, 0.06), rgba(255, 255, 255, 0) 60%);
}
.hero-inner { padding: 80px 24px; }

.logo {
  width: 200px;
  height: auto;
  margin: 0 auto 34px;
  display: block;
}

.headline {
  font-size: clamp(2.1rem, 5.4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 22px;
  line-height: 1.12;
}

.subtag {
  font-size: clamp(1.05rem, 2.4vw, 1.28rem);
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 36px;
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--navy);
  opacity: 0.45;
  font-size: 1.4rem;
  animation: bob 2s ease-in-out infinite;
}
@keyframes bob {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 30px;
  border-radius: 999px;
  transition: background 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
  box-shadow: 0 6px 18px rgba(17, 49, 98, 0.18);
}
.btn:hover {
  background: var(--navy-deep);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(17, 49, 98, 0.26);
}
.btn-lg { font-size: 1.1rem; padding: 16px 38px; }

/* ---------- GENERIC SECTION ---------- */
.section { padding: 96px 0; border-top: 1px solid var(--line); }

.section h2 {
  font-size: clamp(1.6rem, 3.8vw, 2.3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy);
  margin: 0 0 24px;
  line-height: 1.2;
}
.section p {
  font-size: clamp(1.05rem, 2.2vw, 1.18rem);
  color: var(--ink);
  margin: 0 0 18px;
}
.section p:last-child { margin-bottom: 0; }

.problem .lead-close {
  font-weight: 600;
  color: var(--navy);
  font-size: clamp(1.15rem, 2.4vw, 1.3rem);
}

.tint { background: var(--navy-tint); border-top-color: transparent; }
.section h2.center { margin-bottom: 48px; }

/* ---------- STEPS ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 4px 16px rgba(17, 49, 98, 0.05);
}
.step-num {
  display: inline-block;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--navy);
  opacity: 0.35;
  margin-bottom: 10px;
}
.step h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 12px;
}
.step p {
  font-size: 1.02rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.6;
}

/* ---------- WHY (dark band) ---------- */
.why {
  background: var(--navy);
  border-top-color: transparent;
  text-align: center;
}
.why h2 { color: var(--white); }
.why p { color: rgba(255, 255, 255, 0.82); }
.why .why-tag {
  font-size: clamp(1.2rem, 2.6vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  margin-top: 6px;
}

/* ---------- CONTACT ---------- */
.contact { text-align: center; background: var(--navy-tint); border-top-color: transparent; }
.contact h2 { max-width: 640px; margin: 0 auto 32px; }

/* ---------- FOOTER ---------- */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
  color: var(--muted);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-tag { color: #9aa3b0; }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 780px) {
  .steps { grid-template-columns: 1fr; gap: 18px; }
  .section { padding: 72px 0; }
}
@media (max-width: 560px) {
  .footer-inner { justify-content: center; text-align: center; }
}

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