:root {
  --bg: #fff1cf;
  --bg-soft: #fff8e8;
  --navy: #102f4d;
  --navy-2: #0a2138;
  --gold: #d4b15f;
  --gold-strong: #f0e600;
  --text: #17202a;
  --muted: #5d6672;
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(16, 47, 77, 0.16);
  --radius: 28px;
  --header-h: 66px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 0 clamp(18px, 3vw, 56px);
  background:
    linear-gradient(90deg, rgba(6, 22, 35, 0.96), rgba(16, 47, 77, 0.93)),
    radial-gradient(circle at 20% 0%, rgba(212, 177, 95, 0.16), transparent 42%);
  color: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.16);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: clamp(20px, 2vw, 27px);
  font-weight: 850;
  white-space: nowrap;
}

.brand-logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.1vw, 34px);
  font-size: clamp(15px, 1.25vw, 21px);
  font-weight: 650;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: var(--header-h);
  opacity: 0.92;
  transition: opacity 0.22s ease, color 0.22s ease;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active {
  opacity: 1;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  height: 5px;
  background: var(--gold-strong);
  border-radius: 999px;
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 23px;
  height: 2px;
  margin: 5px auto;
  background: var(--white);
  border-radius: 99px;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-h));
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(58px, 8vw, 100px) 24px;
  background-image:
    linear-gradient(90deg, rgba(255, 248, 232, 0.98) 0%, rgba(255, 248, 232, 0.92) 38%, rgba(255, 248, 232, 0.52) 64%, rgba(255, 248, 232, 0.16) 100%),
    url("/home.png");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid rgba(212, 177, 95, 0.25);
  color: var(--navy);
  font-weight: 800;
  box-shadow: 0 14px 34px rgba(16, 47, 77, 0.09);
}

.eyebrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #8ed2a5;
  box-shadow: 0 0 0 7px rgba(142, 210, 165, 0.22);
}

