:root {
  --bg: #F6F4EF;
  --surface: #EFECE5;
  --card: #FFFFFF;
  --ink: #171614;
  --ink-2: #5C574F;
  --ink-3: #8E887E;
  --line: #DCD6CC;
  --line-strong: #C9C1B4;
  --vermilion: #D23828;
  --vermilion-hover: #B62C1E;
  --sage: #2E6A52;
  --sage-tint: rgba(46, 106, 82, 0.1);
  --vermilion-tint: rgba(210, 56, 40, 0.08);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-window: 0 24px 60px rgba(23, 22, 20, 0.12), 0 4px 16px rgba(23, 22, 20, 0.06);
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Inter", "Helvetica Neue", Arial, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Monaco, Consolas, monospace;
}

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

html {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  overflow-x: hidden;
}

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

.mono {
  font-family: var(--font-mono);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 244, 239, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 16px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
  box-shadow: 0 1px 3px rgba(23, 22, 20, 0.16);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--ink);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--bg);
  font-size: 13.5px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  transition: opacity 0.15s ease;
}

.nav-cta:hover {
  opacity: 0.88;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.btn:hover {
  background: var(--surface);
  border-color: var(--ink-3);
}

.btn-primary {
  background: var(--vermilion);
  border-color: var(--vermilion);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--vermilion-hover);
  border-color: var(--vermilion-hover);
}

.btn-sm {
  min-height: 38px;
  padding: 0 15px;
  border-radius: var(--radius-sm);
  font-size: 13.5px;
}

.link-quiet {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: var(--line-strong);
  transition: text-decoration-color 0.15s ease;
}

.link-quiet:hover {
  text-decoration-color: var(--ink);
}

/* Floating transparent studio header on Home hero */
.page-home .site-header {
  position: absolute;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, rgba(22, 19, 16, 0.44) 0%, rgba(22, 19, 16, 0) 100%);
  backdrop-filter: none;
  border-bottom: 0;
}

.page-home .brand-link,
.page-home .nav-links a {
  color: rgba(255, 252, 246, 0.92);
}

.page-home .nav-links a:hover {
  color: #FFFFFF;
}

.page-home .nav-cta {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1px solid rgba(255, 252, 246, 0.55);
  backdrop-filter: blur(8px);
}

.page-home .nav-cta:hover {
  background: rgba(255, 255, 255, 0.22);
  opacity: 1;
}

/* Full-Bleed Sunlit Studio Desk Hero (Riverside warmth + Warm Tape instruments) */
.studio-hero {
  position: relative;
  min-height: 690px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 108px 0 22px;
  text-align: center;
  color: #FFFFFF;
  background-color: #2B241E;
  background-image:
    linear-gradient(
      180deg,
      rgba(22, 19, 16, 0.34) 0%,
      rgba(24, 21, 18, 0.26) 42%,
      rgba(24, 19, 15, 0.16) 72%,
      rgba(20, 15, 11, 0.86) 100%
    ),
    url('/assets/studio-desk-hero.jpg');
  background-size: cover;
  background-position: center 46%;
  overflow: hidden;
}

.studio-hero-inner {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

.studio-hero h1 {
  margin: 0 auto;
  font-size: clamp(2.6rem, 5.4vw, 4.35rem);
  line-height: 1.03;
  letter-spacing: -0.036em;
  font-weight: 700;
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(18, 14, 10, 0.32);
}

.studio-hero-sub {
  margin: 18px auto 0;
  max-width: 580px;
  font-size: clamp(1.02rem, 1.7vw, 1.16rem);
  line-height: 1.5;
  color: rgba(255, 251, 244, 0.92);
  text-shadow: 0 1px 12px rgba(18, 14, 10, 0.32);
}

/* Interactive Frosted-Glass Studio Workflow Chips */
.studio-chips {
  margin: 26px auto 0;
  max-width: 660px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.studio-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 38px;
  padding: 0 15px;
  border-radius: 999px;
  border: 1px solid rgba(255, 252, 246, 0.24);
  background: rgba(32, 27, 23, 0.56);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  color: rgba(255, 252, 246, 0.94);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.12s ease;
}

.studio-chip:hover {
  background: rgba(32, 27, 23, 0.76);
  border-color: rgba(255, 252, 246, 0.45);
}

.studio-chip.is-active {
  background: rgba(24, 20, 17, 0.84);
  border-color: rgba(255, 252, 246, 0.72);
  color: #FFFFFF;
}

.chip-box {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 252, 246, 0.58);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.studio-chip.is-active .chip-box {
  background: var(--vermilion);
  border-color: var(--vermilion);
}

.chip-box svg {
  opacity: 0;
  transition: opacity 0.12s ease;
}

.studio-chip.is-active .chip-box svg {
  opacity: 1;
}

.studio-hero-actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.studio-hero .link-quiet {
  color: rgba(255, 252, 246, 0.94);
  text-decoration-color: rgba(255, 252, 246, 0.48);
}

.studio-hero .link-quiet:hover {
  color: #FFFFFF;
  text-decoration-color: #FFFFFF;
}

/* Tactile Broadcast Instruments Bar resting along the walnut desk edge */
.desk-instruments {
  margin: 72px auto 0;
  width: 100%;
  max-width: 1060px;
  padding: 0 24px;
}

.desk-instruments-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 13px 20px;
  border-radius: 12px;
  background: rgba(20, 16, 13, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 248, 236, 0.16);
}

