/* ============================================================================
   PIE360 — Landing page
   Design system: Microsoft Copilot Studio-inspired (see DESIGN.md)
   ========================================================================== */

:root {
  /* Color */
  --bg: #fffdfb;
  --surface: #ffffff;
  --surface-2: #f6f8fb;
  --ink-surface: #091f2c;
  --ink-surface-2: #06161f;
  --text: #17253d;
  --text-muted: #46566a;
  --text-on-dark: #eaf1f6;
  --text-on-dark-muted: #aebcc7;
  --accent: #0067b8;
  --accent-700: #005597;
  --accent-800: #004275;
  --accent-link: #005597;
  --accent-50: #e6f2fb;
  --accent-100: #dceef8;
  --border: #e7e3dd;
  --border-strong: #d8d3cc;
  --success: #107c41;
  --warn: #9a6700;

  /* Typography */
  --font-display: "Segoe UI Variable Display", "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing (12px base grid) */
  --s-1: 12px; --s-2: 24px; --s-3: 36px; --s-4: 48px; --s-6: 72px; --s-8: 96px;

  /* Radius */
  --r-btn: 8px;
  --r-sm: 10px;
  --r-card: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  /* Elevation (tinted, from source) */
  --shadow-low: rgba(0,0,0,0.12) 0 0 2px 0, rgba(0,0,0,0.14) 0 2px 4px 0;
  --shadow-mid: rgba(0,0,0,0.09) 0 4px 9px 0, rgba(0,0,0,0.06) 0 1px 2px 0;
  --shadow-hi:  rgba(9,31,44,0.14) 0 24px 48px -16px, rgba(9,31,44,0.10) 0 8px 20px -10px;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 520ms;

  /* z-index scale */
  --z-header: 100;
  --z-mobilenav: 90;

  --maxw: 1180px;
}

/* ── Reset / base ────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--text); margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.35rem + 4.1vw, 4.25rem); line-height: 1.03; letter-spacing: -0.038em; }
h2 { font-size: clamp(1.95rem, 1.3rem + 2.3vw, 2.85rem); line-height: 1.08; letter-spacing: -0.032em; }
h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -0.015em; font-weight: 600; }
p  { margin: 0; }
a  { color: var(--accent-link); text-decoration: none; }
a:hover { color: var(--accent-700); }
img, svg { display: block; max-width: 100%; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: clamp(20px, 4vw, 40px); }

.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;
}
.skip-link {
  position: absolute; left: 12px; top: -48px; z-index: 200;
  background: var(--surface); color: var(--text); padding: 10px 16px;
  border-radius: var(--r-btn); box-shadow: var(--shadow-low);
  transition: top 160ms var(--ease-out);
}
.skip-link:focus { top: 12px; }

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

/* ── Buttons ─────────────────────────────────────────────────────────────── */
.btn {
  --btn-pad-y: 10px; --btn-pad-x: 18px;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600;
  line-height: 1.2; letter-spacing: -0.01em;
  padding: var(--btn-pad-y) var(--btn-pad-x);
  border-radius: var(--r-btn); border: 1px solid transparent;
  cursor: pointer; white-space: nowrap;
  transition: background 180ms var(--ease-out), color 180ms var(--ease-out),
              border-color 180ms var(--ease-out), box-shadow 180ms var(--ease-out),
              transform 180ms var(--ease-out);
}
.btn-lg { --btn-pad-y: 14px; --btn-pad-x: 26px; font-size: 1rem; min-height: 50px; }
.btn:active { transform: translateY(1px); }

.btn-primary { background: var(--accent); color: #fff; box-shadow: 0 1px 2px rgba(0,103,184,0.35); }
.btn-primary:hover { background: var(--accent-700); color: #fff; box-shadow: 0 6px 16px -6px rgba(0,103,184,0.6); }

.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--border-strong); box-shadow: var(--shadow-low); }
.btn-secondary:hover { background: var(--surface-2); color: var(--text); border-color: var(--accent); }

.btn-ghost { background: transparent; color: var(--text); padding-inline: 12px; }
.btn-ghost:hover { color: var(--accent-700); background: var(--accent-50); }

