/* ============================================================
   DH Reminders — styled to match the Douglas HVAC Mechanical app
   Tokens from app-v29.css / filter-reminder.css (ios_app/www)
   Scoped to section.dh-rem and .dh-app-banners. Does not restyle the Divi site.
   @font-face is injected at enqueue time with absolute plugins_url() paths.
   ============================================================ */


@keyframes dhAcLedGlow{
  0%,100%{box-shadow:0 0 4px #ffd400,0 0 8px rgba(255,212,0,.65);}
  50%{box-shadow:0 0 8px #ffd400,0 0 16px #ffd400,0 0 22px rgba(255,212,0,.45);}
}

/* ---------- Tokens + section shell ---------- */

section.dh-rem{
  --dh-navy:#0B2545;
  --dh-navy-2:#13315C;
  --dh-navy-deep:#071628;
  --dh-navy-ink:#040812;
  --dh-gold:#FFD400;
  --dh-gold-2:#F5B400;
  --dh-gold-border:#E8C547;
  --dh-text:#ffffff;
  --dh-muted:rgba(255,255,255,.72);
  --dh-line:rgba(232,197,71,.28);
  --dh-radius:18px;
  --dh-font:Inter,system-ui,-apple-system,sans-serif;
  --dh-font-tight:"Inter Tight",Inter,system-ui,sans-serif;
  --dh-font-display:Orbitron,"Inter Tight",Inter,sans-serif;
  box-sizing:border-box !important;
  position:relative;
  overflow:visible;
  width:100% !important;
  clear:both;
  z-index:3;
  container-type:inline-size;
  container-name:dhrem;
  margin:0 !important;
  padding:0 !important;
  color:var(--dh-text) !important;
  background:radial-gradient(120% 80% at 50% 0%,#13315C 0%,#0B2545 42%,#071628 100%) !important;
  border:0 !important;
  font-family:var(--dh-font) !important;
  font-size:15px !important;
  line-height:1.45 !important;
  -webkit-font-smoothing:antialiased;
}

section.dh-rem *,
section.dh-rem *::before,
section.dh-rem *::after{
  box-sizing:border-box !important;
}

section.dh-rem,
section.dh-rem p,
section.dh-rem li,
section.dh-rem label,
section.dh-rem span,
section.dh-rem input,
section.dh-rem button,
section.dh-rem a,
section.dh-rem b,
section.dh-rem i,
section.dh-rem small{
  font-family:var(--dh-font) !important;
}

/* ---------- Shared typography ---------- */

section.dh-rem .dh-rem__inner{
  max-width:480px;
  margin:0 auto;
  padding:28px 16px 32px !important;
  width:100%;
}

/* Phone: symmetric 10vw left / 10vw right are measured from the VIEWPORT, not added
   on top of the theme container's padding. Break out with calc(50% - 50vw), then pad.
   10vw = Divi 80% row margin (39px at 390, 41px at 412).
   If a parent clips overflow, typography below still works at a 240px card width. */
@media (max-width: 767px){
  section.dh-rem{
    width:100vw !important;
    max-width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    box-sizing:border-box !important;
  }
  section.dh-rem .dh-rem__inner{
    padding:28px 10vw 32px 10vw !important;
    max-width:none !important;
    width:100% !important;
  }
}

section.dh-rem .dh-rem__intro{
  text-align:center;
  margin:0 0 16px !important;
}

section.dh-rem .dh-rem__badge-row{
  display:flex !important;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:10px;
  margin:0 0 12px !important;
}

section.dh-rem .dh-rem__badge{
  display:inline-flex !important;
  align-items:center;
  background:var(--dh-gold) !important;
  color:var(--dh-navy) !important;
  font-family:var(--dh-font-display) !important;
  font-weight:700 !important;
  font-size:10px !important;
  letter-spacing:.1em !important;
  line-height:1 !important;
  text-transform:uppercase !important;
  padding:5px 10px !important;
  border-radius:999px !important;
  border:1px solid var(--dh-navy) !important;
  box-shadow:0 2px 8px rgba(0,0,0,.35) !important;
}

section.dh-rem .dh-rem__intro-ico{
  display:flex !important;
  align-items:center;
  justify-content:center;
  width:48px !important;
  height:48px !important;
  margin:0 auto 8px !important;
  border-radius:50% !important;
  background:linear-gradient(180deg,#FFD400,#F5B400) !important;
  color:var(--dh-navy) !important;
  box-shadow:0 0 16px rgba(255,212,0,.35) !important;
}

section.dh-rem .dh-rem__intro-ico svg{
  width:24px !important;
  height:24px !important;
  display:block;
}

section.dh-rem .dh-rem__title{
  margin:0 0 5px !important;
  padding:0 !important;
  color:#fff !important;
  font-family:var(--dh-font-tight) !important;
  font-weight:800 !important;
  font-size:22px !important;
  letter-spacing:-.03em !important;
  line-height:1.15 !important;
  text-align:center;
  background:none !important;
  border:0 !important;
}

section.dh-rem .dh-rem__title span{
  color:var(--dh-gold) !important;
  font-family:inherit !important;
  font-weight:inherit !important;
}

section.dh-rem .dh-rem__sub{
  margin:0 !important;
  padding:0 !important;
  color:var(--dh-muted) !important;
  font-size:13.5px !important;
  line-height:1.45 !important;
  font-weight:400 !important;
  text-align:center;
}

/* Benefits — app row cards */

section.dh-rem .dh-rem__benefits{
  list-style:none !important;
  list-style-type:none !important;
  margin:0 0 16px !important;
  padding:0 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:8px !important;
}

section.dh-rem .dh-rem__benefits li{
  list-style:none !important;
  list-style-type:none !important;
  display:grid !important;
  grid-template-columns:34px 1fr !important;
  gap:10px !important;
  align-items:start;
  margin:0 !important;
  padding:12px 14px !important;
  background:#0B2545 !important;
  border:2px solid #FFD400 !important;
  border-radius:20px !important;
  box-shadow:0 0 8px rgba(255,212,0,.35) !important;
}

section.dh-rem .dh-rem__benefits li::marker{content:none !important;display:none !important;}

section.dh-rem .dh-rem__ico{
  width:34px !important;
  height:34px !important;
  border-radius:50% !important;
  background:var(--dh-gold) !important;
  color:var(--dh-navy) !important;
  display:flex !important;
  align-items:center;
  justify-content:center;
  flex:0 0 34px !important;
  margin-top:1px;
}

section.dh-rem .dh-rem__ico svg{
  width:18px !important;
  height:18px !important;
  display:block;
}

section.dh-rem .dh-rem__benefits h3{
  margin:0 0 2px !important;
  padding:0 !important;
  color:#fff !important;
  font-family:var(--dh-font-tight) !important;
  font-size:15.5px !important;
  font-weight:800 !important;
  letter-spacing:-.01em !important;
  line-height:1.2 !important;
  background:none !important;
  border:0 !important;
}

section.dh-rem .dh-rem__benefits p{
  margin:0 !important;
  padding:0 !important;
  color:var(--dh-muted) !important;
  font-size:12.5px !important;
  line-height:1.4 !important;
  font-weight:400 !important;
}

/* Safety box kept in CSS only (not rendered in 1.1.1). Easy to bring back. */
section.dh-rem .dh-rem__safe{
  margin:0 0 16px !important;
  padding:12px 14px !important;
  border:1px solid rgba(232,197,71,.3) !important;
  border-radius:14px !important;
  background:rgba(11,37,69,.72) !important;
}
section.dh-rem .dh-rem__safe-label{
  margin:0 0 8px !important;
  color:var(--dh-gold-border) !important;
  font-size:13px !important;
  font-weight:700 !important;
  letter-spacing:.04em !important;
  text-transform:uppercase !important;
}
section.dh-rem .dh-rem__safe-list{
  list-style:none !important;
  margin:0 !important;
  padding:0 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:6px !important;
}
section.dh-rem .dh-rem__safe-list li{
  list-style:none !important;
  margin:0 !important;
  padding:0 0 0 16px !important;
  position:relative;
  color:var(--dh-muted) !important;
  font-size:13px !important;
}
section.dh-rem .dh-rem__safe-list li::before{
  content:"";
  position:absolute;
  left:0;top:.45em;
  width:8px;height:8px;
  border-radius:50%;
  background:var(--dh-gold);
}

/* ---------- Form card (phone: stacked unit card) ---------- */

section.dh-rem .dh-rem__card{
  background:#0B2545 !important;
  border:2px solid #FFD400 !important;
  border-radius:20px !important;
  padding:16px 14px 14px !important;
  box-shadow:0 0 8px rgba(255,212,0,.45),0 0 18px rgba(255,212,0,.28) !important;
  min-width:0;
}

section.dh-rem .dh-rem__form[hidden],
section.dh-rem .dh-rem__success[hidden]{display:none !important;}

section.dh-rem .dh-rem__form-title{
  display:none !important; /* phone: intro already titles the section */
}

section.dh-rem .dh-rem__field{margin:0 0 14px !important;}

section.dh-rem .dh-rem__label{
  display:block !important;
  margin:0 0 6px !important;
  color:var(--dh-gold-border) !important;
  -webkit-text-fill-color:var(--dh-gold-border) !important;
  font-size:13px !important;
  font-weight:700 !important;
  letter-spacing:.04em !important;
  text-transform:uppercase !important;
  line-height:1.2 !important;
}

section.dh-rem .dh-rem__hint{
  display:block !important;
  margin:6px 0 0 !important;
  color:rgba(255,255,255,.55) !important;
  font-size:11.5px !important;
  line-height:1.4 !important;
  font-weight:400 !important;
  letter-spacing:0 !important;
  text-transform:none !important;
}

/* Inputs — beat Divi white fields */
html body #page-container section.dh-rem input.dh-rem__input,
html body #page-container section.dh-rem input[type="text"],
html body #page-container section.dh-rem input[type="tel"],
html body #page-container section.dh-rem input[type="email"],
html body .et_pb_module section.dh-rem input.dh-rem__input,
section.dh-rem input.dh-rem__input,
section.dh-rem .dh-rem__select{
  width:100% !important;
  max-width:100% !important;
  min-height:52px !important;
  height:auto !important;
  margin:0 !important;
  padding:12px 14px !important;
  border-radius:16px !important;
  border:2px solid #FFD400 !important;
  box-shadow:0 0 8px rgba(255,212,0,.28) !important;
  background:#0B2545 !important;
  background-color:#0B2545 !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  caret-color:#fff;
  font-family:var(--dh-font) !important;
  font-size:16px !important;
  font-weight:500 !important;
  line-height:1.3 !important;
  outline:none !important;
  box-shadow:none !important;
  appearance:none !important;
  -webkit-appearance:none !important;
  color-scheme:dark;
}

html body #page-container section.dh-rem input.dh-rem__input::placeholder,
section.dh-rem input.dh-rem__input::placeholder{
  color:rgba(255,255,255,.4) !important;
  -webkit-text-fill-color:rgba(255,255,255,.4) !important;
  opacity:1 !important;
  font-weight:500 !important;
}

html body #page-container section.dh-rem input.dh-rem__input:focus,
section.dh-rem input.dh-rem__input:focus,
section.dh-rem .dh-rem__select:focus{
  border-color:#FFD400 !important;
  box-shadow:0 0 0 3px rgba(255,212,0,.22),0 0 10px rgba(255,212,0,.4) !important;
}

html body #page-container section.dh-rem input.dh-rem__input.is-invalid,
section.dh-rem input.dh-rem__input.is-invalid,
section.dh-rem .dh-rem__seg.is-invalid,
section.dh-rem .dh-rem__pills.is-invalid,
section.dh-rem .dh-rem__consent.is-invalid{
  border-color:#ff6b6b !important;
  box-shadow:0 0 0 3px rgba(255,107,107,.18) !important;
}

html body #page-container section.dh-rem input.dh-rem__input:-webkit-autofill,
html body #page-container section.dh-rem input.dh-rem__input:-webkit-autofill:hover,
html body #page-container section.dh-rem input.dh-rem__input:-webkit-autofill:focus,
section.dh-rem input.dh-rem__input:-webkit-autofill{
  -webkit-text-fill-color:#fff !important;
  caret-color:#fff;
  -webkit-box-shadow:0 0 0 1000px #0B2545 inset !important;
  box-shadow:0 0 0 1000px #0B2545 inset !important;
  transition:background-color 9999s ease-out;
}

section.dh-rem .dh-rem__row{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:0 !important;
}

/* Segmented tabs — match app .fr-tabs */
section.dh-rem .dh-rem__seg{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:6px !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  overflow:visible;
  background:transparent !important;
  min-width:0;
}
section.dh-rem .dh-rem__seg--3{grid-template-columns:1fr 1fr 1fr !important;}

section.dh-rem .dh-rem__seg-btn{
  position:relative;
  display:flex !important;
  align-items:center;
  justify-content:center;
  margin:0 !important;
  cursor:pointer;
}

section.dh-rem .dh-rem__seg-btn input{
  position:absolute !important;
  inset:0 !important;
  opacity:0 !important;
  margin:0 !important;
  cursor:pointer;
  width:100% !important;
  height:100% !important;
  appearance:none !important;
  background:transparent !important;
  border:0 !important;
}

section.dh-rem .dh-rem__seg-btn span{
  display:flex !important;
  align-items:center;
  justify-content:center;
  width:100% !important;
  min-height:46px !important;
  padding:8px 6px !important;
  border:1.5px solid rgba(245,179,1,.45) !important;
  border-radius:999px !important;
  background:#0B2545 !important;
  background-image:none !important;
  color:#ffffff !important;
  font-family:Poppins,"Nunito Sans",Montserrat,Helvetica,Arial,sans-serif !important;
  font-size:13.5px !important;
  font-weight:800 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  text-align:center;
  line-height:1.2 !important;
  white-space:normal;
}

section.dh-rem .dh-rem__seg--3 .dh-rem__seg-btn span{
  font-size:12.5px !important;
  padding:8px 4px !important;
}

/* Phone: keep "A/C TUNE-UP", "FILTER CHANGE" and "BOTH" on one line in the 3-across row.
   Still a Book Now pill (radius/colors/weight come from the base .dh-rem__seg-btn span rules). */
@media (max-width: 767px){
  section.dh-rem .dh-rem__seg--3 .dh-rem__seg-btn span{
    font-size:11px !important;
    letter-spacing:.04em !important;
    padding:0 6px !important;
    white-space:nowrap !important;
  }
}

section.dh-rem .dh-rem__seg-btn input:checked + span{
  background:#F5B301 !important;
  background-image:none !important;
  border-color:#F5B301 !important;
  box-shadow:0 0 8px rgba(245,179,1,.35) !important;
  color:#050F1F !important;
}

section.dh-rem .dh-rem__seg-btn input:focus-visible + span{
  box-shadow:inset 0 0 0 2px #FFD400;
}

/* Frequency option cards — match app .fr-opt */
section.dh-rem .dh-rem__pills{
  display:grid !important;
  grid-template-columns:repeat(3,1fr) !important;
  gap:8px !important;
  flex-wrap:unset !important;
}

section.dh-rem .dh-rem__freq#dh-rem-freq-tuneup .dh-rem__pills{
  grid-template-columns:1fr 1fr !important;
}

section.dh-rem .dh-rem__pill{
  position:relative;
  margin:0 !important;
  cursor:pointer;
  flex:none !important;
  min-width:0;
}

section.dh-rem .dh-rem__pill input{
  position:absolute !important;
  inset:0 !important;
  opacity:0 !important;
  margin:0 !important;
  cursor:pointer;
  width:100% !important;
  height:100% !important;
  appearance:none !important;
  background:transparent !important;
  border:0 !important;
}

section.dh-rem .dh-rem__pill span{
  display:flex !important;
  flex-direction:column !important;
  align-items:center;
  justify-content:center;
  gap:2px;
  width:100% !important;
  min-height:62px !important;
  padding:6px 2px !important;
  border:1.5px solid rgba(245,179,1,.45) !important;
  border-radius:999px !important;
  background:#0B2545 !important;
  background-image:none !important;
  color:#ffffff !important;
  font-family:Poppins,"Nunito Sans",Montserrat,Helvetica,Arial,sans-serif !important;
  font-weight:800 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  text-align:center;
  white-space:normal !important;
  font-size:inherit !important;
}

section.dh-rem .dh-rem__pill span b{
  font-family:var(--dh-font-tight) !important;
  font-size:22px !important;
  font-weight:800 !important;
  font-style:normal !important;
  letter-spacing:-.03em !important;
  line-height:1 !important;
  color:inherit !important;
}

section.dh-rem .dh-rem__pill span i{
  font-style:normal !important;
  font-size:10px !important;
  font-weight:700 !important;
  letter-spacing:.05em !important;
  text-transform:uppercase !important;
  line-height:1 !important;
  color:rgba(255,255,255,.62) !important;
}

section.dh-rem .dh-rem__pill input:checked + span{
  background:#F5B301 !important;
  background-image:none !important;
  color:#050F1F !important;
  border-color:#F5B301 !important;
  box-shadow:0 0 8px rgba(245,179,1,.35) !important;
}

section.dh-rem .dh-rem__pill input:checked + span b,
section.dh-rem .dh-rem__pill input:checked + span i{
  color:#050F1F !important;
}

section.dh-rem .dh-rem__pill input:focus-visible + span{
  box-shadow:0 0 0 3px rgba(255,212,0,.28) !important;
}

section.dh-rem .dh-rem__freq[hidden]{display:none !important;}

/* Consent — app-style rounded checkbox */
section.dh-rem .dh-rem__consent{
  display:grid !important;
  grid-template-columns:26px 1fr !important;
  gap:12px !important;
  align-items:start;
  margin:4px 0 16px !important;
  padding:12px 14px !important;
  border:1.5px solid rgba(232,197,71,.35) !important;
  border-radius:14px !important;
  background:#0B2545 !important;
}

html body #page-container section.dh-rem .dh-rem__consent input[type="checkbox"],
section.dh-rem .dh-rem__consent input[type="checkbox"]{
  appearance:none !important;
  -webkit-appearance:none !important;
  width:26px !important;
  height:26px !important;
  min-width:26px !important;
  min-height:26px !important;
  margin:0 !important;
  padding:0 !important;
  border:2px solid rgba(255,212,0,.7) !important;
  border-radius:8px !important;
  background:transparent !important;
  background-color:transparent !important;
  box-shadow:none !important;
  cursor:pointer;
  flex:0 0 26px;
  display:inline-grid !important;
  place-content:center;
}

html body #page-container section.dh-rem .dh-rem__consent input[type="checkbox"]::after,
section.dh-rem .dh-rem__consent input[type="checkbox"]::after{
  content:"" !important;
  width:11px !important;
  height:7px !important;
  border:solid #0B2545 !important;
  border-width:0 0 2.6px 2.6px !important;
  transform:rotate(-45deg) translate(1px,-1px);
  opacity:0;
  background:none !important;
}

html body #page-container section.dh-rem .dh-rem__consent input[type="checkbox"]:checked,
section.dh-rem .dh-rem__consent input[type="checkbox"]:checked{
  background:#FFD400 !important;
  background-color:#FFD400 !important;
  border-color:#FFD400 !important;
}

html body #page-container section.dh-rem .dh-rem__consent input[type="checkbox"]:checked::after,
section.dh-rem .dh-rem__consent input[type="checkbox"]:checked::after{opacity:1;}

html body #page-container section.dh-rem .dh-rem__consent input[type="checkbox"]:focus-visible,
section.dh-rem .dh-rem__consent input[type="checkbox"]:focus-visible{
  box-shadow:0 0 0 3px rgba(255,212,0,.35) !important;
}

section.dh-rem .dh-rem__consent label{
  color:rgba(255,255,255,.85) !important;
  font-size:13px !important;
  line-height:1.45 !important;
  font-weight:500 !important;
  cursor:pointer;
}

section.dh-rem .dh-rem__consent a{
  color:#FFD400 !important;
  font-weight:700 !important;
  text-decoration:underline !important;
  text-underline-offset:2px;
}

/* Honeypot */
section.dh-rem .dh-rem__hp{
  position:absolute !important;
  left:-10000px !important;
  top:auto !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
  opacity:0 !important;
  pointer-events:none !important;
}

/* Submit — full-width gold pill like the app CTAs */
html body #page-container section.dh-rem .dh-rem__submit,
section.dh-rem .dh-rem__submit{
  display:flex !important;
  align-items:center;
  justify-content:center;
  gap:8px;
  width:100% !important;
  min-height:44px !important;
  height:auto !important;
  margin:0 0 12px !important;
  padding:10px 18px !important;
  border:0 !important;
  border-radius:999px !important;
  background:#F5B301 !important;
  background-image:none !important;
  background-color:#F5B301 !important;
  color:#050F1F !important;
  font-family:Poppins,"Nunito Sans",Montserrat,Helvetica,Arial,sans-serif !important;
  font-size:13px !important;
  font-weight:800 !important;
  letter-spacing:.08em !important;
  text-transform:uppercase !important;
  cursor:pointer;
  box-shadow:0 0 8px rgba(245,179,1,.35) !important;
  text-align:center;
}

section.dh-rem .dh-rem__submit-ico{
  display:flex !important;
  width:20px;
  height:20px;
  flex-shrink:0;
  color:#0B2545 !important;
}
section.dh-rem .dh-rem__submit-ico svg{width:20px !important;height:20px !important;display:block;}
section.dh-rem .dh-rem__submit-label,section.dh-rem .dh-rem__submit span{color:#050F1F !important;font:inherit !important;}

html body #page-container section.dh-rem .dh-rem__submit:hover,
section.dh-rem .dh-rem__submit:hover,
section.dh-rem .dh-rem__submit:focus-visible{
  filter:brightness(1.04);
  outline:none;
}

section.dh-rem .dh-rem__submit:active{filter:brightness(.95);}
section.dh-rem .dh-rem__submit[disabled]{opacity:.65;cursor:wait;}

section.dh-rem .dh-rem__fine{
  margin:0 !important;
  color:rgba(255,255,255,.55) !important;
  font-size:11.5px !important;
  line-height:1.45 !important;
  text-align:center;
}

section.dh-rem .dh-rem__err{
  margin:0 0 12px !important;
  padding:10px 12px !important;
  border:1.5px solid rgba(255,120,120,.6) !important;
  border-radius:12px !important;
  background:rgba(198,40,40,.18) !important;
  color:#ffb4b4 !important;
  font-size:13px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
}
section.dh-rem .dh-rem__err[hidden]{display:none !important;}

section.dh-rem .dh-rem__ok{
  margin:0 0 14px !important;
  padding:10px 12px !important;
  border-radius:12px !important;
  background:rgba(31,157,85,.18) !important;
  border:1px solid rgba(31,157,85,.5) !important;
  color:#d9ffe3 !important;
  font-weight:600 !important;
  font-size:14px !important;
}
section.dh-rem .dh-rem__ts{margin:0 0 16px;min-height:65px;}

/* Math captcha: same navy/gold field as Name/Email/ZIP. Never wider than the form column. */
section.dh-rem .dh-rem__captcha{
  width:100% !important;
  max-width:100% !important;
}
html body #page-container section.dh-rem .dh-rem__captcha input.dh-rem__input,
section.dh-rem .dh-rem__captcha input.dh-rem__input{
  width:100% !important;
  max-width:100% !important;
  font-size:16px !important;
  color:#fff !important;
  -webkit-text-fill-color:#fff !important;
  caret-color:#fff;
}

/* Success — app "you're all set" intro */
section.dh-rem .dh-rem__success{
  text-align:center;
  padding:16px 8px 8px !important;
}
section.dh-rem .dh-rem__success:not([hidden]){
  display:flex !important;
  flex-direction:column;
  justify-content:center;
  height:100%;
}
section.dh-rem .dh-rem__success-ico{
  width:48px !important;
  height:48px !important;
  margin:0 auto 8px !important;
  border-radius:50% !important;
  background:#1f9d55 !important;
  color:#fff !important;
  display:flex !important;
  align-items:center;
  justify-content:center;
  box-shadow:0 0 16px rgba(31,157,85,.45) !important;
}
section.dh-rem .dh-rem__success-ico svg{width:24px !important;height:24px !important;display:block;}
section.dh-rem .dh-rem__success h3{
  margin:0 0 5px !important;
  padding:0 !important;
  color:#fff !important;
  font-family:var(--dh-font-tight) !important;
  font-size:22px !important;
  font-weight:800 !important;
  letter-spacing:-.03em !important;
  line-height:1.15 !important;
  background:none !important;
  border:0 !important;
}
section.dh-rem .dh-rem__success h3:focus,
section.dh-rem .dh-rem__success h3:focus-visible{outline:none !important;box-shadow:none !important;}
section.dh-rem .dh-rem__success p{
  margin:0 0 10px !important;
  padding:0 !important;
  color:var(--dh-muted) !important;
  font-size:13.5px !important;
  line-height:1.45 !important;
}
section.dh-rem .dh-rem__success p:last-child{margin-bottom:0 !important;}
section.dh-rem .dh-rem__success strong{color:var(--dh-gold) !important;font-weight:700 !important;}

/* Phone: intro, then form, then benefits */
section.dh-rem .dh-rem__inner{
  display:flex !important;
  flex-direction:column !important;
  gap:4px;
}
section.dh-rem .dh-rem__copy{display:contents;}
section.dh-rem .dh-rem__intro{order:1;}
section.dh-rem .dh-rem__card{order:2;margin-top:4px;}
section.dh-rem .dh-rem__benefits{order:3;margin-top:16px !important;}

/* ============================================================
   DESKTOP layout — distinct two-column app panel (not a squeeze)
   Switches when the section itself is >= 768px wide.
   ============================================================ */

@container dhrem (min-width: 768px){
  section.dh-rem .dh-rem__inner,
  .dh-rem__inner{
    display:grid !important;
    grid-template-columns:minmax(0,1fr) minmax(340px,480px) !important;
    gap:40px 48px !important;
    max-width:1120px !important;
    width:100% !important;
    margin:0 auto !important;
    padding:48px 32px 52px !important;
    align-items:start;
  }

  section.dh-rem .dh-rem__copy,
  .dh-rem__copy{
    display:flex !important;
    flex-direction:column !important;
    order:1;
    padding-top:8px;
  }

  section.dh-rem .dh-rem__intro,
  .dh-rem__intro{
    order:0;
    text-align:left;
    margin:0 0 22px !important;
  }

  section.dh-rem .dh-rem__badge-row,
  .dh-rem__badge-row{justify-content:flex-start;}

  section.dh-rem .dh-rem__intro-ico,
  .dh-rem__intro-ico{margin:0 0 12px !important;}

  section.dh-rem .dh-rem__title,
  .dh-rem__title{
    font-size:clamp(32px, 3.4vw, 42px) !important;
    text-align:left;
    margin:0 0 12px !important;
  }

  section.dh-rem .dh-rem__sub,
  .dh-rem__sub{
    font-size:16px !important;
    line-height:1.55 !important;
    text-align:left;
    max-width:34em;
  }

  section.dh-rem .dh-rem__benefits,
  .dh-rem__benefits{
    order:0;
    margin:0 !important;
    gap:12px !important;
  }

  section.dh-rem .dh-rem__benefits li,
  .dh-rem__benefits li{
    grid-template-columns:44px 1fr !important;
    gap:14px !important;
    padding:14px 16px !important;
  }

  section.dh-rem .dh-rem__ico,
  .dh-rem__ico{width:44px !important;height:44px !important;flex-basis:44px !important;}
  section.dh-rem .dh-rem__ico svg,
  .dh-rem__ico svg{width:22px !important;height:22px !important;}

  section.dh-rem .dh-rem__benefits h3,
  .dh-rem__benefits h3{font-size:16px !important;}
  section.dh-rem .dh-rem__benefits p,
  .dh-rem__benefits p{font-size:14px !important;}

  section.dh-rem .dh-rem__card,
  .dh-rem__card{
    order:2;
    margin-top:0 !important;
    padding:28px 26px 22px !important;
    border:2px solid #FFD400 !important;
    border-radius:18px !important;
    background:rgba(11,37,69,.88) !important;
    box-shadow:0 0 0 2px rgba(255,212,0,.25),0 0 18px rgba(255,212,0,.32) !important;
  }

  section.dh-rem .dh-rem__form-title,
  .dh-rem__form-title{
    display:block !important;
    margin:0 0 18px !important;
    padding:0 !important;
    color:#fff !important;
    font-family:var(--dh-font-tight) !important;
    font-size:22px !important;
    font-weight:800 !important;
    letter-spacing:-.03em !important;
    line-height:1.15 !important;
    text-align:left;
    background:none !important;
    border:0 !important;
  }

  section.dh-rem .dh-rem__row,
  .dh-rem__row{
    display:grid !important;
    grid-template-columns:1.4fr .8fr !important;
    gap:12px !important;
  }
}

/* Fallback if container queries are unavailable */
@supports not (container-type: inline-size){
  @media (min-width: 768px){
    section.dh-rem{padding:0 !important;}
    section.dh-rem .dh-rem__inner{
      padding:48px 32px 52px !important;
      display:grid !important;
      grid-template-columns:minmax(0,1fr) minmax(340px,480px) !important;
      gap:40px 48px !important;
      max-width:1120px !important;
      width:100% !important;
      margin:0 auto !important;
      align-items:start;
    }
    section.dh-rem .dh-rem__copy{display:flex !important;flex-direction:column !important;order:1;padding-top:8px;}
    section.dh-rem .dh-rem__intro{order:0;text-align:left;margin:0 0 22px !important;}
    section.dh-rem .dh-rem__badge-row{justify-content:flex-start;}
    section.dh-rem .dh-rem__intro-ico{margin:0 0 12px !important;}
    section.dh-rem .dh-rem__title{font-size:clamp(32px,3.4vw,42px) !important;text-align:left;margin:0 0 12px !important;}
    section.dh-rem .dh-rem__sub{font-size:16px !important;line-height:1.55 !important;text-align:left;max-width:34em;}
    section.dh-rem .dh-rem__benefits{order:0;margin:0 !important;gap:12px !important;}
    section.dh-rem .dh-rem__benefits li{grid-template-columns:44px 1fr !important;gap:14px !important;padding:14px 16px !important;}
    section.dh-rem .dh-rem__ico{width:44px !important;height:44px !important;flex-basis:44px !important;}
    section.dh-rem .dh-rem__ico svg{width:22px !important;height:22px !important;}
    section.dh-rem .dh-rem__benefits h3{font-size:16px !important;}
    section.dh-rem .dh-rem__benefits p{font-size:14px !important;}
    section.dh-rem .dh-rem__card{
      order:2;margin-top:0 !important;padding:28px 26px 22px !important;
      border:2px solid #FFD400 !important;border-radius:18px !important;
      background:rgba(11,37,69,.88) !important;
      box-shadow:0 0 0 2px rgba(255,212,0,.25),0 0 18px rgba(255,212,0,.32) !important;
    }
    section.dh-rem .dh-rem__form-title{
      display:block !important;margin:0 0 18px !important;padding:0 !important;color:#fff !important;
      font-family:var(--dh-font-tight) !important;font-size:22px !important;font-weight:800 !important;
      letter-spacing:-.03em !important;line-height:1.15 !important;text-align:left;
      background:none !important;border:0 !important;
    }
    section.dh-rem .dh-rem__row{display:grid !important;grid-template-columns:1.4fr .8fr !important;gap:12px !important;}
  }
}

@media (prefers-reduced-motion:reduce){
  section.dh-rem .dh-rem__submit{transition:none;}
}


/* ============================================================
   [dh_app_banners] — exact iOS home-card styles (fr-home-card.fr-home-2)
   Mobile only. Top padding keeps the NEW badge from being clipped.
   ============================================================ */

/* dhAcLedGlow is defined above */

nav.dh-app-banners{
  display:flex !important;
  flex-direction:column !important;
  gap:12px !important;
  margin:0 !important;
  /* Top padding > 9px so the absolutely positioned NEW badge (top:-9px) stays inside this box. */
  padding:16px 16px 12px 16px !important;
  overflow:visible !important;
  font-family:Inter,system-ui,-apple-system,sans-serif !important;
  -webkit-font-smoothing:antialiased;
  box-sizing:border-box !important;
  width:100% !important;
  clear:both;
  position:relative;
  z-index:3;
  background:transparent !important;
}
nav.dh-app-banners *,
nav.dh-app-banners *::before,
nav.dh-app-banners *::after{box-sizing:border-box !important;}

/* Phone: same 100vw breakout + symmetric 10vw padding as section.dh-rem / .dh-rem__inner.
   Do not add a second padded wrapper (that would double the inset).
   10vw = 36px at 360, 39px at 390, 41.2px at 412. Banner card width ≈ 312px at 390. */
@media (max-width: 767px){
  nav.dh-app-banners{
    width:100vw !important;
    max-width:100vw !important;
    margin-left:calc(50% - 50vw) !important;
    margin-right:calc(50% - 50vw) !important;
    padding:16px 10vw 12px 10vw !important;
    box-sizing:border-box !important;
  }
}
@media (min-width: 768px){
  nav.dh-app-banners{display:none !important;}
}

nav.dh-app-banners a.dh-app-banner{
  position:relative !important;
  display:flex !important;
  align-items:center !important;
  gap:clamp(6px, 3.1cqw, 10px) !important;
  min-height:clamp(56px, 24cqw, 66px) !important;
  padding:7px clamp(8px, 4.2cqw, 14px) 7px clamp(6px, 2.8cqw, 9px) !important;
  border-radius:20px !important;
  background:#0B2545 !important;
  color:#fff !important;
  border:2px solid #FFD400 !important;
  text-decoration:none !important;
  box-shadow:0 0 8px rgba(255,212,0,.45) !important;
  animation:dhAcLedGlow 2.6s ease-in-out infinite;
  z-index:3;
  overflow:visible !important;
  width:100% !important;
  margin:0 !important;
  container-type:inline-size;
  container-name:dhbanner;
}
nav.dh-app-banners a.dh-app-banner:hover,
nav.dh-app-banners a.dh-app-banner:focus-visible{
  color:#fff !important;
  text-decoration:none !important;
  outline:none;
}

nav.dh-app-banners .dh-app-banner__new{
  position:absolute !important;
  top:-9px !important;
  right:18px !important;
  background:#FFD400 !important;
  color:#0B2545 !important;
  font-family:Orbitron,"Inter Tight",sans-serif !important;
  font-size:9px !important;
  font-weight:700 !important;
  letter-spacing:.1em !important;
  padding:3px 7px !important;
  border-radius:999px !important;
  border:1px solid #0B2545 !important;
  box-shadow:0 2px 8px rgba(0,0,0,.35) !important;
  line-height:1 !important;
  z-index:4;
  overflow:visible !important;
  text-transform:uppercase !important;
}

nav.dh-app-banners .dh-app-banner__ico{
  width:clamp(26px, 11cqw, 34px) !important;
  height:clamp(26px, 11cqw, 34px) !important;
  border-radius:50% !important;
  flex-shrink:0 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  background:#FFD400 !important;
  color:#0B2545 !important;
}
nav.dh-app-banners .dh-app-banner__ico svg{width:clamp(15px, 6.4cqw, 19px) !important;height:clamp(15px, 6.4cqw, 19px) !important;display:block;}

nav.dh-app-banners .dh-app-banner__text{
  flex:1 !important;
  min-width:0 !important;
  display:flex !important;
  flex-direction:column !important;
  gap:1px !important;
}
nav.dh-app-banners .dh-app-banner__title{
  font-family:"Inter Tight",Inter,sans-serif !important;
  font-weight:800 !important;
  /* Sized to the card: stays on one line down to a 240px card. */
  font-size:clamp(10.5px, 4.2cqw, 16px) !important;
  letter-spacing:-.03em !important;
  line-height:1.15 !important;
  color:#fff !important;
  white-space:nowrap !important;
  overflow:visible !important;
  text-overflow:clip !important;
}
nav.dh-app-banners .dh-app-banner__sub{
  font-size:clamp(9.5px, 3.6cqw, 11.5px) !important;
  font-weight:600 !important;
  line-height:1.3 !important;
  color:rgba(255,255,255,.78) !important;
  white-space:normal !important;
  overflow:visible !important;
  text-overflow:unset !important;
}

nav.dh-app-banners .dh-app-banner__chev{
  flex-shrink:0 !important;
  width:clamp(14px, 5.6cqw, 18px) !important;
  height:clamp(14px, 5.6cqw, 18px) !important;
  color:#FFD400 !important;
}
nav.dh-app-banners .dh-app-banner__chev svg{width:100% !important;height:100% !important;display:block;}

@media (prefers-reduced-motion:reduce){
  nav.dh-app-banners a.dh-app-banner{animation:none;}
}
