:root {
  --bg: #f7f7f4;
  --surface: #ffffff;
  --surface-soft: #f0f1ec;
  --ink: #171a19;
  --muted: #65706b;
  --line: #dfe3df;
  --brand: #5956e9;
  --brand-dark: #403dc4;
  --accent: #d7f56d;
  --success: #15805f;
  --warning: #a76408;
  --danger: #b23a43;
  --shadow: 0 18px 55px rgba(31, 42, 38, 0.10);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; }

.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.container-narrow { width: min(760px, calc(100% - 40px)); margin: 0 auto; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(215,245,109,.28); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.section { padding: 92px 0; }
.section-tight { padding: 56px 0; }
.section-heading { max-width: 720px; margin-bottom: 42px; }
.section-heading h2 { font-size: clamp(34px, 5vw, 54px); line-height: 1.04; letter-spacing: -.045em; margin: 14px 0; }
.section-heading p { color: var(--muted); font-size: 18px; margin: 0; }

.site-nav { height: 76px; display: flex; align-items: center; border-bottom: 1px solid rgba(23,26,25,.08); background: rgba(247,247,244,.88); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 30; }
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 19px; font-weight: 850; letter-spacing: -.03em; }
.brand-mark { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 11px; color: white; background: var(--ink); font-size: 15px; box-shadow: inset 0 -3px 0 rgba(255,255,255,.1); }
.nav-links { display: flex; align-items: center; gap: 28px; color: #414946; font-size: 14px; font-weight: 650; }
.nav-actions { display: flex; align-items: center; gap: 10px; }

.btn { display: inline-flex; min-height: 44px; align-items: center; justify-content: center; gap: 9px; padding: 10px 17px; border: 1px solid transparent; border-radius: 12px; font-weight: 750; font-size: 14px; transition: .18s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand); color: white; box-shadow: 0 8px 22px rgba(89,86,233,.22); }
.btn-primary:hover { background: var(--brand-dark); }
.btn-dark { background: var(--ink); color: white; }
.btn-secondary { background: var(--surface); border-color: var(--line); color: var(--ink); }
.btn-secondary:hover { border-color: #b9c0bc; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-danger { background: #fff2f2; border-color: #f2c7ca; color: var(--danger); }
.btn-sm { min-height: 36px; padding: 7px 12px; border-radius: 10px; font-size: 12px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .55; pointer-events: none; }

.hero { padding: 76px 0 86px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 70px; align-items: center; }
.hero h1 { font-size: clamp(52px, 7vw, 82px); line-height: .96; letter-spacing: -.065em; margin: 20px 0 24px; max-width: 760px; }
.hero h1 em { font-style: normal; color: var(--brand); }
.hero-copy { color: var(--muted); font-size: 19px; max-width: 610px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 30px 0 22px; }
.hero-proof { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; color: var(--muted); font-size: 13px; }
.hero-proof span { display: inline-flex; align-items: center; gap: 6px; }
.hero-proof span::before { content: "✓"; color: var(--success); font-weight: 900; }

.product-shot { position: relative; background: #252726; border-radius: 28px; padding: 12px; box-shadow: 0 40px 90px rgba(28,31,30,.24); transform: rotate(1.2deg); }
.product-shot::before { content: ""; position: absolute; inset: -40px -50px auto auto; width: 180px; height: 180px; background: var(--accent); border-radius: 50%; filter: blur(2px); z-index: -1; opacity: .75; }
.shot-window { background: #fbfbf9; border-radius: 19px; overflow: hidden; min-height: 510px; }
.shot-bar { display: flex; align-items: center; gap: 7px; height: 44px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.shot-dot { width: 8px; height: 8px; border-radius: 50%; background: #c9ceca; }
.shot-body { padding: 26px; }
.mini-title { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; }
.mini-title strong { font-size: 15px; }
.knowledge-item { display: flex; gap: 12px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: white; margin-bottom: 10px; }
.file-icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 10px; background: #eef0ff; color: var(--brand); font-weight: 850; font-size: 11px; flex: 0 0 auto; }
.knowledge-item p { margin: 2px 0 0; color: var(--muted); font-size: 12px; }
.mini-ready { margin-left: auto; color: var(--success); font-size: 11px; font-weight: 800; }
.chat-preview { margin-top: 20px; border-radius: 15px; background: #eef0ed; padding: 15px; }
.bubble { max-width: 88%; padding: 11px 13px; border-radius: 14px; font-size: 12px; margin-bottom: 9px; }
.bubble-user { margin-left: auto; background: var(--brand); color: white; border-bottom-right-radius: 4px; }
.bubble-bot { background: white; border-bottom-left-radius: 4px; }
.source-chip { display: inline-flex; padding: 5px 8px; background: #eff1ff; color: var(--brand-dark); border-radius: 7px; font-size: 10px; font-weight: 750; }

.logo-strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 25px 0; }
.logo-strip-inner { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; color: var(--muted); font-size: 13px; font-weight: 700; }
.logo-strip strong { color: var(--ink); }

.steps-grid, .feature-grid, .pricing-grid, .stats-grid { display: grid; gap: 18px; }
.steps-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.step-card, .feature-card, .pricing-card, .panel, .stat-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step-card { padding: 28px; position: relative; overflow: hidden; }
.step-number { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; color: white; background: var(--ink); font-weight: 850; margin-bottom: 44px; }
.step-card h3, .feature-card h3 { font-size: 20px; letter-spacing: -.025em; margin: 0 0 9px; }
.step-card p, .feature-card p { color: var(--muted); margin: 0; font-size: 14px; }
.feature-card { padding: 26px; min-height: 210px; }
.feature-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: var(--surface-soft); color: var(--brand); font-weight: 900; margin-bottom: 32px; }
.feature-card-accent { background: var(--ink); color: white; }
.feature-card-accent p { color: #bdc4c0; }
.feature-card-accent .feature-icon { background: var(--accent); color: var(--ink); }

.knowledge-gap-demo { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; padding: 44px; background: var(--ink); color: white; border-radius: 28px; }
.knowledge-gap-demo h2 { font-size: clamp(34px, 5vw, 50px); line-height: 1.04; letter-spacing: -.045em; margin: 14px 0 18px; }
.knowledge-gap-demo p { color: #bdc4c0; }
.gap-list { background: #f7f7f4; color: var(--ink); border-radius: 18px; padding: 13px; }
.gap-item { background: white; border: 1px solid var(--line); border-radius: 12px; padding: 14px; margin-bottom: 8px; }
.gap-item:last-child { margin-bottom: 0; }
.gap-item strong { display: block; font-size: 13px; }
.gap-item span { color: var(--muted); font-size: 11px; }

.pricing-grid { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.pricing-card { padding: 28px; display: flex; flex-direction: column; position: relative; }
.pricing-card.featured { border: 2px solid var(--brand); box-shadow: 0 20px 50px rgba(89,86,233,.13); }
.popular-tag { position: absolute; right: 18px; top: 18px; padding: 5px 9px; background: var(--accent); border-radius: 99px; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.price { font-size: 44px; font-weight: 850; letter-spacing: -.05em; margin: 18px 0 2px; }
.price small { color: var(--muted); font-size: 14px; font-weight: 600; letter-spacing: 0; }
.pricing-card ul { list-style: none; padding: 0; margin: 25px 0 28px; flex: 1; }
.pricing-card li { padding: 7px 0; font-size: 14px; }
.pricing-card li::before { content: "✓"; color: var(--success); font-weight: 900; margin-right: 9px; }

.faq { max-width: 820px; }
.faq details { background: white; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 10px; padding: 18px 20px; }
.faq summary { cursor: pointer; font-weight: 750; }
.faq p { color: var(--muted); margin: 12px 0 0; }
.final-cta { background: var(--brand); color: white; border-radius: 30px; padding: 58px; display: flex; align-items: center; justify-content: space-between; gap: 30px; overflow: hidden; position: relative; }
.final-cta h2 { font-size: clamp(34px, 5vw, 56px); line-height: 1; letter-spacing: -.05em; margin: 0; max-width: 680px; }
.final-cta .btn { background: white; color: var(--ink); flex: 0 0 auto; }
.footer { padding: 42px 0; border-top: 1px solid var(--line); margin-top: 70px; }
.footer-inner { display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: 13px; }

.auth-page { min-height: calc(100vh - 76px); display: grid; place-items: center; padding: 50px 20px; }
.auth-card { width: min(460px, 100%); background: white; border: 1px solid var(--line); border-radius: 24px; padding: 34px; box-shadow: var(--shadow); }
.auth-card h1 { font-size: 32px; letter-spacing: -.04em; margin: 10px 0 8px; }
.auth-card > p { color: var(--muted); margin: 0 0 24px; }
.form-group, form > p { margin: 0 0 17px; }
label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 750; }
input:not([type="checkbox"]):not([type="color"]), textarea, select {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cfd5d1;
  border-radius: 11px;
  padding: 10px 12px;
  background: white;
  color: var(--ink);
  outline: none;
  transition: .15s ease;
}
textarea { resize: vertical; }
select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2365706b' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 14px 8px;
  cursor: pointer;
  white-space: nowrap;
  text-overflow: ellipsis;
}
select:hover { border-color: #adb6b1; }
select:disabled { cursor: not-allowed; color: var(--muted); background-color: #f4f5f2; }
input:focus, textarea:focus, select:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(89,86,233,.12); }
input[type="color"] { width: 56px; height: 44px; border: 0; padding: 0; background: transparent; }
.helptext { display: block; color: var(--muted); font-size: 11px; margin-top: 5px; }
.errorlist { list-style: none; padding: 0; color: var(--danger); font-size: 12px; margin: -8px 0 12px; }
.form-footer { text-align: center; color: var(--muted); font-size: 13px; margin-top: 18px; }
.form-footer a { color: var(--brand); font-weight: 750; }

.flash-stack { position: fixed; top: 88px; right: 20px; z-index: 100; display: grid; gap: 8px; width: min(380px, calc(100% - 40px)); }
.flash { padding: 13px 15px; border-radius: 12px; background: var(--ink); color: white; box-shadow: var(--shadow); font-size: 13px; }
.flash.warning { background: #704400; }
.flash.error { background: var(--danger); }

.app-body { background: #f4f5f2; }
.app-shell { display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 100vh; }
.sidebar { position: sticky; top: 0; height: 100vh; background: #171a19; color: white; padding: 22px 16px; display: flex; flex-direction: column; }
.sidebar .brand { padding: 0 8px 22px; }
.sidebar .brand-mark { background: var(--accent); color: var(--ink); }
.side-label { color: #89928e; font-size: 10px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; padding: 17px 10px 7px; }
.side-nav { display: grid; gap: 4px; }
.side-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 10px; color: #c6cdca; font-size: 13px; font-weight: 650; }
.side-nav a:hover, .side-nav a.active { background: #2a2e2c; color: white; }
.side-icon { width: 18px; color: #88928d; text-align: center; }
.assistant-list { display: grid; gap: 4px; min-height: 0; max-height: min(360px, 44vh); overflow-y: auto; padding-right: 2px; scrollbar-width: thin; scrollbar-color: #3d4440 transparent; }
.assistant-item, .assistant-new { display: flex; align-items: center; gap: 9px; min-width: 0; padding: 8px 9px; border-radius: 10px; color: #b9c1bd; font-size: 12px; font-weight: 700; }
.assistant-item:hover, .assistant-item.active, .assistant-new:hover, .assistant-new.active { background: #2a2e2c; color: white; }
.assistant-avatar { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 auto; border-radius: 9px; background: var(--assistant-color); color: white; font-size: 10px; font-weight: 900; }
.assistant-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.assistant-state { width: 6px; height: 6px; flex: 0 0 auto; margin-left: auto; border-radius: 50%; background: #68716d; }
.assistant-state.published { background: #42bf86; box-shadow: 0 0 0 3px rgba(66,191,134,.1); }
.assistant-new { margin-top: 3px; border: 1px dashed #3c423f; color: #aab2ae; }
.assistant-new span { display: grid; place-items: center; width: 28px; font-size: 17px; font-weight: 500; }
.assistant-empty { padding: 8px 10px; color: #737c78; font-size: 11px; }
.side-footer { margin-top: auto; border-top: 1px solid #303432; padding: 16px 8px 0; }
.side-user { font-size: 12px; color: #aeb6b2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.side-footer form { margin-top: 5px; }
.side-logout { border: 0; padding: 0; background: transparent; color: #89928e; cursor: pointer; font: inherit; font-size: 11px; font-weight: 700; }
.side-logout:hover { color: white; }
.app-main { min-width: 0; }
.app-topbar { height: 70px; display: flex; align-items: center; justify-content: space-between; padding: 0 30px; background: rgba(255,255,255,.8); border-bottom: 1px solid var(--line); backdrop-filter: blur(16px); position: sticky; top: 0; z-index: 20; }
.topbar-context { display: grid; line-height: 1.25; }
.topbar-context strong { font-size: 13px; }
.topbar-context small { color: var(--muted); font-size: 10px; margin-top: 2px; }
.app-content { padding: 32px; width: min(1200px, 100%); margin: 0 auto; }
.page-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 22px; margin-bottom: 28px; }
.page-heading h1 { font-size: 34px; line-height: 1.1; letter-spacing: -.045em; margin: 0 0 7px; }
.page-heading p { color: var(--muted); margin: 0; }
.breadcrumb { color: var(--muted); font-size: 12px; margin-bottom: 8px; }
.breadcrumb a:hover { color: var(--brand); }
.plan-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; background: white; font-size: 11px; font-weight: 800; }
.plan-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }

.stats-grid { grid-template-columns: repeat(4, 1fr); margin-bottom: 22px; }
.stat-card { display: flex; min-height: 150px; flex-direction: column; padding: 20px; }
.stat-label { color: var(--muted); font-size: 12px; font-weight: 650; }
.stat-value { display: block; font-size: 30px; font-weight: 850; letter-spacing: -.04em; margin-top: 5px; }
.stat-help { max-width: 210px; margin: auto 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.panel { padding: 24px; }
.panel + .panel { margin-top: 18px; }
.panel-header { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.panel-header h2 { margin: 0; font-size: 19px; letter-spacing: -.025em; }
.empty-state { padding: 54px 24px; text-align: center; border: 1px dashed #c5cbc7; border-radius: 15px; background: #fafbf8; }
.empty-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 15px; margin: 0 auto 15px; background: #edeefb; color: var(--brand); font-weight: 900; }
.empty-state h3 { margin: 0 0 6px; }
.empty-state p { color: var(--muted); max-width: 420px; margin: 0 auto 20px; }
.bot-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.bot-card { display: block; border: 1px solid var(--line); border-radius: 15px; padding: 18px; background: white; transition: .18s ease; }
.bot-card:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(31,42,38,.08); border-color: #c2c7c4; }
.bot-card-top { display: flex; justify-content: space-between; gap: 15px; }
.bot-avatar { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 13px; color: white; font-weight: 850; }
.bot-card h3 { margin: 13px 0 4px; }
.bot-meta { color: var(--muted); font-size: 12px; }

.bot-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 2px 2px 18px; margin: -2px -2px 8px; scrollbar-width: thin; scrollbar-color: #c8ceca transparent; }
.bot-tabs a { display: grid; flex: 1 0 142px; min-width: 0; gap: 2px; white-space: nowrap; padding: 10px 12px; border: 1px solid transparent; border-radius: 11px; color: var(--muted); transition: .16s ease; }
.bot-tabs a span { font-size: 11px; font-weight: 800; }
.bot-tabs a small { overflow: hidden; color: #89928e; font-size: 9px; font-weight: 600; text-overflow: ellipsis; }
.bot-tabs a:hover { border-color: #e1e4e1; background: rgba(255,255,255,.65); color: var(--ink); }
.bot-tabs a.active { border-color: var(--line); background: white; color: var(--ink); box-shadow: 0 3px 12px rgba(31,42,38,.06); }
.bot-tabs a.active small { color: var(--brand-dark); }

.upload-zone { border: 1.5px dashed #bbc3be; border-radius: 16px; background: #fafbf8; padding: 22px; text-align: center; }
.file-input-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }
.upload-picker { display: flex; align-items: center; justify-content: center; gap: 13px; max-width: 520px; min-height: 110px; margin: 0 auto; border: 1px solid transparent; border-radius: 13px; cursor: pointer; transition: .18s ease; }
.upload-picker:hover, .upload-picker:focus-visible, .upload-picker.dragging { border-color: #c5c2ff; background: #f1f1ff; outline: none; box-shadow: 0 0 0 3px rgba(89,86,233,.1); }
.upload-picker > span:last-child { display: grid; text-align: left; }
.upload-picker strong { color: var(--brand); font-size: 15px; }
.upload-picker small { color: var(--muted); font-size: 12px; margin-top: 3px; }
.upload-icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 13px; background: #e9eaff; color: var(--brand); font-size: 22px; font-weight: 900; }
.upload-selection { min-height: 20px; margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.upload-selection.selected { color: var(--ink); font-weight: 750; }
.upload-zone > p:last-child { margin: 13px auto 0; max-width: 590px; }
.document-list { display: grid; gap: 10px; }
.document-row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 14px; border: 1px solid var(--line); border-radius: 13px; padding: 13px; background: white; }
.document-info { display: flex; gap: 11px; min-width: 0; align-items: center; }
.document-name { font-size: 13px; font-weight: 750; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.document-meta { color: var(--muted); font-size: 11px; }
.status { display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 99px; background: #eef1ef; color: #5e6964; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.status-ready { color: var(--success); background: #e8f6ef; }
.status-failed { color: var(--danger); background: #fff0f1; }
.status-processing, .status-queued { color: var(--warning); background: #fff6e7; }
.status-processing::before { animation: pulse 1s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: .25; transform: scale(.75); } }
.row-actions { display: flex; gap: 6px; }
.inline-form { display: inline; margin: 0; }

.chat-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: stretch; gap: 18px; min-height: 0; }
.chat-card { display: flex; flex-direction: column; height: clamp(440px, calc(100vh - 290px), 650px); min-height: 0; background: white; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.chat-card-disabled { height: clamp(390px, calc(100vh - 380px), 520px); }
.chat-card-disabled .chat-messages { background: #f4f5f2; }
.chat-card-disabled .chat-input-wrap { background: #f4f5f2; }
.chat-card-disabled textarea:disabled { background: transparent; color: #8b938f; cursor: not-allowed; }
.chat-card-disabled .chat-send:disabled { background: #bfc5c1; cursor: not-allowed; }
.playground-notice { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; margin: -10px 0 18px; padding: 13px 15px; border: 1px solid #e8d5ae; border-radius: 13px; background: #fff8ea; }
.playground-notice-icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: #f6e6c5; color: #8d5b00; font-weight: 900; }
.playground-notice strong { display: block; font-size: 13px; }
.playground-notice p { margin: 3px 0 0; color: var(--muted); font-size: 11px; }
.readiness-steps { display: grid; gap: 11px; padding-left: 20px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.chat-header { display: flex; align-items: center; gap: 11px; padding: 15px 17px; border-bottom: 1px solid var(--line); }
.chat-header .bot-avatar { display: grid; width: 36px; height: 36px; border-radius: 11px; color: white; font-size: 12px; }
.chat-header strong { display: block; font-size: 13px; }
.chat-header > div > span { display: block; color: var(--success); font-size: 10px; }
.chat-messages { flex: 1; padding: 20px; overflow-y: auto; background: #fafbf8; }
.chat-message { max-width: 84%; margin-bottom: 13px; }
.chat-message.user { margin-left: auto; }
.chat-bubble { padding: 12px 14px; border-radius: 15px; background: white; border: 1px solid var(--line); font-size: 13px; white-space: pre-wrap; }
.chat-message.user .chat-bubble { background: var(--brand); border-color: var(--brand); color: white; border-bottom-right-radius: 5px; }
.chat-message.assistant .chat-bubble { border-bottom-left-radius: 5px; }
.chat-bubble.rich-text { white-space: normal; line-height: 1.55; }
.chat-bubble.rich-text > :first-child { margin-top: 0; }
.chat-bubble.rich-text > :last-child { margin-bottom: 0; }
.chat-bubble.rich-text p { margin: 0 0 9px; }
.chat-bubble.rich-text h4 { margin: 14px 0 6px; font-size: 13px; }
.chat-bubble.rich-text ul, .chat-bubble.rich-text ol { margin: 7px 0 10px; padding-left: 20px; }
.chat-bubble.rich-text li > ul, .chat-bubble.rich-text li > ol { margin: 5px 0 7px; }
.chat-bubble.rich-text li + li { margin-top: 4px; }
.chat-bubble.rich-text code { padding: 2px 5px; border-radius: 5px; background: #eef0ed; font: 11px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
.inline-citation { color: var(--brand-dark); font-weight: 800; white-space: nowrap; }
.chat-source-disclosure { margin-top: 8px; font-size: 11px; }
.chat-source-disclosure summary { display: inline-flex; align-items: center; gap: 6px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: white; color: var(--muted); cursor: pointer; font-weight: 750; list-style: none; }
.chat-source-disclosure summary::-webkit-details-marker { display: none; }
.chat-source-disclosure summary::before { content: "›"; color: var(--brand); font-size: 16px; line-height: .7; transition: transform .15s ease; }
.chat-source-disclosure[open] summary::before { transform: rotate(90deg); }
.chat-source-disclosure summary:hover { border-color: #c5cbc7; color: var(--ink); }
.chat-sources { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.chat-source { display: inline-flex; max-width: 100%; padding: 5px 8px; border-radius: 7px; background: #ebedff; color: var(--brand-dark); font-size: 10px; font-weight: 700; text-decoration: none; }
.chat-source:hover { background: #dfe2ff; }
.chat-feedback { display: flex; gap: 4px; margin-top: 7px; }
.feedback-btn { border: 0; background: transparent; padding: 3px 5px; opacity: .55; }
.feedback-btn:hover, .feedback-btn.selected { opacity: 1; }
.chat-form { padding: 13px; border-top: 1px solid var(--line); background: white; }
.chat-input-wrap { display: flex; gap: 8px; align-items: flex-end; border: 1px solid #cfd5d1; border-radius: 13px; padding: 7px; }
.chat-input-wrap textarea { border: 0; box-shadow: none; padding: 6px; min-height: 38px; max-height: 120px; }
.chat-send { width: 38px; height: 38px; flex: 0 0 auto; border: 0; border-radius: 10px; background: var(--brand); color: white; font-weight: 900; }
.suggestions { display: grid; gap: 8px; margin-top: 14px; }
.suggestion { text-align: left; border: 1px solid var(--line); background: white; border-radius: 11px; padding: 10px; color: var(--muted); font-size: 12px; }
.suggestion:hover { border-color: var(--brand); color: var(--ink); }
.typing::after { content: ""; display: inline-block; width: 6px; height: 13px; background: var(--brand); margin-left: 3px; animation: blink 1s infinite; vertical-align: -2px; }
@keyframes blink { 50% { opacity: 0; } }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.customize-grid { grid-template-columns: minmax(340px, .82fr) minmax(430px, 1.18fr); align-items: start; }
.customize-panel { padding: 0; overflow: hidden; }
.customize-panel form { padding: 24px; }
.form-section + .form-section { margin-top: 24px; padding-top: 23px; border-top: 1px solid var(--line); }
.form-section-heading { display: grid; margin-bottom: 17px; }
.form-section-heading strong { font-size: 15px; }
.form-section-heading span { color: var(--muted); font-size: 11px; margin-top: 2px; }
.customize-row { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
.customize-row p { min-width: 0; }
.behavior-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.behavior-row p { min-width: 0; margin-bottom: 5px; }
.behavior-help { margin: 0 0 15px; }
.advanced-settings { border: 1px solid var(--line); border-radius: 12px; background: #fafbf8; }
.advanced-settings summary { padding: 12px 13px; cursor: pointer; color: var(--muted); font-size: 12px; font-weight: 750; }
.advanced-settings[open] summary { color: var(--ink); border-bottom: 1px solid var(--line); }
.advanced-settings > div { padding: 13px; }
.advanced-settings textarea { background: white; }
.publish-control { display: flex; align-items: flex-start; gap: 10px; margin: 2px 0 0; padding: 13px; border: 1px solid var(--line); border-radius: 12px; background: #fafbf8; cursor: pointer; }
.publish-control input { margin-top: 3px; }
.publish-control span { display: grid; }
.publish-control strong { font-size: 12px; }
.publish-control small { color: var(--muted); font-size: 10px; font-weight: 500; }
.customize-panel .btn { margin-top: 23px; }
.preview-shell { min-width: 0; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: 16px; }
.preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.preview-toolbar > span:first-child { display: grid; }
.preview-toolbar strong { font-size: 12px; }
.preview-toolbar small { color: var(--muted); font-size: 10px; }
.preview-status { padding: 5px 8px; border-radius: 99px; background: #e8f6ef; color: var(--success); font-size: 9px; font-weight: 850; text-transform: uppercase; letter-spacing: .05em; }
.preview-status.draft { color: #66716c; background: #eef1ef; }
.preview-site { position: relative; min-height: 580px; overflow: hidden; background: #eef0ed; }
.preview-site-nav { display: flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-bottom: 1px solid #d9ddd9; background: rgba(255,255,255,.78); }
.preview-site-nav span { width: 7px; height: 7px; border-radius: 50%; background: #c3c9c5; }
.preview-site-copy { display: grid; gap: 11px; width: min(310px, 55%); padding: 52px 0 0 34px; }
.preview-site-kicker { width: 74px; height: 9px; border-radius: 99px; background: #cdd3cf; }
.preview-site-title { width: 100%; height: 28px; border-radius: 7px; background: #d8ddd9; }
.preview-site-line { width: 90%; height: 10px; border-radius: 99px; background: #dfe3df; }
.preview-site-line.short { width: 63%; }
.widget-preview { position: absolute; right: 22px; bottom: 22px; width: min(330px, calc(100% - 44px)); background: white; border-radius: 17px; box-shadow: 0 24px 65px rgba(31,42,38,.2); overflow: hidden; transition: left .2s ease, right .2s ease; }
.widget-preview.preview-position-left { right: auto; left: 22px; }
.widget-preview-head { display: flex; align-items: center; gap: 10px; padding: 14px; color: white; background: var(--preview-brand); }
.preview-avatar { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 auto; border-radius: 10px; background: rgba(255,255,255,.18); font-size: 12px; font-weight: 850; }
.widget-preview-head > span:nth-child(2) { display: grid; min-width: 0; }
.widget-preview-head strong { overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.widget-preview-head small { color: rgba(255,255,255,.78); font-size: 9px; }
.preview-close { margin-left: auto; font-size: 18px; opacity: .75; }
.widget-preview-body { padding: 16px; min-height: 230px; background: #fafbf8; }
.widget-preview .chat-message { max-width: 90%; }
.widget-preview .chat-bubble { font-size: 11px; }
.widget-preview .chat-send { background: var(--preview-brand); }
.widget-preview .widget-branding { padding: 6px; border-top: 1px solid #edf0ed; color: #7b8580; text-align: center; font-size: 9px; }

.danger-zone { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 360px); align-items: start; gap: 30px; margin-top: 18px; border-color: #efc6c9; }
.danger-zone-copy { max-width: 650px; }
.danger-label { color: var(--danger); font-size: 10px; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
.danger-zone h2 { margin: 5px 0 6px; font-size: 19px; letter-spacing: -.025em; }
.danger-zone-copy p { margin: 0; color: var(--muted); font-size: 12px; }
.danger-delete { width: 100%; }
.danger-delete summary { display: flex; min-height: 42px; align-items: center; justify-content: center; padding: 9px 14px; border: 1px solid #efb9bd; border-radius: 11px; background: #fff5f5; color: var(--danger); cursor: pointer; font-size: 12px; font-weight: 800; list-style: none; transition: .16s ease; }
.danger-delete summary::-webkit-details-marker { display: none; }
.danger-delete summary:hover { border-color: #df9298; background: #ffeded; }
.danger-delete[open] summary { border-radius: 11px 11px 0 0; }
.danger-confirmation { padding: 14px; border: 1px solid #efc6c9; border-top: 0; border-radius: 0 0 11px 11px; background: #fffafa; }
.danger-confirmation > p { margin: 0 0 12px; color: var(--danger); font-size: 11px; font-weight: 700; }
.danger-confirmation form { margin: 0; }
.danger-confirmation label { font-size: 11px; }
.danger-confirmation input { margin-bottom: 11px; background: white; }

.code-block { position: relative; background: #181b1a; color: #d9e0dc; border-radius: 14px; padding: 20px; overflow-x: auto; font: 12px/1.7 ui-monospace, SFMono-Regular, Menlo, monospace; }
.copy-btn { position: absolute; top: 10px; right: 10px; }
.check-list { display: grid; gap: 10px; margin: 20px 0; }
.check-item { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.check-icon { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e8f6ef; color: var(--success); font-size: 11px; font-weight: 900; }
.installation-panel { margin-top: 18px; }
.installation-heading { align-items: flex-start; }
.installation-heading > div { min-width: 0; }
.installation-heading p { margin: 4px 0 0; }
.installation-summary { flex: 0 0 auto; padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; background: #fafbf8; color: var(--muted); font-size: 10px; font-weight: 700; }
.installation-summary strong { color: var(--success); }
.installation-list { display: grid; gap: 9px; }
.installation-row { display: grid; grid-template-columns: minmax(190px, 1fr) minmax(330px, 1.2fr) auto; align-items: center; gap: 18px; padding: 14px; border: 1px solid var(--line); border-radius: 13px; background: #fafbf8; }
.installation-site { display: flex; align-items: center; gap: 11px; min-width: 0; }
.installation-site > span:last-child { display: grid; min-width: 0; }
.installation-site strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; }
.installation-site small { margin-top: 3px; color: var(--muted); font-size: 10px; }
.installation-icon { display: grid; place-items: center; width: 36px; height: 36px; flex: 0 0 auto; border-radius: 11px; background: #e9eaff; color: var(--brand); font-weight: 900; }
.installation-metrics { display: grid; grid-template-columns: 1.25fr .8fr 1fr; gap: 13px; }
.installation-metrics > span { display: grid; min-width: 0; }
.installation-metrics small { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .04em; }
.installation-metrics strong { overflow: hidden; margin-top: 3px; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; }
.installation-note { margin: 12px 0 0; color: var(--muted); font-size: 10px; }
.installation-empty { padding: 36px 22px; }

.conversation-card, .gap-row { border: 1px solid var(--line); border-radius: 13px; padding: 15px; background: white; margin-bottom: 9px; }
.conversation-card summary { cursor: pointer; display: flex; justify-content: space-between; gap: 20px; }
.conversation-preview { margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line); }
.conversation-preview p { font-size: 12px; margin: 5px 0; }
.gap-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 15px; scroll-margin-top: 20px; }
.gap-row strong { display: block; font-size: 13px; }
.gap-row p { color: var(--muted); font-size: 11px; margin: 4px 0 0; }
.gap-actions { display: flex; align-items: flex-start; }
.status-open { color: var(--danger); background: #fff0f1; }
.status-resolved { color: var(--success); background: #e8f6ef; }
.status-ignored { color: #66716c; background: #eef1ef; }
.gap-workflow-help { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: -10px 0 18px; padding: 15px; border: 1px solid #d9ddd9; border-radius: 14px; background: #fafbf8; }
.gap-workflow-help > div { display: grid; grid-template-columns: auto 1fr; align-content: start; column-gap: 8px; row-gap: 3px; }
.gap-workflow-help > div > strong, .gap-workflow-help > div > span:last-child { grid-column: 2; }
.gap-workflow-help strong { font-size: 12px; }
.gap-workflow-help span, .gap-workflow-help p { color: var(--muted); font-size: 11px; line-height: 1.45; }
.gap-workflow-help p { grid-column: 1 / -1; margin: 0; padding-top: 9px; border-top: 1px solid var(--line); }
.gap-workflow-help p strong { display: inline; }
.workflow-step { display: grid; place-items: center; width: 24px; height: 24px; grid-row: 1 / span 2; border-radius: 8px; background: #e9eaff; color: var(--brand) !important; font-size: 10px !important; font-weight: 900; }
.gap-fix-panel { display: flex; grid-column: 1 / -1; flex-wrap: wrap; align-items: center; gap: 7px; padding-top: 12px; border-top: 1px solid var(--line); }
.gap-fix-panel form { margin: 0; }
.gap-answer-details { position: relative; }
.gap-answer-details > summary { list-style: none; }
.gap-answer-details > summary::-webkit-details-marker { display: none; }
.gap-answer-details[open] { width: 100%; }
.gap-answer-details[open] > summary { margin-bottom: 10px; }
.gap-answer-details form { display: grid; gap: 8px; padding: 14px; border: 1px solid #d5d3ff; border-radius: 12px; background: #f7f7ff; }
.gap-answer-details label { font-size: 11px; font-weight: 800; }
.gap-answer-details textarea { min-height: 96px; resize: vertical; }
.gap-answer-footer { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.gap-answer-footer span, .gap-fix-panel-closed > span { color: var(--muted); font-size: 10px; }
.gap-fix-panel-closed { justify-content: space-between; }
.gap-fix-banner { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 13px; margin: -10px 0 18px; padding: 14px 15px; border: 1px solid #d5d3ff; border-radius: 14px; background: #f7f7ff; }
.gap-fix-banner .workflow-step { grid-row: auto; }
.gap-fix-banner strong { display: block; font-size: 12px; }
.gap-fix-banner p { margin: 3px 0; color: var(--ink); font-size: 12px; }
.gap-fix-banner small { color: var(--muted); font-size: 10px; }
.narrow-container { max-width: 820px; }
.source-card { padding: 34px; margin-top: 20px; }
.source-card h1 { margin: 8px 0; }
.source-excerpt { margin: 28px 0; padding: 22px; background: #f7f7f4; border: 1px solid var(--line); border-radius: 13px; line-height: 1.7; }
.source-excerpt h2, .source-excerpt h3, .source-excerpt h4 { margin: 20px 0 7px; line-height: 1.25; letter-spacing: -.02em; }
.source-excerpt h2:first-child, .source-excerpt h3:first-child, .source-excerpt h4:first-child { margin-top: 0; }
.source-excerpt p { margin: 0 0 12px; }
.source-excerpt ul, .source-excerpt ol { margin: 0 0 14px; padding-left: 22px; }
.source-excerpt code { padding: 2px 5px; border-radius: 5px; background: #e9ece8; font-size: .9em; }
.locked-overlay { border: 1px solid #d5d3ff; background: #f3f2ff; border-radius: 15px; padding: 24px; text-align: center; margin-bottom: 18px; }
.locked-overlay h3 { margin: 0 0 6px; }
.locked-overlay p { color: var(--muted); margin: 0 0 15px; }

.usage-bar { height: 8px; border-radius: 99px; background: #e8ebe8; overflow: hidden; }
.usage-fill { height: 100%; border-radius: inherit; background: var(--brand); }
.billing-explainer { margin-top: 28px; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #181b1a; color: white; }
.billing-explainer-head { max-width: 720px; }
.billing-explainer-head h2 { margin: 8px 0; font-size: 28px; letter-spacing: -.035em; }
.billing-explainer-head p { margin: 0; color: #b8c0bc; font-size: 13px; line-height: 1.55; }
.billing-rule-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 22px; }
.billing-rule-grid article { padding: 16px; border: 1px solid #343936; border-radius: 13px; background: #202422; }
.billing-rule-grid strong { display: block; margin: 10px 0 4px; font-size: 13px; }
.billing-rule-grid p { margin: 0; color: #aeb6b2; font-size: 11px; line-height: 1.5; }
.billing-rule-icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--accent); color: var(--ink); font-size: 13px; font-weight: 900; }
.billing-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 26px; }
.checkout-shell { width: min(880px, calc(100% - 40px)); margin: 50px auto; display: grid; grid-template-columns: 1fr 1fr; background: white; border: 1px solid var(--line); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow); }
.checkout-summary, .checkout-form { padding: 36px; }
.checkout-summary { background: #f0f1ff; }
.mock-banner { padding: 9px 12px; border-radius: 10px; background: var(--accent); color: var(--ink); font-size: 11px; font-weight: 800; margin-bottom: 22px; }
.fake-card { border: 1px solid #cfd5d1; border-radius: 12px; padding: 13px; color: var(--muted); margin: 12px 0; font-family: ui-monospace, monospace; }

.demo-nav { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.demo-brand { font-size: 20px; font-weight: 900; }
.demo-brand span { color: #fa6338; }
.demo-hero { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 60px; min-height: 640px; }
.demo-hero h1 { font-size: clamp(50px, 7vw, 76px); line-height: .98; letter-spacing: -.06em; margin: 0 0 22px; }
.demo-hero p { color: var(--muted); font-size: 18px; max-width: 570px; }
.demo-art { aspect-ratio: 1; border-radius: 48% 52% 45% 55%; background: #f9d9cb; position: relative; overflow: hidden; }
.demo-art::before { content: "ACME"; position: absolute; inset: 0; display: grid; place-items: center; color: #fa6338; font-size: 74px; font-weight: 950; transform: rotate(-12deg); }
.demo-banner { padding: 15px; border-radius: 12px; text-align: center; background: #fff1ea; color: #a33d20; font-size: 12px; }

@media (max-width: 980px) {
  .hero-grid, .knowledge-gap-demo, .demo-hero { grid-template-columns: 1fr; }
  .product-shot { max-width: 620px; }
  .feature-grid, .steps-grid, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .chat-layout { grid-template-columns: 1fr; }
  .chat-layout > aside { display: none; }
}

@media (max-width: 760px) {
  .nav-links { display: none; }
  .nav-actions .nav-login { display: none; }
  .section { padding: 64px 0; }
  .hero { padding-top: 48px; }
  .hero h1 { font-size: 54px; }
  .feature-grid, .steps-grid, .pricing-grid, .form-grid, .billing-summary { grid-template-columns: 1fr; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: static; width: 100%; max-width: 100vw; min-width: 0; height: auto; padding: 12px; overflow: hidden; }
  .sidebar .brand, .side-label { display: none; }
  .side-footer { display: flex; align-items: center; gap: 8px; padding: 8px 0 0; margin-top: 0; border: 0; }
  .side-footer .side-user { display: none; }
  .side-footer form { margin: 0 !important; }
  .side-nav { display: flex; width: 100%; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .side-nav::-webkit-scrollbar { display: none; }
  .side-nav a { white-space: nowrap; }
  .assistants-label { display: block; padding: 10px 4px 5px; }
  .assistant-list { display: flex; width: 100%; max-height: none; overflow-x: auto; overflow-y: hidden; padding-bottom: 2px; scrollbar-width: none; }
  .assistant-list::-webkit-scrollbar { display: none; }
  .assistant-item, .assistant-new { flex: 0 0 auto; max-width: 180px; }
  .assistant-state { display: none; }
  .app-topbar { padding: 0 18px; }
  .app-content { padding: 22px 16px; }
  .page-heading { flex-direction: column; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .bot-grid { grid-template-columns: 1fr; }
  .document-row { grid-template-columns: minmax(0, 1fr) auto; }
  .row-actions { grid-column: 1 / -1; }
  .gap-row { grid-template-columns: 1fr; }
  .gap-actions { align-items: center; flex-direction: row; justify-content: space-between; }
  .gap-workflow-help, .billing-rule-grid { grid-template-columns: 1fr; }
  .gap-workflow-help p { grid-column: auto; }
  .gap-fix-banner { grid-template-columns: auto minmax(0, 1fr); }
  .gap-fix-banner .btn { grid-column: 1 / -1; }
  .gap-answer-footer { align-items: flex-start; flex-direction: column; }
  .playground-notice { grid-template-columns: auto minmax(0, 1fr); }
  .playground-notice .btn { grid-column: 1 / -1; }
  .checkout-shell { grid-template-columns: 1fr; margin: 20px auto; }
  .final-cta { padding: 38px 28px; flex-direction: column; align-items: flex-start; }
  .footer-inner { flex-direction: column; }
  .behavior-row { grid-template-columns: 1fr; gap: 0; }
  .installation-heading { display: grid; }
  .installation-summary { justify-self: start; }
  .installation-row { grid-template-columns: 1fr; gap: 13px; }
  .installation-metrics { grid-template-columns: repeat(3, 1fr); }
  .installation-row > .status { justify-self: start; }
  .danger-zone { grid-template-columns: 1fr; gap: 18px; }
}

@media (max-width: 1080px) {
  .customize-grid { grid-template-columns: 1fr; }
  .preview-site { min-height: 540px; }
}

.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 120;
  margin: 0 auto;
  max-width: 760px;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-text { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.cookie-banner-actions { display: flex; gap: 10px; flex: 0 0 auto; }

@media (max-width: 640px) {
  .cookie-banner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-banner-actions { justify-content: flex-end; }
}
