:root {
  color-scheme: light only;

  --bg-canvas: #fbfbfd;
  --bg-alabaster: #f3f4f7;
  --bg-paper: #ffffff;
  --bg-card: #f5f5f7;
  --bg-track: #e6e7ec;

  --text-dark: #141518;
  --text-dark-muted: #525660;

  --accent: #0066cc;
  --accent-hover: #0071e3;

  --border-light: rgba(0, 0, 0, 0.08);
  --border-frame: rgba(0, 0, 0, 0.12);

  --font-sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Strict 3-size body scale below hero, atmospheric & generous */
  --text-heading: clamp(2.35rem, 4.3vw, 3.6rem);
  --text-body: 1.25rem;
  --text-sm: 1.0625rem;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  color-scheme: light only;
  background-color: var(--bg-canvas);
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: 1.85;
  letter-spacing: 0.008em;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

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

.tabular-nums {
  font-variant-numeric: tabular-nums;
}

.container {
  width: min(1220px, 90%);
  margin: 0 auto;
}

/* Single-Line Frosted Daylight Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 62px;
  z-index: 60;
  border-bottom: 1px solid transparent;
  background-color: rgba(251, 251, 253, 0.74);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  transition: background-color 220ms var(--ease-out), border-color 220ms var(--ease-out);
}

.site-header.is-scrolled {
  background-color: rgba(251, 251, 253, 0.94);
  border-bottom-color: var(--border-light);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  color: var(--text-dark);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-icon {
  width: 30px;
  height: 30px;
  border-radius: 7px;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 22px;
}

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

.nav-links a {
  text-decoration: none;
  color: var(--text-dark-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  transition: color 180ms var(--ease-out);
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.is-current {
  color: var(--text-dark);
}

.nav-links a.is-current {
  font-weight: 600;
}

.lang-select {
  height: 34px;
  padding: 0 12px;
  border-radius: 980px;
  border: 1px solid var(--border-frame);
  background-color: rgba(255, 255, 255, 0.85);
  color: var(--text-dark);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  outline: none;
  transition: border-color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}

.lang-select:hover,
.lang-select:focus-visible {
  border-color: var(--accent);
  background-color: #ffffff;
}

.mobile-menu-toggle {
  display: none;
  height: 36px;
  padding: 0 16px;
  border-radius: 980px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-paper);
  color: var(--text-dark);
  font-size: var(--text-sm);
  cursor: pointer;
}

.mobile-drawer {
  display: none;
  background-color: rgba(251, 251, 253, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-light);
  padding: 14px 5%;
}

.mobile-drawer.is-open {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-drawer a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: var(--text-body);
  padding: 6px 0;
}

/* Primary Pill CTA */
.pill-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 0 34px;
  border-radius: 980px;
  background-color: var(--accent);
  color: #ffffff;
  font-size: var(--text-body);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  box-shadow: 0 10px 26px rgba(0, 102, 204, 0.24);
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.pill-cta:hover {
  background-color: var(--accent-hover);
  box-shadow: 0 14px 32px rgba(0, 102, 204, 0.3);
}

.pill-cta:active {
  transform: scale(0.985);
}

/* Screen 1: Full-Viewport Manifesto Hero (Zero Screenshot Clutter) */
.hero-theatre {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  padding: 132px 0 104px;
  overflow: hidden;
}

.hero-ambient-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-headline-wrap {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-app-icon {
  width: 140px;
  height: 140px;
  margin-bottom: 24px;
  transition: transform 240ms var(--ease-out);
}

.hero-app-icon:hover {
  transform: translateY(-3px) scale(1.02);
}

.hero-display-title {
  margin: 0 0 20px;
  font-size: clamp(3.6rem, 8.2vw, 6.8rem);
  font-weight: 800;
  line-height: 1.03;
  letter-spacing: -0.042em;
  background: linear-gradient(180deg, #111318 20%, #383d48 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-etymology {
  margin: 0 0 26px;
  font-size: clamp(1.4rem, 2.5vw, 2.15rem);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -0.02em;
  color: var(--text-dark);
}

.bat-initial {
  color: var(--accent);
  font-weight: 800;
  border-bottom: 2.5px solid rgba(0, 102, 204, 0.36);
  padding-bottom: 1px;
}

.hero-lead-line {
  margin: 0 0 40px;
  max-width: 38em;
  font-size: 1.3125rem;
  line-height: 1.9;
  color: var(--text-dark-muted);
  text-wrap: pretty;
}

/* Screen 2: Apple MacBook Pro 16-inch Studio Hardware Stage */
.macbook-section {
  background-color: var(--bg-alabaster);
  color: var(--text-dark);
  padding: 148px 0 156px;
  border-top: 1px solid var(--border-light);
}

.macbook-pro-stage {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
}

.macbook-lid {
  position: relative;
  width: 92%;
  margin: 0 auto;
  border-radius: 26px 26px 0 0;
  padding: 13px 13px 16px;
  background: linear-gradient(180deg, #2b2d33 0%, #15171b 14%, #0f1014 100%);
  box-shadow:
    inset 0 1.5px 0 rgba(255, 255, 255, 0.28),
    inset 0 0 0 1.5px rgba(120, 126, 138, 0.35),
    0 28px 70px rgba(12, 16, 26, 0.16);
}

.macbook-screen {
  position: relative;
  border-radius: 14px 14px 4px 4px;
  overflow: hidden;
  background-color: #f3f4f7;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.macbook-camera-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 122px;
  height: 19px;
  background-color: #0b0c0f;
  border-radius: 0 0 10px 10px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.macbook-camera-lens {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: radial-gradient(circle at 35% 35%, #2a3f66 0%, #0d1424 70%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.macos-menubar {
  height: 28px;
  padding: 0 14px;
  background: linear-gradient(180deg, #f6f7fa 0%, #eceef3 100%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  line-height: 1;
  color: #1d1d1f;
  user-select: none;
}

.macos-menubar-left,
.macos-menubar-right {
  display: flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
}

.macos-menubar-app {
  font-weight: 700;
}

.macos-menubar-item {
  font-weight: 500;
  color: rgba(29, 29, 31, 0.86);
}

.macbook-viewport-img {
  width: 100%;
  display: block;
}

.macbook-base {
  position: relative;
  width: 100%;
  height: 20px;
  background: linear-gradient(
    90deg,
    #9ea3ad 0%,
    #dfe2e7 7%,
    #f3f4f7 24%,
    #e5e7ec 50%,
    #f3f4f7 76%,
    #d8dce3 93%,
    #969ba6 100%
  );
  border-radius: 3px 3px 16px 16px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.85),
    inset 0 -3px 5px rgba(62, 67, 76, 0.38),
    0 24px 48px rgba(12, 16, 26, 0.2),
    0 6px 14px rgba(12, 16, 26, 0.1);
}

.macbook-lip {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 144px;
  height: 7px;
  background: linear-gradient(180deg, #8f949f 0%, #b8bdc7 100%);
  border-radius: 0 0 9px 9px;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25);
}

.demo-paper-note {
  margin: 28px auto 0;
  max-width: 54em;
  text-align: center;
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--text-dark-muted);
}

/* Authentic macOS Sequoia Window Chrome Frames */
.studio-frame {
  position: relative;
  border-radius: 14px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.16) 0%, rgba(0, 0, 0, 0.09) 100%);
  box-shadow:
    0 36px 84px rgba(15, 20, 30, 0.12),
    0 10px 26px rgba(15, 20, 30, 0.06);
  transition: transform 220ms var(--ease-out);
}

.studio-frame-inner {
  border-radius: 13px;
  overflow: hidden;
  background-color: var(--bg-paper);
}

.studio-frame-img {
  width: 100%;
  display: block;
}

.light-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid var(--border-frame);
  box-shadow:
    0 32px 72px rgba(15, 20, 30, 0.11),
    0 8px 22px rgba(15, 20, 30, 0.05);
  background-color: var(--bg-paper);
  transition: box-shadow 240ms var(--ease-out), opacity 220ms var(--ease-out);
}

/* Shared Atmospheric Section Rhythm */
.gallery-stage {
  background-color: var(--bg-paper);
  color: var(--text-dark);
  padding: 144px 0 152px;
  border-top: 1px solid var(--border-light);
}

.centered-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 54px;
}

.section-title {
  margin: 0 0 22px;
  font-size: var(--text-heading);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: var(--text-dark);
  text-wrap: balance;
}

.section-copy {
  margin: 0;
  max-width: 39em;
  font-size: var(--text-body);
  line-height: 1.86;
  color: var(--text-dark-muted);
  text-wrap: pretty;
}

.stage-photo-stack {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: var(--bg-paper);
}

.stage-slide-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.01);
  transition: opacity 240ms var(--ease-out), transform 240ms var(--ease-out);
  pointer-events: none;
}

