:root {
  --bg: #09131d;
  --bg-deep: #071019;
  --panel: #111c28;
  --panel-2: #162231;
  --border: #2a3a4b;
  --text: #f3f7fb;
  --muted: #a8bbca;
  --accent: #42e5ef;
  --accent-soft: rgba(66, 229, 239, .12);
  --green: #72e28a;
  --green-soft: rgba(114, 226, 138, .12);
  --shadow: 0 20px 55px rgba(0, 0, 0, .30);
  --radius: 18px;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% -10%, rgba(66, 229, 239, .13), transparent 34rem),
    radial-gradient(circle at 95% 15%, rgba(114, 226, 138, .08), transparent 28rem),
    linear-gradient(180deg, #0b1722 0%, var(--bg) 55%, var(--bg-deep) 100%);
  color: var(--text);
  font: 16px/1.6 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.shell { width: min(var(--max), calc(100% - 36px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(14px);
  background: rgba(7, 16, 25, .80);
  border-bottom: 1px solid rgba(42, 58, 75, .72);
}

.nav {
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -.02em;
  font-size: 1.1rem;
}

.nav-links { display: flex; align-items: center; gap: 18px; }
.nav-links a {
  color: #bfd0dc;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 650;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--accent); }

.nav-badge {
  border: 1px solid rgba(66, 229, 239, .28);
  background: rgba(66, 229, 239, .08);
  color: #dffcff !important;
  border-radius: 999px;
  padding: 7px 11px;
}

.hero {
  padding: 78px 0 64px;
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 58px;
  align-items: center;
}

eyebrow, .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent);
  font-size: .8rem;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px var(--green-soft);
}

h1, h2, h3 { line-height: 1.12; margin-top: 0; }
h1 { font-size: clamp(2.75rem, 7vw, 5.5rem); letter-spacing: -.055em; margin-bottom: 18px; }
h2 { font-size: clamp(1.85rem, 4vw, 3.1rem); letter-spacing: -.035em; margin-bottom: 12px; }
h3 { font-size: 1.08rem; margin-bottom: 7px; }

.hero-copy p {
  color: #c0d0dc;
  font-size: clamp(1.05rem, 2.2vw, 1.23rem);
  max-width: 660px;
  margin: 0 0 26px;
}

.hero-title-accent { color: var(--accent); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 17px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
  font-size: .94rem;
  border: 1px solid var(--border);
  transition: transform .16s ease, border-color .16s ease, background .16s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  color: #07131b;
  background: linear-gradient(135deg, var(--accent), #7bf4c6);
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(66, 229, 239, .17);
}
.btn-secondary { background: rgba(22, 34, 49, .86); color: #e8f3f8; }
.btn-secondary:hover { border-color: rgba(66, 229, 239, .45); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 24px;
  color: #8fa8b8;
  font-size: .88rem;
}
.hero-meta span { display: inline-flex; align-items: center; gap: 7px; }
.hero-meta span::before { content: "✓"; color: var(--green); font-weight: 900; }

.product-frame {
  position: relative;
  border: 1px solid rgba(66, 229, 239, .26);
  border-radius: 24px;
  background: rgba(17, 28, 40, .78);
  padding: 16px;
  box-shadow: var(--shadow), 0 0 60px rgba(66, 229, 239, .08);
}
.product-frame::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(66,229,239,.12), transparent 35%, rgba(114,226,138,.08));
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  padding: 1px;
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.product-frame img { border-radius: 14px; width: 100%; }

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin: 6px 0 72px;
}
.stat {
  background: linear-gradient(180deg, rgba(22,34,49,.92), rgba(17,28,40,.92));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
  min-height: 110px;
}
.stat strong { display: block; font-size: 1.6rem; letter-spacing: -.03em; }
.stat span { color: var(--muted); font-size: .86rem; }

.section { padding: 72px 0; }
.section-tight { padding: 48px 0; }
.section-head { max-width: 760px; margin-bottom: 30px; }
.section-head p { margin: 0; color: #aebfcb; font-size: 1.04rem; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: linear-gradient(180deg, rgba(22,34,49,.95), rgba(17,28,40,.96));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
}
.card p { color: #aebfcb; margin: 0; }
.card-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: grid;
  place-items: center;
  margin-bottom: 15px;
  background: var(--accent-soft);
  border: 1px solid rgba(66,229,239,.22);
  color: var(--accent);
  font-weight: 900;
  font-size: 1rem;
}

.showcase-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.showcase-card {
  overflow: hidden;
  background: rgba(17, 28, 40, .95);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 14px 34px rgba(0,0,0,.18);
}
.showcase-card img { width: 100%; aspect-ratio: 16/10; object-fit: cover; }
.showcase-copy { padding: 18px 20px 20px; }
.showcase-copy p { color: #aebfcb; margin: 0; }

.privacy-callout {
  border: 1px solid rgba(114,226,138,.25);
  background:
    radial-gradient(circle at 90% 15%, rgba(114,226,138,.09), transparent 22rem),
    linear-gradient(180deg, rgba(19,35,44,.96), rgba(15,27,36,.96));
  border-radius: 24px;
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
.privacy-callout p { color: #bed0d8; margin: 8px 0 0; max-width: 730px; }

.page-hero { padding: 66px 0 32px; max-width: 820px; }
.page-hero p { color: #b3c4cf; font-size: 1.08rem; margin: 0; }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.support-card { min-height: 190px; }
.steps { padding-left: 1.25rem; margin: 10px 0 0; color: #c1d0da; }
.steps li { margin: 7px 0; }

.notice {
  margin: 18px 0;
  border-left: 3px solid var(--accent);
  background: rgba(66,229,239,.06);
  border-radius: 0 12px 12px 0;
  padding: 13px 15px;
  color: #d9eef2;
}

.doc {
  max-width: 860px;
  margin: 0 auto;
  padding: 58px 0 72px;
}
.doc-header {
  margin-bottom: 20px;
  padding: 26px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(17,28,40,.94);
}
.doc-header p { color: #b8c9d4; margin: 8px 0 0; }
.doc-section {
  margin-top: 16px;
  padding: 22px 24px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: rgba(17,28,40,.91);
}
.doc-section p, .doc-section li { color: #c4d1da; }
.doc-section ul { padding-left: 1.2rem; margin-bottom: 0; }
.doc-section li { margin: 5px 0; }
code {
  color: #d7fbff;
  background: rgba(66,229,239,.08);
  border: 1px solid rgba(66,229,239,.13);
  padding: 1px 5px;
  border-radius: 5px;
  font-size: .88em;
}

.site-footer {
  border-top: 1px solid rgba(42,58,75,.62);
  margin-top: 56px;
}
.footer-inner {
  min-height: 106px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #879dac;
  font-size: .87rem;
}
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { text-decoration: none; color: #a9bbc7; }
.footer-links a:hover { color: var(--accent); }

.critter-mark {
  width: 36px; height: 36px; display: inline-block; position: relative; flex: 0 0 auto;
  border-radius: 48% 52% 46% 54%; background: #76ec89; border: 2px solid #d2ffda;
  box-shadow: 0 0 0 4px rgba(114,226,138,.08); transform: rotate(-7deg);
}
.critter-mark::before, .critter-mark::after { content:""; position:absolute; top:11px; width:4px; height:6px; border-radius:50%; background:#10202b; }
.critter-mark::before { left:9px; } .critter-mark::after { right:9px; }
.critter-mark i { position:absolute; width:11px; height:6px; border-bottom:2px solid #10202b; border-radius:0 0 10px 10px; left:50%; top:20px; transform:translateX(-50%); }
.critter-mark i::before, .critter-mark i::after { content:""; position:absolute; width:2px; height:9px; background:#42e5ef; top:-26px; transform-origin:bottom; }
.critter-mark i::before { left:-2px; transform:rotate(-25deg); } .critter-mark i::after { right:-2px; transform:rotate(25deg); background:#ff6c8d; }
.critter-large { width:40px; height:40px; }

.popup-shell { width:min(100%, 420px); margin-left:auto; background:#0d1721; border:2px solid #b7c8d5; padding:14px; box-shadow:var(--shadow); color:#eef7fb; font-size:12px; }
.popup-top { display:grid; grid-template-columns:auto 1fr auto; gap:12px; align-items:center; margin-bottom:12px; }
.popup-top strong { display:block; font-size:18px; line-height:1.1; }
.popup-top small { display:block; color:#b5ccda; margin-top:3px; }
.toggle { width:50px; height:28px; border-radius:999px; background:#43bea2; border:2px solid #214b52; padding:2px; display:flex; justify-content:flex-end; align-items:center; }
.toggle b { width:20px; height:20px; border-radius:50%; background:white; box-shadow:0 1px 4px rgba(0,0,0,.3); }
.level-card, .mini-card, .custom-card { border:1px solid #2a3949; background:linear-gradient(180deg,#171f2b,#121b25); border-radius:14px; }
.level-card { padding:13px; }
.level-label, .mini-card>b, .custom-head b { color:#55e7f2; font-size:10px; font-weight:900; letter-spacing:.08em; }
.level-row { display:flex; justify-content:space-between; align-items:center; margin:2px 0 8px; }
.level-row>strong { font-size:25px; }
.level-row span { text-align:right; color:#b6cbd8; }
.level-row span b, .level-row span small { display:block; }
.level-row span b { color:#eef8fb; }
.level-row span small { margin-top:2px; }
.progress { height:8px; border-radius:999px; background:#263443; border:1px solid #384858; overflow:hidden; }
.progress i { display:block; width:3%; height:100%; background:linear-gradient(90deg,#42e5ef,#72e28a); }
.mini-grid { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin:10px 0; }
.mini-card { padding:12px; }
.mini-card>b { display:block; margin-bottom:7px; }
.mini-card span { display:flex; justify-content:space-between; gap:8px; color:#afc8d5; margin:4px 0; }
.mini-card strong { color:white; font-size:11px; }
.custom-card { padding:12px; }
.custom-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:9px; }
.custom-head span small { display:block; font-size:13px; font-weight:700; color:white; margin-top:1px; }
.custom-head em { font-style:normal; font-weight:700; border:1px solid #415061; border-radius:10px; padding:6px 9px; background:#1c2a36; }
.custom-grid { display:grid; grid-template-columns:1.4fr .8fr; gap:8px; }
.custom-grid>span { color:#a9c9db; font-size:10px; }
.custom-grid strong { display:block; color:white; background:#172330; border:1px solid #324050; border-radius:9px; margin-top:3px; padding:8px 9px; font-size:11px; }
.size-pills { text-align:center; word-spacing:7px; }
.popup-status { margin-top:10px; border:1px solid #1f4a55; color:#b9f6f6; background:#0d2027; border-radius:9px; padding:8px 10px; font-size:10px; }
.popup-foot { display:flex; justify-content:space-between; color:#86aabd; font-size:9px; padding:8px 2px 0; gap:8px; }

.cursor-section { background:linear-gradient(180deg,rgba(7,16,25,.22),rgba(12,24,35,.48)); border-top:1px solid rgba(42,58,75,.35); border-bottom:1px solid rgba(42,58,75,.35); }
.cursor-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.cursor-card { min-height:180px; border:1px solid var(--border); border-radius:18px; background:linear-gradient(180deg,rgba(22,34,49,.95),rgba(17,28,40,.96)); display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; padding:20px; }
.cursor-card b { margin-top:10px; }
.cursor-card small { color:#91a9b8; margin-top:2px; }
.cursor-demo { display:grid; place-items:center; width:70px; height:70px; border-radius:20px; background:#0d1721; border:1px solid #2e4150; font-weight:900; font-size:48px; line-height:1; }
.pointer-demo { color:#67f5ff; text-shadow:2px 2px 0 #10202b; }
.saber-demo { color:#74f4ff; text-shadow:0 0 12px #42e5ef; transform:rotate(-12deg); }
.rocket-demo { color:#ff718d; text-shadow:0 12px 14px #ff9f43; }
.blob-demo { color:#76ec89; text-shadow:7px -4px 0 #42e5ef; }

@media (max-width: 920px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-top: 56px; }
  .hero-copy { max-width: 760px; }
  .product-frame { max-width: 520px; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .privacy-callout { grid-template-columns: 1fr; }
  .cursor-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 660px) {
  .shell { width: min(100% - 24px, var(--max)); }
  .nav { min-height: 62px; }
  .nav-links a:not(.nav-badge) { display: none; }
  .hero { padding: 44px 0 50px; }
  h1 { font-size: clamp(2.7rem, 15vw, 4.3rem); }
  .stat-strip, .feature-grid, .showcase-grid, .support-grid, .cursor-grid { grid-template-columns: 1fr; }
  .section { padding: 54px 0; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; padding: 24px 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
