/*
 * Loom — Native macOS-Styled Website Stylesheet
 * Copyright © 2026 Deepak Sharma (ChaiWithCode).
 * Licensed under the MIT License.
 */

:root {
  /* Color Palette - Light Mode Default */
  --bg-canvas: #f8f9fb;
  --bg-surface: rgba(255, 255, 255, 0.78);
  --bg-surface-solid: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-header: rgba(248, 249, 251, 0.82);
  --bg-glass: rgba(255, 255, 255, 0.72);
  --bg-code: #f1f3f7;
  --bg-code-block: #181b22;
  --text-code-block: #e6edf3;
  --bg-pill: rgba(0, 0, 0, 0.05);

  --text-primary: #1d1d1f;
  --text-secondary: #515358;
  --text-tertiary: #86868b;
  --text-link: #0071e3;
  --text-on-accent: #ffffff;

  --accent: #0071e3;
  --accent-hover: #0077ed;
  --accent-subtle: rgba(0, 113, 227, 0.1);
  --accent-glow: rgba(0, 113, 227, 0.22);
  --accent-gradient: linear-gradient(135deg, #0071e3 0%, #6366f1 100%);

  --status-working: #30d158;
  --status-idle: #ff9f0a;
  --status-waiting: #0a84ff;
  --status-failed: #ff453a;

  --border-subtle: rgba(0, 0, 0, 0.07);
  --border-medium: rgba(0, 0, 0, 0.12);
  --border-window: rgba(0, 0, 0, 0.14);

  --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-window: 0 24px 50px -12px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.08);
  --shadow-popover: 0 16px 36px rgba(0, 0, 0, 0.14), 0 0 0 1px rgba(0, 0, 0, 0.06);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", ui-monospace, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

  --container-max: 1160px;
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg-canvas: #0c0e12;
    --bg-surface: rgba(22, 25, 34, 0.72);
    --bg-surface-solid: #161922;
    --bg-surface-elevated: #1e222e;
    --bg-header: rgba(12, 14, 18, 0.78);
    --bg-glass: rgba(26, 30, 42, 0.65);
    --bg-code: #161922;
    --bg-code-block: #12141a;
    --text-code-block: #e6edf3;
    --bg-pill: rgba(255, 255, 255, 0.08);

    --text-primary: #f5f5f7;
    --text-secondary: #a1a1aa;
    --text-tertiary: #71717a;
    --text-link: #2997ff;
    --text-on-accent: #ffffff;

    --accent: #2997ff;
    --accent-hover: #409cff;
    --accent-subtle: rgba(41, 151, 255, 0.15);
    --accent-glow: rgba(41, 151, 255, 0.28);
    --accent-gradient: linear-gradient(135deg, #2997ff 0%, #818cf8 100%);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.14);
    --border-window: rgba(255, 255, 255, 0.16);

    --shadow-subtle: 0 2px 8px rgba(0, 0, 0, 0.25);
    --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --shadow-window: 0 30px 60px -15px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.12);
    --shadow-popover: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(255, 255, 255, 0.1);
  }
}

/* Reset & Box Model */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--accent);
  color: #fff;
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  text-decoration: none;
  font-weight: 600;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: 16px;
}

/* Typography Defaults */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

p {
  color: var(--text-secondary);
}

a {
  color: var(--text-link);
  text-decoration: none;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover {
  text-decoration: underline;
}

a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* Sticky Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: var(--bg-header);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--transition-normal), border-color var(--transition-normal);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.nav-brand:hover {
  text-decoration: none;
}

.nav-brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  padding: 6px 4px;
  transition: color var(--transition-fast);
}

.nav-links a:hover {
  color: var(--text-primary);
  text-decoration: none;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: var(--text-on-accent) !important;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  text-decoration: none !important;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.nav-cta:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
}

/* Hero Section */
.hero-section {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0, 113, 227, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
}

.hero-icon-wrapper {
  margin-bottom: 24px;
  display: inline-block;
  position: relative;
}

.hero-icon {
  width: 120px;
  height: 120px;
  max-width: 120px;
  border-radius: 26px;
  display: block;
  box-shadow: 0 16px 36px var(--accent-glow), 0 4px 12px rgba(0, 0, 0, 0.12);
  transition: transform var(--transition-normal);
}

.hero-icon:hover {
  transform: scale(1.03);
}

