:root {
  --ink: #111111;
  --muted: #5b5b5b;
  --line: #e7e5e4;
  --bg: #ffffff;
  --soft: #fafaf9;
  --accent: #16a34a;
  --accent-ink: #ffffff;
  --night: #05060f;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif;
  line-height: 1.55;
}
a { color: inherit; }
img { max-width: 100%; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 680px; }
.muted { color: var(--muted); }
.tiny { font-size: 12px; }
.tiny a { color: var(--muted); text-decoration: none; }
.tiny a:hover { text-decoration: underline; }

.nav { position: sticky; top: 0; z-index: 10; background: #ffffffe6; backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 60px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font-weight: 800; letter-spacing: -0.02em; text-decoration: none; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px #16a34a88; }
.links { display: flex; gap: 20px; margin-left: auto; font-size: 15px; }
.links a { text-decoration: none; color: var(--muted); }
.links a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent); color: var(--accent-ink);
  padding: 10px 18px; border-radius: 10px; font-weight: 700; text-decoration: none;
  border: 0; cursor: pointer; font-size: 15px;
}
.btn:hover { filter: brightness(1.06); }
.btn.big { padding: 14px 26px; font-size: 17px; border-radius: 12px; }
.btn.ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }

section { padding: 72px 0; }
section + section { border-top: 1px solid var(--line); }
h1 { font-size: clamp(36px, 6vw, 56px); line-height: 1.05; letter-spacing: -0.035em; font-weight: 800; margin: 0 0 18px; }
h2 { font-size: clamp(28px, 4vw, 38px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 800; margin: 0 0 14px; }
h3 { font-size: 19px; letter-spacing: -0.01em; margin: 0 0 6px; }
.lead { font-size: 19px; color: var(--muted); max-width: 640px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); margin: 0 0 10px; }

