:root {
  --bg: #0b0b0c;
  --surface: #141416;
  --border: #26262a;
  --text: #f2f2f0;
  --muted: #9a9a9f;
  --accent: #e8ff59;
  --max: 1080px;
  color-scheme: dark;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header */
header { padding: 28px 0; }
header .wrap { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-weight: 600; font-size: 19px; letter-spacing: -0.02em;
  text-decoration: none;
}
.logo span { color: var(--accent); }
nav { display: flex; gap: 28px; }
nav a { color: var(--muted); text-decoration: none; font-size: 15px; transition: color .15s; }
nav a:hover { color: var(--text); }

/* Hero */
.hero { padding: 120px 0 140px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--muted); font-size: 14px; letter-spacing: .04em; text-transform: uppercase;
  margin-bottom: 28px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 16px var(--accent); }
h1 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(44px, 8vw, 96px);
  line-height: 1;
  letter-spacing: -0.045em;
  font-weight: 600;
  max-width: 12ch;
}
h1 em { font-style: normal; color: var(--muted); }
.lede { margin-top: 32px; max-width: 34em; color: var(--muted); font-size: 19px; }
.cta { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 14px; }
.btn {
  display: inline-block; padding: 14px 22px; border-radius: 999px;
  font-size: 15px; font-weight: 500; text-decoration: none;
  border: 1px solid var(--border); transition: border-color .15s, background .15s;
}
.btn:hover { border-color: var(--muted); }
.btn.primary { background: var(--accent); color: #0b0b0c; border-color: var(--accent); }
.btn.primary:hover { background: #f2ff8f; }

/* Sections */
section { padding: 96px 0; border-top: 1px solid var(--border); }
.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; margin-bottom: 48px; flex-wrap: wrap; }
h2 {
  font-family: "Space Grotesk", "Inter", sans-serif;
  font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.03em; font-weight: 600; line-height: 1.1;
}
.section-head p { color: var(--muted); max-width: 26em; }

/* Apps grid */
.apps { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 16px; }
.app {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  padding: 28px; min-height: 240px; display: flex; flex-direction: column; justify-content: space-between;
}
.app-icon {
  width: 64px; height: 64px; border-radius: 15px;
  background: linear-gradient(135deg, #2a2a2e, #1a1a1d);
  border: 1px dashed #3a3a40;
}
.app h3 { font-size: 20px; font-weight: 600; letter-spacing: -0.01em; margin-top: 24px; }
.app p { color: var(--muted); font-size: 15px; margin-top: 6px; }
.tag {
  align-self: flex-start; margin-top: 20px;
  font-size: 12px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 10px;
}

/* Principles */
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; }
.principles h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.principles h3 span { color: var(--accent); font-family: "Space Grotesk", sans-serif; margin-right: 8px; }
.principles p { color: var(--muted); font-size: 15px; }

/* Contact */
.contact h2 a { text-decoration: none; border-bottom: 2px solid var(--accent); }
.contact p { color: var(--muted); margin-top: 16px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 40px 0 56px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer nav { gap: 22px; }

/* Legal / doc pages */
.doc { padding: 72px 0 120px; max-width: 720px; }
.doc h1 { font-size: clamp(36px, 6vw, 56px); max-width: none; }
.doc .updated { color: var(--muted); margin-top: 16px; font-size: 15px; }
.doc h2 { font-size: 22px; margin: 48px 0 12px; letter-spacing: -0.01em; }
.doc p, .doc li { color: #c9c9cc; }
.doc p + p { margin-top: 14px; }
.doc ul { padding-left: 20px; margin-top: 10px; }
.doc li + li { margin-top: 6px; }
.doc a { color: var(--accent); }

@media (max-width: 600px) {
  .wrap { padding: 0 16px; }
  nav { gap: 18px; }
  .hero { padding: 72px 0 96px; }
  section { padding: 72px 0; }
}
