/* TabSlip Modern Redesign Stylesheet */

@font-face {
  font-family: 'Bricolage Grotesque';
  src: url('/fonts/bricolage-grotesque.woff2') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #fcfbf9;
  --bg-subtle: #f5f4ef;
  --surface: #ffffff;
  --surface-raised: #ffffff;
  --border: #e6e3da;
  --border-strong: #d0ccc0;
  --text-main: #141517;
  --text-muted: #6b6963;
  --text-subtle: #96938a;
  --primary: #151618;
  --primary-hover: #2a2c30;
  --accent: #eeebe1;
  --accent-light: #f5f3ec;
  --green: #10b981;
  --font-display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.06), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 24px 48px -12px rgba(0, 0, 0, 0.1), 0 8px 16px -4px rgba(0, 0, 0, 0.04);
  --shadow-elevated: 0 32px 64px -16px rgba(0, 0, 0, 0.14), 0 12px 24px -6px rgba(0, 0, 0, 0.06);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

button, input, textarea {
  font-family: inherit;
  color: inherit;
}

kbd, .svg-keycap {
  font-family: var(--font-mono);
  background: var(--surface);
  border: 1px solid var(--border);
  border-bottom: 2px solid var(--border-strong);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 0.82em;
  font-weight: 600;
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  line-height: 1;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  vertical-align: middle;
}

.svg-keycap svg {
  flex-shrink: 0;
}

/* Modern Unified Shortcut Badge System */
.shortcut-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 3px 6px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.shortcut-key {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-main);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1px 5px;
  line-height: 1.3;
}

.shortcut-sep {
  font-size: 10px;
  color: var(--text-subtle);
  font-weight: 500;
  padding: 0 1px;
}


/* Container */
.container {
  width: 100%;
  max-width: 1180px;
  margin-inline: auto;
  padding-inline: 24px;
}

/* Site Header */
.site-nav-bar {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(252, 251, 249, 0.85);
  border-bottom: 1px solid rgba(230, 227, 218, 0.6);
  transition: all 0.2s ease;
}

.site-nav-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.nav-brand img {
  width: 34px;
  height: 34px;
  background: transparent;
  object-fit: contain;
  display: block;
}

.version-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  background: var(--accent);
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 2px 7px;
  border-radius: 999px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links a {
  transition: color 0.15s ease;
}

.nav-links a:hover {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.visitor-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 68px 0 88px;
  overflow: hidden;
}

.hero-content {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.hero-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
  margin-bottom: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.hero-pill-badge:hover {
  transform: translateY(-1px);
  border-color: var(--border-strong);
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.2vw, 76px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.05em;
  text-wrap: balance;
  margin-bottom: 22px;
  color: var(--text-main);
}

.hero-subtitle {
  font-size: clamp(17px, 2.2vw, 20px);
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 620px;
  margin: 0 auto 36px;
  text-wrap: balance;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 22px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  height: 48px;
  padding: 0 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
}

.btn-primary {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: var(--surface);
  color: var(--text-main);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--accent);
  border-color: var(--border-strong);
  transform: translateY(-2px);
}

.platform-chips {
  font-size: 12.5px;
  color: var(--text-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}



/* Interactive Scratchpad Hero Mockup */
.hero-mockup-wrapper {
  margin-top: 48px;
  position: relative;
  z-index: 3;
}

.mockup-window {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-elevated);
  max-width: 760px;
  margin: 0 auto;
  overflow: hidden;
  text-align: left;
  border-top: 1px solid rgba(255, 255, 255, 0.8);
}

.mockup-top-bar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.window-dots {
  display: flex;
  gap: 7px;
}

.window-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dot-red { background: #ff5f56; }
.dot-yellow { background: #ffbd2e; }
.dot-green { background: #27c93f; }

.mockup-title-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
}

.mockup-status-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  padding: 2px 8px;
  border-radius: 999px;
}

/* Mockup Body */
.mockup-body {
  padding: 20px 24px;
}

.mockup-input-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}

.mockup-input {
  flex: 1;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13.5px;
  color: var(--text-main);
  outline: none;
  transition: all 0.15s ease;
}

