/* Soul Studio website. The palette is the logo's and nothing else (docs/BRAND.md): navy, white, crimson, made darker,
   lighter or see-through. Every glow is white; crimson is a solid mark, never a wash or a fade.
   tests/website/website.test.mjs fails on any colour outside the palette. */

@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-latin-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  --navy: #101820;
  --navy-deep: #0b1218;
  --navy-black: #070c11;
  --navy-raised: #151f29;
  --navy-panel: #1c2834;
  --navy-line: #2a3a4a;
  --navy-mist: #8a9aab;
  --navy-light: #c3ccd5;
  --white: #ffffff;
  --black: #000000;
  --crimson: #c8102e;
  --crimson-deep: #8c0b20;
  --crimson-lit: #ec1337;

  --text: var(--white);
  --text-2: rgba(255, 255, 255, 0.68);
  --text-3: rgba(255, 255, 255, 0.46);
  --line: rgba(255, 255, 255, 0.09);
  --line-strong: rgba(255, 255, 255, 0.16);
  --glow: rgba(255, 255, 255, 0.07);

  /* The faceplate craft of Soul Tune's window (renderer/plugins/ui/tune.css, built from Soul Tune Pro's approved
     boards in docs/soul-tune/pro-design) with the soul skin's values (renderer/plugins/plugins.css): bevelled panels
     with corner screws, glass over every display, engraved labels, keycaps with a lamp, recessed pill tracks whose
     chosen segment is solid crimson, lit value badges. Same values as the app, so the site wears the app's craft. */
  --panel-hi: #141e28;
  --panel-lo: #0d151c;
  --well: #0a1016;
  --groove: #000000;
  --ring: #16212b;
  --cap-ring: #5d6d7c;
  --lamp-off: #1e2b37;
  --glass-edge: #1e2b37;
  --engrave: #000000;
  --dim: #969ba0;
  --cap-hi: #7d8b99;
  --cap-lo: #1d252e;
  --trim: #c3ccd5;
  --screw-hi: radial-gradient(circle closest-side at 38% 34%, var(--cap-hi), transparent);
  --screw-lo: radial-gradient(circle closest-side, var(--cap-lo) 70%, var(--black) 88%, transparent);
  --bevel: inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 0 0 1px var(--ring), 0 12px 28px rgba(0, 0, 0, 0.5);

  --font: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 48px);
  --max: 1240px;
  --radius: 14px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  background: var(--navy);
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--navy);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img,
canvas {
  display: block;
  max-width: 100%;
}
a {
  color: inherit;
}
h1,
h2,
h3 {
  margin: 0;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
p {
  margin: 0;
}
::selection {
  background: var(--crimson);
  color: var(--white);
}
:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--white);
  color: var(--navy);
  font-weight: 700;
  border-radius: 8px;
  text-decoration: none;
}
.skip:focus {
  top: 16px;
}

/* ---------- shared pieces ---------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  text-shadow: 0 1px 0 var(--engrave);
}
.eyebrow::before {
  content: "";
  width: 4px;
  height: 14px;
  border-radius: 1px;
  background: var(--crimson);
}
/* the engraved hairline the boards draw after a panel's label */
.eyebrow::after {
  content: "";
  width: 56px;
  height: 1px;
  background: var(--groove);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.hero .eyebrow::before {
  display: none;
}
.hero .eyebrow::after {
  display: none;
}
.lamp {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 10px 2px rgba(255, 255, 255, 0.45);
}
.lamp--rec {
  background: var(--crimson-lit);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.08), 0 0 14px 2px rgba(255, 255, 255, 0.28);
  animation: blink 1.6s steps(1) infinite;
}
@keyframes blink {
  50% {
    background: var(--crimson-deep);
  }
}

