:root {
  color-scheme: light;
  --ink: #182b3f;
  --muted: #627080;
  --paper: #f6f8fa;
  --card: #ffffff;
  --line: #e3e9ee;
  --accent: #156a80;
  --accent-deep: #105468;
  --shadow: 0 15px 38px rgba(19, 44, 60, .065);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.55; }
a { color: inherit; }
a:focus-visible { outline: 3px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; }
.container { width: min(1160px, calc(100% - 40px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 10px; padding: 10px; background: white; z-index: 10; }
.skip-link:focus { top: 10px; }
.site-header { background: white; border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; min-height: 108px; }
.brand { display: inline-block; min-width: 0; }
.brand img { width: min(290px, 58vw); height: auto; }
.header-link { font-size: .9rem; font-weight: 700; text-decoration: none; color: var(--accent-deep); white-space: nowrap; }
.header-link:hover, .footer-inner a:hover { text-decoration: underline; }
.hero { text-align: center; padding-block: clamp(44px, 7vw, 82px) clamp(30px, 5vw, 52px); }
.eyebrow, .card-kicker { color: var(--accent); font-size: .75rem; font-weight: 800; letter-spacing: .13em; }
.hero h1 { font-size: clamp(2rem, 4.4vw, 3.65rem); line-height: 1.13; letter-spacing: -.04em; max-width: 830px; margin: 14px auto 16px; }
.hero-description { max-width: 680px; margin: 0 auto; font-size: clamp(1rem, 1.7vw, 1.14rem); color: var(--muted); }
.tools { padding-bottom: clamp(48px, 6vw, 78px); }
.card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tool-card { min-width: 0; display: flex; flex-direction: column; overflow: hidden; background: var(--card); border: 1px solid var(--line); border-radius: 17px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.tool-card:hover { transform: translateY(-3px); box-shadow: 0 18px 42px rgba(19, 44, 60, .1); }
.card-visual { height: 265px; padding: 18px; display: grid; place-items: center; background: #eef3f5; border-bottom: 1px solid var(--line); }
.card-visual img { width: 100%; height: 100%; object-fit: contain; }
.card-content { display: flex; flex-direction: column; flex: 1; padding: 23px 22px 24px; }
.card-content h2 { font-size: 1.28rem; line-height: 1.25; letter-spacing: -.02em; margin: 10px 0 12px; }
.card-content p { font-size: .94rem; color: var(--muted); margin: 0 0 21px; }
.card-link { margin-top: auto; text-decoration: none; font-weight: 750; font-size: .9rem; color: var(--accent-deep); border-top: 1px solid var(--line); padding-top: 17px; }
.card-link:hover { text-decoration: underline; }
.closing { background: #eaf2f4; border-radius: 18px; margin-bottom: 72px; padding: clamp(28px, 4vw, 48px); display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.closing h2 { margin: 8px 0 0; max-width: 590px; font-size: clamp(1.4rem, 2.5vw, 2.1rem); line-height: 1.22; letter-spacing: -.025em; }
.button { background: var(--accent-deep); color: white; text-decoration: none; border-radius: 9px; padding: 14px 22px; font-weight: 700; white-space: nowrap; }
.button:hover { background: #083c4c; }
.site-footer { background: #172b3d; color: #e4edf3; }
.footer-inner { padding-block: 27px; display: flex; justify-content: space-between; gap: 20px; font-size: .87rem; }
.footer-inner a { text-decoration: none; }
@media (max-width: 1050px) { .card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .card-visual { height: 310px; } }
@media (max-width: 620px) {
  .container { width: min(100% - 28px, 420px); }
  .header-inner { min-height: 86px; }
  .brand img { width: min(210px, 54vw); }
  .header-link { font-size: .78rem; }
  .hero { padding-block: 42px 32px; }
  .card-grid { grid-template-columns: 1fr; gap: 16px; }
  .card-visual { height: 270px; }
  .card-content { padding: 20px; }
  .closing { flex-direction: column; align-items: stretch; margin-bottom: 38px; }
  .button { text-align: center; }
  .footer-inner { flex-direction: column; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .tool-card { transition: none; } }
