/* SeasonSwitch content pages (home, how it works, tips, about, contact, privacy, terms).
   The compare tool has its own style.css. Most layout is inline in each page; shared rules live here. */
body { margin: 0; background: #FFFFFF; }
a { color: #1D4E9E; }
a:hover { color: #13203A; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid #2563C9; outline-offset: 2px;
}
summary { cursor: pointer; list-style: none; }
summary::-webkit-details-marker { display: none; }

/* header: phone menu */
.site-top { position: relative; }
.nav-links { display: flex; }
.menu-btn { display: none; }
@media (max-width: 760px) {
  .nav-links { display: none; }
  .menu-btn { display: inline-flex; }
  .site-top.open .nav-links {
    display: flex; flex-direction: column; align-items: flex-start; gap: 18px;
    position: absolute; left: 0; right: 0; top: 100%; z-index: 20;
    background: #FFFFFF; border-bottom: 1px solid #E4E7EC; padding: 16px 24px 22px;
    box-shadow: 0 12px 24px rgba(19, 32, 58, 0.08);
  }
}
@media (max-width: 480px) { .hdr-cta { display: none; } }

/* cards that link somewhere lift a little on hover */
a.card { transition: border-color .15s, box-shadow .15s; }
a.card:hover { border-color: #C9D0DB !important; box-shadow: 0 10px 28px rgba(19, 32, 58, 0.08); }

/* contact form */
.chip { position: relative; display: inline-flex; align-items: center; min-height: 44px; box-sizing: border-box;
  padding: 0 16px; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer;
  background: #FFFFFF; color: #13203A; border: 1.5px solid #C9D0DB; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chip:has(input:checked) { background: #13203A; color: #FFFFFF; border-color: #13203A; }
.chip:has(input:focus-visible) { outline: 3px solid #2563C9; outline-offset: 2px; }
.drop { position: relative; }
.drop input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.drop:has(input:focus-visible) { outline: 3px solid #2563C9; outline-offset: 2px; }
.drop.over { border-color: #2563C9 !important; background: #F3F7FE; }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-msg { margin: 0; padding: 14px 16px; border-radius: 12px; font-size: 15px; line-height: 1.5; }
.form-msg.ok { background: #E7F6EC; color: #1C6B3A; }
.form-msg.err { background: #FCE9E6; color: #9B2C1F; }
button[disabled] { opacity: .6; cursor: progress; }

/* phones: the pages use inline sizes for desktop; these scale them down */
@media (max-width: 600px) {
  h1 { font-size: 34px !important; letter-spacing: -0.6px !important; }
  h2 { font-size: 26px !important; }
  section > div[style*="padding: 64px 24px 56px"] { padding-top: 40px !important; padding-bottom: 40px !important; }
  section[style*="padding: 88px"], section[style*="padding: 72px"] { padding-top: 56px !important; }
  div[style*="border-radius: 24px; padding: 48px"] { padding: 28px 22px !important; }
  div[style*="padding: 56px 32px"] { padding: 36px 20px !important; }
  section > div[style*="padding: 56px 24px 40px"], section > div[style*="padding: 72px 24px 64px"] { padding-top: 36px !important; padding-bottom: 32px !important; }
  /* rows of jump links and topics: one swipeable line instead of four rows */
  nav[aria-label="On this page"][style*="display: flex"], nav[aria-label="Topics"] {
    flex-wrap: nowrap !important; overflow-x: auto; margin-left: -24px !important; margin-right: -24px !important;
    padding: 0 24px 6px; scrollbar-width: none;
  }
  nav[aria-label="On this page"][style*="display: flex"]::-webkit-scrollbar, nav[aria-label="Topics"]::-webkit-scrollbar { display: none; }
  nav[aria-label="On this page"][style*="display: flex"] a, nav[aria-label="Topics"] a { flex: 0 0 auto; white-space: nowrap; }
}
