:root {
  --midnight: #082252;   /* logo navy */
  --midnight-2: #0f3473;
  --arcane: #1f5fbf;     /* link / focus blue */
  --gold: #ffd000;
  --gold-deep: #e6bb00;
  --parchment: #f1f4f9;  /* light section ground */
  --ink: #1e2430;
  --grey: #505050;       /* logo wordmark grey */
  --muted: #5a6172;
  --line: #dce2ec;
  --white: #fff;
  --teal: #12857a;
  --radius: 10px;
  --shadow: 0 6px 24px rgba(8, 34, 82, .12);
  --display: "Domine", Georgia, "Times New Roman", serif;
  --body: "Nunito Sans", system-ui, -apple-system, Segoe UI, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--arcane); }
a:hover { color: var(--midnight); }
h1, h2, h3 { font-family: var(--display); font-weight: 700; color: var(--midnight); line-height: 1.15; margin: 0 0 .5em; text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-weight: 800; font-size: .78rem; color: var(--arcane); margin-bottom: .6rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font: 800 1rem var(--body); text-decoration: none; cursor: pointer;
  border-radius: 999px; padding: .85rem 1.6rem; border: 2px solid transparent;
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--midnight); }
.btn-gold:hover { background: var(--gold-deep); color: var(--midnight); box-shadow: 0 0 0 4px rgba(255, 208, 0, .3); }
.btn-ghost { background: transparent; color: var(--midnight); border-color: var(--midnight); }
.btn-ghost:hover { background: var(--midnight); color: var(--white); }
.btn-light { background: transparent; color: var(--white); border-color: var(--white); }
.btn-light:hover { background: var(--white); color: var(--midnight); }

/* ---------- Top bar & header ---------- */
.livebar {
  background: var(--midnight); color: #d3dcef; font-size: .85rem; text-align: center; padding: .45rem 16px;
}
.livebar strong { color: var(--gold); }
.live-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #e5484d; margin-right: .4rem; animation: pulse 1.6s infinite; vertical-align: middle; }
.live-dot.off { background: #8a84a8; animation: none; }
@keyframes pulse { 50% { opacity: .3; } }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 84px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--midnight); }
.brand img { height: 64px; width: auto; }
@media (max-width: 860px) { .brand img { height: 50px; } }
.nav { display: flex; align-items: center; gap: 1.6rem; }
.nav a { color: var(--midnight); text-decoration: none; font-weight: 700; }
.nav a:hover { color: var(--arcane); text-decoration: underline; text-underline-offset: 6px; }
.nav .btn { padding: .55rem 1.2rem; }
.nav-phone { font-weight: 800; color: var(--midnight); white-space: nowrap; user-select: all; }
@media (min-width: 861px) and (max-width: 960px) { .nav-phone { display: none; } }
.footer-phone strong { display: block; color: var(--gold); font-size: 1.15rem; letter-spacing: .02em; user-select: all; }
.phone-line { font-family: var(--display); font-size: 1.35rem; color: var(--midnight); margin: .2rem 0 .6rem; user-select: all; }
.menu-toggle { display: none; background: none; border: 0; font-size: 1.6rem; color: var(--midnight); cursor: pointer; }

@media (max-width: 860px) {
  .menu-toggle { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); flex-direction: column; align-items: stretch; padding: 1rem 16px 1.4rem; gap: 1rem; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: var(--white);
  background:
    radial-gradient(circle at 82% 30%, rgba(255, 208, 0, .18), transparent 38%),
    radial-gradient(circle at 5% 100%, rgba(31, 95, 191, .45), transparent 45%),
    var(--midnight);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
}
.stars { position: absolute; inset: 0; pointer-events: none; }
.stars span { position: absolute; width: 3px; height: 3px; background: #fff; border-radius: 50%; opacity: .6; animation: twinkle 3s infinite ease-in-out; }
@keyframes twinkle { 50% { opacity: .1; transform: scale(.6); } }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: center; }
.hero h1 { color: var(--white); }
.hero h1 em { font-style: normal; color: var(--gold); }
.hero-sub { font-size: 1.15rem; color: #d3dcef; max-width: 34ch; }
.hero-sub strong { color: var(--gold); }
.card .leader-title { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 800; color: var(--arcane); margin: 0 0 .3rem; }
.hero-art { display: grid; place-items: center; }
.hero-art img { width: min(340px, 80%); filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); animation: float 5s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px) rotate(-2deg); } }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}

