/* ================================================================
   MyAds — Global stylesheet
   Editorial premium aesthetic. Warm neutrals + clay accent.
   ================================================================ */

:root {
  --bg: #ffffff;
  --bg-2: #f5f8f6;
  --bg-3: #e6efea;
  --ink: #0c1f1a;
  --ink-2: #284038;
  --ink-3: #5d7268;
  --line: #e2eae6;
  --line-2: #c9d6cf;
  --accent: #1F8F7A;
  --accent-deep: #156654;
  --accent-soft: #d4ece5;
  --green: #7CC999;
  --green-soft: #e1f3e7;
  --serif: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --sans: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --mono: "Open Sans", ui-monospace, "SF Mono", Menlo, monospace;
  --maxw: 1280px;
  --pad: clamp(20px, 4vw, 56px);
  --radius: 14px;
  --radius-sm: 8px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

button { font-family: inherit; cursor: pointer; }

::selection { background: var(--accent); color: var(--bg); }

/* ============== Typography ============== */
.serif { font-family: var(--serif); font-weight: 700; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); font-size: 0.78em; letter-spacing: 0.04em; text-transform: uppercase; }

h1, h2, h3, h4 { margin: 0; font-weight: 500; letter-spacing: -0.02em; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow::before {
  content: "";
  width: 14px;
  height: 1px;
  background: var(--ink-3);
}

/* ============== Layout ============== */
.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { position: relative; }

.section-pad { padding: clamp(60px, 10vw, 140px) 0; }

.divider { height: 1px; background: var(--line); margin: 0; border: 0; }

/* ============== Buttons ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
  border: 1px solid transparent;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--accent); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-secondary:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-accent { background: var(--accent); color: var(--bg); }
.btn-accent:hover { background: var(--accent-deep); }
.btn .arrow { transition: transform 180ms ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-sm { padding: 9px 14px; font-size: 13px; }

/* ============== Nav ============== */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklch, var(--bg) 88%, transparent);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid color-mix(in oklch, var(--line) 70%, transparent);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px var(--pad);
  max-width: var(--maxw);
  margin: 0 auto;
  gap: 20px;
}
.nav-logo {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-logo-img {
  width: 28px;
  height: 28px;
  display: block;
}
.nav-logo .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  display: none;
  display: inline-block;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
}
.nav-links a {
  white-space: nowrap;
  color: var(--ink-2);
  position: relative;
  transition: color 160ms ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-platform .arrow { font-size: 0.85em; }
.nav-cta { display: flex; gap: 10px; align-items: center; }

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 3px;
  font-size: 11px;
  font-family: var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lang-switch button {
  border: 0;
  background: transparent;
  padding: 4px 10px;
  border-radius: 999px;
  color: var(--ink-3);
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  transition: background 160ms ease, color 160ms ease;
}
.lang-switch button.active { background: var(--ink); color: var(--bg); }

.country-dd { position: relative; display: inline-flex; }
.country-dd-toggle {
  display: inline-flex; align-items: center; gap: 6px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  border-radius: 999px;
  padding: 4px 9px 4px 7px;
  cursor: pointer;
  line-height: 0;
  transition: border-color 160ms ease;
}
.country-dd-toggle:hover { border-color: var(--ink); }
.cdd-caret { font-size: 9px; color: var(--ink-3); line-height: 1; }
.country-dd-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  min-width: 168px;
  box-shadow: 0 16px 44px rgba(12, 31, 26, 0.16);
  z-index: 200;
  display: flex; flex-direction: column; gap: 2px;
}
.country-dd-item {
  display: flex; align-items: center; gap: 10px;
  border: 0; background: transparent;
  padding: 8px 10px; border-radius: 8px;
  cursor: pointer; text-align: left;
  font-family: var(--sans); font-size: 13.5px; color: var(--ink-2);
  transition: background 140ms ease;
}
.country-dd-item:hover { background: var(--bg-2); }
.country-dd-item.active { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.country-dd-item .cdd-ext { margin-left: auto; color: var(--ink-3); font-size: 12px; }

.lang-dd { position: relative; display: inline-flex; }
.lang-dd-toggle {
  display: inline-flex; align-items: center; gap: 5px;
  border: 1px solid var(--line-2);
  background: var(--bg);
  border-radius: 999px;
  padding: 5px 10px;
  cursor: pointer;
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-2);
  transition: border-color 160ms ease;
}
.lang-dd-toggle:hover { border-color: var(--ink); }
.lang-dd-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 6px;
  min-width: 150px;
  box-shadow: 0 16px 44px rgba(12, 31, 26, 0.16);
  z-index: 200;
  display: flex; flex-direction: column; gap: 2px;
}
.lang-dd-item {
  display: flex; align-items: center; gap: 10px;
  border: 0; background: transparent;
  padding: 8px 10px; border-radius: 8px;
  cursor: pointer; text-align: left;
  font-family: var(--sans); font-size: 13.5px; color: var(--ink-2);
  transition: background 140ms ease;
}
.lang-dd-item:hover { background: var(--bg-2); }
.lang-dd-item.active { background: var(--accent-soft); color: var(--accent-deep); font-weight: 600; }
.lang-dd-item .ld-code { font-family: var(--mono); font-size: 11px; letter-spacing: 0.06em; color: var(--ink-3); text-transform: uppercase; min-width: 22px; }
.lang-dd-item.active .ld-code { color: var(--accent-deep); }
.flag-svg { border-radius: 2px; display: block; box-shadow: 0 0 0 1px rgba(12,31,26,0.12); }