.stage-slide-img.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Tactile Finish Swatch Bar */
.swatch-switcher {
  margin: 38px auto 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px;
  border-radius: 980px;
  background-color: var(--bg-track);
}

.swatch-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 40px;
  padding: 0 18px;
  border-radius: 980px;
  border: none;
  background-color: transparent;
  color: var(--text-dark-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.swatch-pill.is-active {
  background-color: var(--bg-paper);
  color: var(--text-dark);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.swatch-dot {
  width: 15px;
  height: 15px;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.18);
  flex-shrink: 0;
}

/* Editorial Feature Diptychs */
.diptych-section {
  background-color: var(--bg-alabaster);
  color: var(--text-dark);
  padding: 144px 0 152px;
  border-top: 1px solid var(--border-light);
}

.diptych-row {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 72px;
  align-items: center;
}

.diptych-row + .diptych-row {
  margin-top: 136px;
}

.diptych-row.is-reversed {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.3fr);
}

.diptych-text {
  min-width: 0;
}

.diptych-text .section-title {
  margin-bottom: 22px;
}

/* App Interface Showcase */
.gallery-stage-studio {
  background-color: var(--bg-paper);
  color: var(--text-dark);
  padding: 144px 0 152px;
  border-top: 1px solid var(--border-light);
}

