:root {
  --ink: #0D1B22;
  --ink-2: #13262F;
  --ink-line: #23424D;
  --ink-muted: #B9C8CA;
  --mist: #F3F5F4;
  --white: #FFFFFF;
  --sun: #FF6B2C;
  --sun-tint: #FFE7DB;
  --lagoon: #0E6E6A;
  --muted: #43555C;
  --line: #DCE3E1;
  --field: #A9B8B5;
  --success: #0E6E6A;
  --error: #B42318;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --sans: "Instrument Sans", "Helvetica Neue", "Segoe UI", sans-serif;
  --mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
  --radius: 22px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; }
h1, h2, h3 { margin: 0; }
p { margin: 0; }
a { color: var(--lagoon); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--lagoon); outline-offset: 3px; border-radius: 6px; }
[id] { scroll-margin-top: 24px; }

.wrap { max-width: 1200px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.muted { color: var(--muted); }
.small { font-size: 15px; }

.skip {
  position: absolute; left: 16px; top: -100px; z-index: 10;
  background: var(--ink); color: var(--mist); padding: 12px 16px; border-radius: 10px; text-decoration: none;
}
.skip:focus { top: 16px; color: var(--mist); }

/* Mark */
.mark polyline { fill: none; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.mark circle { fill: var(--sun); }
.mark--light polyline { stroke: var(--ink); }
.mark--light rect { fill: var(--mist); }
.mark--dark polyline { stroke: var(--mist); }
.mark--dark rect { fill: var(--ink); }

/* Header */
.header-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; }
.wordmark { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.02em; line-height: 1; }
.main-nav { display: flex; flex-wrap: wrap; gap: 4px 28px; font-size: 15px; font-weight: 500; }
.main-nav a { color: var(--ink); text-decoration: none; padding: 10px 0; }
.main-nav a:hover { color: var(--lagoon); }
.header-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.langs { display: flex; gap: 4px; }
.lang {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 44px; height: 44px; padding: 0 10px; border-radius: 999px;
  border: 1px solid var(--field); color: var(--ink); text-decoration: none;
  font: 600 13px var(--mono);
}
.lang:hover { border-color: var(--ink); color: var(--ink); }
.lang[aria-current="true"] { background: var(--ink); border-color: var(--ink); color: var(--mist); }
@media (max-width: 860px) { .main-nav { display: none; } }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 54px; padding: 0 28px; border-radius: 999px;
  font: 600 17px var(--sans); text-decoration: none; border: 1.5px solid transparent; cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--sm { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn--ink { background: var(--ink); color: var(--mist); }
.btn--ink:hover { color: var(--mist); background: #1B323C; }
.btn--outline { border-color: var(--ink); color: var(--ink); }
.btn--outline:hover { background: var(--white); color: var(--ink); }
.btn--sun { background: var(--sun); color: var(--ink); }
.btn--sun:hover { background: #FF8248; color: var(--ink); }
.btn[disabled] { opacity: .6; cursor: progress; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Type */
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font: 600 13px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--lagoon);
}
.eyebrow--sm { font-size: 12px; }
.eyebrow--sun { color: var(--sun); }
.dot { width: 10px; height: 10px; border-radius: 50%; background: var(--sun); flex: none; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 76px); line-height: 1.02; letter-spacing: -0.035em; }
h2 { font-family: var(--display); font-weight: 700; font-size: clamp(32px, 4vw, 52px); line-height: 1.05; letter-spacing: -0.03em; }
.h2-sm { font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.025em; margin-bottom: 32px; }
h3 { font-family: var(--display); font-weight: 700; font-size: 26px; line-height: 1.15; letter-spacing: -0.02em; }
.lead { font-size: 19px; line-height: 1.55; color: var(--muted); max-width: 580px; }
.lead--sm { font-size: 18px; max-width: 680px; }

/* Hero */
.hero { display: flex; flex-wrap: wrap; align-items: center; gap: 56px; padding-top: 56px; padding-bottom: 104px; }
.hero-copy { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.hero-copy h1 { margin-top: -4px; }
.hero-copy .btn-row { margin-top: 12px; }

.chat {
  margin: 0; flex: 1 1 380px; max-width: 470px; min-width: 0;
  background: var(--white); border: 1px solid var(--line); border-radius: 24px; overflow: hidden;
  box-shadow: 0 30px 60px -36px rgba(13, 27, 34, .45);
}
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid #E6ECEA; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--ink); display: flex; align-items: center; justify-content: center; flex: none; }
.chat-id { display: flex; flex-direction: column; }
.chat-name { font-weight: 600; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--lagoon); }
.online { width: 8px; height: 8px; border-radius: 50%; background: #13A37A; flex: none; }
.chat-body { display: flex; flex-direction: column; gap: 12px; padding: 22px 20px; background: #EEF3F1; }
.bubble { max-width: 82%; padding: 12px 16px; font-size: 15px; }
.bubble--out { align-self: flex-end; background: var(--ink); color: var(--mist); border-radius: 18px 18px 4px 18px; }
.bubble--in { align-self: flex-start; background: var(--white); border: 1px solid var(--line); border-radius: 18px 18px 18px 4px; }
.chat-caption { padding: 14px 20px; font: 500 12px var(--mono); color: var(--muted); letter-spacing: .02em; }

/* Sections */
.section { padding-top: 104px; padding-bottom: 104px; }
#industries { padding-top: 24px; }
.section--tight { padding-top: 24px; }
.section--last { padding-top: 0; padding-bottom: 112px; }
.section-head { display: flex; flex-direction: column; gap: 16px; max-width: 760px; margin-bottom: 48px; }
.grid { display: grid; gap: 20px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid--ai { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 28px; }
@media (max-width: 400px) {
  .grid--3, .grid--ai { grid-template-columns: 1fr; }
}

.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.ind-card { display: flex; flex-direction: column; gap: 14px; }
.ind-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--sun-tint); display: flex; align-items: center; justify-content: center; }
.ind-icon svg { fill: none; stroke: var(--ink); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.checks { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check { flex: none; margin-top: 3px; fill: none; stroke: var(--lagoon); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }

.custom-strip {
  margin-top: 20px; background: var(--ink); color: var(--mist); border-radius: var(--radius); padding: 32px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
}
.custom-strip > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.custom-strip p { color: var(--ink-muted); }

/* Dark AI section */
.dark { background: var(--ink); color: var(--mist); }
.dark .lead { color: var(--ink-muted); }
.ai-card { background: var(--ink-2); border: 1px solid var(--ink-line); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 12px; }
.ai-card h3 { font-size: 23px; line-height: 1.2; letter-spacing: -0.015em; }
.ai-card > p { color: var(--ink-muted); font-size: 15.5px; }
.ai-num { font: 600 14px var(--mono); color: var(--sun); }
.ai-ex { margin-top: auto; padding-top: 16px; border-top: 1px solid var(--ink-line); display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: #EAF0EE; }
.ai-label { font: 600 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }

/* Process */
.steps { list-style: none; margin: 0; padding: 0; }
.step { display: flex; flex-direction: column; gap: 14px; }
.step-top { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.step-num { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--mist); display: flex; align-items: center; justify-content: center; font: 600 15px var(--mono); flex: none; }
.step-bar { flex: 1; height: 3px; border-radius: 2px; background: var(--sun); }

.why { border-top: 2px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.why h3 { font-family: var(--sans); font-size: 20px; letter-spacing: 0; }

/* Contact */
.contact-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 28px;
  padding: clamp(24px, 4vw, 56px); display: flex; flex-wrap: wrap; gap: 48px;
}
.contact-copy { flex: 1 1 340px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-lines { margin-top: auto; font-style: normal; display: flex; flex-direction: column; gap: 6px; }
.form { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid var(--field); border-radius: 12px;
  font: 400 16px var(--sans); color: var(--ink); background: var(--white);
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(14, 110, 106, .35); outline-offset: 0; border-color: var(--lagoon); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--error); }
.turnstile-box { min-height: 65px; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.status { font-weight: 600; }
.status:empty { display: none; }
.status[data-kind="success"] { color: var(--success); }
.status[data-kind="error"] { color: var(--error); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* Footer */
.site-footer { background: var(--ink); color: var(--mist); }
.footer-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; padding-top: 48px; padding-bottom: 48px; }
.footer-brand { display: flex; align-items: center; gap: 14px; }
.footer-brand > div { display: flex; flex-direction: column; gap: 4px; }
.footer-brand .wordmark { font-size: 24px; }
.footer-tag, .footer-meta { font-size: 14px; color: var(--ink-muted); }
.footer-meta { display: flex; flex-direction: column; gap: 4px; }

/* 404 */
.notfound { padding-top: 96px; padding-bottom: 140px; display: flex; flex-direction: column; gap: 24px; }

@media (max-width: 600px) {
  .hero { padding-top: 32px; padding-bottom: 72px; gap: 40px; }
  .section { padding-top: 72px; padding-bottom: 72px; }
  .card, .custom-strip { padding: 24px; }
  .lead { font-size: 17px; }
  .btn { width: 100%; }
  .btn--sm { width: auto; }
}
