@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("assets/fonts/inter-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "JetBrains Mono";
  src: url("assets/fonts/jetbrains-mono-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("assets/fonts/newsreader-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

/* ========================================================================== 
   HostRecap — White Antigravity Canvas + Exact Tauri Software UI
   ========================================================================== */

:root {
  /* Light Antigravity Canvas Palette */
  --bg-page: #ffffff;
  --bg-subtle: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.88);
  --bg-card-solid: #ffffff;

  /* Ink & Typography */
  --ink-strong: #0b0d11;
  --ink-body: #334155;
  --ink-muted: #64748b;
  --ink-faint: #94a3b8;

  /* Hairlines & Borders */
  --border-light: #e2e8f0;
  --border-strong: #cbd5e1;

  /* HostRecap Software Accents (Matched to Tauri UI Spec) */
  --cyan-deep: #0284c7;
  --cyan-bright: #38bdf8;
  --emerald: #10b981;
  --emerald-deep: #059669;
  --amber: #d97706;
  --red: #dc2626;

  /* Tauri App Window Dark Surfaces (Contrasted on White Page) */
  --app-bg: #0d0d12;
  --app-sidebar: #111116;
  --app-surface: #141419;
  --app-header: #16161c;
  --app-border: rgba(255, 255, 255, 0.1);
  --app-text: #f4f4f5;
  --app-muted: #94a3b8;

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --font-serif: 'Newsreader', Georgia, serif;

  /* Layout */
  --container: 1180px;
}

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

/* Native 120Hz scrolling — zero wheel hijacking */
html {
  scroll-behavior: auto;
  scroll-padding-top: 88px;
  background-color: var(--bg-page);
  color: var(--ink-strong);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-width: 320px;
  overflow-x: clip;
  background-color: var(--bg-page);
  color: var(--ink-strong);
  line-height: 1.5;
}

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

button, input {
  font: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

:focus-visible {
  outline: 2px solid var(--cyan-deep);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 999;
  padding: 8px 14px;
  border-radius: 8px;
  background: var(--ink-strong);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transform: translateY(-200%);
}
.skip-link:focus {
  transform: translateY(0);
}

/* ==========================================================================
   Strict Max-3-Lines Copy Rule
   ========================================================================== */
.three-line-copy,
.hero-sub,
.section-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
  text-wrap: pretty;
}

/* ==========================================================================
   Three.js White-Canvas 3D Background Stage
   ========================================================================== */
.webgl-stage {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 18%, rgba(56, 189, 248, 0.09), transparent 46%),
    radial-gradient(circle at 82% 72%, rgba(16, 185, 129, 0.06), transparent 42%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 52%, #ffffff 100%);
}

#ag-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ==========================================================================
   Fixed Minimal Header (with CSS Scroll-Driven Animation + Fallback)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 16px 24px;
  transition: padding 0.25s ease;
}

.nav-shell {
  max-width: var(--container);
  margin: 0 auto;
  height: 56px;
  padding: 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border-light);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

@keyframes header-compact {
  to {
    transform: translateY(-4px);
  }
}

@supports ((animation-timeline: scroll()) and (animation-range: 0% 100%)) {
  @media (prefers-reduced-motion: no-preference) {
    .site-header {
      animation: header-compact auto linear both;
      animation-timeline: scroll(block root);
      animation-range: 0px 120px;
    }
  }
}

.site-header.is-scrolled .nav-shell {
  border-color: var(--border-strong);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}

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

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--ink-strong);
  display: grid;
  place-items: center;
}

.brand-mark img {
  filter: brightness(0) invert(1);
}

.brand-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 99px;
  background: #f1f5f9;
  color: var(--ink-muted);
  border: 1px solid var(--border-light);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-body);
}

.main-nav a:hover {
  color: var(--cyan-deep);
}

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

