/* ============================================================
   TOKENS
   ============================================================ */
:root{
  --navy: #0e2745;
  --navy-deep: #081a30;
  --orange: #f47920;
  --orange-deep: #d9640f;
  --sky: #eef5fb;
  --sky-deep: #dcebf7;
  --white: #ffffff;
  --ink: #16253a;
  --ink-soft: #4c5c72;
  --green: #2f9e6e;
  --green-tint: #e3f5ed;
  --amber: #d98a1f;
  --amber-tint: #fbeed9;
  --red: #c0392b;
  --red-tint: #fbe6e3;
  --line: #d9e4ef;

  --font-display: 'Archivo Black', 'Barlow Condensed', sans-serif;
  --font-eyebrow: 'Barlow Condensed', sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius: 14px;
  --wrap: 860px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img{ max-width: 100%; display: block; }
a{ color: var(--orange-deep); }
a:focus-visible, button:focus-visible, summary:focus-visible{
  outline: 3px solid var(--orange);
  outline-offset: 2px;
}

.wrap{
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow{
  font-family: var(--font-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--orange-deep);
  margin: 0 0 8px;
}

h1, h2{
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.08;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
}
h1{ font-size: clamp(1.7rem, 4.6vw, 2.5rem); }
h2{ font-size: clamp(1.35rem, 3.4vw, 1.85rem); }

.lede{
  font-size: 1.05rem;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0 0 6px;
}

.fineprint{
  font-size: 0.9rem;
  color: var(--ink-soft);
  margin-top: 18px;
}

.btn{
  display: inline-block;
  font-family: var(--font-eyebrow);
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  white-space: nowrap;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn--ghost-light{
  background: rgba(255,255,255,0.12);
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.55);
}
.btn--ghost-light:hover{ background: rgba(255,255,255,0.22); transform: translateY(-1px); }
.btn--ghost{
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn--ghost:hover{ background: var(--navy); color: var(--white); transform: translateY(-1px); }

/* ============================================================
   HERO
   ============================================================ */
.hero{
  position: relative;
  background: var(--navy-deep);
}
.hero__img{
  width: 100%;
  height: auto;
  display: block;
}
.hero__scrollcue{
  display: none;
}

/* ============================================================
   DATE STRIP
   ============================================================ */
.datestrip{
  background: linear-gradient(100deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: var(--white);
  padding: 22px 0;
}
.datestrip__inner{
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.datestrip__date{
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
}
.datestrip__label{
  font-family: var(--font-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.72rem;
  color: var(--orange);
}
.datestrip__value{
  font-family: var(--font-display);
  font-size: 1.1rem;
}
.datestrip__text{
  flex: 1 1 320px;
  margin: 0;
  font-size: 0.98rem;
  color: #dfe9f5;
  min-width: 220px;
}
.datestrip__text strong{ color: var(--white); }

/* ============================================================
   SECTIONS - general spacing
   ============================================================ */
main section{
  padding: 52px 0;
}
.section-intro{ padding-top: 56px; }

/* ============================================================
   RECOMMEND CALLOUT
   ============================================================ */
.recommend{
  display: flex;
  gap: 22px;
  align-items: flex-start;
  background: var(--sky);
  border: 1.5px solid var(--sky-deep);
  border-radius: var(--radius);
  padding: 28px;
}
.recommend__icon{
  flex-shrink: 0;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--orange);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
}
.recommend__icon svg{ width: 26px; height: 26px; }
.recommend__eyebrow{
  font-family: var(--font-eyebrow);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.78rem;
  color: var(--orange-deep);
  margin: 0 0 6px;
}
.recommend h2{ font-size: 1.3rem; margin-bottom: 8px; }
.recommend p:last-child{ margin: 0; color: var(--ink-soft); }

/* ============================================================
   ALLOWANCE METER (signature element)
   ============================================================ */
.section-allowance{ background: var(--white); }

.meter{
  margin: 34px 0 8px;
}
.meter__bar{
  display: flex;
  width: 100%;
  height: 46px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(14,39,69,0.06);
}
.meter__zone{
  width: var(--w);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.meter__zone--free{ background: var(--green); }
.meter__zone--mid{ background: var(--amber); }
.meter__zone--high{ background: var(--red); }
.meter__zoneLabel{
  font-family: var(--font-eyebrow);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.03em;
  color: rgba(255,255,255,0.95);
  text-align: center;
  padding: 0 6px;
}
.meter__ticks{
  position: relative;
  height: 26px;
  margin-top: 4px;
  font-family: var(--font-eyebrow);
  font-size: 0.78rem;
  color: var(--ink-soft);
}
.meter__ticks span{
  position: absolute;
  transform: translateX(-2px);
}
.meter__tickEnd{
  right: 0;
  left: auto !important;
  transform: none;
}

.allowance-cards{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}
.acard{
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border: 1.5px solid transparent;
}
.acard--free{ background: var(--green-tint); border-color: #bfe4d3; }
.acard--mid{ background: var(--amber-tint); border-color: #f0d6a6; }
.acard--high{ background: var(--red-tint); border-color: #edc0ba; }
.acard__amt{
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--navy);
}
.acard__note{
  font-size: 0.88rem;
  color: var(--ink-soft);
}

/* ============================================================
   ACCORDION
   ============================================================ */
.section-accordion{ background: var(--sky); }

.accordion{
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.acc-item{
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: 12px;
  overflow: hidden;
}
.acc-item > summary{
  list-style: none;
  cursor: pointer;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
}
.acc-item > summary::-webkit-details-marker{ display: none; }
.acc-chevron{
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sky);
  position: relative;
}
.acc-chevron::before, .acc-chevron::after{
  content: '';
  position: absolute;
  background: var(--navy);
  border-radius: 2px;
}
.acc-chevron::before{
  width: 10px; height: 2px;
  top: 10px; left: 6px;
}
.acc-chevron::after{
  width: 2px; height: 10px;
  top: 6px; left: 10px;
  transition: transform 0.2s ease;
}
.acc-item[open] .acc-chevron::after{ transform: rotate(90deg); opacity: 0; }

.acc-body{
  padding: 0 20px 22px;
  color: var(--ink-soft);
}
.acc-body p{ margin: 0 0 10px; }
.acc-body ul{ margin: 0 0 10px; padding-left: 20px; }
.acc-body li{ margin-bottom: 4px; }
.acc-body strong{ color: var(--ink); }

.taglist{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0 0 12px;
}
.taglist li{
  background: var(--sky);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--navy);
}

/* ============================================================
   WARNING
   ============================================================ */
.warning{
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--red-tint);
  border: 1.5px solid #edc0ba;
  border-radius: var(--radius);
  padding: 26px 28px;
}
.warning__icon{
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}
.warning h2{ font-size: 1.25rem; color: var(--red); margin-bottom: 6px; }
.warning p{ margin: 0; color: var(--ink-soft); }

/* ============================================================
   HELP GRID
   ============================================================ */
.help-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.help-card{
  background: var(--sky);
  border-radius: 12px;
  padding: 20px;
}
.help-card p{ margin: 0 0 4px; color: var(--ink-soft); font-size: 0.92rem; }
.help-card__title{
  font-family: var(--font-eyebrow);
  font-weight: 600;
  color: var(--navy);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 6px !important;
}
.help-card--highlight{
  background: var(--navy);
}
.help-card--highlight .help-card__title{ color: var(--orange); }
.help-card--highlight p, .help-card--highlight a{ color: #dfe9f5; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer{
  background: var(--navy-deep);
  padding: 44px 0 30px;
  margin-top: 20px;
}
.footer__inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
}
.footer__logo{
  width: 200px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}
.footer__note{
  color: #a9bad0;
  font-size: 0.85rem;
  max-width: 56ch;
  margin: 0;
}
.footer .btn--ghost{
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.footer .btn--ghost:hover{ background: var(--white); color: var(--navy); }
.footer__copy{
  color: #6d8098;
  font-size: 0.78rem;
  margin: 10px 0 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 640px){
  main section{ padding: 38px 0; }
  .recommend{ flex-direction: column; padding: 22px; }
  .allowance-cards{ grid-template-columns: 1fr; }
  .help-grid{ grid-template-columns: 1fr; }
  .datestrip__inner{ flex-direction: column; align-items: flex-start; }
  .datestrip .btn{ align-self: stretch; text-align: center; }
  .meter__zoneLabel{ display: none; }
  .meter__bar{ height: 30px; }
}

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *{ transition: none !important; }
}