.mockup-input:focus {
  border-color: var(--primary);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(20, 21, 23, 0.08);
}

.mockup-save-btn {
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 18px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: opacity 0.15s;
}

.mockup-save-btn:hover {
  opacity: 0.88;
}

.mockup-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.mockup-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mockup-tab-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.mockup-tab-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.mockup-shortcut-legend {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Mockup Items */
.mockup-items-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 260px;
  overflow-y: auto;
}

.mockup-item-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: all 0.15s ease;
}

.mockup-item-card:hover {
  border-color: var(--border-strong);
  background: #ffffff;
}

.mockup-item-card.is-done {
  opacity: 0.55;
}

.mockup-item-card.is-done .item-main-text {
  text-decoration: line-through;
}

.item-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.item-checkbox {
  width: 15px;
  height: 15px;
  accent-color: var(--primary);
  cursor: pointer;
}

.item-type-badge {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--accent);
  color: var(--text-muted);
  letter-spacing: 0.05em;
  flex-shrink: 0;
}

.item-main-text {
  font-size: 13px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-main);
}

.item-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.item-copy-btn {
  background: none;
  border: 1px solid var(--border);
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s;
}

.item-copy-btn:hover {
  background: var(--surface);
  color: var(--text-main);
  border-color: var(--border-strong);
}

.item-delete-btn {
  background: none;
  border: none;
  color: var(--text-subtle);
  cursor: pointer;
  padding: 2px 4px;
  font-size: 12px;
  border-radius: 4px;
}

.item-delete-btn:hover {
  color: var(--text-main);
}

.item-text-group {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}

.item-sub-text {
  font-size: 11px;
  color: var(--text-subtle);
  font-family: var(--font-mono);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 1px;
}

.item-type-badge.badge-screen {
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.item-studio-btn {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: 5px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 600;
  color: #059669;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s;
}

.item-studio-btn:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: #10b981;
  color: #047857;
}

/* How It Works Section */
.workflow-section {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.2vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.08;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.workflow-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.workflow-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-strong);
}

.step-num {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-subtle);
  margin-bottom: 18px;
}

