@font-face {
  font-family: "Inter";
  src: url("inter.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #0b0b1a;
  --ink-2: #3d3d52;
  --muted: #6b6b80;
  --line: #e7e7ef;
  --soft: #f6f6fb;
  --bg: #ffffff;
  --brand: #4b3bff;
  --brand-ink: #3a2be0;
  --brand-soft: #eeecff;
  --green: #12b76a;
  --max: 1160px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  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: "Inter Tight", "Inter", system-ui, sans-serif;
  letter-spacing: -0.025em;
  line-height: 1.08;
  margin: 0;
}
p { margin: 0; }

/* Page frame: thin vertical guide lines, like a blueprint */
.frame {
  max-width: var(--max);
  margin: 0 auto;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
}
.pad { padding-left: 56px; padding-right: 56px; }
.rule { border-top: 1px solid var(--line); }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-in {
  max-width: var(--max); margin: 0 auto; height: 64px;
  display: flex; align-items: center; gap: 32px;
  padding: 0 24px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 650; letter-spacing: -0.01em; }
.logo-mark { width: 26px; height: 26px; }
.nav-links { display: flex; gap: 28px; font-size: 14.5px; color: var(--ink-2); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { margin-left: auto; display: flex; gap: 10px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 42px; padding: 0 18px; border-radius: 8px;
  font: 550 14.5px/1 "Inter", sans-serif; text-decoration: none; white-space: nowrap;
  border: 1px solid transparent; transition: background .15s, border-color .15s, transform .15s;
}
.btn-sm { height: 36px; padding: 0 14px; font-size: 14px; }
.btn-primary { background: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-ink); }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: #cfcfe0; }
.btn .arrow { transition: transform .15s; }
.btn:hover .arrow { transform: translateX(2px); }

/* Hero */
.hero { position: relative; padding-top: 96px; padding-bottom: 64px; overflow: hidden; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 550; color: var(--ink-2);
  padding: 6px 12px 6px 8px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 3px #d1fadf; }
.hero h1 { font-size: clamp(44px, 7vw, 80px); font-weight: 650; margin-top: 24px; max-width: 13ch; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero .lede { font-size: 19px; color: var(--muted); max-width: 52ch; margin-top: 24px; }
.hero .ctas { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }

/* Decorative pixel squares */
.px { position: absolute; background: var(--brand-soft); width: 14px; height: 14px; pointer-events: none; }
.px.b { background: #e4e1ff; }

/* Hero product mock */
.mock {
  margin-top: 64px;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; overflow: hidden;
  box-shadow: 0 1px 2px rgba(16, 16, 40, .04), 0 24px 48px -24px rgba(40, 30, 140, .18);
  display: grid; grid-template-columns: 1.05fr 1fr;
}
.mock-col { padding: 28px; }
.mock-col + .mock-col { border-left: 1px solid var(--line); background: var(--soft); }
.mock-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.mock-title { font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.seg { display: inline-flex; background: #ececf4; border-radius: 7px; padding: 3px; font-size: 12.5px; font-weight: 550; }
.seg span { padding: 4px 10px; border-radius: 5px; color: var(--muted); }
.seg span.on { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,.06); }

.msg { display: flex; gap: 12px; align-items: flex-start; }
.avatar {
  flex: none; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-size: 13px; font-weight: 650; color: #fff;
}
.avatar.user { background: #f79009; }
.avatar.bot { background: var(--brand); }
.who { font-size: 13.5px; font-weight: 600; }
.who small { color: var(--muted); font-weight: 450; margin-left: 4px; }
.bubble { margin-top: 6px; background: var(--soft); border-radius: 12px; padding: 12px 14px; font-size: 14px; color: var(--ink-2); }
.steps { margin-top: 10px; border: 1px solid var(--line); border-radius: 10px; font-size: 13.5px; }
.steps li { list-style: none; padding: 10px 12px; display: flex; gap: 10px; align-items: center; color: var(--ink-2); }
.steps li + li { border-top: 1px solid var(--line); }
.steps ol, .steps { padding: 0; margin-left: 0; }
.tick { width: 16px; height: 16px; flex: none; border-radius: 50%; background: #d1fadf; display: grid; place-items: center; }
.tick::after { content: ""; width: 6px; height: 3px; border: solid var(--green); border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.spin { width: 16px; height: 16px; flex: none; border-radius: 50%; border: 2px solid var(--brand-soft); border-top-color: var(--brand); animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

.card-mini { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.card-mini + .card-mini { margin-top: 12px; }
.card-mini .k { font-size: 12px; color: var(--muted); }
.card-mini .v { font-size: 14px; font-weight: 550; margin-top: 2px; }
.status { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--brand); font-weight: 550; margin-bottom: 12px; }
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brand); }
.flow { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 12.5px; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 6px; padding: 4px 8px; font-weight: 550; color: var(--ink-2); }
.flow .sep { color: #b4b4c6; }

/* Tool strip */
.strip { padding-top: 36px; padding-bottom: 36px; text-align: center; }
.strip p { font-size: 13px; color: var(--muted); font-weight: 550; text-transform: uppercase; letter-spacing: .08em; }
.tools { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; margin-top: 18px; font: 600 18px/1.2 "Inter Tight", sans-serif; color: #9a9aae; letter-spacing: -0.01em; }

/* Sections */
.section { padding-top: 96px; padding-bottom: 96px; }
.kicker { font-size: 13px; font-weight: 600; color: var(--brand); text-transform: uppercase; letter-spacing: .08em; }
.section h2 { font-size: clamp(32px, 4.4vw, 48px); font-weight: 650; margin-top: 14px; max-width: 20ch; }
.section .sub { color: var(--muted); font-size: 18px; margin-top: 16px; max-width: 58ch; }

/* Services: big rows (Metalab style) */
.svc { margin-top: 56px; border-top: 1px solid var(--line); }
.svc-row {
  display: grid; grid-template-columns: 64px 1.1fr 1fr; gap: 32px;
  padding: 36px 0; border-bottom: 1px solid var(--line); align-items: start;
}
.svc-num { font: 600 14px/1 "Inter", sans-serif; color: var(--muted); padding-top: 8px; }
.svc-row h3 { font-size: clamp(24px, 2.8vw, 32px); font-weight: 600; }
.svc-row h3 .tag { display: inline-block; vertical-align: middle; margin-left: 10px; font: 600 11.5px/1 "Inter", sans-serif; letter-spacing: .04em; text-transform: uppercase; color: var(--brand); background: var(--brand-soft); padding: 5px 8px; border-radius: 5px; }
.svc-row p { color: var(--ink-2); margin-top: 12px; max-width: 46ch; }
.svc-list { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 14.5px; color: var(--ink-2); padding-top: 6px; }
.svc-list li { padding-left: 16px; position: relative; }
.svc-list li::before { content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--brand); border-radius: 1px; }

/* Grid cards */
.grid { display: grid; gap: 0; margin-top: 56px; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.cell { padding: 28px; background: #fff; }
.grid-4 .cell + .cell, .grid-3 .cell + .cell { border-left: 1px solid var(--line); }
.cell .n { width: 32px; height: 32px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 650; font-size: 14px; }
.cell h4 { font-size: 20px; font-weight: 600; margin-top: 20px; }
.cell p { color: var(--muted); font-size: 15px; margin-top: 8px; }
.cell ul { margin: 16px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ink-2); }
.cell ul li { padding: 6px 0; border-top: 1px dashed var(--line); }
.cell .price { font: 600 15px/1.3 "Inter", sans-serif; color: var(--ink); margin-top: 16px; }

.soft-bg { background: var(--soft); }

/* Two column about */
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.facts { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.facts div { display: flex; justify-content: space-between; gap: 24px; padding: 16px 20px; font-size: 15px; }
.facts div + div { border-top: 1px solid var(--line); }
.facts dt, .facts .k { color: var(--muted); }
.facts .v { font-weight: 550; text-align: right; }

/* FAQ */
.faq { margin-top: 48px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 0; }
.faq summary { cursor: pointer; list-style: none; font: 600 18px/1.4 "Inter Tight", sans-serif; display: flex; justify-content: space-between; gap: 24px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-weight: 400; font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); margin-top: 12px; max-width: 70ch; }

/* CTA band */
.cta {
  margin: 0 56px 96px; border-radius: 20px; padding: 64px 56px;
  background: radial-gradient(120% 140% at 100% 0%, #6b5cff 0%, #4b3bff 45%, #2a1fb8 100%);
  color: #fff; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap;
  position: relative; overflow: hidden;
}
.cta h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 650; max-width: 18ch; }
.cta p { color: rgba(255,255,255,.8); margin-top: 12px; max-width: 46ch; }
.cta .btn-primary { background: #fff; color: var(--brand-ink); }
.cta .btn-primary:hover { background: #f1efff; }
.cta .btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }

/* Footer */
.foot { border-top: 1px solid var(--line); }
.foot-in { padding-top: 56px; padding-bottom: 40px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; font-size: 14.5px; }
.foot h5 { margin: 0 0 14px; font-size: 13px; font-weight: 600; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 4px 0; color: var(--ink-2); }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--brand); }
.foot address { font-style: normal; color: var(--ink-2); margin-top: 14px; line-height: 1.7; }
.legal-line { border-top: 1px solid var(--line); padding-top: 20px; padding-bottom: 28px; font-size: 13.5px; color: var(--muted); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* Legal pages */
.doc { padding-top: 72px; padding-bottom: 96px; max-width: 780px; }
.doc h1 { font-size: clamp(36px, 5vw, 52px); font-weight: 650; }
.doc .updated { color: var(--muted); margin-top: 12px; font-size: 15px; }
.doc h2 { font-size: 22px; font-weight: 600; margin-top: 44px; }
.doc p, .doc li { color: var(--ink-2); margin-top: 12px; }
.doc ul { padding-left: 20px; }
.doc a { color: var(--brand); }

/* Responsive */
@media (max-width: 960px) {
  .pad { padding-left: 28px; padding-right: 28px; }
  .nav-links { display: none; }
  .mock { grid-template-columns: 1fr; }
  .mock-col + .mock-col { border-left: 0; border-top: 1px solid var(--line); }
  .svc-row { grid-template-columns: 1fr; gap: 16px; }
  .svc-num { padding-top: 0; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .grid-4 .cell:nth-child(3) { border-left: 0; }
  .grid-4 .cell:nth-child(n+3) { border-top: 1px solid var(--line); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-3 .cell + .cell { border-left: 0; border-top: 1px solid var(--line); }
  .two { grid-template-columns: 1fr; gap: 40px; }
  .cta { margin: 0 28px 72px; padding: 48px 32px; }
  .foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .frame { border-left: 0; border-right: 0; }
  .pad { padding-left: 16px; padding-right: 16px; }
  .nav-in { padding: 0 16px; gap: 12px; }
  .nav-cta .btn-ghost { display: none; }
  .hero { padding-top: 56px; }
  .hero .lede { font-size: 17px; }
  .mock-col { padding: 20px; }
  .svc-list { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .grid-4 .cell + .cell { border-left: 0; border-top: 1px solid var(--line); }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .cta { margin: 0 16px 56px; padding: 36px 22px; }
  .foot-in { grid-template-columns: 1fr; }
  .px { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .spin { animation: none; }
}

/* Contact page (two columns: form left, soft panel right) */
.contact { display: grid; grid-template-columns: 1fr 1fr; }
.contact-form { padding: 72px 56px 96px; }
.contact-form h1 { font-size: clamp(40px, 5.4vw, 60px); font-weight: 650; max-width: 11ch; }
.contact-form .lede { color: var(--muted); font-size: 18px; margin-top: 20px; max-width: 40ch; }
.contact-aside { border-left: 1px solid var(--line); background: linear-gradient(160deg, #fafafe 0%, var(--soft) 100%); padding: 72px 56px; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.form { margin-top: 36px; display: grid; gap: 18px; max-width: 440px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 14px; font-weight: 550; margin-bottom: 6px; }
.field label .req { color: #e5484d; }
.field label .opt { color: var(--muted); font-weight: 450; }
.field input, .field select, .field textarea {
  width: 100%; font: 15px/1.4 "Inter", sans-serif; color: var(--ink);
  background: #f5f8fb; border: 1px solid #d9e0e8; border-radius: 6px;
  padding: 11px 12px; transition: border-color .15s, box-shadow .15s, background .15s;
}
.field select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #6b6b80 50%), linear-gradient(135deg, #6b6b80 50%, transparent 50%); background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 32px; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; background: #fff; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-soft); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form .btn { justify-self: start; height: 44px; padding: 0 22px; border: 0; cursor: pointer; }
.form .btn[disabled] { opacity: .6; cursor: wait; }
.form-note { font-size: 13px; color: var(--muted); }
.form-error { font-size: 14px; color: #c4262b; background: #fff0f0; border: 1px solid #ffd6d6; border-radius: 6px; padding: 10px 12px; display: none; }
.form-done { display: none; margin-top: 36px; max-width: 440px; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; background: #fff; }
.form-done h3 { font-size: 24px; font-weight: 600; margin-top: 16px; }
.form-done p { color: var(--ink-2); margin-top: 8px; }
.next-steps { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.next-steps li { display: flex; gap: 16px; padding: 20px 22px; }
.next-steps li + li { border-top: 1px solid var(--line); }
.next-steps h4 { font-size: 17px; font-weight: 600; }
.next-steps p { color: var(--muted); font-size: 14.5px; margin-top: 4px; }
.aside-title { font: 600 26px/1.2 "Inter Tight", sans-serif; letter-spacing: -0.02em; max-width: 22ch; }
.aside-contact { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
.aside-contact a { color: var(--brand); text-decoration: none; }
@media (max-width: 960px) {
  .contact { grid-template-columns: 1fr; }
  .contact-form { padding: 56px 28px 64px; }
  .contact-aside { border-left: 0; border-top: 1px solid var(--line); padding: 56px 28px; }
}
@media (max-width: 600px) {
  .contact-form, .contact-aside { padding-left: 16px; padding-right: 16px; }
  .form .row { grid-template-columns: 1fr; }
}
.next-steps .n { flex: none; width: 32px; height: 32px; border-radius: 8px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; font-weight: 650; font-size: 14px; }
.form-done .tick::after { width: 11px; height: 6px; border-width: 0 0 2.5px 2.5px; }