@media (max-width: 1000px) {
  .nav-platform { display: none; }
}

@media (max-width: 1000px) {
  .nav-links { display: none; }
  .nav .nav-burger { display: flex; }
  .nav-cta > .country-dd,
  .nav-cta > .lang-dd,
  .nav-cta > .btn-primary { display: none; }
}

/* ---- Drawer country / language groups ---- */
.nav-mobile-group {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.nav-mobile-label {
  font-family: var(--mono, monospace);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.nav-mobile-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.nm-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: transparent;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.nm-chip:hover { color: var(--ink); border-color: var(--ink-2); }
.nm-chip.active {
  color: var(--accent-deep);
  border-color: var(--accent);
  background: var(--accent-soft);
}
.nm-chip .ld-code { text-transform: uppercase; font-size: 11px; letter-spacing: 0.06em; opacity: 0.75; }

/* ---- Burger button ---- */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--line-2);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  flex: 0 0 auto;
}
.nav-burger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 220ms ease, opacity 180ms ease;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---- Mobile menu panel ---- */
.nav-mobile {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  opacity: 0;
  transition: opacity 200ms ease;
}
.nav-mobile.open { pointer-events: auto; opacity: 1; }
.nav-mobile-backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in oklch, var(--ink) 38%, transparent);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.nav-mobile-menu {
  position: absolute;
  top: 0;
  right: 0;
  width: min(340px, 86vw);
  height: 100%;
  background: var(--bg);
  border-left: 1px solid var(--line);
  box-shadow: -24px 0 60px -30px rgba(12,31,26,0.4);
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 88px 26px 32px;
  transform: translateX(100%);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}
.nav-mobile.open .nav-mobile-menu { transform: translateX(0); }
.nav-mobile-menu a:not(.btn) {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  padding: 14px 4px;
  border-bottom: 1px solid color-mix(in oklch, var(--line) 70%, transparent);
}
.nav-mobile-menu a:not(.btn):hover { color: var(--accent-deep); }
.nav-mobile-menu .btn { margin-top: 10px; justify-content: center; }
.nav-mobile-menu .btn:first-of-type { margin-top: 22px; }

/* ============== Hero ============== */
.hero {
  padding: clamp(60px, 10vw, 120px) 0 clamp(40px, 7vw, 80px);
  position: relative;
  overflow: hidden;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(48px, 8.5vw, 116px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  margin-bottom: 28px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
  font-weight: 700;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
}
.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  color: var(--ink-2);
  max-width: 44ch;
  line-height: 1.5;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  margin-top: clamp(50px, 7vw, 90px);
  padding-top: 32px;
}
.hero-stat {
  padding: 0 24px 0 0;
  border-right: 1px solid var(--line);
}
.hero-stat:last-child { border-right: 0; }
.hero-stat .num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 4.5vw, 56px);
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
}
.hero-stat .num em { font-style: normal; color: var(--accent); }
.hero-stat .lbl {
  font-size: 12px;
  color: var(--ink-3);
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
@media (max-width: 800px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px 0; border-right: 0; }
  .hero-stat { border-right: 0; padding: 0; }
}

/* ============== Trust ribbon ============== */
.ribbon {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  background: var(--bg-2);
  overflow: hidden;
}
.ribbon-inner {
  display: flex;
  gap: 60px;
  white-space: nowrap;
  animation: marquee 60s linear infinite;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.ribbon-inner span { display: inline-flex; gap: 60px; }
.ribbon-inner span::after {
  content: "✦";
  color: var(--accent);
  margin-left: 60px;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============== Section header ============== */
.section-head {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(40px, 5vw, 70px);
}
.section-head h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(34px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
}
.section-head h2 em { font-style: normal; color: var(--accent); }
.section-head .desc {
  color: var(--ink-2);
  font-size: 16px;
  max-width: 52ch;
}
@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; }
}

/* ============== Cards ============== */
.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 220ms ease, transform 220ms ease, box-shadow 220ms ease;
}
.card:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

/* ============== Solutions Grid ============== */
.sol-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.sol-filter button {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  transition: all 180ms ease;
}
.sol-filter button:hover { color: var(--ink); border-color: var(--ink); }
.sol-filter button.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.sol-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
@media (max-width: 760px) { .sol-grid { grid-template-columns: 1fr; } }

.sol-card {
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.sol-card .sol-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}
.sol-card .sol-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}
.sol-card h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 4px 0 0;
}
.sol-card .sol-desc { color: var(--ink-2); font-size: 14.5px; }
.sol-card .sol-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}
.sol-card .chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 11.5px;
  color: var(--ink-2);
  font-family: var(--mono);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.sol-card .chip.hl { background: rgb(124, 201, 153); border-color: transparent; color: rgb(255, 255, 255); }