.step-icon-box {
  width: 48px;
  height: 48px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: grid;
  place-items: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.workflow-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.workflow-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Bento Features Section */
.bento-section {
  padding: 96px 0;
  background: var(--bg);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.bento-col-2 {
  grid-column: span 2;
}

.bento-col-1 {
  grid-column: span 1;
}

.bento-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.bento-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.bento-card h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.bento-card p {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.bento-visual {
  margin-top: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 16px;
}

.bento-keys {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  flex-wrap: wrap;
}

.bento-tag-new {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 2px 8px;
  border-radius: 999px;
  display: inline-block;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.bento-chips-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.bento-chip-pill {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 9px;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bento-chip-pill svg {
  color: #10b981;
  flex-shrink: 0;
}

.bento-studio-bar {
  background: #111111;
  border: 1px solid #282828;
  border-radius: 8px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #ffffff;
  font-size: 12px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.bento-studio-left {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 12px;
  letter-spacing: -0.01em;
}

.bento-studio-right {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bento-mode-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  background: #222222;
  border: 1px solid #383838;
  color: #bbbbbb;
}

.bento-mode-badge.active {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

/* Comparison Table Section */
.comparison-section {
  padding: 96px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.comparison-table-wrapper {
  max-width: 860px;
  margin: 0 auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg);
  box-shadow: var(--shadow-sm);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--bg-subtle);
  font-weight: 700;
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.comparison-table th.col-highlight {
  color: var(--text-main);
  background: var(--accent);
}

.comparison-table td.col-highlight {
  font-weight: 600;
  background: rgba(238, 235, 225, 0.4);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.check-yes { color: var(--green); font-weight: 700; }
.check-no { color: #dc2626; opacity: 0.5; }

/* FAQ Section */
.faq-section {
  padding: 96px 0;
  background: var(--bg);
}

.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.15s ease;
}

.faq-item:hover {
  border-color: var(--border-strong);
}

.faq-question {
  width: 100%;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  border: none;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  color: var(--text-main);
}

.faq-chevron {
  font-size: 18px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s cubic-bezier(0.16, 1, 0.3, 1), padding 0.25s ease;
  padding: 0 22px;
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 200px;
  padding: 0 22px 18px;
}

.faq-item.open .faq-chevron {
  transform: rotate(45deg);
}

/* Call To Action Banner */
.cta-banner-section {
  padding: 80px 0 96px;
  background: var(--bg);
}

.cta-banner-card {
  background: var(--primary);
  color: #ffffff;
  border-radius: var(--radius-xl);
  padding: 64px 36px;
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner-card h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 16px;
}

.cta-banner-card p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

.btn-white {
  background: #ffffff;
  color: var(--primary);
  font-weight: 700;
}

.btn-white:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--surface);
  padding: 40px 0;
  font-size: 13px;
  color: var(--text-muted);
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

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

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

/* Responsive Breakpoints */
@media (max-width: 860px) {
  .workflow-grid, .bento-grid {
    grid-template-columns: 1fr;
  }
  .bento-col-2, .bento-col-1 {
    grid-column: span 1;
  }
  .nav-links {
    display: none;
  }
  .mockup-body {
    padding: 16px;
  }
}

/* Interactive Studio Preview Lightbox / Modal */
.landing-studio-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.landing-studio-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.landing-studio-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 11, 14, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.landing-studio-dialog {
  position: relative;
  width: 94%;
  max-width: 1040px;
  height: 85vh;
  max-height: 820px;
  background: #f0f2f5;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  transform: scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-studio-modal.open .landing-studio-dialog {
  transform: scale(1);
}

.landing-studio-toolbar {
  height: 50px;
  background: #111111;
  border-bottom: 1px solid #222222;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  color: #ffffff;
  flex-shrink: 0;
}

.landing-studio-toolbar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.landing-studio-toolbar-left img {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.landing-studio-title {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #eeeeee;
}

.landing-studio-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #999999;
  background: #202020;
  border: 1px solid #333333;
  padding: 2px 7px;
  border-radius: 4px;
  flex-shrink: 0;
}

.landing-studio-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.landing-studio-btn {
  background: #222222;
  border: 1px solid #333333;
  color: #cccccc;
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
}

.landing-studio-btn:hover {
  background: #2a2a2a;
  border-color: #444444;
  color: #ffffff;
}

.landing-studio-btn.active {
  background: #10b981;
  border-color: #10b981;
  color: #ffffff;
}

.landing-studio-close-btn {
  background: transparent;
  border: none;
  color: #888888;
  font-size: 20px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 6px;
  margin-left: 4px;
  transition: all 0.15s;
}

.landing-studio-close-btn:hover {
  color: #ffffff;
  background: #222222;
}

.landing-studio-body {
  flex: 1;
  overflow: auto;
  padding: 30px 20px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background-color: #f0f2f5;
  background-image: radial-gradient(rgba(0,0,0,0.06) 1px, transparent 1px);
  background-size: 20px 20px;
  user-select: none;
}

.landing-studio-doc {
  background: #ffffff;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12), 0 1px 3px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.landing-studio-doc.fit-mode {
  max-height: calc(85vh - 120px);
  width: auto;
  cursor: zoom-in;
}

.landing-studio-doc.actual-mode {
  width: 900px;
  max-height: none;
  cursor: zoom-out;
}

@media (max-width: 640px) {
  .landing-studio-title, .landing-studio-badge {
    display: none;
  }
  .landing-studio-dialog {
    width: 98%;
    height: 94vh;
  }
  .landing-studio-doc.actual-mode {
    width: 100%;
  }
}

/* Product tour video (replaces the interactive scratchpad preview) */
.promo-video-frame {
  background: #f4f7f6;
  line-height: 0;
}
.promo-video-frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #f4f7f6;
}
.promo-sound-btn {
  cursor: pointer;
  font: inherit;
}
.promo-sound-btn:hover {
  filter: brightness(0.97);
}
