/* ===================================================================
   AutoEasy - Modern Corporate / Tech Premium
   Design tokens derived from brand logo (navy + electric blue)
   =================================================================== */

:root {
  /* Color */
  --ink:        #0F1A2E;   /* near-black navy - primary text, dark blocks */
  --navy:       #1B2A4A;   /* brand navy */
  --navy-soft:  #24365c;
  --slate:      #51607A;   /* secondary text */
  --slate-200:  #8593AC;
  --accent:     #2563EB;   /* electric blue - the one vivid accent */
  --accent-600: #1D4ED8;
  --accent-300: #6FA1FF;
  --paper:      #FFFFFF;
  --mist:       #F4F7FC;   /* light section background */
  --mist-2:     #EEF3FB;
  --line:       #E2E9F3;   /* hairline borders */
  --line-dark:  rgba(255,255,255,.10);

  /* Type */
  --font-display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  /* Rhythm */
  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 48px);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15,26,46,.06), 0 4px 16px rgba(15,26,46,.05);
  --shadow-md: 0 8px 30px rgba(15,26,46,.10);
  --shadow-lg: 0 24px 60px rgba(15,26,46,.16);
  --ring: 0 0 0 3px rgba(37,99,235,.35);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---------- Reset / base ---------- */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; letter-spacing: -.02em; margin: 0; color: var(--ink); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* Section rhythm */
