/* ===== Design tokens (charte Zynflow : identique à /agent-ia-valence/) ===== */
:root {
  --bg: #F7F5F1;
  --surface: #FFFFFF;
  --bg-elevated: #FFFFFF;
  --bg-elevated-2: #F4F2EE;
  --border: #E2DED6;
  --line: #ECE9E3;
  --text: #16191F;
  --text-2: #3A3E46;
  --text-muted: #5B5F68;
  --faint: #9A9DA4;
  --accent: #C49A4C;
  --accent-ink: #7A5A22;
  --accent-dim: #F6EEDD;
  --dark: #1B1F27;

  --font-head: 'Geist', Helvetica, Arial, sans-serif;
  --font-body: 'Geist', Helvetica, Arial, sans-serif;
  --font-mono: 'Geist Mono', ui-monospace, monospace;

  --container: 1200px;
  --radius: 6px;
  --shadow-sm: 0 1px 2px rgba(22, 25, 31, 0.06);
  --shadow-md: 0 14px 32px rgba(22, 25, 31, 0.10);

  --portal-green-bg: #F6EEDD;
  --portal-green-ink: #7A5A22;
  --portal-green-solid: #16191F;
  --portal-amber-bg: #F6EEDD;
  --portal-amber-ink: #7A5A22;
  --portal-red: #B4402C;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-ink); }

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

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Buttons (pilules) ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.btn-primary {
  background: var(--text);
  color: #FFFFFF;
  border-color: var(--text);
}
.btn-primary:hover { background: #2C313B; border-color: #2C313B; color: #FFFFFF; }

.btn-ghost {
  background: #FFFFFF;
  color: var(--text);
  border-color: #D9D5CD;
}
.btn-ghost:hover { border-color: var(--text); color: var(--text); }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 14px 32px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo:hover { color: inherit; }
.logo-tile {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: var(--dark);
  overflow: hidden;
  position: relative;
  display: block;
  flex-shrink: 0;
}
.logo-tile img {
  position: absolute;
  height: 68px;
  left: -37px;
  top: -10px;
}
.logo-word {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: 0.06em;
}

.nav-links {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: space-between;
  gap: 32px;
}

.nav-links > ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a.nav-link {
  font-size: 15px;
  font-weight: 400;
  color: var(--text);
}
.nav-links a.nav-link:hover { color: var(--accent-ink); }
.nav-links .btn { padding: 11px 20px; font-size: 15px; }

.has-dropdown { position: relative; }

.dropdown {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 10px;
  min-width: 280px;
  display: grid;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(4px);
  transition: opacity 0.15s ease, transform 0.15s ease, visibility 0.15s ease;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.dropdown a {
  display: block;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 14px;
  color: var(--text);
}
.dropdown a:hover { background: var(--bg-elevated-2); color: var(--text); }
.dropdown a .agent-desc {
  display: block;
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 2px;
}

.mobile-toggle { display: none; }

/* ===== Hero ===== */
.hero.wrap {
  padding: 96px 32px 72px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
}
.hero-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h1 {
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 860px;
  margin: 0 auto 24px;
  text-wrap: balance;
}

.hero .lede {
  max-width: 620px;
  margin: 0 auto 36px;
  color: var(--text-2);
  font-size: 18px;
  line-height: 1.55;
  text-wrap: pretty;
}

.hero-ctas {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.trust-line {
  margin-top: 28px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ===== Sections ===== */
section.wrap { padding: 72px 32px; }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 48px;
}
.section-head .eyebrow {
  font-family: var(--font-mono);
  color: var(--accent-ink);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: block;
}
.section-head h2 {
  font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 14px;
  text-wrap: balance;
}
.section-head p { color: var(--text-muted); font-size: 17px; text-wrap: pretty; }

/* ===== How it works (3 steps) ===== */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.step {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px 24px 30px;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, translate 0.25s ease;
}
.step:hover { box-shadow: var(--shadow-md); translate: 0 -4px; }

.step-num {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  border: 1.5px solid var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 22px;
}

.step-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  color: var(--accent-ink);
  background: var(--accent-dim);
  border-radius: 9px;
  padding: 8px;
}
.step-icon svg { width: 100%; height: 100%; }

.step h3 { font-size: 17px; font-weight: 500; letter-spacing: 0; margin-bottom: 8px; line-height: 1.3; }
.step p { color: var(--text-muted); font-size: 15px; line-height: 1.55; }

/* ===== Agent cards ===== */
.agents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 8px;
}

.agent-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px 24px 30px;
  display: flex;
  flex-direction: column;
  min-height: 190px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, translate 0.25s ease;
}
.agent-card:hover {
  box-shadow: var(--shadow-md);
  translate: 0 -4px;
}

.agent-tag {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--accent-ink);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.agent-card h3 { font-size: 17px; font-weight: 500; letter-spacing: 0; margin-bottom: 6px; }
.agent-card p { color: var(--text-muted); font-size: 15px; line-height: 1.55; margin-bottom: 18px; flex-grow: 1; }

.agent-card .card-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.agent-card:hover .card-link { color: var(--accent-ink); }

/* ===== Photo placeholder ===== */
.photo-placeholder {
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  background: var(--bg-elevated-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 48px 24px;
  color: var(--text-muted);
  text-align: center;
  min-height: 220px;
}
.photo-placeholder svg { width: 36px; height: 36px; opacity: 0.6; }
.photo-placeholder .ph-label { font-size: 14px; }

/* ===== CTA band ===== */
.cta-band {
  background: var(--bg-elevated-2);
  border-radius: var(--radius);
  padding: 80px 32px;
  text-align: center;
}
.cta-band h2 {
  font-size: clamp(30px, 3.6vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.025em;
  max-width: 760px;
  margin: 0 auto 16px;
  text-wrap: balance;
}
.cta-band p { color: var(--text-muted); font-size: 17px; margin: 0 auto 28px; max-width: 560px; text-wrap: pretty; }

/* ===== Zones d'intervention ===== */
.zones-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}
.zone-chip {
  padding: 7px 14px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-2);
}

/* ===== Brand note ===== */
.brand-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ===== Agent page: direct-answer lede ===== */
.direct-answer {
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid var(--accent);
  border-radius: var(--radius);
  padding: 18px 22px;
  max-width: 720px;
  margin: 0 auto 8px;
  text-align: left;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-2);
}