.cmd-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 36px;
  padding: 0 12px;
  border-radius: 99px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  color: var(--ink-body);
  font-size: 12.5px;
  font-weight: 500;
}
.cmd-trigger:hover {
  border-color: var(--border-strong);
  background: #f1f5f9;
}
.cmd-trigger kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.btn-nav-primary {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 16px;
  border-radius: 99px;
  background: var(--ink-strong);
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-nav-primary:hover {
  background: var(--cyan-deep);
  transform: translateY(-1px);
}

/* ==========================================================================
   Section Scaffolding
   ========================================================================== */
main, .site-footer {
  position: relative;
  z-index: 2;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--border-light);
}

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

.section-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan-deep);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  color: var(--ink-strong);
  margin-bottom: 12px;
}

.section-desc {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-body);
  max-width: 620px;
}

/* ==========================================================================
   Section 1: Hero + Interactive 3-Component Software Showcase
   ========================================================================== */
.hero-section {
  padding-top: 124px;
  padding-bottom: 84px;
}

.hero-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 44px;
}

.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 99px;
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan-deep);
  margin-bottom: 20px;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan-deep);
  box-shadow: 0 0 0 4px rgba(2, 132, 199, 0.16);
}

.hero-title {
  font-size: clamp(38px, 5.2vw, 66px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--ink-strong);
  margin-bottom: 18px;
}

.title-accent {
  background: linear-gradient(135deg, #0284c7 0%, #0f172a 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  max-width: 650px;
  margin: 0 auto 28px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink-body);
}

.hero-cta-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 99px;
  background: var(--ink-strong);
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary:hover {
  background: var(--cyan-deep);
  transform: translateY(-1px);
}
.btn-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.14);
  color: #e0f2fe;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 99px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  color: var(--ink-strong);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-secondary:hover {
  background: #f8fafc;
  border-color: var(--ink-strong);
}

/* ==========================================================================
   Interactive Software Showcase (3 Real HostRecap UI Views)
   ========================================================================== */
.software-showcase {
  max-width: 1040px;
  margin: 0 auto;
  position: relative;
}

.showcase-toolbar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 6px;
  border-radius: 16px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  margin-bottom: 18px;
}

.stage-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: 11px;
  text-align: left;
  color: var(--ink-body);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.stage-tab .step-num {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 6px;
  background: #e2e8f0;
  color: var(--ink-strong);
}
.stage-tab span:nth-child(2) {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink-strong);
}
.stage-tab small {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}
.stage-tab.is-active {
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}
.stage-tab.is-active .step-num {
  background: var(--cyan-deep);
  color: #ffffff;
}

.showcase-viewport {
  border-radius: 20px;
  padding: 24px;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid var(--border-light);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

/* --- VIEW 1: WHISPERFLOW FLOATING PILL (138x38px) --- */
.desktop-context-frame {
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 28px;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.simulated-call-backdrop {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.sim-call-badge {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 99px;
  background: #ecfdf5;
  color: var(--emerald-deep);
  border: 1px solid #a7f3d0;
}

.sim-slides-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.sim-slide-card {
  padding: 20px;
  border-radius: 12px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.sim-slide-card span {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--cyan-deep);
  font-weight: 600;
}
.sim-slide-card strong {
  font-size: 16px;
  color: var(--ink-strong);
}
.sim-slide-card small {
  font-size: 13px;
  color: var(--ink-body);
}

.whisperflow-pill-dock {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  padding: 18px 22px;
  border-radius: 12px;
  background: #f1f5f9;
  border: 1px dashed var(--border-strong);
}

.dock-hint {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--cyan-deep);
}

/* Exact 138x38px WhisperFlow Floating Pill from User Spec */
.whisperflow-floating-pill {
  width: 138px;
  height: 38px;
  background: rgba(18, 18, 20, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  cursor: pointer;
  user-select: none;
  transition: transform 0.15s ease;
}
.whisperflow-floating-pill:hover {
  transform: scale(1.04);
}
.pill-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #38BDF8;
  box-shadow: 0 0 8px #38BDF8;
}
.pill-waveform {
  display: flex;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
}
.pill-wave-bar {
  width: 2px;
  border-radius: 1px;
  background-color: #38BDF8;
  animation: eq-bounce 0.8s ease-in-out infinite alternate;
}
.pill-wave-bar:nth-child(2) { animation-delay: -0.25s; }
.pill-wave-bar:nth-child(3) { animation-delay: -0.5s; }
.pill-wave-bar:nth-child(4) { animation-delay: -0.15s; }

@keyframes eq-bounce {
  to { transform: scaleY(0.45); }
}

.pill-timer {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: #FFFFFF;
}

/* --- VIEW 2: IN-MEETING COMPANION NOTEPAD (ui/notepad.html) --- */
.notepad-stage-layout {
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 28px;
  align-items: center;
}

.notepad-side-context {
  padding: 16px;
}
.context-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--cyan-deep);
  margin-bottom: 8px;
}
.notepad-side-context h3 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink-strong);
  margin-bottom: 10px;
}
.notepad-side-context p {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-body);
  margin-bottom: 18px;
}
.notepad-side-context code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #e2e8f0;
  color: var(--ink-strong);
}
.context-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.btn-chip {
  padding: 8px 14px;
  border-radius: 99px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-strong);
}
.btn-chip:hover {
  border-color: var(--cyan-deep);
}
.btn-chip-cyan {
  background: var(--cyan-deep);
  border-color: var(--cyan-deep);
  color: #ffffff;
}

