:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --surface-2: #f1efe9;
  --ink: #1b1f24;
  --ink-2: #4a5159;
  --ink-3: #7b828a;
  --line: #e3dfd6;
  --brand: #0f5c4d;
  --brand-2: #137a66;
  --brand-soft: #e3f1ec;
  --accent: #f2a93b;
  --warn-bg: #fff6e6;
  --warn-line: #f0c67a;
  --warn-ink: #7a4a05;
  --danger: #c0352b;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(20, 24, 28, .04), 0 12px 32px -12px rgba(20, 24, 28, .18);
  /* Sisteminiai šriftai – jokių užklausų į trečiųjų šalių serverius (BDAR) */
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
svg { width: 20px; height: 20px; flex-shrink: 0; }
button { font: inherit; cursor: pointer; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(246, 244, 239, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--brand); color: #fff;
}
.brand-name { font-size: 1.35rem; font-weight: 800; letter-spacing: -.02em; }
.team-login {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface);
  color: var(--ink); font-weight: 600; font-size: .92rem; text-decoration: none;
  transition: border-color .15s, color .15s;
}
.team-login svg { width: 17px; height: 17px; }
.team-login:hover { border-color: var(--brand); color: var(--brand); }

/* ---------- Layout ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: 56px;
  padding-top: 56px; padding-bottom: 64px;
  align-items: start;
}

/* ---------- Intro ---------- */
.eyebrow {
  display: inline-block; margin: 0 0 16px;
  font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--brand);
}
h1, .intro-title {
  margin: 0 0 20px;
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1.1; letter-spacing: -.03em; font-weight: 800;
}
h1 span, .intro-title span { color: var(--brand); }
.lead { margin: 0 0 36px; font-size: 1.08rem; color: var(--ink-2); max-width: 58ch; }

.section-title {
  margin: 0 0 14px; font-size: .9rem; font-weight: 700; color: var(--ink-3);
  text-transform: uppercase; letter-spacing: .06em;
}
.services {
  list-style: none; margin: 0 0 32px; padding: 0;
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px;
}
.service {
  display: flex; align-items: center; gap: 14px;
  padding: 16px; background: var(--surface);
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-weight: 600; font-size: .95rem; line-height: 1.35;
}
.service-icon {
  display: grid; place-items: center; width: 42px; height: 42px; flex-shrink: 0;
  border-radius: 10px; background: var(--brand-soft); color: var(--brand);
}
.service-icon svg { width: 22px; height: 22px; }

.safety-box {
  padding: 20px 22px;
  background: var(--warn-bg);
  border: 1px solid var(--warn-line);
  border-left: 5px solid var(--accent);
  border-radius: var(--radius-sm);
  color: var(--warn-ink);
}
.safety-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.safety-head h3 { margin: 0; font-size: 1.05rem; }
.safety-box p { margin: 0 0 10px; }
.safety-steps { margin: 0; padding-left: 20px; }
.safety-steps li { margin: 4px 0; }
.safety-box a { color: var(--danger); font-weight: 800; }

/* ---------- Chat ---------- */
.chat-card {
  position: sticky; top: 92px;
  display: flex; flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.ai-banner {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  background: var(--brand); color: #fff; font-size: .88rem;
}
.ai-banner svg { width: 18px; height: 18px; }
.chat-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-bottom: 1px solid var(--line);
}
.avatar {
  display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-2), var(--brand));
  color: #fff; font-weight: 800; font-size: 1.1rem;
}
.chat-name { margin: 0; font-weight: 800; display: flex; align-items: center; gap: 6px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fbf71; }
.chat-role { margin: 0; font-size: .82rem; color: var(--ink-3); }
.demo-badge {
  margin-left: auto; padding: 4px 10px; border-radius: 6px;
  background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line);
  font-size: .75rem; font-weight: 700; white-space: nowrap;
}