.sol-card .sol-kpi {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink);
}
.sol-card .sol-kpi span { color: var(--accent); }

.sol-card .expand-arrow {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  transition: all 180ms ease;
  flex-shrink: 0;
}
.sol-card:hover .expand-arrow {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

/* Modal for solution detail */
.modal-overlay {
  position: fixed; inset: 0;
  background: color-mix(in oklch, var(--ink) 50%, transparent);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  animation: fade 180ms ease;
}
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg);
  border-radius: var(--radius);
  max-width: 720px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  animation: lift 220ms cubic-bezier(0.2, 0.7, 0.2, 1);
}
@keyframes lift {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute; top: 18px; right: 18px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg);
  display: grid; place-items: center;
}
.modal-close:hover { background: var(--ink); color: var(--bg); }
.modal h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 38px;
  line-height: 1.05;
  margin-bottom: 12px;
}
.modal .modal-tag {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 8px;
}
.modal .modal-desc {
  color: var(--ink-2);
  font-size: 16px;
  margin: 16px 0 24px;
}
.modal-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
  margin: 24px 0;
}
.modal-stats > div { padding: 0 16px; border-right: 1px solid var(--line); }
.modal-stats > div:last-child { border-right: 0; }
.modal-stats .v {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 1;
}
.modal-stats .l {
  font-family: var(--mono);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-top: 4px;
}
.modal-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 10px 0; }
.modal-row .kbd {
  border: 1px solid var(--line);
  padding: 4px 10px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
}

/* ============== Inventory marquee ============== */
.inv {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(60px, 9vw, 110px) 0;
  position: relative;
  overflow: hidden;
}
.inv .section-head h2 { color: var(--bg); }
.inv .section-head .desc { color: oklch(0.78 0.012 60); }
.inv-rows { display: flex; flex-direction: column; gap: 9px; margin-top: 28px; }
.inv-rows.paused .inv-row { animation-play-state: paused; }
.inv-row {
  display: flex;
  white-space: nowrap;
  will-change: transform;
  gap: 14px;
}
.inv-row.r1 { animation: marquee 80s linear infinite; }
.inv-row.r2 { animation: marquee 100s linear infinite reverse; }
.inv-row.r3 { animation: marquee 120s linear infinite; }
.inv-tile {
  flex-shrink: 0;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 14px 22px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 18px;
  color: #ededed;
  background: rgba(255,255,255,0.04);
  letter-spacing: -0.01em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.inv-tile .pub-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
.inv-tile.alt {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.inv-tile.alt .pub-dot { background: var(--bg); }
.inv-tile.dim {
  opacity: 0.18;
  filter: grayscale(0.6);
  transition: opacity 220ms ease, filter 220ms ease;
}
.inv-tile.hi {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  box-shadow: 0 6px 18px -6px rgba(31,143,122,0.55);
  transition: all 220ms ease;
}
.inv-tile.hi .pub-dot { background: #fff; }
.inv-tile { transition: opacity 220ms ease, background 220ms ease, border-color 220ms ease, color 220ms ease, box-shadow 220ms ease; }

/* Static grid — shown only once a channel is selected */
.inv-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}
.inv-tile-static {
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 8px;
  white-space: nowrap;
  animation: inv-pop 260ms ease both;
}
@keyframes inv-pop { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.inv-empty {
  margin-top: 24px;
  padding: 46px 24px;
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.01em;
  color: oklch(0.72 0.01 70);
  border: 1px dashed rgba(255,255,255,0.16);
  border-radius: 14px;
  background: rgba(255,255,255,0.02);
}

.inv-filter-bar {
  display: flex;
  justify-content: center;
  margin-top: 22px;
  margin-bottom: 6px;
  min-height: 22px;
}
.inv-filter-status {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.62);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.inv-filter-status strong { color: var(--accent); font-family: var(--sans); font-size: 14px; font-weight: 700; letter-spacing: 0; }
.inv-filter-clear {
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.7);
  padding: 4px 10px;
  border-radius: 999px;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  margin-left: 10px;
  transition: all 160ms ease;
}
.inv-filter-clear:hover { border-color: var(--accent); color: var(--accent); }

.inv-channels {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
  margin-top: 36px;
  margin-bottom: 4px;
}
.inv-channel {
  border: 1px solid color-mix(in oklch, var(--bg) 14%, transparent);
  border-radius: 10px;
  padding: 18px;
}
.inv-channel-btn {
  background: transparent;
  cursor: pointer;
  text-align: left;
  font: inherit;
  color: inherit;
  transition: all 200ms ease;
  position: relative;
}
.inv-channel-btn:hover {
  border-color: var(--accent);
  background: rgba(31,143,122,0.08);
}
.inv-channel-btn.active {
  border-color: var(--accent);
  background: var(--accent);
  box-shadow: 0 0 0 2px rgba(31,143,122,0.35), 0 14px 32px -10px rgba(31,143,122,0.6);
  transform: translateY(-1px);
}
.inv-channel-btn.active .ic {
  background: rgba(255,255,255,0.18);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.35);
}
.inv-channel-btn.active .nm {
  color: #ffffff;
}
.inv-channel-btn.active .ct {
  color: rgba(255,255,255,0.9);
}
.inv-channel-btn.active::after {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: inset 0 0 0 3px var(--accent);
}
.inv-channel-btn::after {
  content: "";
  position: absolute;
  top: 10px; right: 10px;
  width: 14px; height: 14px;
  border-radius: 4px;
  border: 1.5px solid color-mix(in oklch, var(--bg) 30%, transparent);
  background: transparent;
  transition: all 180ms ease;
}
.inv-channel-btn.active::after {
  background: #ffffff;
  border-color: #ffffff;
  box-shadow: inset 0 0 0 3px var(--accent);
}
.inv-channel-btn { transition: all 220ms ease; }
.inv-channel .ic {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: color-mix(in oklch, var(--bg) 8%, transparent);
  display: grid; place-items: center;
  margin-bottom: 14px;
  color: var(--accent);
}
.inv-channel .nm {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 20px;
  line-height: 1;
  margin-bottom: 6px;
}
.inv-channel .ct {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: oklch(0.7 0.01 70);
}
@media (max-width: 900px) { .inv-channels { grid-template-columns: repeat(2, 1fr); } }

/* Per-country (e.g. France) inventory */
.inv-channel .inv-kpi {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 6px;
}
.inv-channel .ct + .inv-kpi { margin-top: 4px; }
.inv-coverage {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.78 0.012 60);
  margin-top: 22px;
}
.inv-dooh-band {
  margin-top: 26px;
  border: 1px solid color-mix(in oklch, var(--bg) 14%, transparent);
  border-radius: 14px;
  padding: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 30px;
}
.inv-dooh-stat { flex: 0 0 auto; }
.inv-dooh-stat .v {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
  color: #fff;
}
.inv-dooh-stat .l {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: oklch(0.72 0.012 60);
  margin-top: 8px;
}
.inv-places {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex: 1;
  min-width: 260px;
}
.inv-place {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.03em;
  padding: 5px 11px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: oklch(0.85 0.012 60);
}
@media (max-width: 760px) { .inv-dooh-band { flex-direction: column; align-items: flex-start; gap: 18px; } }

