:root {
  color-scheme: light;
  --navy: #071f3b;
  --ink: #20364d;
  --muted: #607287;
  --teal: #0a8585;
  --line: #dbe3e9;
  --background: #f5f7f9;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
body { min-height: 100vh; margin: 0; color: var(--ink); background: var(--background); line-height: 1.5; }

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 76px;
  padding: 0 34px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); font-size: 22px; font-weight: 780; }
.brandmark {
  display: grid;
  width: 34px;
  height: 39px;
  place-items: center;
  border-radius: 6px;
  color: white;
  background: linear-gradient(145deg, #0aa7a4, #087c80);
  box-shadow: 0 5px 14px rgba(7, 128, 131, .2);
  font-size: 25px;
  font-weight: 400;
}
.local-badge { color: #3c5268; font-size: 13px; }

main { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 70px 0 52px; }
.hero { max-width: 760px; margin-bottom: 34px; }
.eyebrow { margin: 0 0 9px; color: var(--teal); letter-spacing: .15em; font-size: 11px; font-weight: 850; }
.hero h1 { margin: 0 0 12px; color: var(--navy); letter-spacing: -.045em; font-size: clamp(38px, 6vw, 61px); line-height: 1.02; }
.hero > p:last-child { margin: 0; color: var(--muted); font-size: 17px; }

.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tool-card {
  position: relative;
  display: flex;
  min-height: 330px;
  flex-direction: column;
  align-items: flex-start;
  padding: 31px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 18px;
  color: var(--ink);
  background: white;
  box-shadow: 0 12px 35px rgba(14, 42, 65, .07);
  text-decoration: none;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.tool-card:hover { transform: translateY(-4px); border-color: #86c9c6; box-shadow: 0 18px 45px rgba(14, 42, 65, .12); }
.tool-card:focus-visible { outline: 4px solid rgba(10, 133, 133, .24); outline-offset: 4px; }
.tool-card::after { position: absolute; right: -65px; bottom: -95px; width: 230px; height: 230px; border-radius: 50%; content: ""; opacity: .65; }
.discharge::after { background: #edf7fb; }
.emergency::after { background: #e9f8f5; }
.tool-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 30px;
  border-radius: 12px;
  color: white;
  background: var(--navy);
  font-size: 14px;
  font-weight: 850;
}
.emergency .tool-icon { background: var(--teal); font-size: 18px; }
.tool-kicker { color: var(--teal); letter-spacing: .13em; font-size: 10px; font-weight: 850; }
.tool-card h2 { margin: 7px 0 9px; color: var(--navy); letter-spacing: -.025em; font-size: 28px; }
.tool-card p { max-width: 390px; margin: 0 0 27px; color: var(--muted); font-size: 14px; }
.tool-card strong { z-index: 1; margin-top: auto; color: var(--teal); font-size: 13px; }
.tool-card strong span { margin-left: 5px; font-size: 18px; }

.privacy-note { display: grid; grid-template-columns: auto 1fr; align-items: start; gap: 13px; margin-top: 24px; padding: 17px 19px; border: 1px solid #b9dfdc; border-radius: 11px; color: #42626b; background: #edf9f8; font-size: 12px; }
.privacy-note strong { display: block; margin-bottom: 3px; color: #153e49; font-size: 13px; }
.privacy-note p { margin: 0; line-height: 1.55; }
.privacy-symbol { display: grid; width: 27px; height: 27px; place-items: center; border-radius: 50%; color: white; background: var(--teal); font-size: 17px; font-weight: 800; }
.privacy-link { color: inherit; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.privacy-link:hover { transform: translateY(-2px); border-color: #78c3bf; box-shadow: 0 10px 28px rgba(14, 70, 75, .09); }
.privacy-link strong, .privacy-link p { text-decoration: none; }
.privacy-link:focus-visible { outline: 4px solid rgba(10, 133, 133, .24); outline-offset: 4px; }
.privacy-note .privacy-symbol { width: 42px; height: 42px; font-size: 26px; }
.privacy-action { display: inline-block; margin-top: 8px; color: var(--teal); font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }

.privacy-brand { color: var(--navy); text-decoration: none; }
.back-home { color: var(--teal); font-size: 13px; font-weight: 800; }
.privacy-page { width: min(900px, calc(100% - 40px)); padding-top: 54px; }
.privacy-page-heading { margin-bottom: 25px; }
.privacy-page-heading h1 { margin: 0 0 10px; color: var(--navy); letter-spacing: -.04em; font-size: clamp(35px, 6vw, 54px); line-height: 1.05; }
.privacy-page-heading > p:last-child { margin: 0; color: var(--muted); }
.privacy-summary { display: grid; grid-template-columns: auto 1fr; gap: 13px; margin-bottom: 18px; padding: 18px; border: 1px solid #9fd4d0; border-radius: 13px; background: #edf9f8; }
.privacy-summary strong { display: block; margin-bottom: 4px; color: #153e49; }
.privacy-summary p { margin: 0; color: #42626b; font-size: 13px; }
.privacy-content { padding: 7px 26px; border: 1px solid var(--line); border-radius: 16px; background: white; box-shadow: 0 12px 35px rgba(14, 42, 65, .06); }
.privacy-content section { padding: 22px 0; border-bottom: 1px solid #e7ecef; }
.privacy-content section:last-child { border-bottom: 0; }
.privacy-content h2 { margin: 0 0 9px; color: var(--navy); font-size: 17px; }
.privacy-content p { margin: 7px 0 0; color: #40566b; font-size: 13px; line-height: 1.68; }
.privacy-content a, .privacy-actions a { color: var(--teal); font-weight: 750; }
.privacy-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; padding: 22px 0 8px; font-size: 12px; }
.privacy-actions .primary-home-link { margin-left: auto; padding: 10px 14px; border-radius: 8px; color: white; background: var(--navy); text-decoration: none; }

footer { display: flex; justify-content: space-between; gap: 20px; width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 28px; color: #748397; font-size: 11px; }
footer a { color: var(--teal); font-weight: 750; }

@media (max-width: 720px) {
  .topbar { min-height: 66px; padding: 0 17px; }
  .local-badge { display: none; }
  main { padding-top: 45px; }
  .hero h1 { font-size: 42px; }
  .tool-grid { grid-template-columns: 1fr; }
  .tool-card { min-height: 285px; padding: 25px; }
  .privacy-content { padding-right: 18px; padding-left: 18px; }
  .privacy-actions { align-items: stretch; flex-direction: column; }
  .privacy-actions .primary-home-link { width: 100%; margin-left: 0; text-align: center; }
  footer { align-items: flex-start; flex-direction: column; }
}