/* Exact 440px Companion Notepad Window from Spec */
.notepad-window {
  width: 100%;
  max-width: 440px;
  height: 460px;
  background: #111115;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 16px;
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.28);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  text-align: left;
  color: #f8fafc;
}

/* Compact preview markup used on the landing page. */
.notepad-body {
  flex: 1;
  padding: 22px;
}
.notepad-body h3 {
  color: #ffffff;
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 22px;
}
.notepad-placeholder {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.55;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.notepad-footer {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 16px;
  background: #141419;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.notepad-footer button,
.diarized-drawer > button {
  color: #e0f2fe;
  font-size: 11px;
  font-weight: 600;
}
.hub-window {
  min-height: 360px;
  border-radius: 16px;
  background: var(--app-bg);
  border: 1px solid rgba(15, 23, 42, 0.18);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  color: var(--app-text);
  text-align: left;
}

.notepad-header {
  height: 44px;
  background: #16161c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.btn-header-capsule {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.08);
  padding: 4px 9px;
  border-radius: 6px;
  color: #cbd5e1;
}
.btn-header-capsule:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.meta-platform-tag {
  font-size: 11px;
  color: #38bdf8;
  font-family: var(--font-mono);
}

.window-controls {
  display: flex;
  gap: 8px;
  color: #71717a;
  font-size: 12px;
}

.note-content-area {
  flex: 1;
  padding: 22px;
  position: relative;
  overflow-y: auto;
}

.note-title-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 500;
  color: #f8fafc;
  margin-bottom: 8px;
}

.note-meta-chips {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.meta-chip {
  font-size: 10.5px;
  background: rgba(255, 255, 255, 0.06);
  padding: 2px 8px;
  border-radius: 4px;
  color: #94a3b8;
}
.meta-chip.timer {
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
  font-family: var(--font-mono);
}

.note-Bullet-editor {
  outline: none;
}
.note-Bullet-editor p {
  font-size: 13.5px;
  color: #cbd5e1;
  line-height: 1.55;
  margin-bottom: 8px;
}

/* Slide-Up Diarized Drawer */
.diarized-drawer {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 58px;
  background: #181820;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  z-index: 4;
}
.drawer-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 10px;
  color: #38bdf8;
  margin-bottom: 8px;
}
.drawer-head button {
  color: #94a3b8;
  font-size: 10.5px;
}
.drawer-utterance {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 6px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11.5px;
  color: #e2e8f0;
}
.drawer-utterance p {
  flex: 1;
}
.btn-replay-10s {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 3px 7px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.14);
  color: #38bdf8;
  white-space: nowrap;
}