/* ============== Data Explorer ============== */
.data-mode-switch {
  display: inline-flex;
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.data-mode-switch button {
  border: 0;
  background: transparent;
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.005em;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 180ms ease;
  white-space: nowrap;
}
.data-mode-switch button:hover { color: var(--ink); }
.data-mode-switch button.active {
  background: var(--ink);
  color: var(--bg);
}

/* Persona Finder */
.persona-finder {
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: 18px;
  padding: 32px;
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
}
.persona-finder::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(900px 200px at 0% 0%, rgba(31,143,122,0.10), transparent 60%),
    radial-gradient(700px 220px at 100% 100%, rgba(124,201,153,0.10), transparent 60%);
  pointer-events: none;
}
.persona-head { position: relative; z-index: 1; margin-bottom: 18px; }
.persona-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 30px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 6px 0 6px;
  color: var(--ink);
}
.persona-intro {
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.45;
  max-width: 56ch;
}
.persona-body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 14px; }
.persona-input {
  width: 100%;
  border: 1px solid var(--line-2);
  border-radius: 14px;
  padding: 16px 18px;
  background: var(--bg-2);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.45;
  color: var(--ink);
  resize: vertical;
  min-height: 110px;
  transition: border-color 160ms ease, background 160ms ease;
}
.persona-input:focus {
  outline: none;
  border-color: var(--ink);
  background: var(--bg);
}
.persona-input::placeholder { color: var(--ink-3); font-style: italic; }
.persona-examples {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.persona-ex-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-right: 4px;
}
.persona-ex-chip {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 999px;
  padding: 7px 13px;
  font-family: var(--sans);
  font-size: 12.5px;
  color: var(--ink-2);
  cursor: pointer;
  transition: all 150ms ease;
  font-style: italic;
}
.persona-ex-chip:hover {
  border-color: var(--accent);
  color: var(--ink);
  background: var(--accent-soft);
}
.persona-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.persona-actions .btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.persona-results {
  position: relative;
  z-index: 1;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px dashed var(--line-2);
}
.persona-results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.persona-results-head > div { color: var(--ink-2); font-size: 14px; }
.persona-chip { display: inline-flex; align-items: center; gap: 6px; }
.persona-cat {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.7;
}

.data-tools {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.search {
  flex: 1;
  min-width: 240px;
  position: relative;
}
.search input {
  width: 100%;
  padding: 14px 18px 14px 44px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font: inherit;
  font-size: 15px;
  background: var(--bg);
  color: var(--ink);
  outline: none;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}
.search input:focus {
  border-color: var(--ink);
  box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 20%, transparent);
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ink-3);
}
.data-stats {
  display: flex;
  gap: 14px;
  font-family: var(--mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-3);
  align-items: center;
}
.data-stats strong { color: var(--ink); font-family: var(--sans); font-size: 16px; font-weight: 700; letter-spacing: -0.01em; }