/* ---------- Quote card ---------- */
.quote-card { background: var(--white); color: var(--ink); border-radius: 14px; padding: 1.4rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); margin-top: 1.8rem; max-width: 620px; }
.quote-card h2 { font-size: 1.05rem; font-family: var(--body); font-weight: 800; margin-bottom: .9rem; }
.product-tabs { display: grid; grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); gap: .5rem; margin-bottom: 1rem; }
.product-tab {
  border: 2px solid var(--line); background: var(--white); border-radius: var(--radius);
  padding: .6rem .3rem; cursor: pointer; font: 700 .82rem var(--body); color: var(--midnight);
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
}
.product-tab .ico { font-size: 1.5rem; line-height: 1; }
.product-tab:hover { border-color: var(--arcane); }
.product-tab[aria-pressed="true"] { border-color: var(--midnight); background: #eaf0fb; box-shadow: inset 0 -4px 0 var(--gold); }
.zip-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.zip-row label { flex: 1 1 200px; display: flex; flex-direction: column; font-size: .8rem; font-weight: 700; color: var(--muted); }
.zip-row input { margin-top: .25rem; }
.zip-row .btn { flex: 0 0 auto; align-self: flex-end; }
.fine { font-size: .78rem; color: var(--muted); margin: .8rem 0 0; }

input, select, textarea {
  font: 1rem var(--body); padding: .75rem .9rem; border: 2px solid var(--line); border-radius: 8px; width: 100%; color: var(--ink); background: var(--white);
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--arcane); box-shadow: 0 0 0 3px rgba(31, 95, 191, .2); }