.inst-vu {
  display: flex;
  align-items: center;
  gap: 12px;
}

.inst-vu-face {
  width: 78px;
  height: 32px;
  border-radius: 5px;
  background: linear-gradient(180deg, #F3EBD6 0%, #E7DCC0 100%);
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.18);
  display: block;
}

.inst-vu-needle {
  transform-origin: 39px 35px;
  animation: vuSway 3.4s ease-in-out infinite;
}

@keyframes vuSway {
  0%, 100% { transform: rotate(-16deg); }
  28% { transform: rotate(9deg); }
  55% { transform: rotate(-4deg); }
  78% { transform: rotate(15deg); }
}

@media (prefers-reduced-motion: reduce) {
  .inst-vu-needle { animation: none; transform: rotate(4deg); }
}

.inst-meta {
  text-align: left;
}

.inst-k {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 248, 236, 0.62);
  font-family: var(--font-mono);
}

.inst-v {
  font-size: 13.5px;
  font-weight: 600;
  color: #FFFBF4;
}

.inst-specs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.inst-wave {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 22px;
}

.inst-wave span {
  width: 3px;
  border-radius: 2px;
  background: rgba(192, 211, 200, 0.86);
}

/* Warm Tape Showcase Section directly beneath the studio desk */
.showcase-section {
  padding: 58px 0 70px;
  background: var(--bg);
}

.showcase-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.showcase-bar h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.12;
}

.showcase-bar p {
  margin: 6px 0 0;
  font-size: 15px;
  color: var(--ink-2);
}

.mode-tabs {
  display: inline-flex;
  padding: 3px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.mode-tabs button {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 7px;
  cursor: pointer;
}

.mode-tabs button.active {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(23, 22, 20, 0.08);
}

.hero-window {
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: var(--card);
  box-shadow: var(--shadow-window);
}

.hero-window img {
  display: block;
  width: 100%;
  height: auto;
}

/* Sections */
.section {
  padding: 72px 0;
  border-top: 1px solid var(--line);
}

.section-head {
  max-width: 680px;
  margin-bottom: 36px;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.75rem, 3.2vw, 2.4rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.section-head p {
  margin: 12px 0 0;
  font-size: 16px;
  color: var(--ink-2);
}

/* Feature Strip */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.pillar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
}

.pillar-num {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--vermilion);
  margin-bottom: 10px;
}

.pillar h3 {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.015em;
}

.pillar p {
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-2);
}

/* Comparison Table */
.table-wrap {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow-x: auto;
}

.cmp-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
  font-size: 14.5px;
}

.cmp-table th,
.cmp-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}

.cmp-table tbody tr:last-child td {
  border-bottom: 0;
}

.cmp-table thead th {
  background: var(--surface);
  font-size: 13px;
  font-weight: 650;
  color: var(--ink-2);
}

.cmp-table .col-ours {
  background: rgba(210, 56, 40, 0.04);
  font-weight: 600;
  color: var(--ink);
}

.cmp-table thead .col-ours {
  color: var(--vermilion);
}

/* 100x Warm Tape SRT & Highlight Workbench */
.workbench {
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(23, 22, 20, 0.07), 0 2px 8px rgba(23, 22, 20, 0.04);
}

.workbench.is-dragging {
  outline: 2px dashed var(--vermilion);
  outline-offset: -4px;
}

/* Sculptural Readout Strip (zero 4-box cemetery) */
.wb-readout {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.wb-stat {
  padding: 16px 22px;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.wb-stat:last-child {
  border-right: 0;
}

.wb-stat-label {
  font-size: 12px;
  font-weight: 550;
  color: var(--ink-2);
}

.wb-stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.wb-stat-val {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--ink);
}

.wb-stat-unit {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-2);
  margin-left: 3px;
}

.wb-fix-btn {
  display: inline-flex;
  align-items: center;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(210, 56, 40, 0.35);
  background: var(--vermilion);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 650;
  cursor: pointer;
  transition: background 0.15s ease;
}

.wb-fix-btn:hover {
  background: var(--vermilion-hover);
}

.wb-fix-btn[hidden] {
  display: none;
}