/* Buttons are keycaps (the boards' A/B and Presets): a sheen on top, a dark lip at the foot, a lamp bar under the
   lettering. The primary keycap is the chosen segment's solid crimson. */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 26px 5px;
  border: 1px solid var(--groove);
  border-radius: 12px;
  background-color: var(--panel-hi);
  background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 55%);
  color: var(--white);
  font: 800 13px/1 var(--font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -3px 0 rgba(0, 0, 0, 0.4), 0 0 0 1px var(--cap-ring),
    0 4px 10px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.2s, box-shadow 0.2s;
}
.btn::after {
  /* the lamp */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 34%;
  max-width: 44px;
  height: 3px;
  border-radius: 2px;
  transform: translateX(-50%);
  background: var(--black);
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.06);
  transition: background 0.2s, box-shadow 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), inset 0 -3px 0 rgba(0, 0, 0, 0.4), 0 0 0 1px var(--dim),
    0 6px 14px rgba(0, 0, 0, 0.55);
}
.btn:hover::after,
.btn--primary::after {
  background: var(--white);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.85), 0 0 14px rgba(255, 255, 255, 0.35);
}
.btn:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08), inset 0 -2px 0 rgba(0, 0, 0, 0.4), 0 0 0 1px var(--cap-ring),
    0 1px 3px rgba(0, 0, 0, 0.6);
}
.btn--sm {
  min-height: 40px;
  padding: 0 18px 4px;
  font-size: 12px;
  border-radius: 10px;
}
.btn--sm::after {
  bottom: 5px;
  height: 2px;
}
.btn--block {
  width: 100%;
}
.btn--primary {
  background-color: var(--crimson);
  background-image: none;
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 1px 0 var(--crimson-lit), inset 0 -3px 0 rgba(0, 0, 0, 0.3), 0 0 0 1px var(--black),
    0 4px 12px rgba(0, 0, 0, 0.6);
}
.btn--primary:hover {
  background-color: var(--crimson-lit);
  box-shadow: inset 0 1px 0 var(--crimson-lit), inset 0 -3px 0 rgba(0, 0, 0, 0.3), 0 0 0 1px var(--black),
    0 8px 28px -6px rgba(255, 255, 255, 0.28);
}
.btn--primary:active {
  background-color: var(--crimson-deep);
}

/* Material recipes shared by the sections below. */
.screwed {
  position: relative;
}
.screwed::after {
  content: "";
  position: absolute;
  inset: 9px;
  z-index: 2;
  pointer-events: none;
  background: var(--screw-hi) left top / 8px 8px no-repeat, var(--screw-lo) left top / 8px 8px no-repeat,
    var(--screw-hi) right top / 8px 8px no-repeat, var(--screw-lo) right top / 8px 8px no-repeat,
    var(--screw-hi) left bottom / 8px 8px no-repeat, var(--screw-lo) left bottom / 8px 8px no-repeat,
    var(--screw-hi) right bottom / 8px 8px no-repeat, var(--screw-lo) right bottom / 8px 8px no-repeat;
}
/* A recessed pill track; its chosen segment is solid crimson with a lit lamp dot (the boards' character switch). */
.track {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 3px;
  padding: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--black), var(--panel-lo));
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8), inset 0 0 0 1px var(--cap-ring), 0 1px 0 rgba(255, 255, 255, 0.06);
}
.track > button,
.track > a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background-color: transparent;
  color: var(--dim);
  font: 800 12px/1 var(--font);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  text-shadow: 0 1px 0 var(--engrave);
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.track > button::before,
.track > a::before {
  content: "";
  flex: none;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lamp-off);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(0, 0, 0, 0.8);
  transition: background 0.2s, box-shadow 0.2s;
}
.track > :hover {
  color: var(--white);
}
.track > [aria-checked="true"],
.track > [aria-pressed="true"],
.track > [aria-selected="true"],
.track > .is-active {
  background-color: var(--crimson);
  background-image: none;
  color: var(--white);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
  box-shadow: inset 0 1px 0 var(--crimson-lit), inset 0 -2px 0 rgba(0, 0, 0, 0.3), 0 2px 6px rgba(0, 0, 0, 0.6);
}
.track > [aria-checked="true"]::before,
.track > [aria-pressed="true"]::before,
.track > [aria-selected="true"]::before,
.track > .is-active::before {
  background: var(--white);
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
}
.track > :focus-visible {
  outline: 2px solid var(--white);
  outline-offset: -2px;
}
/* A lit badge: a small pill of glass with a lit dot (the boards' knob values). */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--black), var(--well));
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9), inset 0 0 0 1px var(--glass-edge), 0 1px 0 rgba(255, 255, 255, 0.06);
  font: 700 11px/1 var(--font);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  font-variant-numeric: tabular-nums;
}
.badge::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--white);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}