.floating-cta-container {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
}

.btn-generate-notes {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  padding: 9px 20px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.4);
  white-space: nowrap;
  transition: transform 0.15s ease;
}
.btn-generate-notes:hover {
  transform: scale(1.04);
}

.dock-container {
  height: 54px;
  background: #141419;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 14px;
  gap: 10px;
}

.dock-audio-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  padding: 5px 10px;
  border-radius: 99px;
  font-size: 11px;
}

.btn-drawer-chevron {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #cbd5e1;
}
.dock-waveform {
  color: #38bdf8;
  font-family: var(--font-mono);
  font-weight: 700;
}

.btn-pause-resume {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 7px;
  border-radius: 4px;
  color: #ffffff;
  font-size: 10.5px;
}

.dock-copilot-input {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 99px;
  padding: 6px 12px;
  font-size: 11px;
  width: 165px;
  outline: none;
}

/* --- VIEW 3: MAIN HUB & LIBRARY DASHBOARD (ui/index.html) --- */
.main-hub-window {
  width: 100%;
  min-height: 440px;
  background: var(--app-bg);
  border: 1px solid rgba(15, 23, 42, 0.18);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  display: grid;
  grid-template-columns: 235px 1fr;
  overflow: hidden;
  text-align: left;
  color: var(--app-text);
}

.hub-sidebar {
  background: var(--app-sidebar);
  border-right: 1px solid rgba(255, 255, 255, 0.07);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.hub-brand-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 13.5px;
  color: #ffffff;
  margin-bottom: 14px;
}

.hub-logo-sq {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  background: #38bdf8;
  display: grid;
  place-items: center;
}

.btn-new-note {
  margin-left: auto;
  font-size: 10.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 99px;
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.3);
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 16px;
}

.nav-item {
  width: 100%;
  text-align: left;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-item.active,
.nav-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 500;
}
.nav-count {
  font-family: var(--font-mono);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 99px;
  background: rgba(56, 189, 248, 0.2);
  color: #38bdf8;
}

.sidebar-timeline {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.timeline-group-label {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-top: 6px;
}
.timeline-note {
  padding: 7px 9px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
}
.timeline-note.is-selected {
  background: rgba(56, 189, 248, 0.08);
  border-color: rgba(56, 189, 248, 0.25);
}
.timeline-note strong {
  display: block;
  font-size: 11.5px;
  color: #f1f5f9;
}
.timeline-note small {
  font-size: 10px;
  color: #94a3b8;
}

.privacy-status-pill {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.28);
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 10.5px;
  font-weight: 600;
  color: #34d399;
  margin-bottom: 10px;
}

.user-profile-row {
  display: flex;
  align-items: center;
  gap: 8px;
}
.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #38bdf8;
  color: #09090d;
  font-weight: 700;
  font-size: 11px;
  display: grid;
  place-items: center;
}
.user-meta strong {
  display: block;
  font-size: 11.5px;
  color: #f1f5f9;
}
.user-meta small {
  font-size: 10px;
  color: #64748b;
}

.hub-content {
  padding: 22px 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
}

.hub-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 14px;
}

.hub-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 10.5px;
  color: #94a3b8;
  margin-bottom: 4px;
}
.platform-pill {
  color: #38bdf8;
  font-family: var(--font-mono);
}
.model-pill {
  background: rgba(255, 255, 255, 0.06);
  padding: 1px 7px;
  border-radius: 4px;
  font-family: var(--font-mono);
}

.hub-title-block h3 {
  font-size: 20px;
  font-weight: 700;
  color: #ffffff;
}
.hub-submeta {
  font-size: 11px;
  color: #94a3b8;
}

.export-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.btn-export {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f8fafc;
  padding: 6px 11px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 500;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.btn-export:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: #38bdf8;
}
.btn-export-crm {
  background: #38bdf8;
  border-color: #38bdf8;
  color: #09090d;
  font-weight: 700;
}
.btn-export-crm:hover {
  background: #7dd3fc;
}

