:root {
  --bg: #0b0d0c;
  --bg-soft: #121513;
  --card: #16191700;
  --surface: #14171500;
  --line: oklch(0.32 0.01 150 / 0.5);
  --line-soft: oklch(0.28 0.01 150 / 0.4);
  --text: oklch(0.96 0.004 150);
  --text-dim: oklch(0.72 0.008 150);
  --text-faint: oklch(0.56 0.008 150);
  --accent: oklch(0.78 0.17 152);
  --accent-deep: oklch(0.68 0.16 152);
  --accent-glow: oklch(0.78 0.17 152 / 0.14);
  --radius: 18px;
  --maxw: 1120px;
  font-synthesis: none;
}

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

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

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background:
    radial-gradient(1100px 620px at 80% -10%, oklch(0.78 0.17 152 / 0.10), transparent 60%),
    radial-gradient(900px 600px at 5% 0%, oklch(0.72 0.06 200 / 0.06), transparent 55%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.wrap {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

/* ---------- Header ---------- */
header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: oklch(0.13 0.006 150 / 0.6);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  font-weight: 700;
  font-size: 19px;
  letter-spacing: -0.02em;
}
.mark {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, var(--accent), var(--accent-deep));
  color: #06120b;
  box-shadow: 0 4px 14px var(--accent-glow);
}
.mark svg { width: 19px; height: 19px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 500;
  transition: color .18s ease;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.btn-primary { color: #ffffff; }
.nav-links a.btn-primary:hover { color: #ffffff; }
.btn {
  font-family: inherit;
  font-weight: 600;
  font-size: 14.5px;
  text-decoration: none;
  border-radius: 10px;
  padding: 9px 17px;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}
.btn-primary {
  background: linear-gradient(150deg, var(--accent), var(--accent-deep));
  color: #ffffff;
  box-shadow: 0 6px 20px var(--accent-glow);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 10px 26px var(--accent-glow); }

/* ---------- Hero ---------- */
main { flex: 1; }
.hero {
  padding-top: clamp(64px, 11vw, 116px);
  padding-bottom: clamp(56px, 9vw, 96px);
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
  background: oklch(0.22 0.01 150 / 0.5);
  border: 1px solid var(--line-soft);
  padding: 6px 13px 6px 10px;
  border-radius: 999px;
  margin-bottom: 28px;
}
.eyebrow .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
}
h1 {
  font-size: clamp(40px, 6.6vw, 74px);
  line-height: 1.02;
  letter-spacing: -0.035em;
  font-weight: 800;
  max-width: 14ch;
  margin-bottom: 24px;
}
h1 .accent { color: var(--accent); }
.lede {
  font-size: clamp(16.5px, 2.1vw, 20px);
  color: var(--text-dim);
  max-width: 52ch;
  line-height: 1.55;
  text-wrap: pretty;
  margin-bottom: 36px;
}
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.btn-lg { padding: 13px 24px; font-size: 15.5px; border-radius: 12px; }
.btn-outline {
  border: 1px solid var(--line);
  color: var(--text);
  background: transparent;
}
.btn-outline:hover { background: oklch(0.22 0.01 150 / 0.4); border-color: var(--text-faint); }
.hero-note {
  margin-top: 18px;
  font-size: 13.5px;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Features ---------- */
.features {
  padding-bottom: clamp(64px, 10vw, 104px);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-size: clamp(26px, 3.4vw, 36px);
  letter-spacing: -0.03em;
  font-weight: 700;
  line-height: 1.1;
  max-width: 18ch;
}
.section-head p {
  color: var(--text-faint);
  font-size: 15px;
  max-width: 38ch;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: linear-gradient(180deg, oklch(0.2 0.008 150 / 0.5), oklch(0.16 0.006 150 / 0.35));
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px 28px 32px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent-glow), transparent);
  opacity: 0;
  transition: opacity .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: oklch(0.45 0.04 152 / 0.6);
  background: linear-gradient(180deg, oklch(0.22 0.01 152 / 0.55), oklch(0.16 0.006 150 / 0.4));
}
.card:hover::after { opacity: 1; }
.ic {
  width: 50px; height: 50px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: oklch(0.78 0.17 152 / 0.12);
  border: 1px solid oklch(0.78 0.17 152 / 0.22);
  color: var(--accent);
  margin-bottom: 22px;
}
.ic svg { width: 24px; height: 24px; }
.card h3 {
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.card p {
  color: var(--text-dim);
  font-size: 14.8px;
  line-height: 1.6;
  text-wrap: pretty;
}
.card ul {
  list-style: none;
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.card li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 13.6px;
  color: var(--text-faint);
}
.card li svg { width: 15px; height: 15px; color: var(--accent); flex-shrink: 0; }

/* ---------- Footer ---------- */
footer {
  border-top: 1px solid var(--line-soft);
  background: oklch(0.11 0.005 150 / 0.6);
}
.foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 30px;
  flex-wrap: wrap;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
}
.foot-brand .mark { width: 28px; height: 28px; border-radius: 7px; }
.foot-brand .mark svg { width: 15px; height: 15px; }
.foot-brand span small { color: var(--text-faint); font-weight: 400; }
.foot-right {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 14px;
}
.foot-right a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color .18s ease;
}
.foot-right a:hover { color: var(--accent); }
.foot-right .muted { color: var(--text-faint); }

/* ---------- Hamburger ---------- */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: var(--text);
  transition: transform .25s ease, opacity .2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr; max-width: 460px; }
  .hamburger { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: oklch(0.13 0.006 150 / 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line-soft);
    padding: 12px 20px 20px;
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 12px 4px;
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
  }
  .nav-links a:last-child { border-bottom: none; margin-top: 8px; }
  .nav-links a.btn-primary { text-align: center; justify-content: center; border-radius: 10px; }
}
@media (max-width: 560px) {
  .nav { height: 60px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; }
  .foot { flex-direction: column; align-items: flex-start; gap: 18px; }
}
