/* Voxpou — shared styles */
:root {
  --ink: #10142a;
  --ink-2: #2a3150;
  --muted: #5b6480;
  --paper: #f6f7fb;
  --card: #ffffff;
  --line: #e3e6ef;
  --night: #120f3a;
  --night-2: #1c1757;
  --indigo: #4338ca;
  --indigo-deep: #3329a8;
  --indigo-soft: #ecebfd;
  --lilac: #b9b4ff;
  --amber: #f2a93b;
  --amber-soft: #fdf1dc;
  --green: #16a34a;
  --radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3 {
  font-family: "Bricolage Grotesque", "Public Sans", system-ui, sans-serif;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0 0 0.55em;
  font-weight: 700;
}
h1 { font-size: clamp(2.6rem, 6.4vw, 5rem); letter-spacing: -0.04em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); letter-spacing: -0.03em; }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: 66ch; }
a { color: var(--indigo); text-underline-offset: 3px; }
a:hover { color: var(--indigo-deep); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; border-radius: 6px; }
img, svg { max-width: 100%; }

.wrap { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 247, 251, 0.86); backdrop-filter: saturate(160%) blur(12px); -webkit-backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-block: 14px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.4rem; letter-spacing: -0.035em; }
.brand:hover { color: inherit; }
.brand svg { display: block; }
nav ul { list-style: none; display: flex; gap: 26px; margin: 0; padding: 0; flex-wrap: wrap; align-items: center; }
nav a { color: var(--ink-2); text-decoration: none; font-size: 0.94rem; font-weight: 500; }
nav a:hover, nav a[aria-current="page"] { color: var(--indigo); }
nav a[aria-current="page"] { text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
nav .nav-cta { background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 999px; }
nav .nav-cta:hover { background: var(--indigo); color: #fff; }

.home .site-header { background: rgba(18, 15, 58, 0.72); border-bottom-color: rgba(255, 255, 255, 0.08); }
.home .brand { color: #fff; }
.home nav a { color: rgba(255, 255, 255, 0.78); }
.home nav a:hover { color: #fff; }
.home nav .nav-cta { background: #fff; color: var(--night); }
.home nav .nav-cta:hover { background: var(--amber); color: var(--night); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--indigo); color: #fff; padding: 14px 24px; border-radius: 999px; font-weight: 600; font-size: 1rem; text-decoration: none; border: 1.5px solid var(--indigo); transition: background 0.2s, border-color 0.2s, color 0.2s; }
.btn:hover { background: var(--indigo-deep); border-color: var(--indigo-deep); color: #fff; }
.btn.light { background: #fff; color: var(--night); border-color: #fff; }
.btn.light:hover { background: var(--amber); border-color: var(--amber); color: var(--night); }
.btn.outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn.outline-light:hover { border-color: #fff; background: rgba(255, 255, 255, 0.08); color: #fff; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 30px; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  color: #fff;
  background:
    radial-gradient(60% 55% at 78% 8%, rgba(99, 88, 255, 0.55), transparent 70%),
    radial-gradient(40% 40% at 8% 30%, rgba(242, 169, 59, 0.16), transparent 70%),
    linear-gradient(180deg, var(--night) 0%, var(--night-2) 62%, #241e6b 100%);
  padding-top: clamp(56px, 9vw, 112px);
  margin-top: -73px;
  padding-bottom: 0;
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.13) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
          mask-image: linear-gradient(180deg, #000 0%, transparent 70%);
}
.hero-copy { text-align: center; padding-top: 72px; }
.hero-copy h1 { max-width: 15ch; margin-inline: auto; }
.hero .lede { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: rgba(255, 255, 255, 0.74); max-width: 54ch; margin: 0 auto; }
.hero .actions { justify-content: center; }
.platform-note { display: inline-flex; align-items: center; gap: 8px; margin-top: 26px; font-size: 0.88rem; color: rgba(255, 255, 255, 0.6); }
.platform-note i { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, 0.18); }

/* product mock */
.stage { position: relative; margin-top: clamp(48px, 7vw, 80px); perspective: 1800px; }
.stage::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 38%; background: linear-gradient(180deg, transparent, var(--paper)); pointer-events: none; z-index: 2; }
.app {
  position: relative;
  background: #fff;
  color: var(--ink);
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -1px 0 rgba(255, 255, 255, 0.4), 0 40px 120px -30px rgba(8, 5, 40, 0.75), 0 0 0 1px rgba(255, 255, 255, 0.12);
  overflow: hidden;
  transform: rotateX(8deg);
  transform-origin: 50% 100%;
  font-size: 0.86rem;
  line-height: 1.4;
  text-align: left;
}
.app-bar { display: flex; align-items: center; gap: 14px; padding: 11px 16px; background: #f1f2f7; border-bottom: 1px solid var(--line); }
.dots { display: flex; gap: 6px; }
.dots i { width: 10px; height: 10px; border-radius: 50%; background: #d4d7e2; }
.app-url { flex: 0 1 300px; margin-inline: auto; text-align: center; font-size: 0.76rem; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 10px; }
.app-body { display: grid; grid-template-columns: 270px 1fr 250px; min-height: 470px; }

.app-list { border-right: 1px solid var(--line); background: #fbfbfe; }
.list-head { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 16px 10px; }
.list-head strong { font-family: "Bricolage Grotesque", sans-serif; font-size: 1.1rem; }
.list-head span { font-size: 0.75rem; color: var(--muted); }
.filters { display: flex; gap: 6px; padding: 0 16px 12px; border-bottom: 1px solid var(--line); }
.filters span { font-size: 0.74rem; padding: 3px 10px; border-radius: 999px; background: #eef0f6; color: var(--ink-2); }
.filters span.on { background: var(--ink); color: #fff; }
.app-list ul { list-style: none; margin: 0; padding: 6px; }
.app-list li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: center; padding: 9px 10px; border-radius: 10px; }
.app-list li.active { background: var(--indigo-soft); }
.app-list b { display: block; font-size: 0.84rem; font-weight: 600; }
.app-list small { display: block; color: var(--muted); font-size: 0.75rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 150px; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: 0.72rem; font-weight: 700; color: #fff; background: hsl(var(--h, 245) 55% 52%); }
.pill { font-style: normal; font-size: 0.66rem; font-weight: 600; padding: 2px 8px; border-radius: 999px; white-space: nowrap; }
.pill.ai { background: var(--indigo-soft); color: var(--indigo); }
.app-list li.active .pill.ai { background: #fff; }
.pill.team { background: var(--amber-soft); color: #8a5a00; }
.pill.done { background: #e7f6ec; color: #157a3a; }

.app-chat { display: flex; flex-direction: column; background: #f7f7fb; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 12px 18px; background: #fff; border-bottom: 1px solid var(--line); }
.chat-head b { display: block; font-size: 0.9rem; }
.chat-head small { color: var(--muted); font-size: 0.74rem; }
.chat-head .status { margin-left: auto; font-size: 0.75rem; font-weight: 600; border: 1px solid var(--line); border-radius: 8px; padding: 4px 10px; background: #fff; }
.chat-head .status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--green); margin-right: 6px; vertical-align: 1px; }
.chat-body { flex: 1; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.day { align-self: center; font-size: 0.7rem; color: var(--muted); background: #eceef5; padding: 2px 10px; border-radius: 999px; margin-bottom: 4px; }
.msg { max-width: 72%; padding: 9px 13px; border-radius: 14px; margin: 0; font-size: 0.85rem; opacity: 0; animation: pop 0.5s cubic-bezier(.2, .8, .2, 1) forwards; }
.msg small { display: block; font-size: 0.68rem; font-weight: 600; margin-bottom: 2px; color: var(--muted); }
.msg .t { display: block; text-align: right; font-size: 0.64rem; color: var(--muted); margin-top: 2px; }
.msg.in { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg.ai { align-self: flex-end; background: var(--indigo-soft); border-bottom-right-radius: 4px; }
.msg.ai small { color: var(--indigo); }
.msg.staff { align-self: flex-end; background: var(--indigo); color: #fff; border-bottom-right-radius: 4px; }
.msg.staff small, .msg.staff .t { color: rgba(255, 255, 255, 0.72); }
.handoff { align-self: center; display: inline-flex; align-items: center; gap: 7px; font-size: 0.74rem; font-weight: 600; color: #8a5a00; background: var(--amber-soft); border: 1px solid #f6d49a; border-radius: 999px; padding: 4px 12px; margin: 6px 0; opacity: 0; animation: pop 0.5s ease forwards; }
.handoff::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--amber); }
.m1 { animation-delay: 0.5s; } .m2 { animation-delay: 1.3s; } .m3 { animation-delay: 2.2s; }
.m4 { animation-delay: 3s; } .m5 { animation-delay: 3.8s; }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
.composer { display: flex; align-items: center; gap: 8px; margin: 0 14px 14px; padding: 8px 8px 8px 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; color: var(--muted); font-size: 0.82rem; }
.composer .qr { margin-left: auto; font-size: 0.72rem; padding: 3px 9px; border-radius: 7px; background: #eef0f6; color: var(--ink-2); }
.composer .send { width: 30px; height: 30px; border-radius: 9px; background: var(--indigo); display: grid; place-items: center; }

.app-info { border-left: 1px solid var(--line); background: #fff; padding: 20px 18px; }
.who { text-align: center; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.who .av { width: 54px; height: 54px; font-size: 1rem; margin: 0 auto 8px; }
.who b { display: block; font-size: 0.95rem; }
.who small { color: var(--muted); font-size: 0.75rem; }
.info-block { padding-top: 14px; }
.info-block h4 { margin: 0 0 8px; font-size: 0.72rem; font-weight: 600; color: var(--muted); }
.stages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.stages span { height: 6px; border-radius: 4px; background: #e6e8f0; }
.stages span.on { background: var(--indigo); }
.stage-label { font-size: 0.8rem; font-weight: 600; margin-top: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chips span { font-size: 0.72rem; padding: 3px 9px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); }
.appt { display: flex; gap: 10px; align-items: center; border: 1px solid var(--line); border-radius: 12px; padding: 10px; }
.appt .date { text-align: center; background: var(--amber-soft); border-radius: 8px; padding: 4px 8px; line-height: 1.1; }
.appt .date b { display: block; font-size: 1rem; font-family: "Bricolage Grotesque", sans-serif; }
.appt .date small { font-size: 0.64rem; color: #8a5a00; font-weight: 600; }
.appt div:last-child { font-size: 0.78rem; }
.appt div:last-child small { display: block; color: var(--muted); }

/* ---------- sections ---------- */
section { padding-block: clamp(64px, 9vw, 120px); }
.section-head { max-width: 680px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head p { color: var(--muted); font-size: 1.15rem; }
.center { text-align: center; margin-inline: auto; }
.center p { margin-inline: auto; }

/* features */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tile { background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px; display: flex; flex-direction: column; overflow: hidden; }
.tile.wide { grid-column: span 2; }
.tile p { color: var(--muted); margin: 0; font-size: 1rem; }
.tile .viz { margin-top: auto; padding-top: 26px; }
.tile.feature { background: linear-gradient(160deg, #1d1860, var(--night)); color: #fff; border-color: transparent; }
.tile.feature p { color: rgba(255, 255, 255, 0.7); }

.flow { display: flex; flex-direction: column; gap: 10px; }
.flow-row { display: flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 14px; padding: 12px 14px; font-size: 0.92rem; }
.flow-row .ico { width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center; flex: none; }
.flow-row small { display: block; color: rgba(255, 255, 255, 0.55); font-size: 0.78rem; }
.flow-row .ico.ai { background: rgba(185, 180, 255, 0.2); }
.flow-row .ico.team { background: rgba(242, 169, 59, 0.22); }
.toggle { margin-left: auto; width: 38px; height: 22px; border-radius: 999px; background: #34d399; position: relative; flex: none; }
.toggle::after { content: ""; position: absolute; right: 3px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: #fff; }

.stack { display: flex; }
.stack .av { width: 38px; height: 38px; border: 3px solid #fff; margin-left: -10px; }
.stack .av:first-child { margin-left: 0; }
.status-row { display: flex; gap: 8px; margin-top: 14px; flex-wrap: wrap; }
.status-row .pill { font-size: 0.76rem; padding: 4px 11px; }

.template { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fafbfe; font-size: 0.88rem; }
.template .tpl-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; font-size: 0.76rem; color: var(--muted); }
.template code { font-family: inherit; background: var(--indigo-soft); color: var(--indigo); padding: 0 4px; border-radius: 4px; }

.pipeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pipeline div { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: #fafbfe; }
.pipeline b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 1.6rem; line-height: 1; margin-bottom: 4px; }
.pipeline span { font-size: 0.8rem; color: var(--muted); }
.pipeline div.on { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.pipeline div.on span { color: rgba(255, 255, 255, 0.75); }

.slots { display: flex; flex-direction: column; gap: 8px; }
.slots div { display: flex; justify-content: space-between; font-size: 0.88rem; border-left: 3px solid var(--amber); background: #fffaf1; padding: 8px 12px; border-radius: 0 10px 10px 0; }
.slots div span { color: var(--muted); }

.roles { display: flex; flex-direction: column; gap: 8px; }
.roles div { display: flex; align-items: center; gap: 10px; font-size: 0.88rem; padding: 9px 12px; border: 1px solid var(--line); border-radius: 12px; }
.roles em { margin-left: auto; font-style: normal; font-size: 0.74rem; color: var(--muted); }

.voice { display: flex; align-items: center; gap: 12px; background: var(--indigo-soft); border-radius: 14px; padding: 12px 14px; }
.voice .play { width: 32px; height: 32px; border-radius: 50%; background: var(--indigo); display: grid; place-items: center; flex: none; }
.wave { display: flex; align-items: center; gap: 3px; height: 26px; flex: 1; }
.wave i { flex: 1; background: var(--indigo); opacity: 0.55; border-radius: 2px; }
.voice small { color: var(--muted); font-size: 0.76rem; }

/* steps */
.steps-section { background: var(--card); border-block: 1px solid var(--line); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; top: 26px; left: 26px; right: calc(33.33% - 26px); height: 2px; background: repeating-linear-gradient(90deg, var(--indigo) 0 8px, transparent 8px 16px); opacity: 0.35; }
.steps li { position: relative; counter-increment: s; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--indigo); color: #fff; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 1.35rem; margin-bottom: 22px; box-shadow: 0 0 0 8px var(--card); position: relative; }
.steps p { color: var(--muted); margin: 0; }

/* policy */
.policy { background: var(--night); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.policy::before { content: ""; position: absolute; inset: auto -10% -40% auto; width: 60%; height: 90%; background: radial-gradient(closest-side, rgba(99, 88, 255, 0.45), transparent); z-index: -1; }
.policy .section-head p { color: rgba(255, 255, 255, 0.68); }
.rules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 22px; overflow: hidden; }
.rule { background: var(--night); padding: 28px 24px; }
.rule svg { margin-bottom: 18px; }
.rule p { color: rgba(255, 255, 255, 0.66); margin: 0; font-size: 0.97rem; }
.policy .fine { margin-top: 32px; color: rgba(255, 255, 255, 0.66); font-size: 0.95rem; }
.policy a { color: var(--lilac); }
.policy a:hover { color: #fff; }

/* trust */
.trust { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.checks li { display: grid; grid-template-columns: 40px 1fr; gap: 16px; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; }
.checks .ck { width: 40px; height: 40px; border-radius: 12px; background: var(--indigo-soft); display: grid; place-items: center; }
.checks b { display: block; margin-bottom: 2px; }
.checks span { color: var(--muted); font-size: 0.95rem; }

/* cta + company */
.cta { padding-top: 0; }
.cta-card { background: linear-gradient(135deg, var(--indigo) 0%, #2b2390 100%); color: #fff; border-radius: 28px; padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; overflow: hidden; isolation: isolate; }
.cta-card::after { content: ""; position: absolute; right: -80px; top: -80px; width: 320px; height: 320px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, 0.06); z-index: -1; }
.cta-card h2 { margin-bottom: 0.35em; }
.cta-card p { color: rgba(255, 255, 255, 0.78); margin: 0; }
.cta-card .actions { margin-top: 0; justify-content: flex-end; }
.company { margin-top: 18px; background: var(--card); border: 1px solid var(--line); border-radius: 22px; padding: 28px clamp(24px, 4vw, 40px); display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.company div small { display: block; color: var(--muted); font-size: 0.82rem; margin-bottom: 4px; }
.company div span { font-weight: 600; font-size: 0.97rem; }

/* facts (contact page) */
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 28px; margin: 0; }
.facts dt { font-weight: 600; }
.facts dd { margin: 0; color: var(--muted); }

/* ---------- legal pages ---------- */
.page-head { padding-block: clamp(48px, 7vw, 88px) 12px; border-bottom: 1px solid var(--line); margin-bottom: 12px; }
.page-head h1 { font-size: clamp(2.4rem, 5vw, 3.6rem); }
.page-head p { color: var(--muted); }
.prose { padding-bottom: 88px; max-width: 760px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; letter-spacing: -0.015em; }
.prose ul, .prose ol { padding-left: 1.2em; max-width: 66ch; }
.prose li { margin-bottom: 0.45em; }
.prose table { border-collapse: collapse; width: 100%; font-size: 0.96rem; margin: 0 0 1.2em; background: var(--card); border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.prose th, .prose td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.prose th { background: #eef0f6; font-weight: 600; }

/* ---------- footer ---------- */
.site-footer { background: var(--night); color: rgba(255, 255, 255, 0.66); padding-block: 56px 36px; font-size: 0.93rem; }
.site-footer a { color: rgba(255, 255, 255, 0.86); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 0.8em; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer p { max-width: none; margin-bottom: 0.6em; }
.legal { border-top: 1px solid rgba(255, 255, 255, 0.1); margin-top: 40px; padding-top: 22px; font-size: 0.82rem; color: rgba(255, 255, 255, 0.5); }

/* ---------- responsive ---------- */
@media (max-width: 1060px) {
  .app-body { grid-template-columns: 240px 1fr; }
  .app-info { display: none; }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .company { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .bento, .steps, .trust, .cta-card, .site-footer .cols { grid-template-columns: 1fr; }
  .tile.wide { grid-column: auto; }
  .steps::before { display: none; }
  .cta-card .actions { justify-content: flex-start; }
  .facts { grid-template-columns: 1fr; gap: 2px; }
  .facts dd { margin-bottom: 12px; }
  .site-header .wrap { flex-direction: column; align-items: flex-start; gap: 10px; }
  nav ul { gap: 8px 18px; }
  .site-header { position: static; }
  .hero { margin-top: 0; }
  .hero-copy { padding-top: 0; }
}
@media (max-width: 640px) {
  .app-body { grid-template-columns: 1fr; min-height: 0; }
  .app-list { display: none; }
  .app { transform: none; }
  .msg { max-width: 86%; }
  .pipeline { grid-template-columns: repeat(2, 1fr); }
  .rules, .company { grid-template-columns: 1fr; }
  .composer .qr { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .msg, .handoff { animation: none; opacity: 1; }
  .app { transform: none; }
}

/* polish */
.hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 160px; background: linear-gradient(180deg, rgba(246, 247, 251, 0), var(--paper)); z-index: 1; pointer-events: none; }
.wave i { flex: none; width: 3px; opacity: 0.6; }
.wave { gap: 3px; }
.cta-card { grid-template-columns: 1.7fr 1fr; }
@media (max-width: 860px) {
  .home .site-header { background: var(--night); }
  .cta-card { grid-template-columns: 1fr; }
}
