/* ==========================================================================
   Lord Spey — Apple-Inspired Minimalist Landing Page Stylesheet
   Designed for authors, novelists, lore-keepers, and worldbuilders.
   Clean, refined typography, subtle frosted glass, and pure restraint.
   ========================================================================== */

:root {
  /* Surface & Background */
  --bg-base: #0c0e12;
  --bg-translucent: rgba(12, 14, 18, 0.78);
  --bg-surface: rgba(255, 255, 255, 0.035);
  --bg-surface-elevated: rgba(255, 255, 255, 0.055);
  --bg-surface-hover: rgba(255, 255, 255, 0.08);
  --bg-card: rgba(18, 20, 26, 0.65);
  --bg-card-highlight: rgba(24, 28, 38, 0.75);
  
  /* Borders */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-muted: rgba(255, 255, 255, 0.04);
  --border-focus: rgba(255, 255, 255, 0.22);
  --border-active: rgba(255, 255, 255, 0.35);

  /* Typography Colors */
  --text-primary: #f5f5f7;
  --text-secondary: #a1a1a6;
  --text-muted: #86868b;
  --text-highlight: #ffffff;

  /* Restrained Accents */
  --accent-crimson: #c53b3b;
  --accent-gold: #e2b04a;
  --accent-emerald: #30d158;
  --accent-cyan: #32ade6;
  --accent-blue: #2997ff;

  /* Typography Stack - Apple First */
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Pro", "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-serif: "Lora", "New York", Georgia, serif;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 24px;
  --radius-pill: 980px;

  /* Elevation & Shadows */
  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.25);
  --shadow-window: 0 24px 70px rgba(0, 0, 0, 0.65), 0 1px 0 1px rgba(255, 255, 255, 0.08) inset;
  --shadow-card: 0 10px 30px rgba(0, 0, 0, 0.35);

  /* Transitions */
  --ease-apple: cubic-bezier(0.16, 1, 0.3, 1);
  --transition-smooth: all 0.24s var(--ease-apple);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-base);
}

body {
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-base);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  position: relative;
}

/* Subtle Apple Ethereal Aura in Hero */
body::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  max-width: 100vw;
  height: 620px;
  background: radial-gradient(ellipse 65% 50% at 50% 0%, rgba(120, 119, 198, 0.12), transparent 72%);
  pointer-events: none;
  z-index: 0;
}

/* ───────── Typography Utilities ───────── */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.022em;
}

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

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

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-smooth);
}

/* ───────── Layout Container ───────── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

.container-narrow {
  max-width: 820px;
}

/* ───────── Navigation Bar (Apple Frosted Glass) ───────── */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--bg-translucent);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.3s ease, border-color 0.3s ease;
}

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

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 0.95rem;
  user-select: none;
}

.nav-brand-img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.05);
}

.nav-brand-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.12em;
  color: var(--text-primary);
}

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

.nav-link {
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  transition: color 0.18s ease;
}

.nav-link:hover {
  color: var(--text-primary);
}

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

/* ───────── Pill Buttons & Modern CTAs ───────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
  white-space: nowrap;
  letter-spacing: -0.01em;
  text-decoration: none;
  user-select: none;
}

.btn-primary {
  background: #ffffff;
  color: #000000;
  border-color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 10px rgba(255, 255, 255, 0.12);
}

.btn-primary:hover {
  background: #f0f0f3;
  transform: scale(1.02);
  box-shadow: 0 4px 18px rgba(255, 255, 255, 0.22);
}

.btn-primary:active {
  transform: scale(0.98);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  border-color: var(--border-subtle);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.13);
  border-color: var(--border-focus);
  transform: scale(1.02);
}

.btn-secondary:active {
  transform: scale(0.98);
}

.btn-large {
  padding: 12px 26px;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ───────── Hero Section ───────── */
.hero-section {
  padding: 88px 0 68px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition-smooth);
}

.hero-badge:hover {
  border-color: var(--border-focus);
  background: rgba(255, 255, 255, 0.06);
}

.hero-badge-tag {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px rgba(48, 209, 88, 0.6);
  animation: pulse-dot 2.5s infinite ease-in-out;
}

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

.hero-title {
  font-size: 3.4rem;
  font-weight: 700;
  max-width: 920px;
  margin: 0 auto 22px;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #f5f5f7;
}

.hero-subtitle {
  font-size: 1.18rem;
  color: var(--text-secondary);
  max-width: 740px;
  margin: 0 auto 36px;
  line-height: 1.58;
  letter-spacing: -0.015em;
  font-weight: 400;
}

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

