:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  color: #202124;
  background: #fff;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: #1558a6; }
a:hover { text-decoration-thickness: 2px; }
.container { width: min(100% - 2rem, 760px); margin-inline: auto; }
.site-header, .site-footer { background: #f5f6f7; }
.header-inner, .footer-inner { padding-block: 1rem; }
.brand { color: inherit; font-weight: 700; text-decoration: none; }
main { min-height: 65vh; padding-block: 2rem 4rem; }
h1 { line-height: 1.2; }
.intro { color: #555; font-size: 1.1rem; }
.tool-card { margin-block: 2rem; padding: 1.25rem; border: 1px solid #ddd; border-radius: 12px; }
.content-section { margin-block: 2rem; }
label { display: block; margin-block: 1rem .35rem; }
input, button { font: inherit; padding: .65rem .8rem; }
input { max-width: 100%; border: 1px solid #aaa; border-radius: 6px; }
button { margin-left: .35rem; border: 0; border-radius: 6px; background: #174ea6; color: white; cursor: pointer; }
button:hover { background: #123d82; }
.footer-inner nav { display: flex; flex-wrap: wrap; gap: .75rem 1.25rem; }
.footer-inner p { margin-top: 0; }
@media (max-width: 520px) {
  button { display: block; margin: .75rem 0; }
}
