:root {
  color-scheme: light;
  --ink: #15201d;
  --muted: #5c6864;
  --line: #d9e0dc;
  --paper: #f7f8f5;
  --panel: #ffffff;
  --forest: #164434;
  --forest-2: #215d49;
  --mint: #dff0e8;
  --gold: #d99f25;
  --red: #c85242;
  --blue: #3e6f95;
  --shadow: 0 22px 60px rgba(27, 44, 38, 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.5;
}

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

.site-header {
  align-items: center;
  background: rgba(247, 248, 245, 0.88);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 72px;
  padding: 0 6vw;
  position: sticky;
  top: 0;
  z-index: 10;
}

.brand,
.site-header nav {
  align-items: center;
  display: flex;
  gap: 18px;
}

.brand {
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark {
  border-radius: 6px;
  height: 34px;
  object-fit: contain;
  width: 34px;
}

.site-header nav {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
}

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

.hero {
  align-items: center;
  display: grid;
  gap: 52px;
  grid-template-columns: minmax(0, 0.92fr) minmax(520px, 1.08fr);
  min-height: calc(100vh - 72px);
  padding: 68px 6vw 42px;
}

.eyebrow,
.label {
  color: var(--forest-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

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

h1 {
  font-size: clamp(3.2rem, 7vw, 6.9rem);
  letter-spacing: 0;
  line-height: 0.92;
  margin-bottom: 24px;
  max-width: 820px;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.7rem);
  letter-spacing: 0;
  line-height: 1;
  margin-bottom: 18px;
}

h3 {
  font-size: 1.05rem;
  line-height: 1.2;
  margin-bottom: 10px;
}

.hero-subtitle {
  color: var(--muted);
  font-size: 1.2rem;
  max-width: 690px;
}

.hero-actions,
.hero-stats,
.pricing-grid {
  display: flex;
  gap: 14px;
}

.hero-actions {
  flex-wrap: wrap;
  margin: 32px 0 34px;
}

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

.button.primary {
  background: var(--forest);
  color: white;
}

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

.button.secondary {
  background: white;
  border-color: var(--line);
  color: var(--forest);
}

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

.hero-stats {
  flex-wrap: wrap;
  margin: 0;
}

.hero-stats div {
  border-left: 3px solid var(--gold);
  min-width: 130px;
  padding-left: 14px;
}

.hero-stats dt {
  font-size: 1.45rem;
  font-weight: 850;
}

.hero-stats dd {
  color: var(--muted);
  margin: 0;
}

.dashboard-preview {
  background: #edf3ef;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: 18px;
}

.dashboard-topbar,
.table-row,
.site-footer {
  align-items: center;
  display: flex;
  justify-content: space-between;
}

.dashboard-topbar h2 {
  font-size: 1.45rem;
  margin: 0;
}

.status-pill,
.chip {
  border-radius: 999px;
  display: inline-flex;
  font-size: 0.76rem;
  font-weight: 800;
  justify-content: center;
  min-width: max-content;
  padding: 6px 10px;
}

.status-pill {
  background: var(--mint);
  color: var(--forest);
}

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

.metric,
.table-card,
.activity-card,
.steps article,
.price-card,
.faq article {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric {
  padding: 16px;
}

.metric span {
  color: var(--muted);
  display: block;
  font-size: 0.84rem;
  font-weight: 750;
}

.metric strong {
  display: block;
  font-size: 2.35rem;
  line-height: 1;
  margin-top: 18px;
}

.metric.urgent {
  border-top: 4px solid var(--red);
}

.metric.warn {
  border-top: 4px solid var(--gold);
}

.metric.blocked {
  border-top: 4px solid var(--blue);
}

.table-card {
  overflow: hidden;
}

.table-row {
  display: grid;
  gap: 12px;
  grid-template-columns: 1.25fr 1fr 0.75fr 0.9fr;
  padding: 13px 14px;
}

.table-row + .table-row {
  border-top: 1px solid var(--line);
}

.table-head {
  background: #f8faf8;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 850;
  text-transform: uppercase;
}

.chip.danger {
  background: #fbe5e1;
  color: #8c2f24;
}

.chip.warning {
  background: #f9edcf;
  color: #855b04;
}

.chip.good {
  background: var(--mint);
  color: var(--forest);
}

.activity-card {
  padding: 16px;
}

.activity-card p:last-child {
  color: var(--muted);
  margin-bottom: 0;
}

.problem-band,
.feature-band,
.audit-section,
.workflow,
.pricing,
.faq {
  padding: 82px 6vw;
}

.problem-band {
  background: var(--forest);
  color: white;
}

.problem-band div {
  max-width: 980px;
}

.problem-band p {
  color: #d8e5df;
  font-size: 1.15rem;
  max-width: 760px;
}

.section-heading {
  margin-bottom: 32px;
  max-width: 820px;
}

.section-heading p:last-child {
  color: var(--muted);
}

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

.steps article,
.price-card,
.faq article {
  padding: 22px;
}

.step-number {
  align-items: center;
  background: var(--mint);
  border-radius: 6px;
  color: var(--forest);
  display: inline-flex;
  font-weight: 850;
  height: 32px;
  justify-content: center;
  margin-bottom: 28px;
  width: 32px;
}

.steps p,
.price-card p,
.faq p {
  color: var(--muted);
}

.feature-band {
  background: #e6edf0;
}

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

.feature-list article {
  border-left: 4px solid var(--blue);
  padding-left: 20px;
}

.feature-list p {
  color: var(--muted);
  margin-bottom: 0;
}

.audit-section {
  align-items: start;
  display: grid;
  gap: 44px;
  grid-template-columns: 0.9fr minmax(420px, 0.7fr);
}

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

.audit-copy > p {
  color: var(--muted);
  font-size: 1.12rem;
}

.check-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}

.check-list li {
  background: white;
  border: 1px solid var(--line);
  border-radius: 7px;
  font-weight: 750;
  padding: 12px 14px;
}

.lead-form {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: grid;
  gap: 16px;
  padding: 24px;
}

label {
  color: var(--ink);
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 8px;
}

.honeypot {
  left: -9999px;
  position: absolute;
}

button:disabled {
  cursor: wait;
  opacity: 0.7;
}

input,
select,
textarea {
  border: 1px solid #cdd7d1;
  border-radius: 7px;
  color: var(--ink);
  font: inherit;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--forest-2);
  outline: 3px solid rgba(33, 93, 73, 0.16);
}

.form-button {
  width: 100%;
}

.form-note {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
}

.pricing-grid {
  align-items: stretch;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.price-card.featured {
  border-color: var(--forest-2);
  box-shadow: var(--shadow);
}

.plan-name {
  color: var(--forest-2);
  font-weight: 850;
}

.price {
  color: var(--ink) !important;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 18px;
}

.price span {
  color: var(--muted);
  font-size: 1rem;
  font-weight: 750;
}

.price-card .button {
  margin-top: 14px;
  width: 100%;
}

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

.site-footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  gap: 20px;
  padding: 28px 6vw;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: var(--forest);
  font-weight: 850;
}

@media (max-width: 1040px) {
  .hero,
  .audit-section {
    grid-template-columns: 1fr;
  }

  .dashboard-preview {
    max-width: 760px;
  }

  .steps,
  .faq-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 14px;
    padding-top: 14px;
    position: static;
  }

  .site-header nav {
    flex-wrap: wrap;
    gap: 14px;
  }

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

  h1 {
    font-size: 3.2rem;
  }

  .metric-grid,
  .steps,
  .feature-list,
  .pricing-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .table-card {
    overflow: hidden;
  }

  .table-row {
    align-items: center;
    gap: 6px 12px;
    grid-template-columns: minmax(0, 1fr) auto;
    min-width: 0;
    padding: 16px;
  }

  .table-head {
    display: none;
  }

  .table-row span {
    min-width: 0;
  }

  .table-row span:first-child {
    font-weight: 800;
    grid-column: 1;
  }

  .table-row span:nth-child(2),
  .table-row span:nth-child(3) {
    color: var(--muted);
    font-size: 0.92rem;
    grid-column: 1;
  }

  .table-row span:nth-child(3)::before {
    content: "Expires ";
    font-weight: 800;
  }

  .table-row .chip {
    align-self: center;
    grid-column: 2;
    grid-row: 1 / span 3;
  }

  .audit-section {
    padding-top: 60px;
  }

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