:root{
    --navy:#0A244B;
    --navy-deep:#061A38;
    --navy-soft:#12325F;
    --cream:#F7E5B9;
    --cream-soft:#FDF6E0;
    --paper:#FBF7EC;
    --surface:#FFFFFF;
    --ink:#14263F;
    --muted:#52637A;
    --hairline:#E3DCC8;
    --hairline-navy:rgba(247,229,185,.28);
    --radius:14px;
    --space:8px;
    --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  }
  *{box-sizing:border-box;margin:0;padding:0}
  html{scroll-behavior:smooth}
  body{
    font-family:var(--font);
    background:var(--paper);
    color:var(--ink);
    font-size:16px;
    line-height:1.55;
    -webkit-font-smoothing:antialiased;
    overflow-x:clip;
  }
  :root{--chrome:114px}
  img{height:auto;max-width:100%;display:block}
  a{color:inherit}
  :focus-visible{outline:3px solid var(--navy);outline-offset:2px;border-radius:4px}
  .on-navy :focus-visible{outline-color:var(--cream)}

  .skip{
    position:absolute;left:-9999px;top:0;background:var(--cream);color:var(--navy);
    padding:12px 16px;font-weight:700;z-index:60;border-radius:0 0 10px 0;
  }
  .skip:focus{left:0}

  /* ---------- Header ---------- */
  header{
    position:sticky;top:0;z-index:50;
    background:var(--navy);color:var(--cream);
    padding-top:env(safe-area-inset-top);
    box-shadow:0 1px 0 rgba(6,26,56,.35);
  }
  .bar{
    display:flex;align-items:center;gap:10px;
    height:60px;padding:0 16px;max-width:1080px;margin:0 auto;
  }
  .brand{display:flex;align-items:center;gap:10px;text-decoration:none;min-height:44px}
  .brand img{width:40px;height:40px;border-radius:50%}
  .brand .name{font-weight:700;font-size:17px;letter-spacing:-.01em;color:#fff;line-height:1.15;white-space:nowrap}
  .brand .name small{display:block;font-weight:500;font-size:11px;color:var(--cream);letter-spacing:.04em}
  .bar .spacer{flex:1}
  .btn{
    display:inline-flex;align-items:center;justify-content:center;gap:8px;
    min-height:44px;padding:10px 18px;border-radius:999px;border:0;cursor:pointer;
    font:inherit;font-weight:700;font-size:15px;text-decoration:none;text-align:center;white-space:nowrap;
    transition:transform .18s ease,opacity .25s ease,background .18s ease;
  }
  .btn:active{transform:scale(.98)}
  .btn-cream{background:var(--cream);color:var(--navy)}
  .btn-navy{background:var(--navy);color:var(--cream)}
  .btn-ghost{background:transparent;color:#fff;border:1.5px solid var(--hairline-navy)}
  .btn-small{min-height:44px;padding:8px 14px;font-size:14px}
  header .btn{transition:transform .18s ease,opacity .25s ease,visibility .25s}
  header .btn.cta-hidden{opacity:0;visibility:hidden}

  nav.primary{
    border-top:1px solid var(--hairline-navy);height:53px;
  }
  nav.primary ul{
    display:flex;gap:4px;list-style:none;max-width:1080px;margin:0 auto;height:100%;align-items:center;
    padding:4px 12px;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;
  }
  nav.primary ul::-webkit-scrollbar{display:none}
  nav.primary a{
    display:inline-flex;align-items:center;min-height:44px;padding:6px 12px;
    color:var(--cream);text-decoration:none;font-size:14px;font-weight:600;white-space:nowrap;border-radius:8px;
  }
  nav.primary a:hover{background:var(--navy-soft)}

  /* ---------- Hero ---------- */
  .hero{
    background:linear-gradient(180deg,var(--navy) 0%,var(--navy-deep) 100%);
    color:#fff;
    height:calc(100vh - var(--chrome) - env(safe-area-inset-top));
    height:calc(100svh - var(--chrome) - env(safe-area-inset-top));
    display:flex;flex-direction:column;justify-content:space-evenly;
    padding:20px 20px 24px;text-align:center;
  }
  .hero .badge{width:104px;height:104px;border-radius:50%;margin:0 auto}
  .eyebrow{
    font-size:11px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--cream);
  }
  .hero h1{
    font-size:clamp(30px,8.4vw,44px);line-height:1.14;font-weight:700;letter-spacing:-.015em;
    text-wrap:balance;max-width:16em;margin:0 auto;
  }
  .hero .sub{font-size:clamp(15px,4.2vw,18px);line-height:1.5;color:#E9EEF6;max-width:34em;margin:0 auto;text-wrap:balance}
  .hero .actions{display:flex;flex-direction:column;gap:10px;align-items:stretch;max-width:420px;margin:0 auto;width:100%}
  .hero .trust{font-size:13.5px;color:var(--cream);display:flex;align-items:center;justify-content:center;gap:8px}
  .hero .trust::before,.hero .trust::after{content:"";height:1px;width:26px;background:var(--hairline-navy)}

  /* ---------- Sections ---------- */
  main section{padding:36px 20px 40px;scroll-margin-top:calc(var(--chrome) + 8px)}
  .wrap{max-width:1080px;margin:0 auto}
  .sec-head{margin-bottom:18px}
  .sec-head .eyebrow{color:var(--navy);opacity:.75}
  .sec-head h2{font-size:clamp(21px,5.6vw,26px);font-weight:700;letter-spacing:-.01em;line-height:1.2;margin-top:4px;text-wrap:balance}
  .sec-head p{color:var(--muted);font-size:15px;margin-top:6px;max-width:38em}
  .alt{background:var(--cream-soft)}

  /* ---------- Catch cards ---------- */
  .cards{display:grid;gap:12px}
  .card{
    background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius);
    padding:16px;display:flex;flex-direction:column;gap:6px;
  }
  .card .when{font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--navy);opacity:.8}
  .card h3{font-size:17px;font-weight:600;line-height:1.3}
  .card .meta{font-size:13.5px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .card .foot{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:4px}
  .price{font-weight:700;font-size:16px;color:var(--navy);background:var(--cream);border-radius:8px;padding:5px 10px;white-space:nowrap}
  .tag{font-size:12.5px;font-weight:600;color:var(--muted)}
  .follow{margin-top:10px;font-size:14.5px;color:var(--muted)}
  .follow a{color:var(--navy);font-weight:700;display:inline-flex;align-items:center;min-height:44px;padding:0 3px}

  /* ---------- Feature modules (navy) ---------- */
  .module{
    background:var(--navy);color:#fff;border-radius:18px;padding:24px 20px;
  }
  .module .eyebrow{color:var(--cream)}
  .module h2{color:#fff}
  .module .sec-head p{color:#C9D4E6}
  .big-price{display:flex;align-items:baseline;gap:10px;margin:6px 0 2px}
  .big-price .amount{font-size:52px;font-weight:700;letter-spacing:-.02em;color:var(--cream);line-height:1}
  .big-price .unit{font-size:15px;color:#E9EEF6}
  .module .detail{font-size:15px;color:#E9EEF6}
  .module .note{
    margin-top:14px;border-top:1px solid var(--hairline-navy);padding-top:14px;font-size:14.5px;color:#E9EEF6;
  }
  .module .btn{margin-top:16px;width:100%}

  /* ---------- Contest ---------- */
  .steps{list-style:none;display:grid;gap:10px;margin-top:6px}
  .steps li{display:flex;gap:12px;align-items:flex-start;font-size:15px}
  .steps .n{
    flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:var(--cream);color:var(--navy);
    font-weight:700;font-size:14px;display:flex;align-items:center;justify-content:center;margin-top:1px;
  }
  .fineprint{font-size:13px;color:var(--muted);margin-top:12px}

  /* ---------- Specials tabs ---------- */
  .tabs{display:flex;gap:6px;overflow-x:auto;padding-bottom:6px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
  .tabs::-webkit-scrollbar{display:none}
  .tab{
    flex:1 0 auto;min-height:44px;padding:8px 14px;border-radius:999px;cursor:pointer;
    border:1.5px solid var(--navy);background:transparent;color:var(--navy);
    font:inherit;font-size:14.5px;font-weight:600;transition:background .18s ease,color .18s ease,transform .18s ease;
  }
  .tab:active{transform:scale(.98)}
  .tab[aria-selected="true"]{background:var(--navy);color:var(--cream)}
  .panel{
    margin-top:14px;background:var(--surface);border:1px dashed var(--hairline);border-radius:var(--radius);padding:22px 18px;text-align:center;
  }
  .js .panel[hidden]{display:none}
  .panel .hook{font-size:26px;line-height:1}
  .panel h3{font-size:17px;font-weight:600;margin:10px 0 6px}
  .panel p{font-size:14.5px;color:var(--muted);max-width:32em;margin:0 auto}
  .panel .next{margin-top:14px}

  /* ---------- Gas watch ---------- */
  .scorecard{display:grid;gap:10px;margin-top:4px}
  .score-row{
    display:flex;gap:12px;align-items:flex-start;background:var(--surface);
    border:1px solid var(--hairline);border-radius:var(--radius);padding:14px 16px;font-size:15px;
  }
  .score-row .dot{flex:0 0 10px;width:10px;height:10px;border-radius:50%;background:var(--navy);margin-top:7px}
  .state-chip{
    display:inline-flex;align-items:center;gap:8px;background:var(--navy);color:var(--cream);
    font-weight:700;font-size:14px;border-radius:999px;padding:9px 14px;margin-top:16px;min-height:44px;
  }

  /* ---------- Email ---------- */
  .signup{background:var(--navy);color:#fff}
  .signup .wrap{max-width:640px}
  .signup h2{font-size:clamp(23px,6vw,30px);line-height:1.2;text-wrap:balance}
  .signup p.lede{color:#E9EEF6;margin-top:8px;font-size:15.5px}
  form.capture{margin-top:20px;display:grid;gap:10px}
  form.capture label{font-weight:600;font-size:14.5px;color:var(--cream)}
  .field-row{display:grid;gap:10px}
  form.capture input{
    font:inherit;font-size:16px;padding:13px 14px;min-height:50px;width:100%;
    border-radius:10px;border:1.5px solid var(--hairline-navy);background:#fff;color:var(--ink);
  }
  .privacy{font-size:13px;color:#C9D4E6}

  /* ---------- Footer ---------- */
  footer{background:var(--navy-deep);color:#C9D4E6;padding:36px 20px calc(28px + env(safe-area-inset-bottom));font-size:14px}
  footer .wrap{display:grid;gap:16px}
  footer .fbrand{display:flex;align-items:center;gap:10px;color:#fff;font-weight:700;font-size:16px}
  footer .fbrand img{width:36px;height:36px;border-radius:50%}
  footer .creed{color:var(--cream);font-weight:600}
  footer nav ul{display:flex;flex-wrap:wrap;gap:6px 18px;list-style:none}
  footer a{color:#fff;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;min-height:44px}
  footer a:hover{text-decoration:underline}
  footer .legal{font-size:12.5px;color:#93A5C0;border-top:1px solid var(--hairline-navy);padding-top:14px;display:grid;gap:6px}

  @media (min-width:720px){
    .hero{padding:32px 24px 40px}
    .hero .badge{width:128px;height:128px}
    .hero .actions{flex-direction:row;justify-content:center}
    .hero .actions .btn{flex:0 1 auto;padding-left:26px;padding-right:26px}
    nav.primary ul{justify-content:center;overflow:visible}
    .cards{grid-template-columns:repeat(3,1fr)}
    .module .btn{width:auto}
    .field-row{grid-template-columns:1fr auto}
    .field-row .btn{min-width:230px}
    main section{padding:48px 24px 56px}
  }
  @media (max-width:719px){
    :root{--chrome:162px}
    .bar{flex-wrap:wrap;height:108px;padding:8px 16px;align-content:center;row-gap:8px}
    #header-cta{flex:1 1 100%}
  }
  @media (max-width:380px){
    .bar{padding:8px 12px}
    .brand .name{display:none}
    .hero .badge{width:88px;height:88px}
  }
  @media (prefers-reduced-motion:reduce){
    html{scroll-behavior:auto}
    *,*::before,*::after{transition:none!important;animation:none!important}
  }

/* ---------- Production additions (v1 pages) ---------- */
/* Slim hero for utility pages (contests, price check, 404) */
.page-hero{
  background:linear-gradient(180deg,var(--navy) 0%,var(--navy-deep) 100%);
  color:#fff;padding:30px 20px 34px;
}
.page-hero .eyebrow{color:var(--cream)}
.page-hero h1{font-size:clamp(26px,6.8vw,38px);line-height:1.16;font-weight:700;letter-spacing:-.015em;text-wrap:balance;max-width:22em;margin-top:6px}
.page-hero .lede{color:#E9EEF6;font-size:15.5px;margin-top:10px;max-width:40em}
.page-hero .checked{display:inline-flex;align-items:center;gap:8px;margin-top:14px;background:rgba(247,229,185,.14);color:var(--cream);font-weight:600;font-size:13.5px;border-radius:999px;padding:8px 14px;min-height:44px}

/* Urgency bands (Contest Countdown) */
.band{margin-bottom:8px}
.band .module .card{background:var(--navy-soft);border-color:var(--hairline-navy);color:#fff}
.band .module .card .meta{color:#C9D4E6;white-space:normal;overflow:visible;text-overflow:clip}
.band .module .card h3{color:#fff}
.band-empty{
  border:1.5px dashed var(--hairline);border-radius:var(--radius);padding:20px 18px;text-align:center;
  background:var(--surface);color:var(--muted);font-size:15px;
}
.module .band-empty{background:transparent;border-color:var(--hairline-navy);color:#C9D4E6}
.band-empty strong{color:var(--ink)}
.module .band-empty strong{color:var(--cream)}

/* Eligibility badges */
.elig{
  display:inline-flex;align-items:center;min-height:32px;padding:5px 11px;border-radius:999px;
  font-size:11.5px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;
}
.elig-atlantic{background:var(--navy);color:var(--cream)}
.elig-canada{background:transparent;color:var(--navy);border:1.5px solid var(--navy)}
.module .elig-canada{color:var(--cream);border-color:var(--cream)}
.card .toprow{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap}
.card .days{font-weight:700;font-size:15px;color:var(--navy);white-space:nowrap}
.module .card .days{color:var(--cream)}
.card .rules{font-size:13.5px;color:var(--muted)}
.card .rules a{color:var(--navy);font-weight:700}
.module .card .rules{color:#C9D4E6}
.module .card .rules a{color:var(--cream)}
.card .actions-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:8px}

/* Tables (Price Check) */
.tbl-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}
table.tbl{width:100%;border-collapse:collapse;background:var(--surface);border:1px solid var(--hairline);border-radius:var(--radius);overflow:hidden;font-size:14.5px}
table.tbl caption{text-align:left;font-weight:700;font-size:15px;padding:12px 14px;color:var(--navy)}
table.tbl th,table.tbl td{padding:11px 14px;text-align:left;border-top:1px solid var(--hairline);vertical-align:top}
table.tbl thead th{border-top:0;background:var(--cream-soft);font-size:12.5px;letter-spacing:.06em;text-transform:uppercase;color:var(--navy)}
table.tbl td.price-cell{font-weight:700;color:var(--navy);white-space:nowrap}
table.tbl tr.empty td{color:var(--muted);text-align:center;padding:18px 14px}
.method{font-size:14.5px;color:var(--muted);display:grid;gap:8px;max-width:44em}
.method strong{color:var(--ink)}
.backlink{display:inline-flex;align-items:center;min-height:44px;font-weight:700;color:var(--navy);text-decoration:none;padding:4px 0}
.backlink:hover{text-decoration:underline}
.rotation{list-style:none;display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
.rotation li{background:var(--surface);border:1px solid var(--hairline);border-radius:999px;padding:9px 14px;font-size:14px;font-weight:600;min-height:44px;display:inline-flex;align-items:center}
.rotation li.done{background:var(--navy);color:var(--cream);border-color:var(--navy)}

/* 404 */
.notfound{padding:56px 20px 64px;text-align:center}
.notfound .hook{font-size:44px;line-height:1}
.notfound h1{font-size:clamp(26px,6.8vw,36px);margin:14px 0 8px;text-wrap:balance}
.notfound p{color:var(--muted);max-width:34em;margin:0 auto}
.notfound .actions-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;margin-top:22px}
.module .note a{color:var(--cream);font-weight:700}
.textlink{font-weight:700;color:var(--navy)}
.card .meta.long{white-space:normal;overflow:visible;text-overflow:clip}
.module .note a{display:inline-flex;align-items:center;min-height:44px;padding:0 2px}
.cards>.card{min-width:0}
@media (max-width:380px){
  .elig{white-space:normal;text-align:center;line-height:1.35}
}