.ticks {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.ticks li {
  position: relative;
  padding-left: 26px;
  color: var(--text-2);
}
.ticks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 12px;
  height: 2px;
  background: var(--crimson);
}

/* ---------- navigation ---------- */

/* The name plate band across the top of every board: a crimson rail, a bevelled band, the product's name engraved. */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-top: 3px solid var(--crimson);
  border-bottom: 1px solid var(--groove);
  background: linear-gradient(180deg, rgba(20, 30, 40, 0.9), rgba(13, 21, 28, 0.9));
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 1px 0 rgba(255, 255, 255, 0.04), 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: box-shadow 0.3s;
}
.nav.is-scrolled {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 1px 0 rgba(255, 255, 255, 0.04), 0 14px 40px rgba(0, 0, 0, 0.6);
}
.nav__inner {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  padding: 11px var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  margin-right: auto;
}
.nav__brand img {
  height: 24px;
  width: auto;
}
.nav__product {
  padding-left: 16px;
  border-left: 1px solid var(--groove);
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.06);
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 var(--engrave);
}
.nav__links.track > a {
  min-height: 34px;
  padding: 0 14px;
  font-size: 11px;
  gap: 8px;
}
.nav__links.track > a::before {
  width: 6px;
  height: 6px;
}
.nav__sheet a:not(.btn) {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  text-decoration: none;
}
.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--groove);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 55%), var(--panel-hi);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -3px 0 rgba(0, 0, 0, 0.4), 0 0 0 1px var(--cap-ring);
  cursor: pointer;
  position: relative;
}
.nav__toggle span {
  position: absolute;
  left: 12px;
  right: 12px;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s var(--ease);
}
.nav__toggle span:first-child {
  top: 17px;
}
.nav__toggle span:last-child {
  top: 25px;
}
.nav__toggle[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}
.nav__sheet {
  display: grid;
  gap: 18px;
  padding: 8px var(--gutter) 28px;
  border-top: 1px solid var(--groove);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.nav__sheet[hidden] {
  display: none;
}
.nav__sheet a:not(.btn) {
  font-size: 20px;
  color: var(--white);
}

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

.hero {
  position: relative;
  padding: 150px var(--gutter) 0;
  overflow: hidden;
  isolation: isolate;
}
.hero__field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 30%;
  z-index: -1;
  background: linear-gradient(to bottom, rgba(16, 24, 32, 0), var(--navy));
  pointer-events: none;
}
.hero__copy {
  max-width: var(--max);
  margin: 0 auto;
  text-align: center;
}
.hero__title {
  font-size: clamp(56px, 11.5vw, 168px);
  font-weight: 900;
  line-height: 0.88;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.hero__title .line {
  display: block;
}
.hero__title em {
  font-style: normal;
  color: var(--crimson);
}
.hero__lede {
  max-width: 640px;
  margin: 30px auto 0;
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--text-2);
}
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 36px;
}

/* the reveal for hero lines and sections */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* ---------- the product window ---------- */

.stage {
  max-width: 1320px;
  margin: 72px auto 0;
  perspective: 1800px;
}
.hero__badge {
  padding: 8px 16px 8px 14px;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--white);
}
.hero__badge .lamp {
  width: 7px;
  height: 7px;
}

/* The product window: the real Edit window, captured from the app, mounted under glass in a bevelled unit with four
   screws and the crimson rail along its top. */
.window {
  margin: 0;
  transform: rotateX(18deg) scale(0.96);
  transform-origin: 50% 0;
  padding: 0 22px 12px;
  border: 1px solid var(--groove);
  border-radius: 18px;
  background: linear-gradient(180deg, var(--panel-hi), var(--panel-lo));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 0 0 1px var(--ring), 0 60px 140px -40px rgba(255, 255, 255, 0.16),
    0 40px 80px -20px rgba(0, 0, 0, 0.8);
  will-change: transform;
}
.window::before {
  /* the crimson rail along the top */
  content: "";
  display: block;
  height: 3px;
  margin: 0 -22px 22px;
  border-radius: 18px 18px 0 0;
  background: var(--crimson);
}
.window__glass {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 0 1px var(--groove), 0 1px 0 1px rgba(255, 255, 255, 0.05);
}
.window__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.9), inset 0 0 0 1px var(--ring);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 35%);
}
.window__shot {
  width: 100%;
  height: auto;
}
.window__caption {
  padding: 12px 4px 0;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-align: center;
  color: var(--dim);
  text-shadow: 0 1px 0 var(--engrave);
}

