:root {
  color-scheme: dark;
  --bg-base: #070b14;
  --bg-elevated: rgba(15, 23, 42, 0.72);
  --bg-card: rgba(17, 25, 45, 0.68);
  --bg-card-hover: rgba(24, 36, 62, 0.82);
  --bg-pill: rgba(59, 130, 246, 0.14);
  --border-subtle: rgba(148, 163, 184, 0.18);
  --border-strong: rgba(148, 163, 184, 0.34);
  --text-primary: #f8fafc;
  --text-secondary: #cbd5e1;
  --text-muted: #94a3b8;
  --accent-blue: #3b82f6;
  --accent-blue-hover: #2563eb;
  --accent-cyan: #22d3ee;
  --accent-emerald: #10b981;
  --shadow-card: 0 18px 50px rgba(2, 6, 23, 0.52);
  --glow-a: rgba(37, 99, 235, 0.24);
  --glow-b: rgba(34, 211, 238, 0.16);
  --glow-c: rgba(16, 185, 129, 0.12);
  --nav-bg: rgba(7, 11, 20, 0.78);
  --store-btn-bg: #0f172a;
  --store-btn-border: rgba(255, 255, 255, 0.24);
  --store-btn-text: #ffffff;
  --font-sans: "Segoe UI Variable Display", "Segoe UI Variable", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "Cascadia Code", "Consolas", ui-monospace, monospace;
}

:root[data-theme="light"] {
  color-scheme: light;
  --bg-base: #f3f6fb;
  --bg-elevated: rgba(255, 255, 255, 0.86);
  --bg-card: rgba(255, 255, 255, 0.78);
  --bg-card-hover: rgba(255, 255, 255, 0.96);
  --bg-pill: rgba(37, 99, 235, 0.10);
  --border-subtle: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.22);
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #475569;
  --accent-blue: #2563eb;
  --accent-blue-hover: #1d4ed8;
  --accent-cyan: #0891b2;
  --accent-emerald: #059669;
  --shadow-card: 0 18px 42px rgba(15, 23, 42, 0.08);
  --glow-a: rgba(59, 130, 246, 0.16);
  --glow-b: rgba(6, 182, 212, 0.12);
  --glow-c: rgba(16, 185, 129, 0.10);
  --nav-bg: rgba(243, 246, 251, 0.84);
  --store-btn-bg: #0f172a;
  --store-btn-border: rgba(15, 23, 42, 0.2);
  --store-btn-text: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background-color: var(--bg-base);
  background-image:
    radial-gradient(64rem 38rem at 12% -6%, var(--glow-a), transparent 65%),
    radial-gradient(56rem 34rem at 88% 8%, var(--glow-b), transparent 60%),
    radial-gradient(50rem 36rem at 55% 92%, var(--glow-c), transparent 65%);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--nav-bg);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: block;
}

.brand-meta {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 1.05rem;
}

.brand-sub {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.93rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color 0.15s ease;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text-primary);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.48rem 0.78rem;
  border-radius: 8px;
  border: 1px solid var(--border-subtle);
  background: var(--bg-card);
  color: var(--text-secondary);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.theme-toggle:hover {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  padding: 0.82rem 1.35rem;
  background: linear-gradient(135deg, var(--accent-blue), #2563eb);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.34);
  font-size: 0.98rem;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.42);
}

.btn-secondary {
  padding: 0.82rem 1.2rem;
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
  font-size: 0.95rem;
}

.btn-secondary:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-strong);
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  padding: 0.58rem 1.05rem;
  border-radius: 10px;
  background: var(--store-btn-bg);
  color: var(--store-btn-text);
  border: 1px solid var(--store-btn-border);
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(2, 6, 23, 0.25);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.store-badge:hover {
  transform: translateY(-1px);
  border-color: var(--accent-cyan);
}

.store-badge-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.store-badge-small {
  font-size: 0.68rem;
  letter-spacing: 0.03em;
  opacity: 0.85;
}

.store-badge-large {
  font-size: 0.98rem;
  font-weight: 700;
}

/* Hero */
.hero {
  padding: 4.5rem 0 3.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 2.5rem;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.34rem 0.82rem;
  border-radius: 999px;
  background: var(--bg-pill);
  border: 1px solid rgba(59, 130, 246, 0.34);
  color: var(--accent-cyan);
  font-size: 0.83rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}

:root[data-theme="light"] .eyebrow {
  color: var(--accent-blue);
}

h1 {
  margin: 0 0 1rem;
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 800;
}

