@font-face {
  font-family: "ITC Cheltenham";
  src: url("../fonts/Cheltenham-BookCond.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "ITC Cheltenham";
  src: url("../fonts/Cheltenham-BoldCond.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Save the Birth — design tokens */
:root {
  --color-black: #000000;
  --color-white: #ffffff;
  --color-accent: #f39c00;
  --color-accent-20: color-mix(in srgb, var(--color-accent) 20%, var(--color-white));

  --content-width: 984px;
  --col-width: 312px;
  --grid-gap: 24px;

  --font-inter: "Inter", system-ui, sans-serif;
  --font-cheltenham: "ITC Cheltenham", Georgia, "Times New Roman", serif;

  --line-stroke: 4px;

  /* Decorative BGs — fixed heights at 1280px design (scale with page zoom only) */
  --design-width: 1280px;
  --hero-height: 644px;
  --bg1-height: 688px;
  --bg2-height: 600px;
  --bg-charts-height: 600px;
  --bg3-height: 1040px;
  --bg4-height: 880px;

  --spotlight-radius: 188px;
  --spotlight-x: 50%;
  --spotlight-y: 50%;
  --spotlight-opacity: 0.9;
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background: var(--color-black);
  color: var(--color-white);
  font-family: var(--font-inter);
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.container {
  width: var(--content-width);
  max-width: calc(100% - 48px);
  margin-inline: auto;
}

/* Dev helper — remove when design is signed off */
body.dev-grid .container {
  outline: 1px dashed rgba(243, 156, 0, 0.45);
  outline-offset: 0;
}

/* ── Header (200px) ─────────────────────────────────────────── */

.site-header {
  height: 200px;
  background: var(--color-black);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 12px;
}

.header-credit {
  margin: 0;
  font-family: var(--font-inter);
  font-size: 11px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.22px;
  color: var(--color-white);
  text-align: center;
  text-shadow: 0 0 8px var(--color-black);
}

.header-credit a,
.footer-credit a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.header-credit a:hover,
.footer-credit a:hover {
  color: var(--color-accent);
}

.header-bar {
  width: var(--content-width);
  max-width: calc(100% - 48px);
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  width: 282px;
  height: 65px;
}

.header-donate {
  flex-shrink: 0;
}

/* ── Orange divider lines ───────────────────────────────────── */

.title-lines {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  width: 100%;
}

.title-lines__rule {
  height: var(--line-stroke);
  background: var(--color-accent);
  border: 0;
  margin: 0;
}

.title-lines__text {
  margin: 0;
  padding: 0;
  color: var(--color-white);
  text-align: center;
  font-family: var(--font-inter);
  font-weight: 300;
  font-size: 120px;
  line-height: 1;
  letter-spacing: 0;
  white-space: nowrap;
}

.title-lines__text--hero {
  /* Inter Light 120px — cap-to-cap so rules sit flush */
  line-height: 0.82;
}

.section-title {
  width: 100%;
}

.section-title__text {
  margin: 0;
  padding: 0;
  display: block;
  color: var(--color-white);
  text-align: center;
  font-family: var(--font-inter);
  font-size: 60px;
  font-weight: 500;
  line-height: 0.88;
  text-transform: uppercase;
}

/* ── Hero ───────────────────────────────────────────────────── */

.hero-stage {
  position: relative;
  width: 100%;
  background: var(--color-black);
  /* 644px hero + 44px = 688px BG 1, flush to FIND OUT top rule */
  padding-bottom: 44px;
  isolation: isolate;
}

.hero-stage::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--bg1-height);
  overflow: hidden;
  background: url("../assets/BG 1.png") center calc(50% - 4px) / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.hero-stage > .container {
  position: relative;
  z-index: 1;
}

/*
 * Hero composition: 984px × ~600px
 * Figma PAGE frame is 1280px with a 975px content column;
 * your grid spec is 984px (312 × 3 + 24 × 2).
 */
.hero-composition {
  position: relative;
  width: var(--content-width);
  /* 1480×908 — 8px trimmed from left, 4px from right; locked to BG 1 height */
  height: var(--hero-height);
  background: url("../assets/Hero 1.png") center center / 100% 100% no-repeat;
}

.hero-composition__head {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-composition__head .title-lines {
  width: 100%;
}

.hero-intro {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 147px;
  width: calc(var(--col-width) - 16px);
}

.hero-intro p {
  margin: 0 0 16px;
  color: var(--color-white);
  text-shadow: 0 0 8px var(--color-black);
  font-family: var(--font-cheltenham);
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.48px;
}

.hero-intro p:last-child {
  margin-bottom: 0;
}

/* ── Lucky section ──────────────────────────────────────────── */

.lucky-section {
  background: var(--color-black);
  /* 2× gap before BG 2 — reduced 24px to offset country row shift */
  padding-bottom: 136px;
}

.lucky-section .section-title {
  margin-bottom: 40px;
}

.country-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  width: 100%;
  margin-top: 24px;
  flex-wrap: nowrap;
}

.country-question {
  margin: 0;
  flex-shrink: 0;
  white-space: nowrap;
  color: var(--color-white);
  text-shadow: 0 0 8px var(--color-black);
  font-family: var(--font-cheltenham);
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0.64px;
}

.country-select {
  flex-shrink: 0;
  width: 345px;
}

/* ── Choices.js country dropdown ────────────────────────────── */

.country-choices {
  width: 100%;
  margin-bottom: 0;
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 500;
}

.country-choices .choices__inner {
  min-height: 36px;
  padding: 6px 40px 6px 16px;
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.2);
}

.country-choices .choices__list--single {
  padding: 0;
}

.country-choices .choices__placeholder {
  color: var(--color-white);
  opacity: 1;
}

.country-choices .choices__list--single .choices__item {
  color: var(--color-white);
}

.country-choices.is-focused .choices__inner,
.country-choices.is-open .choices__inner {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 2px rgba(243, 156, 0, 0.35);
}

.country-choices .choices__list--dropdown,
.country-choices .choices__list[aria-expanded] {
  border: 1px solid var(--color-accent);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.92);
  margin-top: 4px;
  z-index: 20;
}

.country-choices .choices__list--dropdown .choices__item,
.country-choices .choices__list[aria-expanded] .choices__item {
  color: var(--color-white);
  font-size: 16px;
  padding: 8px 16px;
}

.country-choices .choices__list--dropdown .choices__item--selectable.is-highlighted,
.country-choices .choices__list[aria-expanded] .choices__item--selectable.is-highlighted {
  background: rgba(243, 156, 0, 0.35);
}

.country-choices.choices[data-type*="select-one"] .choices__input {
  display: block;
  width: 100%;
  padding: 8px 16px;
  margin: 0;
  border: 0;
  border-bottom: 1px solid rgba(243, 156, 0, 0.35);
  border-radius: 8px 8px 0 0;
  background-color: rgba(0, 0, 0, 0.92);
  color: var(--color-white);
}

.country-choices .choices__input::placeholder {
  color: rgba(255, 255, 255, 0.55);
}

/* Hide empty placeholder row in the open list */
.country-choices .choices__list--dropdown .choices__item--placeholder,
.country-choices .choices__list--dropdown .choices__item[data-value=""] {
  display: none !important;
}

/* ── Charts section ─────────────────────────────────────────── */

.charts-stage {
  width: 100%;
  background: var(--color-black);
  margin-top: -80px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.chart-tabs-wrap {
  margin-bottom: 0;
}

.chart-tabs {
  display: grid;
  grid-template-columns: repeat(3, var(--col-width));
  gap: var(--grid-gap);
  margin: 0;
}

.chart-tab {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  margin: 0;
  padding: 0 8px 0;
  border: 0;
  background: transparent;
  color: var(--color-white);
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  text-shadow: 0 0 8px var(--color-black);
}

.chart-tab__line {
  height: 8px;
  align-self: stretch;
  flex-shrink: 0;
  border-radius: 4px 4px 0 0;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.15s ease;
}

.chart-tab__label {
  padding: 0 0 12px;
}

.chart-tab:hover .chart-tab__line {
  background: rgba(243, 156, 0, 0.45);
}

.chart-tab--active .chart-tab__line {
  background: #f39c00;
}

/* BG 2 + chart BG share the same top edge */
.charts-visual {
  position: relative;
  width: 100%;
  background: var(--color-black);
  isolation: isolate;
}

.charts-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--bg2-height);
  overflow: hidden;
  background: url("../assets/BG 2.png") center center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.charts-visual > .container {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
}

.chart-panel {
  position: relative;
  width: var(--content-width);
  height: var(--bg-charts-height);
  margin: 0;
  padding: 40px 32px 48px;
  overflow: hidden;
  background: url("../assets/BG charts.png") center center / cover no-repeat;
}

.chart-metric-title {
  margin: 0 0 32px;
  color: var(--color-white);
  text-shadow: 0 0 8px var(--color-black);
  font-family: var(--font-cheltenham);
  font-size: 24px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.48px;
}

.chart-bars {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-height: 360px;
}

.chart-bar-row {
  display: grid;
  grid-template-columns: 148px 1fr auto;
  align-items: center;
  gap: 12px;
}

.chart-bar-row__label {
  color: var(--color-white);
  text-align: right;
  text-shadow: 0 0 8px var(--color-black);
  font-family: var(--font-cheltenham);
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.54px;
}

.chart-bar-row__track {
  height: 14px;
  min-width: 0;
}

.chart-bar-row__fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: 0;
  min-width: 2px;
}