/* Inline WPM Pace Gauge */
.pace-gauge {
  position: relative;
  height: 6px;
  margin-top: 6px;
  border-radius: 999px;
  background: var(--line);
  overflow: visible;
}

.pace-ideal {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 36%;
  width: 34%;
  border-radius: 999px;
  background: rgba(46, 106, 82, 0.45);
}

.pace-pin {
  position: absolute;
  top: -3px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--ink);
  border: 2px solid var(--card);
  transform: translateX(-50%);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
  transition: left 0.2s ease;
}

/* Visual Timeline Ribbon */
.wb-timeline {
  padding: 16px 22px 18px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.wb-tl-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 12px;
  color: var(--ink-2);
}

.wb-tl-ruler {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-bottom: 8px;
}

.wb-tl-arcs {
  position: relative;
  height: 26px;
  margin-bottom: 6px;
}

.wb-arc {
  position: absolute;
  top: 0;
  height: 24px;
  border-radius: 6px;
  border: 1px solid rgba(46, 106, 82, 0.35);
  background: rgba(192, 211, 200, 0.55);
  color: #1F4A39;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 650;
  padding: 0 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.wb-arc.active {
  background: var(--sage);
  border-color: var(--sage);
  color: #FFFFFF;
}

.wb-tl-tape {
  position: relative;
  height: 28px;
  border-radius: 6px;
  background: #EAE5DC;
  border: 1px solid var(--line);
  overflow: hidden;
}

.wb-tape-cue {
  position: absolute;
  top: 3px;
  bottom: 3px;
  border-radius: 4px;
  background: #C7D7CE;
  border: 1px solid rgba(77, 110, 95, 0.32);
  transition: background 0.15s ease, opacity 0.15s ease;
}

.wb-tape-cue.in-window {
  background: #9DBCAE;
  border-color: rgba(46, 106, 82, 0.55);
}

.wb-tape-cue.has-overlap {
  background: rgba(210, 56, 40, 0.85);
  border-color: var(--vermilion-hover);
  z-index: 2;
}

/* 2-Column Editorial Workbench */
.wb-body {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  min-height: 430px;
}

.wb-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.wb-col:first-child {
  border-right: 1px solid var(--line);
}

.wb-col-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 13px 20px;
  border-bottom: 1px solid var(--line);
  background: var(--card);
}

.wb-col-title {
  font-size: 13.5px;
  font-weight: 650;
  color: var(--ink);
}

.wb-seg {
  display: inline-flex;
  padding: 2px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.wb-seg button {
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 6px;
  cursor: pointer;
}

.wb-seg button.active {
  background: var(--card);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(23, 22, 20, 0.08);
}

.wb-cue-list {
  flex: 1;
  max-height: 410px;
  overflow-y: auto;
  padding: 6px 0;
}

.wb-cue-row {
  display: grid;
  grid-template-columns: 108px 1fr;
  gap: 14px;
  padding: 12px 20px;
  border-bottom: 1px solid rgba(220, 214, 204, 0.55);
  border-left: 3px solid transparent;
  transition: background 0.12s ease;
}

.wb-cue-row:last-child {
  border-bottom: 0;
}

.wb-cue-row.in-window {
  background: rgba(192, 211, 200, 0.16);
  border-left-color: var(--sage);
}

.wb-cue-row.has-overlap {
  background: rgba(210, 56, 40, 0.06);
  border-left-color: var(--vermilion);
}

.wb-cue-time {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-3);
  line-height: 1.45;
  padding-top: 2px;
}

.wb-cue-idx {
  display: block;
  font-weight: 650;
  color: var(--ink-2);
  margin-bottom: 2px;
}

.wb-cue-text {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

.wb-cue-conflict {
  margin-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 10px;
  border-radius: 6px;
  background: rgba(210, 56, 40, 0.1);
  color: var(--vermilion-hover);
  font-size: 12px;
  font-weight: 600;
}

.wb-cue-conflict button {
  border: 0;
  background: var(--vermilion);
  color: #FFFFFF;
  font-family: inherit;
  font-size: 11px;
  font-weight: 650;
  padding: 3px 9px;
  border-radius: 999px;
  cursor: pointer;
}

.wb-raw-wrap {
  flex: 1;
  display: flex;
  padding: 16px 20px;
}

.wb-raw-wrap[hidden],
.wb-cue-list[hidden] {
  display: none;
}

.srt-input {
  width: 100%;
  min-height: 368px;
  flex: 1;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.6;
  resize: vertical;
}

.srt-input:focus {
  outline: 2px solid rgba(210, 56, 40, 0.25);
  border-color: var(--vermilion);
}

/* Editorial Highlight Cards (Right Column) */
.wb-highlights {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
  background: var(--bg);
}

.hl-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px;
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 14px;
  align-items: start;
  cursor: pointer;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.hl-card:hover {
  border-color: var(--line-strong);
}

.hl-card.active {
  border-color: var(--sage);
  box-shadow: 0 4px 16px rgba(46, 106, 82, 0.1);
}

.hl-ring {
  position: relative;
  width: 52px;
  height: 52px;
}

.hl-ring svg {
  width: 52px;
  height: 52px;
  transform: rotate(-90deg);
}

.hl-ring-num {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 750;
  color: var(--ink);
}

.hl-meta {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--ink-2);
  margin-bottom: 5px;
}