/* ---------- proof strip ---------- */

/* A rack unit: one bevelled panel, four glass readouts, each with its engraved label. */
.proof {
  max-width: var(--max);
  margin: 110px auto 0;
  padding: 0 var(--gutter);
}
.proof__panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 26px 30px;
  border: 1px solid var(--groove);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-hi), var(--panel-lo));
  box-shadow: var(--bevel);
}
.proof__item {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  min-height: 132px;
  padding: 18px 20px 16px;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 35%), var(--well);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.9), inset 0 0 0 1px var(--ring), 0 0 0 1px var(--groove),
    0 1px 0 1px rgba(255, 255, 255, 0.05);
}
.proof__item b {
  display: block;
  font-size: clamp(34px, 3.6vw, 50px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.35);
}
.proof__item:last-child b {
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: 0.02em;
  line-height: 1.3;
}
.proof__item span {
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
  color: var(--dim);
}

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

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(96px, 12vw, 160px) var(--gutter) 0;
}
.section__head {
  max-width: 760px;
  margin-bottom: 56px;
}
.section h2 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.045em;
}
.section__lede {
  margin-top: 22px;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--text-2);
  max-width: 640px;
}

/* ---------- studio tour ---------- */

.tour {
  border: 1px solid var(--groove);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-hi), var(--panel-lo));
  box-shadow: var(--bevel);
}
.tour__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  padding: 18px 30px;
  border-bottom: 1px solid var(--groove);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}
.tour__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--dim);
  text-shadow: 0 1px 0 var(--engrave);
}
.tour__tabs.track {
  margin-left: auto;
}
.tour__tabs.track > button {
  min-height: 44px;
  font-size: 12px;
}
.tour__tabs button span {
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.7;
}
.tour__panel {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: center;
}
.tour__copy {
  padding: clamp(28px, 4vw, 48px);
  border-right: 1px solid var(--groove);
  box-shadow: 1px 0 0 rgba(255, 255, 255, 0.04);
}
.tour__copy h3 {
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 900;
}
.tour__copy p {
  margin-top: 18px;
  color: var(--text-2);
}
.tour__copy article:not([hidden]) {
  animation: fade-up 0.6s var(--ease);
}
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}
.tour__view {
  position: relative;
  align-self: center;
  margin: 18px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--well);
  box-shadow: 0 0 0 1px var(--groove), 0 1px 0 1px rgba(255, 255, 255, 0.05);
}
.tour__view::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 35%);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.9), inset 0 0 0 1px var(--ring);
}
.tour__view {
  aspect-ratio: 1600 / 1131;
}
.tour__view img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
}
.tour__view img:not([hidden]) {
  animation: fade-up 0.5s var(--ease);
}

/* ---------- plug-ins ---------- */

.filters {
  margin-bottom: 28px;
}
.filters button small {
  font-size: 10px;
  letter-spacing: 0.04em;
  opacity: 0.7;
}
.rack {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr));
  gap: 18px;
}
/* Each plug-in is shown by its own window, captured from Soul Studio, under glass in a bevelled panel. */
.plate {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--groove);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-hi), var(--panel-lo));
  box-shadow: var(--bevel);
  transition: transform 0.35s var(--ease), box-shadow 0.35s;
}
.plate:hover {
  transform: translateY(-4px);
  box-shadow: var(--bevel), 0 24px 60px -20px rgba(255, 255, 255, 0.18);
}
.plate__glass {
  position: relative;
  aspect-ratio: 3 / 2;
  margin: 22px 22px 0;
  border-radius: 10px;
  overflow: hidden;
  background: var(--well);
  box-shadow: 0 0 0 1px var(--groove), 0 1px 0 1px rgba(255, 255, 255, 0.05);
}
.plate__glass::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 35%);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.9), inset 0 0 0 1px var(--ring);
}
.plate__glass img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.plate__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 18px 24px 26px;
}
.plate h3 {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 var(--engrave);
}
.plate p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-2);
}