.chart-bar-row__value {
  min-width: 56px;
  color: var(--color-white);
  text-align: right;
  text-shadow: 0 0 8px var(--color-black);
  font-family: var(--font-cheltenham);
  font-size: 18px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0.54px;
}

.chart-footer {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin: 32px 0 0;
}

.chart-legend,
.chart-source {
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-inter);
  font-size: 11px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.22px;
  text-shadow: 0 0 8px var(--color-black);
}

.chart-legend {
  flex: 1;
  text-align: left;
}

.chart-source {
  flex-shrink: 0;
  text-align: right;
}

.chart-source a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.chart-source a:hover {
  color: var(--color-accent);
}

.chart-bar-row--no-data {
  grid-template-columns: 148px auto;
}

.chart-empty {
  margin: 0;
  color: var(--color-white);
  text-shadow: 0 0 8px var(--color-black);
  font-family: var(--font-cheltenham);
  font-size: 18px;
  line-height: 20px;
}

/* ── Help section ───────────────────────────────────────────── */

.help-section {
  width: 100%;
  background: var(--color-black);
  padding: 0;
  margin: 0;
}

.help-section .section-title {
  margin: 0;
}

/* ── Donate section (BG 3) ──────────────────────────────────── */

.donate-stage {
  width: 100%;
  background: var(--color-black);
  display: flex;
  flex-direction: column;
  gap: 0;
}