/* ===== Caractéristiques ===== */
.fact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.fact-single {
  max-width: 760px;
  margin: 0 auto;
}
.fact-single .fact-card li {
  font-size: 15px;
  margin-bottom: 2px;
}
.fact-single .fact-card ul { gap: 14px; }
.fact-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 26px 24px 30px;
  box-shadow: var(--shadow-sm);
}
.fact-card h3 {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.fact-card.does h3 { color: var(--accent-ink); }
.fact-card.doesnt h3 { color: var(--portal-red); }
.fact-card.prereq h3 { color: var(--text-muted); }
.fact-card ul { list-style: none; display: grid; gap: 10px; }
.fact-card li {
  font-size: 15px;
  color: var(--text-2);
  padding-left: 22px;
  position: relative;
  line-height: 1.55;
}
.fact-card.does li::before { content: ''; position: absolute; left: 0; top: 0.6em; width: 8px; height: 8px; background: var(--accent); }
.fact-card.doesnt li::before { content: '✕'; position: absolute; left: 0; color: var(--portal-red); font-weight: 700; }
.fact-card.prereq li::before { content: '—'; position: absolute; left: 0; color: var(--text-muted); }

/* ===== FAQ ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.faq-item {
  background: transparent;
  border-bottom: 1px solid var(--border);
  padding: 24px 0;
}
.faq-item h3 { font-size: 18px; font-weight: 500; letter-spacing: 0; margin-bottom: 10px; line-height: 1.3; }
.faq-item p { font-size: 16px; line-height: 1.6; color: var(--text-2); text-wrap: pretty; }

@media (max-width: 860px) {
  .fact-grid { grid-template-columns: 1fr; }
}

/* ===== Portal mockup ===== */
.portal-mock {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.portal-mock-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--bg-elevated-2);
}
.portal-mock-topbar span {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
}
.portal-mock-body {
  display: grid;
  grid-template-columns: 180px 1fr;
  min-height: 380px;
}
.portal-sidebar {
  border-right: 1px solid var(--line);
  padding: 20px 14px;
  background: var(--bg-elevated-2);
}
.portal-sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.portal-sidebar-logo .dot { width: 22px; height: 22px; border-radius: 6px; background: var(--dark); flex-shrink: 0; }
.portal-nav-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.portal-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.portal-nav-item.active {
  background: var(--portal-green-bg);
  color: var(--portal-green-ink);
  font-weight: 500;
}
.portal-nav-item .badge {
  background: var(--portal-red);
  color: white;
  font-size: 10.5px;
  font-weight: 600;
  padding: 1px 6px;
  border-radius: 999px;
}
.portal-main {
  padding: 22px 24px;
}
.portal-main h4 { font-size: 17px; margin-bottom: 4px; }
.portal-main .sub { font-size: 13px; color: var(--text-muted); margin-bottom: 18px; }
.portal-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}
.portal-tab {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  background: var(--bg-elevated-2);
  color: var(--text-muted);
}
.portal-tab.active { background: var(--text); color: #FFFFFF; }

.portal-columns { display: grid; grid-template-columns: 1fr 1.2fr; gap: 18px; }
.portal-list-item {
  padding: 12px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  margin-bottom: 6px;
  font-size: 12.5px;
}
.portal-list-item.selected {
  background: var(--bg-elevated-2);
  border-color: var(--line);
}
.portal-list-item .who { font-weight: 500; font-size: 13px; }
.portal-list-item .what { color: var(--text-muted); margin-top: 2px; }
.portal-list-item .status {
  display: inline-block;
  margin-top: 6px;
  font-size: 11px;
  color: var(--portal-amber-ink);
  background: var(--portal-amber-bg);
  padding: 2px 8px;
  border-radius: 999px;
}

.portal-detail {
  background: var(--bg-elevated-2);
  border-radius: var(--radius);
  padding: 16px;
}
.portal-detail-title { font-size: 14px; font-weight: 500; margin-bottom: 2px; }
.portal-detail-meta { font-size: 11.5px; color: var(--text-muted); margin-bottom: 14px; }
.portal-proposal-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 6px;
}
.portal-proposal-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  font-size: 12.5px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.portal-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.portal-btn {
  font-size: 12.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid #D9D5CD;
  background: #FFFFFF;
}
.portal-btn.validate { background: var(--portal-green-solid); color: white; border-color: var(--portal-green-solid); }
.portal-btn.refuse { color: var(--portal-red); border-color: var(--portal-red); }