/* ---------- Sections ---------- */
section { padding: clamp(3rem, 6vw, 5rem) 0; }
section[id] { scroll-margin-top: 90px; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 2.5rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.alt { background: var(--parchment); }
.dark { background: var(--midnight); color: #dfe6f5; }
.dark h2, .dark h3 { color: var(--white); }

.grid { display: grid; gap: 1.2rem; }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 1.5rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card .ico { font-size: 2rem; margin-bottom: .6rem; }
.card p { color: var(--muted); margin-bottom: .8rem; }
.card a.more { font-weight: 800; text-decoration: none; }
.card a.more::after { content: " →"; }
.card .tag { display: inline-block; background: var(--gold); color: var(--midnight); font-size: .7rem; font-weight: 800; padding: .15rem .5rem; border-radius: 999px; margin-bottom: .5rem; text-transform: uppercase; letter-spacing: .06em; }

/* Bundle banner */
.bundle { display: grid; grid-template-columns: auto 1fr auto; gap: 2rem; align-items: center; background: linear-gradient(120deg, var(--gold), #ffe466); border-radius: 18px; padding: 2rem 2.2rem; }
.bundle .big { font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.6rem); font-weight: 700; color: var(--midnight); line-height: 1; }
.bundle .big small { display: block; font-size: .9rem; font-family: var(--body); letter-spacing: .1em; text-transform: uppercase; }
.bundle h2 { margin-bottom: .3rem; }
.bundle p { margin: 0; color: #2c3a5a; }
@media (max-width: 760px) { .bundle { grid-template-columns: 1fr; text-align: center; } }

/* Split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.checklist { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.checklist li { padding-left: 1.9rem; position: relative; margin-bottom: .7rem; }
.checklist li::before { content: "✦"; position: absolute; left: 0; color: var(--gold-deep); font-size: 1.1rem; }
.dark .checklist li::before { color: var(--gold); }

/* Commercial / mascot */
.tv {
  background: #040f26; border-radius: 18px; border: 10px solid #1b2f5a; aspect-ratio: 16 / 9; max-width: 100%;
  position: relative; overflow: hidden; box-shadow: 0 20px 40px rgba(0,0,0,.4);
}
.tv iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tv-caption { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem; margin: 1rem 0 0; font-size: .9rem; }
.tv-caption a { color: var(--gold); font-weight: 800; }
.tv-badge { background: #e5484d; color: #fff; font-size: .7rem; font-weight: 800; padding: .2rem .5rem; border-radius: 4px; }

/* App phone */
.phone { width: 260px; margin-inline: auto; background: #061a40; border-radius: 36px; padding: 14px; box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.phone-screen { background: linear-gradient(180deg, #0f3473, #082252); border-radius: 26px; padding: 1.2rem 1rem; color: #fff; min-height: 470px; }
.phone-screen .hi { font-family: var(--display); font-size: 1.1rem; margin-bottom: 1rem; }
.phone-tile { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 12px; padding: .8rem; margin-bottom: .7rem; font-size: .85rem; }
.phone-tile b { display: block; color: var(--gold); }
.orb { width: 120px; height: 120px; border-radius: 50%; margin: .5rem auto 1rem; background: radial-gradient(circle at 35% 30%, #fff, #9fc0ff 25%, #1f5fbf 60%, #082252); box-shadow: 0 0 40px rgba(185,168,255,.6); animation: float 4s ease-in-out infinite; }

/* Testimonials */
.quote { background: var(--white); border-radius: 14px; padding: 1.6rem; border-top: 5px solid var(--gold); box-shadow: var(--shadow); }
.quote blockquote { margin: 0 0 1rem; font-size: 1.05rem; }
.quote .stars-rating { color: var(--gold-deep); letter-spacing: .15em; margin-bottom: .6rem; }
.quote cite { font-style: normal; font-weight: 800; color: var(--midnight); display: block; }
.quote cite span { display: block; font-weight: 400; color: var(--muted); font-size: .88rem; }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.2rem; text-align: center; }
.stat b { display: block; font-family: var(--display); font-size: 2.4rem; color: var(--gold); }

/* CTA band */
.cta-band { background: var(--gold); text-align: center; padding: 3rem 0; }
.cta-band h2 { margin-bottom: 1rem; }

/* Footer */
.site-footer { background: #061a40; color: #c1cbe0; padding: 3.5rem 0 2rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 2rem; }
.site-footer h4 { color: var(--white); font-size: .95rem; margin: 0 0 .8rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .45rem; }
.site-footer a { color: #c1cbe0; text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer .brand { margin-bottom: 1rem; }
.site-footer .brand img { height: 60px; }
.legal { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .78rem; color: #8e9bbb; }
.legal p { margin-bottom: .6rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Inner pages ---------- */
.page-hero { background: linear-gradient(135deg, var(--midnight), var(--midnight-2)); color: #d3dcef; padding: 3rem 0; }
.page-hero h1 { color: var(--white); }
.page-hero p { max-width: 60ch; font-size: 1.1rem; }

.panel { background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: clamp(1.2rem, 3vw, 2.2rem); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem; }
.form-grid .full { grid-column: 1 / -1; }
.field label, .field legend { display: block; font-weight: 800; font-size: .9rem; color: var(--midnight); margin-bottom: .35rem; }
.field .hint { font-size: .8rem; color: var(--muted); margin-top: .3rem; }
fieldset { border: 0; padding: 0; margin: 0; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }

.choice-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; }
.choice span { display: flex; flex-direction: column; gap: .2rem; border: 2px solid var(--line); border-radius: 12px; padding: .9rem; cursor: pointer; font-weight: 700; height: 100%; }
.choice span small { font-weight: 400; color: var(--muted); }
.choice input:checked + span { border-color: var(--midnight); background: #eaf0fb; box-shadow: inset 0 -4px 0 var(--gold); }
.choice input:focus-visible + span { box-shadow: 0 0 0 3px rgba(31, 95, 191, .35); }

.steps { display: flex; gap: .4rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.steps li { list-style: none; flex: 1 1 100px; font-size: .78rem; font-weight: 800; color: var(--muted); border-top: 5px solid var(--line); padding-top: .4rem; }
.steps li.active, .steps li.done { color: var(--midnight); border-color: var(--gold); }
.steps { padding: 0; }
.step { display: none; }
.step.active { display: block; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(6px); } }
.step-nav { display: flex; justify-content: space-between; margin-top: 1.6rem; gap: 1rem; }

.range-row { display: flex; align-items: center; gap: 1rem; }
.range-row input[type=range] { padding: 0; border: 0; accent-color: var(--arcane); }
.range-row output { min-width: 7ch; font-weight: 800; color: var(--midnight); text-align: right; }

.price-reveal { text-align: center; padding: 1rem 0; }
.price-reveal .price { font-family: var(--display); font-size: clamp(3rem, 8vw, 4.5rem); color: var(--midnight); line-height: 1; }
.price-reveal .price small { font-size: 1.1rem; font-family: var(--body); color: var(--muted); }
.breakdown { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.breakdown td { padding: .55rem .2rem; border-bottom: 1px dashed var(--line); }
.breakdown td:last-child { text-align: right; font-weight: 800; }
.breakdown .discount td:last-child { color: var(--teal); }
.breakdown .total td { border-bottom: 0; font-size: 1.1rem; color: var(--midnight); }

.sparkle { position: fixed; pointer-events: none; font-size: 1.1rem; z-index: 999; animation: sparkle 900ms ease-out forwards; }
@keyframes sparkle { to { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.4) rotate(160deg); } }

.notice { background: #eaf0fb; border-left: 5px solid var(--arcane); padding: 1rem 1.2rem; border-radius: 8px; }
.claim-result { display: none; }
.claim-result.show { display: block; animation: fadeIn .3s ease; }
.tracker { list-style: none; padding: 0; margin: 1.5rem 0; }
.tracker li { position: relative; padding: 0 0 1.2rem 2.2rem; color: var(--muted); }
.tracker li::before { content: ""; position: absolute; left: 6px; top: 4px; width: 14px; height: 14px; border-radius: 50%; border: 3px solid var(--line); background: var(--white); }
.tracker li::after { content: ""; position: absolute; left: 12px; top: 22px; bottom: 0; width: 2px; background: var(--line); }
.tracker li:last-child::after { display: none; }
.tracker li.done { color: var(--ink); }
.tracker li.done::before { border-color: var(--gold-deep); background: var(--gold); }

.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { font-weight: 800; color: var(--midnight); cursor: pointer; }
.faq details p { margin: .7rem 0 0; color: var(--muted); }

.timeline { border-left: 3px solid var(--gold); padding-left: 1.5rem; }
.timeline div { margin-bottom: 1.6rem; position: relative; }
.timeline div::before { content: "✦"; position: absolute; left: -2.15rem; top: -.1rem; color: var(--gold-deep); background: var(--white); }
.timeline b { font-family: var(--display); color: var(--midnight); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
