:root {
  color-scheme: light;
  --ink: #14201d;
  --muted: #576560;
  --line: #d4dcd6;
  --paper: #f4f3ee;
  --surface: #ffffff;
  --green: #255b43;
  --blue: #3a6786;
  --coral: #b35d4e;
  --gold: #c18f40;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: radial-gradient(circle at top right, #faf8f2, var(--paper) 48%);
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 24px 0 42px;
  display: grid;
  gap: 26px;
}

.hero {
  border: 1px solid color-mix(in srgb, var(--line) 82%, var(--ink));
  border-radius: 14px;
  background: color-mix(in srgb, var(--surface) 84%, #f2f5f2);
  box-shadow: 0 18px 56px rgba(20, 32, 29, 0.08);
  padding: clamp(28px, 6vw, 64px);
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(320px, 1.04fr);
  gap: clamp(26px, 5vw, 70px);
  align-items: center;
}

.hero-copy {
  display: grid;
  gap: 22px;
}

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

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 9.5vw, 6.8rem);
  line-height: 0.87;
  letter-spacing: 0;
}

.lede {
  max-width: 640px;
  margin: 0;
  color: #24312d;
  font-size: clamp(1.12rem, 1.7vw, 1.45rem);
  line-height: 1.45;
}

.sublede {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  min-height: 47px;
  padding: 13px 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 760;
  text-decoration: none;
  transition:
    transform 120ms ease,
    box-shadow 120ms ease,
    border-color 120ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button.primary {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
  box-shadow: 0 8px 26px rgba(37, 91, 67, 0.22);
}

.button.primary:hover {
  box-shadow: 0 12px 30px rgba(37, 91, 67, 0.26);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.72);
}

.dashboard-preview {
  border: 1px solid color-mix(in srgb, var(--line) 72%, var(--ink));
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  box-shadow: 0 22px 72px rgba(23, 33, 31, 0.12);
}

.preview-topbar {
  height: 42px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ecf0eb;
}

.preview-topbar span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}

.preview-topbar span:nth-child(2) {
  background: var(--gold);
}

.preview-topbar span:nth-child(3) {
  background: var(--green);
}

.preview-grid {
  padding: clamp(18px, 3vw, 28px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.metric,
.note,
.chart {
  min-height: 118px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfbf8;
}

.metric,
.note {
  padding: 18px;
  display: grid;
  align-content: space-between;
  gap: 18px;
}

.metric.wide {
  grid-column: 1 / -1;
  min-height: 138px;
  background:
    linear-gradient(90deg, rgba(37, 91, 67, 0.1), rgba(58, 103, 134, 0.1)),
    #fbfbf8;
}

.metric span,
.note span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.metric strong {
  font-size: clamp(2rem, 4.5vw, 3.3rem);
  line-height: 1;
}

.metric.wide strong {
  font-size: clamp(1.9rem, 3.8vw, 2.9rem);
  line-height: 1.06;
}

.note strong {
  font-size: 1.08rem;
  line-height: 1.25;
}

.chart {
  min-height: 190px;
  padding: 18px;
  display: flex;
  align-items: end;
  gap: 12px;
}

.chart i {
  flex: 1;
  min-width: 14px;
  border-radius: 6px 6px 0 0;
  background: var(--blue);
}

.chart i:nth-child(even) {
  background: var(--green);
}

.flow {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.64);
  padding: clamp(22px, 4vw, 34px);
  display: grid;
  gap: 18px;
}

.flow h2 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 1.95rem);
}

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

.flow article {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fcfcf9;
  padding: 16px;
  display: grid;
  gap: 10px;
}

.step {
  margin: 0;
  color: var(--green);
  font-size: 0.79rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.flow h3 {
  margin: 0;
  font-size: 1.06rem;
}

.flow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.promise {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, #f8faf7 72%, #ffffff);
  padding: 18px 20px;
}

.promise p {
  margin: 0;
  color: #384540;
  font-size: 0.98rem;
  line-height: 1.5;
}

@media (max-width: 920px) {
  .hero {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 540px) {
  .page-shell {
    width: min(100% - 24px, 640px);
    padding-top: 16px;
  }

  h1 {
    font-size: clamp(2.7rem, 16vw, 4.2rem);
  }

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

  .metric.wide {
    grid-column: auto;
  }
}