/* ---------- split (Soul Host) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.split__art {
  position: relative;
  aspect-ratio: 1 / 0.86;
  border: 1px solid var(--groove);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-hi), var(--panel-lo));
  box-shadow: var(--bevel);
}
.split__art canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  position: relative;
  padding: 34px 28px 34px;
  border: 1px solid var(--groove);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-hi), var(--panel-lo));
  box-shadow: var(--bevel);
  transition: transform 0.3s var(--ease);
}
.card:hover {
  transform: translateY(-3px);
}
.card__mark {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  text-shadow: 0 1px 0 var(--engrave);
}
.card__mark::before {
  content: "";
  width: 4px;
  height: 14px;
  border-radius: 1px;
  background: var(--crimson);
}
.card__mark::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--groove);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.04);
}
.card h3 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.card p {
  margin-top: 12px;
  font-size: 15px;
  color: var(--text-2);
}

/* ---------- Own It ---------- */

.own {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: center;
}
.price {
  position: relative;
  padding: clamp(28px, 4vw, 44px);
  border: 1px solid var(--groove);
  border-top: 3px solid var(--crimson);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-hi), var(--panel-lo));
  box-shadow: var(--bevel), 0 50px 120px -40px rgba(255, 255, 255, 0.14);
}
.price__label {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dim);
  text-shadow: 0 1px 0 var(--engrave);
}
.price__amount {
  margin-top: 18px;
  white-space: nowrap;
  font-size: clamp(48px, 5.6vw, 80px);
  font-weight: 900;
  letter-spacing: -0.05em;
  line-height: 1;
}
.price__cur {
  font-size: 0.32em;
  vertical-align: 0.95em;
  margin-right: 6px;
  letter-spacing: 0;
  color: var(--text-2);
}
.price__per {
  margin-left: 8px;
  font-size: 0.24em;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--text-2);
}
.price__term {
  margin-top: 12px;
  font-size: 18px;
  font-weight: 700;
}
.meter12 {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 5px;
  margin: 28px 0 0;
  padding: 0;
}
.meter12 li {
  position: relative;
  height: 38px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 7px;
  border: 1px solid var(--groove);
  border-radius: 7px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0) 55%), var(--panel-hi);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -3px 0 rgba(0, 0, 0, 0.4), 0 0 0 1px var(--ring),
    0 3px 6px rgba(0, 0, 0, 0.5);
  font: 800 10px var(--font);
  color: var(--dim);
  text-shadow: 0 1px 0 var(--engrave);
  transition: color 0.25s;
}
.meter12 li::after {
  /* the lamp */
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  width: 12px;
  height: 2px;
  margin-left: -6px;
  border-radius: 1px;
  background: var(--black);
  transition: background 0.25s, box-shadow 0.25s;
}
.meter12 li.is-paid {
  color: var(--white);
}
.meter12 li.is-paid::after {
  background: var(--white);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.85);
}
.meter12 li.is-paid:last-child {
  background: var(--crimson);
  box-shadow: inset 0 1px 0 var(--crimson-lit), inset 0 -3px 0 rgba(0, 0, 0, 0.3), 0 0 0 1px var(--black),
    0 3px 6px rgba(0, 0, 0, 0.5);
  text-shadow: 0 1px 0 rgba(0, 0, 0, 0.45);
}
.price__owned {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 18px 0 28px;
  font: 800 11px var(--font);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-3);
  transition: color 0.3s;
}
.price__owned .lamp {
  background: var(--navy-line);
  box-shadow: none;
  transition: all 0.3s;
}
.price__owned.is-lit {
  color: var(--white);
}
.price__owned.is-lit .lamp {
  background: var(--white);
  box-shadow: 0 0 12px 3px rgba(255, 255, 255, 0.5);
}
.fine {
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-3);
}

/* ---------- pricing ---------- */