.switcher-center {
  display: flex;
  justify-content: center;
  margin-bottom: 34px;
}

.light-segmented {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px;
  border-radius: 980px;
  background-color: var(--bg-track);
  max-width: 100%;
  overflow-x: auto;
}

.light-seg-btn {
  height: 40px;
  padding: 0 20px;
  border-radius: 980px;
  border: none;
  background-color: transparent;
  color: var(--text-dark-muted);
  font-size: var(--text-sm);
  font-weight: 500;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 180ms var(--ease-out), color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.light-seg-btn.is-active {
  background-color: var(--bg-paper);
  color: var(--text-dark);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.surface-caption {
  margin: 28px auto 0;
  max-width: 44em;
  text-align: center;
  font-size: var(--text-body);
  line-height: 1.85;
  color: var(--text-dark-muted);
}

.thumb-rail {
  margin-top: 34px;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
}

.thumb-btn {
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background-color: var(--bg-card);
  cursor: pointer;
  text-align: left;
  box-shadow: 0 4px 14px rgba(15, 20, 30, 0.06);
  transition: border-color 180ms var(--ease-out), transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.thumb-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 20, 30, 0.09);
}

.thumb-btn.is-active {
  border-color: var(--accent);
}

.thumb-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.thumb-label {
  display: block;
  padding: 10px 12px;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-dark);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Symmetrical Plugin Directory & Co-Creation */
.extensions-section {
  background-color: var(--bg-alabaster);
  color: var(--text-dark);
  padding: 144px 0 152px;
  border-top: 1px solid var(--border-light);
}

.plugin-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.plugin-entry {
  padding: 28px 30px;
  border-radius: 16px;
  background-color: var(--bg-paper);
  border: 1px solid rgba(0, 0, 0, 0.06);
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.plugin-entry-title {
  margin: 0 0 10px;
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
}

.plugin-entry-desc {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.78;
  color: var(--text-dark-muted);
}

.marketplace-cta-row {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}

.cocreate-block {
  margin-top: 104px;
  padding-top: 88px;
  border-top: 1px solid var(--border-light);
}

.cocreate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.cocreate-item {
  padding: 30px 32px;
  border-radius: 18px;
  background-color: var(--bg-paper);
  border: 1px solid rgba(0, 0, 0, 0.06);
  min-width: 0;
}

.cocreate-title {
  margin: 0 0 12px;
  font-size: var(--text-body);
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-dark);
}

.cocreate-desc {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.78;
  color: var(--text-dark-muted);
}

/* High-Key Daylight Studio Finale */
.finale-stage {
  position: relative;
  background-color: var(--bg-canvas);
  color: var(--text-dark);
  padding: 148px 0 124px;
  overflow: hidden;
  border-top: 1px solid var(--border-light);
}

.finale-backdrop-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  opacity: 0.72;
  pointer-events: none;
}

.finale-gradient-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(251, 251, 253, 0.92) 0%,
    rgba(251, 251, 253, 0.58) 46%,
    rgba(251, 251, 253, 0.9) 100%
  );
  pointer-events: none;
}

.finale-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.finale-inner .section-copy {
  color: var(--text-dark-muted);
  margin-bottom: 34px;
}

.arch-switch-inline {
  margin-bottom: 28px;
}

.gatekeeper-disclosure {
  margin-top: 32px;
  max-width: 680px;
  width: 100%;
  text-align: left;
  font-size: var(--text-sm);
  color: var(--text-dark-muted);
}

.gatekeeper-disclosure summary {
  text-align: center;
  cursor: pointer;
  color: var(--text-dark-muted);
  list-style: none;
}

.gatekeeper-disclosure summary:hover {
  color: var(--text-dark);
}

.gatekeeper-panel {
  margin-top: 16px;
  padding: 22px 24px;
  border-radius: 16px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-frame);
  color: var(--text-dark);
}

.gatekeeper-steps {
  margin: 0 0 14px;
  font-size: var(--text-sm);
  line-height: 1.78;
  color: var(--text-dark-muted);
}

.gatekeeper-cmd-box {
  padding: 14px 16px;
  border-radius: 12px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  overflow-x: auto;
  color: var(--text-dark);
}