.donate-visual {
  position: relative;
  width: 100%;
  min-height: var(--bg3-height);
  background: var(--color-black);
  padding: 64px 0 0;
  isolation: isolate;
  overflow: hidden;
}

.donate-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--bg3-height);
  overflow: hidden;
  background: url("../assets/BG 3.png") center center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.donate-question {
  margin: 0 0 88px;
  text-align: center;
  color: var(--color-white);
  text-shadow: 0 0 8px var(--color-black);
  font-family: var(--font-cheltenham);
  font-size: 32px;
  font-weight: 700;
  line-height: 32px;
  letter-spacing: 0.64px;
}

/* ── Donation slider ────────────────────────────────────────── */

.donation-slider {
  width: 100%;
  max-width: 720px;
  margin: 0 auto 48px;
}

.donation-slider__rail {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 140px;
  margin: 0 22px;
}

.donation-slider__axis {
  position: relative;
  width: 100%;
  height: 44px;
  touch-action: none;
  cursor: pointer;
}

.donation-slider__line {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: var(--color-white);
  box-shadow: 0 0 8px var(--color-black);
  z-index: 0;
}

.donation-stop {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 1;
}

.donation-stop:nth-of-type(1) { left: 0%; }
.donation-stop:nth-of-type(2) { left: 25%; }
.donation-stop:nth-of-type(3) { left: 50%; }
.donation-stop:nth-of-type(4) { left: 75%; }
.donation-stop:nth-of-type(5) { left: 100%; }