.billing {
  margin-top: 28px;
}
.plans {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}
.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 24px 28px;
  border: 1px solid var(--groove);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-hi), var(--panel-lo));
  box-shadow: var(--bevel);
}
/* The recommended edition carries the crimson rail and plate, as Soul Tune Pro's name plate does. */
.plan--rec {
  border-top: 3px solid var(--crimson);
  box-shadow: var(--bevel), 0 40px 100px -40px rgba(255, 255, 255, 0.2);
}
.plan__badge {
  position: absolute;
  top: -12px;
  left: 24px;
  padding: 5px 9px;
  border-radius: 4px;
  background: var(--crimson);
  box-shadow: inset 0 1px 0 var(--crimson-lit), 0 2px 6px rgba(0, 0, 0, 0.6);
  font: 900 10px/1 var(--font);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
}
.plan__name {
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 var(--engrave);
}
.plan__tag {
  margin-top: 6px;
  font-size: 14px;
  color: var(--text-2);
}
/* The price sits in glass, lit like the boards' Note Meant readout. */
.plan__amount {
  display: flex;
  align-items: baseline;
  min-height: 74px;
  margin-top: 20px;
  padding: 16px 16px 14px;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 35%), var(--well);
  box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.9), inset 0 0 0 1px var(--ring), 0 0 0 1px var(--groove),
    0 1px 0 1px rgba(255, 255, 255, 0.05);
  white-space: nowrap;
  font-size: 38px;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.3);
}
.plan__list {
  margin-top: 20px;
}
.own__title {
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.pricing .own {
  margin-top: clamp(40px, 6vw, 72px);
}
/* A way an edition is not sold (Artist by the month): said in words, at a size that fits the card. */
.plan__amount[data-unsold] {
  align-items: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  white-space: normal;
}
.pricing__promise {
  margin-top: clamp(32px, 5vw, 48px);
  max-width: 760px;
}

/* ---------- roadmap ---------- */

.road {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.road li {
  position: relative;
  padding: 32px 28px 34px;
  border: 1px solid var(--groove);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-hi), var(--panel-lo));
  box-shadow: var(--bevel);
}
/* A stage is a lit badge: lit white while in development, dark while planned or in research. */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--black), var(--well));
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9), inset 0 0 0 1px var(--glass-edge), 0 1px 0 rgba(255, 255, 255, 0.06);
  font: 800 10px/1 var(--font);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
}
.tag::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lamp-off);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.6);
}
.tag--lit {
  color: var(--white);
}
.tag--lit::before {
  background: var(--white);
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.7);
}
.road h3 {
  margin-top: 22px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-shadow: 0 1px 0 var(--engrave);
}
.road p {
  margin-top: 10px;
  font-size: 15px;
  color: var(--text-2);
}

/* ---------- platforms ---------- */

.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.platforms article {
  position: relative;
  padding: 34px 30px;
  border: 1px solid var(--groove);
  border-radius: 14px;
  background: linear-gradient(180deg, var(--panel-hi), var(--panel-lo));
  box-shadow: var(--bevel);
}
.platforms h3 {
  font-size: clamp(30px, 3.4vw, 44px);
  font-weight: 900;
}
.platforms p {
  margin-top: 8px;
  color: var(--text-2);
}
.mono {
  display: inline-flex;
  margin-top: 16px !important;
  padding: 5px 12px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--black), var(--well));
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.9), inset 0 0 0 1px var(--glass-edge), 0 1px 0 rgba(255, 255, 255, 0.06);
  font: 700 12px var(--font);
  letter-spacing: 0.08em;
  color: var(--white) !important;
}

/* ---------- early access ---------- */

