@font-face {
  font-family: "Louis";
  src: url("../fonts/Louis-Regular.woff") format("woff"), url("../fonts/Louis-Regular.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Louis";
  src: url("../fonts/Louis-Bold.woff") format("woff"), url("../fonts/Louis-Bold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Louis";
  src: url("../fonts/Louis-Heavy.woff") format("woff"), url("../fonts/Louis-Heavy.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --blue-dark: #003a64;
  --blue-mid: #004c81;
  --blue-primary: #0075c8;
  --blue-light: #a8bddb;
  --white: #ffffff;
  --font: 'Louis', Tahoma, Arial, sans-serif;
  --radius: 20px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
}

body {
  min-height: 100dvh;
  background: linear-gradient(160deg, #ffffff 0%, #003a64 50%, #001d38 100%);
  color: var(--white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.bg-image {
  position: fixed;
  inset: 0;
  z-index: 0;
  background: url("../images/2024-equinoxev-range-01.jpg") center/cover no-repeat;
  opacity: 0.12;
  pointer-events: none;
}

.app {
  position: relative;
  z-index: 1;
  min-height: calc(100dvh - 6rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  padding: 3rem 1.5rem 0;
}

.calculator {
  width: 100%;
  max-width: 1100px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 1024px) {
  .calculator {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 800px) {
  .app {
    gap: 1.5rem;
    padding: 1.5rem 1rem 2.5rem;
  }
  .calculator {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
  opacity: 0;
}
header h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.1;
  text-shadow: 0 3px 3px rgba(0, 0, 0, 0.05);
}

.logo {
  width: auto;
  height: 30px;
  filter: drop-shadow(0 3px 1px rgba(0, 0, 0, 0.05));
}

@media (max-width: 800px) {
  header {
    gap: 0.75rem;
  }
  header h1 {
    font-size: 1.5rem;
    letter-spacing: 0.03em;
  }
  .logo {
    height: 24px;
  }
}
.subtitle {
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.gas-spend-callout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  padding: 0.75rem 1rem;
}

.gas-spend-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255, 255, 255, 0.6);
}

.gas-spend-amount {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--white);
}

.drawer-header,
.drawer-resize-handle,
.drawer-toggle,
.drawer-see-results {
  display: none;
}

.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 10, 30, 0.6);
  z-index: 199;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.drawer-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.controls {
  background: rgba(0, 55, 105, 0.55);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  border-radius: var(--radius);
  opacity: 0;
}
.controls .info-btn {
  color: rgba(147, 210, 255, 0.55);
}
.controls .info-btn:hover, .controls .info-btn:focus-visible {
  color: rgba(147, 210, 255, 0.95);
}
.controls .info-btn:focus-visible {
  outline-color: rgba(147, 210, 255, 0.4);
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.slider-label {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.label-with-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.65);
}

.info-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.info-wrap:hover .info-tip, .info-wrap:focus-within .info-tip, .info-wrap.tip-open .info-tip {
  opacity: 1;
  translate: 0 0;
}

.info-btn {
  background: none;
  border: none;
  padding: 0;
  margin-left: 3px;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  align-items: center;
  line-height: 1;
  transition: color 0.15s ease;
}
.info-btn:hover, .info-btn:focus-visible {
  color: rgba(255, 255, 255, 0.9);
}
.info-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}
.info-btn svg {
  width: 16px;
  height: 16px;
}

.info-tip {
  position: absolute;
  bottom: calc(100% + 10px);
  right: -4px;
  width: 200px;
  background: rgba(0, 20, 48, 0.97);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 0.75rem 0.875rem;
  font-size: 0.75rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-transform: none;
  pointer-events: none;
  opacity: 0;
  translate: 0 4px;
  transition: opacity 0.18s ease, translate 0.18s ease;
  z-index: 10;
}
.info-tip::after {
  content: "";
  position: absolute;
  top: 100%;
  right: 10px;
  border: 5px solid transparent;
  border-top-color: rgba(0, 20, 48, 0.97);
}

.label-text {
  font-size: 0.9375rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1;
}

.slider-display {
  display: flex;
  align-items: baseline;
  gap: 0.2rem;
  line-height: 1;
}

.slider-value {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  display: inline-block;
  min-width: 2ch;
  text-align: right;
  transform-origin: right center;
}

.slider-unit {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.55);
}

input[type=range] {
  --fill: 50%;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
  width: 100%;
  height: 3px;
  border-radius: 2px;
  border: none;
  outline: none;
  cursor: pointer;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.9) var(--fill), rgba(255, 255, 255, 0.22) var(--fill));
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  cursor: grab;
  -webkit-transition: transform 0.15s ease, box-shadow 0.15s ease;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
input[type=range]::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12), 0 0 20px rgba(0, 160, 255, 0.55), 0 4px 12px rgba(0, 0, 0, 0.25);
}
input[type=range]:active::-webkit-slider-thumb {
  cursor: grabbing;
  transform: scale(1.1);
  box-shadow: 0 0 0 14px rgba(255, 255, 255, 0.08), 0 0 30px rgba(0, 160, 255, 0.7), 0 4px 12px rgba(0, 0, 0, 0.25);
}
input[type=range]::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  cursor: grab;
  -moz-transition: transform 0.15s ease;
  transition: transform 0.15s ease;
}
input[type=range]::-moz-range-track {
  height: 3px;
  border-radius: 2px;
  background: transparent;
}
input[type=range]:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 6px;
  border-radius: 2px;
}

