/* =========================================================
   StorePilot AI — Design System Premium
   Fonctionne hors ligne (pas de dépendance externe)
   ========================================================= */

:root {
  --bg:        #f8fafc;
  --bg2:       #f1f5f9;
  --bg3:       #e9eef5;
  --surface:   #ffffff;
  --border:    #e2e8f0;
  --border2:   #cbd5e1;
  --text:      #0f172a;
  --text2:     #475569;
  --text3:     #94a3b8;
  --blue:      #2563eb;
  --blue-h:    #1d4ed8;
  --blue-l:    #eff6ff;
  --blue-l2:   #dbeafe;
  --violet:    #7c3aed;
  --violet-l:  #f5f3ff;
  --green:     #16a34a;
  --green-l:   #f0fdf4;
  --orange:    #f59e0b;
  --red:       #dc2626;
  --r:         8px;
  --r-sm:      4px;
  --r-lg:      12px;
  --r-xl:      16px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,.05);
  --shadow:    0 1px 3px rgba(0,0,0,.08),0 1px 2px rgba(0,0,0,.04);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,.07),0 2px 4px -1px rgba(0,0,0,.04);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.08),0 4px 6px -2px rgba(0,0,0,.04);
  --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.08),0 10px 10px -5px rgba(0,0,0,.03);
}

/* === RESET === */
*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; }
ul, ol { list-style: none; }

/* === LAYOUT === */
.wrap    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.wrap-sm { max-width: 760px;  margin: 0 auto; padding: 0 24px; }
section  { padding: 80px 0; }