.hero-subtext {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: -0.01em;
}

.hero-subtext a {
  color: var(--text-secondary);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-subtext a:hover {
  color: var(--text-primary);
}

/* ───────── Interactive Showcase Window (Apple Window Frame) ───────── */
.showcase-container {
  margin-top: 50px;
}

.showcase-tabs {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  padding: 4px;
  margin-bottom: 22px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow-x: auto;
  max-width: 100%;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.showcase-tabs::-webkit-scrollbar {
  display: none;
}

.showcase-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.showcase-tab svg {
  opacity: 0.75;
  transition: opacity 0.2s ease;
}

.showcase-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.04);
}

.showcase-tab:hover svg {
  opacity: 1;
}

.showcase-tab.active {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.showcase-tab.active svg {
  opacity: 1;
}

.showcase-tab:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

.mockup-wrapper {
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-window);
  overflow: hidden;
  text-align: left;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px;
  background: rgba(16, 18, 24, 0.88);
  border-bottom: 1px solid var(--border-subtle);
}

.mockup-dots {
  display: flex;
  gap: 8px;
}

.mockup-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.mockup-dot-red { background: #ff5f56; }
.mockup-dot-yellow { background: #ffbd2e; }
.mockup-dot-green { background: #27c93f; }

.mockup-title {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: -0.01em;
}

.mockup-meta {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.mockup-content {
  display: grid;
  grid-template-columns: 230px 1fr 230px;
  min-height: 480px;
  background: rgba(10, 12, 16, 0.95);
}

/* Sidebar Mock */
.mockup-sidebar {
  border-right: 1px solid var(--border-subtle);
  padding: 16px 14px;
  background: rgba(15, 17, 23, 0.6);
}

.mockup-sidebar-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}

.mockup-sidebar-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 3px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.mockup-sidebar-item:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
}

.mockup-sidebar-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-primary);
  font-weight: 500;
}

/* Editor Mock */
.mockup-editor {
  padding: 38px 46px;
  overflow-y: auto;
}

.mockup-editor-heading {
  font-family: var(--font-serif);
  font-size: 1.85rem;
  margin-bottom: 18px;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.mockup-editor-text {
  font-family: var(--font-serif);
  font-size: 1.02rem;
  color: #c8ccd6;
  line-height: 1.8;
  margin-bottom: 18px;
}

.mockup-wiki-link {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.08);
  padding: 2px 7px;
  border-radius: 5px;
  font-family: var(--font-sans);
  font-size: 0.9em;
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: inline-block;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.mockup-wiki-link:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.mockup-editor-break {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  letter-spacing: 0.4em;
  margin: 28px 0;
}

/* Inspector Drawer Mock */
.mockup-drawer {
  border-left: 1px solid var(--border-subtle);
  padding: 18px 16px;
  background: rgba(15, 17, 23, 0.6);
}

.mockup-drawer-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin-bottom: 12px;
  transition: var(--transition-smooth);
}

.mockup-drawer-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-focus);
}

/* ───────── Interactive Showcase Panes ───────── */
.showcase-pane {
  display: none;
  animation: paneFadeIn 0.28s ease-out;
}

.showcase-pane.active {
  display: block;
}

@keyframes paneFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Atlas Mock Pane */
.atlas-mock-view {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: rgba(10, 12, 16, 0.95);
}

.atlas-breadcrumbs-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-subtle);
  width: fit-content;
  flex-wrap: wrap;
}

.atlas-breadcrumbs-bar span.active {
  color: var(--text-primary);
  font-weight: 500;
}

.atlas-system-radar {
  height: 220px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at center, #161c28 0%, #0a0c10 100%);
  border: 1px solid var(--border-subtle);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.atlas-grid-tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.atlas-tier-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.atlas-tier-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--border-focus);
}