.section { padding-block: clamp(72px, 9vw, 128px); }
.section--mist { background: var(--mist); }
.section--ink  { background: var(--ink); color: #DCE5F4; }
.section--ink h2, .section--ink h3 { color: #fff; }

/* Eyebrow label (mono = data/automation vernacular) */
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  margin: 0 0 18px;
  font-weight: 500;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.section--ink .eyebrow { color: var(--accent-300); }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
.section-head p { margin-top: 18px; color: var(--slate); font-size: 1.08rem; }
.section--ink .section-head p { color: #AEBED8; }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--accent);
  display: inline-flex; align-items: center; gap: .55rem;
  font-family: var(--font-display);
  font-weight: 500; font-size: .98rem; letter-spacing: -.01em;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .2s, border-color .2s;
  will-change: transform;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 8px 22px rgba(37,99,235,.32); }
.btn--primary:hover { background: var(--accent-600); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(37,99,235,.42); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.28); }
.btn--outline-light:hover { border-color: #fff; transform: translateY(-2px); }
.btn .arw { transition: transform .25s var(--ease); }
.btn:hover .arw { transform: translateX(3px); }

/* ===================================================================
   TOP UTILITY BAR (socials)
   =================================================================== */
.topbar { background: var(--ink); color: #B9C6DD; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar__tag { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: #8FA1BE; }

.socials { display: flex; align-items: center; gap: 9px; }
.socials__label {
  font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em;
  text-transform: uppercase; color: #9FB0CC; margin-right: 3px;
}
.social {
  display: grid; place-items: center;
  width: 34px; height: 34px; border-radius: 9px;
  color: #E2E9F5; background: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.social svg { width: 17px; height: 17px; }
.social:hover { color: #fff; transform: translateY(-2px); }
.social--facebook:hover {
  background: #1877F2; border-color: #1877F2;
  box-shadow: 0 6px 16px rgba(24,119,242,.45);
}
.social--instagram:hover {
  background: linear-gradient(45deg,#F09433,#E6683C 25%,#DC2743 50%,#CC2366 75%,#BC1888);
  border-color: transparent;
  box-shadow: 0 6px 16px rgba(220,39,67,.45);
}

/* ===================================================================
   NAVBAR
   =================================================================== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s, background .3s;
}
.nav.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(15,26,46,.05); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 34px; width: auto; }
.brand__name { font-family: var(--font-display); font-weight: 700; font-size: 1.22rem; letter-spacing: -.02em; color: var(--ink); }
.brand__name b { color: var(--accent); font-weight: 700; }

.nav__menu { display: flex; align-items: center; gap: 34px; }
.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a { font-size: .96rem; color: var(--slate); font-weight: 500; position: relative; transition: color .2s; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0;
  background: var(--accent); transition: width .25s var(--ease);
}
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after { width: 100%; }
.nav__cta { display: flex; align-items: center; gap: 16px; }

.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px 0; transition: .3s; border-radius: 2px; }

/* ===================================================================
   HERO
   =================================================================== */
.hero { position: relative; overflow: hidden; padding-block: clamp(64px, 8vw, 110px) clamp(48px, 6vw, 80px); }
.hero::before { /* subtle grid + glow */
  content: ""; position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(120% 80% at 85% -10%, rgba(37,99,235,.10), transparent 60%),
    radial-gradient(80% 60% at 0% 110%, rgba(37,99,235,.06), transparent 55%);
  pointer-events: none;
}
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(120% 100% at 70% 0%, #000 0%, transparent 70%);
          mask-image: radial-gradient(120% 100% at 70% 0%, #000 0%, transparent 70%);
}
.hero__inner { position: relative; z-index: 1; max-width: 880px; }
.hero__chip {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--font-mono); font-size: .76rem; letter-spacing: .06em;
  color: var(--navy); background: #fff; border: 1px solid var(--line);
  padding: 7px 15px; border-radius: 999px; box-shadow: var(--shadow-sm); margin-bottom: 26px;
}
.hero__chip .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(37,99,235,.18); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.35} }

.hero h1 { font-size: clamp(2.6rem, 6.2vw, 4.6rem); font-weight: 700; }
.hero h1 .accent { color: var(--accent); }
.hero__lead-title { display: block; font-size: clamp(1.25rem, 2.6vw, 1.9rem); font-weight: 500; color: var(--navy); margin-top: 14px; font-family: var(--font-display); letter-spacing: -.02em; }
.hero__sub { margin-top: 24px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--slate); max-width: 640px; }

.hero__benefits { display: flex; flex-wrap: wrap; gap: 14px 26px; margin-top: 30px; }
.hero__benefits li { display: flex; align-items: center; gap: 10px; font-weight: 500; color: var(--ink); font-size: 1rem; }
.hero__benefits .tick {
  display: grid; place-items: center; flex: none;
  width: 24px; height: 24px; border-radius: 7px;
  background: rgba(37,99,235,.10); color: var(--accent);
}
.hero__benefits svg { width: 14px; height: 14px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }

/* Stats strip (ROI hard numbers - merged from PDF section 5) */
.stats {
  position: relative; z-index: 1;
  margin-top: clamp(48px, 6vw, 72px);
  display: grid; grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; box-shadow: var(--shadow-sm); overflow: hidden;
}
.stat { padding: 28px clamp(18px,2.4vw,32px); border-left: 1px solid var(--line); }
.stat:first-child { border-left: 0; }
.stat__num { font-family: var(--font-mono); font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 700; color: var(--ink); letter-spacing: -.02em; line-height: 1; }
.stat__num span { color: var(--accent); }
.stat__label { margin-top: 10px; font-size: .9rem; color: var(--slate); }

/* ===================================================================
   USE CASES (Przykłady zastosowania)
   =================================================================== */
.usecases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.uc {
  position: relative; padding: 28px 26px 30px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  overflow: hidden;
}
.uc::after { content:""; position:absolute; left:0; top:0; height:3px; width:100%; transform: scaleX(0); transform-origin: left; background: var(--accent); transition: transform .35s var(--ease); }
.uc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.uc:hover::after { transform: scaleX(1); }
.uc__ico { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--mist-2); color: var(--accent); margin-bottom: 18px; }
.uc__ico svg { width: 24px; height: 24px; }
.uc h3 { font-size: 1.12rem; }
.uc p { margin-top: 8px; color: var(--slate); font-size: .96rem; }

/* ===================================================================
   AUDIENCE (Dla kogo) + columns
   =================================================================== */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.lead-list { display: grid; gap: 14px; margin-top: 8px; }
.lead-list li { display: flex; gap: 14px; align-items: flex-start; color: var(--ink); }
.lead-list .mk { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-top: 11px; }
.lead-list b { font-weight: 600; }
.muted { color: var(--slate); }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(26px, 3vw, 38px); box-shadow: var(--shadow-sm); }
.panel h3 { font-size: 1.15rem; margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag { font-size: .92rem; font-weight: 500; color: var(--navy); background: var(--mist); border: 1px solid var(--line); padding: 9px 15px; border-radius: 10px; transition: .25s; }
.tag:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

.consequence { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 26px; }
.consequence li { background: rgba(37,99,235,.05); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 16px 18px; font-weight: 500; font-size: .96rem; }

/* ===================================================================
   PROBLEMS (Section 3)
   =================================================================== */
.problem-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }
.problem {
  background: rgba(255,255,255,.04); border: 1px solid var(--line-dark);
  border-radius: var(--radius); padding: 26px 24px; transition: .3s var(--ease);
}
.problem:hover { background: rgba(37,99,235,.10); border-color: rgba(111,161,255,.4); transform: translateY(-4px); }
.problem__n { font-family: var(--font-mono); font-size: .8rem; color: var(--accent-300); letter-spacing: .1em; }
.problem p { margin-top: 12px; color: #C7D4EA; font-size: 1rem; }
.outcome-bar { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 42px; padding-top: 30px; border-top: 1px solid var(--line-dark); }
.outcome-bar li { display: flex; align-items: center; gap: 10px; color: #AEBED8; font-size: .98rem; }
.outcome-bar .x { color: #ff8a8a; font-weight: 700; }

/* ===================================================================
   PROCESS (Section 4) - genuine sequence → numbered timeline
   =================================================================== */
.timeline { display: grid; gap: 0; }
.step { position: relative; display: grid; grid-template-columns: 78px 1fr; gap: clamp(18px,2.5vw,34px); padding-bottom: 44px; }
.step:last-child { padding-bottom: 0; }
.step__rail { position: relative; display: flex; flex-direction: column; align-items: center; }
.step__num {
  flex: none; width: 56px; height: 56px; border-radius: 14px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem;
  background: #fff; color: var(--accent); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  position: relative; z-index: 1; transition: .3s var(--ease);
}
.step:hover .step__num { background: var(--accent); color: #fff; border-color: var(--accent); transform: scale(1.05); }
.step__line { flex: 1; width: 2px; background: linear-gradient(var(--line), var(--line)); margin-top: 6px; }
.step:last-child .step__line { display: none; }
.step__body { padding-top: 6px; }
.step__body h3 { font-size: 1.28rem; }
.step__body p { margin-top: 10px; color: var(--slate); }
.step__body .sublist { margin-top: 16px; display: grid; gap: 9px; }
.step__body .sublist li { display: flex; gap: 11px; align-items: flex-start; color: var(--ink); font-size: .98rem; }
.step__body .sublist .mk { flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--accent); margin-top: 9px; }

/* ===================================================================
   CASE CARDS (Section 6 - implementations w/ ROI from section 5)
   =================================================================== */
.cases { display: grid; grid-template-columns: repeat(2,1fr); gap: 22px; }
.case {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.case:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.case__head { display: flex; align-items: center; gap: 14px; padding: 24px 26px 20px; border-bottom: 1px solid var(--line); }
.case__ico { flex:none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--ink); color: #fff; }
.case__ico svg { width: 22px; height: 22px; }
.case__head h3 { font-size: 1.16rem; }
.case__body { padding: 22px 26px 8px; display: grid; gap: 16px; flex: 1; }
.case__row .k { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-200); display: block; margin-bottom: 5px; }
.case__row p { color: var(--ink); font-size: .98rem; }
.case__row--solution p { color: var(--slate); }
.case__effect { margin-top: 4px; padding: 16px 18px; background: rgba(37,99,235,.06); border: 1px solid rgba(37,99,235,.16); border-radius: var(--radius-sm); }
.case__effect .e-row { display: flex; align-items: baseline; gap: 8px; }
.case__effect .e-row + .e-row { margin-top: 6px; }
.case__effect .e-num { font-family: var(--font-mono); font-weight: 700; color: var(--accent); font-size: 1.06rem; }
.case__effect .e-lbl { font-size: .9rem; color: var(--slate); }
.case__foot { display: flex; gap: 12px; padding: 18px 26px 24px; margin-top: auto; border-top: 1px dashed var(--line); }
.case__meta { flex: 1; }
.case__meta .k { font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-200); display: block; }
.case__meta .v { font-family: var(--font-display); font-weight: 600; color: var(--ink); margin-top: 3px; font-size: 1.02rem; }
.case__meta .v.roi { color: var(--accent); }

/* ===================================================================
   CONTACT (Section 7)
   =================================================================== */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px,5vw,68px); align-items: center; }
.gain-list { display: grid; gap: 16px; margin-top: 4px; }
.gain-list li { display: flex; gap: 14px; align-items: flex-start; }
.gain-list .ck { flex: none; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 8px; background: rgba(37,99,235,.14); color: var(--accent); margin-top: 1px; }
.gain-list .ck svg { width: 14px; height: 14px; }

.contact-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(28px,3vw,40px); box-shadow: var(--shadow-md); }
.contact-card h3 { font-size: 1.35rem; }
.contact-card > p { color: var(--slate); margin-top: 10px; margin-bottom: 26px; }
.contact-methods { display: grid; gap: 14px; }
.cmethod {
  display: flex; align-items: center; gap: 16px; padding: 18px 20px;
  border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--mist);
  transition: .28s var(--ease);
}
.cmethod:hover { border-color: var(--accent); background: #fff; transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.cmethod__ico { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: #fff; border: 1px solid var(--line); color: var(--accent); transition: .28s; }
.cmethod:hover .cmethod__ico { background: var(--accent); color: #fff; border-color: var(--accent); }
.cmethod__ico svg { width: 22px; height: 22px; }
.cmethod__txt .k { font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--slate-200); }
.cmethod__txt .v { font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink); margin-top: 2px; }
.cmethod .arw { margin-left: auto; color: var(--slate-200); transition: .25s var(--ease); }
.cmethod:hover .arw { color: var(--accent); transform: translateX(3px); }
.cmethod--primary { background: var(--ink); border-color: var(--ink); }
.cmethod--primary .cmethod__txt .v, .cmethod--primary .cmethod__txt .k { color: #fff; }
.cmethod--primary .cmethod__txt .k { color: var(--accent-300); }
.cmethod--primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.note { margin-top: 18px; font-size: .82rem; color: var(--slate-200); font-family: var(--font-mono); }

/* ===================================================================
   FOOTER (minimal)
   =================================================================== */
.footer { background: var(--ink); color: #9fb0cc; padding-block: 48px; }
.footer__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer .brand__name { color: #fff; }
.footer__right { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.socials--footer .social { background: rgba(255,255,255,.06); }
.footer__nav a { font-size: .92rem; color: #9fb0cc; transition: color .2s; }
.footer__nav a:hover { color: #fff; }
.footer__cookie-settings {
  appearance: none;
  border: 0;
  padding: 0;
  background: none;
  color: #9fb0cc;
  font: inherit;
  font-size: .92rem;
  cursor: pointer;
  transition: color .2s;
}
.footer__cookie-settings:hover { color: #fff; }
.footer__legal { width: 100%; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line-dark); font-size: .84rem; color: #6f82a3; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__company {
  margin-top: 22px;
  padding: 20px 22px;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(37,99,235,.13), rgba(255,255,255,.035));
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  color: #8fa1be;
  display: grid;
  grid-template-columns: minmax(170px,.55fr) 1fr;
  gap: 22px;
  align-items: start;
}
.footer__company-head { display: grid; gap: 6px; }
.footer__company h2 {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #f4f7fc;
}
.footer__company-head p { font-size: .84rem; color: #8fa1be; }
.footer__company dl { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 18px 28px; margin: 0; font-size: .84rem; }
.footer__company div { display: grid; gap: 3px; min-width: 0; }
.footer__company dt {
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #6f82a3;
}
.footer__company dd { margin: 0; color: #dce5f4; font-weight: 500; overflow-wrap: anywhere; }

/* ===================================================================
   Klaro Open Source consent UI
   =================================================================== */
.klaro .cookie-notice:not(.cookie-modal-notice) {
  right: 24px;
  bottom: 24px;
  left: auto;
  max-width: 520px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.klaro .cookie-notice:not(.cookie-modal-notice) .cn-body { padding: 24px; }
.klaro .cookie-notice .cn-body p,
.klaro .cookie-modal .cm-body,
.klaro .cookie-modal .cm-list-description { color: var(--slate); }
.klaro .cookie-notice .cn-body strong,
.klaro .cookie-modal .cm-header h1,
.klaro .cookie-modal .cm-list-title { color: var(--ink); }
.klaro .cookie-notice .cn-body strong {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-display);
  font-size: 1.08rem;
}
.klaro .cookie-notice .cn-body p { line-height: 1.6; }
.klaro .cookie-notice .cn-buttons,
.klaro .cookie-modal .cm-footer-buttons { gap: 8px; }
.klaro .cookie-notice .cm-btn,
.klaro .cookie-modal .cm-btn {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #fff;
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 600;
  box-shadow: none;
}
.klaro .cookie-notice .cm-btn:hover,
.klaro .cookie-modal .cm-btn:hover { background: var(--mist); }
.klaro .cookie-notice .cm-btn.cm-btn-success,
.klaro .cookie-modal .cm-btn.cm-btn-success {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.klaro .cookie-notice .cm-btn.cm-btn-success:hover,
.klaro .cookie-modal .cm-btn.cm-btn-success:hover { background: var(--accent-600); }
.klaro .cookie-notice .cn-learn-more,
.klaro .cookie-modal .cm-link { color: var(--accent); }
.klaro .cookie-modal .cm-modal {
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.klaro .cookie-modal .cm-header,
.klaro .cookie-modal .cm-body,
.klaro .cookie-modal .cm-footer { border-color: var(--line); }
.klaro .cookie-modal .cm-list-input:checked + .cm-list-label .slider { background: var(--accent); }

/* ===================================================================
   Reveal-on-scroll
   =================================================================== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===================================================================
   Focus / a11y
   =================================================================== */
:where(a,button):focus-visible { outline: none; box-shadow: var(--ring); border-radius: 8px; }

/* ===================================================================
   Responsive
   =================================================================== */
@media (max-width: 980px) {
  .stats { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(odd) { border-left: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .usecases { grid-template-columns: repeat(2,1fr); }
  .split, .contact__inner { grid-template-columns: 1fr; }
  .problem-grid { grid-template-columns: repeat(2,1fr); }
  .cases { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .topbar__inner { justify-content: center; }
  .topbar__tag { display: none; }
  .nav__inner { position: relative; }
  .nav__toggle { display: block; }
  .nav__menu { display: none; }
  .nav.open .nav__menu {
    display: flex; flex-direction: column; align-items: stretch; gap: 6px;
    position: absolute; top: 76px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 18px var(--gutter) 24px; box-shadow: var(--shadow-md);
  }
  .nav.open .nav__links { flex-direction: column; align-items: stretch; gap: 2px; width: 100%; }
  .nav.open .nav__links a { padding: 11px 0; width: 100%; }
  .nav.open .nav__cta { display: flex; flex-direction: column; gap: 10px; width: 100%; margin-top: 10px; }
  .nav.open .nav__cta .btn { width: 100%; justify-content: center; }
  .usecases, .problem-grid, .consequence { grid-template-columns: 1fr; }
  .hero__benefits { flex-direction: column; gap: 12px; }
  .step { grid-template-columns: 56px 1fr; }
  .step__num { width: 48px; height: 48px; font-size: 1.1rem; }
  .footer__legal { flex-direction: column; }
  .footer__company { grid-template-columns: 1fr; padding: 18px; }
  .footer__company dl { grid-template-columns: 1fr; gap: 14px; }
  .klaro .cookie-notice:not(.cookie-modal-notice) {
    right: 12px;
    bottom: 12px;
    left: 12px;
    width: auto;
    max-width: none;
  }
  .klaro .cookie-notice:not(.cookie-modal-notice) .cn-body { padding: 18px; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ===================================================================
   AutoEasy AI chat
   =================================================================== */
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.chat-launcher {
  position: fixed; right: 24px; bottom: 24px; z-index: 70;
  display: inline-flex; align-items: center; gap: 11px;
  min-height: 58px; padding: 9px 20px 9px 9px;
  border: 1px solid rgba(255,255,255,.14); border-radius: 999px;
  background: var(--ink); color: #fff; box-shadow: 0 16px 42px rgba(15,26,46,.28);
  font-family: var(--font-display); font-size: .94rem; font-weight: 600;
  cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.chat-launcher:hover { transform: translateY(-3px); background: var(--navy-soft); box-shadow: 0 20px 48px rgba(15,26,46,.34); }
.chat-launcher__icon {
  display: grid; place-items: center; width: 40px; height: 40px; flex: none;
  border-radius: 50%; background: var(--accent); color: #fff;
  box-shadow: 0 7px 18px rgba(37,99,235,.38);
}
.chat-launcher__icon svg { width: 21px; height: 21px; }
.chat-panel {
  position: fixed; right: 24px; bottom: 96px; z-index: 71;
  width: min(390px, calc(100vw - 32px)); height: min(620px, calc(100dvh - 128px));
  border: 1px solid var(--line); border-radius: 20px; overflow: hidden;
  background: #fff; box-shadow: 0 28px 80px rgba(15,26,46,.25);
  display: grid; grid-template-rows: auto minmax(0,1fr) auto auto auto;
  transform-origin: bottom right;
  animation: chat-in .28s var(--ease) both;
}
.chat-panel[hidden] { display: none; }
@keyframes chat-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
.chat-panel__header {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 17px 18px; color: #fff; background: var(--ink);
}
.chat-panel__identity { display: flex; align-items: center; gap: 11px; }
.chat-panel__identity > span:last-child { display: grid; }
.chat-panel__identity strong { font-family: var(--font-display); font-size: 1rem; line-height: 1.2; }
.chat-panel__identity small { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: #aebed8; font-size: .73rem; }
.chat-panel__mark {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
  background: var(--accent); color: #fff;
}
.chat-panel__mark svg { width: 20px; height: 20px; }
.chat-panel__status-dot { width: 6px; height: 6px; border-radius: 50%; background: #62d68b; box-shadow: 0 0 0 3px rgba(98,214,139,.14); }
.chat-panel__actions { display: flex; gap: 5px; }
.chat-panel__actions button {
  display: grid; place-items: center; width: 34px; height: 34px; padding: 0;
  border: 1px solid rgba(255,255,255,.11); border-radius: 9px;
  background: rgba(255,255,255,.06); color: #dce5f4; font-size: 1.35rem; line-height: 1;
  cursor: pointer; transition: background .2s, color .2s;
}
.chat-panel__actions button:hover { background: rgba(255,255,255,.13); color: #fff; }
.chat-panel__messages {
  min-height: 0; overflow-y: auto; padding: 20px 17px 12px;
  background: linear-gradient(180deg, #f8faff 0%, #fff 35%);
  scrollbar-width: thin; scrollbar-color: var(--line) transparent;
}
.chat-message { display: grid; justify-items: start; margin-bottom: 16px; }
.chat-message--user { justify-items: end; }
.chat-message__label {
  margin: 0 7px 5px; color: var(--slate-200); font-family: var(--font-mono);
  font-size: .62rem; letter-spacing: .08em; text-transform: uppercase;
}
.chat-message__bubble {
  max-width: 88%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 6px 15px 15px 15px;
  background: #fff; color: var(--ink); box-shadow: var(--shadow-sm);
  font-size: .89rem; line-height: 1.5; white-space: pre-wrap; overflow-wrap: anywhere;
}
.chat-message--user .chat-message__bubble {
  border-color: var(--accent); border-radius: 15px 6px 15px 15px;
  background: var(--accent); color: #fff; box-shadow: 0 7px 18px rgba(37,99,235,.18);
}
.chat-message--typing .chat-message__bubble { color: var(--slate); font-style: italic; }
.chat-message--error .chat-message__bubble { border-color: #f2c9c9; background: #fff7f7; color: #9f3333; }
.chat-suggestions { display: flex; gap: 7px; overflow-x: auto; padding: 6px 17px 12px; scrollbar-width: none; }
.chat-suggestions::-webkit-scrollbar { display: none; }
.chat-suggestions[hidden] { display: none; }
.chat-suggestions button {
  flex: none; padding: 8px 11px; border: 1px solid var(--line); border-radius: 999px;
  background: var(--mist); color: var(--navy); font-family: var(--font-body); font-size: .75rem;
  cursor: pointer; transition: border-color .2s, color .2s, background .2s;
}
.chat-suggestions button:hover { border-color: var(--accent); background: #fff; color: var(--accent); }
.chat-form {
  display: grid; grid-template-columns: minmax(0,1fr) 44px; align-items: end; gap: 9px;
  margin: 0 14px; padding: 10px 10px 10px 14px; border: 1px solid var(--line); border-radius: 15px;
  background: #fff; box-shadow: 0 4px 18px rgba(15,26,46,.06);
}
.chat-form:focus-within { border-color: var(--accent); box-shadow: var(--ring); }
.chat-form textarea {
  width: 100%; max-height: 100px; resize: none; overflow-y: auto; padding: 9px 2px;
  border: 0; outline: 0; background: transparent; color: var(--ink);
  font: .9rem/1.45 var(--font-body);
}
.chat-form textarea::placeholder { color: var(--slate-200); }
.chat-form button {
  display: grid; place-items: center; width: 44px; height: 44px; padding: 0;
  border: 0; border-radius: 12px; background: var(--accent); color: #fff;
  cursor: pointer; transition: background .2s, transform .2s;
}
.chat-form button:hover { background: var(--accent-600); transform: translateY(-1px); }
.chat-form button:disabled { opacity: .55; cursor: wait; transform: none; }
.chat-form button svg { width: 19px; height: 19px; }
.chat-panel__notice { padding: 9px 16px 12px; color: var(--slate-200); text-align: center; font-size: .67rem; line-height: 1.35; }

@media (max-width: 760px) {
  .chat-launcher { right: 14px; bottom: 14px; min-height: 54px; padding: 7px; }
  .chat-launcher__icon { width: 40px; height: 40px; }
  .chat-launcher__label { display: none; }
  .chat-panel {
    right: 10px; bottom: 76px; width: calc(100vw - 20px);
    height: min(640px, calc(100dvh - 92px)); border-radius: 18px;
  }
  body.chat-is-open { overflow: hidden; }
}
