:root {
  color-scheme: dark;
  --black: #08090a;
  --panel: #0f1113;
  --panel-2: #151719;
  --line: #2a2d30;
  --white: #f3f0e9;
  --muted: #9c9b96;
  --red: #d51f27;
  --red-dark: #7e1116;
  --green: #50dc8c;
  --display: "Barlow Condensed", Impact, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font-family: var(--mono);
  overflow-x: hidden;
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 76% 18%, rgba(213,31,39,.08), transparent 32%), linear-gradient(90deg, rgba(255,255,255,.012) 1px, transparent 1px);
  background-size: auto, 80px 80px;
  z-index: -2;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .07;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.95' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}

.shell { width: min(1180px, calc(100% - 48px)); margin-inline: auto; }
.site-header {
  width: min(1280px, calc(100% - 40px));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); text-decoration: none; font: 800 20px/1 var(--display); letter-spacing: .07em; }
.brand em { color: var(--red); font-style: normal; }
.brand-mark { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--red); color: var(--red); font-size: 19px; transform: skew(-4deg); }
nav { display: flex; gap: 32px; align-items: center; }
nav a { color: #b7b7b2; text-decoration: none; font: 600 12px/1 var(--mono); letter-spacing: .08em; }
nav a:hover { color: var(--white); }
.nav-cta { padding: 12px 17px; border: 1px solid var(--red); color: var(--white); }

.hero { min-height: 740px; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 40px; padding-block: 60px 80px; }
.hero > *, .listen-grid > *, .plugin-grid > *, .download-section > *, .session-player-grid > * { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: #aaa9a4; text-transform: uppercase; letter-spacing: .14em; font-size: 11px; font-weight: 600; }
.eyebrow span { width: 30px; height: 2px; background: var(--red); }
h1, h2, h3 { margin: 0; font-family: var(--display); text-transform: uppercase; }
h1 { margin-top: 24px; font-size: clamp(68px, 8.2vw, 120px); line-height: .79; letter-spacing: -.045em; font-weight: 900; }
h1 strong { color: var(--red); font-weight: inherit; }
h2 { font-size: clamp(49px, 6vw, 78px); line-height: .86; letter-spacing: -.035em; }
.lede { max-width: 590px; margin: 30px 0; color: #b7b7b2; font-size: 14px; line-height: 1.8; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 0 23px; border: 1px solid transparent; text-decoration: none; color: var(--white); font: 700 13px/1 var(--mono); text-transform: uppercase; letter-spacing: .04em; transition: .2s ease; }
.button-primary { background: var(--red); }
.button-primary:hover { background: #ef2730; transform: translateY(-2px); }
.button-ghost { border-color: #494b4d; background: rgba(255,255,255,.02); }
.button-ghost:hover { border-color: var(--white); }
.hero-specs { display: flex; gap: 30px; margin: 42px 0 0; }
.hero-specs div { padding-left: 14px; border-left: 2px solid #303235; }
.hero-specs dt { font: 800 23px/1 var(--display); }
.hero-specs dd { margin: 6px 0 0; color: #777; font-size: 9px; text-transform: uppercase; }

.pedal-stage { min-height: 620px; position: relative; display: grid; place-items: center; isolation: isolate; }
.pedal-stage::before { content: ""; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(213,31,39,.22), transparent 68%); filter: blur(15px); z-index: -2; }
.pedal-stage::after { content: ""; position: absolute; width: 68%; height: 60px; bottom: 45px; border-radius: 50%; background: rgba(0,0,0,.9); filter: blur(24px); z-index: -1; }
.pedal-stage img { width: min(430px, 84%); max-height: 650px; object-fit: contain; filter: drop-shadow(0 40px 38px rgba(0,0,0,.72)) saturate(1.06) contrast(1.04); transform: rotate(3deg); animation: pedalFloat 5s ease-in-out infinite; }
@keyframes pedalFloat { 0%,100% { transform: rotate(3deg) translateY(0); } 50% { transform: rotate(2.2deg) translateY(-10px); } }
.stage-ring { position: absolute; border: 1px solid rgba(213,31,39,.35); border-radius: 50%; z-index: -1; }
.ring-one { width: 520px; height: 520px; }
.ring-two { width: 620px; height: 620px; border-color: rgba(255,255,255,.06); }
.stage-label { position: absolute; color: #777; font-size: 9px; letter-spacing: .17em; writing-mode: vertical-rl; }
.stage-label-top { right: 2%; top: 15%; }
.stage-label-bottom { left: 3%; bottom: 14%; transform: rotate(180deg); }

.listen-section { padding: 130px 0; background: linear-gradient(180deg, #0d0f11, #090a0b); border-block: 1px solid #202225; }
.listen-grid { display: grid; grid-template-columns: .75fr 1.25fr; align-items: center; gap: 70px; }
.section-copy > p:not(.eyebrow) { color: #aaa9a4; font-size: 13px; line-height: 1.8; }
.section-copy h2 { margin: 24px 0 28px; }
.technical-note { border-left: 2px solid var(--red); padding-left: 14px; color: #71716e !important; font-size: 10px !important; }
.ab-player { border: 1px solid #343639; background: linear-gradient(145deg, #151719, #0d0f10); padding: 24px; box-shadow: 0 30px 80px rgba(0,0,0,.38); }
.player-head { display: flex; align-items: center; justify-content: space-between; color: #aaa9a4; font-size: 10px; }
.status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #cc9b27; margin-right: 8px; box-shadow: 0 0 12px currentColor; }
.status-dot.ready { background: var(--green); }
.mono { font-size: 9px; color: #616360; }
.waveform { display: block; width: 100%; height: 180px; margin: 18px 0; background: #08090a; border: 1px solid #222426; }
.transport-row { display: flex; align-items: center; gap: 18px; }
.play-button { width: 51px; height: 51px; flex: 0 0 auto; border: 1px solid var(--red); border-radius: 50%; background: var(--red); cursor: pointer; }
.play-button:disabled { opacity: .35; cursor: wait; }
.play-icon { display: block; width: 0; height: 0; margin: auto; border-top: 7px solid transparent; border-bottom: 7px solid transparent; border-left: 11px solid white; transform: translateX(2px); }
.play-button.playing .play-icon { width: 12px; height: 14px; border: 0; border-left: 4px solid white; border-right: 4px solid white; transform: none; }
.time-readout { flex: 1; display: grid; grid-template-columns: 55px 1fr 55px; align-items: center; gap: 10px; font-size: 10px; color: #aaa; }
.progress-wrap { display: flex; }
input[type="range"] { width: 100%; accent-color: var(--red); cursor: pointer; }
.ab-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 24px; }
.ab-option { min-height: 82px; display: flex; align-items: center; gap: 15px; padding: 12px 17px; border: 1px solid #343639; background: #101214; color: #888; text-align: left; cursor: pointer; transition: .18s ease; }
.ab-option:hover { border-color: #666; }
.ab-option.active { border-color: var(--red); background: rgba(213,31,39,.08); color: var(--white); }
.ab-letter { width: 40px; height: 40px; display: grid; place-items: center; border: 1px solid currentColor; font: 800 24px/1 var(--display); }
.ab-option strong, .ab-option small { display: block; }
.ab-option strong { font: 700 15px/1.2 var(--display); letter-spacing: .05em; }
.ab-option small { margin-top: 5px; color: #777; font-size: 9px; }
.keyboard-hint { margin-top: 13px; color: #555; font-size: 8px; text-align: right; letter-spacing: .08em; }

.session-section { padding-block: 130px; }
.session-heading { display: grid; grid-template-columns: 1.15fr .85fr; align-items: end; gap: 70px; }
.session-heading h2 { margin-top: 24px; }
.session-heading > p { margin: 0 0 4px; color: #92938f; font-size: 11px; line-height: 1.8; }
.session-player-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 62px; }
.session-player-card { padding: 1px; background: linear-gradient(140deg, #393b3e, #17191b 42%, #6f1116); }
.session-player-title { min-height: 76px; display: flex; align-items: center; gap: 16px; padding: 18px 22px; background: #0b0c0d; border-bottom: 1px solid #2d2f31; }
.session-player-title > span { color: var(--red); font-size: 10px; }
.session-player-title strong, .session-player-title small { display: block; }
.session-player-title strong { font: 800 22px/1 var(--display); letter-spacing: .05em; }
.session-player-title small { margin-top: 7px; color: #656762; font-size: 8px; text-transform: uppercase; letter-spacing: .08em; }
.ab-player.compact { border: 0; box-shadow: none; }
.ab-player.compact .waveform { height: 140px; }
.ab-player.compact .ab-option { min-height: 74px; padding-inline: 13px; }
.ab-player.compact .ab-letter { width: 34px; height: 34px; font-size: 20px; }
.session-disclaimer { margin: 20px 0 0; color: #555753; font-size: 8px; text-align: right; text-transform: uppercase; letter-spacing: .08em; }

.capture-section { padding-block: 130px; }
.capture-title { display: flex; align-items: flex-end; justify-content: space-between; }
.capture-title h2 { text-align: right; }
.capture-steps { display: grid; grid-template-columns: repeat(3,1fr); margin-top: 65px; border-block: 1px solid var(--line); }
.capture-steps article { min-height: 235px; padding: 30px; border-right: 1px solid var(--line); }
.capture-steps article:first-child { border-left: 1px solid var(--line); }
.capture-steps span { color: var(--red); font-size: 11px; }
.capture-steps h3 { margin: 48px 0 15px; font-size: 25px; }
.capture-steps p { color: #888; font-size: 11px; line-height: 1.7; }
.signal-chain { margin-top: 35px; min-height: 66px; display: flex; align-items: center; justify-content: center; gap: 14px; border: 1px solid #25272a; color: #aaa; font-size: 9px; letter-spacing: .08em; }
.signal-chain i { width: 42px; height: 1px; background: var(--red); position: relative; }
.signal-chain i::after { content: ""; position: absolute; right: 0; top: -3px; border-left: 5px solid var(--red); border-block: 3px solid transparent; }

.plugin-section { padding: 130px 0; background: #0d0f10; border-block: 1px solid #202225; }
.plugin-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 70px; align-items: center; }
.plugin-frame { border: 1px solid #343639; padding: 9px; background: #050607; transform: perspective(1300px) rotateY(3deg); box-shadow: -30px 35px 80px rgba(0,0,0,.38); }
.plugin-frame img { display: block; width: 100%; }
.feature-list { margin: 35px 0 0; padding: 0; list-style: none; border-top: 1px solid #2b2d2f; }
.feature-list li { display: flex; gap: 14px; align-items: center; min-height: 49px; border-bottom: 1px solid #2b2d2f; color: #c2c1bc; font-size: 10px; }
.feature-list span { color: var(--red); }

.download-section { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; padding-block: 130px; }
.download-section > div:first-child > p:not(.eyebrow) { max-width: 510px; color: #888; font-size: 11px; line-height: 1.8; }
.download-card { padding: 36px; border: 1px solid #35373a; background: linear-gradient(135deg, #151719, #0e1011); display: flex; flex-direction: column; align-items: flex-start; }
.download-platform { color: var(--red); font-size: 9px; letter-spacing: .13em; }
.download-card strong { margin-top: 16px; font: 800 43px/1 var(--display); }
.download-card small { color: #777; margin: 8px 0 28px; }
.download-card .button { width: 100%; justify-content: space-between; }
.model-link { margin: 18px auto 0; color: #888; font-size: 9px; text-underline-offset: 3px; }
.release-note { margin: 22px 0 0; padding-top: 18px; border-top: 1px solid #2a2d30; color: #898a86; font-size: 9px; line-height: 1.65; }
.install-steps { margin: 14px 0 0; padding: 0 0 0 18px; color: #777975; font-size: 8px; line-height: 1.7; }
.install-steps li { padding-left: 4px; }
.checksum { display: block; width: 100%; margin-top: 12px; color: #5f615e; font: 8px/1.5 var(--mono); overflow-wrap: anywhere; text-underline-offset: 3px; }
.site-footer { min-height: 110px; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 30px; border-top: 1px solid var(--line); color: #62635f; font-size: 8px; }
.site-footer p { text-align: center; }

@media (max-width: 900px) {
  nav a:not(.nav-cta) { display: none; }
  .hero, .listen-grid, .plugin-grid, .download-section { grid-template-columns: 1fr; }
  .session-heading, .session-player-grid { grid-template-columns: 1fr; }
  .session-heading { align-items: start; gap: 28px; }
  .hero { padding-top: 90px; }
  .pedal-stage { min-height: 560px; }
  .listen-grid { gap: 45px; }
  .plugin-frame { transform: none; order: 2; }
  .capture-title { display: block; }
  .capture-title h2 { margin-top: 24px; text-align: left; }
  .capture-steps { grid-template-columns: 1fr; }
  .capture-steps article { border: 0; border-bottom: 1px solid var(--line); }
  .capture-steps article:first-child { border-left: 0; }
  .signal-chain { flex-wrap: wrap; padding: 18px; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1180px); }
  .site-header { width: calc(100% - 28px); }
  h1 { font-size: 69px; }
  .hero { min-height: auto; padding-bottom: 40px; }
  .hero-specs { gap: 15px; }
  .pedal-stage { min-height: 470px; overflow: hidden; }
  .ring-one { width: min(390px, 94vw); height: min(390px, 94vw); }
  .ring-two { width: min(455px, 108vw); height: min(455px, 108vw); }
  .listen-section, .session-section, .capture-section, .plugin-section, .download-section { padding-block: 90px; }
  .ab-player { padding: 15px; }
  .waveform { height: 135px; }
  .time-readout { grid-template-columns: 42px 1fr 42px; gap: 5px; }
  .ab-switch { grid-template-columns: 1fr; }
  .capture-steps article { min-height: 200px; }
  .site-footer { grid-template-columns: 1fr; padding: 28px 0; text-align: center; }
  .site-footer .brand { justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