.btn-on-dark { background: #fff; color: var(--ink-surface); }
.btn-on-dark:hover { background: var(--accent-100); color: var(--ink-surface); }

/* ── Header ──────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 220ms var(--ease-out), box-shadow 220ms var(--ease-out), background 220ms var(--ease-out);
}
.site-header.is-elevated { border-bottom-color: var(--border); box-shadow: 0 1px 0 rgba(23,37,61,0.03), var(--shadow-low); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 68px; }

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-weight: 600; }
.brand:hover { color: var(--text); }
.brand-logo { height: 40px; width: auto; display: block; }
.brand-logo-footer { height: 36px; }
@media (max-width: 460px) { .brand-logo { height: 32px; } }
.brand-mark { flex: none; filter: drop-shadow(0 1px 2px rgba(0,103,184,0.25)); }
.brand-name { font-family: var(--font-display); font-size: 1.32rem; font-weight: 600; letter-spacing: -0.02em; }
.brand-360 { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 28px; margin-inline-start: 12px; }
.nav a { color: var(--text-muted); font-size: 0.95rem; font-weight: 500; position: relative; padding: 6px 0; }
.nav a:hover { color: var(--text); }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px;
  background: var(--accent); border-radius: 2px; transform: scaleX(0); transform-origin: left;
  transition: transform 220ms var(--ease-out);
}
.nav a:hover::after { transform: scaleX(1); }

.header-actions { margin-inline-start: auto; display: flex; align-items: center; gap: 10px; }

.menu-toggle {
  display: none; margin-inline-start: auto; flex-direction: column; gap: 5px;
  width: 44px; height: 44px; padding: 11px; background: transparent; border: 1px solid var(--border); border-radius: var(--r-btn); cursor: pointer;
}
.menu-toggle span { height: 2px; background: var(--text); border-radius: 2px; transition: transform 200ms var(--ease-out), opacity 200ms var(--ease-out); }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hidden by default (and respects the [hidden] attribute the JS toggles).
   The previous `display:flex` overrode [hidden], so it showed on desktop too. */
.mobile-nav {
  display: none; flex-direction: column; gap: 4px;
  padding: 12px clamp(20px, 4vw, 40px) 20px;
  border-top: 1px solid var(--border); background: var(--bg);
}
.mobile-nav:not([hidden]) { display: flex; }
.mobile-nav a { padding: 12px 8px; color: var(--text); font-weight: 500; border-radius: var(--r-sm); }
.mobile-nav a:hover { background: var(--surface-2); }
.mobile-cta { margin-top: 8px; }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; padding-top: clamp(40px, 6vw, 84px); padding-bottom: clamp(36px, 5vw, 64px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 78% 8%, rgba(0,103,184,0.10), transparent 70%),
    radial-gradient(50% 40% at 8% 0%, rgba(0,103,184,0.06), transparent 70%);
}
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { max-width: 36rem; }
.hero-eyebrow { margin-bottom: 18px; line-height: 1.3; }
.he-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.45rem; letter-spacing: -0.02em; color: var(--accent);
}
.he-full {
  font-size: 0.95rem; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.01em;
}
.hero h1 { margin-bottom: 18px; }
.hero-sub { font-size: clamp(1.05rem, 0.98rem + 0.4vw, 1.22rem); color: var(--text-muted); max-width: 34rem; margin-bottom: 28px; text-wrap: pretty; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-note { margin-top: 18px; font-size: 0.88rem; color: var(--text-muted); }

/* Product visual */
.hero-visual { perspective: 1600px; }
.window {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-hi); overflow: hidden;
  transform: rotateY(-7deg) rotateX(2deg); transform-origin: center;
}
.window-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.window-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: #d8d3cc; }
.window-title { margin-inline-start: 10px; font-size: 0.8rem; color: var(--text-muted); font-weight: 500; }
.window-body { padding: 20px; }