/* 4 Synthesis Tone Lenses Tabs */
.lens-tabs {
  display: flex;
  gap: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 14px;
}

.lens-tab {
  padding: 0 2px 9px;
  font-size: 12.5px;
  font-weight: 500;
  color: #94a3b8;
  border-bottom: 2px solid transparent;
}
.lens-tab.active {
  color: #38bdf8;
  font-weight: 600;
  border-bottom-color: #38bdf8;
}

.doc-section {
  margin-bottom: 12px;
}
.doc-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #64748b;
  margin-bottom: 5px;
}
.doc-section p {
  font-size: 13px;
  line-height: 1.55;
  color: #cbd5e1;
}

.diamond-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.diamond-list li {
  font-size: 12.5px;
  line-height: 1.5;
  color: #e2e8f0;
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.diamond {
  color: #38bdf8;
  font-size: 11px;
}

.checklist-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.03);
  margin-bottom: 5px;
  font-size: 12.5px;
  color: #e2e8f0;
}
.checklist-row label {
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.assignee-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(56, 189, 248, 0.12);
  color: #38bdf8;
}

.transcript-card {
  padding: 9px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
  margin-bottom: 8px;
  cursor: pointer;
}
.transcript-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
}
.tc-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 4px;
}
.spk-badge {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 4px;
}
.spk-remote {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}
.spk-host {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
}
.tc-play {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #38bdf8;
}

/* Granola-Grade Audio Scrubber Bar */
.audio-scrubber-bar {
  background: var(--app-surface);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 10px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 11.5px;
  color: #94a3b8;
}

.scrubber-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}
.btn-scrubber-play {
  color: #ffffff;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.1);
}
.btn-scrubber-skip {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: #94a3b8;
}
.btn-scrubber-skip:hover {
  color: #ffffff;
}
.scrubber-timecode {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #cbd5e1;
}

.scrubber-track-wrap {
  flex: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 99px;
  position: relative;
  cursor: pointer;
}
.scrubber-fill {
  height: 100%;
  background: #38bdf8;
  border-radius: 99px;
  transition: width 0.2s ease;
}

.utterance-dot {
  position: absolute;
  top: 50%;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid #141419;
}
.dot-remote { background: #38bdf8; }
.dot-host { background: #10b981; }

.btn-speed-toggle {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.07);
  color: #e2e8f0;
}

.export-toast {
  margin-top: 12px;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--ink-strong);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 12px;
  text-align: center;
}

/* ==========================================================================
   Section 2 & 3: Cards, Matrix & 4-Pillar Bento (Light Antigravity Style)
   ========================================================================== */
.card-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.clean-card {
  padding: 26px;
  border-radius: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.04);
}

.card-top,
.step-badge-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 14px;
}

