:root {
  --surface: #fff;
  --surface-soft: #fafdff;
  --line: #d2dee6;
  color-scheme: light;
}

:root[data-theme="dark"] {
  --navy: #061d32;
  --blue: #40aef5;
  --sky: #102f47;
  --cream: #081725;
  --ink: #e9f5fc;
  --muted: #a9bfce;
  --surface: #102638;
  --surface-soft: #0c2132;
  --line: #315168;
  color-scheme: dark;
}

.site-header {
  background: var(--surface);
  position: sticky;
  top: 0;
  transition: transform .28s ease, box-shadow .28s ease, background .25s ease;
}
.site-header.is-hidden { transform: translateY(-105%); box-shadow: none; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%;
  background: var(--surface-soft); color: var(--ink); display: grid; place-items: center;
  font-size: 20px; cursor: pointer; transition: transform .2s, border-color .2s;
}
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--blue); }
.theme-toggle:focus-visible { outline: 3px solid #0878c94d; outline-offset: 2px; }
.header-cta { border-color: var(--line); }
.features article, .weather-row span, .checklist-card { background: var(--surface); }
.checklist-card li { border-bottom-color: var(--line); }

@media (max-width: 850px) {
  .hero-image { background-position: 82% center; }
}

@media (max-width: 520px) {
  .header-actions { gap: 7px; }
  .theme-toggle { width: 40px; height: 40px; font-size: 18px; }
}
@media (max-width: 360px) { .header-cta { padding: 10px; } }