.messages {
  display: flex; flex-direction: column; gap: 10px;
  height: 380px; overflow-y: auto;
  padding: 18px; background: var(--surface-2);
  scroll-behavior: smooth;
}
.msg {
  max-width: 85%; padding: 11px 14px; border-radius: 14px;
  font-size: .95rem; white-space: pre-line; word-wrap: break-word;
  animation: pop .22s ease-out;
}
.msg.bot { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg.alert { background: #fdecea; border-color: #f3b8b2; color: #7d1d15; }
.msg.notice { align-self: center; max-width: 95%; font-size: .82rem; text-align: center; color: var(--ink-3); background: transparent; border: 1px dashed var(--line); }
.msg img, .msg video { display: block; max-width: 180px; max-height: 140px; border-radius: 8px; margin-top: 6px; }
.msg .files { display: flex; flex-wrap: wrap; gap: 6px; }

.report { background: var(--surface); border: 1px solid var(--brand); border-radius: 12px; padding: 14px 16px; max-width: 92%; align-self: flex-start; animation: pop .22s ease-out; }
.report h4 { margin: 0 0 8px; color: var(--brand); font-size: .95rem; display: flex; align-items: center; gap: 6px; }
.report dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; font-size: .88rem; }
.report dt { color: var(--ink-3); }
.report dd { margin: 0; font-weight: 600; }

.typing { display: inline-flex; gap: 4px; align-items: center; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-3); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: .2s; }
.typing i:nth-child(3) { animation-delay: .4s; }

@keyframes blink { 0%, 60%, 100% { opacity: .25; } 30% { opacity: 1; } }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px 0; }
.chips:empty { display: none; }
.chip {
  padding: 8px 14px; border-radius: 10px;
  border: 1.5px solid var(--brand); background: var(--surface); color: var(--brand);
  font-weight: 700; font-size: .88rem;
  transition: background .15s, color .15s;
}
.chip:hover, .chip:focus-visible { background: var(--brand); color: #fff; }

.attachments-preview { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px 18px 0; }
.attachments-preview[hidden] { display: none; }
.att {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 6px 4px 4px; border-radius: 8px;
  background: var(--surface-2); border: 1px solid var(--line); font-size: .8rem;
}
.att img { width: 32px; height: 32px; object-fit: cover; border-radius: 6px; }
.att button { border: 0; background: none; color: var(--ink-3); padding: 0 2px; font-size: 1rem; line-height: 1; }

.chat-input { display: flex; align-items: center; gap: 8px; padding: 12px 18px; }
.chat-input input[type="text"] {
  flex: 1; min-width: 0; height: 46px; padding: 0 14px;
  border: 1.5px solid var(--line); border-radius: 12px;
  font: inherit; font-size: .95rem; background: var(--surface); color: var(--ink);
}
.chat-input input[type="text"]:focus { outline: none; border-color: var(--brand); }
.icon-btn {
  display: grid; place-items: center; width: 42px; height: 42px;
  border: 0; border-radius: 10px; background: transparent; color: var(--ink-2);
}
.icon-btn:hover { background: var(--surface-2); color: var(--brand); }
.send-btn {
  display: grid; place-items: center; width: 46px; height: 46px;
  border: 0; border-radius: 12px; background: var(--brand); color: #fff;
}
.send-btn:hover { background: var(--brand-2); }
.send-btn svg { width: 19px; height: 19px; }

.chat-safety {
  display: flex; gap: 8px; align-items: flex-start;
  margin: 0 18px; padding: 10px 12px;
  background: var(--warn-bg); border-radius: 8px;
  font-size: .8rem; color: var(--warn-ink); line-height: 1.45;
}
.chat-safety svg { width: 16px; height: 16px; margin-top: 1px; }
.chat-safety a { color: var(--danger); font-weight: 800; }

.skip-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin: 14px 18px 18px; padding: 12px;
  border: 1.5px dashed var(--line); border-radius: 12px;
  background: transparent; color: var(--ink-2); font-weight: 700; font-size: .92rem;
  transition: border-color .15s, color .15s;
}
.skip-btn svg { width: 17px; height: 17px; }
.skip-btn:hover { border-color: var(--brand); color: var(--brand); }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* ---------- Dialog ---------- */
.contact-dialog {
  width: min(520px, calc(100% - 32px));
  border: 0; border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow); color: var(--ink);
}
.contact-dialog::backdrop { background: rgba(20, 24, 28, .5); backdrop-filter: blur(2px); }
.dialog-head { display: flex; align-items: center; justify-content: space-between; }
.dialog-head h2 { margin: 0; font-size: 1.35rem; }
.dialog-sub { margin: 4px 0 18px; color: var(--ink-2); font-size: .92rem; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; flex: 1; min-width: 0; }
.field-row { display: flex; gap: 12px; }
.field label { font-size: .85rem; font-weight: 700; }
.field input, .field textarea {
  padding: 11px 12px; border: 1.5px solid var(--line); border-radius: 10px;
  font: inherit; font-size: .95rem; background: var(--surface); color: var(--ink); resize: vertical;
}
.field input:focus, .field textarea:focus { outline: none; border-color: var(--brand); }
.field input[aria-invalid="true"] { border-color: var(--danger); }
.form-error { margin: 0 0 12px; color: var(--danger); font-size: .88rem; font-weight: 600; }
.primary-btn {
  width: 100%; padding: 13px; border: 0; border-radius: 12px;
  background: var(--brand); color: #fff; font-weight: 800; font-size: 1rem;
}
.primary-btn:hover { background: var(--brand-2); }
.contact-success { text-align: center; padding: 12px 0 4px; }
.contact-success h2 { margin: 12px 0 6px; }
.contact-success p { margin: 0 0 20px; color: var(--ink-2); }
.success-icon {
  display: inline-grid; place-items: center; width: 56px; height: 56px; border-radius: 50%;
  background: var(--brand-soft); color: var(--brand);
}
.success-icon svg { width: 28px; height: 28px; }