.hero-title {
  font-size: 3.8rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 8px;
  background: linear-gradient(180deg, var(--text-primary) 0%, var(--text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 36px;
  max-width: 660px;
  margin-left: auto;
  margin-right: auto;
}

/* Call to Actions */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 20px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  text-decoration: none !important;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--accent);
  color: var(--text-on-accent);
  box-shadow: 0 4px 14px var(--accent-glow);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px var(--accent-glow);
}

.btn-secondary {
  background: var(--bg-surface-solid);
  color: var(--text-primary);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-subtle);
}

.btn-secondary:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--text-tertiary);
  transform: translateY(-1px);
}

.btn-subtle {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border-subtle);
}

.btn-subtle:hover {
  color: var(--text-primary);
  border-color: var(--border-medium);
  background: var(--bg-pill);
}

.hero-pill-compat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-tertiary);
  background: var(--bg-pill);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-subtle);
  max-width: 100%;
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.compat-dot {
  width: 6px;
  height: 6px;
  background-color: var(--status-working);
  border-radius: 50%;
  display: inline-block;
}

/* macOS Window Chrome Mockup Styling */
.macos-window {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-window);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  position: relative;
  transition: box-shadow var(--transition-normal);
}

.macos-titlebar {
  height: 38px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  padding: 0 16px;
  position: relative;
  user-select: none;
}

.macos-traffic-lights {
  display: flex;
  align-items: center;
  gap: 8px;
}

.traffic-light {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.traffic-close { background-color: #ff5f56; border: 1px solid #e0443e; }
.traffic-minimize { background-color: #ffbd2e; border: 1px solid #dea123; }
.traffic-expand { background-color: #27c93f; border: 1px solid #1aab29; }

.macos-window-title {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Demo Section */
.demo-section {
  padding: 40px 0 80px;
}

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

.section-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 8px;
}

.section-title {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.section-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.demo-window-container {
  max-width: 960px;
  margin: 0 auto;
}

.video-frame {
  width: 100%;
  display: block;
  background-color: #000000;
  line-height: 0;
}

.video-frame video {
  width: 100%;
  height: auto;
  display: block;
  max-height: 560px;
  background-color: #000;
}

.demo-caption-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.88rem;
  color: var(--text-secondary);
}

.demo-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-duration {
  background: var(--bg-pill);
  border: 1px solid var(--border-subtle);
  padding: 2px 8px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-primary);
  font-weight: 600;
}

.demo-vertical-link {
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* Why Loom / Problem & Solution */
.why-section {
  padding: 80px 0;
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.why-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.why-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

.why-card-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.why-card-icon svg {
  width: 24px;
  height: 24px;
}

.why-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}

.why-card p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Features Showcase */
.features-section {
  padding: 90px 0;
}

.feature-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
  margin-bottom: 110px;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block.reverse {
  grid-template-columns: 1fr 1fr;
}

.feature-block.reverse .feature-visual {
  order: 1;
}

.feature-block.reverse .feature-content {
  order: 2;
}

.feature-content {
  display: flex;
  flex-direction: column;
}

.feature-pill {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  background: var(--accent-subtle);
  color: var(--accent);
  margin-bottom: 14px;
}

.feature-title {
  font-size: 2.1rem;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}

.feature-lead {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

.feature-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.feature-list-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.feature-list-bullet {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.feature-list-bullet svg {
  width: 12px;
  height: 12px;
}

.feature-list-text strong {
  color: var(--text-primary);
  display: block;
  font-size: 0.98rem;
  margin-bottom: 2px;
}

.feature-list-text span {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  display: block;
}

/* Feature Visuals & Screenshots */
.feature-visual {
  position: relative;
}

.screenshot-card {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-window);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  transition: transform var(--transition-normal);
}

.screenshot-card:hover {
  transform: translateY(-3px);
}

.screenshot-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.dual-screenshot-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.dual-screenshot-card {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-window);
  box-shadow: var(--shadow-popover);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.screenshot-caption {
  padding: 8px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  background: var(--bg-surface);
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
}

/* Supported Providers Matrix */
.providers-section {
  padding: 90px 0;
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-subtle);
}

.table-responsive-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-window);
  box-shadow: var(--shadow-card);
  background: var(--bg-surface-elevated);
  margin-top: 36px;
}

.matrix-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.94rem;
}

.matrix-table th {
  background: var(--bg-surface);
  color: var(--text-primary);
  font-weight: 600;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-medium);
  white-space: nowrap;
}