.donation-stop__families {
  position: absolute;
  left: 50%;
  bottom: 42px;
  transform: translateX(-50%);
  margin: 0;
  color: var(--color-accent);
  font-family: var(--font-cheltenham);
  font-size: 20px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0.4px;
  white-space: nowrap;
  text-shadow: 0 0 8px var(--color-black);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.donation-stop--active .donation-stop__families {
  opacity: 1;
  visibility: visible;
}

.donation-stop__dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 12px;
  height: 12px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: var(--color-accent);
}

.donation-stop--active .donation-stop__dot {
  visibility: hidden;
}

.donation-stop__price {
  position: absolute;
  left: 50%;
  top: 30px;
  transform: translateX(-50%);
  margin: 0;
  color: var(--color-white);
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-shadow: 0 0 8px var(--color-black);
  white-space: nowrap;
}

.donation-slider__pointer {
  position: absolute;
  top: 50%;
  left: 0;
  width: 44px;
  height: 44px;
  transform: translate(-50%, -50%);
  z-index: 2;
  outline: none;
  cursor: grab;
  touch-action: none;
  transition: left 0.45s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.donation-slider__pointer.is-dragging {
  cursor: grabbing;
  transition: none;
}

.donation-slider__pointer:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 4px;
  border-radius: 50%;
}

.donation-slider__pointer img {
  display: block;
  width: 44px;
  height: 44px;
  pointer-events: none;
}

/* ── Donate buttons ─────────────────────────────────────────── */

.donate-btn {
  display: inline-flex;
  height: 40px;
  padding: 8px 16px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 24px;
  background: linear-gradient(180deg, #f7b030 0%, #f39c00 48%, #d98500 100%);
  color: var(--color-black);
  font-family: var(--font-inter);
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14),
    0 3px 8px rgba(0, 0, 0, 0.46),
    0 1px 2px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.donate-visual > .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.donate-cta {
  margin: 0 auto 72px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.donate-btn:not(.kit-card__button):hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14),
    0 6px 14px rgba(0, 0, 0, 0.52),
    0 2px 4px rgba(0, 0, 0, 0.32);
}

.donate-btn:not(.kit-card__button):active {
  transform: translateY(0);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.22),
    0 1px 3px rgba(0, 0, 0, 0.34);
}

.donate-btn img {
  display: block;
  flex-shrink: 0;
  width: 24px;
  height: 24px;
}

.donate-btn.header-donate {
  height: 48px;
  padding: 10px 20px;
  gap: 10px;
  font-family: var(--font-inter);
  font-size: 20px;
  font-weight: 800; /* Inter ExtraBold */
  letter-spacing: 0.04em;
}

.donate-btn.header-donate img {
  width: 32px;
  height: 32px;
}

/* ── Kit cards ──────────────────────────────────────────────── */

.kits-grid {
  display: grid;
  grid-template-columns: repeat(3, var(--col-width));
  gap: var(--grid-gap);
  width: 100%;
  padding-bottom: 0;
  margin: 16px 0 0;
}

.kit-card {
  display: flex;
  flex-direction: column;
}

.kit-card__visual {
  position: relative;
  margin-bottom: 24px;
}

.kit-card__image {
  width: 100%;
  height: auto;
  aspect-ratio: 312 / 274;
  object-fit: cover;
  display: block;
}

