:root {
  --ink: #f6f8fb;
  --muted: #9aa8ba;
  --muted-bright: #c5ceda;
  --night: #02050a;
  --night-raised: #07101d;
  --panel: rgba(11, 23, 39, 0.72);
  --line: rgba(156, 183, 221, 0.16);
  --line-bright: rgba(166, 198, 241, 0.3);
  --blue: #0f70ff;
  --blue-bright: #49a0ff;
  --gold: #d89c36;
  --gold-bright: #ffd17a;
  --green: #70c437;
  --purple: #a654e8;
  --radius: 26px;
  --content: 1200px;
  --header-height: 78px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -20%, rgba(25, 74, 130, 0.18), transparent 34rem),
    var(--night);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

:focus-visible {
  outline: 2px solid var(--blue-bright);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  color: #fff;
  background: #0d6eff;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-shell {
  min-height: 100vh;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 50%;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(calc(100% - 40px), var(--content));
  min-height: var(--header-height);
  padding: 0 8px;
  border-bottom: 1px solid transparent;
  transform: translateX(-50%);
  transition:
    min-height 300ms ease,
    border-color 300ms ease,
    background 300ms ease,
    backdrop-filter 300ms ease;
}

.site-header.is-scrolled {
  min-height: 64px;
  padding-inline: 18px;
  border-color: var(--line);
  border-radius: 0 0 18px 18px;
  background: rgba(3, 8, 15, 0.78);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.26);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: max-content;
  font-size: 17px;
  font-weight: 520;
  letter-spacing: -0.025em;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
}

.brand strong {
  color: var(--blue-bright);
  font-weight: 650;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  color: var(--muted-bright);
  font-size: 13px;
  font-weight: 560;
  letter-spacing: 0.01em;
}

.site-nav a,
.site-footer nav a {
  transition: color 180ms ease;
}

.site-nav a:hover,
.site-footer nav a:hover {
  color: #fff;
}

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 15px;
  border: 1px solid var(--line-bright);
  border-radius: 99px;
  color: #e7edf5;
  background: rgba(14, 27, 45, 0.52);
  font-size: 12px;
  font-weight: 620;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    transform 180ms ease;
}

.nav-cta:hover {
  border-color: rgba(75, 159, 255, 0.58);
  background: rgba(21, 47, 78, 0.72);
  transform: translateY(-1px);
}

.nav-cta svg {
  width: 15px;
  fill: currentColor;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(400px, 1.1fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
  min-height: min(960px, 100svh);
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
  padding: calc(var(--header-height) + 70px) 0 90px;
}

.hero::after {
  position: absolute;
  right: 50%;
  bottom: 0;
  left: 50%;
  width: 100vw;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line), transparent);
  transform: translateX(-50%);
  content: "";
}

.ambient {
  position: absolute;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(90px);
}

.ambient-blue {
  top: 10%;
  right: -14%;
  width: 660px;
  height: 660px;
  background: rgba(20, 104, 233, 0.16);
}