.slider-range {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.03em;
}

@media (max-width: 800px) {
  .results {
    order: -1;
  }
  .drawer-overlay {
    display: block;
  }
  .controls {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(360px, 88vw);
    max-width: 100vw;
    border-radius: var(--radius) 0 0 var(--radius);
    border-right: none;
    gap: 2.25rem;
    padding: 2rem;
    overflow-y: auto;
    z-index: 200;
    opacity: 1 !important;
    background: rgba(0, 55, 105, 0.55);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }
  .controls.is-resizing {
    -webkit-user-select: none;
       -moz-user-select: none;
            user-select: none;
  }
  .controls .slider-value {
    font-size: 1.6rem;
  }
  .controls .label-text {
    font-size: 0.8rem;
  }
  .controls .slider-range {
    font-size: 0.75rem;
  }
  .controls .info-tip {
    font-size: 0.72rem;
    line-height: 1.45;
    width: 190px;
    padding: 0.5rem 0.625rem;
  }
  .drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
  .drawer-resize-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    top: 50%;
    left: 0.15rem;
    width: 24px;
    height: 84px;
    padding: 0;
    margin: 0;
    background: none;
    border: none;
    border-radius: 999px;
    color: var(--white);
    cursor: ew-resize;
    touch-action: none;
    flex-shrink: 0;
    transform: translateY(-50%);
    z-index: 2;
  }
  .drawer-resize-handle:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
  }
  .drawer-resize-handle:hover .drawer-resize-indicator, .drawer-resize-handle.is-active .drawer-resize-indicator {
    background: rgba(255, 255, 255, 0.52);
    transform: scaleY(1.06);
  }
  .drawer-resize-indicator {
    width: 4px;
    height: 34px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.28);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
    transition: background 0.15s ease, transform 0.15s ease;
  }
  .drawer-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
    flex: 1;
  }
  .drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: background 0.15s;
  }
  .drawer-close svg {
    width: 14px;
    height: 14px;
  }
  .drawer-close:hover {
    background: rgba(255, 255, 255, 0.2);
  }
  .drawer-see-results {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.25rem;
    background: var(--blue-primary);
    border: none;
    border-radius: calc(var(--radius) - 4px);
    color: var(--white);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    cursor: pointer;
    transition: background 0.15s;
  }
  .drawer-see-results svg {
    width: 16px;
    height: 16px;
  }
  .drawer-see-results:hover {
    background: color-mix(in srgb, var(--blue-primary) 80%, white);
  }
  .drawer-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(0, 60, 130, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: calc(var(--radius) - 4px);
    color: var(--white);
    font-family: var(--font);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s;
  }
  .drawer-toggle svg {
    width: 18px;
    height: 18px;
  }
  .drawer-toggle:hover {
    background: rgb(0, 60, 130);
    border-color: rgba(255, 255, 255, 0.7);
  }
  .slider-unit {
    font-size: 0.625rem;
  }
}
.results {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  color: var(--blue-dark);
  opacity: 0;
}

