:root {
  --ink: #17242a;
  --paper: #f5f3ed;
  --white: #fffdf8;
  --muted: #667176;
  --line: #d8d9d2;
  --lime: #a8c742;
  --blue: #2873d4;
  --red: #e65347;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

.site-header {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(20px, 5vw, 72px);
  border-bottom: 1px solid rgba(23, 36, 42, .14);
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand > span:last-child { display: grid; line-height: 1; }
.brand strong { font-size: 1.05rem; letter-spacing: .08em; }
.brand small { margin-top: 6px; color: var(--muted); font-size: .68rem; font-weight: 650; letter-spacing: .08em; text-transform: uppercase; }
.brand__mark { position: relative; display: block; width: 38px; height: 38px; }
.brand__mark i { position: absolute; left: 17px; top: 5px; display: block; width: 6px; height: 23px; border-radius: 6px; transform-origin: 50% 90%; }
.brand__mark i:nth-child(1) { background: var(--red); transform: rotate(0deg); }
.brand__mark i:nth-child(2) { background: var(--blue); transform: rotate(120deg); }
.brand__mark i:nth-child(3) { background: var(--lime); transform: rotate(240deg); }
.environment { color: var(--muted); font-size: .76rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }
.back-link { color: var(--ink); font-size: .86rem; font-weight: 700; text-underline-offset: 4px; }

main { width: min(1220px, 100%); margin: 0 auto; padding: 0 clamp(20px, 5vw, 72px) 80px; }
.hero { padding: clamp(72px, 12vw, 145px) 0 clamp(64px, 10vw, 118px); }
.hero--tool { padding-bottom: clamp(54px, 8vw, 90px); }
.kicker { margin: 0 0 17px; color: #547014; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3 { margin-top: 0; }
h1 { max-width: 920px; margin-bottom: 28px; font-size: clamp(3.1rem, 8.8vw, 7.7rem); font-weight: 680; line-height: .91; letter-spacing: -.065em; }
.hero--tool h1 { font-size: clamp(4rem, 11vw, 9rem); }
.hero__copy { max-width: 660px; margin: 0; color: var(--muted); font-size: clamp(1.08rem, 2.1vw, 1.38rem); line-height: 1.62; }

.utility-list, .workflow { padding: 50px 0 85px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 34px; }
.section-heading h2, .foundation h2, .scaffold-note h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1; letter-spacing: -.045em; }
.count { color: var(--muted); font-size: .82rem; letter-spacing: .1em; }
.utility-card {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: clamp(16px, 4vw, 58px);
  padding: clamp(28px, 5vw, 58px);
  color: var(--white);
  background: var(--ink);
  border-radius: 4px;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.utility-card:hover { transform: translateY(-3px); box-shadow: 0 22px 45px rgba(23, 36, 42, .18); }
.utility-card__number { color: var(--lime); font-size: .78rem; font-weight: 800; letter-spacing: .12em; }
.utility-card h3 { margin: 18px 0 15px; font-size: clamp(2.6rem, 6vw, 5.4rem); font-weight: 650; letter-spacing: -.06em; }
.utility-card p { max-width: 650px; margin: 0; color: #c7cecf; font-size: 1.08rem; line-height: 1.6; }
.utility-card__action { display: inline-flex; gap: 16px; margin-top: 32px; color: var(--white); font-size: .86rem; font-weight: 750; }
.utility-card__action b { color: var(--lime); font-size: 1.2rem; }
.status { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.utility-card .status { color: #bfc8c7; }
.status span { width: 9px; height: 9px; background: var(--lime); border-radius: 50%; box-shadow: 0 0 0 4px rgba(168,199,66,.15); }

.foundation { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 70px; padding: 90px 0 25px; border-top: 1px solid var(--line); }
.foundation .kicker { grid-column: 1 / -1; }
.foundation p:last-child { max-width: 490px; margin: 4px 0 0; color: var(--muted); font-size: 1.1rem; line-height: 1.65; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feature-card { min-height: 315px; padding: 30px; background: var(--white); border: 1px solid var(--line); }
.feature-card__number { color: #6b821e; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.feature-card h3 { margin: 85px 0 15px; font-size: 1.48rem; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: var(--muted); line-height: 1.62; }
.scaffold-note { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: start; margin-top: 30px; padding: 28px; color: var(--white); background: var(--ink); }
.scaffold-note__icon { display: grid; width: 42px; height: 42px; place-items: center; color: var(--ink); background: var(--lime); border-radius: 50%; font-weight: 900; }
.scaffold-note h2 { font-size: 1.55rem; letter-spacing: -.025em; }
.scaffold-note p { margin: 8px 0 0; color: #c7cecf; line-height: 1.5; }

footer { display: flex; justify-content: space-between; gap: 20px; padding: 27px clamp(20px, 5vw, 72px); color: var(--muted); border-top: 1px solid var(--line); font-size: .75rem; font-weight: 650; letter-spacing: .06em; text-transform: uppercase; }

@media (max-width: 760px) {
  .site-header { min-height: 72px; }
  .environment { display: none; }
  .hero { padding-top: 68px; }
  h1 { letter-spacing: -.055em; }
  .utility-card { grid-template-columns: 1fr; }
  .foundation { grid-template-columns: 1fr; }
  .foundation .kicker { grid-column: auto; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 240px; }
  .feature-card h3 { margin-top: 55px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

/* Spacing between stacked utility cards (added with FirstPage). */
.utility-card + .utility-card { margin-top: 14px; }
