:root {
  /* Brand = logo blue */
  --brand: #16327c;
  --brand-deep: #0f2558;
  --brand-mid: #1a3d8f;
  --bg: #f4f6fb;
  --surface: #ffffff;
  --ink: #121c33;
  --muted: #5a6478;
  --line: #d8deeb;
  --primary: var(--brand);
  --primary-deep: var(--brand-deep);
  --accent: #ef7c3a;
  --radius: 18px;
  --shadow: 0 14px 40px rgba(22, 50, 124, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.25rem;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  line-height: 1.65;
}

h1,
h2,
h3,
a,
button {
  font-family: "Sora", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.narrow {
  width: min(760px, 100%);
}

.bg-decor {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at 10% 12%, rgba(22, 50, 124, 0.14), transparent 38%),
    radial-gradient(circle at 84% 18%, rgba(239, 124, 58, 0.14), transparent 36%),
    radial-gradient(circle at 58% 80%, rgba(22, 50, 124, 0.09), transparent 36%),
    linear-gradient(150deg, #f6f7fb 0%, #eef1f8 55%, #e8ecf4 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 24;
  backdrop-filter: blur(8px);
  background: rgba(244, 246, 251, 0.88);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease;
}

.site-header.scrolled {
  border-color: var(--line);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.92rem 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.2px;
  border-radius: 10px;
}

.logo:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.logo-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: linear-gradient(130deg, var(--primary), var(--accent));
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.site-nav a {
  font-size: 0.92rem;
  color: #1a2540;
}

.site-nav a.btn {
  color: #fff;
}

.site-nav a.btn:hover {
  color: #fff;
}

.btn {
  border: none;
  border-radius: 999px;
  background: linear-gradient(130deg, var(--brand-mid), var(--brand-deep));
  color: #f7f9fc;
  font-weight: 600;
  padding: 0.8rem 1.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 11px 28px rgba(22, 50, 124, 0.28);
}

.btn-small {
  padding: 0.56rem 0.92rem;
  font-size: 0.84rem;
 
}

.menu-btn {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}

.menu-btn span {
  width: 17px;
  height: 2px;
  display: block;
  background: var(--ink);
}

.section {
  padding: 4.2rem 0;
}

.hero {
  padding-top: 4.7rem;
}

.hero-grid,
.solution-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2rem;
  align-items: center;
}

.eyebrow {
  margin: 0 0 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.74rem;
  font-weight: 800;
  color: var(--primary-deep);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.1rem, 5vw, 3.9rem);
  line-height: 1.03;
}

.hero h1 span {
  display: block;
  color: #1e2d4d;
}

.lead {
  margin: 1rem 0 0;
  color: #243352;
  font-weight: 600;
  max-width: 56ch;
}

.subtext {
  margin: 0.75rem 0 1.45rem;
  color: var(--muted);
  max-width: 60ch;
}

.hero-shot,
.solution-shot {
  margin: 0;
  border: 1px solid var(--line);
  background:
    linear-gradient(120deg, rgba(22, 50, 124, 0.08), rgba(239, 124, 58, 0.1)),
    var(--surface);
  border-radius: calc(var(--radius) + 6px);
  min-height: 280px;
  padding: 0.8rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: var(--shadow);
  gap: 0.65rem;
}

.hero-shot img,
.solution-shot img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  border: 1px solid rgba(22, 50, 124, 0.1);
  background: #eef1f7;
}

.hero-shot figcaption,
.solution-shot figcaption {
  margin: 0;
  font-size: 0.86rem;
  color: #3a4a66;
  font-weight: 600;
}

.problem {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55);
}

.problem h2,
.solution h2,
.section-head h2,
.closing h2 {
  margin: 0 0 0.7rem;
  font-size: clamp(1.6rem, 3.4vw, 2.6rem);
  line-height: 1.2;
}

.problem p,
.solution p,
.card p,
.step p,
.closing p {
  color: var(--muted);
  margin: 0.55rem 0 0;
}