.hero-tagline {
  margin: 0 0 1rem;
  font-size: clamp(1.06rem, 1.5vw, 1.24rem);
  font-weight: 600;
  color: var(--text-primary);
}

.hero-desc {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 58ch;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.86rem;
  color: var(--text-muted);
}

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

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

/* Fluent Window Mockup */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(22px) saturate(150%);
  -webkit-backdrop-filter: blur(22px) saturate(150%);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
}

.preview-window {
  padding: 1.15rem;
}

.preview-titlebar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.86rem;
  font-weight: 600;
}

.preview-title {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.preview-title img {
  width: 18px;
  height: 18px;
  border-radius: 4px;
}

.preview-badge {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.14);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.34);
}

.monitors-row {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.85rem;
}

.monitor-box {
  padding: 0.75rem;
  border-radius: 12px;
  background: rgba(2, 6, 23, 0.35);
  border: 1px solid var(--border-subtle);
}

:root[data-theme="light"] .monitor-box {
  background: rgba(241, 245, 249, 0.9);
}

.monitor-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-bottom: 0.55rem;
  font-family: var(--font-mono);
}

.snap-canvas {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 54px 54px;
  gap: 0.45rem;
}

.tile {
  border-radius: 8px;
  padding: 0.5rem 0.6rem;
  font-size: 0.74rem;
  font-weight: 600;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tile-span-v {
  grid-row: 1 / span 2;
  background: linear-gradient(155deg, #3b82f6, #1d4ed8);
}

.tile-cyan {
  background: linear-gradient(155deg, #22d3ee, #0891b2);
}

.tile-emerald {
  background: linear-gradient(155deg, #34d399, #059669);
}

.tile-slate {
  grid-column: 1 / span 2;
  grid-row: 1 / span 2;
  background: linear-gradient(145deg, #334155, #1e293b);
}

.tile small {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.66rem;
  opacity: 0.88;
}

.preview-footer {
  margin-top: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.kbd {
  display: inline-block;
  padding: 0.14rem 0.44rem;
  border-radius: 6px;
  border: 1px solid var(--border-strong);
  background: var(--bg-elevated);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-primary);
}

/* Sections */
.section {
  padding: 3.25rem 0;
}

.section-header {
  max-width: 64ch;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  letter-spacing: -0.02em;
}

.section-header p {
  margin: 0;
  color: var(--text-secondary);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
}

.feature-card {
  padding: 1.4rem;
  transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-strong);
  background: var(--bg-card-hover);
}

.feature-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: var(--bg-pill);
  border: 1px solid rgba(59, 130, 246, 0.28);
  color: var(--accent-cyan);
  margin-bottom: 0.95rem;
}

:root[data-theme="light"] .feature-icon {
  color: var(--accent-blue);
}

.feature-card h3 {
  margin: 0 0 0.45rem;
  font-size: 1.06rem;
  font-weight: 700;
}

.feature-card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Requirements */
.specs-card {
  padding: 1.65rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.spec-item h3 {
  margin: 0 0 0.35rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}

.spec-item p {
  margin: 0;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-primary);
}

.spec-item span {
  display: block;
  margin-top: 0.22rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Privacy Policy */
.policy-hero {
  padding: 3.5rem 0 1.5rem;
}

.policy-shell {
  padding: 2rem;
  margin-bottom: 3rem;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.policy-summary-banner {
  padding: 1.15rem 1.3rem;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.10);
  border: 1px solid rgba(16, 185, 129, 0.32);
  margin-bottom: 1.75rem;
}

.policy-summary-banner strong {
  color: var(--accent-emerald);
}

.policy-section {
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.policy-section:first-of-type {
  border-top: none;
  padding-top: 0;
  margin-top: 0;
}

.policy-section h2 {
  margin: 0 0 0.55rem;
  font-size: 1.22rem;
}

.policy-section p,
.policy-section li {
  color: var(--text-secondary);
  font-size: 0.97rem;
}

.policy-section ul {
  margin: 0.5rem 0 0;
  padding-left: 1.25rem;
}

/* Footer */
.site-footer {
  margin-top: 2rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border-subtle);
  color: var(--text-muted);
  font-size: 0.9rem;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
}

.footer-links a {
  text-decoration: none;
  color: var(--text-secondary);
}

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

/* Responsive */
@media (max-width: 940px) {
  .hero-grid,
  .features-grid,
  .specs-card {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 3rem 0 2.25rem;
  }
}

@media (max-width: 640px) {
  .nav-links {
    display: none;
  }

  .monitors-row {
    grid-template-columns: 1fr;
  }

  .policy-shell {
    padding: 1.35rem;
  }
}