.status-pill,
.step-pill {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
}
.pill-red { background: #fef2f2; color: var(--red); border: 1px solid #fecaca; }
.pill-amber { background: #fffbeb; color: var(--amber); border: 1px solid #fde68a; }
.pill-slate { background: #f1f5f9; color: var(--ink-body); border: 1px solid var(--border-strong); }
.step-pill { background: #e0f2fe; color: var(--cyan-deep); }

.comp-names,
.step-tech {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

.clean-card h3 {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  margin-bottom: 8px;
}

.clean-card p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-body);
}

.clean-card code {
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 1px 5px;
  border-radius: 4px;
  background: #f1f5f9;
  color: var(--ink-strong);
}

/* Windows installation guide */
.smartscreen-guide {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: 26px;
  align-items: center;
  margin-top: 30px;
  padding: 26px;
  border: 1px solid #bae6fd;
  border-radius: 18px;
  background: linear-gradient(135deg, #f0f9ff, #ffffff 62%);
}
.smartscreen-copy h3 { margin-bottom: 10px; color: var(--ink-strong); font-size: 21px; letter-spacing: -0.025em; }
.smartscreen-copy p, .smartscreen-copy li { color: var(--ink-body); font-size: 13.5px; line-height: 1.55; }
.smartscreen-copy ol { display: grid; gap: 7px; padding-left: 20px; margin: 15px 0; }
.smartscreen-note { padding: 10px 12px; border-left: 3px solid var(--cyan-deep); background: rgba(255, 255, 255, 0.72); }
.smartscreen-guide img { width: 100%; border-radius: 14px; border: 1px solid var(--border-light); background: #f8fafc; }

/* Comparison Matrix */
.matrix-card {
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.04);
  overflow-x: auto;
}

.clean-matrix {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 13.5px;
}

.clean-matrix th,
.clean-matrix td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--border-light);
  white-space: nowrap;
}

.clean-matrix thead th {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  background: #f8fafc;
}

.clean-matrix tbody tr:last-child td {
  border-bottom: none;
}

.col-highlight {
  background: #f0f9ff !important;
}

.cell-no { color: var(--red); font-weight: 500; }
.cell-amber { color: var(--amber); font-weight: 500; }
.cell-yes { color: var(--ink-body); font-weight: 500; }
.cell-best { color: var(--cyan-deep); font-weight: 700; }

.matrix-footnote {
  margin-top: 12px;
  font-size: 11px;
  line-height: 1.45;
  color: var(--ink-muted);
}

/* 4-Column Bento Strip */
.bento-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.bento-mini {
  padding: 20px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
}

.bento-kicker {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--cyan-deep);
  margin-bottom: 6px;
}

.bento-mini h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-strong);
  margin-bottom: 6px;
}

.bento-mini p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-body);
}

/* ==========================================================================
   Section 4: Download & 30-Day Free Trial Timeline
   ========================================================================== */
.download-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.os-card {
  padding: 28px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid var(--border-light);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.os-card.is-detected {
  border-color: var(--cyan-deep);
  box-shadow: 0 16px 40px rgba(2, 132, 199, 0.1);
}

.os-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.os-name {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-muted);
}
.os-badge {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 99px;
  background: #e0f2fe;
  color: var(--cyan-deep);
}

.os-card h3 {
  font-size: 22px;
  font-weight: 800;
  color: var(--ink-strong);
}
.os-card p {
  font-size: 14px;
  color: var(--ink-body);
  margin-bottom: 6px;
}

.btn-full {
  width: 100%;
  justify-content: space-between;
  padding: 0 20px;
}
.btn-full small {
  font-family: var(--font-mono);
  font-size: 11.5px;
  opacity: 0.85;
}

.dl-feedback {
  margin-bottom: 20px;
  padding: 12px 18px;
  border-radius: 12px;
  background: #ecfdf5;
  border: 1px solid #a7f3d0;
  color: var(--emerald-deep);
  font-family: var(--font-mono);
  font-size: 12.5px;
  text-align: center;
}

/* Pricing & 30-Day Trial Card */
.pricing-card {
  padding: 30px;
  border-radius: 20px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
}

.pricing-top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}

.pricing-top h3 {
  font-size: 24px;
  font-weight: 800;
  color: var(--ink-strong);
  margin-bottom: 4px;
}
.pricing-top p {
  font-size: 14px;
  color: var(--ink-body);
}

.billing-switch {
  display: inline-flex;
  padding: 4px;
  border-radius: 99px;
  background: #e2e8f0;
}

.bill-btn {
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-body);
}
.bill-btn.is-active {
  background: #ffffff;
  color: var(--ink-strong);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}
.bill-btn span {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--emerald-deep);
  margin-left: 4px;
}

.timeline-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.tl-step {
  padding: 18px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid var(--border-light);
}
.tl-step.is-now {
  border-color: var(--emerald);
  background: #f0fdf4;
}
.tl-step.is-future {
  border-color: var(--cyan-deep);
  background: #f0f9ff;
}