.results-heading {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(0, 58, 100, 0.5);
  align-self: flex-start;
}

.chart-wrapper {
  position: relative;
  width: 270px;
  height: 270px;
  flex-shrink: 0;
}
.chart-wrapper canvas {
  width: 100% !important;
  height: 100% !important;
  cursor: default !important;
}

.chart-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.total-label {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(0, 58, 100, 0.5);
}

.total-amount {
  font-size: 3rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1.1;
}

.savings-breakdown {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.savings-divider {
  height: 1px;
  background: rgba(0, 58, 100, 0.08);
}

.savings-item {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  border-radius: 10px;
  padding: 0.375rem 0.5rem;
  margin: -0.375rem -0.5rem;
  transition: background 0.2s ease;
}
.savings-item.is-highlighted {
  background: rgba(0, 117, 200, 0.08);
}

.savings-swatch {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.fuel-swatch {
  background: var(--blue-primary);
}

.mnt-swatch {
  background: var(--blue-mid);
}

.savings-info {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.savings-label {
  font-size: 0.875rem;
  font-weight: 700;
  color: rgba(0, 58, 100, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.savings-amount {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--blue-dark);
  white-space: nowrap;
}

.results-note {
  font-size: 0.8125rem;
  color: rgba(0, 58, 100, 0.5);
  text-align: center;
  line-height: 1.55;
  margin-top: auto;
}
.results-note a {
  color: var(--blue-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.results-note a:hover {
  color: var(--blue-mid);
}

@media (max-width: 800px) {
  .chart-wrapper {
    width: 270px;
    height: 270px;
  }
  .total-amount {
    font-size: 3rem;
  }
  .savings-amount {
    font-size: 1.6rem;
  }
}
.disclaimer-btn {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: inherit;
  font-weight: 700;
  color: rgba(0, 58, 100, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  cursor: pointer;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  text-underline-offset: 2px;
}
.disclaimer-btn:hover {
  color: var(--blue-primary);
}
.disclaimer-btn sup {
  font-size: 0.6em;
}

.disclaimer-toast {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 1.25rem 1.75rem;
  background: rgba(0, 30, 56, 0.93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  transform: translateY(100%);
}

.disclaimer-text {
  flex: 1;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
}

.disclaimer-close {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  color: var(--white);
  font-size: 1rem;
  line-height: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.disclaimer-close:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.5);
}

.price-tag-info .info-btn {
  color: rgba(0, 58, 100, 0.7);
  margin-left: 0;
}
.price-tag-info .info-btn:hover, .price-tag-info .info-btn:focus-visible {
  color: rgb(0, 58, 100);
}
.price-tag-info .info-btn:focus-visible {
  outline-color: rgba(0, 58, 100, 0.4);
}
.price-tag-info .info-tip {
  width: 230px;
}
.price-tag-info .info-tip a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.price-tag-info .info-tip a:hover {
  color: #fff;
}
.price-tag-info:hover .info-tip, .price-tag-info:focus-within .info-tip, .price-tag-info.tip-open .info-tip {
  pointer-events: auto;
}

.price-tag {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 1rem;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(0, 58, 100, 0.6);
  background: rgba(0, 58, 100, 0.05);
  border-top: 1px solid rgba(0, 58, 100, 0.12);
  border-bottom: 1px solid rgba(0, 58, 100, 0.12);
  border-radius: 0;
  padding: 0.625rem 2rem;
  margin-left: -2rem;
  margin-right: -2rem;
  width: calc(100% + 4rem);
  box-sizing: border-box;
}

.price-lines {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 0.1rem;
}

.price-status-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

#price-values {
  color: rgba(0, 58, 100, 0.55);
  font-weight: 400;
}

.price-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  background: #cbd5e1;
  margin-top: 0.2rem;
}
.price-dot.live {
  background: #22c55e;
  animation: live-ping 2.4s ease-out infinite;
}
.price-dot.fallback {
  background: #f97316;
}
.price-dot.loading {
  background: #94a3b8;
  animation: pulse-dot 1.2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.2;
  }
}
@keyframes live-ping {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  70% {
    box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}
.site-footer {
  width: 100%;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  text-align: center;
}
.site-footer p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  line-height: 1.5;
}/*# sourceMappingURL=styles.css.map */