/* ---------- Pradžios ekranas ---------- */
.hero { display: none; }
.intake-mode .hero { display: block; }
.intake-mode .layout { display: none; }
.intake-mode .site-header .brand { display: none; }
.team-login { margin-left: auto; }

.hero {
  min-height: calc(100vh - 69px);
  padding: 48px 24px 56px;
  background:
    radial-gradient(900px 420px at 50% -80px, rgba(19, 122, 102, .16), transparent 70%),
    var(--bg);
}
.hero-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.hero-brand {
  display: inline-flex; align-items: center; gap: 14px; margin-bottom: 26px;
  view-transition-name: brand;
}
.hero-brand .brand-mark { width: 60px; height: 60px; border-radius: 17px; }
.hero-brand .brand-mark svg { width: 32px; height: 32px; }
.hero-brand .brand-name { font-size: 2.7rem; font-weight: 800; letter-spacing: -.035em; }
.site-header .brand { view-transition-name: brand; }

.hero-title {
  margin: 0 0 12px;
  font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.08; letter-spacing: -.035em;
}
.hero-sub { margin: 0 auto 28px; max-width: 60ch; font-size: 1.08rem; color: var(--ink-2); }

.hero-box {
  view-transition-name: intake;
  text-align: left;
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 2px 4px rgba(20, 24, 28, .04), 0 30px 60px -24px rgba(15, 92, 77, .35);
  transition: border-color .15s, box-shadow .15s;
}
.hero-box:focus-within { border-color: var(--brand); box-shadow: 0 0 0 5px rgba(19, 122, 102, .12), 0 30px 60px -24px rgba(15, 92, 77, .35); }
.hero-box textarea {
  display: block; width: 100%; min-height: 150px; resize: none;
  padding: 22px 24px 8px; border: 0; background: transparent; outline: none;
  font: inherit; font-size: 1.2rem; line-height: 1.5; color: var(--ink);
}
.hero-box textarea::placeholder { color: var(--ink-3); }
.hero-box .attachments-preview { padding: 4px 20px 0; }
.hero-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 14px 14px 16px; }
.hero-attach {
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
  border: 0; border-radius: 12px; background: var(--surface-2); color: var(--ink-2); font-weight: 600; font-size: .92rem;
}
.hero-attach:hover { color: var(--brand); background: var(--brand-soft); }
.hero-attach svg { width: 18px; height: 18px; }
.hero-submit {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 22px;
  border: 0; border-radius: 14px; background: var(--brand); color: #fff;
  font-weight: 800; font-size: 1.05rem;
  box-shadow: 0 8px 20px -8px rgba(15, 92, 77, .7);
  transition: transform .12s, background .15s;
}
.hero-submit:hover { background: var(--brand-2); transform: translateY(-1px); }
.hero-submit svg { width: 19px; height: 19px; }
.hero-hint { margin: 10px 0 0; color: var(--danger); font-weight: 600; font-size: .9rem; text-align: left; }
.shake { animation: shake .35s; }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }

