:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #1c2937;
  background: #f8fafc;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #2176bd; outline-offset: 4px; }

.site-shell { width: min(100% - 3rem, 960px); min-height: 100vh; margin: 0 auto; display: flex; flex-direction: column; }
.site-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; padding: 1.5rem 0; border-bottom: 1px solid #dce3eb; }
.site-name { font-weight: 700; text-decoration: none; letter-spacing: -.015em; }
.site-header nav a { color: #36516a; text-underline-offset: .25em; }
main { flex: 1; }
.intro { padding: clamp(4rem, 10vw, 7rem) 0 4rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.3rem, 6vw, 3.7rem); line-height: 1.13; letter-spacing: -.035em; margin-bottom: 1rem; }
.intro p { font-size: 1.18rem; color: #4c6176; max-width: 38rem; }
.tools { padding-bottom: 5rem; }
h2 { font-size: 1.45rem; margin-bottom: 1.25rem; }
.tool-card { display: flex; gap: 1.3rem; align-items: flex-start; border: 1px solid #dce3eb; border-radius: 12px; padding: 1.6rem; background: #fff; box-shadow: 0 6px 20px rgb(20 37 54 / 4%); }
.tool-icon { display: grid; place-items: center; flex: 0 0 3rem; height: 3rem; border-radius: 9px; background: #e9f1f8; color: #20517c; font-size: 1.4rem; font-weight: 700; }
h3 { font-size: 1.17rem; line-height: 1.35; margin-bottom: .6rem; }
.tool-card p { color: #53677a; margin-bottom: 1rem; }
.tool-status { color: #637589; font-size: .95rem; font-weight: 600; }
.tool-link { display: inline-block; color: #175b96; font-weight: 700; text-underline-offset: .25em; }
.site-footer { border-top: 1px solid #dce3eb; padding: 1.5rem 0; color: #637589; font-size: .9rem; }
.site-footer p { margin: 0; }
@media (max-width: 540px) {
  .site-shell { width: min(100% - 2rem, 960px); }
  .site-header { align-items: flex-start; flex-direction: column; gap: .35rem; }
  .intro { padding-top: 3.6rem; }
  .tool-card { padding: 1.2rem; gap: .85rem; }
  .tool-icon { flex-basis: 2.5rem; height: 2.5rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
