:root {
  color-scheme: dark;
  --bg: #070b14;
  --bg2: #0d1424;
  --card: rgba(255,255,255,.075);
  --card2: rgba(255,255,255,.105);
  --text: #f2f6ff;
  --muted: #a9b7d0;
  --line: rgba(255,255,255,.14);
  --accent: #54d6ff;
  --accent2: #8b5cf6;
  --shadow: 0 24px 80px rgba(0,0,0,.42);
}
html[data-theme="light"] {
  color-scheme: light;
  --bg: #f5f7fb;
  --bg2: #ffffff;
  --card: rgba(255,255,255,.82);
  --card2: rgba(255,255,255,.95);
  --text: #111827;
  --muted: #536079;
  --line: rgba(17,24,39,.12);
  --accent: #006dff;
  --accent2: #7c3aed;
  --shadow: 0 24px 80px rgba(15,23,42,.14);
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(circle at 18% 8%, rgba(84,214,255,.20), transparent 34rem),
    radial-gradient(circle at 82% 0%, rgba(139,92,246,.24), transparent 30rem),
    linear-gradient(180deg, var(--bg), var(--bg2));
  color: var(--text);
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px clamp(18px, 4vw, 54px);
  backdrop-filter: blur(18px);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid var(--line);
}
.brand { display: inline-flex; align-items: center; gap: 12px; letter-spacing: .04em; }
.brand-mark {
  display: grid; place-items: center;
  width: 38px; height: 38px; border-radius: 13px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white; font-weight: 900;
  box-shadow: 0 12px 30px rgba(84,214,255,.25);
}
.brand span:last-child { display: grid; line-height: 1.05; }
.brand em { font-size: 12px; color: var(--muted); font-style: normal; letter-spacing: .16em; text-transform: uppercase; }
.topnav { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: 14px; }
.pill, .linkbtn {
  border: 1px solid var(--line);
  color: var(--text);
  border-radius: 999px;
  padding: 8px 12px;
  background: var(--card);
}
.linkbtn { cursor: pointer; font: inherit; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .85fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  padding: clamp(58px, 9vw, 116px) clamp(18px, 4vw, 54px) 42px;
  max-width: 1280px;
  margin: 0 auto;
}
.eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: .22em; font-size: 12px; }
h1 { font-size: clamp(42px, 7vw, 88px); line-height: .95; margin: 18px 0; letter-spacing: -.06em; }
h2 { font-size: clamp(26px, 4vw, 44px); letter-spacing: -.04em; margin: 0 0 10px; }
h3 { font-size: 23px; margin: 10px 0; letter-spacing: -.02em; }
p { color: var(--muted); line-height: 1.7; }
.hero-copy p { max-width: 720px; font-size: 18px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 46px; padding: 0 18px; border-radius: 15px;
  border: 1px solid var(--line); font-weight: 750;
}
.button.primary { background: linear-gradient(135deg, var(--accent), var(--accent2)); color: white; border: 0; }
.button.secondary { background: var(--card); }
.hero-card { position: relative; min-height: 360px; display: grid; place-items: center; }
.orb { position: absolute; width: 260px; height: 260px; border-radius: 999px; background: linear-gradient(135deg, var(--accent), var(--accent2)); filter: blur(4px); opacity: .92; }
.glass-card {
  position: relative; width: min(360px, 90%); padding: 30px;
  border: 1px solid var(--line); border-radius: 30px; background: var(--card);
  box-shadow: var(--shadow); backdrop-filter: blur(20px);
  display: grid; gap: 12px;
}
.glass-card strong { font-size: 36px; letter-spacing: -.04em; }
.tiny, .glass-card small, .muted { color: var(--muted); }
.section, .detail-grid, .detail-hero { max-width: 1280px; margin: 0 auto; padding: 44px clamp(18px, 4vw, 54px); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 22px; }
.section-head p { max-width: 520px; margin: 0; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.extension-card, .panel, .detail-hero {
  border: 1px solid var(--line); border-radius: 28px; background: var(--card); box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}
.extension-card { padding: 22px; display: flex; gap: 18px; min-height: 238px; }
.card-icon {
  flex: 0 0 auto; display: grid; place-items: center; width: 58px; height: 58px;
  border-radius: 20px; background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: white; font-weight: 900; letter-spacing: -.04em;
}
.card-icon.large { width: 86px; height: 86px; border-radius: 28px; font-size: 24px; }
.card-main { display: flex; flex-direction: column; }
.badges { display: flex; flex-wrap: wrap; gap: 8px; }
.badge { font-size: 12px; padding: 5px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); background: rgba(255,255,255,.04); }
.card-links { margin-top: auto; display: flex; gap: 14px; font-weight: 750; }
.detail-hero { display: flex; align-items: center; gap: 22px; }
.detail-hero h1 { font-size: clamp(38px, 5vw, 68px); }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-top: 0; }
.panel { padding: 26px; }
.panel ul { color: var(--muted); line-height: 1.8; padding-left: 22px; }
.narrow { max-width: 900px; }
.footer { max-width: 1280px; margin: 40px auto 0; padding: 28px clamp(18px, 4vw, 54px); border-top: 1px solid var(--line); color: var(--muted); display: flex; justify-content: space-between; gap: 18px; }
@media (max-width: 900px) {
  .hero, .grid, .detail-grid { grid-template-columns: 1fr; }
  .section-head, .footer { flex-direction: column; align-items: flex-start; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .topnav { flex-wrap: wrap; }
  h1 { font-size: 46px; }
}
.page-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.page-nav a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 12px; color: var(--muted); background: rgba(255,255,255,.035); }
.page-nav a:hover { color: var(--text); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); }
.kv { display: grid; gap: 12px; }
.kv-row { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 14px; border-bottom: 1px solid var(--line); padding: 12px 0; }
.kv-row:last-child { border-bottom: 0; }
.kv-row strong { color: var(--text); }
.callout { border: 1px solid color-mix(in srgb, var(--accent) 38%, var(--line)); border-radius: 24px; padding: 20px; background: color-mix(in srgb, var(--accent) 10%, transparent); }
.checklist li { margin-bottom: 8px; }
@media (max-width: 700px) { .kv-row { grid-template-columns: 1fr; gap: 4px; } }