/* === NAVIGATION === */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  height: 64px;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 8px;
}
.n-logo { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, #2563eb 0%, #7c3aed 100%);
  border-radius: var(--r); display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 800; color: #fff; letter-spacing: -.5px; flex-shrink: 0;
}
.logo-name { font-size: 15px; font-weight: 700; color: var(--text); letter-spacing: -.3px; }
.logo-name em { font-style: normal; color: var(--blue); }
.n-links { display: flex; align-items: center; gap: 2px; }
.n-link {
  padding: 7px 13px; font-size: 14px; font-weight: 500; color: var(--text2);
  border-radius: var(--r-sm); transition: color .15s, background .15s;
}
.n-link:hover { color: var(--text); background: var(--bg2); }
.n-link.active { color: var(--text); font-weight: 600; }
.n-cta {
  margin-left: 10px; padding: 8px 18px;
  background: var(--blue); color: #fff;
  font-size: 14px; font-weight: 600; border-radius: var(--r);
  transition: background .15s, transform .1s;
}
.n-cta:hover { background: var(--blue-h); }
.n-burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border: 1px solid var(--border); border-radius: var(--r-sm);
  background: none; cursor: pointer; margin-left: 8px;
}
.n-burger span { display: block; width: 18px; height: 2px; background: var(--text2); border-radius: 2px; transition: all .2s; }

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 22px; border-radius: var(--r);
  font-size: 15px; font-weight: 600; white-space: nowrap;
  transition: all .15s; cursor: pointer; border: none;
}
.btn-primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 1px 2px rgba(37,99,235,.25),inset 0 1px 0 rgba(255,255,255,.1);
}
.btn-primary:hover { background: var(--blue-h); transform: translateY(-1px); box-shadow: 0 4px 14px rgba(37,99,235,.35); }
.btn-secondary {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
}
.btn-secondary:hover { background: var(--bg2); border-color: var(--border2); transform: translateY(-1px); }
.btn-dark { background: var(--text); color: #fff; }
.btn-dark:hover { background: #1e293b; transform: translateY(-1px); }
.btn-white { background: #fff; color: var(--text); }
.btn-white:hover { background: var(--bg2); }
.btn-outline-white { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.3); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.5); }
.btn-lg { padding: 13px 26px; font-size: 16px; }
.btn-sm { padding: 7px 14px; font-size: 13px; }

/* === HERO === */
.hero {
  padding: 96px 0 80px; text-align: center; position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; top: -300px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 700px;
  background: radial-gradient(ellipse at center, rgba(37,99,235,.07) 0%, transparent 65%);
  pointer-events: none; user-select: none;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; margin-bottom: 28px;
  background: var(--blue-l); border: 1px solid var(--blue-l2); border-radius: 100px;
  font-size: 12px; font-weight: 700; color: var(--blue); letter-spacing: .06em; text-transform: uppercase;
}
.hero-badge-dot { width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.hero h1 {
  font-size: clamp(34px, 5vw, 60px); font-weight: 800;
  letter-spacing: -1.5px; line-height: 1.1; margin-bottom: 24px;
}
.hero h1 em { font-style: normal; color: var(--blue); }
.hero-sub {
  font-size: clamp(16px, 2vw, 19px); color: var(--text2);
  max-width: 620px; margin: 0 auto 40px; line-height: 1.7;
}
.hero-btns {
  display: flex; align-items: center; justify-content: center;
  gap: 12px; flex-wrap: wrap; margin-bottom: 64px;
}
.hero-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; font-size: 13px; color: var(--text3); margin-bottom: 56px;
}
.hero-trust-dot { width: 4px; height: 4px; background: var(--border2); border-radius: 50%; }

/* === CHAT MOCKUP === */
.hero-mockup {
  max-width: 560px; margin: 0 auto;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r-xl); box-shadow: var(--shadow-xl); overflow: hidden; text-align: left;
}
.mock-bar {
  padding: 12px 16px; background: var(--bg2); border-bottom: 1px solid var(--border);
  display: flex; align-items: center; gap: 7px;
}
.mock-dot { width: 10px; height: 10px; border-radius: 50%; }
.mock-title { font-size: 12px; font-weight: 600; color: var(--text3); margin-left: auto; margin-right: auto; letter-spacing: .01em; }
.mock-body { padding: 20px; display: flex; flex-direction: column; gap: 12px; }
.msg { display: flex; align-items: flex-start; gap: 10px; }
.msg.user { flex-direction: row-reverse; }
.msg-av {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 700;
}
.msg.bot  .msg-av { background: linear-gradient(135deg,#2563eb,#7c3aed); color: #fff; }
.msg.user .msg-av { background: var(--bg2); color: var(--text2); border: 1px solid var(--border); }
.msg-bub {
  padding: 10px 14px; border-radius: 12px;
  font-size: 13.5px; line-height: 1.55; max-width: 390px;
}
.msg.bot  .msg-bub { background: var(--bg2); color: var(--text); border-bottom-left-radius: 3px; }
.msg.user .msg-bub { background: var(--blue); color: #fff; border-bottom-right-radius: 3px; }
.mock-preview {
  margin-top: 4px; padding: 14px 16px;
  background: var(--surface); border: 1px solid var(--border2); border-radius: var(--r);
}
.mock-preview-title { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text3); margin-bottom: 10px; }
.mock-row { display: flex; justify-content: space-between; align-items: center; padding: 5px 0; border-bottom: 1px solid var(--border); font-size: 13px; }
.mock-row:last-of-type { border-bottom: none; }
.mock-row span { color: var(--text2); }
.mock-row strong { color: var(--text); font-weight: 600; }
.mock-btns { display: flex; gap: 8px; margin-top: 12px; }
.mock-confirm { flex: 1; padding: 8px; background: var(--green); color: #fff; border: none; border-radius: var(--r-sm); font-size: 12px; font-weight: 600; cursor: pointer; }
.mock-cancel  { flex: 1; padding: 8px; background: var(--bg2); color: var(--text2); border: 1px solid var(--border); border-radius: var(--r-sm); font-size: 12px; font-weight: 600; cursor: pointer; }

/* === PLATFORM STRIP === */
.plat-strip { padding: 20px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.plat-inner { display: flex; align-items: center; justify-content: center; gap: 0; flex-wrap: wrap; }
.plat-lbl { font-size: 12px; font-weight: 600; color: var(--text3); letter-spacing: .06em; text-transform: uppercase; padding: 8px 20px; border-right: 1px solid var(--border); }
.plat-item { padding: 8px 20px; font-size: 13px; font-weight: 600; color: var(--text2); border-right: 1px solid var(--border); }
.plat-item:last-child { border-right: none; }

/* === SECTION HEADER === */
.s-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.s-title { font-size: clamp(26px, 3.5vw, 40px); font-weight: 800; letter-spacing: -.8px; line-height: 1.15; margin-bottom: 14px; }
.s-sub { font-size: 17px; color: var(--text2); line-height: 1.7; max-width: 520px; }
.s-head { margin-bottom: 52px; }
.s-head.cx { text-align: center; }
.s-head.cx .s-sub { margin: 0 auto; }

/* === FEATURE GRID === */
.feat-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
}
.feat-card { background: var(--surface); padding: 28px 30px; transition: background .15s; }
.feat-card:hover { background: var(--bg); }
.feat-icon {
  width: 40px; height: 40px; background: var(--blue-l); border-radius: var(--r);
  display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.feat-icon svg { width: 20px; height: 20px; stroke: var(--blue); fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.feat-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feat-card p  { font-size: 13.5px; color: var(--text2); line-height: 1.6; }

/* === STEPS === */
.steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.step { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.step-num {
  width: 32px; height: 32px; background: var(--blue); color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 800; margin-bottom: 14px;
}
.step h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.step p  { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* === COMPARE === */
.compare-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.compare-card { padding: 28px; border-radius: var(--r-lg); border: 2px solid var(--border); }
.compare-card.bad  { border-color: #fecaca; background: #fff8f8; }
.compare-card.good { border-color: #bbf7d0; background: #f0fdf4; }
.compare-lbl {
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px; margin-bottom: 20px;
}
.compare-card.bad  .compare-lbl { color: var(--red); }
.compare-card.good .compare-lbl { color: var(--green); }
.compare-bubble {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 16px 20px; font-size: 14px; line-height: 1.6; color: var(--text);
}
.compare-card.good .compare-bubble { border-color: #bbf7d0; }
.compare-caption { font-size: 13px; color: var(--text2); margin-top: 14px; line-height: 1.6; }

/* === PRICING === */
.price-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; align-items: start; }
.price-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 32px; display: flex; flex-direction: column;
}
.price-card.featured { border: 2px solid var(--blue); box-shadow: 0 0 0 1px var(--blue),var(--shadow-md); position: relative; }
.price-tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--blue); color: #fff;
  font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 14px; border-radius: 100px; white-space: nowrap;
}
.price-plan  { font-size: 13px; font-weight: 600; color: var(--text2); margin-bottom: 12px; }
.price-amt   { font-size: 42px; font-weight: 800; letter-spacing: -1.5px; line-height: 1; }
.price-per   { font-size: 14px; color: var(--text3); font-weight: 400; }
.price-desc  { font-size: 13.5px; color: var(--text2); margin: 14px 0 24px; line-height: 1.6; }
.price-feats { display: flex; flex-direction: column; gap: 10px; flex: 1; margin-bottom: 28px; }
.price-feat  { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; }
.price-check { color: var(--green); font-weight: 800; flex-shrink: 0; font-size: 14px; }

/* === SECURITY LIST === */
.sec-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.sec-item { padding: 20px 24px; display: flex; align-items: flex-start; gap: 16px; border-bottom: 1px solid var(--border); background: var(--surface); }
.sec-item:last-child { border-bottom: none; }
.sec-item:hover { background: var(--bg); }
.si-num {
  width: 28px; height: 28px; flex-shrink: 0;
  background: var(--blue-l); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 800; color: var(--blue);
}
.sec-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 4px; }
.sec-item p  { font-size: 13.5px; color: var(--text2); line-height: 1.6; }

/* === ZONE LISTS === */
.zone-list { display: flex; flex-direction: column; gap: 8px; }
.zone-item { display: flex; align-items: center; gap: 10px; padding: 11px 15px; border-radius: var(--r); font-size: 14px; font-weight: 500; }
.zone-item.no  { background: #fff8f8; border: 1px solid #fecaca; color: #b91c1c; }
.zone-item.yes { background: var(--green-l); border: 1px solid #bbf7d0; color: #166534; }
.zi { font-weight: 800; flex-shrink: 0; }

/* === SEC ARCH CARDS === */
.sec-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.sec-card { padding: 28px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); }
.sec-card-icon { width: 44px; height: 44px; background: var(--blue-l); border-radius: var(--r); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; }
.sec-card-icon svg { width: 22px; height: 22px; stroke: var(--blue); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sec-card-num { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; }
.sec-card h3 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.sec-card p  { font-size: 13.5px; color: var(--text2); line-height: 1.6; }

/* === FAQ === */
.faq-list { display: flex; flex-direction: column; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-q {
  width: 100%; padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  background: var(--surface); cursor: pointer;
  font-size: 14.5px; font-weight: 600; color: var(--text); text-align: left;
  transition: background .15s;
}
.faq-q:hover { background: var(--bg); }
.faq-ic {
  width: 24px; height: 24px; flex-shrink: 0;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--text3); transition: transform .2s, color .15s, border-color .15s;
  line-height: 1;
}
.faq-item.open .faq-ic { transform: rotate(45deg); color: var(--blue); border-color: var(--blue); }
.faq-a { display: none; padding: 0 24px 20px; font-size: 14px; color: var(--text2); line-height: 1.75; }
.faq-item.open .faq-a { display: block; }
.faq-sec-title { font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text3); margin: 36px 0 12px; }
.faq-sec-title:first-of-type { margin-top: 0; }

/* === FORM === */
.form-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 36px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.fgroup { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.fgroup:last-child { margin-bottom: 0; }
.flabel { font-size: 13px; font-weight: 600; color: var(--text); }
.finput {
  padding: 10px 14px; width: 100%;
  background: var(--bg); border: 1px solid var(--border); border-radius: var(--r);
  font-size: 14px; color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.finput:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,.1); background: var(--surface); }
textarea.finput { resize: vertical; min-height: 100px; }

/* === CTA BLOCK === */
.cta-block { padding: 80px 0; background: var(--text); text-align: center; }
.cta-block h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -1px; color: #fff; margin-bottom: 16px; line-height: 1.15; }
.cta-block p { font-size: 17px; color: rgba(255,255,255,.6); margin-bottom: 36px; max-width: 480px; margin-left: auto; margin-right: auto; }
.cta-btns { display: flex; align-items: center; justify-content: center; gap: 12px; flex-wrap: wrap; }

/* === TWO COLUMNS === */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.two-col.top { align-items: start; }

/* === PAGE HERO (inner pages) === */
.pg-hero { padding: 60px 0 52px; background: var(--surface); border-bottom: 1px solid var(--border); }
.pg-eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--blue); margin-bottom: 12px; }
.pg-h { font-size: clamp(28px, 4vw, 46px); font-weight: 800; letter-spacing: -1px; line-height: 1.12; margin-bottom: 16px; }
.pg-sub { font-size: 17px; color: var(--text2); max-width: 520px; line-height: 1.7; }

/* === ACTION TABS (demo page) === */
.a-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.a-tab {
  padding: 7px 16px; background: var(--surface); border: 1px solid var(--border);
  border-radius: 100px; font-size: 13px; font-weight: 600; color: var(--text2);
  cursor: pointer; transition: all .15s;
}
.a-tab:hover { border-color: var(--blue); color: var(--blue); }
.a-tab.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.scenario-list { display: flex; flex-direction: column; gap: 0; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.sc-item {
  padding: 16px 20px; display: flex; align-items: center; gap: 14px;
  background: var(--surface); border-bottom: 1px solid var(--border);
  cursor: pointer; transition: background .15s;
}
.sc-item:last-child { border-bottom: none; }
.sc-item:hover { background: var(--bg); }
.sc-item.active { background: var(--blue-l); border-left: 3px solid var(--blue); }
.sc-num { font-size: 11px; font-weight: 800; color: var(--text3); font-feature-settings: "tnum"; min-width: 24px; }
.sc-item.active .sc-num { color: var(--blue); }
.sc-name { font-size: 14px; font-weight: 600; color: var(--text); }
.sc-ex { font-size: 12.5px; color: var(--text3); margin-top: 2px; }
.sc-item.active .sc-name { color: var(--blue); }

/* === CHAT WIDGET (demo page) === */
.chat-wrap { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.chat-bar { padding: 12px 16px; background: var(--bg2); border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 7px; }
.c-dot { width: 10px; height: 10px; border-radius: 50%; }
.chat-lbl { font-size: 12px; font-weight: 600; color: var(--text3); margin-left: auto; margin-right: auto; }
.chat-head { padding: 14px 16px 12px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid var(--border); }
.chat-av { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg,#2563eb,#7c3aed); color: #fff; font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.chat-nm { font-size: 14px; font-weight: 700; }
.chat-online { font-size: 12px; color: var(--green); font-weight: 600; margin-left: 4px; }
.chat-msgs { padding: 16px; display: flex; flex-direction: column; gap: 12px; min-height: 240px; max-height: 400px; overflow-y: auto; }
.cm { display: flex; align-items: flex-start; gap: 8px; }
.cm.u { flex-direction: row-reverse; }
.cm-av { width: 28px; height: 28px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 10px; font-weight: 700; }
.cm.b .cm-av { background: linear-gradient(135deg,#2563eb,#7c3aed); color: #fff; }
.cm.u .cm-av { background: var(--bg2); color: var(--text2); border: 1px solid var(--border); }
.cm-bub { padding: 9px 13px; border-radius: 10px; font-size: 13.5px; line-height: 1.55; max-width: 320px; }
.cm.b .cm-bub { background: var(--bg2); border-bottom-left-radius: 3px; }
.cm.u .cm-bub { background: var(--blue); color: #fff; border-bottom-right-radius: 3px; }
.chat-inp { padding: 12px 14px; border-top: 1px solid var(--border); display: flex; gap: 8px; }
.chat-inp-txt { flex: 1; padding: 8px 12px; background: var(--bg); border: 1px solid var(--border); border-radius: 20px; font-size: 13px; color: var(--text2); }
.chat-inp-btn { padding: 8px 16px; background: var(--blue); color: #fff; border: none; border-radius: 20px; font-size: 13px; font-weight: 600; cursor: pointer; transition: background .15s; }
.chat-inp-btn:hover { background: var(--blue-h); }

/* === FOOTER === */
footer { padding: 36px 0; background: var(--surface); border-top: 1px solid var(--border); }
.foot-in {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
}
.foot-logo { display: flex; align-items: center; gap: 8px; margin-right: auto; }
.foot-mark { width: 28px; height: 28px; background: linear-gradient(135deg,#2563eb,#7c3aed); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; color: #fff; }
.foot-name { font-size: 14px; font-weight: 700; color: var(--text); }
.foot-links { display: flex; flex-wrap: wrap; gap: 2px; }
.foot-link { font-size: 13px; color: var(--text3); padding: 4px 10px; border-radius: var(--r-sm); transition: color .15s; }
.foot-link:hover { color: var(--text2); }
.foot-copy { font-size: 12px; color: var(--text3); }

/* === MISC === */
.divider { border: none; border-top: 1px solid var(--border); }
.bg-white { background: var(--surface); }
.bg-grey  { background: var(--bg2); }
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 12px; border-radius: 100px; font-size: 12px; font-weight: 600;
  background: var(--blue-l); color: var(--blue); border: 1px solid var(--blue-l2);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .price-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}
@media (max-width: 768px) {
  section { padding: 56px 0; }
  .hero { padding: 60px 0 48px; }
  .n-links, .n-cta { display: none; }
  .n-burger { display: flex; }
  .n-links.open {
    display: flex; flex-direction: column; align-items: flex-start;
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    background: var(--surface); padding: 20px 24px; z-index: 99;
    border-top: 1px solid var(--border); gap: 4px; overflow-y: auto;
  }
  .n-links.open .n-link { font-size: 16px; padding: 10px 14px; width: 100%; }
  .n-links.open .n-cta { display: flex; margin-top: 8px; font-size: 16px; padding: 12px 20px; }
  .hero h1 { font-size: 32px; letter-spacing: -.8px; }
  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: 1fr; gap: 16px; }
  .compare-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr; }
  .sec-cards { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .price-grid { max-width: 100%; }
  .hero-btns { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
  .wrap, .wrap-sm { padding: 0 16px; }
  .hero-mockup { margin: 0 -16px; border-radius: 0; border-left: none; border-right: none; }
  .form-wrap { padding: 24px 20px; }
  .price-card { padding: 24px; }
  .sec-item { flex-direction: column; gap: 10px; }
  .plat-item { border-right: none; }
}
