:root {
  --bg: #f6f7f2;
  --ink: #1d2522;
  --muted: #64716c;
  --line: #d8ddd5;
  --panel: #ffffff;
  --teal: #0f766e;
  --blue: #2563eb;
  --gold: #b7791f;
  --soft: #e8f4f1;
  --soft-blue: #edf2ff;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a {
  color: inherit;
}

.hero {
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding: 34px 24px 46px;
  border-bottom: 1px solid var(--line);
}

.hero-inner,
.section {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
  gap: 44px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.5rem, 7vw, 6rem);
  line-height: 0.95;
  letter-spacing: 0;
}

h1 .line {
  display: block;
}

.lead {
  max-width: 720px;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.8;
}

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

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
}

.button.primary {
  background: var(--teal);
  color: #fff;
}

.button.secondary {
  border: 1px solid var(--line);
  background: #fff;
}

.tool-card {
  display: grid;
  gap: 14px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: 0 24px 70px rgba(29, 37, 34, 0.14);
}

.tool-head {
  display: flex;
  gap: 7px;
}

.tool-head span {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--line);
}

.tool-head span:nth-child(1) {
  background: var(--teal);
}

.tool-head span:nth-child(2) {
  background: var(--blue);
}

.tool-head span:nth-child(3) {
  background: var(--gold);
}

.metric,
.mini-grid div {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfa;
}

.metric {
  padding: 18px;
  background: var(--soft);
  border-color: #b8dad3;
}

.metric span,
.mini-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 850;
}

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

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

.mini-grid div {
  padding: 16px;
}

.mini-grid strong {
  font-size: 1.35rem;
}

.draft-lines {
  display: grid;
  gap: 10px;
  padding: 18px;
  border-radius: 8px;
  background: var(--soft-blue);
}

.draft-lines span {
  height: 14px;
  border-radius: 999px;
  background: #cfdaf7;
}

.draft-lines span:nth-child(2) {
  width: 82%;
}

.draft-lines span:nth-child(3) {
  width: 64%;
}

.section {
  padding: 58px 24px;
}

.section-head {
  max-width: 760px;
  margin-bottom: 24px;
}

h2 {
  margin: 0;
  font-size: clamp(1.7rem, 4vw, 3.2rem);
  line-height: 1.05;
  letter-spacing: 0;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
}

article {
  min-height: 172px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
}

article p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.inline-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--teal);
  font-weight: 850;
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: center;
  border-top: 1px solid var(--line);
}

.route-actions {
  justify-content: flex-end;
  margin-top: 0;
}

@media (max-width: 880px) {
  .hero-inner,
  .route {
    grid-template-columns: 1fr;
  }

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

  .route-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding-top: 28px;
  }

  .hero-inner {
    gap: 28px;
  }

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