.data-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 14px;
  min-height: 460px;
}
@media (max-width: 800px) { .data-grid { grid-template-columns: 1fr; } }

.data-cats {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  overflow: hidden;
  max-height: 540px;
  overflow-y: auto;
}
.data-cat {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  font-size: 13.5px;
  cursor: pointer;
  transition: background 160ms ease;
}
.data-cat:last-child { border-bottom: 0; }
.data-cat:hover { background: var(--bg-2); }
.data-cat.active { background: var(--ink); color: var(--bg); }
.data-cat .ct { font-family: var(--mono); font-size: 11px; opacity: 0.7; }

.data-segments {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
}
.data-segments h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.1;
  margin-bottom: 6px;
}
.data-segments .sub { color: var(--ink-2); font-size: 14px; margin-bottom: 18px; max-width: 60ch; }
.seg-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-height: 360px;
  overflow-y: auto;
  padding-right: 8px;
}
.seg-chip {
  border: 1px solid var(--line);
  background: var(--bg-2);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 160ms ease;
}
.seg-chip:hover { border-color: var(--ink); }
.seg-chip.selected {
  background: var(--accent);
  color: var(--bg);
  border-color: var(--accent);
}
.seg-empty {
  padding: 40px 0;
  text-align: center;
  color: var(--ink-3);
  font-style: italic;
}
.seg-cart {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

/* ============== ROI Calculator ============== */
.roi {
  background: var(--bg-2);
}
.roi-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(24px, 4vw, 60px);
}
@media (max-width: 880px) { .roi-grid { grid-template-columns: 1fr; } }

.roi-controls { display: flex; flex-direction: column; gap: 22px; }
.roi-field { display: flex; flex-direction: column; gap: 8px; }
.roi-field label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  display: flex;
  justify-content: space-between;
}
.roi-field label strong {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.roi-products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.roi-products button {
  border: 1px solid var(--line-2);
  background: var(--bg);
  padding: 10px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-2);
  transition: all 160ms ease;
}
.roi-products button:hover { border-color: var(--ink); color: var(--ink); }
.roi-products button.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }

input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--line);
  border-radius: 999px;
  outline: none;
}
input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 1px var(--ink);
}
input[type="range"]::-moz-range-thumb {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--ink);
  cursor: pointer;
  border: 4px solid var(--bg);
  box-shadow: 0 0 0 1px var(--ink);
}

.roi-result {
  background: var(--ink);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.roi-result .lbl {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: oklch(0.72 0.012 60);
}
.roi-result .big {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(56px, 8vw, 96px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  font-style: normal;
  color: var(--accent);
}
.roi-result .br {
  border-top: 1px solid color-mix(in oklch, var(--bg) 14%, transparent);
}
.roi-rows { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; }
.roi-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-size: 14px;
}
.roi-row .v {
  font-family: var(--sans);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.roi-row .l { color: oklch(0.78 0.012 60); }

/* ============== Sustainability — CARE Program ============== */
.care .care-acronym {
  margin-top: 16px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(18px, 1.9vw, 24px);
  line-height: 1.25;
  color: var(--ink);
  display: flex;
  flex-wrap: wrap;
  column-gap: 14px;
  row-gap: 2px;
}
.care-acro-word { white-space: nowrap; }
.care-acro-cap {
  color: var(--accent);
  font-weight: 800;
}
.care-amp { color: var(--ink-3); font-weight: 600; }

/* commitment cards */
.care-commit {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}
@media (max-width: 860px) { .care-commit { grid-template-columns: 1fr; } }
.care-commit-card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: border-color 200ms ease, transform 200ms ease, box-shadow 200ms ease;
}
.care-commit-card:hover {
  border-color: var(--green);
  transform: translateY(-2px);
  box-shadow: 0 18px 40px -22px rgba(31,143,122,0.45);
}
.care-commit-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.care-glyph {
  width: 40px; height: 40px;
  flex: 0 0 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: var(--green-soft);
  color: var(--accent-deep);
  font-size: 18px;
  line-height: 1;
}
.care-commit-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.care-commit-card h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 10px;
}
.care-commit-card p { color: var(--ink-2); font-size: 14.5px; line-height: 1.55; margin: 0; }
.care-badges { display: flex; gap: 8px; margin-top: 18px; }
.care-badge {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  color: var(--ink-2);
  background: var(--bg-2);
}
.care-badge.plat {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.care-hash {
  margin-top: 18px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--accent);
}

/* two approaches */
.care-approaches-head { margin-top: 64px; }
.care-approaches-head h3 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 8px;
}
.care-approaches-head p { color: var(--ink-2); font-size: 16px; margin: 0; }

