:root {
  --bg: #fbfaf7;
  --paper: #ffffff;
  --ink: #15161a;
  --muted: #5f6470;
  --faint: #9a9fa8;
  --line: #e7e4dc;
  --accent: #ff5a1f;
  --accent-soft: #fff0e9;
  --dark: #121317;
  --dark-2: #1b1d23;
  --ok: #1f9d55;
  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --display: 'Inter Tight', 'Inter', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
p a, li a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }
p a:hover, li a:hover { text-decoration-color: var(--accent); }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.02em; line-height: 1.08; font-weight: 700; }
h1 { font-size: clamp(38px, 6.2vw, 72px); letter-spacing: -0.035em; }
h2 { font-size: clamp(28px, 3.8vw, 44px); }
h3 { font-size: 22px; }
.eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.lead { font-size: clamp(18px, 1.6vw, 21px); color: var(--muted); max-width: 56ch; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.mono { font-family: var(--mono); font-size: 13px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
section { padding: clamp(56px, 8vw, 110px) 0; }
section + section { border-top: 1px solid var(--line); }

.head {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.head .wrap { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 18px; letter-spacing: -0.02em; }
.logo svg { width: 26px; height: 26px; }
.head nav { display: flex; gap: 22px; margin-left: auto; font-size: 15px; color: var(--muted); }
.head nav a:hover { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 15px;
  background: var(--ink); color: #fff; border: 1px solid var(--ink); cursor: pointer;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); background: #000; }
.btn.accent { background: var(--accent); border-color: var(--accent); }
.btn.accent:hover { background: #e84d14; }
.btn.ghost { background: transparent; color: var(--ink); }
.btn.ghost:hover { background: var(--paper); }
.head .btn { padding: 9px 16px; font-size: 14px; }
@media (max-width: 720px) { .head nav { display: none; } }

.hero { padding: clamp(64px, 10vw, 140px) 0 clamp(40px, 6vw, 80px); }
.hero h1 { max-width: 16ch; }
.hero .lead { margin-top: 22px; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; align-items: center; }
.hero .proof { margin-top: 28px; font-size: 14px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 8px 18px; }
.hero .proof b { color: var(--ink); font-weight: 600; }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { background: var(--paper); padding: 24px 22px; }
.stat .n { font-family: var(--display); font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); letter-spacing: -0.03em; line-height: 1; }
.stat .l { margin-top: 8px; font-size: 14px; color: var(--muted); }

.mode { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.mode + .mode { margin-top: clamp(56px, 8vw, 110px); }
.mode.flip .demo { order: -1; }
.mode h2 { margin-top: 8px; }
.mode p { margin-top: 16px; color: var(--muted); }
.mode ul { margin-top: 18px; list-style: none; display: grid; gap: 10px; }
.mode li { padding-left: 26px; position: relative; }
.mode li::before { content: ''; position: absolute; left: 0; top: 10px; width: 14px; height: 2px; background: var(--accent); }
.mode .io { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.tag { font-family: var(--mono); font-size: 12px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--muted); }
.tag b { color: var(--ink); font-weight: 500; }
.demo { background: var(--dark); border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.demo img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) { .mode { grid-template-columns: 1fr; } .mode.flip .demo { order: 0; } }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 40px; }
.step { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 24px; }
.step .k { font-family: var(--mono); font-size: 12px; color: var(--accent); }
.step h3 { margin-top: 10px; }
.step p { margin-top: 10px; color: var(--muted); font-size: 15px; }
@media (max-width: 760px) { .steps { grid-template-columns: 1fr; } }

.built { display: flex; flex-wrap: wrap; gap: 14px 30px; align-items: center; margin-top: 34px; }
.built span { display: inline-flex; align-items: center; gap: 9px; font-family: var(--display); font-weight: 600; font-size: 19px; letter-spacing: -0.01em; color: var(--muted); }
.built img { width: 22px; height: 22px; object-fit: contain; }
.built .l { font-family: var(--font); font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-right: 6px; }

.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 20px; padding: 0; list-style: none; }
.team li { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin: 0; display: flex; gap: 14px; align-items: center; }
.team i { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-style: normal; font-weight: 700; font-family: var(--display); }
.team b { display: block; color: var(--ink); font-weight: 600; }
.team span { color: var(--muted); font-size: 14px; }
@media (max-width: 760px) { .team { grid-template-columns: 1fr; } }

.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); }
.two p { margin-top: 14px; color: var(--muted); }
@media (max-width: 860px) { .two { grid-template-columns: 1fr; } }
.note { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.note .who { margin-top: 18px; display: flex; gap: 12px; align-items: center; }
.note .who i { width: 40px; height: 40px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; font-style: normal; font-weight: 700; font-family: var(--display); }
.note .who b { display: block; font-weight: 600; }
.note .who span { color: var(--muted); font-size: 14px; }

.access { background: var(--dark); color: #fff; border-radius: 22px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.access h2 { color: #fff; }
.access p { color: #b4b8c2; margin-top: 14px; }
.access .eyebrow { color: #ff8b5c; }
.form { display: grid; gap: 12px; }
.form label { font-size: 13px; color: #b4b8c2; display: grid; gap: 6px; }
.form input, .form select, .form textarea {
  width: 100%; padding: 12px 14px; border-radius: 10px; border: 1px solid #2c2f38; background: var(--dark-2); color: #fff; font: inherit; font-size: 15px;
}
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: transparent; }
.form .btn { justify-self: start; margin-top: 6px; }
.form .ok { color: #7fe0a8; font-weight: 600; }
.form .err { color: #ff8b5c; }
@media (max-width: 860px) { .access { grid-template-columns: 1fr; } }

.faq { display: grid; gap: 0; margin-top: 30px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-family: var(--display); font-size: 19px; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; color: var(--faint); font-weight: 400; }
.faq details[open] summary::after { content: '–'; }
.faq p { margin-top: 12px; color: var(--muted); max-width: 70ch; }

.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 28px 26px; display: flex; flex-direction: column; }
.plan.hi { border-color: var(--ink); box-shadow: 0 24px 50px -30px rgba(0,0,0,.35); }
.plan .price { font-family: var(--display); font-weight: 700; font-size: 40px; letter-spacing: -0.03em; margin-top: 14px; }
.plan .price small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.plan ul { list-style: none; margin-top: 18px; display: grid; gap: 8px; color: var(--muted); font-size: 15px; flex: 1; }
.plan li::before { content: '— '; color: var(--accent); }
.plan .btn { margin-top: 22px; justify-content: center; }
@media (max-width: 860px) { .plans { grid-template-columns: 1fr; } }

.activity { display: flex; gap: 3px; align-items: flex-end; height: 120px; margin-top: 28px; }
.activity .w { flex: 1; height: 120px; display: flex; flex-direction: column-reverse; gap: 1px; min-width: 6px; }
.activity .w i { display: block; flex: none; border-radius: 2px; }
.activity .c { background: var(--accent); }
.activity .s { background: #3a7bff; }
.activity .e { background: #1fbf8f; }
.legend { display: flex; gap: 18px; margin-top: 12px; font-size: 13px; color: var(--muted); }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 6px; vertical-align: -1px; }
.log { margin-top: 40px; display: grid; gap: 0; }
.log .entry { display: grid; grid-template-columns: 110px 90px 1fr; gap: 16px; padding: 16px 0; border-top: 1px solid var(--line); }
.log .d { font-family: var(--mono); font-size: 13px; color: var(--muted); }
.log .b { font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.log .b.c { color: var(--accent); } .log .b.s { color: #3a7bff; } .log .b.e { color: #1fbf8f; }
@media (max-width: 640px) { .log .entry { grid-template-columns: 1fr; gap: 4px; } }

.doc { max-width: 72ch; }
.doc h2 { font-size: 24px; margin-top: 40px; }
.doc p, .doc li { margin-top: 12px; color: var(--muted); }
.doc ul { padding-left: 20px; }
.doc .facts { list-style: none; padding: 0; margin-top: 20px; border-top: 1px solid var(--line); }
.doc .facts li { display: grid; grid-template-columns: 160px 1fr; gap: 16px; padding: 12px 0; margin: 0; border-bottom: 1px solid var(--line); }
.doc .facts b { color: var(--ink); font-weight: 600; }

.foot { border-top: 1px solid var(--line); padding: 36px 0 48px; font-size: 14px; color: var(--muted); }
.foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; }
.foot .logo { font-size: 15px; color: var(--ink); }
.foot nav { display: flex; flex-wrap: wrap; gap: 18px; margin-left: auto; }
.foot a:hover { color: var(--ink); }
