/* SuperOver website stylesheet v2 */
:root {
  color-scheme: light dark;
  --navy: #0b3d91;
  --navy-dark: #072a68;
  --navy-deep: #061d49;
  --green: #14532d;
  --red: #c8102e;
  --ink: #141822;
  --bg: #ffffff;
  --bg-soft: #f2f5fb;
  --bg-band: #e9eef8;
  --line: #c9d2e3;
  --link: #0b3d91;
  --muted: #444b57;
  --focus: #b35900;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10, 30, 70, .08), 0 4px 14px rgba(10, 30, 70, .07);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font: 1.0625rem/1.65 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  margin: 0;
  color: var(--ink);
  background: var(--bg);
}
.wrap { max-width: 62rem; margin: 0 auto; padding: 0 1.1rem; }

/* Skip link */
.skip {
  position: absolute; left: -999px; top: 0;
  background: #fff; color: #000; padding: .75rem 1rem; z-index: 20; font-weight: 700;
}
.skip:focus { left: 0; }

/* Header */
.site-header { background: var(--navy-deep); color: #fff; border-bottom: 4px solid var(--red); }
.header-inner {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: .4rem 1.5rem; padding-top: .6rem; padding-bottom: .6rem;
}
.brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; min-height: 44px; }
.brand-logo { display: block; }
.brand-name { font-weight: 800; font-size: 1.5rem; letter-spacing: .01em; }
.site-header nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .15rem .35rem; }
.site-header nav a {
  display: inline-block; color: #fff; text-decoration: none; font-weight: 600;
  font-size: .98rem; padding: .5rem .75rem; min-height: 44px; line-height: 1.7;
  border-radius: 999px; border: 2px solid transparent;
}
.site-header nav a:hover { background: rgba(255,255,255,.14); }
.site-header nav a[aria-current="page"] { background: #fff; color: var(--navy-deep); font-weight: 800; }
.site-header nav a.nav-cta { background: var(--red); border-color: var(--red); }
.site-header nav a.nav-cta:hover { background: #a20d25; }
.site-header nav a.nav-cta[aria-current="page"] { background: #fff; color: var(--red); border-color: #fff; }

/* Hero */
.hero {
  background: radial-gradient(120% 140% at 85% -10%, #1d5fcf 0%, rgba(29,95,207,0) 55%), linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 55%, var(--green) 130%);
  color: #fff; border-radius: 0 0 var(--radius) var(--radius);
  padding: 2.25rem 0 2.5rem; margin: 0 0 2rem;
}
.hero-band { background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, var(--green) 140%); color: #fff; padding: 2.5rem 0 2.75rem; margin: 0 0 2rem; }
.hero-band h1, .hero h1 { color: #fff; }
.hero-eyebrow { display: inline-block; font-weight: 700; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; background: rgba(255,255,255,.16); border-radius: 999px; padding: .25rem .8rem; margin: 0 0 .9rem; }
.hero h1, .hero-band h1 { font-size: 2.1rem; line-height: 1.2; margin: .25rem 0 .9rem; padding: 0; border: 0; }
.hero .lead, .hero-band .lead { font-size: 1.2rem; max-width: 40rem; margin: 0 0 1.25rem; color: #f2f6ff; }
.hero-logo { display: block; margin-bottom: .5rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 1rem; }
.hero-facts { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem .6rem; margin: 1rem 0 0; padding: 0; }
.hero-facts li { background: rgba(255,255,255,.14); border-radius: 999px; padding: .25rem .8rem; font-size: .95rem; font-weight: 600; }
.hero a:not(.btn), .hero-band a:not(.btn) { color: #fff; }

/* Headings and text */
h1 { font-size: 2rem; line-height: 1.25; margin: 1.5rem 0 1rem; }
main > h1:first-child { margin-top: 2rem; }
h2 { font-size: 1.55rem; line-height: 1.3; margin: 2.75rem 0 .9rem; padding-top: 0; border: 0; }
h2::after { content: ""; display: block; width: 3.2rem; height: 4px; background: var(--red); border-radius: 2px; margin-top: .45rem; }
.hero + section h2, main > section:first-of-type h2 { margin-top: 1.5rem; }
h3 { font-size: 1.2rem; margin: 0 0 .4rem; line-height: 1.3; }
.lead { font-size: 1.2rem; }
.muted { color: var(--muted); }
.badge { display: inline-block; background: var(--red); color: #fff; font-weight: 700; border-radius: 6px; padding: .2rem .7rem; }
ul, ol { padding-left: 1.4rem; }
li { margin-bottom: .35rem; }

/* Links */
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 3px; }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1rem; margin-top: 1rem; }
.card { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.25rem; box-shadow: var(--shadow); }
.card h3 { color: var(--navy); }
.card p { margin: 0; }
.card .btn { margin-top: .9rem; }

/* Steps */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 1rem 0 0; display: grid; gap: .8rem; }
.steps > li {
  counter-increment: step; position: relative; margin: 0;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1rem 1rem 1rem 4rem; box-shadow: var(--shadow);
}
.steps > li::before {
  content: counter(step); position: absolute; left: 1rem; top: 1rem;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; display: flex; align-items: center; justify-content: center;
}
.steps > li strong { display: block; }

/* Bands and panels */
.band { background: var(--bg-band); border-radius: var(--radius); padding: 1.5rem 1.25rem; margin: 2.5rem 0 0; }
.band h2 { margin-top: 0; }
.panel { border: 2px solid var(--navy); border-radius: var(--radius); padding: 1.25rem; margin: 1rem 0; background: var(--bg); }
.panel p:last-child { margin-bottom: 0; }
.fact-list { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .35rem; }
.fact-list li { margin: 0; padding-left: 1.5rem; position: relative; }
.fact-list li::before { content: ""; position: absolute; left: .2rem; top: .62rem; width: .55rem; height: .55rem; border-radius: 50%; background: var(--red); }
.note { border-left: 6px solid var(--red); background: var(--bg-soft); padding: .9rem 1.1rem; border-radius: 0 var(--radius) var(--radius) 0; }

/* Version list */
.version-list li { margin-bottom: .5rem; }

/* Buttons */
.btn {
  display: inline-block; font: inherit; font-weight: 800; font-size: 1.1rem; text-align: center;
  background: var(--navy); color: #fff; border: 2px solid var(--navy); border-radius: 10px;
  padding: .8rem 1.5rem; min-height: 48px; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--navy-dark); border-color: var(--navy-dark); }
.btn-primary { background: var(--red); border-color: var(--red); }
.btn-primary:hover { background: #a20d25; border-color: #a20d25; }
.btn-outline { background: transparent; color: #fff; border: 2px solid #fff; }
.btn-outline:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.hero .btn-primary, .hero-band .btn-primary { background: #fff; color: var(--navy-deep); border-color: #fff; }
.hero .btn-primary:hover, .hero-band .btn-primary:hover { background: #e3ecff; border-color: #e3ecff; }
.btn-large { font-size: 1.2rem; padding: 1rem 1.75rem; }

/* Forms */
.form { max-width: 34rem; }
label { font-weight: 600; }
input[type="checkbox"], input[type="radio"] { width: auto; min-width: 1.2rem; min-height: 1.2rem; margin: 0 .5rem 0 0; vertical-align: middle; }
.form .check-row { display: flex; align-items: flex-start; gap: .4rem; }
.form .check-row label { font-weight: 600; }
input, select, textarea { font: inherit; width: 100%; padding: .65rem; border: 2px solid #444; border-radius: 8px; margin-top: .3rem; background: var(--bg); color: var(--ink); }
.hp { position: absolute; left: -9999px; }

/* Details */
details { border: 1px solid var(--line); border-radius: var(--radius); padding: .6rem 1rem; margin: 1.25rem 0; background: var(--bg-soft); }
summary { font-weight: 700; cursor: pointer; min-height: 44px; display: flex; align-items: center; }
code { overflow-wrap: anywhere; font-size: .9rem; }

/* Focus */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--focus); outline-offset: 2px;
}
.hero a:focus-visible, .hero-band a:focus-visible, .site-header a:focus-visible { outline-color: #ffd37a; }

/* Footer */
.site-footer { margin-top: 3.5rem; background: var(--navy-deep); color: #dbe5fa; padding: 1.75rem 0 2.5rem; }
.site-footer nav ul { list-style: none; padding: 0; margin: 0 0 .75rem; display: flex; flex-wrap: wrap; gap: .25rem 1.25rem; }
.site-footer a { color: #fff; display: inline-block; padding: .4rem 0; min-height: 44px; }
.site-footer p { margin: 0; font-size: .95rem; }

/* Small screens */
@media (max-width: 40rem) {
  .hero h1, .hero-band h1 { font-size: 1.75rem; }
  .hero-actions .btn { width: 100%; }
  h2 { font-size: 1.4rem; }
  .btn-large { width: 100%; }
}

/* Dark mode */
@media (prefers-color-scheme: dark) {
  :root {
    --ink: #eef1f6; --bg: #0e121a; --bg-soft: #171e2c; --bg-band: #131b2b; --line: #35405a;
    --link: #a9c8ff; --muted: #b9c0cc; --focus: #ffb020;
    --shadow: none;
  }
  input, select, textarea { border-color: #8a93a5; }
  .skip { background: #000; color: #fff; }
  .card h3 { color: #cfe0ff; }
  .btn { background: #a9c8ff; color: #0a0f18; border-color: #a9c8ff; }
  .btn:hover { background: #cfe0ff; border-color: #cfe0ff; }
  .btn-primary { background: #ff8fa0; color: #1a0006; border-color: #ff8fa0; }
  .btn-primary:hover { background: #ffb3be; border-color: #ffb3be; }
  .hero .btn-primary, .hero-band .btn-primary { background: #fff; color: var(--navy-deep); border-color: #fff; }
  .btn-outline { background: transparent; color: #fff; border-color: #fff; }
  .steps > li::before { background: #a9c8ff; color: #0a0f18; }
  .panel { border-color: #a9c8ff; }
  .site-header nav a.nav-cta { background: #ff8fa0; border-color: #ff8fa0; color: #1a0006; }
}