.matrix-table td {
  padding: 18px 20px;
  border-bottom: 1px solid var(--border-subtle);
  vertical-align: top;
  color: var(--text-secondary);
}

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

.matrix-table tr:hover td {
  background-color: var(--bg-pill);
}

.provider-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  color: var(--text-primary);
  white-space: nowrap;
}

.provider-icon-badge {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
}

.provider-badge-codex { color: #10a37f; }
.provider-badge-claude { color: #d97706; }
.provider-badge-antigravity { color: #3b82f6; }

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.badge-implemented {
  background: rgba(48, 209, 88, 0.12);
  color: #27a844;
}

@media (prefers-color-scheme: dark) {
  .badge-implemented {
    color: #30d158;
  }
}

.badge-unsupported {
  background: rgba(255, 159, 10, 0.12);
  color: #c97d07;
}

@media (prefers-color-scheme: dark) {
  .badge-unsupported {
    color: #ff9f0a;
  }
}

.disclaimer-text {
  font-size: 0.84rem;
  color: var(--text-tertiary);
  margin-top: 18px;
  text-align: center;
  font-style: italic;
}

/* Installation Section */
.install-section {
  padding: 90px 0;
  border-top: 1px solid var(--border-subtle);
}

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

.install-card {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-card);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.install-card.highlight {
  border-color: var(--accent);
  box-shadow: 0 10px 30px var(--accent-subtle), var(--shadow-card);
}

.install-tag {
  position: absolute;
  top: -12px;
  right: 24px;
  background: var(--accent);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.install-card h3 {
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.install-card p {
  font-size: 0.94rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

/* Code Snippet Box */
.terminal-snippet {
  background: var(--bg-code-block);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 16px;
}

.terminal-code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-code-block);
  overflow-x: auto;
  white-space: nowrap;
  line-height: 1.4;
}

.copy-btn {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition-fast);
}

.copy-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.install-meta-list {
  list-style: none;
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.install-meta-list li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.check-icon {
  color: var(--status-working);
  font-weight: bold;
}

/* Privacy & Local-First Section */
.privacy-section {
  padding: 90px 0;
  background: var(--bg-canvas);
  border-top: 1px solid var(--border-subtle);
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.privacy-item {
  background: var(--bg-surface);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  padding: 28px;
  display: flex;
  gap: 20px;
  box-shadow: var(--shadow-subtle);
}

.privacy-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.privacy-item-icon svg {
  width: 22px;
  height: 22px;
}

.privacy-item-content h3 {
  font-size: 1.18rem;
  margin-bottom: 8px;
}

.privacy-item-content p {
  font-size: 0.92rem;
  line-height: 1.55;
}

/* Open Source Banner */
.opensource-banner {
  margin-top: 50px;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  box-shadow: var(--shadow-card);
}

.opensource-info h3 {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.opensource-info p {
  font-size: 0.95rem;
  max-width: 680px;
}

/* Site Footer */
.site-footer {
  margin-top: auto;
  background: var(--bg-surface-solid);
  border-top: 1px solid var(--border-subtle);
  padding: 70px 0 40px;
  font-size: 0.9rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--text-primary);
  text-decoration: none;
}

.footer-brand:hover {
  text-decoration: none;
}

.footer-brand-icon {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-col a:hover {
  color: var(--text-primary);
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  color: var(--text-tertiary);
  font-size: 0.84rem;
}

.footer-copy a {
  color: var(--text-secondary);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3.2rem;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .install-grid {
    grid-template-columns: 1fr;
  }

  .feature-block, .feature-block.reverse {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .feature-block.reverse .feature-visual {
    order: 2;
  }

  .feature-block.reverse .feature-content {
    order: 1;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .opensource-banner {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Mobile navigation simplified */
  }

  .hero-title {
    font-size: 2.6rem;
  }

  .hero-subtitle {
    font-size: 1.35rem;
  }

  .hero-tagline {
    font-size: 1.05rem;
  }

  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .dual-screenshot-grid {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-cta-group .btn {
    width: 100%;
  }

  .hero-pill-compat {
    font-size: 0.72rem;
    padding: 6px 12px;
    border-radius: var(--radius-md);
    line-height: 1.4;
  }

  .demo-caption-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}