.ambient-gold {
  top: 34%;
  right: 29%;
  width: 180px;
  height: 180px;
  background: rgba(213, 147, 45, 0.1);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-bottom: 24px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--gold-bright);
  font-size: 11px;
  font-weight: 680;
  letter-spacing: 0.19em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow > span {
  width: 22px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2 {
  margin: 0;
  font-weight: 580;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

h1 {
  max-width: 620px;
  font-size: clamp(58px, 7.5vw, 104px);
}

h2 {
  font-size: clamp(42px, 5.4vw, 76px);
}

h1 em,
h2 em {
  color: transparent;
  background: linear-gradient(115deg, #f8fbff 5%, #8ab7e9 54%, #397cd0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-family: ui-serif, "New York", Georgia, serif;
  font-weight: 440;
  font-style: italic;
}

.hero-lede {
  max-width: 540px;
  margin: 30px 0 0;
  color: var(--muted-bright);
  font-size: clamp(17px, 1.6vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-top: 34px;
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 202px;
  min-height: 62px;
  padding: 10px 22px;
  border: 1px solid rgba(130, 170, 224, 0.4);
  border-radius: 15px;
  background:
    linear-gradient(150deg, rgba(31, 52, 80, 0.82), rgba(5, 12, 22, 0.88)),
    #07101d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.09),
    0 12px 40px rgba(0, 63, 153, 0.16);
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.app-store-button:hover {
  border-color: rgba(75, 159, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 16px 46px rgba(0, 87, 207, 0.24);
  transform: translateY(-2px);
}

.app-store-button svg {
  width: 28px;
  fill: #fff;
}

.app-store-button > span {
  display: grid;
}

.app-store-button small {
  color: #bbc7d6;
  font-size: 10px;
  font-weight: 520;
  letter-spacing: 0.015em;
  line-height: 1.1;
}

.app-store-button strong {
  margin-top: 3px;
  color: #fff;
  font-size: 20px;
  font-weight: 590;
  letter-spacing: -0.025em;
  line-height: 1.05;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--muted-bright);
  font-size: 14px;
  font-weight: 580;
}

.text-link svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  transition: transform 180ms ease;
}

.text-link:hover {
  color: #fff;
}

.text-link:hover svg {
  transform: translateX(3px);
}

.platform-note {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0;
  color: #6f7e91;
  font-size: 12px;
}

.platform-note span {
  color: var(--blue-bright);
  font-size: 8px;
  text-shadow: 0 0 12px var(--blue);
}

.hero-visual {
  position: relative;
  z-index: 1;
  align-self: end;
  justify-self: center;
  width: min(100%, 560px);
  height: min(760px, calc(100svh - 130px));
  min-height: 590px;
}

.hero-halo {
  position: absolute;
  top: 45%;
  left: 48%;
  width: 72%;
  aspect-ratio: 1;
  border: 1px solid rgba(54, 142, 255, 0.18);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 108, 222, 0.18), transparent 64%);
  box-shadow:
    0 0 0 70px rgba(26, 87, 174, 0.025),
    0 0 0 150px rgba(26, 87, 174, 0.018);
  transform: translate(-50%, -50%);
}

.device {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(172, 198, 231, 0.34);
  background: #04080e;
  box-shadow:
    inset 0 0 0 4px rgba(105, 122, 143, 0.12),
    inset 0 0 0 7px #020409,
    0 42px 90px rgba(0, 0, 0, 0.64),
    0 0 100px rgba(20, 98, 217, 0.12);
}

.device-phone {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: min(68%, 372px);
  border-radius: 52px;
  transform: translateX(-50%) rotate(1.4deg);
}

.device-phone::before {
  position: absolute;
  z-index: 4;
  top: 16px;
  left: 50%;
  width: 35%;
  height: 25px;
  border-radius: 99px;
  background: #000;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.035);
  transform: translateX(-50%);
  content: "";
}

.device-screen {
  width: 100%;
  height: 100%;
}

.screenshot-frame {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 28%, rgba(15, 98, 210, 0.2), transparent 34%),
    linear-gradient(160deg, #0a1626, #02060c 62%);
}

.screenshot-frame > img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.screenshot-frame.is-missing > img {
  display: none;
}

.screenshot-placeholder {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 16px;
  color: #6e8199;
  font-size: 12px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.screenshot-placeholder img {
  width: min(34%, 138px);
  aspect-ratio: 1;
  border-radius: 28px;
  opacity: 0.35;
}

.signal-card {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 12px 14px;
  border: 1px solid rgba(151, 182, 222, 0.26);
  border-radius: 15px;
  background: rgba(8, 18, 31, 0.78);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 18px 35px rgba(0, 0, 0, 0.44);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}

.signal-card-top {
  top: 17%;
  right: -2%;
}

.signal-card-bottom {
  bottom: 12%;
  left: -8%;
}

.signal-card div {
  display: grid;
}

.signal-card small {
  color: #76869a;
  font-size: 9px;
  line-height: 1.3;
}

.signal-card strong {
  color: #dbe5f1;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.signal-dot {
  width: 10px;
  height: 10px;
  border: 2px solid rgba(114, 213, 52, 0.68);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 15px rgba(112, 196, 55, 0.75);
}

.signal-value {
  margin-left: 10px;
  color: var(--green);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 11px;
}

.signal-card svg {
  width: 24px;
  fill: none;
  stroke: var(--gold-bright);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.scroll-cue {
  position: absolute;
  bottom: 26px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #59697d;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.scroll-cue svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  animation: nudge 2s ease-in-out infinite;
}

@keyframes nudge {
  0%, 100% { transform: translateY(-2px); }
  50% { transform: translateY(3px); }
}

.instrument-section,
.studio-section,
.principles-section {
  width: min(calc(100% - 48px), var(--content));
  margin: 0 auto;
}

.instrument-section {
  padding: clamp(110px, 14vw, 190px) 0 70px;
}

.section-heading.centered {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading.centered > p:last-child {
  max-width: 650px;
  margin: 28px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.fretboard-showcase {
  position: relative;
  max-width: 980px;
  margin: clamp(64px, 9vw, 112px) auto 0;
  padding: 0 clamp(0px, 3vw, 40px);
}

.showcase-glow {
  position: absolute;
  top: 12%;
  right: 12%;
  bottom: 10%;
  left: 12%;
  border-radius: 50%;
  background: rgba(11, 92, 209, 0.18);
  filter: blur(90px);
}

.device-tablet {
  width: 100%;
  aspect-ratio: 1.42;
  border-radius: 42px;
}

.device-tablet .device-screen {
  padding: 14px;
}

.device-tablet .screenshot-frame {
  border-radius: 30px;
}

.device-camera {
  position: absolute;
  z-index: 4;
  top: 7px;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0b1724;
  box-shadow: inset 0 0 0 2px #02050a;
  transform: translateX(-50%);
}

.tone-legend {
  position: absolute;
  z-index: 5;
  bottom: 30px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 28px);
  padding: 13px 18px;
  border: 1px solid var(--line-bright);
  border-radius: 99px;
  background: rgba(5, 12, 22, 0.82);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.38);
  color: #aab7c6;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
  transform: translateX(-50%);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

.tone-legend span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.tone {
  width: 11px;
  height: 11px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 12px currentColor;
}

.tone.root { color: var(--gold); }
.tone.third { color: var(--green); }
.tone.fifth { color: var(--blue-bright); }
.tone.seventh { color: var(--purple); }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: min(calc(100% - 48px), var(--content));
  margin: 56px auto 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-card {
  position: relative;
  min-height: 354px;
  padding: 36px 30px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(12, 24, 40, 0.24), transparent);
  transition: background 260ms ease;
}

.feature-card:last-child {
  border-right: 0;
}

.feature-card:hover {
  background: linear-gradient(180deg, rgba(18, 47, 79, 0.42), rgba(7, 16, 28, 0.2));
}

.feature-number {
  position: absolute;
  top: 30px;
  right: 24px;
  color: #3e4c5e;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.feature-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 64px;
  border: 1px solid rgba(55, 140, 255, 0.3);
  border-radius: 15px;
  color: var(--blue-bright);
  background: rgba(17, 68, 135, 0.13);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.feature-icon svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.feature-card h3 {
  margin: 0;
  color: #edf3fa;
  font-size: 18px;
  font-weight: 610;
  letter-spacing: -0.025em;
}

.feature-card p {
  margin: 13px 0 0;
  color: #8695a8;
  font-size: 13px;
  line-height: 1.7;
}

.studio-section {
  display: grid;
  grid-template-columns: minmax(290px, 0.75fr) minmax(0, 1.25fr);
  align-items: center;
  gap: clamp(50px, 9vw, 120px);
  padding: clamp(120px, 15vw, 210px) 0;
}

.studio-copy > p:not(.eyebrow) {
  max-width: 480px;
  margin: 27px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.feature-selector {
  display: grid;
  gap: 2px;
  margin-top: 42px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(8, 17, 29, 0.54);
}

.feature-selector button {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 50px;
  padding: 0 16px;
  border: 0;
  border-radius: 13px;
  color: #7d8da1;
  background: transparent;
  cursor: pointer;
  text-align: left;
  transition:
    color 180ms ease,
    background 180ms ease;
}

.feature-selector button:hover {
  color: #e7edf6;
}

.feature-selector button[aria-selected="true"] {
  color: #fff;
  background: linear-gradient(90deg, rgba(24, 77, 147, 0.38), rgba(12, 28, 49, 0.5));
  box-shadow: inset 0 0 0 1px rgba(84, 152, 239, 0.18);
}

.feature-selector button span {
  color: var(--gold-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.studio-preview {
  position: relative;
  min-width: 0;
}

.studio-preview::before {
  position: absolute;
  top: -18%;
  right: -12%;
  bottom: -18%;
  left: -12%;
  background: radial-gradient(circle, rgba(18, 102, 219, 0.18), transparent 62%);
  filter: blur(45px);
  content: "";
}

.studio-screen {
  position: relative;
  animation: panel-in 480ms var(--ease) both;
}

@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.studio-screen .screenshot-frame {
  aspect-ratio: 1.42;
  border: 1px solid rgba(160, 190, 228, 0.32);
  border-radius: 25px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.025),
    0 30px 80px rgba(0, 0, 0, 0.6);
}

.studio-screen > p {
  margin: 17px 0 0;
  color: #77879a;
  font-size: 12px;
}

.studio-screen > p span {
  margin-right: 6px;
  color: var(--gold-bright);
  font-weight: 610;
}

.principles-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(60px, 10vw, 140px);
  padding: 20px 0 clamp(120px, 15vw, 190px);
}

.principles-list {
  border-top: 1px solid var(--line);
}

.principle {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 20px;
  padding: 31px 0;
  border-bottom: 1px solid var(--line);
}

.principle > span {
  padding-top: 5px;
  color: var(--gold-bright);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px;
}

.principle h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.principle p {
  margin: 9px 0 0;
  color: #7e8da0;
  font-size: 14px;
  line-height: 1.65;
}

.release-section {
  position: relative;
  overflow: hidden;
  width: min(calc(100% - 32px), 1380px);
  min-height: 690px;
  margin: 0 auto 24px;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    radial-gradient(circle at 50% 20%, rgba(15, 105, 235, 0.18), transparent 38%),
    linear-gradient(180deg, rgba(9, 22, 38, 0.88), rgba(3, 8, 15, 0.96));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.release-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 690px;
  padding: 80px 24px;
  text-align: center;
}

.release-content > img {
  width: 174px;
  height: 174px;
  margin-bottom: 16px;
  border-radius: 36px;
}

.release-content .eyebrow {
  justify-content: center;
}

.release-content > p:not(.eyebrow) {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.app-store-button-large {
  margin-top: 30px;
}

.release-note {
  margin-top: 14px;
  color: #5e6e82;
  font-size: 10px;
}

.release-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border: 1px solid rgba(66, 148, 255, 0.12);
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.ring-one {
  width: 660px;
  height: 660px;
}

.ring-two {
  width: 1000px;
  height: 1000px;
  border-color: rgba(66, 148, 255, 0.06);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 48px), var(--content));
  min-height: 130px;
  margin: 0 auto;
  color: #6f7e91;
  font-size: 12px;
}

.site-footer .brand {
  color: #d7e0eb;
}

.site-footer .brand img {
  width: 38px;
  height: 38px;
}

.site-footer p {
  margin: 0;
  text-align: center;
}

.site-footer nav {
  justify-self: end;
  display: flex;
  gap: 20px;
}

.site-footer > small {
  grid-column: 1 / -1;
  padding-bottom: 25px;
  color: #3e4a5a;
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 800ms var(--ease),
    transform 800ms var(--ease);
}

.reveal[data-delay="1"] { transition-delay: 90ms; }
.reveal[data-delay="2"] { transition-delay: 180ms; }
.reveal[data-delay="3"] { transition-delay: 270ms; }

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Privacy and error pages */
.simple-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 80% 5%, rgba(16, 103, 231, 0.15), transparent 35rem),
    var(--night);
}

.simple-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 48px), 920px);
  min-height: 82px;
  margin: 0 auto;
  border-bottom: 1px solid var(--line);
}