.routine-list {
  margin: 0.95rem 0;
  padding-left: 1.1rem;
  color: #243352;
}

.routine-list li {
  margin: 0.35rem 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 1.4rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.step {
  background: linear-gradient(155deg, #ffffff, #f4f6fc);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.05rem;
  box-shadow: var(--shadow);
}

.step span {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  background: linear-gradient(130deg, var(--brand-mid), var(--accent));
}

.step h3 {
  margin: 0.65rem 0 0;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.card {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
}

.closing-box {
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    linear-gradient(125deg, rgba(22, 50, 124, 0.09), rgba(239, 124, 58, 0.1)),
    #ffffff;
  padding: 2.1rem;
  box-shadow: var(--shadow);
  text-align: left;
}

.closing-box .closing-tagline {
  margin-top: 0.75rem;
  margin-bottom: 1.5rem;
}

.closing-box .closing-cta {
  margin-top: 0;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 3.25rem 0 2.4rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.55) 0%, rgba(244, 246, 251, 0.94) 100%);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 200px) minmax(0, 1fr);
  gap: 2rem 3rem;
  align-items: start;
  padding: 0.5rem 0 0.35rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-logo-link {
  display: inline-block;
  line-height: 0;
  align-self: flex-start;
  border-radius: 8px;
}

.footer-logo-link:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

.footer-logo-link:hover .footer-logo {
  opacity: 1;
}

.footer-logo {
  height: 36px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  object-position: left center;
  display: block;
  opacity: 0.92;
}

.footer-tagline {
  margin: 0;
  font-family: "Sora", sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--primary);
  line-height: 1.4;
}

.footer-details {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.footer-about {
  margin: 0 0 1.15rem;
  font-size: 1.02rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 58ch;
}

.footer-meta {
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer-meta-line {
  display: block;
}

.footer-contact-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.footer-contact-link:hover {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-mid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 12px;
  background: rgba(22, 50, 124, 0.08);
  color: var(--brand);
  cursor: default;
  user-select: none;
}

.footer-social-icon svg {
  width: 1.15rem;
  height: 1.15rem;
  display: block;
}

.footer-legal-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-family: "Sora", sans-serif;
  font-size: 0.82rem;
  color: var(--muted);
}

.footer-legal-item {
  cursor: default;
  user-select: none;
  white-space: nowrap;
}

.footer-legal-sep {
  color: rgba(84, 100, 104, 0.55);
  user-select: none;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem 1.25rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--line);
}

.footer-copy {
  margin: 0;
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
  max-width: 62ch;
}

.footer-back {
  font-family: "Sora", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary);
  flex-shrink: 0;
}

.footer-back:hover {
  color: var(--primary-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 700px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-mid {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.09s;
}

.delay-2 {
  transition-delay: 0.18s;
}

.delay-3 {
  transition-delay: 0.27s;
}

@media (max-width: 1020px) {
  .hero-grid,
  .solution-grid,
  .timeline,
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-grid > :first-child,
  .solution-grid > :first-child,
  .timeline > :first-child,
  .why-grid > :first-child {
    grid-column: span 2;
  }

  .site-nav {
    position: absolute;
    right: 4%;
    top: calc(100% + 8px);
    min-width: 250px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 0.8rem;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .site-nav.open {
    display: flex;
  }

  .menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 3.3rem;
  }

  .section {
    padding: 3.4rem 0;
  }

  .hero-grid,
  .solution-grid,
  .timeline,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid > :first-child,
  .solution-grid > :first-child,
  .timeline > :first-child,
  .why-grid > :first-child {
    grid-column: auto;
  }

  .hero-shot,
  .solution-shot {
    min-height: 240px;
  }

  .hero-shot figcaption,
  .solution-shot figcaption {
    font-size: 0.8rem;
  }

  .closing-box {
    padding: 1.6rem;
  }
}
