:root {
  --bg: #f6f5f1;
  --surface: #ffffff;
  --surface-2: #efede7;
  --ink: #15131c;
  --ink-2: #4a4757;
  --ink-3: #7c798a;
  --line: #e3e0d8;
  --violet: #6a3dff;
  --violet-soft: #ece6ff;
  --coral: #ff5b3a;
  --coral-soft: #ffe7e1;
  --mint: #19c98f;
  --mint-soft: #d9f8ec;
  --sun: #ffc531;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(21, 19, 28, .04), 0 8px 24px -12px rgba(21, 19, 28, .12);
  --font-head: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.08; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }

.wrap { width: min(1160px, 100% - 32px); margin-inline: auto; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.nav.scrolled { border-bottom-color: var(--line); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-head); font-weight: 700; font-size: 20px; letter-spacing: -.02em; }
.logo-mark { width: 32px; height: 32px; }
.logo b { color: var(--violet); font-weight: 700; }
.nav-links { display: flex; gap: 24px; margin-right: auto; }
.nav-links a, .btn { white-space: nowrap; }
.nav-links a { text-decoration: none; font-size: 14.5px; color: var(--ink-2); font-weight: 500; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 20px; border-radius: 999px; border: 0;
  font: 600 15px/1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .15s cubic-bezier(.2,.8,.2,1), box-shadow .15s, background .15s;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 6px 18px -8px rgba(21,19,28,.6); }