.qc-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.qc-rfq { font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; }
.qc-meta { font-size: 0.82rem; color: var(--text-muted); }
.ai-chip { display: inline-flex; align-items: center; gap: 7px; font-size: 0.78rem; font-weight: 600; color: var(--accent-700); background: var(--accent-50); padding: 5px 11px; border-radius: var(--r-pill); white-space: nowrap; }
.ai-spark { width: 10px; height: 10px; border-radius: 2px; background: conic-gradient(from 45deg, var(--accent), #54a5e2, var(--accent)); }

.qc-table { border: 1px solid var(--border); border-radius: var(--r-card); overflow: hidden; }
.qc-row { display: grid; grid-template-columns: 1.1fr 1fr 1.2fr; align-items: center; padding: 11px 14px; }
.qc-row + .qc-row { border-top: 1px solid var(--border); }
.qc-vendors { background: var(--surface-2); }
.qc-label { font-size: 0.8rem; color: var(--text-muted); }
.qc-vendor { font-weight: 600; font-size: 0.86rem; }
.qc-pick { color: var(--accent-700); display: flex; flex-direction: column; }
.qc-pick em { font-style: normal; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.02em; color: var(--success); }
.qc-cell { font-size: 0.92rem; font-weight: 600; }
.qc-sub { font-size: 0.72rem; color: var(--text-muted); font-weight: 500; }
.qc-best { color: var(--success); }

.qc-flag {
  display: flex; align-items: flex-start; gap: 9px; margin-top: 14px;
  padding: 11px 13px; border-radius: var(--r-sm);
  background: #fff7e6; color: #7a4f00; font-size: 0.82rem; line-height: 1.45;
}
.qc-flag svg { flex: none; margin-top: 1px; color: var(--warn); }

/* Hero flow visual: broadcast -> AI-detected quote -> AI comparison */
.window-body.flow { padding: 18px; display: flex; flex-direction: column; gap: 16px; }
.flow-step { display: grid; grid-template-columns: 26px 1fr; gap: 13px; align-items: start; position: relative; }
.flow-step:not(:last-child)::before {
  content: ""; position: absolute; left: 12px; top: 30px; bottom: -16px;
  width: 2px; background: var(--border); border-radius: 2px;
}
.flow-badge {
  width: 26px; height: 26px; border-radius: 9px; flex: none;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.85rem;
  color: #fff; background: var(--accent); box-shadow: 0 2px 6px -2px rgba(0,103,184,0.6);
}
.flow-card { background: var(--surface-2); border: 1px solid var(--border); border-radius: 13px; padding: 12px 14px; }
.fc-label { display: block; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.03em; color: var(--accent-700); margin-bottom: 5px; text-transform: uppercase; }
.fc-title { font-family: var(--font-display); font-weight: 600; font-size: 0.98rem; color: var(--text); }
.fc-sub { font-size: 0.86rem; color: var(--text-muted); margin-top: 2px; }
.fc-sub b, .detect-chip b, .rank-row span { color: var(--text); font-weight: 600; }
.fc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.fc-head .fc-label { margin-bottom: 0; }
.msg-bubble { background: var(--surface); border: 1px solid var(--border); border-radius: 12px; border-top-left-radius: 4px; padding: 9px 12px; font-size: 0.88rem; color: var(--text); box-shadow: var(--shadow-low); }
.detect-chip { display: inline-flex; align-items: center; gap: 7px; margin-top: 9px; padding: 6px 11px; border-radius: var(--r-pill); background: var(--accent-50); color: var(--accent-700); font-size: 0.8rem; font-weight: 600; }
.rank { display: grid; gap: 5px; }
.rank-row { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; font-size: 0.86rem; }
.rk-win { font-size: 0.74rem; font-weight: 700; color: var(--success); white-space: nowrap; }
.rk-mut { font-size: 0.74rem; font-weight: 600; color: var(--text-muted); white-space: nowrap; }
.rank-bar { height: 7px; border-radius: 5px; background: #e7ecf2; overflow: hidden; margin-bottom: 7px; }
.rank-bar i { display: block; height: 100%; border-radius: 5px; background: linear-gradient(90deg, var(--accent), #3393dd); }
.rank-win i { background: linear-gradient(90deg, var(--success), #3aa56a); }

/* Channel band */
.channels {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px;
  margin-top: clamp(40px, 5vw, 64px); padding-top: 28px; border-top: 1px solid var(--border);
}
.channels-label { font-size: 0.85rem; color: var(--text-muted); font-weight: 500; }
.channels-list { display: flex; flex-wrap: wrap; gap: 12px 26px; }
.channels-list li { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem; color: var(--text); }
.chan-ic { width: 20px; height: 20px; flex: none; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-head { max-width: 42rem; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head h2 { margin-bottom: 14px; }
.section-lead { font-size: 1.08rem; color: var(--text-muted); text-wrap: pretty; max-width: 40rem; }

/* How it works */
.how { background: var(--surface-2); border-block: 1px solid var(--border); }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; counter-reset: step; }
.step { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px 24px; box-shadow: var(--shadow-low); }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 11px; margin-bottom: 16px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.1rem;
  color: var(--accent-700); background: var(--accent-50);
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--text-muted); font-size: 0.96rem; }

/* Platform */
.feature-lead {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 4vw, 56px);
  align-items: center; margin-bottom: clamp(36px, 5vw, 60px);
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: clamp(26px, 4vw, 48px); box-shadow: var(--shadow-low);
}
.feature-lead-copy h3 { font-size: 1.5rem; margin-bottom: 14px; letter-spacing: -0.02em; }
.feature-lead-copy > p { color: var(--text-muted); margin-bottom: 20px; }
.ticks { display: grid; gap: 11px; }
.ticks li { position: relative; padding-inline-start: 30px; color: var(--text); font-size: 0.96rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--accent-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%230067b8' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.ticks-light li { color: var(--text-on-dark); }
.ticks-light li::before { background-color: rgba(255,255,255,0.14); }

.mini-rank { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--r-card); padding: 22px; }
.mini-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 7px; font-size: 0.9rem; }
.mini-row span { font-weight: 600; }
.mini-row b { font-size: 0.74rem; font-weight: 700; color: var(--success); letter-spacing: 0.01em; }
.mini-row b.muted { color: var(--text-muted); font-weight: 600; }
.mini-bar { height: 8px; border-radius: 6px; background: #e7ecf2; overflow: hidden; margin-bottom: 18px; }
.mini-bar:last-child { margin-bottom: 0; }
.mini-bar i { display: block; height: 100%; border-radius: 6px; background: linear-gradient(90deg, var(--accent), #3393dd); }
.mini-win + .mini-bar i { background: linear-gradient(90deg, var(--success), #3aa56a); }

.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; }
.tile { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card); padding: 28px 24px; transition: box-shadow 220ms var(--ease-out), transform 220ms var(--ease-out), border-color 220ms var(--ease-out); }
.tile:hover { box-shadow: var(--shadow-mid); transform: translateY(-3px); border-color: var(--border-strong); }
.tile-ic { display: inline-flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: 13px; background: var(--accent-50); color: var(--accent); margin-bottom: 16px; }
.tile h3 { margin-bottom: 8px; }
.tile p { color: var(--text-muted); font-size: 0.95rem; }

/* Agents (dark) */
.agents { background: var(--ink-surface); color: var(--text-on-dark); }
.agents-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.agents h2 { color: #fff; }
.agents .section-lead { color: var(--text-on-dark-muted); margin-bottom: 22px; }
.agents-copy .btn-on-dark { margin-top: 26px; }

.chat { display: grid; gap: 12px; background: var(--ink-surface-2); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--shadow-hi); }
.chat-msg { padding: 12px 15px; border-radius: 14px; font-size: 0.92rem; line-height: 1.5; max-width: 86%; }
.chat-in { align-self: flex-end; background: var(--accent); color: #fff; border-bottom-right-radius: 5px; }
.chat-bot { align-self: flex-start; background: rgba(255,255,255,0.07); color: var(--text-on-dark); border: 1px solid rgba(255,255,255,0.09); border-bottom-left-radius: 5px; position: relative; padding-left: 38px; }
.chat-bot b { color: #fff; }
.bot-spark { position: absolute; left: 13px; top: 14px; width: 14px; height: 14px; border-radius: 4px; background: conic-gradient(from 45deg, #54a5e2, #fff, #54a5e2); }
.powered-by { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.01em; color: var(--text-on-dark-muted); }
.pb-ic { width: 16px; height: 16px; flex: none; }

/* Security */
.sec-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.sec-item { background: var(--surface); padding: 30px 26px; }
.sec-item h3 { margin-bottom: 8px; }
.sec-item p { color: var(--text-muted); font-size: 0.95rem; }

/* Tech suite bar */
.techbar { background: var(--surface-2); border-block: 1px solid var(--border); padding-block: clamp(40px, 5vw, 64px); }
.techbar-label { text-align: center; color: var(--text-muted); font-size: 0.95rem; font-weight: 500; margin-bottom: 28px; }
.tech-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.tech-item {
  display: flex; align-items: center; gap: 13px; padding: 14px 20px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-card);
  box-shadow: var(--shadow-low); cursor: default;
  transition: transform 0.24s var(--ease-out), box-shadow 0.24s var(--ease-out), border-color 0.24s var(--ease-out);
}
.tech-item:hover, .tech-item:focus-visible { transform: translateY(-4px); box-shadow: var(--shadow-mid); border-color: var(--border-strong); }
.tech-logo { display: grid; place-items: center; width: 32px; height: 32px; flex: none; }
.tech-logo svg { width: 30px; height: 30px; transition: transform 0.28s var(--ease-out); }
.tech-item:hover .tech-logo svg, .tech-item:focus-visible .tech-logo svg { transform: scale(1.1); }
.tech-meta { display: flex; flex-direction: column; line-height: 1.25; }
.tech-name { font-weight: 600; font-size: 0.92rem; color: var(--text); letter-spacing: -0.01em; }
.tech-role { font-size: 0.78rem; color: var(--text-muted); }
@media (prefers-reduced-motion: reduce) { .tech-item:hover, .tech-item:focus-visible { transform: none; } }

/* CTA band */
.cta-band { background: linear-gradient(160deg, var(--ink-surface), var(--accent-800)); color: #fff; padding-block: clamp(56px, 8vw, 100px); }
.cta-inner { max-width: 44rem; margin-inline: auto; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band > .cta-inner > p { color: var(--text-on-dark-muted); font-size: 1.08rem; margin-bottom: 26px; }
.cta-form { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.cta-form input {
  flex: 1 1 280px; max-width: 360px; min-height: 50px; padding: 12px 16px;
  font: inherit; font-size: 1rem; color: var(--text); background: #fff;
  border: 1px solid transparent; border-radius: var(--r-btn);
}
.cta-form input::placeholder { color: #7b8794; }
.cta-form input:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.cta-fineprint { margin-top: 16px; font-size: 0.85rem; color: var(--text-on-dark-muted); }

/* Footer */
.site-footer { background: var(--ink-surface); color: var(--text-on-dark-muted); padding-top: clamp(48px, 6vw, 72px); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 36px; padding-bottom: 40px; }
.brand-on-dark { color: #fff; } .brand-on-dark:hover { color: #fff; }
.brand-360-dark { color: var(--accent-100); }
.footer-tagline { margin-top: 14px; max-width: 22rem; font-size: 0.95rem; }
.footer-col h4 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--text-on-dark-muted); margin-bottom: 14px; font-weight: 600; }
.footer-col a { display: block; padding: 5px 0; color: var(--text-on-dark); font-size: 0.95rem; }
.footer-col a:hover { color: var(--accent-100); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-block: 22px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 0.85rem; }
.footer-bottom p { color: var(--text-on-dark-muted); }

/* ── Motion: scroll reveal ───────────────────────────────────────────────── */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out); will-change: opacity, transform; }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1 !important; transform: none !important; transition: none !important; }
  .window { transform: none; }
  .btn:active { transform: none; }
  * { scroll-behavior: auto !important; }
}

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 940px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { max-width: 40rem; }
  .hero-visual { max-width: 540px; }
  .window { transform: none; }
  .feature-lead { grid-template-columns: 1fr; }
  .agents-grid { grid-template-columns: 1fr; }
}

/* Desktop: the mobile dropdown never shows, regardless of toggle state. */
@media (min-width: 721px) {
  .mobile-nav { display: none !important; }
}

@media (max-width: 720px) {
  .nav, .header-actions { display: none; }
  .menu-toggle { display: flex; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
  .qc-row { grid-template-columns: 1fr 0.9fr 1fr; padding-inline: 11px; }
  .channels { gap: 12px; }
}