.hero-examples { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; margin: 20px 0 0; }
.hero-examples > span { color: var(--ink-3); font-size: .88rem; font-weight: 600; }
.example {
  padding: 7px 13px; border-radius: 10px; border: 1px solid var(--line); background: var(--surface);
  color: var(--ink-2); font-size: .88rem; font-weight: 600;
}
.example:hover { border-color: var(--brand); color: var(--brand); }
.hero-perks { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; list-style: none; margin: 22px 0 0; padding: 0; color: var(--brand); font-weight: 700; font-size: .92rem; }
.hero-ai-note, .hero-safety {
  display: flex; gap: 8px; align-items: flex-start; justify-content: center; text-align: left;
  max-width: 620px; margin: 18px auto 0; font-size: .84rem; color: var(--ink-3); line-height: 1.45;
}
.hero-ai-note svg, .hero-safety svg { width: 16px; height: 16px; margin-top: 1px; }
.hero-safety { margin-top: 8px; color: var(--warn-ink); }
.hero-safety a { color: var(--danger); font-weight: 800; }
.hero-skip {
  margin-top: 22px; padding: 8px 12px; border: 0; background: none;
  color: var(--ink-2); font-weight: 700; font-size: .9rem; text-decoration: underline; text-underline-offset: 3px;
}
.hero-skip:hover { color: var(--brand); }

/* Perėjimas: didelis langas susitraukia į pokalbio langą */
.chat-card { view-transition-name: intake; }
::view-transition-group(intake),
::view-transition-group(brand) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2, .8, .2, 1); }
::view-transition-old(intake),
::view-transition-new(intake) { height: 100%; width: 100%; object-fit: cover; object-position: top; }
.chat-card.enter { animation: shrinkIn .5s cubic-bezier(.2, .8, .2, 1); }
@keyframes shrinkIn { from { opacity: 0; transform: scale(1.12); } to { opacity: 1; transform: none; } }

