:root {
  color-scheme: light;
  --ink: #1f2d38;
  --muted: #62727e;
  --paper: #fffdf8;
  --soft: #f3efe5;
  --line: #ded8cb;
  --green: #2f8a72;
  --green-dark: #1f6654;
  --amber: #df9c3a;
  --violet: #6c5aa8;
  --blue: #315f7c;
  --shadow: 0 22px 60px rgba(31, 45, 56, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px max(24px, calc((100vw - 1180px) / 2));
  background: rgba(255, 253, 248, 0.9);
  border-bottom: 1px solid rgba(222, 216, 203, 0.72);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #f8d567;
  font-weight: 900;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 650;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-login {
  color: var(--green-dark);
}

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

.hero {
  min-height: calc(100vh - 74px);
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(340px, 0.97fr);
  align-items: center;
  gap: 56px;
  padding-top: 58px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(44px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 23px);
}

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

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

.button-primary {
  background: var(--green-dark);
  color: #fff;
  box-shadow: 0 16px 32px rgba(31, 102, 84, 0.22);
}

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

.button-secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

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

.dashboard-preview {
  overflow: hidden;
  border: 1px solid rgba(31, 45, 56, 0.14);
  border-radius: 8px;
  background: linear-gradient(145deg, #213547, #31495a 48%, #f4efe3);
  box-shadow: var(--shadow);
}

.preview-topbar {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.preview-topbar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f8d567;
}

.preview-topbar span:nth-child(2) {
  background: #89d7bf;
}

.preview-topbar span:nth-child(3) {
  background: #cab9ff;
}

.preview-main {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: 20px;
}

.preview-panel,
.preview-list {
  min-height: 118px;
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.92);
  padding: 18px;
}

.preview-panel-wide,
.preview-list {
  grid-column: 1 / -1;
}

.preview-label {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.preview-value {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.preview-meter {
  height: 10px;
  margin-top: 20px;
  overflow: hidden;
  border-radius: 999px;
  background: #e7dfd0;
}

.preview-meter span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--amber));
}

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

.preview-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(31, 45, 56, 0.1);
  color: var(--ink);
}

.preview-row:last-child {
  border-bottom: 0;
}

.preview-row strong {
  font-size: 14px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-green {
  background: var(--green);
}

.dot-amber {
  background: var(--amber);
}

.dot-violet {
  background: var(--violet);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
}

.audience-grid,
.feature-grid,
.why-grid,
.steps {
  display: grid;
  gap: 16px;
}

.audience-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.info-card,
.feature-card,
.steps article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 24px;
}

.info-card p,
.feature-card p,
.steps p {
  margin-bottom: 0;
  color: var(--muted);
}

.card-icon {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 900;
}

.muted-band {
  width: min(1228px, calc(100% - 24px));
  border-radius: 8px;
  background: var(--soft);
  padding-right: 24px;
  padding-left: 24px;
}

.feature-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.feature-card {
  min-height: 190px;
}

.feature-card h3 {
  font-size: 18px;
}

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

.why-grid div {
  display: grid;
  gap: 8px;
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.why-grid strong {
  font-size: 18px;
}

.why-grid span {
  color: var(--muted);
}

.security-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: 52px;
  align-items: center;
}

.security-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 18px;
}

.security-stack {
  display: grid;
  gap: 12px;
}

.security-stack span {
  display: flex;
  align-items: center;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px 18px;
  color: var(--ink);
  font-weight: 850;
}

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

.steps span {
  display: grid;
  width: 42px;
  height: 42px;
  margin-bottom: 30px;
  place-items: center;
  border-radius: 8px;
  background: var(--ink);
  color: #f8d567;
  font-weight: 900;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  border-top: 1px solid var(--line);
}

.cta-section h2 {
  max-width: 760px;
  margin-bottom: 0;
}

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

.site-footer strong {
  color: var(--ink);
}

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

.site-footer a {
  color: var(--green-dark);
  font-weight: 700;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
  }

  .site-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px 18px;
  }

  .hero,
  .security-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 46px;
  }

  .audience-grid,
  .feature-grid,
  .why-grid,
  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-section {
    display: grid;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    display: grid;
    padding: 16px 20px;
  }

  .site-nav {
    justify-content: flex-start;
    font-size: 14px;
  }

  .section-shell {
    width: min(100% - 32px, 1180px);
    padding: 58px 0;
  }

  .muted-band {
    width: min(100% - 16px, 1228px);
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero {
    gap: 34px;
  }

  .hero-actions,
  .site-footer,
  .site-footer nav {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .dashboard-preview {
    margin-right: -8px;
    margin-left: -8px;
  }

  .preview-main,
  .audience-grid,
  .feature-grid,
  .why-grid,
  .steps {
    grid-template-columns: 1fr;
  }

  .preview-panel {
    min-height: 104px;
  }

  .site-footer {
    width: min(100% - 32px, 1180px);
  }
}