@media (max-width: 720px) {
  .portal-mock-body { grid-template-columns: 1fr; }
  .portal-sidebar { display: none; }
  .portal-columns { grid-template-columns: 1fr; }
}

/* ===== Portal carousel ===== */
.portal-view-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 18px;
}
.portal-view-tab {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid #D9D5CD;
  background: #FFFFFF;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
}
.portal-view-tab.active {
  background: var(--text);
  color: #FFFFFF;
  border-color: var(--text);
}
.portal-view { display: none; }
.portal-view.active { display: block; }

.portal-greeting { font-size: 17px; margin-bottom: 2px; }
.portal-greeting-sub { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.portal-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: var(--portal-amber-bg);
  color: var(--portal-amber-ink);
  border-radius: var(--radius);
  padding: 10px 16px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 18px;
}
.portal-card-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.portal-agent-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px;
  background: var(--surface);
}
.portal-agent-card.is-upcoming { opacity: 0.55; }
.portal-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.portal-card-icon {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--portal-green-bg);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
}
.portal-card-badge {
  font-size: 10.5px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--portal-green-bg);
  color: var(--portal-green-ink);
}
.portal-card-badge.upcoming { background: var(--bg-elevated-2); color: var(--text-muted); }
.portal-agent-card .who { font-size: 13.5px; font-weight: 500; margin-bottom: 3px; }
.portal-agent-card .what { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.portal-agent-card .stat { font-size: 11.5px; color: var(--text-muted); }

@media (max-width: 480px) {
  .portal-card-grid { grid-template-columns: 1fr; }
}

/* ===== Footer (sombre, pleine largeur) ===== */
.site-footer {
  background: var(--dark);
  color: #B4B8C0;
  padding: 48px 32px 32px;
  margin-top: 72px;
  box-shadow: 0 0 0 100vmax var(--dark);
  clip-path: inset(0 -100vmax);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-brand .logo { margin-bottom: 14px; color: #FFFFFF; }
.footer-brand .logo:hover { color: #FFFFFF; }
.footer-brand p { color: #B4B8C0; font-size: 14px; max-width: 320px; }
.footer-brand .brand-note { color: #9A9DA4; margin-top: 8px; }
.footer-col h4 {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: 12px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a,
.footer-col button {
  font-size: 14px;
  color: #FFFFFF;
  background: none;
  border: 0;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.footer-col a:hover,
.footer-col button:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid #2E333C;
  font-size: 14px;
  color: #B4B8C0;
}

/* ===== Legal pages ===== */
.legal-content {
  max-width: 760px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text-2);
}
.legal-content h2 {
  font-size: 28px;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-top: 48px;
  margin-bottom: 14px;
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p { margin-bottom: 12px; color: var(--text-2); text-wrap: pretty; }
.legal-content strong { font-weight: 500; color: var(--text); }
.legal-content ul { margin: 0 0 12px 20px; }
.legal-content li { margin-bottom: 6px; }
.legal-content a { color: var(--accent-ink); text-decoration: underline; text-underline-offset: 3px; }
.legal-content a:hover { color: var(--text); }
.legal-content .btn { text-decoration: none; }
.legal-content .btn:hover { color: #FFFFFF; }

.cookie-list { border-top: 1px solid var(--border); margin: 8px 0 16px; }
.cookie-row { padding: 16px 0; border-bottom: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.cookie-row .top { display: flex; justify-content: space-between; gap: 16px; align-items: center; flex-wrap: wrap; }
.cookie-row .top span:first-child { font-weight: 500; color: var(--text); }
.cookie-row .desc { font-size: 15px; color: var(--text-muted); }
.tag-pill { font-size: 12px; font-weight: 500; color: var(--accent-ink); background: var(--accent-dim); border-radius: 999px; padding: 4px 10px; }

.legal-todo {
  background: var(--portal-amber-bg);
  color: var(--portal-amber-ink);
  border: 1.5px dashed var(--portal-amber-ink);
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
}

/* ===== Bandeau cookies ===== */
.zf-banner{position:fixed;left:16px;right:16px;bottom:16px;z-index:200;max-width:440px;background:#fff;border-radius:6px;box-shadow:0 18px 48px rgba(22,25,31,.18),0 1px 2px rgba(22,25,31,.08);border:1px solid var(--line);padding:24px;display:flex;flex-direction:column;gap:16px;color:var(--text)}
.zf-banner[hidden]{display:none}
.zf-banner .eyebrow{font-family:var(--font-mono);font-size:12px;color:var(--accent-ink);letter-spacing:.04em;text-transform:uppercase}
.zf-banner h2{font-size:19px;font-weight:500;letter-spacing:-.01em;line-height:1.25;margin-top:8px}
.zf-banner p{font-size:14px;line-height:1.55;color:var(--text-muted);margin-top:8px}
.zf-banner p a{text-decoration:underline;text-underline-offset:3px;color:var(--text)}
.zf-banner .prefs{border-top:1px solid var(--line)}
.zf-banner .prefs[hidden]{display:none}
.zf-banner .pref{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
.zf-banner .pref b{display:block;font-size:15px;font-weight:500}
.zf-banner .pref small{display:block;font-size:13px;color:var(--text-muted);margin-top:2px}
.zf-banner .always{font-size:12px;color:var(--faint);white-space:nowrap}
.zf-switch{flex-shrink:0;width:40px;height:24px;border-radius:999px;border:0;padding:0;background:#D9D5CD;position:relative;cursor:pointer;transition:background .2s}
.zf-switch::after{content:'';position:absolute;top:3px;left:3px;width:18px;height:18px;border-radius:50%;background:#fff;transition:left .2s;box-shadow:0 1px 2px rgba(22,25,31,.25)}
.zf-switch[aria-checked="true"]{background:var(--text)}
.zf-switch[aria-checked="true"]::after{left:19px}
.zf-actions{display:flex;gap:8px;flex-wrap:wrap}
.zf-actions button{flex:1;text-align:center;border-radius:999px;padding:11px 16px;font-family:inherit;font-size:14px;font-weight:500;white-space:nowrap;cursor:pointer;transition:background .2s,border-color .2s}
.zf-actions .refuse{background:#fff;color:var(--text);border:1px solid #D9D5CD}
.zf-actions .refuse:hover{border-color:var(--text)}
.zf-actions .accept{background:var(--text);color:#fff;border:1px solid var(--text)}
.zf-actions .accept:hover{background:#2C313B}
.zf-banner .more{align-self:center;background:none;border:0;padding:0;cursor:pointer;font-family:inherit;font-size:14px;color:var(--text-muted);text-decoration:underline;text-underline-offset:3px}
.zf-banner .more:hover{color:var(--text)}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .step, .agent-card { transition: none; }
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .nav { padding: 14px 20px; gap: 16px; }
  .hero.wrap { padding: 56px 20px 48px; }
  section.wrap { padding: 48px 20px; }
  .site-footer { padding-left: 20px; padding-right: 20px; }
  .nav-links { display: none; }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid #D9D5CD;
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--text);
    font-size: 18px;
    cursor: pointer;
  }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #FFFFFF;
    border-bottom: 1px solid var(--line);
    padding: 16px 20px 24px;
    gap: 16px;
  }
  .nav-links.open > ul { flex-direction: column; align-items: stretch; gap: 4px; }
  .nav-links.open .btn { justify-content: center; }
  .dropdown {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    display: none;
    min-width: 0;
    border: none;
    box-shadow: none;
    padding: 4px 0 4px 12px;
  }
  .has-dropdown.open .dropdown { display: grid; }
}