.simple-header > a:last-child {
  color: #96a6b9;
  font-size: 13px;
}

.simple-content {
  width: min(calc(100% - 48px), 760px);
  margin: 0 auto;
  padding: 100px 0 140px;
}

.simple-content h1 {
  font-size: clamp(48px, 8vw, 82px);
}

.simple-content .intro {
  margin: 28px 0 64px;
  color: var(--muted-bright);
  font-size: 19px;
  line-height: 1.65;
}

.policy-section {
  padding: 31px 0;
  border-top: 1px solid var(--line);
}

.policy-section h2 {
  margin: 0;
  font-size: 23px;
  letter-spacing: -0.025em;
}

.policy-section p,
.policy-section li {
  color: #8c9cae;
  font-size: 15px;
  line-height: 1.75;
}

.policy-section ul {
  padding-left: 20px;
}

.last-updated {
  margin-top: 50px;
  color: #536174;
  font-size: 12px;
}

.error-content {
  display: grid;
  place-content: center;
  justify-items: center;
  min-height: calc(100vh - 82px);
  padding: 80px 24px;
  text-align: center;
}

.error-code {
  color: transparent;
  background: linear-gradient(135deg, #fff, #3288ed);
  -webkit-background-clip: text;
  background-clip: text;
  font-size: clamp(120px, 24vw, 260px);
  font-weight: 700;
  letter-spacing: -0.09em;
  line-height: 0.8;
}

.error-content h1 {
  margin-top: 40px;
  font-size: clamp(35px, 6vw, 58px);
}

.error-content p {
  max-width: 460px;
  margin: 20px auto 30px;
  color: var(--muted);
}

.back-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  padding: 0 22px;
  border: 1px solid var(--line-bright);
  border-radius: 99px;
  background: rgba(14, 38, 66, 0.5);
}