.care-approaches {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 26px;
}
@media (max-width: 860px) { .care-approaches { grid-template-columns: 1fr; } }
.care-approach {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  padding: 30px;
  border-top: 3px solid var(--accent);
  display: flex;
  flex-direction: column;
}
.care-approach.elite { border-top-color: var(--green); }
.care-approach-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 18px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.care-approach-kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 4px;
}
.care-approach-name {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.care-approach-stat { text-align: right; flex: 0 0 auto; }
.care-approach-stat .v {
  font-family: var(--serif);
  font-weight: 800;
  font-size: 34px;
  line-height: 1;
  color: var(--accent);
  letter-spacing: -0.02em;
}
.care-approach-stat .l {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 4px;
}
.care-approach-pill {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-soft);
  color: var(--accent-deep);
  white-space: nowrap;
  flex: 0 0 auto;
}
.care-logic {
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin-bottom: 6px;
}
.care-approach.elite .care-logic { color: var(--accent-deep); }
.care-intro { color: var(--ink-2); font-size: 14.5px; line-height: 1.5; margin: 0 0 20px; }
.care-points { display: flex; flex-direction: column; gap: 16px; }
.care-point { display: flex; gap: 12px; }
.care-point-mark {
  flex: 0 0 9px;
  width: 9px; height: 9px;
  margin-top: 6px;
  border-radius: 2px;
  background: var(--accent);
  transform: rotate(45deg);
}
.care-approach.elite .care-point-mark { background: var(--green); }
.care-point-t { font-weight: 700; font-size: 15px; color: var(--ink); margin-bottom: 3px; line-height: 1.25; }
.care-point-d { color: var(--ink-3); font-size: 13.5px; line-height: 1.5; }
.care-foot {
  margin-top: 22px;
  background: var(--green-soft);
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 14px;
  color: var(--accent-deep);
  text-align: center;
}
.care-tagline {
  margin-top: 48px;
  text-align: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

/* ============== Models / Buying ============== */
.models-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 800px) { .models-grid { grid-template-columns: 1fr; } }
.model-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: all 220ms ease;
}
.model-card:hover { border-color: var(--ink); transform: translateY(-2px); }
.model-card .num {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 56px;
  line-height: 0.9;
  font-style: normal;
  color: var(--accent);
}
.model-card h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.05;
}
.model-card p { color: var(--ink-2); font-size: 14.5px; }
.model-card ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 6px; }
.model-card li {
  font-size: 13px;
  color: var(--ink-2);
  padding-left: 18px;
  position: relative;
}
.model-card li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ============== Testimonials ============== */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .testi-grid { grid-template-columns: 1fr; } }
.testi {
  padding: 32px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.testi .quote {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
  text-wrap: pretty;
}
.testi .quote::before { content: "“"; color: var(--accent); margin-right: 4px; }
.testi .who {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}
.testi .av {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--accent);
  display: grid; place-items: center;
  font-family: var(--sans);
  font-weight: 700;
  color: var(--bg);
  font-size: 15px;
  flex-shrink: 0;
}
.testi .nm { font-size: 14px; font-weight: 500; }
.testi .ti { font-size: 12px; color: var(--ink-3); }

/* ============== Case studies ============== */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 880px) { .case-grid { grid-template-columns: 1fr; } }
.case {
  padding: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 220ms ease;
  cursor: pointer;
}
.case:hover { transform: translateY(-3px); border-color: var(--ink); }
.case .case-img {
  aspect-ratio: 16/10;
  background: repeating-linear-gradient(135deg, var(--bg-2) 0 8px, var(--bg-3) 8px 16px);
  position: relative;
  display: grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.case.cl1 .case-img { background: linear-gradient(135deg, oklch(0.55 0.14 45), oklch(0.4 0.12 30)); }
.case.cl2 .case-img { background: linear-gradient(135deg, oklch(0.45 0.10 220), oklch(0.3 0.08 240)); }
.case.cl3 .case-img { background: linear-gradient(135deg, oklch(0.55 0.10 145), oklch(0.4 0.08 165)); }
.case .case-img .cs {
  font-family: var(--sans);
  font-weight: 800;
  font-size: 52px;
  font-style: normal;
  color: rgba(255,255,255,0.95);
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1;
}
.case .case-img .cs em { color: rgba(255,255,255,0.75); font-style: normal; font-size: 14px; font-family: var(--mono); display: block; letter-spacing: 0.08em; text-transform: uppercase; margin-top: 8px; }
.case .case-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.case .case-tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--accent);
  text-transform: uppercase;
}
.case h4 { font-family: var(--sans); font-weight: 700; font-size: 20px; line-height: 1.15; }
.case .case-desc { color: var(--ink-2); font-size: 14px; }
.case .case-results {
  display: flex;
  gap: 18px;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.case .case-results > div { display: flex; flex-direction: column; }
.case .case-results .v { font-family: var(--sans); font-weight: 700; font-size: 20px; line-height: 1; color: var(--ink); }
.case .case-results .l { font-size: 11px; color: var(--ink-3); margin-top: 4px; font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; }

/* ============== FAQ ============== */
.faq-list { border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  font: inherit;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 19px;
  letter-spacing: -0.01em;
  color: var(--ink);
  text-align: left;
  line-height: 1.3;
}
.faq-q:hover { color: var(--accent); }
.faq-q .plus {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--line-2);
  display: grid; place-items: center;
  flex-shrink: 0;
  transition: all 220ms ease;
  font-size: 16px;
  font-family: var(--sans);
  color: var(--ink);
}
.faq-item.open .faq-q .plus { background: var(--ink); color: var(--bg); transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 280ms ease;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.55;
}
.faq-a > div { white-space: pre-line; }
.faq-item.open .faq-a { max-height: 1200px; padding-bottom: 22px; }

