:root,
[data-theme="dark"] {
  --bg: #1C1E23;
  --bg-deep: #16181C;
  --surface: #24272D;
  --surface-hi: #2C2F36;
  --surface-soft: #1F2126;
  --border: #363A43;
  --border-soft: #2A2E35;
  --text: #F2EEE6;
  --text-dim: #C5C0B5;
  --muted: #8C8678;
  --dim: #5E5B53;
  --accent: #2FD566;
  --accent-soft: rgba(47,213,102,0.12);
  --accent-mid: rgba(47,213,102,0.25);
  --warn: #E8A947;
  --warn-soft: rgba(232,169,71,0.14);
  --danger: #E87663;
  --tint: #3A2F24;
  --shadow: none;
  --shadow-hi: none;
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --text-xs: 11px;
  --text-sm: 12px;
  --text-base: 13px;
  --text-md: 14px;
  --text-lg: 16px;
  --text-xl: 18px;
  --text-2xl: 22px;
  --text-3xl: 28px;
  --text-4xl: 36px;
  --leading-tight: 1.15;
  --leading-snug: 1.3;
  --leading-normal: 1.5;
  --tracking-tight: -0.01em;
  --tracking-wide: 0.08em;
  --tracking-wider: 0.12em;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 999px;
  --max: 1180px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; max-width: 100%; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(28,30,35,0.92);
  border-bottom: 1px solid var(--border-soft);
  backdrop-filter: blur(12px);
}
.nav { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:72px; }
.brand { display:flex; align-items:center; gap:14px; text-decoration:none; }
.brand img { width: 34px; height: 34px; }
.brand-word { font-size: 15px; letter-spacing: 0.42em; font-weight: 300; color: var(--text); }
.nav-links { display:flex; gap:18px; flex-wrap:wrap; }
.nav-links a { text-decoration:none; color: var(--text-dim); font-size: var(--text-sm); }
.nav-links a:hover { color: var(--text); }
main { padding-bottom: 56px; }
.hero { padding: 44px 0 24px; }
.hero-shell {
  background: linear-gradient(180deg, var(--surface-soft), var(--bg-deep));
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.hero-topbar {
  display:flex; align-items:center; justify-content:space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-soft);
  background: var(--surface-soft);
}
.dots { display:flex; gap:8px; }
.dot { width:10px; height:10px; border-radius:999px; background: var(--border); }
.dot.accent { background: var(--accent); }
.topmeta { color: var(--muted); font-size: var(--text-xs); letter-spacing: var(--tracking-wider); text-transform: uppercase; }
.hero-grid { display:grid; grid-template-columns: 1.15fr .85fr; gap: 0; }
.hero-copy { padding: 36px; }
.eyebrow { color: var(--accent); text-transform: uppercase; letter-spacing: var(--tracking-wider); font-size: var(--text-xs); margin-bottom: 14px; }
.hero h1 { margin:0 0 16px; font-size: clamp(38px, 7vw, 64px); line-height: 1.03; letter-spacing: -0.04em; }
.hero p { margin:0 0 22px; color: var(--text-dim); font-size: clamp(15px, 2vw, 18px); max-width: 620px; }
.actions { display:flex; gap:12px; flex-wrap:wrap; }
.btn {
  display:inline-flex; align-items:center; justify-content:center;
  min-height: 42px; padding: 0 16px; border-radius: var(--radius-full);
  border: 1px solid var(--border); text-decoration:none; font-size: var(--text-md); font-weight:600;
}
.btn-primary { background: var(--accent); border-color: var(--accent); color: #132118; }
.btn-secondary { background: var(--surface); color: var(--text); }
.hero-side {
  padding: 24px;
  border-left: 1px solid var(--border-soft);
  background: linear-gradient(180deg, rgba(58,47,36,0.22), rgba(31,33,38,0.85));
}
.stack { display:grid; gap:12px; }
.panel {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 16px;
}
.panel.kpi strong { display:block; font-size: var(--text-3xl); line-height:1; margin-bottom: 8px; color: var(--accent); }
.panel p, .panel li { margin: 0; color: var(--text-dim); }
.section { padding: 18px 0; }
.section-head { margin-bottom: 16px; }
.section-head h2 { margin:0 0 8px; font-size: clamp(28px, 4vw, 40px); line-height:1.06; letter-spacing: -0.03em; }
.section-head p { margin:0; color: var(--text-dim); font-size: var(--text-md); max-width: 760px; }
.grid-2, .grid-3, .grid-4, .shots, .use-cases, .price-row { display:grid; gap:12px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
.card, .shot, .price-card, .hardware-card, .legal-card, .bullet {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.card, .price-card, .hardware-card, .bullet { padding: 18px; }
.card h3, .hardware-card h3, .price-card h3, .shot-copy h3 { margin:0 0 8px; font-size: var(--text-lg); }
.card p, .hardware-card p, .price-card p, .bullet, .shot-copy p, .small { color: var(--text-dim); }
.module-k { color: var(--accent); text-transform: uppercase; letter-spacing: var(--tracking-wider); font-size: var(--text-xs); margin-bottom: 8px; }
.bullet strong { display:block; margin-bottom: 6px; color: var(--text); }
.shots { grid-template-columns: repeat(2, minmax(0,1fr)); align-items: stretch; gap: 18px; }
.shot { overflow:hidden; display:flex; flex-direction:column; }
.shot-media { display:flex; align-items:center; justify-content:center; padding: 18px; min-height: 360px; background: var(--bg-deep); border-bottom:1px solid var(--border); }
.shot-media img { width:100%; max-width: 520px; max-height: 320px; height:auto; object-fit: contain; filter: drop-shadow(0 16px 28px rgba(0,0,0,0.28)); }
.shot-frame { width:100%; display:flex; align-items:center; justify-content:center; border:none; border-radius:0; overflow:visible; background:transparent; }
.shot-frame img { width:100%; max-width: 520px; max-height: 320px; height:auto; display:block; object-fit: contain; background: transparent; }
.shot-copy { padding: 18px; flex:1; display:flex; flex-direction:column; align-items:flex-start; }
.shot-copy .btn { margin-top:auto; }
.price-row { grid-template-columns: repeat(3, minmax(0,1fr)); }
.price-big { font-size: 30px; line-height:1.05; margin: 10px 0; color: var(--accent); font-weight: 700; letter-spacing: -0.03em; }
.use-cases { grid-template-columns: repeat(5, minmax(0,1fr)); }
.pill {
  padding: 12px 14px; border-radius: var(--radius-full);
  border: 1px solid var(--border); background: var(--surface-soft);
  text-align:center; color: var(--text);
}
.cta {
  display:grid; grid-template-columns: 1fr auto; gap:16px; align-items:center;
  background: linear-gradient(180deg, var(--surface), var(--surface-soft));
  border:1px solid var(--border); border-radius: var(--radius-xl); padding: 22px;
}
.footer { padding: 28px 0 48px; color: var(--text-dim); }
.footer-top { display:flex; justify-content:space-between; gap:16px; flex-wrap:wrap; padding-top: 20px; border-top:1px solid var(--border-soft); }
.footer-links { display:flex; gap:16px; flex-wrap:wrap; }
.legal-wrap { padding: 26px 0 48px; }
.legal-card { padding: 24px; }
.legal-card h1 { margin:0 0 14px; font-size: clamp(30px, 5vw, 42px); letter-spacing:-0.03em; }
.legal-card h2 { margin: 26px 0 10px; font-size: var(--text-xl); }
.legal-card p, .legal-card li { color: var(--text-dim); }
.legal-card a { color: var(--accent); }
.legal-card ul { padding-left: 18px; }
@media (max-width: 980px) {
  .hero-grid, .grid-4, .grid-3, .grid-2, .price-row, .use-cases, .cta { grid-template-columns: 1fr 1fr; }
  .shots { grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 760px) {
  .nav { min-height: 64px; }
  .nav-links { display:none; }
  .hero-copy, .hero-side { padding: 20px; }
  .hero-grid, .grid-4, .grid-3, .grid-2, .shots, .price-row, .use-cases, .cta { grid-template-columns: 1fr; }
  .shot-media { min-height: 0; padding: 18px; }
  .shot-media img, .shot-frame img { max-height: none; }
  .shot-frame { width:100%; }
  .hero-side { border-left: 0; border-top: 1px solid var(--border-soft); }
  .brand-word { letter-spacing: 0.28em; font-size: 14px; }
  .container { width: min(calc(100% - 20px), var(--max)); }
}

/* Compare table */
.compare-table { width:100%; border-collapse:collapse; font-size:14px; font-family:Inter, Arial, sans-serif; }
.compare-table th, .compare-table td { padding:14px 16px; text-align:left; border-bottom:1px solid var(--border); }
.compare-table thead th { font-weight:700; font-size:13px; text-transform:uppercase; letter-spacing:0.04em; padding-bottom:12px; border-bottom:2px solid var(--border); }
.compare-table thead th:nth-child(2) { color:var(--accent); }
.compare-table tbody td:nth-child(2) { color:var(--accent); font-weight:600; }
.compare-table tbody tr:last-child td { border-bottom:none; }
.compare-table tbody tr:hover { background:rgba(47,213,102,0.04); }

/* Shot-mobile overlay for desktop+mobile pairs */
.shot-frame { position:relative; }
.shot-frame img:first-child { width:100%; max-width:520px; height:auto; display:block; object-fit:contain; }
.shot-frame img.shot-mobile { position:absolute; bottom:-8px; right:-8px; width:22%; height:auto; border-radius:8px; box-shadow:0 4px 16px rgba(0,0,0,0.4); border:2px solid #1C1E23; }
