:root {
  color-scheme: light;
  --ink: #15261f;
  --muted: #5e6d65;
  --line: #d9e1db;
  --canvas: #f6f7f4;
  --surface: #ffffff;
  --brand: #1b6b4a;
  --brand-dark: #105438;
  --brand-soft: #e1f0e8;
  --radius: 18px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--canvas);
  font-size: 16px;
  line-height: 1.55;
}
a { color: inherit; }

.site-header,
main,
.site-footer {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 750;
  text-decoration: none;
  letter-spacing: -.02em;
}

.brand-mark,
.tool-icon {
  display: inline-grid;
  place-items: center;
  color: var(--surface);
  background: var(--brand);
  font-weight: 800;
}

.brand-mark {
  width: 31px;
  height: 31px;
  border-radius: 9px;
}

.header-link {
  color: var(--muted);
  font-size: .94rem;
  text-underline-offset: 4px;
}
.header-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.hero {
  margin-top: 36px;
  padding: clamp(42px, 8vw, 92px);
  border-radius: 28px;
  color: var(--surface);
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: .73rem;
  font-weight: 800;
  letter-spacing: .13em;
}

.hero .eyebrow { color: #b7e8ca; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.1; letter-spacing: -.035em; }
h1 { max-width: 760px; margin-bottom: 18px; font-size: clamp(2.5rem, 6vw, 5.3rem); }
h2 { margin-bottom: 0; font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { margin-bottom: 12px; font-size: 1.35rem; }

.hero-copy {
  max-width: 580px;
  margin-bottom: 28px;
  color: #e1f0e8;
  font-size: 1.1rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  border-radius: 10px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .16s ease, background .16s ease;
}
.button:hover { transform: translateY(-2px); }
.button:focus-visible,
.header-link:focus-visible,
.brand:focus-visible { outline: 3px solid #8bd0a5; outline-offset: 3px; }
.button-primary { color: var(--brand-dark); background: #ffffff; }
.button-secondary { color: var(--surface); background: var(--brand); }
.button-secondary:hover { background: var(--brand-dark); }

.tools { padding: 88px 0 66px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; margin-bottom: 28px; }
.section-heading .eyebrow { margin-bottom: 7px; }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.tool-card {
  min-height: 305px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 21px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.tool-card p:not(.tool-type) { margin-bottom: 0; color: var(--muted); }
.featured-tool { border-color: #b8ddc7; }
.tool-icon { width: 46px; height: 46px; border-radius: 14px; font-size: 1.15rem; }
.tool-type { margin-bottom: 8px; color: var(--brand); font-size: .72rem; font-weight: 800; letter-spacing: .11em; }
.tool-card .button { margin-top: auto; }
.upcoming-tool { background: #f8faf8; }
.upcoming-tool .tool-icon { color: var(--brand); background: var(--brand-soft); }
.status { margin-top: auto; color: var(--muted); font-size: .9rem; }

.principles {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 70px;
  padding: 70px 0;
  border-top: 1px solid var(--line);
}
.principles .eyebrow { margin-bottom: 7px; }
.principle-list { display: grid; gap: 25px; margin: 0; padding: 0; list-style: none; }
.principle-list li { display: grid; grid-template-columns: 48px 1fr; gap: 12px; }
.principle-list span { color: var(--brand); font-weight: 800; }
.principle-list h3 { margin-bottom: 4px; font-size: 1.06rem; }
.principle-list p { margin-bottom: 0; color: var(--muted); }

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 28px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .88rem;
}

.page-main { padding: 44px 0 74px; }
.page-hero { max-width: 760px; padding: 44px 0 34px; }
.page-hero h1 { margin-bottom: 16px; font-size: clamp(2.35rem, 5vw, 4.3rem); }
.page-hero p { max-width: 620px; margin-bottom: 0; color: var(--muted); font-size: 1.08rem; }
.content-page {
  max-width: 800px;
  padding: clamp(28px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.content-page h2 { margin: 34px 0 12px; font-size: 1.6rem; }
.content-page h2:first-child { margin-top: 0; }
.content-page p,
.content-page li { color: var(--muted); }
.content-page ul { padding-left: 22px; }
.content-page .notice { color: var(--ink); font-weight: 650; }

@media (max-width: 700px) {
  .site-header, main, .site-footer { width: min(100% - 28px, 1120px); }
  .site-header { min-height: 70px; }
  .hero { margin-top: 10px; border-radius: 20px; }
  .tool-grid, .principles { grid-template-columns: 1fr; }
  .principles { gap: 36px; padding: 52px 0; }
  .site-footer { align-items: flex-start; flex-direction: column; }
}
