/* Wildlights marketing pages.
   One palette, defined once. The site is dark because the product is light in
   a dark room; there is no second theme fighting this one further down. */

:root {
  --bg: #0b0d13;
  --bg-2: #11141d;
  --card: #151926;
  --line: #222839;
  --line-2: #2c3347;

  --ink: #f2f4f9;
  --ink-soft: #b3bacb;
  --ink-mute: #7a839a;

  --accent: #5f8cff;
  --accent-2: #8fb0ff;
  --gold: #ffc61e;
  --pink: #ff2d8f;
  --teal: #12d1c6;

  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --display: 'Quicksand', var(--sans);
  --radius: 14px;
  --radius-lg: 22px;
  --wrap: 1120px;

  color-scheme: dark;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 16px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-2); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--accent); color: #fff; padding: 10px 16px; z-index: 50; }
.skip:focus { left: 8px; top: 8px; }

/* ---------------------------------------------------------------- the mark */

.mark { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: var(--display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.mark__dots { display: flex; gap: 4px; }
.mark__dots i { width: 7px; height: 20px; border-radius: 3px; display: block; background: var(--accent); animation: glow 2.6s infinite; }
.mark__dots i:nth-child(2) { background: var(--teal); animation-delay: .35s; }
.mark__dots i:nth-child(3) { background: var(--gold); animation-delay: .7s; }
.mark__dots i:nth-child(4) { background: var(--pink); animation-delay: 1.05s; }
@keyframes glow { 0%, 100% { opacity: .3 } 40% { opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .mark__dots i { animation: none; opacity: .9 } }

/* ------------------------------------------------------------------ header */

.top { position: sticky; top: 0; z-index: 40; background: rgba(11, 13, 19, .86); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__bar { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.top__menu { margin-left: auto; display: flex; align-items: center; gap: 22px; }
.top__menu a { color: var(--ink-soft); text-decoration: none; font-size: 14.5px; font-weight: 500; }
.top__menu a:hover { color: var(--ink); }
.top__menu a.here { color: var(--ink); }
.top__toggle { display: none; margin-left: auto; background: none; border: 1px solid var(--line-2); border-radius: 9px; padding: 9px 11px; cursor: pointer; }
.top__bars { display: block; width: 18px; }
.top__bars i { display: block; height: 2px; background: var(--ink-soft); border-radius: 2px; margin: 3px 0; }

@media (max-width: 860px) {
  .top__toggle { display: block; }
  .top__menu {
    position: fixed; inset: 64px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-2); border-bottom: 1px solid var(--line); padding: 8px 20px 20px; display: none;
  }
  body.menu-open .top__menu { display: flex; }
  .top__menu a { padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .top__menu .btn { margin-top: 16px; text-align: center; border-bottom: 0; }
}

/* ----------------------------------------------------------------- buttons */

.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 13px 22px; border-radius: 11px; font-weight: 600; font-size: 15px; border: 0; cursor: pointer;
  transition: background-color .15s, transform .15s;
}
.btn:hover { background: #4b7cf7; }
.btn:active { transform: translateY(1px); }
.btn--small { padding: 9px 15px; font-size: 14px; }
.btn--ghost { background: transparent; color: var(--ink); border: 1px solid var(--line-2); }
.btn--ghost:hover { background: var(--card); border-color: var(--line-2); }

/* ---------------------------------------------------------------- sections */

section { padding: 84px 0; }
section + section { border-top: 1px solid var(--line); }
@media (max-width: 700px) { section { padding: 58px 0; } }

.kicker { font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-mute); font-weight: 600; margin: 0 0 14px; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.12; margin: 0 0 16px; }
h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 700; }
h2 { font-size: clamp(26px, 3.6vw, 38px); font-weight: 600; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.3; }

p { margin: 0 0 18px; color: var(--ink-soft); }
.lede { font-size: clamp(17px, 2vw, 20px); line-height: 1.6; color: var(--ink-soft); max-width: 40em; }
.narrow { max-width: 44em; }
strong { color: var(--ink); font-weight: 600; }

/* -------------------------------------------------------------------- hero */

.hero { padding: 92px 0 76px; position: relative; overflow: hidden; }
.hero__glow {
  position: absolute; inset: -20% -10% auto -10%; height: 70vh; pointer-events: none; z-index: 0;
  background:
    radial-gradient(38% 55% at 18% 30%, rgba(95, 140, 255, .28), transparent 70%),
    radial-gradient(34% 50% at 78% 22%, rgba(255, 45, 143, .18), transparent 70%),
    radial-gradient(30% 45% at 52% 60%, rgba(18, 209, 198, .14), transparent 70%);
  filter: blur(8px);
}
.hero .wrap { position: relative; z-index: 1; }
.hero h1 { max-width: 15em; }
.hero .lede { margin-bottom: 28px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero__note { margin: 18px 0 0; font-size: 14px; color: var(--ink-mute); }

/* The live room: a canvas the real engine draws a real show onto. */
.live { margin: 42px 0 0; }
.live canvas { width: 100%; height: 300px; display: block; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #06070c; }
@media (max-width: 700px) { .live canvas { height: 210px; } }
.live__stage { position: relative; }
/* The level selector: what a show looks like at each energy. */
.live__levels { display: flex; gap: 6px; margin: 10px 0 0; flex-wrap: wrap; }
.live__levels button {
  display: flex; align-items: baseline; gap: 6px; cursor: pointer;
  background: var(--card); border: 1px solid var(--line); border-radius: 20px;
  padding: 6px 13px; font: inherit; font-size: 13px; color: var(--ink-mute);
  transition: border-color .15s, color .15s, background-color .15s;
}
.live__levels button b { font-family: var(--display); font-weight: 700; font-size: 12px; color: var(--ink-mute); }
.live__levels button:hover { border-color: var(--line-2); color: var(--ink-soft); }
.live__levels button.on { background: var(--bg-2); border-color: var(--accent); color: var(--ink); }
.live__levels button.on b { color: var(--accent); }
/* Until one is chosen the highlight is walking on its own, so it moves gently
   rather than snapping — a hard cut looks like a fault rather than a tour. */
.live__levels:not(.picked) button { transition: border-color .5s, color .5s, background-color .5s; }
@media (max-width: 640px) { .live__levels button span { display: none; } .live__levels button { padding: 6px 12px; } }
@media (prefers-reduced-motion: reduce) { .live__levels button { transition: none; } }

.live figcaption { margin: 12px 2px 0; font-size: 13.5px; line-height: 1.5; color: var(--ink-mute); max-width: 44em; }
.live .credit { display: block; margin-top: 5px; font-size: 12.5px; }
.live .credit a { color: var(--ink-mute); text-decoration: underline; text-underline-offset: 2px; }
.live .credit a:hover { color: var(--ink-soft); }
/* Sound is offered quietly, in the corner of the room it belongs to. */
.live__sound {
  position: absolute; right: 12px; bottom: 12px; z-index: 2;
  background: rgba(11, 13, 19, .72); color: var(--ink); border: 1px solid var(--line-2);
  border-radius: 20px; padding: 7px 14px; font: inherit; font-size: 13px; font-weight: 600;
  cursor: pointer; backdrop-filter: blur(6px);
}
.live__sound:hover { border-color: var(--accent); }
.live__sound[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
.live__sound:disabled { opacity: .6; cursor: default; }
@media (max-width: 700px) { .live__sound { right: 8px; bottom: 8px; padding: 6px 12px; font-size: 12.5px; } }

/* Sections arrive as they are scrolled to, and are simply there for anyone
   who has asked for less motion or is reading without JavaScript. */
[data-reveal] { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
[data-reveal].shown, .no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1; transform: none; transition: none; } }

/* On a phone the thing to do is always one tap away. */
.sticky-cta { display: none; }
.sticky-cta[hidden] { display: none !important; }
@media (max-width: 700px) {
  .sticky-cta {
    display: block; position: fixed; left: 12px; right: 12px; z-index: 30;
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    text-align: center; box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  }
  body { padding-bottom: 74px; }
}

/* The room: a strip of phones, lit the way a show lights them. */
.room { display: flex; gap: 6px; flex-wrap: wrap; margin: 40px 0 0; }
.room i { width: 15px; height: 34px; border-radius: 4px; display: block; background: var(--line-2); }
.room--lit i { animation: room 3.2s infinite; }
@keyframes room { 0%, 100% { opacity: .22 } 45% { opacity: 1 } }
@media (prefers-reduced-motion: reduce) { .room--lit i { animation: none; opacity: .85 } }

/* ------------------------------------------------------------------- cards */

.grid { display: grid; gap: 18px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px; }
.card h3 { margin-bottom: 8px; }
.card p:last-child { margin-bottom: 0; }
.card__num { font-family: var(--display); font-weight: 700; font-size: 13px; color: var(--ink-mute); letter-spacing: .08em; margin-bottom: 12px; }
.card--link { text-decoration: none; display: block; color: inherit; transition: border-color .15s, transform .15s; }
.card--link:hover { border-color: var(--line-2); transform: translateY(-2px); }
.card--link .more { color: var(--accent-2); font-weight: 600; font-size: 14.5px; }

.swatch { display: flex; gap: 5px; margin-bottom: 16px; }
.swatch i { width: 12px; height: 26px; border-radius: 3px; display: block; }

/* -------------------------------------------------------------------- list */

.ticks { list-style: none; padding: 0; margin: 0 0 18px; }
.ticks li { position: relative; padding-left: 26px; margin-bottom: 11px; color: var(--ink-soft); }
.ticks li::before { content: ""; position: absolute; left: 4px; top: 9px; width: 7px; height: 7px; border-radius: 2px; background: var(--accent); }
.ticks li strong { display: block; color: var(--ink); font-weight: 600; }

/* ------------------------------------------------------------------- steps */

.steps { counter-reset: step; }
.step { display: grid; grid-template-columns: 56px 1fr; gap: 20px; padding: 26px 0; border-bottom: 1px solid var(--line); }
.step:last-child { border-bottom: 0; }
.step__n { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--accent); }
.step h3 { margin-bottom: 6px; }
.step p:last-child { margin-bottom: 0; }
@media (max-width: 640px) { .step { grid-template-columns: 38px 1fr; gap: 12px; } }

/* -------------------------------------------------------------------- prose */

.prose { max-width: 46em; }
.prose h2 { margin-top: 44px; }
.prose h3 { margin-top: 30px; }
.prose ul { padding-left: 20px; color: var(--ink-soft); }
.prose li { margin-bottom: 9px; }
.prose table { width: 100%; border-collapse: collapse; margin: 22px 0; font-size: 15px; }
.prose th, .prose td { text-align: left; padding: 11px 12px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { color: var(--ink); font-weight: 600; }
.prose td { color: var(--ink-soft); }
.prose .updated { font-size: 14px; color: var(--ink-mute); }

/* ---------------------------------------------------------------------- cta */

.cta { background: var(--bg-2); }
.cta__box { text-align: center; max-width: 34em; margin: 0 auto; }
.cta__box h2 { margin-bottom: 12px; }
.cta__box p { margin-bottom: 24px; }

/* ------------------------------------------------------------------- footer */

.foot { border-top: 1px solid var(--line); padding: 54px 0 30px; background: var(--bg-2); }
.foot__grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 28px; }
@media (max-width: 860px) { .foot__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot__grid { grid-template-columns: 1fr; } }
.foot__col h2 { font-family: var(--display); font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-mute); margin: 0 0 14px; font-weight: 600; }
.foot__col a { display: block; color: var(--ink-soft); text-decoration: none; font-size: 14.5px; margin-bottom: 10px; }
.foot__col a:hover { color: var(--ink); }
.foot__col--brand p { font-size: 14.5px; margin-top: 14px; max-width: 26em; }
.foot__bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 34px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink-mute); }
.foot__cta { color: var(--accent-2); text-decoration: none; font-weight: 600; }
