:root {
  --bg: #eef5f1;
  --panel: rgba(255, 255, 255, 0.82);
  --panel-strong: rgba(252, 255, 253, 0.96);
  --text: #1e2a24;
  --muted: #607267;
  --line: rgba(30, 42, 36, 0.08);
  --gold: #ffb67f;
  --orange: #ff7d5b;
  --lime: #86cf5f;
  --teal: #1aa580;
  --blue: #7db8ff;
  --shadow: 0 24px 70px rgba(22, 44, 34, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

section[id] {
  scroll-margin-top: 120px;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 182, 127, 0.34), transparent 22%),
    radial-gradient(circle at 88% 82%, rgba(26, 165, 128, 0.28), transparent 24%),
    linear-gradient(155deg, #eef5f1 0%, #f8f4ed 48%, #eef2f8 100%);
  color: var(--text);
  font-family: "Avenir Next", "Trebuchet MS", sans-serif;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 70, 54, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 70, 54, 0.06) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: radial-gradient(circle at center, black 30%, transparent 85%);
  opacity: 0.42;
}

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

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

main {
  padding-top: 26px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  border-bottom: 1px solid rgba(23, 23, 23, 0.06);
  box-shadow: 0 10px 30px rgba(22, 44, 34, 0.08);
  background: rgba(250, 253, 252, 0.88);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  width: 158px;
}

.nav-toggle,
.nav-toggle-label {
  display: none;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  color: var(--muted);
  font-size: 0.95rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav a:hover,
.nav a:focus-visible {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 48px;
  align-items: center;
  padding: 18px 0 44px;
  animation: rise 700ms ease-out both;
}

.hero-copy {
  align-self: start;
  padding-top: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section h2 {
  margin: 0;
  font-family: "Gill Sans", "Avenir Next Condensed", "Trebuchet MS", sans-serif;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.lead,
.split-copy p,
.cta-copy p,
.feature-card p,
.integration-card p,
.status-card p {
  color: rgba(23, 23, 23, 0.76);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0 24px;
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.hero-trust span {
  padding: 11px 15px;
  border-radius: 999px;
  border: 1px solid rgba(23, 23, 23, 0.07);
  background: rgba(255, 255, 255, 0.66);
  color: rgba(23, 23, 23, 0.78);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, border-color 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: linear-gradient(135deg, var(--gold), var(--orange));
  color: #111;
  box-shadow: 0 16px 40px rgba(255, 140, 26, 0.25);
}

.button-secondary {
  border-color: rgba(23, 23, 23, 0.12);
  background: rgba(255, 255, 255, 0.45);
}

.button.large {
  min-width: min(100%, 320px);
}

.button-small {
  min-height: 44px;
  padding: 0 18px;
  font-size: 0.92rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-metrics li,
.feature-card,
.integration-card,
.stat-panel,
.hero-card {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  padding: 22px;
  border-radius: 22px;
}

.hero-metrics strong,
.stat-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.22rem;
  line-height: 1.25;
  color: var(--text);
}

.hero-metrics span,
.stat-item span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-card {
  position: relative;
  display: grid;
  gap: 18px;
  padding: 34px;
  border-radius: 34px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 191, 47, 0.14), rgba(36, 133, 255, 0.06) 55%),
    var(--panel-strong);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -80px auto;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(36, 133, 255, 0.35), transparent 70%);
}

.hero-badge {
  width: fit-content;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 23, 23, 0.08);
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.hero-card-label {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-card-top h2 {
  max-width: 420px;
  font-size: clamp(1.7rem, 2.6vw, 2.35rem);
  line-height: 1.02;
}

.hero-score {
  min-width: 108px;
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(23, 23, 23, 0.07);
  text-align: right;
}

.hero-score span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-score strong {
  font-size: 1.8rem;
  line-height: 1;
}

.hero-dashboard {
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 23, 23, 0.06);
}

.hero-dashboard-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.hero-dashboard-head strong {
  font-size: 1.2rem;
}

.hero-dashboard-head span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-flow {
  display: grid;
  gap: 14px;
}

.flow-item {
  padding: 18px 20px;
  border-radius: 22px;
  background: rgba(250, 246, 238, 0.96);
  border: 1px solid rgba(23, 23, 23, 0.06);
}

.flow-item.active {
  background: linear-gradient(135deg, rgba(255, 191, 47, 0.22), rgba(47, 213, 201, 0.16));
}

.flow-item small {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.flow-item strong {
  font-size: 1rem;
}

.flow-line {
  width: 2px;
  height: 26px;
  margin-left: 22px;
  background: linear-gradient(180deg, var(--gold), var(--blue));
}

.hero-mini-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 14px;
}

.mini-card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 23, 23, 0.06);
}

.mini-highlight {
  display: block;
  margin-bottom: 10px;
  font-size: 1rem;
}

.status-dot {
  width: 14px;
  height: 14px;
  margin-top: 5px;
  border-radius: 50%;
  flex: 0 0 auto;
  background: linear-gradient(135deg, var(--lime), var(--teal));
  box-shadow: 0 0 18px rgba(47, 213, 201, 0.5);
}

.strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding: 16px 0;
  margin: 10px 0 32px;
  color: rgba(23, 23, 23, 0.82);
  text-align: center;
  font-weight: 600;
}

.strip p {
  margin: 0;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.46);
}

.section {
  padding: 48px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
}