.hl-quote {
  margin: 0 0 10px;
  font-size: 14.5px;
  line-height: 1.45;
  font-weight: 600;
  color: var(--ink);
}

.hl-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hl-action-btn {
  border: 0;
  background: transparent;
  padding: 0;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--line-strong);
  cursor: pointer;
}

.hl-action-btn:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
}

/* Bottom Export Dock */
.wb-dock {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 20px;
  background: var(--surface);
  border-top: 1px solid var(--line);
}

.wb-dock-left,
.wb-dock-right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.wb-privacy-note {
  font-size: 12.5px;
  color: var(--ink-2);
  margin-left: 4px;
}

/* Pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.price-card.featured {
  border-color: var(--vermilion);
  box-shadow: 0 12px 32px rgba(210, 56, 40, 0.08);
}

.price-name {
  font-size: 15px;
  font-weight: 650;
  color: var(--ink-2);
}

.price-amount {
  margin: 10px 0 4px;
  font-size: 42px;
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1;
}

.price-cadence {
  font-size: 13.5px;
  color: var(--ink-3);
  margin-bottom: 20px;
}

.price-list {
  list-style: none;
  padding: 0;
  margin: 0 0 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14.5px;
  color: var(--ink-2);
  flex: 1;
}

.price-list li {
  padding-left: 16px;
  position: relative;
}

.price-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--vermilion);
}

/* CLI Strip */
.cli-box {
  background: var(--ink);
  color: #F6F4EF;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  font-family: var(--font-mono);
  font-size: 13.5px;
  overflow-x: auto;
  line-height: 1.65;
}

.cli-box .dim {
  color: #9A958C;
}

/* Prose pages (Support / Privacy) */
.prose {
  max-width: 720px;
  padding: 64px 0 84px;
}

.prose h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 3.6vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.prose p,
.prose li {
  color: var(--ink-2);
  font-size: 15.5px;
}

.prose h2 {
  margin: 32px 0 10px;
  font-size: 19px;
  letter-spacing: -0.015em;
}

.kv-card {
  margin-top: 24px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 6px 20px;
}

.kv-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14.5px;
}

.kv-row:last-child {
  border-bottom: 0;
}

.kv-row span:first-child {
  font-weight: 600;
  color: var(--ink);
}

.kv-row span:last-child {
  color: var(--ink-2);
  text-align: right;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  font-size: 13.5px;
  color: var(--ink-2);
}

.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Pre-order Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(23, 22, 20, 0.48);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop[hidden] {
  display: none;
}

.modal-card {
  width: 100%;
  max-width: 440px;
  background: var(--card);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-window);
}

.modal-card h3 {
  margin: 0 0 8px;
  font-size: 19px;
}

.modal-card p {
  margin: 0 0 18px;
  font-size: 14.5px;
  color: var(--ink-2);
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

@media (max-width: 900px) {
  .pillars,
  .pricing-grid,
  .wb-body {
    grid-template-columns: 1fr;
  }
  .wb-col:first-child {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .wb-readout {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wb-stat:nth-child(1),
  .wb-stat:nth-child(2) {
    border-bottom: 1px solid var(--line);
  }
  .wb-stat:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 640px) {
  .studio-hero {
    min-height: 600px;
    padding: 96px 0 24px;
    background-position: 28% 58%;
  }
  .studio-chips {
    gap: 8px;
  }
  .studio-chip {
    height: 34px;
    padding: 0 12px;
    font-size: 12.5px;
  }
  .studio-hero-actions {
    flex-direction: column;
    gap: 14px;
  }
  .studio-hero-actions .btn {
    width: 100%;
  }
  .desk-instruments {
    margin-top: 36px;
  }
  .desk-instruments-bar {
    padding: 14px 16px;
    gap: 14px;
    flex-direction: column;
    align-items: stretch;
  }
  .inst-specs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
  }
  .inst-wave {
    display: none;
  }
  .nav-right {
    gap: 12px;
  }
  .nav-links {
    gap: 14px;
  }
  .nav-links a:last-child {
    display: none;
  }
  .nav-links a {
    font-size: 13px;
  }
  .nav-cta {
    height: 32px;
    padding: 0 12px;
    font-size: 12.5px;
  }
  .kv-row {
    flex-direction: column;
    gap: 4px;
  }
  .kv-row span:last-child {
    text-align: left;
  }
}