.tl-date {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.tl-step.is-now .tl-date { color: var(--emerald-deep); }
.tl-step.is-future .tl-date { color: var(--cyan-deep); }

.tl-step strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: var(--ink-strong);
  margin-bottom: 4px;
}
.tl-step p {
  font-size: 13px;
  line-height: 1.45;
  color: var(--ink-body);
}

/* ==========================================================================
   Section 5: Footer & Command Palette
   ========================================================================== */
.site-footer {
  padding: 56px 0 40px;
  background: #ffffff;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand {
  max-width: 320px;
}
.footer-brand p {
  margin-top: 10px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

.footer-nav-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-nav-cols > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav-cols strong {
  font-size: 12.5px;
  color: var(--ink-strong);
  margin-bottom: 2px;
}
.footer-nav-cols a {
  font-size: 13px;
  color: var(--ink-muted);
}
.footer-nav-cols a:hover {
  color: var(--cyan-deep);
}

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: var(--ink-muted);
}

/* Command Palette Modal */
.cmd-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.35);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: start center;
  padding-top: 14vh;
}
.cmd-backdrop[hidden] {
  display: none;
}

.cmd-modal {
  width: min(540px, 92vw);
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border-strong);
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  overflow: hidden;
}

.cmd-input-row {
  display: flex;
  align-items: center;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border-light);
}
.cmd-input-row input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 14px;
  color: var(--ink-strong);
}
.cmd-input-row kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: #f1f5f9;
  color: var(--ink-muted);
}

.cmd-list {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.cmd-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--ink-strong);
}
.cmd-item:hover {
  background: #f0f9ff;
  color: var(--cyan-deep);
}
.cmd-item kbd {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-muted);
}

/* ==========================================================================
   Responsive Design (Tablet & Mobile)
   ========================================================================== */
@media (max-width: 960px) {
  .main-nav { display: none; }
  .showcase-toolbar { grid-template-columns: 1fr; }
  .notepad-stage-layout { grid-template-columns: 1fr; justify-items: center; }
  .main-hub-window { grid-template-columns: 1fr; }
  .hub-sidebar { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
  .card-grid-3, .bento-grid-4, .download-grid, .timeline-strip, .sim-slides-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .brand-tag, .cmd-trigger { display: none; }
  .site-header { padding: 10px 14px; }
  .nav-shell { height: 50px; padding: 0 12px; }
  .hero-section { padding-top: 96px; }
  .hero-cta-row { flex-direction: column; align-items: stretch; }
  .showcase-viewport { padding: 14px; }
  .hub-content { padding: 16px; }
  .lens-tabs { overflow-x: auto; white-space: nowrap; }
  .audio-scrubber-bar { flex-wrap: wrap; }
}

/* ==========================================================================
   Subpages: Legal, Download Hub, Docs Sidebar & Security Whitepaper
   ========================================================================== */
.subpage-main {
  padding-top: 118px;
  padding-bottom: 84px;
}

.subpage-header {
  max-width: 860px;
  margin-bottom: 36px;
}

.subpage-header h1 {
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  color: var(--ink-strong);
  margin: 10px 0 12px;
}

.subpage-header p {
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink-body);
}

.legal-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}
.legal-meta-chip {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 99px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  color: var(--ink-body);
}

.legal-stack {
  display: flex;
  flex-direction: column;
  gap: 22px;
  max-width: 960px;
}

.legal-card {
  padding: 30px 32px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.04);
}
.legal-card.highlight-clause {
  border-color: #bae6fd;
  background: #f0f9ff;
}
.legal-card.emerald-clause {
  border-color: #a7f3d0;
  background: #ecfdf5;
}

.legal-card h2 {
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink-strong);
  margin-bottom: 12px;
}

.legal-card h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-strong);
  margin: 18px 0 8px;
}

.legal-card p,
.legal-card li {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-body);
  margin-bottom: 8px;
}