.atlas-tier-card.active {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.atlas-tier-icon {
  font-size: 1.4rem;
}

.atlas-tier-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.atlas-tier-desc {
  font-size: 0.76rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* Cartography Studio Mock Pane */
.carto-mock-view {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background: rgba(10, 12, 16, 0.95);
}

.carto-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.carto-toolbar::-webkit-scrollbar {
  display: none;
}

.carto-tools {
  display: flex;
  gap: 8px;
  color: var(--text-secondary);
  align-items: center;
  white-space: nowrap;
}

.carto-tool-btn {
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-secondary);
  font-size: 0.78rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.carto-tool-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.carto-tool-btn.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  font-weight: 500;
}

.carto-canvas {
  height: 320px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at center, #141722 0%, #0a0c10 100%);
  border: 1px solid var(--border-subtle);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.carto-svg-map {
  width: 100%;
  height: 100%;
  max-width: 720px;
  max-height: 300px;
}

/* Lore Graph Mock Pane */
.graph-mock-view {
  padding: 30px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at center, #131722 0%, #090b0f 100%);
}

.graph-svg-connections {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.graph-center-node {
  padding: 10px 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  color: #ffffff;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.18);
  z-index: 2;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.graph-center-node:hover {
  transform: scale(1.05);
  border-color: #ffffff;
}

.graph-orbit-node {
  position: absolute;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-smooth);
  z-index: 2;
  white-space: nowrap;
}

.graph-orbit-node:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--border-focus);
  transform: scale(1.04);
}

.graph-orbit-node.highlighted {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
}

/* ───────── Section Common ───────── */
.section {
  padding: 100px 0;
  position: relative;
}

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

.section-tag {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  line-height: 1.18;
}

.section-subtitle {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* ───────── Bento Features Grid ───────── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.feature-card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-focus);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.feature-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 22px;
  color: var(--text-primary);
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.015em;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* ───────── Spotlight Map Studio ───────── */
.spotlight-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 48px;
  margin-top: 24px;
  box-shadow: var(--shadow-window);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.spotlight-bullets {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.spotlight-bullet {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.spotlight-bullet svg {
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--text-primary);
}

.spotlight-bullet strong {
  color: var(--text-primary);
  font-weight: 600;
}

.spotlight-preview {
  background: rgba(10, 12, 16, 0.9);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.spotlight-tools-bar {
  display: flex;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  color: var(--text-secondary);
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.spotlight-tools-bar::-webkit-scrollbar {
  display: none;
}

.spotlight-canvas-mock {
  height: 220px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at center, #161a25 0%, #0c0e14 100%);
  border: 1px dashed var(--border-focus);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.spotlight-canvas-label {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--text-muted);
}

/* ───────── Philosophy / Minimalist Restraint ───────── */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 24px;
}

.philosophy-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  transition: var(--transition-smooth);
}

.philosophy-card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-focus);
  transform: translateY(-2px);
}

.philosophy-metric {
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1;
}

.philosophy-title {
  font-size: 1.15rem;
  margin-bottom: 10px;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.philosophy-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  letter-spacing: -0.01em;
}

/* ───────── Download Matrix ───────── */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.download-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 38px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: var(--transition-smooth);
}

.download-card:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--border-focus);
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

.download-card.highlight {
  border-color: rgba(255, 255, 255, 0.22);
  background: var(--bg-card-highlight);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

.download-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.download-title {
  font-size: 1.28rem;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  font-weight: 600;
}

.download-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 14px;
}

.download-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin-bottom: 26px;
  flex-grow: 1;
  line-height: 1.55;
  letter-spacing: -0.01em;
}

.download-card .btn {
  width: 100%;
}

.download-alt-link {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.15s ease;
}

.download-alt-link:hover {
  color: var(--text-primary);
}

/* ───────── Minimal Apple-Style Footer ───────── */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 50px 0 40px;
  background: var(--bg-base);
  margin-top: 80px;
  font-size: 0.84rem;
  color: var(--text-muted);
}

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

.footer-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-brand {
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  gap: 24px;
  list-style: none;
}

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

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

/* ───────── Responsive Breakpoints ───────── */
@media (max-width: 960px) {
  .hero-title { font-size: 2.6rem; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .downloads-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .spotlight-card { grid-template-columns: 1fr; padding: 32px 24px; }
  .mockup-content { grid-template-columns: 1fr; }
  .mockup-sidebar, .mockup-drawer { display: none; }
  .atlas-grid-tiers { grid-template-columns: repeat(2, 1fr); }
  .carto-toolbar { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .hero-section { padding: 60px 0 40px; }
  .hero-title { font-size: 2.05rem; }
  .hero-subtitle { font-size: 1.02rem; }
  .features-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .mockup-editor { padding: 24px 20px; }
  .atlas-grid-tiers { grid-template-columns: 1fr; }
  .atlas-mock-view { padding: 18px; }
  .carto-mock-view { padding: 18px; }
  .graph-mock-view { padding: 20px; height: 360px; }
  .graph-orbit-node { font-size: 0.72rem; padding: 4px 10px; }
  .showcase-tab { font-size: 0.76rem; padding: 6px 11px; }
  .site-nav-inner { height: 50px; }
}