/* FAQ category nav + groups */
.faq-cats {
  position: sticky;
  top: 64px;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 14px 0;
  margin-bottom: 24px;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.faq-cat {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
  font-family: var(--sans);
  letter-spacing: -0.005em;
  cursor: pointer;
  transition: all 160ms ease;
  white-space: nowrap;
}
.faq-cat:hover { border-color: var(--ink); color: var(--ink); }
.faq-cat.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.faq-group { margin-bottom: 56px; scroll-margin-top: 120px; }
.faq-group:last-child { margin-bottom: 0; }
.faq-group-title {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-3);
  margin: 0 0 8px;
}

/* ============== Contact / Lead form ============== */
.contact {
  background: var(--ink);
  color: var(--bg);
  padding: clamp(60px, 9vw, 110px) 0;
}
.contact .section-head h2 { color: var(--bg); }
.contact .section-head .desc { color: oklch(0.78 0.012 60); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(24px, 4vw, 60px);
}
@media (max-width: 880px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form {
  background: var(--bg);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 36px;
}
.cf-steps {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
}
.cf-step {
  flex: 1;
  height: 4px;
  border-radius: 999px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.cf-step.active { background: var(--ink); }
.cf-step.done { background: var(--accent); }

.cf-stage h4 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.15;
  margin-bottom: 6px;
}
.cf-stage .desc { color: var(--ink-2); font-size: 14px; margin-bottom: 22px; }
.cf-options { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.cf-options.col-1 { grid-template-columns: 1fr; }
.cf-options button, .cf-opt {
  text-align: left;
  border: 1px solid var(--line-2);
  background: var(--bg);
  padding: 14px;
  border-radius: 8px;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: all 160ms ease;
}
.cf-options button:hover, .cf-opt:hover { border-color: var(--ink); }
.cf-options button.selected, .cf-opt.selected {
  background: var(--ink); color: var(--bg); border-color: var(--ink);
}
.cf-options button .h, .cf-opt .h { font-weight: 500; font-size: 14px; line-height: 1.2; }
.cf-options button .s, .cf-opt .s { font-size: 12px; color: var(--ink-3); margin-top: 4px; }
.cf-options button.selected .s, .cf-opt.selected .s { color: oklch(0.78 0.012 60); }

.cf-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line-2);
  border-radius: 8px;
  font: inherit;
  font-size: 15px;
  background: var(--bg);
  outline: none;
  margin-bottom: 12px;
  font-family: var(--sans);
}
.cf-input:focus { border-color: var(--ink); box-shadow: 0 0 0 4px color-mix(in oklch, var(--accent) 20%, transparent); }
textarea.cf-input { min-height: 90px; resize: vertical; font-family: inherit; }

.cf-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  gap: 10px;
}
.cf-success {
  text-align: center;
  padding: 20px 0;
}
.cf-success .ok {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: grid; place-items: center;
  margin: 0 auto 18px;
  font-size: 28px;
  font-family: var(--sans);
  font-weight: 700;
}

.contact-info { display: flex; flex-direction: column; gap: 28px; }
.contact-info .ci-block { border-top: 1px solid color-mix(in oklch, var(--bg) 18%, transparent); padding-top: 20px; }
.contact-info h5 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: oklch(0.72 0.012 60);
  margin-bottom: 8px;
}
.contact-info .v { font-family: var(--sans); font-weight: 600; font-size: 18px; }
.contact-info .v a:hover { color: var(--accent); }

/* ============== Footer ============== */
.footer {
  background: var(--bg);
  padding: 60px 0 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 30px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}
@media (max-width: 800px) { .footer-top { grid-template-columns: 1fr 1fr; } }
.footer-brand { font-family: var(--sans); font-weight: 700; font-size: 22px; letter-spacing: -0.01em; }
.footer-brand p { color: var(--ink-2); font-size: 14px; max-width: 30ch; margin-top: 10px; font-family: var(--sans); }
.footer-col h6 {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--ink-2); font-size: 14px; }
.footer-col a:hover { color: var(--accent); }
.footer-bot {
  display: flex;
  justify-content: space-between;
  padding-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============== Reveals ============== */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 700ms ease, transform 700ms ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============== Models CTA ============== */
.models-cta {
  margin-top: 44px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  padding: 22px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--bg);
}
.models-cta p {
  font-size: 19px;
  color: var(--ink);
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.01em;
}
.models-cta .btn { flex: 0 0 auto; }
/* dark-section variant (e.g. Inventory) */
.models-cta-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.14);
}
.models-cta-dark p { color: #fff; }
@media (max-width: 640px) {
  .models-cta { justify-content: center; text-align: center; }
}

/* ============== Sticky CTA ============== */
.sticky-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 30;
  display: none;
}
.sticky-cta.show { display: block; animation: slideup 280ms ease; }
@keyframes slideup { from { transform: translateY(20px); opacity: 0; } to { transform: none; opacity: 1; } }