.hero { padding-top: 64px; text-align: center; }
.hero .lead { margin: 0 auto 26px; }
.hero .sub { font-size: 14px; color: var(--muted); margin-top: 12px; }
.frame {
  margin: 40px auto 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px -30px #0000004d, 0 2px 8px #0000000f;
  background: var(--night);
  max-width: 960px;
  text-align: left;
}
.frame-bar { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: #0d0f1f; border-bottom: 1px solid #ffffff14; color: #a8a29e; font-size: 12px; }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: #ffffff26; display: inline-block; }
.frame-bar .url { margin-left: 10px; background: #ffffff10; padding: 3px 10px; border-radius: 6px; }
.frame-bar .tag { margin-left: auto; color: #fbbf24; }
.preview { position: relative; aspect-ratio: 16 / 8.2; }
.preview canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.preview-tray { display: flex; gap: 6px; padding: 10px; overflow: hidden; background: #070815; border-top: 1px solid #ffffff10; }
.preview-tray a { flex: 0 0 auto; display: grid; justify-items: center; width: 74px; padding: 6px 2px; border-radius: 10px; border: 1px solid #ffffff1a; background: #ffffff0a; color: #f5f1e8; text-decoration: none; font-size: 11px; }
.preview-tray a:first-child { border-color: #f97316; background: #f9731622; }
.preview-tray img { width: 40px; height: 40px; object-fit: cover; border-radius: 8px; }
.preview-tray b { font-size: 12px; }

.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.grid2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.card { border: 1px solid var(--line); border-radius: 16px; padding: 22px; background: var(--bg); }
.card.soft { background: var(--soft); }
.stat { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; line-height: 1; margin: 6px 0 10px; }
.stat.good { color: var(--accent); }
.note { font-size: 13px; color: var(--muted); margin-top: 18px; }
.note a { color: var(--muted); }

.why { counter-reset: why; display: grid; gap: 14px; }
.why .card { display: grid; grid-template-columns: 44px 1fr; gap: 16px; }
.why .n { width: 36px; height: 36px; border-radius: 10px; background: #16a34a14; color: var(--accent); font-weight: 800; display: grid; place-items: center; }
.why .src { font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.why .src a { color: var(--muted); }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; counter-reset: step; }
.step .num { font-size: 13px; font-weight: 800; color: var(--accent); }
.step .pic { height: 120px; border-radius: 12px; background: var(--night); margin: 12px 0 14px; display: grid; place-items: center; color: #f5f1e8; overflow: hidden; position: relative; }
.step .pic img { height: 80px; }
.slider-mock { width: 80%; display: grid; gap: 8px; font-size: 13px; }
.slider-mock .track { height: 6px; border-radius: 3px; background: #ffffff22; position: relative; }
.slider-mock .fill { position: absolute; inset: 0 30% 0 0; background: #f97316; border-radius: 3px; }
.slider-mock .knob { position: absolute; left: 70%; top: 50%; width: 16px; height: 16px; border-radius: 50%; background: #fff; transform: translate(-50%, -50%); }
.tap { width: 46px; height: 46px; border-radius: 50%; border: 2px solid #ffd166; box-shadow: 0 0 0 10px #ffd16622, 0 0 30px #ffd166aa; }

.crackers { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.cracker { border: 1px solid var(--line); border-radius: 14px; padding: 14px; display: grid; gap: 2px; text-decoration: none; background: var(--bg); }
.cracker:hover { border-color: var(--accent); }
.cracker .img { aspect-ratio: 1; border-radius: 10px; background: var(--night); overflow: hidden; margin-bottom: 8px; }
.cracker .img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cracker .hi { font-weight: 800; font-size: 17px; }
.cracker .en { font-size: 13px; color: var(--muted); }
.cracker .lv { font-size: 12px; color: var(--accent); font-weight: 700; }

.scenes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.scene .ui { border-radius: 12px; background: var(--night); color: #f5f1e8; padding: 14px; margin-bottom: 14px; min-height: 120px; font-size: 13px; display: grid; align-content: center; gap: 8px; }
.pill { display: inline-flex; gap: 6px; align-items: center; background: #ffffff14; border: 1px solid #ffffff22; border-radius: 999px; padding: 4px 10px; font-size: 12px; width: max-content; }
.pill.on { background: #f97316; color: #1a0d02; border-color: #f97316; }
.pops { display: flex; flex-wrap: wrap; gap: 3px; }
.pops i { width: 6px; height: 14px; background: #e5383b; border-radius: 2px; display: block; }
.pops i.gone { background: #ffffff1a; }

.agent { background: var(--night); color: #e7e5e4; border-radius: 16px; padding: 22px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 14px; line-height: 1.7; overflow-x: auto; }
.agent .you { color: #fbbf24; }
.agent .tool { color: #4ade80; }

.founder { max-width: 640px; }
.founder ol { padding-left: 20px; }
.founder li { margin: 8px 0; }

.price { max-width: 520px; margin: 0 auto; text-align: center; }
.price .amount { font-size: 64px; font-weight: 800; letter-spacing: -0.04em; line-height: 1; }
.price ul { text-align: left; list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 8px; }
.price li::before { content: "✓"; color: var(--accent); font-weight: 800; margin-right: 10px; }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { font-weight: 700; cursor: pointer; font-size: 17px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--muted); }
.faq details[open] summary::after { content: "–"; }
.faq p { margin: 10px 0 0; color: #333; }

.close { text-align: center; }

table.cmp { width: 100%; border-collapse: collapse; font-size: 14px; }
.cmp-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 14px; }
table.cmp th, table.cmp td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
table.cmp thead th { background: var(--soft); font-size: 13px; }
table.cmp td.us, table.cmp th.us { background: #16a34a0d; font-weight: 600; }
table.cmp tr:last-child td { border-bottom: 0; }

.docs { display: grid; grid-template-columns: 200px 1fr; gap: 40px; padding: 48px 0 80px; }
.docs nav { position: sticky; top: 80px; align-self: start; display: grid; gap: 6px; font-size: 14px; }
.docs nav a { text-decoration: none; color: var(--muted); }
.docs nav a.on, .docs nav a:hover { color: var(--ink); font-weight: 600; }
.docs article h1 { font-size: 36px; }
.docs article h2 { font-size: 24px; margin-top: 36px; }
pre { background: var(--night); color: #e7e5e4; padding: 16px; border-radius: 12px; overflow-x: auto; font-size: 13px; line-height: 1.6; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 0.92em; }
p code, li code, td code { background: #f5f5f4; padding: 1px 6px; border-radius: 6px; }

.foot { border-top: 1px solid var(--line); padding: 48px 0 24px; background: var(--soft); }
.foot-in { display: grid; grid-template-columns: 1.2fr 2fr; gap: 32px; }
.foot .cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; font-size: 14px; }
.foot .cols div { display: grid; gap: 6px; align-content: start; }
.foot .cols a { color: var(--muted); text-decoration: none; }
.foot .cols a:hover { color: var(--ink); }
.copy { margin-top: 28px; font-size: 13px; color: var(--muted); }
.copy p { margin: 4px 0; }

@media (max-width: 820px) {
  .links { display: none; }
  .nav-in { justify-content: space-between; }
  .grid3, .steps, .scenes, .grid2 { grid-template-columns: 1fr; }
  .foot-in { grid-template-columns: 1fr; }
  .docs { grid-template-columns: 1fr; }
  .docs nav { position: static; display: flex; flex-wrap: wrap; gap: 12px; }
  .preview { aspect-ratio: 4 / 3.4; }
  section { padding: 56px 0; }
}