.legal-card ul,
.legal-card ol {
  padding-left: 22px;
  margin-top: 8px;
  margin-bottom: 10px;
}

.legal-card code {
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 2px 6px;
  border-radius: 5px;
  background: #f1f5f9;
  border: 1px solid var(--border-light);
  color: var(--ink-strong);
}

.legal-card pre {
  background: #0f172a;
  color: #f8fafc;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.55;
  padding: 20px 24px;
  border-radius: 14px;
  overflow-x: auto;
  margin: 14px 0 18px;
  border: 1px solid #1e293b;
}

.legal-card pre code {
  background: transparent;
  border: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

/* Allow subpage tables to wrap text cleanly without horizontal overflow */
.subpage-main .clean-matrix th,
.subpage-main .clean-matrix td {
  white-space: normal;
  vertical-align: top;
  line-height: 1.5;
}

/* Main landing page readability pass: preserve the visual system while making
   the product proof easier to scan at normal desktop distance. */
.section-desc {
  max-width: 680px;
  font-size: 17px;
  line-height: 1.62;
}

.card-grid-3 {
  gap: 20px;
}

.bento-mini {
  padding: 22px;
}

.bento-mini h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.bento-mini p {
  font-size: 13.5px;
  line-height: 1.58;
}

.matrix-card {
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.055);
}

.clean-matrix {
  font-size: 14.25px;
}

.clean-matrix th,
.clean-matrix td {
  padding: 16px 20px;
}

.clean-matrix thead th {
  font-size: 11.5px;
}

.clean-matrix td:first-child {
  color: var(--ink-strong);
  font-weight: 700;
}

.matrix-footnote {
  max-width: 940px;
  margin-top: 15px;
  font-size: 12px;
  line-height: 1.55;
}

.os-card p,
.pricing-top p,
.tl-step p {
  font-size: 14.5px;
  line-height: 1.55;
}

@media (max-width: 640px) {
  .section-desc { font-size: 16px; }
  .bento-mini { padding: 19px; }
  .clean-matrix { font-size: 13px; }
  .clean-matrix th,
  .clean-matrix td { padding: 14px 16px; }
}

.kbd-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid var(--border-strong);
  box-shadow: 0 1px 0 var(--border-strong);
  color: var(--ink-strong);
  white-space: nowrap;
}

/* Copyable Code / Checksum / Terminal Box */
.os-card {
  min-width: 0;
}
.copy-code-block {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: #0f172a;
  color: #e2e8f0;
  font-family: var(--font-mono);
  font-size: 12px;
  margin-top: 10px;
}
.copy-code-block code {
  color: #38bdf8;
  background: transparent;
  border: none;
  padding: 0;
  word-break: break-all;
}
.btn-copy-snippet {
  padding: 6px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}
.btn-copy-snippet:hover {
  background: var(--cyan-deep);
}

/* Docs Single-Sidebar Layout */
.docs-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 32px;
  align-items: start;
}

.docs-sidebar {
  position: sticky;
  top: 92px;
  padding: 18px;
  border-radius: 16px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.docs-sidebar-title {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 6px;
}
.docs-sidebar a {
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-body);
}
.docs-sidebar a:hover,
.docs-sidebar a.is-active {
  background: #ffffff;
  color: var(--cyan-deep);
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

/* 4-Layer Security Pipeline Grid */
.pipeline-grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}
.pipe-node {
  padding: 20px;
  border-radius: 14px;
  background: #f8fafc;
  border: 1px solid var(--border-light);
}
.pipe-layer-num {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  color: var(--cyan-deep);
  display: block;
  margin-bottom: 6px;
}
.pipe-node h4 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--ink-strong);
  margin-bottom: 6px;
}
.pipe-node p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--ink-body);
  margin-bottom: 0;
}

/* Contact Grid */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

@media (max-width: 960px) {
  .docs-shell, .pipeline-grid-4, .contact-grid, .smartscreen-guide {
    grid-template-columns: 1fr;
  }
  .docs-sidebar { position: static; }
}



