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

:root, [data-theme="dark"] {
  --bg: #070707;
  --bg-2: #0e0e0e;
  --bg-nav: rgba(7, 7, 7, 0.88);
  --bg-card: #111111;
  --bg-card-hov: #161616;
  --border: #242424;
  --border-hover: #3a3a3a;
  --fg: #ffffff;
  --fg-2: #999999;
  --fg-3: #555555;
  --btn-bg: #ffffff;
  --btn-fg: #070707;
  --btn-hov: #d4d4d4;
  --btn-ghost-fg: #ffffff;
  --btn-ghost-b: #2a2a2a;
  --btn-ghost-hov: #141414;
  --line: #1e1e1e;
  --dot: #1c1c1c;
  --glow-color: rgba(255, 255, 255, 0.04);
  --cursor-color: rgba(255, 255, 255, 0.06);
  --invert-bg: #f0f0ee;
  --invert-fg: #070707;
  --invert-muted: #666666;
}

[data-theme="light"] {
  --bg: #f8f8f6;
  --bg-2: #f0f0ee;
  --bg-nav: rgba(248, 248, 246, 0.92);
  --bg-card: #ffffff;
  --bg-card-hov: #f4f4f2;
  --border: #d8d8d4;
  --border-hover: #888888;
  --fg: #0a0a0a;
  --fg-2: #555555;
  --fg-3: #808080;
  --btn-bg: #0a0a0a;
  --btn-fg: #f8f8f6;
  --btn-hov: #2a2a2a;
  --btn-ghost-fg: #0a0a0a;
  --btn-ghost-b: #c0c0bc;
  --btn-ghost-hov: #ebebea;
  --line: #d8d8d4;
  --dot: #c8c8c4;
  --glow-color: rgba(0, 0, 0, 0.05);
  --cursor-color: rgba(0, 0, 0, 0.04);
  --invert-bg: #0a0a0a;
  --invert-fg: #f0f0ee;
  --invert-muted: #888888;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--fg);
  font-family: "Inter", "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  transition: background 0.35s, color 0.35s;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  background-image: radial-gradient(circle, var(--dot) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
  opacity: 0.55;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-size: 256px 256px;
}

nav, main, footer, .strip, .statement-section, #contact { position: relative; z-index: 2; }

#cursor-glow {
  position: fixed;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--cursor-color) 0%, transparent 65%);
  pointer-events: none;
  z-index: 3;
  transform: translate(-50%, -50%);
  transition: background 0.35s;
  will-change: transform;
}

.logo-dark { display: block; }
.logo-light { display: none; }
[data-theme="light"] .logo-dark { display: none; }
[data-theme="light"] .logo-light { display: block; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 56px;
}

.section { padding: 120px 0; }

.section-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.section-tag::after {
  content: "";
  display: block;
  flex: 1;
  height: 1px;
  background: var(--line);
}

.section-h {
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 900;
  letter-spacing: -0.045em;
  line-height: 1.04;
  margin-bottom: 18px;
}

.section-p {
  font-size: 17px;
  color: var(--fg-2);
  max-width: 500px;
  line-height: 1.8;
  margin-bottom: 64px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 24px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, border-color 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-2px); }

.btn-solid {
  background: var(--btn-bg);
  color: var(--btn-fg);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.btn-solid:hover {
  background: var(--btn-hov);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.btn-ghost {
  background: transparent;
  color: var(--btn-ghost-fg);
  border: 1px solid var(--btn-ghost-b);
}

.btn-ghost:hover {
  background: var(--btn-ghost-hov);
  border-color: var(--border-hover);
}

@media (max-width: 860px) {
  .container { padding: 0 24px; }
  .section { padding: 80px 0; }
}
