/* =========================================================================
   Dart Fuel Oil: today's rate
   The price is the hero. Depth comes from layered gradients, an inner
   glow behind the numerals, and a market line that suggests movement.
   ========================================================================= */

.dart-price{
  --dp-navy:      var(--navy, #0F2138);
  --dp-deep:      var(--navy-deep, #081324);
  --dp-red:       var(--red-deepest, #7A1420);
  --dp-red-lift:  var(--red-deep, #9C1922);
  --dp-amber:     var(--amber, #C89B3C);
  --dp-steel:     var(--steel-light, #A9B4C0);
  --dp-hair:      rgba(255,255,255,.1);
  --dart-fill:    50%;

  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 6px;
  padding: 0;
  color: #fff;
  font-family: var(--font-body, 'Inter', sans-serif);
  background:
    radial-gradient(120% 90% at 50% -10%, #1C3B5A 0%, transparent 60%),
    linear-gradient(168deg, #16304d 0%, #0C1D33 46%, var(--dp-deep) 100%);
  box-shadow:
    0 40px 80px -24px rgba(0,0,0,.65),
    0 0 0 1px rgba(255,255,255,.07),
    inset 0 1px 0 rgba(255,255,255,.08);
}

/* accent rule */
.dart-price::before{
  content:'';
  position:absolute; inset:0 0 auto 0; height:3px; z-index:4;
  background:linear-gradient(90deg, var(--dp-red) 0%, var(--dp-red-lift) 42%, var(--dp-amber) 100%);
}

/* amber bloom behind the numerals */
.dart-price__glow{
  position:absolute; z-index:0; pointer-events:none;
  top:-10%; left:50%; transform:translateX(-50%);
  width:min(560px, 130%); height:300px;
  background:radial-gradient(ellipse at center, rgba(200,155,60,.20) 0%, rgba(200,155,60,.07) 38%, transparent 68%);
  filter:blur(6px);
}

/* market line */
.dart-price__spark{
  position:absolute; z-index:0; pointer-events:none;
  left:0; right:0; bottom:-6px; width:100%; height:86px;
  opacity:.34;
  -webkit-mask-image:linear-gradient(to top, #000 0%, #000 42%, transparent 100%);
  mask-image:linear-gradient(to top, #000 0%, #000 42%, transparent 100%);
}
.dart-price__sparkline{
  stroke-dasharray:1200; stroke-dashoffset:1200;
  animation: dpDraw 2.6s cubic-bezier(.22,.9,.3,1) .25s forwards;
}
.dart-price__sparkarea{ opacity:0; animation: dpFade .9s ease 1.7s forwards; }
@keyframes dpDraw{ to{ stroke-dashoffset:0; } }
@keyframes dpFade{ to{ opacity:1; } }

.dart-price__inner{ position:relative; z-index:2; padding:30px 34px 32px; text-align:center; }

.dart-price__top{
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  margin-bottom:18px; text-align:left;
}

.dart-price__eyebrow{
  font-family:var(--font-mono, 'IBM Plex Mono', monospace);
  font-size:10.5px; letter-spacing:.2em; text-transform:uppercase;
  color:var(--dp-amber); font-weight:600;
}

.dart-price__pulse{
  display:inline-flex; align-items:center; gap:7px; white-space:nowrap;
  font-family:var(--font-mono, 'IBM Plex Mono', monospace);
  font-size:9.5px; letter-spacing:.1em; text-transform:uppercase; color:var(--dp-steel);
  padding:5px 11px; border:1px solid var(--dp-hair); border-radius:999px;
  background:rgba(255,255,255,.03);
}
.dart-price__dot{
  width:6px; height:6px; border-radius:50%; background:#4ADE80;
  animation:dpPulse 2.4s ease-out infinite;
}
@keyframes dpPulse{
  0%{ box-shadow:0 0 0 0 rgba(74,222,128,.6); }
  70%{ box-shadow:0 0 0 8px rgba(74,222,128,0); }
  100%{ box-shadow:0 0 0 0 rgba(74,222,128,0); }
}

/* ---- the number ---- */
.dart-price__figure{
  display:flex; align-items:flex-start; justify-content:center;
  gap:2px; margin:4px 0 0; line-height:.84;
  font-family:var(--font-mono, 'IBM Plex Mono', monospace); font-weight:600;
  letter-spacing:-.02em;
}
.dart-price__currency{
  font-size:clamp(26px,3.4vw,38px); color:var(--dp-amber);
  margin-top:.42em; margin-right:2px;
}
.dart-price__whole{
  font-size:clamp(78px,13vw,132px);
  background:linear-gradient(180deg,#FFFFFF 12%, #B9C9DA 96%);
  -webkit-background-clip:text; background-clip:text; -webkit-text-fill-color:transparent;
  text-shadow:0 0 44px rgba(200,155,60,.22);
}
.dart-price__cents{
  font-size:clamp(34px,5.4vw,56px); color:rgba(255,255,255,.88);
  margin-top:.12em; margin-left:1px;
}
.dart-price__cents::before{ content:'.'; opacity:.5; }

.dart-price__per{
  font-family:var(--font-mono, 'IBM Plex Mono', monospace);
  font-size:11px; letter-spacing:.22em; text-transform:uppercase;
  color:var(--dp-steel); margin:10px 0 0;
}

.dart-price__note{
  font-size:14px; line-height:1.68; color:rgba(255,255,255,.7);
  max-width:360px; margin:20px auto 0;
}

/* ---- calculator ---- */
.dart-price__calc{
  margin:24px 0 20px; padding:18px 18px 20px; text-align:left;
  background:rgba(255,255,255,.045);
  border:1px solid var(--dp-hair); border-radius:4px;
  backdrop-filter:blur(2px);
}
.dart-price__calctop{
  display:flex; align-items:baseline; justify-content:space-between; margin-bottom:13px;
}
.dart-price__calctop label{
  font-family:var(--font-mono, 'IBM Plex Mono', monospace);
  font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--dp-steel);
}
.dart-price__galout{
  font-family:var(--font-mono, 'IBM Plex Mono', monospace);
  font-size:18px; font-weight:600; color:#fff;
}

.dart-price__presets{ display:grid; grid-template-columns:repeat(4,1fr); gap:6px; margin-bottom:15px; }
.dart-price__preset{
  appearance:none; cursor:pointer; background:transparent; color:var(--dp-steel);
  border:1px solid var(--dp-hair); border-radius:3px; padding:9px 2px;
  font-family:var(--font-mono, 'IBM Plex Mono', monospace); font-size:11.5px; font-weight:600;
  transition:background .2s, color .2s, border-color .2s, transform .18s;
}
.dart-price__preset:hover{ color:#fff; border-color:rgba(255,255,255,.28); transform:translateY(-1px); }
.dart-price__preset.is-on{
  background:var(--dp-amber); border-color:var(--dp-amber); color:var(--dp-deep);
  box-shadow:0 4px 14px rgba(200,155,60,.3);
}

.dart-price__range{
  appearance:none; -webkit-appearance:none; width:100%; height:4px;
  border-radius:999px; margin:0 0 16px; cursor:pointer;
  background:linear-gradient(90deg,var(--dp-amber) 0%,var(--dp-amber) var(--dart-fill),rgba(255,255,255,.13) var(--dart-fill),rgba(255,255,255,.13) 100%);
}
.dart-price__range::-webkit-slider-thumb{
  -webkit-appearance:none; width:18px; height:18px; border-radius:50%;
  background:#fff; border:4px solid var(--dp-amber);
  box-shadow:0 2px 10px rgba(0,0,0,.5); cursor:grab; transition:transform .15s;
}
.dart-price__range::-webkit-slider-thumb:active{ transform:scale(1.15); cursor:grabbing; }
.dart-price__range::-moz-range-thumb{
  width:14px; height:14px; border-radius:50%; background:#fff;
  border:4px solid var(--dp-amber); box-shadow:0 2px 10px rgba(0,0,0,.5); cursor:grab;
}
.dart-price__range:focus-visible{ outline:2px solid var(--dp-amber); outline-offset:6px; }

.dart-price__total{
  display:flex; align-items:baseline; justify-content:space-between; gap:10px;
  padding-top:14px; border-top:1px dashed rgba(255,255,255,.15);
}
.dart-price__totallbl{
  font-family:var(--font-mono, 'IBM Plex Mono', monospace);
  font-size:10px; letter-spacing:.14em; text-transform:uppercase; color:var(--dp-steel);
}
.dart-price__totalval{
  font-family:var(--font-mono, 'IBM Plex Mono', monospace);
  font-size:clamp(22px,3vw,28px); font-weight:600; color:var(--dp-amber);
  font-variant-numeric:tabular-nums;
}

/* ---- cta ---- */
.dart-price__cta{
  position:relative; z-index:3;
  display:flex; align-items:center; justify-content:center; gap:10px;
  width:100%; box-sizing:border-box; text-decoration:none; cursor:pointer;
  background:linear-gradient(180deg,var(--dp-red-lift) 0%,var(--dp-red) 100%);
  color:#fff; border:none; border-radius:3px; padding:18px 22px;
  font-family:var(--font-mono, 'IBM Plex Mono', monospace);
  font-size:13px; font-weight:600; letter-spacing:.07em; text-transform:uppercase;
  box-shadow:0 10px 26px -8px rgba(122,20,32,.7), inset 0 1px 0 rgba(255,255,255,.14);
  transition:transform .2s, box-shadow .2s, filter .2s;
}
.dart-price__cta:hover,.dart-price__cta:focus{
  color:#fff; transform:translateY(-2px); filter:brightness(1.08);
  box-shadow:0 16px 34px -8px rgba(122,20,32,.8), inset 0 1px 0 rgba(255,255,255,.2);
}
.dart-price__cta:focus-visible{ outline:2px solid var(--dp-amber); outline-offset:3px; }
.dart-price__cta svg{ width:17px; height:17px; fill:currentColor; flex:0 0 auto; }
.dart-price__arrow{ display:inline-block; transition:transform .26s cubic-bezier(.2,.9,.25,1); }
.dart-price__cta:hover .dart-price__arrow{ transform:translateX(5px); }

.dart-price__fine{
  position:relative; z-index:3;
  font-family:var(--font-mono, 'IBM Plex Mono', monospace);
  font-size:9.5px; line-height:1.75; letter-spacing:.04em;
  color:rgba(200,210,222,.9); margin:15px 0 0;
  text-shadow:0 1px 6px rgba(8,19,36,.95);
}

/* ---- call state ---- */
.dart-price--call .dart-price__inner{ padding-top:34px; }
.dart-price__callline{
  font-family:var(--font-display, 'Oswald', sans-serif);
  font-size:clamp(32px,5vw,48px); text-transform:uppercase; letter-spacing:.015em;
  line-height:1.04; color:#fff; margin:6px 0 0;
  text-shadow:0 0 40px rgba(200,155,60,.2);
}
.dart-price--call .dart-price__note{ margin:18px auto 26px; }

@media (max-width:520px){
  .dart-price__inner{ padding:24px 20px 26px; }
  .dart-price__presets{ grid-template-columns:repeat(2,1fr); }
  .dart-price__calc{ padding:15px 14px 17px; }
}

@media (prefers-reduced-motion: reduce){
  .dart-price *{ animation:none !important; transition-duration:.01ms !important; }
  .dart-price__sparkline{ stroke-dashoffset:0; }
  .dart-price__sparkarea{ opacity:1; }
}


/* =========================================================================
   Horizontal bar layout: [dart_price layout="bar"]
   Offer left, live rate right, one action. Sits directly under a hero.
   ========================================================================= */

.dart-bar{
  --dp-navy:     var(--navy, #0F2138);
  --dp-deep:     var(--navy-deep, #081324);
  --dp-red:      var(--red-deepest, #7A1420);
  --dp-red-lift: var(--red-deep, #9C1922);
  --dp-amber:    var(--amber, #C89B3C);
  --dp-steel:    var(--steel-light, #A9B4C0);

  position: relative;
  background: linear-gradient(180deg, #112741 0%, var(--dp-deep) 100%);
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 14px 30px -24px rgba(0,0,0,.9);
  font-family: var(--font-body, 'Inter', sans-serif);
  color: #fff;
}

/* accent mark on the top edge, matches the section language elsewhere */
.dart-bar::before{
  content:''; position:absolute; top:0; left:50%; transform:translateX(-50%);
  width:72px; height:3px; border-radius:0 0 3px 3px;
  background:linear-gradient(90deg, var(--dp-red), var(--dp-amber));
}

.dart-bar__inner{
  max-width:1180px; margin:0 auto; padding:26px 24px;
  display:grid; grid-template-columns:1.25fr auto auto; gap:38px; align-items:center;
}

/* left: the offer */
.dart-bar__eyebrow{
  display:block;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size:clamp(17px,2vw,22px); text-transform:uppercase; letter-spacing:.02em;
  color:#fff; line-height:1.2;
}
.dart-bar__sub{
  margin:7px 0 0; font-size:13.5px; line-height:1.55; color:rgba(255,255,255,.62);
  max-width:360px;
}

/* middle: the rate */
.dart-bar__rate{
  text-align:right; padding-left:34px; border-left:1px solid rgba(255,255,255,.1);
}
.dart-bar__lbl{
  display:block;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size:9.5px; letter-spacing:.18em; text-transform:uppercase; color:var(--dp-amber);
  margin-bottom:5px;
}
.dart-bar__fig{
  margin:0; line-height:.9; display:flex; align-items:flex-start; justify-content:flex-end;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace); font-weight:600;
}
.dart-bar__cur{ font-size:17px; color:var(--dp-amber); margin-top:.35em; }
.dart-bar__whole{ font-size:clamp(34px,4.4vw,46px); color:#fff; }
.dart-bar__cents{ font-size:clamp(18px,2.2vw,23px); color:rgba(255,255,255,.85); margin-top:.15em; }
.dart-bar__cents::before{ content:'.'; opacity:.5; }
.dart-bar__unit{
  font-size:10px; letter-spacing:.1em; text-transform:uppercase;
  color:var(--dp-steel); align-self:flex-end; margin:0 0 .35em 7px;
}
.dart-bar__callfig{
  margin:0;
  font-family: var(--font-display, 'Oswald', sans-serif);
  font-size:clamp(19px,2.4vw,26px); text-transform:uppercase; letter-spacing:.01em;
  color:#fff; line-height:1.1;
}
.dart-bar__stamp{
  display:block; margin-top:6px;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size:9.5px; letter-spacing:.07em; color:var(--dp-steel);
}

/* right: the action */
.dart-bar__action{ text-align:center; }
.dart-bar__cta{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  background:linear-gradient(180deg,var(--dp-red-lift) 0%,var(--dp-red) 100%);
  color:#fff; text-decoration:none; white-space:nowrap;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size:12.5px; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  padding:16px 30px; border-radius:3px;
  box-shadow:0 10px 24px -8px rgba(122,20,32,.7), inset 0 1px 0 rgba(255,255,255,.14);
  transition:transform .2s, box-shadow .2s, filter .2s;
}
.dart-bar__cta:hover,.dart-bar__cta:focus{
  color:#fff; transform:translateY(-2px); filter:brightness(1.08);
  box-shadow:0 16px 32px -8px rgba(122,20,32,.8), inset 0 1px 0 rgba(255,255,255,.2);
}
.dart-bar__cta:focus-visible{ outline:2px solid var(--dp-amber); outline-offset:3px; }
.dart-bar__cta svg{ width:16px; height:16px; fill:currentColor; }
.dart-bar__phone{
  display:block; margin-top:8px;
  font-family: var(--font-mono, 'IBM Plex Mono', monospace);
  font-size:11px; letter-spacing:.06em; color:var(--dp-steel);
}

@media (max-width:980px){
  .dart-bar__inner{ grid-template-columns:1fr auto; gap:26px 30px; }
  .dart-bar__action{ grid-column:1 / -1; text-align:left; }
  .dart-bar__cta{ width:100%; }
  .dart-bar__phone{ text-align:center; }
}
@media (max-width:620px){
  .dart-bar__inner{ grid-template-columns:1fr; gap:20px; padding:24px 20px; }
  .dart-bar__rate{ text-align:left; padding-left:0; border-left:none; padding-top:18px; border-top:1px solid rgba(255,255,255,.1); }
  .dart-bar__fig{ justify-content:flex-start; }
  .dart-bar__sub{ max-width:none; }
}

@media (prefers-reduced-motion: reduce){
  .dart-bar__cta{ transition-duration:.01ms !important; }
}


/* =========================================================================
   Price pulse
   Glow only, no transform, so the figure never shifts the layout around it
   and the digits stay crisp. Slow and shallow on purpose: the point is to
   draw the eye once, not to flash at the reader.
   ========================================================================= */

@keyframes dpPriceBeat{
  0%, 100% { text-shadow: 0 0 40px rgba(200,155,60,.20); }
  50%      { text-shadow: 0 0 66px rgba(200,155,60,.58), 0 0 22px rgba(200,155,60,.22); }
}
@keyframes dpBloomBeat{
  0%, 100% { opacity:.85; transform:translateX(-50%) scale(1); }
  50%      { opacity:1;   transform:translateX(-50%) scale(1.05); }
}

/* card */
.dart-price__whole,
.dart-price__cents{
  animation: dpPriceBeat 3.4s ease-in-out infinite;
}
.dart-price__cents{ animation-delay:.12s; }
.dart-price__glow{
  animation: dpBloomBeat 3.4s ease-in-out infinite;
}

/* bar */
.dart-bar__whole,
.dart-bar__cents{
  animation: dpPriceBeat 3.4s ease-in-out infinite;
}
.dart-bar__cents{ animation-delay:.12s; }

/* the call-for-price headline gets the same treatment so both states
   read as live rather than only the one with a number in it */
.dart-price__callline,
.dart-bar__callfig{
  animation: dpPriceBeat 3.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce){
  .dart-price__whole, .dart-price__cents, .dart-price__glow,
  .dart-bar__whole, .dart-bar__cents,
  .dart-price__callline, .dart-bar__callfig{
    animation: none !important;
  }
}

/* 2.3.1: tax and fee note under live prices */
.dart-price__tax{ margin-top:4px; }
.dart-bar__tax{ display:block; margin-top:4px; font-size:.9em; opacity:.78; }