.access {
  position: relative;
  margin-top: clamp(110px, 14vw, 180px);
  padding: clamp(96px, 12vw, 160px) var(--gutter);
  border-top: 3px solid var(--crimson);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  background: var(--navy-deep);
}
.access__field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.access__inner {
  max-width: 820px;
  margin: 0 auto;
}
.access h2 {
  font-size: clamp(40px, 6.4vw, 86px);
  font-weight: 900;
  letter-spacing: -0.05em;
  text-transform: uppercase;
  line-height: 0.92;
}
.access .section__lede {
  margin-left: auto;
  margin-right: auto;
}
.signup {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  max-width: 560px;
  margin: 40px auto 0;
}
.signup input {
  flex: 1 1 260px;
  min-height: 52px;
  padding: 0 20px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 35%), var(--well);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.9), inset 0 0 0 1px var(--ring), 0 0 0 1px var(--groove),
    0 1px 0 1px rgba(255, 255, 255, 0.05);
  color: var(--white);
  font: 600 16px var(--font);
}
.signup input::placeholder {
  color: var(--text-3);
}
.signup input:focus {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}
.signup input[aria-invalid="true"] {
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.9), inset 0 0 0 1px var(--crimson-lit), 0 0 0 1px var(--groove);
}
.signup .btn {
  min-height: 52px;
}
.signup__note {
  flex-basis: 100%;
  min-height: 1.6em;
  font-size: 14px;
  color: var(--text-2);
}

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

.footer {
  border-top: 1px solid var(--groove);
  background: linear-gradient(180deg, var(--panel-hi), var(--panel-lo));
  box-shadow: inset 0 2px 0 var(--black), inset 0 3px 0 var(--trim), inset 0 4px 0 rgba(255, 255, 255, 0.06);
}
.footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px var(--gutter) 64px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px 48px;
  align-items: center;
}
.footer__brand img {
  height: 34px;
  width: auto;
}
.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 28px;
}
.footer__links a {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  text-shadow: 0 1px 0 var(--engrave);
}
.footer__links a:hover {
  color: var(--white);
}
.footer__legal {
  grid-column: 1 / -1;
  padding-top: 28px;
  border-top: 1px solid var(--groove);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  font-size: 12px;
  line-height: 1.7;
  color: var(--text-3);
}

/* ---------- responsive ---------- */

@media (max-width: 1080px) {
  .plans {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .road {
    grid-template-columns: repeat(2, 1fr);
  }
  .tour__panel {
    grid-template-columns: 1fr;
  }
  .tour__copy {
    border-right: 0;
    box-shadow: none;
  }
}
@media (max-width: 900px) {
  .nav__links,
  .nav__inner > .btn {
    display: none;
  }
  .nav__toggle {
    display: block;
  }
  .split,
  .own {
    grid-template-columns: 1fr;
  }
  .proof__panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 22px;
  }
}
@media (max-width: 640px) {
  /* A pill track keeps one row on a phone and scrolls sideways, as the app's tracks never wrap. */
  .filters.track,
  .tour__tabs.track {
    flex-wrap: nowrap;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .filters.track::-webkit-scrollbar,
  .tour__tabs.track::-webkit-scrollbar {
    display: none;
  }
  .track > button {
    flex: none;
  }
  /* The rack becomes a row of faceplates to swipe through. */
  .rack {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 86%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 12px;
    scrollbar-width: none;
  }
  .rack::-webkit-scrollbar {
    display: none;
  }
  .plate {
    scroll-snap-align: start;
  }
  .plate:hover {
    transform: none;
  }
  .plans {
    grid-template-columns: 1fr;
  }
  .billing.track > button {
    min-height: 36px;
    padding: 0 12px;
    font-size: 11px;
  }
  body {
    font-size: 16px;
  }
  .hero {
    padding-top: 120px;
  }
  .stage {
    margin-top: 48px;
  }
  .tour__head {
    padding: 16px;
  }
  .tour__tabs.track {
    margin-left: 0;
  }
  .tour__tabs.track > button {
    min-height: 38px;
    padding: 0 12px;
    font-size: 11px;
  }
  .tour__tabs button span {
    display: none;
  }
  .tour__view {
    margin: 0 12px 12px;
  }
  .cards,
  .road,
  .platforms {
    grid-template-columns: 1fr;
  }
  .proof__panel {
    gap: 10px;
    padding: 20px 16px;
  }
  .proof__item {
    min-height: 116px;
    padding: 14px 14px 12px;
  }
  .nav__product {
    display: none;
  }
  .footer__inner {
    grid-template-columns: 1fr;
  }
  .footer__links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
  .window {
    transform: none;
  }
}
.nowrap {
  white-space: nowrap;
}
