/* Optional artwork. A missing file leaves the night gradient.
   assets/home.jpg
   assets/sirenward.jpg
   assets/shrinkray.jpg
   assets/mixa.jpg
   assets/gizmo.jpg
*/

:root {
  --bg: #07060a;
  --text: #f4f4f5;
  --muted: #a19eaa;
  --line: rgba(255, 255, 255, 0.14);
  --sans: "Segoe UI", "Helvetica Neue", sans-serif;
  --wrap: 1180px;
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }

:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

::selection {
  background: #3a2a58;
  color: #fff;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  z-index: 40;
  transform: translateY(-160%);
  background: #fff;
  color: #111;
  padding: 0.5rem 0.75rem;
  font-weight: 650;
  text-decoration: none;
}

.skip:focus { transform: none; }

.wrap {
  width: min(var(--wrap), calc(100% - clamp(1.5rem, 5vw, 5rem)));
  margin-inline: auto;
}

.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 6, 10, 0.92);
}

.top__bar {
  width: min(var(--wrap), calc(100% - clamp(1.5rem, 5vw, 5rem)));
  margin-inline: auto;
  min-height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.mark {
  color: var(--text);
  text-decoration: none;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.03em;
}

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

.nav-check:focus { outline: none; }

.nav-check:focus-visible + .nav-toggle {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.nav-toggle {
  border: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0.4rem 0;
}

.nav-toggle__close { display: none; }
.nav-check:checked + .nav-toggle .nav-toggle__open { display: none; }
.nav-check:checked + .nav-toggle .nav-toggle__close { display: inline; }

.nav {
  display: none;
  position: fixed;
  inset: 4.25rem 0 0 0;
  flex-direction: column;
  gap: 1.15rem;
  padding: 2rem clamp(1.5rem, 5vw, 5rem);
  background: var(--bg);
}

.nav-check:checked ~ .nav { display: flex; }

.nav a {
  text-decoration: none;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: -0.04em;
  color: var(--text);
}

.nav a:hover { color: #fff; }

.stage {
  --photo: none;
  position: relative;
  display: block;
  padding: 3.25rem 0 2.5rem;
  background-color: var(--bg);
  background-image:
    linear-gradient(to top, rgba(7, 6, 10, 0.55), rgba(7, 6, 10, 0.05) 46%),
    var(--photo),
    radial-gradient(880px 520px at 78% 8%, rgba(92, 52, 158, 0.42), transparent 68%),
    radial-gradient(640px 420px at 8% 90%, rgba(46, 24, 86, 0.35), transparent 70%);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.stage--home { --photo: url("../assets/home.jpg"); }
.stage--siren {
  --photo: url("../assets/sirenward.jpg");
  background-image:
    linear-gradient(to top, rgba(7, 6, 10, 0.62), rgba(7, 6, 10, 0.08) 50%),
    var(--photo),
    radial-gradient(760px 560px at 18% 0%, rgba(110, 58, 180, 0.4), transparent 70%);
}
.stage--ray {
  --photo: url("../assets/shrinkray.jpg");
  background-image:
    linear-gradient(to top, rgba(7, 6, 10, 0.62), rgba(7, 6, 10, 0.08) 50%),
    var(--photo),
    radial-gradient(820px 480px at 90% 20%, rgba(78, 46, 150, 0.45), transparent 68%);
}
.stage--mixa {
  --photo: url("../assets/mixa.jpg");
  background-image:
    linear-gradient(to top, rgba(7, 6, 10, 0.62), rgba(7, 6, 10, 0.08) 50%),
    var(--photo),
    radial-gradient(900px 500px at 50% 0%, rgba(64, 36, 128, 0.5), transparent 70%);
}
.stage--gizmo {
  --photo: url("../assets/gizmo.jpg");
  background-image:
    linear-gradient(to top, rgba(7, 6, 10, 0.62), rgba(7, 6, 10, 0.08) 50%),
    var(--photo),
    radial-gradient(700px 520px at 70% 10%, rgba(120, 64, 190, 0.32), transparent 68%);
}

h1 {
  font-size: clamp(2.5rem, 6vw, 3.75rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.stage--home h1 {
  max-width: none;
  font-size: clamp(2.4rem, 5vw, 3.25rem);
}

.deck,
.lede {
  max-width: 34rem;
  margin-top: 1.35rem;
  color: #c8c6d0;
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  line-height: 1.45;
  font-weight: 400;
}

.price {
  margin-top: 1.35rem;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.8rem 1.35rem;
  border: 2px solid #fff;
  background: transparent;
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}

.btn:hover {
  background: #fff;
  color: #111;
}

.link {
  color: var(--text);
  text-decoration: none;
}

.link:hover { text-decoration: underline; text-underline-offset: 0.2em; }

.section { padding: 3.25rem 0 0; }

.section h2,
.why h2,
.acquire h2 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.catalog { margin-top: 0; }

.tool {
  display: block;
  padding: 1.35rem 0;
  border-top: 1px solid var(--line);
  text-decoration: none;
}

.catalog li:last-child .tool { border-bottom: 1px solid var(--line); }

.tool h3 {
  font-size: clamp(1.45rem, 2.5vw, 1.85rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tool p {
  max-width: 36rem;
  margin-top: 0.85rem;
  color: var(--muted);
  font-size: 1.125rem;
}

.tool .cost {
  display: inline-block;
  margin-top: 0.85rem;
  color: #d5d3db;
  font-size: 1.05rem;
  font-variant-numeric: tabular-nums;
}

.tool:hover h3 { color: #fff; }

.operator { padding-bottom: 1rem; }

.operator p {
  max-width: 36rem;
  margin-top: 1.35rem;
  color: var(--muted);
  font-size: 1.25rem;
  line-height: 1.45;
}

.operator p strong {
  color: var(--text);
  font-weight: 500;
}

.points {
  display: grid;
  gap: 2.25rem;
  margin-top: 2.25rem;
}

.points h3 {
  font-size: 1.35rem;
  font-weight: 550;
  letter-spacing: -0.02em;
}

.points p {
  max-width: 36rem;
  margin-top: 0.4rem;
  color: var(--muted);
}

.note {
  margin-top: 2.5rem;
  color: var(--muted);
}

.why { padding-top: 3rem; }

.why p {
  max-width: 36rem;
  margin-top: 1.1rem;
  color: var(--muted);
  font-size: 1.2rem;
}

.acquire {
  max-width: 36rem;
  padding-top: 3rem;
}

.acquire__price {
  margin: 0.6rem 0 0.8rem;
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.acquire p {
  color: var(--muted);
  font-size: 1.125rem;
}

.tour {
  display: grid;
  gap: 1.5rem;
  margin-top: 3.25rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.tour__next { text-decoration: none; }

.tour__kicker {
  color: var(--muted);
  font-size: 0.95rem;
}

.tour__name {
  display: block;
  margin-top: 0.3rem;
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.tour__next:hover .tour__name { color: #fff; }

.tour__price {
  display: block;
  margin-top: 0.45rem;
  color: #d5d3db;
}

.tour__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.4rem;
}

.tour__links a {
  color: var(--muted);
  text-decoration: none;
}

.tour__links a:hover { color: var(--text); }

.foot {
  margin-top: 4rem;
  border-top: 1px solid var(--line);
}

.foot__inner {
  width: min(var(--wrap), calc(100% - clamp(1.5rem, 5vw, 5rem)));
  margin-inline: auto;
  display: grid;
  gap: 1rem;
  padding: 1.75rem 0 2.5rem;
}

.foot__brand {
  font-weight: 600;
  letter-spacing: -0.03em;
  text-decoration: none;
}

.foot__tag {
  margin-top: 0.3rem;
  color: var(--muted);
}

.foot__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

.foot__nav a {
  color: var(--muted);
  text-decoration: none;
}

.foot__nav a:hover { color: var(--text); }

.foot__legal {
  color: var(--muted);
  font-size: 0.9rem;
}

@media (min-width: 800px) {
  .tool {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 3rem;
    align-items: end;
  }

  .tool p { grid-column: 1; }

  .tool .cost {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
    margin-top: 0;
    font-size: 1.25rem;
  }

  .points {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }

  .tour {
    grid-template-columns: 1.4fr 1fr;
    align-items: end;
  }

  .tour__links { justify-content: flex-end; }

  .foot__inner {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .foot__legal { grid-column: 1 / -1; }
}

@media (min-width: 861px) {
  .nav-check,
  .nav-toggle { display: none; }

  .nav {
    display: flex;
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 1.6rem;
    padding: 0;
    background: none;
  }

  .nav a {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0;
    color: #b9b6c2;
  }

  .nav a[aria-current="page"],
  .nav a:hover { color: #fff; }
}

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