.btn-primary:hover { background: #2a2636; }
.btn-accent { background: var(--coral); color: #fff; box-shadow: 0 8px 22px -10px var(--coral); }
.btn-accent:hover { background: #ff4520; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-outline { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-outline:hover { border-color: var(--ink-3); }
.btn-lg { padding: 15px 26px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
.hero { position: relative; padding: 72px 0 40px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto; height: 640px; z-index: -1;
  background:
    radial-gradient(40% 50% at 18% 30%, rgba(106,61,255,.18), transparent 70%),
    radial-gradient(35% 45% at 82% 20%, rgba(255,91,58,.18), transparent 70%),
    radial-gradient(30% 40% at 60% 70%, rgba(25,201,143,.16), transparent 70%);
  filter: blur(10px);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 12px 6px 8px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 13px; font-weight: 500; color: var(--ink-2);
}
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px var(--mint-soft); }
.hero h1 { font-size: clamp(42px, 6.2vw, 76px); font-weight: 800; margin: 20px 0 20px; }
.hl { position: relative; white-space: nowrap; }
.hl-v { color: var(--violet); }
.hl-c { background: linear-gradient(transparent 62%, var(--sun) 62%, var(--sun) 92%, transparent 92%); }
.hero-sub { font-size: 18.5px; color: var(--ink-2); max-width: 540px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }
.hero-note { margin-top: 16px; font-size: 13.5px; color: var(--ink-3); }

/* chat demo */
.demo {
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: 0 30px 60px -30px rgba(40, 20, 90, .35), var(--shadow);
  overflow: hidden; position: relative;
}
.demo-head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.demo-avatar { width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, var(--violet), var(--coral)); display: grid; place-items: center; color: #fff; font-weight: 700; font-family: var(--font-head); }
.demo-head strong { display: block; font-size: 15px; }
.demo-head span { font-size: 12.5px; color: var(--mint); font-weight: 500; }
.demo-tabs { margin-left: auto; display: flex; gap: 4px; background: var(--surface-2); padding: 4px; border-radius: 999px; }
.demo-tabs button { border: 0; background: none; padding: 6px 12px; border-radius: 999px; font: 600 12.5px var(--font-body); color: var(--ink-2); cursor: pointer; }
.demo-tabs button.on { background: var(--surface); color: var(--ink); box-shadow: 0 1px 3px rgba(0,0,0,.08); }
.demo-body { padding: 18px; min-height: 330px; display: flex; flex-direction: column; gap: 10px; background: linear-gradient(180deg, #fbfaf8, #fff); }
.msg { max-width: 84%; padding: 10px 14px; border-radius: 16px; font-size: 14.5px; line-height: 1.5; animation: pop .35s cubic-bezier(.2,.8,.2,1) both; }
.msg.user { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 6px; }
.msg.bot { align-self: flex-start; background: var(--violet-soft); color: var(--ink); border-bottom-left-radius: 6px; }
.msg.meta { align-self: center; background: none; font: 500 11.5px var(--font-mono); color: var(--ink-3); padding: 2px; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); opacity: .5; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
.blog-card { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; animation: pop .35s both; }
.blog-card h4 { font-size: 17px; margin-bottom: 6px; }
.blog-card p { font-size: 13.5px; color: var(--ink-2); }
.score { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.score span { font: 600 12px var(--font-mono); padding: 4px 8px; border-radius: 8px; background: var(--mint-soft); color: #0b7a55; }
.score span.c { background: var(--coral-soft); color: #c4361a; }
.score span.v { background: var(--violet-soft); color: var(--violet); }
.demo-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.demo-input div { flex: 1; padding: 10px 14px; border-radius: 999px; background: var(--surface-2); color: var(--ink-3); font-size: 14px; }
.demo-input span { width: 40px; height: 40px; border-radius: 50%; background: var(--coral); display: grid; place-items: center; color: #fff; }
.float-chip {
  position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  padding: 10px 14px; box-shadow: var(--shadow); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px;
}
.demo-wrap { position: relative; }
.chip-a { top: -18px; right: 24px; animation: float 5s ease-in-out infinite; }
.chip-b { bottom: 70px; left: -34px; animation: float 6s ease-in-out infinite reverse; }
.chip-a b { color: var(--mint); }
.chip-b b { color: var(--violet); }

@keyframes pop { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes blink { 50% { opacity: 1; transform: translateY(-2px); } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- stats strip ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 64px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.stat { padding: 24px 26px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; font: 800 36px/1 var(--font-head); letter-spacing: -.03em; }
.stat span { font-size: 14px; color: var(--ink-3); }
.stat:nth-child(1) strong { color: var(--violet); }
.stat:nth-child(2) strong { color: var(--mint); }
.stat:nth-child(3) strong { color: var(--coral); }
.stats-note { font-size: 12.5px; color: var(--ink-3); margin-top: 10px; text-align: right; }

/* ---------- sections ---------- */
section.block { padding: 96px 0; }
.eyebrow { font: 600 13px var(--font-mono); text-transform: uppercase; letter-spacing: .08em; color: var(--violet); }
.sec-head { max-width: 680px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(32px, 4.4vw, 50px); font-weight: 800; margin-top: 12px; }
.sec-head p { margin-top: 14px; color: var(--ink-2); font-size: 17.5px; }

/* services */
.services { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.svc { border-radius: 26px; padding: 34px; position: relative; overflow: hidden; border: 1px solid var(--line); background: var(--surface); }
.svc-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 22px; }
.svc h3 { font-size: 28px; font-weight: 700; margin-bottom: 10px; }
.svc > p { color: var(--ink-2); }
.svc ul { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 10px; }
.svc li { display: flex; gap: 10px; font-size: 15px; }
.svc li::before { content: ""; flex: none; width: 18px; height: 18px; margin-top: 3px; border-radius: 6px; background: var(--check-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5L20 7'/%3E%3C/svg%3E") center/12px no-repeat; }
.svc-blog { --check-bg: var(--coral); background: linear-gradient(160deg, #fff 40%, var(--coral-soft)); }
.svc-blog .svc-icon { background: var(--coral); color: #fff; }
.svc-chat { --check-bg: var(--violet); background: linear-gradient(160deg, #fff 40%, var(--violet-soft)); }
.svc-chat .svc-icon { background: var(--violet); color: #fff; }
.svc-api { grid-column: 1 / -1; --check-bg: var(--mint); background: var(--ink); color: #fff; border-color: var(--ink); display: grid; grid-template-columns: 1fr 1.1fr; gap: 36px; align-items: center; }
.svc-api > div > p { color: #b9b5c9; }
.svc-api .svc-icon { background: var(--mint); color: var(--ink); }
.svc-api ul li { color: #e6e3f0; }
.code {
  background: #0d0c12; border: 1px solid #2a2735; border-radius: 16px; padding: 20px;
  font: 13.5px/1.7 var(--font-mono); color: #d6d2e6; overflow-x: auto; white-space: pre;
}
.code .k { color: #ff8a70; } .code .s { color: #6ee7b7; } .code .c { color: #6f6a82; } .code .p { color: #b9a6ff; }

/* how */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-n { font: 800 38px/1 var(--font-head); letter-spacing: -.03em; }
.step:nth-child(1) .step-n { color: var(--violet); }
.step:nth-child(2) .step-n { color: var(--coral); }
.step:nth-child(3) .step-n { color: var(--mint); }
.step:nth-child(4) .step-n { color: #e0a300; }
.step h4 { font-size: 19px; margin: 18px 0 8px; }
.step p { font-size: 14.5px; color: var(--ink-2); }

/* providers / references */
.refs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ref.ref-artu { background: linear-gradient(155deg, #0f1d33, #16294a); color: #fff; border-color: #16294a; }
.ref.ref-artu .ref-logo { background: #f97316; color: #fff; }
.ref.ref-artu p, .ref-artu small { color: #b8c6dc; }
.ref.ref-artu .ref-tags span { background: rgba(255,255,255,.1); color: #e2e9f5; }
.ref.ref-artu .ref-quote { background: rgba(255,255,255,.07); color: #cfdaeb; }
.ref.ref-artu .ref-link { color: #fdba74; }

.lang-btn {
  font: 600 13px var(--font-mono); letter-spacing: .04em; cursor: pointer;
  padding: 7px 11px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--ink);
  transition: border-color .15s, background .15s;
}
.lang-btn:hover { border-color: var(--ink-3); }
.auth-top { align-items: center; }
.auth-top .lang-btn { margin-left: 10px; }
.ref {
  display: flex; flex-direction: column; gap: 18px; text-decoration: none;
  border-radius: 26px; padding: 30px; border: 1px solid var(--line); background: var(--surface);
  transition: transform .2s cubic-bezier(.2,.8,.2,1), box-shadow .2s;
}
.ref:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(21,19,28,.35); }
.ref-top { display: flex; align-items: center; gap: 14px; }
.ref-logo { width: 52px; height: 52px; border-radius: 15px; display: grid; place-items: center; font: 800 20px var(--font-head); }
.ref h3 { font-size: 24px; }
.ref small { color: var(--ink-3); font-size: 13.5px; }
.ref p { color: var(--ink-2); }
.ref-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.ref-tags span { font-size: 12.5px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: var(--surface-2); color: var(--ink-2); }
.ref-link { margin-top: auto; font-weight: 600; font-size: 14.5px; display: flex; align-items: center; gap: 6px; }
.ref-rank .ref-logo { background: #d8f53a; color: #1d2a00; }
.ref-rank .ref-link { color: #4d7a00; }
.ref-spirit { background: linear-gradient(150deg, #1b1033, #2c1450 60%, #3d1240); color: #fff; border-color: #2c1450; }
.ref-spirit .ref-logo { background: linear-gradient(135deg, #a855f7, #ec4899); color: #fff; }
.ref-spirit p, .ref-spirit small { color: #cbbfe6; }
.ref-spirit .ref-tags span { background: rgba(255,255,255,.1); color: #e9defc; }
.ref-spirit .ref-link { color: #f0abfc; }
.ref-quote { font-size: 14px; padding: 14px 16px; border-radius: 14px; background: var(--surface-2); font-family: var(--font-mono); color: var(--ink-2); }
.ref-spirit .ref-quote { background: rgba(255,255,255,.07); color: #d9cdf2; }

.engines { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.engines > span:first-child { font-size: 14px; color: var(--ink-3); margin-right: 6px; }
.engine { font-size: 13.5px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 30px; display: flex; flex-direction: column; }
.plan h3 { font-size: 22px; }
.plan .price { font: 800 46px/1 var(--font-head); letter-spacing: -.03em; margin: 18px 0 4px; }
.plan .price small { font: 500 15px var(--font-body); color: var(--ink-3); letter-spacing: 0; }
.plan > p { color: var(--ink-2); font-size: 14.5px; }
.plan ul { list-style: none; padding: 0; margin: 22px 0 28px; display: grid; gap: 10px; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; }
.plan li::before { content: "✓"; color: var(--mint); font-weight: 800; }
.plan .btn { margin-top: auto; }
.plan.hot { background: var(--violet); color: #fff; border-color: var(--violet); position: relative; box-shadow: 0 30px 60px -30px var(--violet); }
.plan.hot > p, .plan.hot .price small { color: #ddd3ff; }
.plan.hot li::before { color: var(--sun); }
.plan.hot .badge { position: absolute; top: 20px; right: 20px; background: var(--sun); color: var(--ink); font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.plan.hot .btn-primary { background: #fff; color: var(--ink); }

/* faq */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 20px 0; font-weight: 600; font-size: 16.5px; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; line-height: 1; color: var(--violet); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; color: var(--ink-2); }

/* cta */
.cta {
  border-radius: 32px; padding: 64px 48px; text-align: center; color: #fff; position: relative; overflow: hidden;
  background: linear-gradient(120deg, var(--violet) 0%, #b23cff 45%, var(--coral) 100%);
}
.cta h2 { font-size: clamp(32px, 4.6vw, 54px); font-weight: 800; }
.cta p { margin: 14px auto 28px; max-width: 560px; font-size: 18px; color: rgba(255,255,255,.88); }
.cta .btn-primary { background: #fff; color: var(--ink); }

/* footer */
footer { padding: 56px 0 40px; border-top: 1px solid var(--line); margin-top: 96px; }
.foot { display: flex; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-cols h5 { margin: 0 0 12px; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.foot-cols a { display: block; text-decoration: none; color: var(--ink-2); font-size: 14.5px; margin-bottom: 8px; }
.foot-cols a:hover { color: var(--ink); }
.foot-bottom { margin-top: 40px; font-size: 13px; color: var(--ink-3); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ---------- auth pages ---------- */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-side {
  position: relative; overflow: hidden; color: #fff; padding: 40px 48px; display: flex; flex-direction: column;
  background: linear-gradient(150deg, #1a1033 0%, #3a1a7a 50%, #6a3dff 100%);
}
.auth-side::after {
  content: ""; position: absolute; width: 520px; height: 520px; right: -160px; bottom: -160px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,91,58,.7), transparent 65%); filter: blur(20px);
}
.auth-side .logo { color: #fff; position: relative; z-index: 1; }
.auth-side .logo b { color: var(--sun); }
.auth-pitch { margin-top: auto; margin-bottom: auto; position: relative; z-index: 1; max-width: 460px; }
.auth-pitch h2 { font-size: clamp(32px, 3.6vw, 46px); font-weight: 800; }
.auth-pitch p { margin-top: 16px; color: #d9d0f7; font-size: 17px; }
.auth-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.auth-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: #efeaff; }
.auth-list li span:first-child { flex: none; width: 26px; height: 26px; border-radius: 8px; background: rgba(255,255,255,.14); display: grid; place-items: center; font-size: 13px; }
.auth-foot { position: relative; z-index: 1; font-size: 13px; color: #b9addf; }

.auth-main { display: flex; flex-direction: column; padding: 32px; background: var(--bg); }
.auth-top { display: flex; justify-content: flex-end; font-size: 14.5px; color: var(--ink-2); gap: 6px; }
.auth-top a { font-weight: 600; color: var(--violet); text-decoration: none; }
.auth-form { width: min(420px, 100%); margin: auto; padding: 32px 0; }
.auth-form h1 { font-size: 36px; font-weight: 800; }
.auth-form > p { color: var(--ink-2); margin: 10px 0 28px; }
.field { display: grid; gap: 7px; margin-bottom: 16px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field select {
  width: 100%; padding: 13px 15px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface);
  font: 15px var(--font-body); color: var(--ink); transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px var(--violet-soft); }
.field input.bad { border-color: var(--coral); box-shadow: 0 0 0 4px var(--coral-soft); }
.field .err { font-size: 13px; color: #d0381a; min-height: 0; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choice { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.choice label {
  position: relative;
  display: flex; flex-direction: column; gap: 4px; align-items: flex-start; cursor: pointer;
  padding: 12px; border-radius: var(--radius-sm); border: 1px solid var(--line); background: var(--surface); font-size: 13px; font-weight: 600;
  transition: border-color .15s, background .15s;
}
.choice label small { font-weight: 500; color: var(--ink-3); font-size: 12px; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice label:has(input:checked) { border-color: var(--violet); background: var(--violet-soft); }
.choice label:has(input:focus-visible) { box-shadow: 0 0 0 4px var(--violet-soft); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin: 6px 0 20px; }
.check input { margin-top: 4px; accent-color: var(--violet); width: 16px; height: 16px; }
.check a { color: var(--violet); }
.pw-meter { height: 5px; border-radius: 4px; background: var(--surface-2); overflow: hidden; }
.pw-meter i { display: block; height: 100%; width: 0; background: var(--coral); transition: width .25s, background .25s; }
.divider { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--ink-3); margin: 20px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.form-ok { display: none; padding: 14px 16px; border-radius: var(--radius-sm); background: var(--mint-soft); color: #0b6b4b; font-size: 14.5px; margin-top: 14px; }
.form-ok.show { display: block; animation: pop .3s both; }
.form-links { display: flex; justify-content: space-between; font-size: 14px; margin: -4px 0 20px; }
.form-links a { color: var(--violet); text-decoration: none; font-weight: 500; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.8,.2,1), transform .6s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 980px) {
  .hero-grid, .svc-api { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .plans { grid-template-columns: 1fr; max-width: 480px; }
  .refs { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .chip-b { left: 10px; }
  .auth { grid-template-columns: 1fr; }
  .auth-side { padding: 28px 24px; }
  .auth-pitch { margin: 32px 0 12px; }
  .auth-list, .auth-foot { display: none; }
}
@media (max-width: 900px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .menu-btn { display: block; margin-left: auto; }
  .nav-cta { order: 3; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 68px; left: 0; right: 0;
    background: var(--bg); padding: 16px; border-bottom: 1px solid var(--line); gap: 14px;
  }
  .services, .refs { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .svc, .ref { padding: 24px; }
  section.block { padding: 64px 0; }
  .cta { padding: 44px 22px; }
  .row2, .choice { grid-template-columns: 1fr; }
  .hl { white-space: normal; }
  .float-chip { display: none; }
  .auth-main { padding: 20px 16px; }
}
@media (max-width: 420px) {
  .nav-cta .btn { padding: 9px 14px; font-size: 14px; }
  .stat { padding: 18px; }
  .stat strong { font-size: 28px; }
}