/* Ataskaitos pildymo juosta */
.progress { padding: 10px 18px 12px; border-bottom: 1px solid var(--line); }
.progress-label { display: flex; justify-content: space-between; font-size: .8rem; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.progress-label span:last-child { color: var(--brand); }
.progress progress {
  display: block; width: 100%; height: 8px; border: 0; border-radius: 99px; overflow: hidden;
  -webkit-appearance: none; appearance: none; background: var(--surface-2);
}
.progress progress::-webkit-progress-bar { background: var(--surface-2); border-radius: 99px; }
.progress progress::-webkit-progress-value { background: linear-gradient(90deg, var(--brand-2), var(--brand)); border-radius: 99px; transition: width .5s ease; }
.progress progress::-moz-progress-bar { background: var(--brand); border-radius: 99px; }
.progress.complete .progress-label span:last-child::after { content: " ✓"; }
.progress-name { display: inline-flex; align-items: center; gap: 6px; }
.progress-name svg { width: 14px; height: 14px; color: var(--brand); }

.legal-summary {
  margin: 20px 0; padding: 18px 22px; border-radius: var(--radius-sm);
  background: var(--brand-soft); border: 1px solid var(--line);
}
.legal-summary h2 { margin: 0 0 8px; font-size: 1.1rem; }
.legal-summary ul { margin: 0; }
.legal-form {
  margin: 12px 0 20px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: var(--surface); border: 1px dashed var(--ink-3);
}
.legal-form p { margin: 0 0 10px; }
.legal sup { font-size: .7em; }

/* ---------- 404 ---------- */
.not-found { min-height: calc(100vh - 69px - 120px); }
.not-found-btn { display: inline-block; width: auto; padding: 13px 22px; text-decoration: none; text-align: center; }
.not-found-links { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; }

/* ---------- Privatumas pokalbyje ---------- */
.chat-head .icon-btn { width: 36px; height: 36px; margin-left: 4px; }
.chat-head .icon-btn svg { width: 18px; height: 18px; }
.chat-head .demo-badge + .icon-btn { margin-left: 8px; }
.chat-privacy { margin: 8px 18px 0; font-size: .76rem; color: var(--ink-3); line-height: 1.45; }

/* ---------- Formos papildai ---------- */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.check { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 12px; font-size: .85rem; color: var(--ink-2); line-height: 1.45; }
.check input { width: 18px; height: 18px; margin: 1px 0 0; flex-shrink: 0; accent-color: var(--brand); }
.link-btn { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; font-size: inherit; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--ink-3); font-size: .85rem; }
.footer-inner { display: grid; grid-template-columns: 1fr auto; gap: 16px 32px; }
.footer-company { line-height: 1.7; }
.footer-company strong { color: var(--ink); }
.footer-company a, .footer-links a, .footer-links .link-btn { color: var(--ink-2); }
.footer-links { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.footer-copy { grid-column: 1 / -1; margin: 0; }
.ph { background: #fff1b8; color: #6b4e00; padding: 0 3px; border-radius: 3px; }

/* ---------- Slapukų juosta ---------- */
.consent {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 50;
  max-width: 560px; margin-left: auto;
  max-height: calc(100vh - 32px); overflow-y: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 20px 50px -12px rgba(20, 24, 28, .35);
}
.consent[hidden] { display: none; }
.consent-inner { padding: 18px 20px; }
.consent h2 { margin: 0 0 6px; font-size: 1.05rem; }
.consent p { margin: 0 0 12px; font-size: .88rem; color: var(--ink-2); }
.consent-settings { padding: 8px 0 4px; border-top: 1px solid var(--line); }
.consent-settings[hidden] { display: none; }
.consent-actions { display: flex; flex-wrap: wrap; gap: 8px; justify-content: flex-end; }
.c-btn {
  padding: 9px 14px; border-radius: 10px; font-weight: 700; font-size: .88rem;
  border: 1.5px solid var(--brand); background: var(--surface); color: var(--brand);
}
.c-btn[hidden] { display: none; }
.c-btn:hover { background: var(--brand-soft); }
.c-primary { background: var(--brand); color: #fff; }
.c-primary:hover { background: var(--brand-2); }

/* ---------- Teisiniai puslapiai ---------- */
.legal { max-width: 780px; padding-top: 40px; padding-bottom: 64px; }
.legal h1 { font-size: clamp(1.8rem, 3.5vw, 2.4rem); }
.legal h2 { margin: 36px 0 10px; font-size: 1.25rem; letter-spacing: -.01em; }
.legal h3 { margin: 22px 0 6px; font-size: 1.02rem; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul, .legal ol { padding-left: 22px; }
.legal li { margin: 4px 0; }
.legal-meta { color: var(--ink-3); font-size: .9rem; margin-top: -8px; }
.legal-note {
  padding: 14px 16px; margin: 20px 0; border-radius: var(--radius-sm);
  background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink); font-size: .9rem;
}
.legal-toc { padding: 16px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.legal-toc ol { margin: 0; }
.table-wrap { overflow-x: auto; margin: 12px 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: .88rem; background: var(--surface); }
.legal th, .legal td { text-align: left; vertical-align: top; padding: 10px 12px; border: 1px solid var(--line); }
.legal th { background: var(--surface-2); color: var(--ink); }
.back-link { display: inline-flex; gap: 6px; align-items: center; margin-bottom: 20px; font-weight: 600; text-decoration: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .layout { grid-template-columns: 1fr; gap: 36px; padding-top: 36px; }
  .chat-card { position: static; order: -1; }
}
@media (max-width: 600px) {
  .container { padding: 0 16px; }
  .header-inner { height: 60px; }
  .brand-name { font-size: 1.15rem; }
  .team-login { padding: 8px 12px; font-size: .82rem; }
  .services { grid-template-columns: 1fr; }
  .messages { height: 340px; padding: 14px; }
  .chips, .attachments-preview { padding-left: 14px; padding-right: 14px; }
  .chat-input { padding: 12px 14px; }
  .chat-safety { margin: 0 14px; }
  .skip-btn { margin: 14px; }
  .demo-badge { display: none; }
  .hero { padding: 28px 16px 40px; }
  .hero-brand { margin-bottom: 18px; gap: 10px; }
  .hero-brand .brand-mark { width: 46px; height: 46px; border-radius: 13px; }
  .hero-brand .brand-name { font-size: 2rem; }
  .hero-sub { font-size: .98rem; margin-bottom: 20px; }
  .hero-box textarea { font-size: 1.05rem; min-height: 130px; padding: 18px 18px 6px; }
  .hero-actions { padding: 10px; }
  .hero-attach span { display: none; }
  .hero-submit { padding: 13px 18px; font-size: 1rem; }
  .hero-examples > span { width: 100%; }
  .progress { padding: 10px 14px 12px; }
  .chat-head .icon-btn { margin-left: auto; }
  .chat-privacy { margin: 8px 14px 0; }
  .footer-inner { grid-template-columns: 1fr; }
  .consent { left: 8px; right: 8px; bottom: 8px; }
  .consent-actions .c-btn { flex: 1 1 auto; }
  .field-row { flex-direction: column; gap: 0; }
  .msg { max-width: 92%; }
}
@media (max-width: 380px) {
  .team-login span, .team-login { font-size: .76rem; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
