:root {
  --ink: #10231f;
  --muted: #5d6d68;
  --paper: #fbfaf6;
  --panel: #ffffff;
  --line: #dfe6df;
  --forest: #123c35;
  --forest-2: #1f6a5a;
  --gold: #d59f2c;
  --gold-2: #f0c15c;
  --clay: #a34f37;
  --mist: #eef5ef;
  --night: #071b2b;
  --blue: #0a7ee6;
  --shadow: 0 18px 48px rgba(15, 35, 31, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Tahoma, "Segoe UI", Arial, sans-serif;
  line-height: 1.75;
}

body.no-scroll {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 30;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(251, 250, 246, 0.92);
  border-bottom: 1px solid rgba(223, 230, 223, 0.82);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand img {
  width: 166px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
}

.site-nav a:hover {
  color: var(--forest);
  background: var(--mist);
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  cursor: pointer;
}

.menu-button span {
  width: 20px;
  height: 2px;
  background: var(--forest);
}

.hero {
  position: relative;
  min-height: 86vh;
  overflow: hidden;
  isolation: isolate;
  background: #071b18;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.02);
  transition: opacity 0.7s ease, transform 0.9s ease;
  pointer-events: none;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
  z-index: 1;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 26, 20, 0.05), rgba(4, 26, 20, 0.28) 45%, rgba(251, 250, 246, 0.92) 78%),
    linear-gradient(0deg, rgba(4, 26, 20, 0.14), rgba(4, 26, 20, 0));
}

.hero-shade-light {
  background:
    linear-gradient(90deg, rgba(0, 80, 58, 0.05), rgba(0, 80, 58, 0.16) 45%, rgba(251, 250, 246, 0.94) 82%),
    linear-gradient(0deg, rgba(0, 80, 58, 0.16), rgba(0, 80, 58, 0));
}

.hero-shade-dark {
  background:
    linear-gradient(90deg, rgba(2, 13, 24, 0.08), rgba(2, 13, 24, 0.24) 45%, rgba(2, 13, 24, 0.88) 82%),
    linear-gradient(0deg, rgba(2, 13, 24, 0.28), rgba(2, 13, 24, 0));
}

.hero-caption {
  position: relative;
  z-index: 2;
  width: min(620px, calc(100% - 48px));
  min-height: 86vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 126px 0 86px;
  margin-inline: max(24px, calc((100vw - 1180px) / 2)) auto;
  color: var(--ink);
}

.hero-caption-dark {
  color: #fff;
}

.hero-caption .eyebrow,
.hero-caption-light .eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero-caption-dark .eyebrow {
  color: var(--gold-2);
}

.hero h1,
.hero h2 {
  margin: 0;
  font-size: 3.75rem;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero-lead {
  margin: 22px 0 0;
  max-width: 42rem;
  color: #2d403b;
  font-size: 1.16rem;
  font-weight: 600;
}

.hero-caption-dark .hero-lead {
  color: #e6f5f0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  white-space: nowrap;
}

.button.primary {
  background: var(--forest);
  color: #fff;
  box-shadow: 0 16px 32px rgba(18, 60, 53, 0.2);
}

.hero-caption-dark .button.primary {
  background: var(--gold);
  color: #10231f;
}

.button.primary:hover {
  background: var(--forest-2);
}

.hero-caption-dark .button.primary:hover {
  background: var(--gold-2);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.86);
  border-color: rgba(18, 60, 53, 0.2);
  color: var(--forest);
}

.hero-caption-dark .button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.button.secondary:hover {
  border-color: var(--forest);
}

.slider-control {
  position: absolute;
  top: 50%;
  z-index: 5;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 8px;
  background: rgba(16, 35, 31, 0.55);
  color: #fff;
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  transform: translateY(-50%);
  backdrop-filter: blur(8px);
}

.slider-control:hover {
  background: rgba(16, 35, 31, 0.78);
}

.slider-prev {
  right: 20px;
}

.slider-next {
  left: 20px;
}

.slider-dots {
  position: absolute;
  right: 50%;
  bottom: 24px;
  z-index: 5;
  display: flex;
  gap: 8px;
  transform: translateX(50%);
}

.slider-dots button {
  width: 34px;
  height: 8px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
  cursor: pointer;
}

.slider-dots button.is-active {
  width: 48px;
  background: var(--gold);
}