.hero h1 {
  width: min(820px, 100%);
  margin: 0;
  color: var(--navy-2);
  font-size: clamp(43px, 6.4vw, 86px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.hero h1 span {
  color: #bd9342;
}

.lead {
  width: min(690px, 100%);
  margin: 26px 0 0;
  color: #3f4954;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 23px;
  border-radius: 999px;
  font-weight: 900;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn.primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 16px 34px rgba(16, 47, 77, 0.22);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
  border: 1px solid rgba(16, 47, 77, 0.12);
}

.demo-note {
  width: min(640px, 100%);
  margin: 14px 0 0;
  color: rgba(63, 73, 84, 0.82);
  font-size: 14px;
  line-height: 1.5;
}

.container {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-section,
.features-section,
.support-section,
.final-section {
  padding: clamp(62px, 8vw, 100px) 24px;
}

.intro-card {
  padding: clamp(28px, 5vw, 60px);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(212, 177, 95, 0.18);
  box-shadow: var(--shadow);
  text-align: center;
}

.intro-card h2,
.section-heading h2,
.support-text h2,
.final-card h2 {
  margin: 0;
  color: var(--navy-2);
  font-size: clamp(34px, 5vw, 62px);
  line-height: 1.07;
  letter-spacing: -0.045em;
}

.intro-card p {
  width: min(920px, 100%);
  margin: 24px auto 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.72;
}

.section-heading {
  text-align: center;
  margin-bottom: 42px;
}

.section-heading p,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 13px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature {
  min-height: 250px;
  padding: 30px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(16, 47, 77, 0.08);
  box-shadow: 0 18px 44px rgba(16, 47, 77, 0.10);
}

.feature-icon {
  display: block;
  font-size: 42px;
  margin-bottom: 18px;
}

.feature h3 {
  margin: 0 0 12px;
  color: var(--navy-2);
  font-size: 24px;
  line-height: 1.18;
}

.feature p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.62;
}

.support-section {
  background: linear-gradient(180deg, var(--bg), var(--bg-soft));
}

.support-layout {
  display: grid;
  grid-template-columns: 1fr 0.9fr;
  gap: 28px;
  align-items: stretch;
}

.support-text,
.steps {
  padding: clamp(28px, 4vw, 54px);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.support-text {
  background: var(--navy-2);
  color: var(--white);
}

.support-text h2 {
  color: var(--white);
}

.support-text p:not(.section-kicker) {
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.72;
}

.steps {
  display: grid;
  gap: 16px;
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(212, 177, 95, 0.18);
}

.step {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 16px;
  align-items: center;
  padding: 20px;
  border-radius: 20px;
  background: #fff7e5;
}

.step strong {
  color: var(--gold);
  font-size: 28px;
}

.step span {
  color: var(--navy-2);
  font-size: 19px;
  font-weight: 800;
  line-height: 1.35;
}

.final-card {
  padding: clamp(34px, 6vw, 70px);
  border-radius: 34px;
  background:
    linear-gradient(135deg, rgba(16, 47, 77, 0.96), rgba(10, 33, 56, 0.92)),
    radial-gradient(circle at top right, rgba(212, 177, 95, 0.28), transparent 38%);
  color: var(--white);
  text-align: center;
  box-shadow: var(--shadow);
}

.final-logo {
  width: 115px;
  height: 115px;
  object-fit: contain;
  margin: 0 auto 18px;
}

.final-card h2 {
  color: var(--white);
}

.final-card p {
  width: min(780px, 100%);
  margin: 22px auto 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.65;
}

.final-actions {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.final-offer-btn {
  background: var(--gold-strong);
  color: var(--navy-2);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.22);
}

.final-offer-btn:hover {
  background: #fff35a;
}

.site-footer {
  padding: 30px 20px 40px;
  text-align: center;
  background: var(--navy-2);
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  line-height: 1.6;
}

.site-footer p {
  margin: 6px 0;
}

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

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

@media (max-width: 1160px) {
  .main-nav {
    gap: 19px;
    font-size: 17px;
  }

  .brand {
    font-size: 23px;
  }
}

@media (max-width: 980px) {
  :root {
    --header-h: 68px;
  }

  .site-header {
    padding: 0 18px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    left: 14px;
    right: 14px;
    top: calc(var(--header-h) + 10px);
    display: grid;
    gap: 0;
    padding: 12px;
    border-radius: 24px;
    background: rgba(10, 33, 56, 0.97);
    box-shadow: var(--shadow);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: 0.24s ease;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav a {
    min-height: 52px;
    padding: 0 14px;
    border-radius: 16px;
    font-size: 18px;
  }

  .main-nav a.active::after {
    left: 14px;
    right: auto;
    bottom: 8px;
    width: 70px;
    height: 5px;
  }

  .features-grid,
  .support-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    background-position: center center;
  }
}

@media (max-width: 620px) {
  .brand span:last-child {
    font-size: 20px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 54px 18px 70px;
    background-image:
      linear-gradient(180deg, rgba(255, 248, 232, 0.96), rgba(255, 241, 207, 0.92)),
      url("/home.png");
    background-position: center top;
  }

  .hero h1 {
    font-size: 43px;
  }

  .lead {
    font-size: 18px;
  }

  .hero-actions {
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .intro-section,
  .features-section,
  .support-section,
  .final-section {
    padding: 54px 18px;
  }

  .feature {
    min-height: auto;
  }

  .step {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


.subpage-hero {
  padding: clamp(62px, 8vw, 105px) 24px;
  background:
    linear-gradient(135deg, rgba(255, 248, 232, 0.98), rgba(255, 241, 207, 0.9)),
    radial-gradient(circle at 72% 30%, rgba(212, 177, 95, 0.24), transparent 34%);
}

.subpage-hero h1 {
  width: min(900px, 100%);
  margin: 0;
  color: var(--navy-2);
  font-size: clamp(46px, 7vw, 90px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.subpage-hero p:not(.eyebrow) {
  width: min(760px, 100%);
  margin: 24px 0 0;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.65;
}

.subpage-actions {
  display: flex;
  justify-content: center;
  margin-top: 28px;
}

.home-notes-section { padding: 0 24px 70px; background: #fff1cf; }
.home-notes-card {
  padding: clamp(20px, 4vw, 32px);
  border-radius: 24px;
  background: rgba(255,255,255,.76);
  border: 1px solid rgba(16,47,77,.08);
  box-shadow: 0 18px 44px rgba(16,47,77,.10);
}
.home-notes-card p {
  margin: 0 0 16px;
  color: #4b5563;
  font-size: 15.5px;
  line-height: 1.75;
}
.home-notes-card p:last-child { margin-bottom: 0; }