.gatekeeper-cmd-box + .gatekeeper-steps {
  margin-top: 18px;
}

.gatekeeper-copy-btn {
  height: 34px;
  padding: 0 16px;
  border-radius: 980px;
  border: 1px solid var(--border-frame);
  background-color: var(--bg-paper);
  color: var(--text-dark);
  font-size: var(--text-sm);
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out);
}

.gatekeeper-copy-btn:hover {
  background-color: var(--bg-track);
}

/* Standalone Online Plugin Marketplace Page */
.market-hero {
  padding: 132px 0 64px;
  background-color: var(--bg-canvas);
  border-bottom: 1px solid var(--border-light);
}

.market-controls {
  margin-top: 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.market-search-input {
  width: min(560px, 100%);
  height: 48px;
  padding: 0 20px;
  border-radius: 980px;
  border: 1px solid var(--border-frame);
  background-color: var(--bg-paper);
  font-size: var(--text-sm);
  outline: none;
  transition: border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}

.market-search-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.14);
}

.market-catalog-section {
  padding: 72px 0 128px;
  background-color: var(--bg-alabaster);
  min-height: 60vh;
}

.market-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: var(--text-sm);
  color: var(--text-dark-muted);
}

.market-card-actions {
  margin-top: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.market-detail-link {
  border: none;
  background: none;
  padding: 0;
  color: var(--accent);
  font-size: var(--text-sm);
  font-weight: 500;
  cursor: pointer;
}

.market-detail-link:hover {
  text-decoration: underline;
}

.market-download-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 38px;
  padding: 0 18px;
  border-radius: 980px;
  background-color: var(--text-dark);
  color: #ffffff;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 180ms var(--ease-out), transform 180ms var(--ease-out);
}

.market-download-btn:hover {
  background-color: var(--accent);
}

.market-guide-banner {
  margin-bottom: 36px;
  padding: 24px 28px;
  border-radius: 16px;
  background-color: var(--bg-paper);
  border: 1px solid rgba(0, 0, 0, 0.07);
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--text-dark-muted);
}

.market-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background-color: rgba(15, 20, 30, 0.42);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

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

.market-modal-card {
  width: min(620px, 100%);
  max-height: 86vh;
  overflow-y: auto;
  border-radius: 18px;
  background-color: var(--bg-paper);
  padding: 32px;
  box-shadow: 0 32px 80px rgba(12, 16, 26, 0.24);
}

.market-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.market-modal-close {
  height: 34px;
  padding: 0 14px;
  border-radius: 980px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-card);
  font-size: var(--text-sm);
  cursor: pointer;
}

.market-cap-list {
  margin: 18px 0;
  padding-left: 20px;
  font-size: var(--text-sm);
  line-height: 1.8;
  color: var(--text-dark);
}

.market-origin-box {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 12px;
  background-color: var(--bg-card);
  font-size: var(--text-sm);
  line-height: 1.75;
  color: var(--text-dark-muted);
}

/* Minimalist Daylight Footer */
.site-footer {
  background-color: var(--bg-canvas);
  color: var(--text-dark-muted);
  padding: 40px 0 44px;
  border-top: 1px solid var(--border-light);
  font-size: var(--text-sm);
}

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

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

.footer-nav a {
  color: var(--text-dark-muted);
  text-decoration: none;
  transition: color 160ms var(--ease-out);
}

.footer-nav a:hover {
  color: var(--text-dark);
}

@media (max-width: 980px) {
  .diptych-row,
  .diptych-row.is-reversed,
  .plugin-grid,
  .cocreate-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .diptych-row.is-reversed .diptych-text {
    order: -1;
  }

  .thumb-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .macos-menubar-hide-sm {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --text-body: 1.125rem;
    --text-sm: 0.96875rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
  }

  .hero-theatre {
    min-height: auto;
    padding: 112px 0 80px;
  }

  .hero-app-icon {
    width: 108px;
    height: 108px;
  }

  .hero-display-title {
    font-size: clamp(2.6rem, 11vw, 3.6rem);
  }

  .hero-lead-line {
    font-size: 1.125rem;
  }

  .macbook-lid {
    width: 96%;
    padding: 8px 8px 10px;
    border-radius: 16px 16px 0 0;
  }

  .macbook-camera-notch {
    width: 82px;
    height: 14px;
  }

  .macos-menubar {
    height: 22px;
    font-size: 10px;
    padding: 0 8px;
  }

  .macbook-base {
    height: 14px;
  }

  .macbook-section,
  .gallery-stage,
  .gallery-stage-studio,
  .diptych-section,
  .extensions-section,
  .finale-stage {
    padding: 88px 0;
  }

  .swatch-switcher {
    flex-wrap: wrap;
    border-radius: 18px;
  }

  .gatekeeper-cmd-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