/* misc */
.kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.guarantee-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 500;
}
.guarantee-pill .pulse {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.3); }
}

/* ============== Chatbot ============== */
.mab-root {
  --mab-accent: var(--accent);
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1000;
  font-family: var(--sans);
}
.mab-launch {
  position: relative;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 0;
  background: var(--mab-accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px -8px color-mix(in oklab, var(--mab-accent) 60%, transparent), 0 2px 8px rgba(12,31,26,0.18);
  transition: transform 200ms ease, box-shadow 200ms ease;
  margin-left: auto;
}
.mab-launch:hover { transform: translateY(-2px) scale(1.04); }
.mab-launch:active { transform: scale(0.97); }
.mab-ic-close { display: none; }
.mab-launch-open .mab-ic-chat { display: none; }
.mab-launch-open .mab-ic-close { display: block; }
.mab-badge {
  position: absolute;
  top: 4px; right: 5px;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--green);
  border: 2px solid #fff;
  animation: pulse 1.6s ease-in-out infinite;
}

.mab-panel {
  position: absolute;
  right: 0;
  bottom: 74px;
  width: 374px;
  max-width: calc(100vw - 32px);
  height: 540px;
  max-height: calc(100vh - 120px);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 24px 60px -18px rgba(12,31,26,0.32), 0 4px 14px rgba(12,31,26,0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform-origin: bottom right;
  opacity: 0;
  transform: translateY(12px) scale(0.96);
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms cubic-bezier(0.22,1,0.36,1);
}
.mab-panel.mab-open {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.mab-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 14px;
  background: var(--mab-accent);
  color: #fff;
}
.mab-id { display: flex; align-items: center; gap: 12px; }
.mab-avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 700;
  font-size: 22px;
  line-height: 1;
}
.mab-title { font-weight: 600; font-size: 15px; letter-spacing: -0.01em; }
.mab-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 11.5px;
  opacity: 0.86;
  margin-top: 2px;
}
.mab-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 0 color-mix(in oklab, var(--green) 70%, transparent);
  animation: pulse 1.8s ease-in-out infinite;
}
.mab-close {
  border: 0;
  background: rgba(255,255,255,0.14);
  color: #fff;
  width: 30px; height: 30px;
  border-radius: 8px;
  font-size: 14px;
  display: flex; align-items: center; justify-content: center;
  transition: background 160ms ease;
}
.mab-close:hover { background: rgba(255,255,255,0.26); }

.mab-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--bg-2);
}
.mab-msg {
  max-width: 84%;
  padding: 10px 13px;
  border-radius: 14px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.mab-bot {
  align-self: flex-start;
  background: var(--bg);
  border: 1px solid var(--line);
  border-bottom-left-radius: 5px;
  color: var(--ink);
}
.mab-user {
  align-self: flex-end;
  background: var(--mab-accent);
  color: #fff;
  border-bottom-right-radius: 5px;
}
.mab-typing { display: flex; gap: 4px; align-items: center; padding: 14px 14px; }
.mab-typing span {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ink-3);
  opacity: 0.5;
  animation: mabBounce 1.2s infinite ease-in-out;
}
.mab-typing span:nth-child(2) { animation-delay: 0.18s; }
.mab-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes mabBounce {
  0%, 80%, 100% { transform: translateY(0); opacity: 0.4; }
  40% { transform: translateY(-4px); opacity: 0.9; }
}

.mab-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}
.mab-chip {
  border: 1px solid var(--line-2);
  background: var(--bg);
  color: var(--ink-2);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
  transition: border-color 160ms ease, color 160ms ease, background 160ms ease;
}
.mab-chip:hover {
  border-color: var(--mab-accent);
  color: var(--mab-accent);
  background: var(--bg);
}

.mab-foot {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 12px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.mab-input {
  flex: 1;
  resize: none;
  border: 1px solid var(--line-2);
  border-radius: 12px;
  padding: 10px 12px;
  font-family: var(--sans);
  font-size: 14px;
  line-height: 1.4;
  color: var(--ink);
  background: var(--bg);
  max-height: 96px;
  outline: none;
  transition: border-color 160ms ease;
}
.mab-input:focus { border-color: var(--mab-accent); }
.mab-send {
  width: 40px; height: 40px;
  flex: 0 0 auto;
  border: 0;
  border-radius: 11px;
  background: var(--mab-accent);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  transition: opacity 160ms ease, transform 160ms ease;
}
.mab-send:disabled { opacity: 0.4; cursor: default; }
.mab-send:not(:disabled):hover { transform: translateY(-1px); }

@media (max-width: 520px) {
  .mab-root { right: 16px; bottom: 16px; }
  .mab-panel { bottom: 70px; height: min(560px, calc(100vh - 100px)); }
}