.grid.three-up,
.integration-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.feature-card,
.integration-card {
  min-height: 240px;
  padding: 26px;
  border-radius: 24px;
  animation: rise 700ms ease-out both;
}

.feature-card h3,
.integration-card h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.warm {
  background:
    linear-gradient(180deg, rgba(255, 191, 47, 0.12), rgba(255, 191, 47, 0.02)),
    var(--panel);
}

.lime {
  background:
    linear-gradient(180deg, rgba(149, 209, 26, 0.12), rgba(149, 209, 26, 0.02)),
    var(--panel);
}

.blue {
  background:
    linear-gradient(180deg, rgba(36, 133, 255, 0.14), rgba(36, 133, 255, 0.02)),
    var(--panel);
}

.split-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 24px;
  align-items: stretch;
}

.check-list {
  padding: 0;
  margin: 26px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 16px;
  color: rgba(23, 23, 23, 0.82);
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--teal));
}

.stat-panel {
  display: grid;
  gap: 18px;
}

.stat-overview {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 18px;
  padding: 26px;
  border-radius: 26px;
  border: 1px solid rgba(30, 42, 36, 0.08);
  background: linear-gradient(135deg, rgba(255, 182, 127, 0.16), rgba(26, 165, 128, 0.10));
  box-shadow: 0 14px 34px rgba(22, 44, 34, 0.08);
}

.stat-overview-copy {
  min-width: 0;
}

.stat-overview-copy strong {
  display: block;
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.3;
  color: var(--text);
}

.stat-overview-copy span {
  display: block;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.stat-overview-steps {
  display: grid;
  gap: 12px;
  align-content: center;
}

.overview-step {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(30, 42, 36, 0.08);
}

.overview-step b {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  background: linear-gradient(135deg, var(--gold), var(--teal));
  color: #10201a;
}

.overview-step span {
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.4;
}

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

.stat-item {
  min-width: 0;
  padding: 26px;
  border-radius: 24px;
  border: 1px solid rgba(30, 42, 36, 0.08);
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 34px rgba(22, 44, 34, 0.08);
}

.stat-kicker {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(26, 165, 128, 0.12);
  border: 1px solid rgba(26, 165, 128, 0.18);
  color: #0f6f57;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stat-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.14rem;
  line-height: 1.35;
  color: var(--text);
}

.stat-item span {
  display: block;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.68;
}


.cta-band {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 28px 0 84px;
}

.cta-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 40px clamp(24px, 4vw, 56px);
  border-radius: 36px;
  border: 1px solid rgba(30, 42, 36, 0.08);
  background:
    radial-gradient(circle at top right, rgba(255, 191, 47, 0.18), transparent 34%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(245, 249, 246, 0.94));
  box-shadow: 0 18px 40px rgba(22, 44, 34, 0.08);
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  inset: auto -70px -90px auto;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26, 165, 128, 0.18), transparent 68%);
  pointer-events: none;
}

.cta-copy {
  position: relative;
  z-index: 1;
  max-width: 760px;
}

.cta-copy h2 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.4vw, 3.2rem);
  line-height: 1.05;
}

.cta-copy p:last-child {
  max-width: 58ch;
  color: rgba(23, 23, 23, 0.74);
}

.cta-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .grid.three-up,
  .integration-grid,
  .strip,
  .hero-metrics,
  .hero-mini-grid,
  .stat-overview,
  .stat-grid {
    grid-template-columns: 1fr;
  }

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

  .cta-band {
    padding: 12px 0 56px;
  }

  .cta-section {
    flex-direction: column;
    align-items: flex-start;
    padding: 28px 22px;
    border-radius: 28px;
  }

  .cta-actions {
    width: 100%;
  }

  .topbar-inner {
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    gap: 16px;
  }

  .hero {
    padding-top: 18px;
  }

  .stat-cloud {
    min-height: auto;
    display: grid;
    gap: 14px;
  }

  .stat-float {
    position: static;
    max-width: none;
  }

  .nav-toggle-label {
    display: inline-flex;
    justify-self: end;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    padding: 0 11px;
    border: 1px solid rgba(23, 23, 23, 0.08);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    cursor: pointer;
  }

  .nav-toggle-label span {
    display: block;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
    transition: transform 160ms ease, opacity 160ms ease;
  }

  .nav {
    display: grid;
    grid-column: 1 / -1;
    width: 100%;
    gap: 10px;
    max-height: 0;
    overflow: hidden;
    padding: 0;
    opacity: 0;
    transition: max-height 220ms ease, opacity 220ms ease, padding 220ms ease;
  }

  .topbar-actions {
    grid-column: 1 / -1;
    width: 100%;
    justify-content: flex-start;
    padding-top: 4px;
  }

  .nav a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid rgba(23, 23, 23, 0.06);
  }

  .nav-toggle:checked + .nav-toggle-label + .nav {
    max-height: 320px;
    padding-top: 8px;
    opacity: 1;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle:checked + .nav-toggle-label span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero-dashboard-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-card-top {
    flex-direction: column;
  }

  .hero-score {
    text-align: left;
  }
}

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 20px, 1180px);
  }

  .brand {
    width: 128px;
  }

  .hero h1,
  .section h2 {
    line-height: 1;
  }

  .hero-card,
  .feature-card,
  .integration-card,
  .cta-section {
    border-radius: 22px;
  }

  .cta-band {
    padding-bottom: 44px;
  }
}