@media (max-width: 980px) {
  .hero {
    grid-template-columns: minmax(0, 0.85fr) minmax(340px, 1.15fr);
    gap: 24px;
  }

  .hero-visual {
    height: min(680px, calc(100svh - 145px));
  }

  .signal-card-top { right: -4%; }
  .signal-card-bottom { left: -2%; }

  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .feature-card:nth-child(2) {
    border-right: 0;
  }

  .feature-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .studio-section {
    grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
    gap: 44px;
  }
}

@media (max-width: 760px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    width: calc(100% - 24px);
  }

  .site-nav {
    display: none;
  }

  .nav-cta {
    min-height: 36px;
    padding: 0 13px;
  }

  .brand span {
    font-size: 15px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 54px;
    min-height: auto;
    width: calc(100% - 36px);
    padding: 138px 0 88px;
    text-align: center;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero .eyebrow {
    justify-content: center;
  }

  .hero-lede {
    max-width: 560px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 20px;
  }

  .hero-visual {
    width: 100%;
    max-width: 470px;
    height: 690px;
    min-height: 0;
  }

  .device-phone {
    width: min(72%, 340px);
  }

  .signal-card-top { right: 1%; }
  .signal-card-bottom { left: 1%; }

  .scroll-cue {
    display: none;
  }

  .instrument-section,
  .studio-section,
  .principles-section,
  .feature-grid {
    width: calc(100% - 36px);
  }

  .instrument-section {
    padding-top: 110px;
  }

  .device-tablet {
    aspect-ratio: 0.88;
    border-radius: 32px;
  }

  .device-tablet .device-screen {
    padding: 10px;
  }

  .device-tablet .screenshot-frame {
    border-radius: 23px;
  }

  .tone-legend {
    bottom: 20px;
    max-width: calc(100% - 40px);
    gap: 13px;
    overflow-x: auto;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 300px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-card:last-child {
    border-bottom: 0;
  }

  .feature-card:nth-child(-n+2) {
    border-bottom: 1px solid var(--line);
  }

  .feature-icon {
    margin-bottom: 48px;
  }

  .studio-section,
  .principles-section {
    grid-template-columns: 1fr;
  }

  .studio-section {
    gap: 60px;
    padding: 120px 0;
  }

  .feature-selector {
    grid-template-columns: repeat(3, 1fr);
  }

  .feature-selector button {
    justify-content: center;
    gap: 6px;
    padding: 0 9px;
    font-size: 12px;
  }

  .studio-screen .screenshot-frame {
    aspect-ratio: 0.82;
  }

  .principles-section {
    gap: 55px;
  }

  .release-section {
    width: calc(100% - 20px);
    border-radius: 28px;
  }

  .release-content,
  .release-section {
    min-height: 650px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    justify-items: center;
    width: calc(100% - 36px);
    padding: 48px 0 15px;
    text-align: center;
  }

  .site-footer .brand,
  .site-footer nav {
    justify-self: center;
  }
}

@media (max-width: 430px) {
  .nav-cta span {
    display: none;
  }

  .nav-cta {
    min-width: 38px;
    justify-content: center;
    padding: 0;
  }

  .hero-visual {
    height: 610px;
  }

  .device-phone {
    width: 76%;
    border-radius: 45px;
  }

  .signal-card {
    transform: scale(0.87);
  }

  .signal-card-top {
    right: 0;
    transform-origin: right center;
  }

  .signal-card-bottom {
    left: 0;
    transform-origin: left center;
  }

  .tone-legend {
    font-size: 9px;
  }

  .feature-selector button span {
    display: none;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