.donate-btn.kit-card__button {
  position: absolute;
  left: 50%;
  bottom: -20px;
  height: 44px;
  padding: 8px 18px;
  transform: translateX(-50%);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.donate-btn.kit-card__button:hover {
  transform: translateX(-50%) translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    inset 0 -1px 0 rgba(0, 0, 0, 0.14),
    0 6px 14px rgba(0, 0, 0, 0.52),
    0 2px 4px rgba(0, 0, 0, 0.32);
}

.donate-btn.kit-card__button:active {
  transform: translateX(-50%) translateY(0);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.22),
    0 1px 3px rgba(0, 0, 0, 0.34);
}

.kit-card__title {
  margin: 28px 0 12px;
  color: var(--color-white);
  text-align: center;
  font-family: var(--font-inter);
  font-size: 20px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.kit-card__description {
  margin: 0;
  color: var(--color-accent-20);
  text-align: center;
  font-family: var(--font-cheltenham);
  font-size: 20px;
  font-weight: 400;
  line-height: 28px;
  letter-spacing: 0.02em;
}

/* ── Thank you + footer (BG 4) ────────────────────────────── */

.thank-you-section {
  position: relative;
  z-index: 2;
  width: 100%;
  background: var(--color-black);
  padding: 0;
  margin: 0;
  flex-shrink: 0;
  isolation: isolate;
}

.thank-you-section .section-title {
  margin: 0;
}

.footer-stage {
  position: relative;
  width: 100%;
  height: var(--bg4-height);
  margin: 0;
  padding: 12px 0 0;
  background: var(--color-black);
  isolation: isolate;
}

.footer-stage::before {
  content: "";
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: url("../assets/BG 4.png") center center / cover no-repeat;
  pointer-events: none;
  z-index: 0;
}

.footer-credit {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-inter);
  font-size: 11px;
  font-weight: 500;
  line-height: 24px;
  letter-spacing: 0.22px;
  color: var(--color-white);
  text-align: center;
  text-shadow: 0 0 8px var(--color-black);
}

.country-choices.choices[data-type*="select-one"]::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 24px;
  height: 24px;
  margin-top: 0;
  border: 0;
  background: url("../assets/svg/expand.svg") center / contain no-repeat;
  transform: translateY(-50%);
  pointer-events: none;
}

/* ── Responsive — zoom via js/scale.js ──────────────────────── */

html {
  overflow-x: hidden;
}

/* ── Cursor spotlight ───────────────────────────────────────── */

.spotlight-overlay {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  background: rgba(0, 0, 0, var(--spotlight-opacity, 0.9));
  -webkit-mask-image: radial-gradient(
    circle var(--spotlight-radius) at var(--spotlight-x) var(--spotlight-y),
    transparent 99%,
    #000 100%
  );
  mask-image: radial-gradient(
    circle var(--spotlight-radius) at var(--spotlight-x) var(--spotlight-y),
    transparent 99%,
    #000 100%
  );
}

.spotlight-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.spotlight-control {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 10001;
  transform: translateX(-50%);
  pointer-events: auto;
}

.spotlight-control__label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding: 16px 24px 16px 20px; /* frame +16px H / +16px W vs prior */
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.88);
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.6);
  cursor: pointer;
  user-select: none;
}

.spotlight-control__input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.spotlight-control__track {
  position: relative;
  flex-shrink: 0;
  width: 44px;
  height: 24px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  transition: background 0.15s ease;
}

.spotlight-control__thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--color-white);
  transition: transform 0.15s ease, background 0.15s ease;
}

.spotlight-control__input:checked + .spotlight-control__track {
  background: var(--color-accent);
}

.spotlight-control__input:checked + .spotlight-control__track .spotlight-control__thumb {
  transform: translateX(20px);
  background: var(--color-black);
}

.spotlight-control__text {
  font-family: var(--font-inter);
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  color: var(--color-white);
  white-space: nowrap;
}

.spotlight-control--lights-on .spotlight-control__text {
  color: var(--color-accent);
}

@media (hover: none) {
  .spotlight-overlay,
  .spotlight-control {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .spotlight-overlay,
  .spotlight-control {
    display: none;
  }
}