.signal-band {
  width: min(1180px, calc(100% - 48px));
  margin: -38px auto 0;
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.signal-item {
  padding: 22px;
  min-height: 126px;
  border-inline-start: 1px solid var(--line);
}

.signal-item:last-child {
  border-inline-start: 0;
}

.signal-item strong {
  display: block;
  color: var(--forest);
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.signal-item span {
  display: block;
  color: var(--muted);
  font-size: 0.94rem;
}

.section {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
  padding: 86px 0 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 48px;
  align-items: start;
}

.section h2,
.final-cta h2 {
  margin: 0;
  font-size: 2.35rem;
  line-height: 1.28;
  letter-spacing: 0;
}

.intro p,
.section-heading p,
.fit-copy p,
.final-cta p,
.mini-copy p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.feature-card,
.module-card,
.timeline-item,
.faq details,
.mini-grid article,
.link-grid a {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.feature-card {
  min-height: 184px;
  padding: 24px;
}

.card-mark {
  width: 36px;
  height: 6px;
  display: block;
  background: var(--gold);
  border-radius: 8px;
  margin-bottom: 18px;
}

.feature-card h3,
.module-card h3,
.timeline-item h3 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.feature-card p,
.module-card p,
.timeline-item p,
.faq p {
  margin: 0;
  color: var(--muted);
}

.section-heading {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: end;
  margin-bottom: 26px;
}

.section-heading p {
  max-width: 450px;
}

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

.module-card {
  min-height: 176px;
  padding: 26px;
  position: relative;
  overflow: hidden;
}

.module-card::before {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 5px;
  background: var(--forest-2);
}

.mini-showcase {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 28px;
  align-items: stretch;
}

.mini-copy {
  padding: 34px;
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(213, 159, 44, 0.2), transparent 36%),
    linear-gradient(135deg, #123c35, #071b2b);
  color: #fff;
}

.mini-copy .section-kicker,
.mini-copy p {
  color: #f2ddaa;
}

.mini-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.mini-grid article {
  padding: 24px;
  min-height: 168px;
}

.mini-grid strong,
.link-grid strong {
  display: block;
  color: var(--forest);
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.mini-grid span,
.link-grid span {
  display: block;
  color: var(--muted);
}

.workflow {
  width: 100%;
  max-width: none;
  margin-top: 86px;
  padding: 72px max(24px, calc((100vw - 1180px) / 2));
  background: var(--forest);
  color: #fff;
}

.workflow .section-kicker {
  color: #f1c467;
}

.workflow h2 {
  max-width: 680px;
}

.timeline {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.timeline-item {
  min-height: 190px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.timeline-item span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: #f1c467;
  color: var(--forest);
  font-weight: 900;
}

.timeline-item p {
  color: #dce9e4;
}

.fit {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
}

.fit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.fit-list li {
  padding: 18px 20px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: #243b35;
  font-weight: 700;
}

.store-links {
  scroll-margin-top: 84px;
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.link-grid a {
  min-height: 174px;
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-grid a:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq details {
  padding: 18px 22px;
}

.faq summary {
  cursor: pointer;
  color: var(--forest);
  font-weight: 800;
}

.faq p {
  margin-top: 10px;
}

.final-cta {
  width: min(1180px, calc(100% - 48px));
  margin: 90px auto 0;
  padding: 34px;
  display: flex;
  justify-content: space-between;
  gap: 32px;
  align-items: center;
  background: #f6efe2;
  border: 1px solid #ead9ba;
  border-radius: 8px;
}

.final-cta p {
  max-width: 620px;
}

.site-footer {
  width: min(1180px, calc(100% - 48px));
  margin: 44px auto 0;
  padding: 28px 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-brand,
.footer-links {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.site-footer img {
  width: 142px;
  height: auto;
}

.footer-links a {
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--forest);
}

@media (max-width: 1120px) {
  .site-nav {
    gap: 4px;
    font-size: 0.9rem;
  }

  .site-nav a {
    padding-inline: 9px;
  }

  .link-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 980px) {
  .site-header {
    padding-inline: 18px;
  }

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

  .site-nav {
    position: fixed;
    top: 72px;
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    justify-content: center;
  }

  .hero {
    min-height: 78vh;
  }

  .hero-caption {
    width: min(620px, calc(100% - 36px));
    min-height: 78vh;
    padding: 118px 0 72px;
  }

  .hero-shade,
  .hero-shade-light {
    background: rgba(251, 250, 246, 0.88);
  }

  .hero-shade-dark {
    background: rgba(2, 13, 24, 0.74);
  }

  .hero h1,
  .hero h2 {
    font-size: 3.05rem;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .slider-control {
    display: none;
  }

  .signal-band,
  .intro-grid,
  .module-grid,
  .timeline,
  .fit,
  .mini-showcase {
    grid-template-columns: 1fr;
  }

  .signal-item,
  .signal-item:last-child {
    border-inline-start: 0;
    border-top: 1px solid var(--line);
  }

  .signal-item:first-child {
    border-top: 0;
  }

  .feature-list,
  .mini-grid,
  .link-grid {
    grid-template-columns: 1fr;
  }

  .section-heading,
  .final-cta,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 138px;
  }

  .hero {
    min-height: 84vh;
  }

  .hero-caption {
    width: calc(100% - 32px);
    min-height: 84vh;
    margin-inline: 16px;
    padding-bottom: 78px;
  }

  .hero h1,
  .hero h2 {
    font-size: 2.1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .slider-dots {
    bottom: 18px;
  }

  .section,
  .signal-band,
  .final-cta,
  .site-footer {
    width: min(100% - 32px, 1180px);
  }

  .section {
    padding-top: 64px;
  }

  .section h2,
  .final-cta h2 {
    font-size: 1.9rem;
  }

  .final-cta,
  .mini-copy {
    padding: 24px;
  }
}
