/*
 * PixStar site visual refresh
 *
 * This file is intentionally loaded after the existing site styles. It only
 * changes presentation; the page structure, copy, links, controls, and JS
 * behaviour remain owned by the original prototype files.
 */

:root {
  --bg: #f6f8fc;
  --surface: rgba(255, 255, 255, 0.78);
  --surface-solid: #ffffff;
  --surface-blue: #eef5ff;
  --text: #14213a;
  --muted: #72809a;
  --line: rgba(30, 58, 95, 0.1);
  --accent: #3978f6;
  --accent-2: #61c8eb;
  --accent-soft: #eaf3ff;
  --navy: #1d2737;
  --ok: #35a56c;
  --shadow: 0 24px 70px rgba(49, 78, 126, 0.12);
  --shadow-soft: 0 10px 30px rgba(49, 78, 126, 0.08);
  --radius: 26px;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  color: var(--text);
  background:
    radial-gradient(circle at 12% 2%, rgba(118, 184, 255, 0.18), transparent 28rem),
    radial-gradient(circle at 90% 18%, rgba(117, 214, 238, 0.14), transparent 30rem),
    linear-gradient(180deg, #f7f9fd 0%, #f5f8fc 55%, #f8f9fc 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background: linear-gradient(115deg, rgba(255, 255, 255, 0.32), transparent 38%, rgba(255, 255, 255, 0.18));
}

a {
  color: inherit;
}

.wrap {
  width: min(1180px, calc(100% - 40px));
  max-width: none;
  padding-right: 0;
  padding-left: 0;
}

nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1200px, calc(100% - 40px));
  margin: 14px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 26px rgba(49, 78, 126, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.nav-inner {
  width: 100%;
  min-height: 64px;
  max-width: none;
  padding: 0 14px 0 16px;
}

.brand {
  color: var(--text);
  font-size: 16px;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  box-shadow: 0 5px 14px rgba(57, 120, 246, 0.2);
}

.nav-links {
  gap: 26px;
  margin-left: auto;
  margin-right: 28px;
}

.nav-links a {
  color: #5d6e89;
  font-size: 13px;
  font-weight: 620;
  transition: color 180ms ease;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--accent);
}

.actions {
  gap: 8px;
}

.btn {
  min-height: 42px;
  padding: 0 17px;
  border: 1px solid rgba(30, 58, 95, 0.09);
  border-radius: 13px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 5px 16px rgba(49, 78, 126, 0.05);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 22px rgba(49, 78, 126, 0.1);
}

.btn:focus-visible,
.demo-mode:focus-visible,
.step:focus-visible,
.demo-actions button:focus-visible,
.demo-start:focus-visible {
  outline: 3px solid rgba(57, 120, 246, 0.25);
  outline-offset: 3px;
}

.btn-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, #4d91f7 58%, var(--accent-2) 150%);
  box-shadow: 0 10px 24px rgba(57, 120, 246, 0.2);
}

.btn-primary:hover {
  box-shadow: 0 14px 28px rgba(57, 120, 246, 0.26);
}

.btn-ghost {
  border-color: rgba(30, 58, 95, 0.07);
  color: #526783;
  background: rgba(255, 255, 255, 0.62);
}

.hero {
  position: relative;
  padding: 112px 0 72px;
}

.hero::before {
  position: absolute;
  top: -170px;
  left: 50%;
  width: min(760px, 90vw);
  height: 420px;
  z-index: -1;
  pointer-events: none;
  content: "";
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(108, 188, 244, 0.15), transparent 69%);
  filter: blur(5px);
}

.hero-grid {
  grid-template-columns: 1fr;
  gap: 52px;
  align-items: start;
}

.hero-copy {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.eyebrow {
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid rgba(56, 123, 225, 0.11);
  border-radius: 999px;
  color: #52759e;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 5px 18px rgba(49, 78, 126, 0.04);
  font-size: 12px;
  font-weight: 650;
}

.eyebrow .dot {
  width: 7px;
  height: 7px;
  margin-right: 7px;
  background: var(--ok);
  box-shadow: 0 0 0 4px rgba(53, 165, 108, 0.1);
}

.hero h1 {
  max-width: 820px;
  margin: 24px auto 18px;
  color: var(--text);
  font-size: clamp(50px, 6.3vw, 86px);
  font-weight: 770;
  letter-spacing: -0.075em;
  line-height: 0.99;
}

.hero-em {
  color: transparent;
  background: linear-gradient(110deg, #265bbd 4%, #3978f6 47%, #51b9dc 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

.lead {
  max-width: 650px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.hero-cta {
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.hero-cta .btn {
  min-height: 48px;
  padding: 0 21px;
}

.micro {
  margin-top: 14px;
  color: #9aa8bb;
  font-size: 12px;
}

.hero-facts {
  justify-content: center;
  gap: 10px;
  margin-top: 27px;
}

.fact {
  padding: 8px 12px;
  border: 1px solid rgba(30, 58, 95, 0.06);
  border-radius: 999px;
  color: #657893;
  background: rgba(255, 255, 255, 0.48);
  font-size: 11px;
}

.fact i {
  width: 6px;
  height: 6px;
  background: #57b9dd;
  box-shadow: 0 0 0 3px rgba(87, 185, 221, 0.11);
}

.hero > .wrap > .product-window,
.hero-grid > .product-window {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.product-window {
  position: relative;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(220, 237, 250, 0.82));
  box-shadow: 0 28px 80px rgba(49, 78, 126, 0.16), 0 2px 0 rgba(255, 255, 255, 0.78) inset;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.product-window:hover {
  transform: translateY(-2px);
  box-shadow: 0 34px 86px rgba(49, 78, 126, 0.19), 0 2px 0 rgba(255, 255, 255, 0.82) inset;
}

.app-demo-window .window {
  overflow: hidden;
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: 25px;
  background: #f5f8fc;
  box-shadow: 0 12px 30px rgba(31, 59, 94, 0.1);
}

.window-top {
  min-height: 48px;
  padding: 0 17px;
  border-bottom: 1px solid rgba(30, 58, 95, 0.08);
  color: #5b6f88;
  background: rgba(255, 255, 255, 0.9);
}

.traffic i {
  width: 8px;
  height: 8px;
  border: 0;
  background: #ced8e5;
}

.traffic i:first-child {
  background: #f3a9a9;
}

.traffic i:nth-child(2) {
  background: #f1ca8e;
}

.traffic i:nth-child(3) {
  background: #9ed6af;
}

.demo-brand {
  color: #5b6f88;
  font-size: 12px;
  font-weight: 680;
}

.demo-brand img {
  width: 20px;
  height: 20px;
  border-radius: 6px;
}

.window-status {
  color: #71839a;
  font-size: 11px;
}

.window-status i {
  width: 7px;
  height: 7px;
  background: #45b579;
  box-shadow: 0 0 0 3px rgba(69, 181, 121, 0.1);
}

.demo-app-shell {
  background: #f4f8fc;
}

.demo-rail {
  width: 58px;
  background: linear-gradient(180deg, #243449, #1d2737);
}

.demo-rail-logo {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  box-shadow: 0 7px 14px rgba(11, 25, 45, 0.24);
}

.demo-nav {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.5);
  background: transparent;
  font-size: 16px;
  transition: background 180ms ease, color 180ms ease;
}

.demo-nav.active,
.demo-nav:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

.demo-main {
  background: #f4f8fc;
}

.demo-modebar {
  gap: 8px;
  padding: 17px 18px 13px;
  background: transparent;
}

.demo-mode {
  min-height: 61px;
  padding: 10px 13px;
  border: 1px solid rgba(30, 58, 95, 0.07);
  border-radius: 15px;
  color: #69809c;
  background: rgba(255, 255, 255, 0.73);
  box-shadow: 0 5px 14px rgba(49, 78, 126, 0.035);
  text-align: left;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.demo-mode:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(49, 78, 126, 0.07);
}

.demo-mode.active {
  border-color: rgba(57, 120, 246, 0.2);
  color: #2e66c4;
  background: linear-gradient(135deg, rgba(232, 242, 255, 0.97), rgba(247, 252, 255, 0.94));
  box-shadow: 0 7px 18px rgba(57, 120, 246, 0.08);
}

.demo-mode b {
  color: inherit;
  font-size: 12px;
}

.demo-mode small {
  margin-left: 5px;
  color: #3978f6;
  font-size: 9px;
}

.demo-mode span {
  margin-top: 4px;
  color: #91a0b4;
  font-size: 10px;
}

.demo-grid {
  gap: 12px;
  padding: 5px 18px 18px;
}

.demo-session,
.demo-side-card {
  border: 1px solid rgba(30, 58, 95, 0.065);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 8px 20px rgba(49, 78, 126, 0.045);
}

.demo-session {
  padding: 16px;
}

.demo-session-head {
  padding-bottom: 13px;
  border-bottom-color: rgba(30, 58, 95, 0.08);
}

.demo-session-head strong {
  color: var(--text);
}

.demo-session-head span,
.demo-session-head em {
  color: #8697ad;
}

.demo-session-head em {
  border-radius: 999px;
  color: #3f7dd7;
  background: var(--accent-soft);
}

.demo-chat {
  padding: 15px 0 10px;
}

.demo-chat p {
  max-width: 84%;
  padding: 10px 12px;
  border-radius: 13px 13px 13px 4px;
  color: #445a75;
  background: #edf3f8;
}

.demo-chat p.customer {
  border-radius: 13px 13px 4px 13px;
  color: #315fbc;
  background: #e6f0ff;
}

.demo-ai {
  border: 0;
  border-radius: 17px;
  background: linear-gradient(145deg, #f2f8ff, #f8fbff);
  box-shadow: inset 0 0 0 1px rgba(57, 120, 246, 0.06);
}

.demo-ai-head b {
  color: #3472d4;
}

.demo-ai-head span {
  color: #6da3d8;
}

.demo-facts {
  gap: 8px;
}

.demo-facts span {
  padding: 9px 10px;
  border: 0;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.86);
}

.demo-facts small {
  color: #8b9db4;
}

.demo-facts b {
  margin-top: 3px;
  color: #516884;
  font-size: 11px;
}

.demo-reply {
  margin-top: 10px;
  border: 0;
  border-left: 3px solid #6e9af5;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(49, 78, 126, 0.06);
}

.demo-reply.auto {
  border-left-color: #45b579;
  background: #f8fffb;
}

.demo-reply.observe {
  border-left-color: #9baabd;
  background: #fbfcfe;
}

.demo-reply-head b {
  color: #37506e;
}

.demo-reply-head span,
.demo-reply small {
  color: #91a1b5;
}

.demo-reply p {
  color: #50647e;
  line-height: 1.7;
}

.demo-actions button {
  min-height: 32px;
  padding: 0 11px;
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: 9px;
  color: #5f7490;
  background: #f6f9fc;
  font-size: 11px;
}

.demo-actions button.primary,
.demo-start {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #61bfe1);
  box-shadow: 0 7px 16px rgba(57, 120, 246, 0.15);
}

.demo-side {
  gap: 12px;
}

.demo-side-card {
  padding: 16px;
}

.demo-side-card > b {
  color: #405976;
}

.demo-target {
  margin-top: 12px;
  padding: 12px;
  border-radius: 13px;
  background: #f1f6fb;
}

.demo-target strong {
  color: #315fb5;
}

.demo-target span {
  color: #4ea879;
}

.demo-target small,
.demo-side-card p {
  color: #8293a8;
  line-height: 1.65;
}

.demo-start {
  width: 100%;
  min-height: 38px;
  margin-top: 12px;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 700;
}

.proof-strip {
  padding: 0 0 18px;
}

.proof-inner {
  grid-template-columns: 1.28fr repeat(3, 1fr);
  gap: 0;
  padding: 19px 22px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.64);
  box-shadow: var(--shadow-soft);
}

.proof-intro,
.proof-item {
  min-height: 66px;
  padding: 5px 20px;
}

.proof-item + .proof-item,
.proof-intro + .proof-item {
  border-left: 1px solid rgba(30, 58, 95, 0.08);
}

.proof-intro {
  padding-left: 5px;
}

.proof-intro b,
.proof-item strong {
  color: #334d6e;
}

.proof-intro span,
.proof-item span,
.proof-item em {
  color: #8797aa;
}

.proof-item em {
  display: block;
  margin-top: 9px;
  font-size: 10px;
  font-style: normal;
}

.section {
  padding: 108px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.kicker {
  color: var(--accent);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.section-head h2,
.pilot h2 {
  margin-top: 12px;
  color: var(--text);
  font-size: clamp(31px, 3.8vw, 50px);
  font-weight: 750;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.section-head .sub {
  max-width: 650px;
  margin: 17px auto 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.flow-shell {
  position: relative;
  overflow: hidden;
  padding: 28px;
  border: 0;
  border-radius: 30px;
  color: var(--text);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(234, 244, 255, 0.94));
  box-shadow: var(--shadow);
}

.flow-shell::after {
  position: absolute;
  right: -90px;
  bottom: -130px;
  width: 380px;
  height: 280px;
  pointer-events: none;
  content: "";
  background: radial-gradient(ellipse, rgba(90, 166, 247, 0.18), transparent 70%);
}

.flow-principles {
  position: relative;
  z-index: 1;
  gap: 9px;
  margin-bottom: 24px;
}

.flow-principles span {
  padding: 11px 13px;
  border: 1px solid rgba(57, 120, 246, 0.07);
  border-radius: 13px;
  color: #6d819b;
  background: rgba(255, 255, 255, 0.64);
  font-size: 11px;
}

.flow-principles b {
  color: #3978d9;
}

.flow-nav {
  position: relative;
  z-index: 1;
  gap: 8px;
  margin-bottom: 14px;
}

.flow-nav::before {
  position: absolute;
  top: 50%;
  right: 9%;
  left: 9%;
  height: 1px;
  z-index: -1;
  content: "";
  background: linear-gradient(90deg, rgba(57, 120, 246, 0.18), rgba(97, 200, 235, 0.42), rgba(57, 120, 246, 0.12));
}

.flow-nav .step {
  position: relative;
  min-height: 63px;
  padding: 10px 12px;
  border: 1px solid rgba(30, 58, 95, 0.06);
  border-radius: 15px;
  color: #6f829b;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 6px 16px rgba(49, 78, 126, 0.04);
  text-align: left;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.flow-nav .step:hover {
  transform: translateY(-1px);
  box-shadow: 0 9px 20px rgba(49, 78, 126, 0.07);
}

.flow-nav .step.active {
  border-color: rgba(57, 120, 246, 0.18);
  color: #2c66c7;
  background: linear-gradient(135deg, #e9f2ff, #fafdff);
  box-shadow: 0 8px 18px rgba(57, 120, 246, 0.09);
}

.flow-nav .step small {
  color: #9cabc0;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.flow-nav .step.active small {
  color: #5d95e6;
}

.flow-nav .step b {
  margin-top: 5px;
  color: inherit;
  font-size: 12px;
}

.flow-content {
  position: relative;
  z-index: 1;
  gap: 16px;
  align-items: stretch;
  padding: 20px;
  border: 1px solid rgba(30, 58, 95, 0.06);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
}

.flow-copy {
  padding: 7px 6px;
}

.flow-copy .pill {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  color: #3b76d5;
  background: var(--accent-soft);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: 0.08em;
}

.flow-copy h3 {
  margin-top: 18px;
  color: #314b6d;
  font-size: 24px;
  letter-spacing: -0.04em;
}

.flow-copy p {
  max-width: 390px;
  margin-top: 12px;
  color: #71839b;
  line-height: 1.8;
}

.flow-view {
  min-height: 208px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(145deg, #f8fbff, #edf5fd);
  box-shadow: inset 0 0 0 1px rgba(57, 120, 246, 0.06);
}

.mini-window {
  border: 1px solid rgba(30, 58, 95, 0.07);
  border-radius: 15px;
  background: #fff;
  box-shadow: 0 10px 23px rgba(49, 78, 126, 0.08);
}

.mini-window b {
  color: #4c6582;
}

.mini-window p {
  color: #637994;
  line-height: 1.7;
}

.mini-window .muted {
  color: #9aaabd !important;
}

.focus-grid {
  gap: 18px;
}

.focus-panel {
  min-height: 290px;
  padding: 32px;
  border: 0;
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.focus-panel small {
  color: #5d88c9;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.1em;
}

.focus-panel h3 {
  max-width: 480px;
  margin-top: 14px;
  color: #294566;
  font-size: 25px;
  letter-spacing: -0.045em;
  line-height: 1.28;
}

.quality-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(247, 251, 255, 0.84));
}

.focus-list {
  gap: 0;
  margin-top: 24px;
}

.focus-list span {
  padding: 11px 0;
  border-top-color: rgba(30, 58, 95, 0.075);
  color: #6d8098;
  font-size: 13px;
}

.focus-list i {
  width: 21px;
  height: 21px;
  margin-right: 8px;
  border-radius: 7px;
  color: #3978f6;
  background: var(--accent-soft);
  font-size: 11px;
}

.scene-panel {
  background: linear-gradient(145deg, #eef6ff 0%, #f7fcff 100%);
}

.scene-panel > p {
  max-width: 450px;
  margin-top: 14px;
  color: #6f839d;
  line-height: 1.8;
}

.scene-inline {
  gap: 10px;
  margin-top: 26px;
}

.scene-inline span {
  padding: 12px 13px;
  border: 1px solid rgba(57, 120, 246, 0.08);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.72);
}

.scene-inline b {
  color: #4e6e99;
  font-size: 12px;
}

.scene-inline em {
  margin-top: 5px;
  color: #8da1b7;
  font-size: 10px;
  font-style: normal;
  line-height: 1.5;
}

.compact-trust {
  padding-top: 98px;
}

.trust-layout .section-head {
  grid-column: 1 / -1;
}

.trust-compact {
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: 100%;
  gap: 18px;
}

.trust-col {
  min-height: 310px;
  padding: 31px;
  border: 0;
  border-radius: 27px;
  background: rgba(255, 255, 255, 0.83);
  box-shadow: var(--shadow-soft);
}

.trust-col h3 {
  margin-bottom: 16px;
  color: #294566;
  font-size: 22px;
  letter-spacing: -0.04em;
}

.trust-col span {
  padding: 15px 0;
  border-top-color: rgba(30, 58, 95, 0.08);
  color: #71839a;
  font-size: 13px;
  line-height: 1.7;
}

.trust-col span b {
  display: block;
  margin-bottom: 3px;
  color: #466587;
}

.trust-col.dark {
  color: rgba(235, 243, 252, 0.75);
  background: linear-gradient(145deg, #263b55, #1d2737);
  box-shadow: 0 24px 60px rgba(29, 39, 55, 0.18);
}

.trust-col.dark h3 {
  color: #fff;
}

.trust-col.dark span {
  border-top-color: rgba(255, 255, 255, 0.12);
  color: rgba(224, 235, 248, 0.7);
}

.trust-col.dark span b {
  color: #fff;
}

#pilot {
  margin-bottom: 90px;
}

.pilot {
  gap: 34px;
  padding: 58px 58px;
  border: 0;
  border-radius: 34px;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(116, 193, 249, 0.2), transparent 20rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(231, 243, 255, 0.93));
  box-shadow: var(--shadow);
}

.pilot .kicker {
  color: #3c82f6 !important;
}

.pilot h2 {
  max-width: 520px;
  color: var(--text);
}

.pilot p {
  max-width: 500px;
  color: var(--muted);
  line-height: 1.8;
}

.pilot-checks {
  gap: 10px;
  margin-top: 24px;
}

.pilot-check {
  color: #607895;
  font-size: 12px;
}

.pilot-check i {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  border-radius: 7px;
  color: #3978f6;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 4px 12px rgba(49, 78, 126, 0.06);
}

.formcard {
  min-width: 0;
  padding: 25px;
  border: 0;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 16px 32px rgba(49, 78, 126, 0.1);
}

.field label {
  color: #617791;
  font-size: 11px;
  font-weight: 700;
}

.field select,
.field input {
  min-height: 42px;
  border: 1px solid rgba(30, 58, 95, 0.08);
  border-radius: 11px;
  color: #425d7d;
  background: #f6f9fc;
  box-shadow: inset 0 1px 2px rgba(49, 78, 126, 0.025);
}

.field select:focus,
.field input:focus {
  border-color: rgba(57, 120, 246, 0.4);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(57, 120, 246, 0.1);
}

.formcard > .btn {
  width: 100%;
  margin-top: 3px;
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #61bfe1);
  box-shadow: 0 10px 22px rgba(57, 120, 246, 0.18);
}

.formnote {
  color: #8b9db2;
  line-height: 1.65;
}

.formnote a {
  color: #3978f6;
}

footer {
  border-top: 1px solid rgba(30, 58, 95, 0.07);
  background: rgba(255, 255, 255, 0.24);
}

.footer-inner {
  min-height: 82px;
  color: #8595aa;
  font-size: 11px;
}

.footer-links {
  gap: 18px;
}

.footer-links a {
  transition: color 180ms ease;
}

.toast {
  border: 0;
  border-radius: 13px;
  color: #fff;
  background: rgba(29, 39, 55, 0.94);
  box-shadow: 0 14px 32px rgba(29, 39, 55, 0.2);
  backdrop-filter: blur(12px);
}

/* Legal pages share the same floating-shell language as the homepage. */
.legal-nav {
  position: sticky;
  top: 14px;
  z-index: 20;
  width: min(1200px, calc(100% - 40px));
  margin: 14px auto 0;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 8px 26px rgba(49, 78, 126, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(18px) saturate(145%);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
}

.legal-nav-inner {
  width: 100%;
  min-height: 64px;
  max-width: none;
  padding: 0 16px;
}

.legal-nav .brand {
  color: var(--text);
}

.legal-nav .legal-back {
  color: #607590;
  font-size: 12px;
}

.legal-main {
  padding-top: 88px;
  padding-bottom: 90px;
}

.legal-heading {
  max-width: 820px;
  margin-right: auto;
  margin-bottom: 38px;
  margin-left: auto;
  text-align: center;
}

.legal-heading h1 {
  color: var(--text);
  font-size: clamp(36px, 5vw, 62px);
  letter-spacing: -0.06em;
}

/* The shared homepage h1 has a 680px max-width. Legal-page titles use the
   full centered heading column so their visual center matches the content. */
@media (min-width: 961px) {
  .legal-heading h1 {
    width: 100%;
    max-width: none;
    margin-right: auto;
    margin-left: auto;
  }
}

.legal-heading p {
  color: var(--muted);
  line-height: 1.8;
}

.legal-content {
  border: 0;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.79);
  box-shadow: var(--shadow-soft);
}

.legal-content h2 {
  color: #294566;
  letter-spacing: -0.035em;
}

.legal-content h3 {
  color: #466587;
}

.legal-content p,
.legal-content li {
  color: #6f8199;
  line-height: 1.85;
}

.legal-content section + section {
  border-top-color: rgba(30, 58, 95, 0.08);
}

.legal-note {
  border: 0;
  border-radius: 15px;
  color: #58769b;
  background: var(--surface-blue);
}

.legal-footer {
  border-top: 1px solid rgba(30, 58, 95, 0.07);
  color: #8595aa;
  background: transparent;
}

@media (max-width: 960px) {
  .wrap {
    width: min(100% - 32px, 720px);
  }

  nav,
  .legal-nav {
    width: calc(100% - 28px);
  }

  .nav-links {
    gap: 14px;
    margin-right: 14px;
  }

  .hero {
    padding-top: 90px;
  }

  .hero-grid {
    gap: 40px;
  }

  .proof-inner {
    grid-template-columns: repeat(2, 1fr);
  }

  .proof-intro {
    grid-column: 1 / -1;
    padding-bottom: 16px;
  }

  .proof-intro + .proof-item {
    border-left: 0;
  }

  .proof-item:nth-child(3) {
    border-left: 1px solid rgba(30, 58, 95, 0.08);
  }

  .flow-content {
    grid-template-columns: 1fr;
  }

  .flow-copy p {
    max-width: none;
  }

  .pilot {
    grid-template-columns: 1fr;
    padding: 42px;
  }
}

@media (max-width: 680px) {
  .wrap {
    width: calc(100% - 24px);
  }

  nav,
  .legal-nav {
    top: 8px;
    width: calc(100% - 24px);
    margin-top: 8px;
    border-radius: 17px;
  }

  .nav-inner,
  .legal-nav-inner {
    min-height: 58px;
    padding: 0 10px 0 12px;
  }

  .brand-icon {
    width: 29px;
    height: 29px;
  }

  .nav-links {
    display: none;
  }

  .actions .btn {
    min-height: 36px;
    padding: 0 11px;
    font-size: 11px;
  }

  .actions .btn-ghost {
    display: none;
  }

  .hero {
    padding: 78px 0 52px;
  }

  .hero-grid {
    gap: 35px;
  }

  .eyebrow {
    font-size: 10px;
  }

  .hero h1 {
    margin-top: 20px;
    font-size: clamp(43px, 13vw, 62px);
    letter-spacing: -0.07em;
  }

  .lead {
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    margin-top: 23px;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-facts {
    display: grid;
    grid-template-columns: 1fr;
    gap: 7px;
    margin-top: 21px;
  }

  .fact {
    justify-content: center;
  }

  .product-window {
    padding: 6px;
    border-radius: 24px;
  }

  .app-demo-window .window {
    border-radius: 19px;
  }

  .window-top {
    min-height: 42px;
    padding: 0 11px;
  }

  .demo-brand {
    max-width: 160px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .window-status {
    display: none;
  }

  .demo-rail {
    width: 40px;
  }

  .demo-rail-logo {
    width: 25px;
    height: 25px;
  }

  .demo-nav {
    width: 28px;
    height: 28px;
    font-size: 13px;
  }

  .demo-modebar {
    gap: 5px;
    padding: 10px 9px 7px;
  }

  .demo-mode {
    min-height: 52px;
    padding: 7px 8px;
    border-radius: 11px;
  }

  .demo-mode b {
    font-size: 10px;
  }

  .demo-mode span,
  .demo-mode small {
    font-size: 8px;
  }

  .demo-grid {
    grid-template-columns: 1fr;
    padding: 4px 9px 9px;
  }

  .demo-session {
    padding: 12px;
  }

  .demo-side {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .demo-side-card {
    padding: 12px;
  }

  .demo-side-card p,
  .demo-target small {
    font-size: 10px;
  }

  .proof-strip {
    padding-bottom: 4px;
  }

  .proof-inner {
    grid-template-columns: 1fr;
    padding: 14px 16px;
    border-radius: 18px;
  }

  .proof-intro,
  .proof-item {
    min-height: auto;
    padding: 13px 4px;
  }

  .proof-item + .proof-item,
  .proof-intro + .proof-item,
  .proof-item:nth-child(3) {
    border-top: 1px solid rgba(30, 58, 95, 0.08);
    border-left: 0;
  }

  .section {
    padding: 74px 0;
  }

  .section-head {
    margin-bottom: 27px;
  }

  .section-head h2,
  .pilot h2 {
    font-size: 34px;
  }

  .section-head .sub {
    margin-top: 13px;
    font-size: 14px;
  }

  .flow-shell {
    padding: 15px;
    border-radius: 23px;
  }

  .flow-principles {
    display: grid;
    grid-template-columns: 1fr;
    margin-bottom: 15px;
  }

  .flow-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-nav::before {
    display: none;
  }

  .flow-content {
    padding: 14px;
    border-radius: 16px;
  }

  .flow-copy h3 {
    margin-top: 14px;
    font-size: 21px;
  }

  .flow-view {
    min-height: 180px;
  }

  .focus-grid,
  .trust-compact {
    grid-template-columns: 1fr;
  }

  .focus-panel,
  .trust-col {
    min-height: 0;
    padding: 24px;
    border-radius: 23px;
  }

  .focus-panel h3 {
    font-size: 22px;
  }

  .scene-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .compact-trust {
    padding-top: 74px;
  }

  #pilot {
    margin-bottom: 61px;
  }

  .pilot {
    gap: 27px;
    padding: 30px 20px;
    border-radius: 26px;
  }

  .pilot-checks {
    flex-direction: column;
    align-items: flex-start;
  }

  .formcard {
    padding: 19px;
    border-radius: 18px;
  }

  .footer-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    padding: 21px 0;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 8px 15px;
  }

  .legal-main {
    padding-top: 63px;
    padding-bottom: 60px;
  }

  .legal-heading {
    margin-bottom: 25px;
  }

  .legal-heading h1 {
    font-size: 40px;
  }

  .legal-content {
    padding: 22px 19px;
    border-radius: 22px;
  }
}

/* Desktop navigation: keep the top bar compact so the hero starts sooner. */
@media (min-width: 961px) {
  nav {
    top: 9px;
    margin-top: 9px;
  }

  .nav-inner {
    min-height: 54px;
  }

  .brand-icon {
    width: 30px;
    height: 30px;
  }

  nav .btn {
    min-height: 38px;
    padding-right: 15px;
    padding-left: 15px;
  }

  nav .nav-inner {
    position: relative;
  }

  nav .nav-links {
    position: absolute;
    left: 50%;
    gap: clamp(20px, 2vw, 30px);
    margin: 0;
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/*
 * Intentional viewport compositions
 *
 * Desktop keeps the product window as a wide workbench. Mobile gets its own
 * reading order and component density instead of inheriting a shrunken desktop
 * canvas.
 */
@media (min-width: 961px) {
  .hero {
    padding-top: 118px;
    padding-bottom: 76px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .hero-copy {
    max-width: 840px;
  }

  .hero h1 {
    font-size: clamp(56px, 6.2vw, 86px);
  }

  .product-window {
    width: min(100%, 1080px);
  }

  .demo-app-shell {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .demo-main,
  .demo-grid,
  .demo-session,
  .demo-side {
    min-width: 0;
  }

  .demo-grid {
    grid-template-columns: minmax(0, 1fr) 250px;
  }

  .proof-inner {
    grid-template-columns: 1.28fr repeat(3, 1fr);
  }

  .flow-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .focus-grid,
  .trust-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .pilot {
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  }
}

@media (min-width: 681px) and (max-width: 960px) {
  .hero {
    padding-top: 94px;
  }

  .hero h1 {
    font-size: clamp(50px, 7.5vw, 72px);
  }

  .demo-app-shell {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .demo-grid {
    grid-template-columns: minmax(0, 1fr) 210px;
  }

  .flow-nav {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nav-links {
    gap: 16px;
    margin-right: 16px;
  }

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

@media (max-width: 680px) {
  body {
    background:
      radial-gradient(circle at 0% 0%, rgba(118, 184, 255, 0.2), transparent 18rem),
      radial-gradient(circle at 100% 30%, rgba(117, 214, 238, 0.16), transparent 20rem),
      linear-gradient(180deg, #f7faff 0%, #f4f7fc 64%, #fafbfe 100%);
  }

  nav {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 7px 22px rgba(49, 78, 126, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.94);
  }

  .hero {
    padding-top: 64px;
    padding-bottom: 38px;
  }

  .hero-grid {
    gap: 28px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    margin-top: 18px;
    font-size: clamp(42px, 11.7vw, 54px);
    line-height: 1.03;
  }

  .lead {
    max-width: 348px;
    font-size: 15px;
    line-height: 1.78;
  }

  .hero-cta {
    gap: 8px;
    margin-top: 22px;
  }

  .hero-cta .btn {
    min-height: 46px;
    border-radius: 12px;
  }

  .micro {
    margin-top: 12px;
    font-size: 11px;
  }

  .hero-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    margin-top: 19px;
  }

  .fact {
    min-height: 34px;
    padding: 7px 8px;
    text-align: center;
    line-height: 1.35;
  }

  .fact:last-child {
    grid-column: 1 / -1;
  }

  .product-window {
    width: 100%;
    padding: 6px;
    border-radius: 23px;
    box-shadow: 0 20px 50px rgba(49, 78, 126, 0.14), 0 2px 0 rgba(255, 255, 255, 0.82) inset;
  }

  .app-demo-window .window {
    border-radius: 18px;
  }

  .window-top {
    min-height: 41px;
    padding: 0 10px;
  }

  .demo-app-shell {
    grid-template-columns: minmax(0, 1fr);
  }

  .demo-rail {
    width: 39px;
  }

  .demo-modebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 10px 9px 8px;
  }

  .demo-mode {
    min-width: 0;
    min-height: 58px;
    padding: 8px 9px;
    border-radius: 12px;
  }

  .demo-mode:last-child {
    grid-column: 1 / -1;
  }

  .demo-mode b {
    font-size: 10px;
    line-height: 1.35;
  }

  .demo-mode span {
    margin-top: 3px;
    font-size: 8px;
    line-height: 1.3;
  }

  .demo-grid {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 4px 9px 9px;
  }

  .demo-session {
    padding: 12px;
    border-radius: 15px;
  }

  .demo-session-head {
    padding-bottom: 11px;
  }

  .demo-chat {
    padding-top: 12px;
  }

  .demo-chat p {
    max-width: 100%;
    padding: 9px 10px;
    font-size: 11px;
  }

  .demo-ai {
    padding: 11px;
    border-radius: 14px;
  }

  .demo-facts {
    grid-template-columns: 1fr;
    gap: 5px;
    margin-top: 9px;
  }

  .demo-facts span {
    padding: 8px 9px;
    border-radius: 10px;
  }

  .demo-facts b {
    font-size: 10px;
  }

  .demo-reply {
    padding: 11px;
    margin-top: 8px;
    border-radius: 11px;
  }

  .demo-reply p {
    font-size: 11px;
    line-height: 1.65;
  }

  .demo-actions {
    flex-wrap: wrap;
    gap: 6px;
  }

  .demo-actions button {
    flex: 1 1 92px;
  }

  .demo-side {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .demo-side-card {
    padding: 12px;
    border-radius: 15px;
  }

  .proof-inner {
    grid-template-columns: 1fr;
    padding: 12px 15px;
    border-radius: 18px;
  }

  .proof-intro,
  .proof-item {
    padding: 12px 4px;
  }

  .section {
    padding: 67px 0;
  }

  .section-head {
    margin-right: 0;
    margin-bottom: 25px;
    margin-left: 0;
    text-align: left;
  }

  .section-head h2,
  .pilot h2 {
    font-size: 32px;
    line-height: 1.16;
  }

  .section-head .sub {
    margin-right: 0;
    margin-left: 0;
  }

  .flow-shell {
    padding: 13px;
    border-radius: 22px;
  }

  .flow-principles {
    grid-template-columns: 1fr;
    gap: 6px;
    margin-bottom: 14px;
  }

  .flow-principles span {
    padding: 9px 10px;
    border-radius: 11px;
  }

  .flow-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .flow-nav .step {
    min-height: 57px;
    padding: 8px 9px;
    border-radius: 12px;
  }

  .flow-nav .step b {
    font-size: 11px;
  }

  .flow-content {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 13px;
    border-radius: 16px;
  }

  .flow-copy {
    padding: 3px 2px 0;
  }

  .flow-copy h3 {
    font-size: 21px;
  }

  .flow-copy p {
    font-size: 13px;
    line-height: 1.75;
  }

  .flow-view {
    min-height: 170px;
  }

  .focus-panel,
  .trust-col {
    padding: 23px;
    border-radius: 22px;
  }

  .focus-panel h3 {
    font-size: 21px;
  }

  .trust-col h3 {
    font-size: 20px;
  }

  .pilot {
    gap: 24px;
    padding: 27px 18px;
    border-radius: 25px;
  }

  .pilot-checks {
    gap: 7px;
    margin-top: 20px;
  }

  .formcard {
    padding: 18px;
    border-radius: 17px;
  }
}

/* 2026 companion demo and Mac surface pass. */
:root {
  --mac-text: #172236;
  --mac-muted: #718097;
  --mac-line: #dfe6ef;
  --mac-line-strong: #d2dce8;
  --mac-blue: #3b82f6;
  --mac-blue-soft: #edf5ff;
  --mac-surface: #ffffff;
  --mac-shell: #f4f7fb;
  --mac-shadow: 0 22px 60px rgba(53, 78, 113, 0.13);
  --mac-shadow-small: 0 8px 22px rgba(53, 78, 113, 0.075);
}

html,
body,
button,
input,
select,
textarea {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  color: var(--mac-text);
}

.hero-title-mobile {
  display: none;
}

h1,
h2,
h3,
.brand,
.btn,
.demo-companion,
.demo-companion button,
.demo-companion textarea {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.product-window,
.app-demo-window .window,
.proof-inner,
.flow-shell,
.flow-content,
.focus-panel,
.trust-col,
.pilot,
.formcard,
.mini-window,
.scene-inline span {
  border: 1px solid var(--mac-line);
  box-shadow: var(--mac-shadow-small);
}

.product-window {
  padding: 9px;
  border-color: #d7e0eb;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--mac-shadow), 0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.product-window:hover {
  box-shadow: 0 28px 68px rgba(53, 78, 113, 0.16), 0 1px 0 rgba(255, 255, 255, 0.95) inset;
}

.app-demo-window .window {
  min-height: 0;
  overflow: hidden;
  border-color: var(--mac-line-strong);
  border-radius: 21px;
  background: var(--mac-shell);
  box-shadow: none;
}

.window-top {
  min-height: 50px;
  border-bottom-color: var(--mac-line);
  color: #66758b;
  background: rgba(255, 255, 255, 0.94);
}

.demo-brand {
  color: #53647a;
  font-weight: 650;
}

.window-status {
  color: #708097;
}

.demo-app-shell,
.demo-main,
.companion-demo-main {
  display: block;
  width: 100%;
  min-width: 0;
  background: var(--mac-shell);
}

.companion-demo-main {
  padding: 18px;
}

.demo-rail {
  display: none;
}

.demo-companion {
  display: flex;
  flex-direction: column;
  width: min(100%, 650px);
  min-height: 500px;
  margin: 0 auto;
  padding: 21px 23px 18px;
  border: 1px solid var(--mac-line);
  border-radius: 22px;
  color: var(--mac-text);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 30px rgba(53, 78, 113, 0.08);
}

.demo-companion-topline,
.demo-companion-session-head,
.demo-companion-footer,
.demo-reply-head,
.demo-reply-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.demo-companion-topline {
  flex: 0 0 auto;
  margin-bottom: 17px;
}

.demo-channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #26344a;
  font-size: 14px;
  font-weight: 650;
}

.demo-channel-dot,
.demo-ready i {
  display: inline-block;
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
}

.demo-channel-dot {
  background: #3bc27f;
  box-shadow: 0 0 0 4px rgba(59, 194, 127, 0.1);
}

.demo-workspace-link,
.demo-settings {
  border: 0;
  color: #728097;
  background: transparent;
  font-size: 12px;
  cursor: pointer;
}

.demo-workspace-link:hover,
.demo-settings:hover {
  color: #326fd8;
}

.demo-companion-mode-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  flex: 0 0 auto;
  margin-bottom: 20px;
  padding: 4px;
  border: 1px solid #e3e9f1;
  border-radius: 14px;
  background: #f2f5f9;
}

.demo-companion-mode {
  height: 37px;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 10px;
  color: #7d899b;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.demo-companion-mode:hover:not(.active) {
  color: #4e5d73;
  background: rgba(255, 255, 255, 0.7);
}

.demo-companion-mode.active {
  color: #2b3a52;
  background: #fff;
  box-shadow: 0 5px 15px rgba(53, 78, 113, 0.09);
}

.demo-companion-mode:focus {
  outline: none;
}

.demo-companion-mode:focus-visible {
  outline: 2px solid rgba(57, 120, 246, 0.42);
  outline-offset: 2px;
}

.demo-companion-session {
  flex: 0 0 auto;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--mac-line);
}

.demo-companion-session-head {
  margin-bottom: 8px;
}

.demo-companion-eyebrow,
.demo-ready,
.demo-session-sub,
.demo-step-label,
.demo-reply-meta,
.demo-companion-note {
  color: #8b97a9;
  font-size: 11.5px;
  line-height: 1.45;
}

.demo-ready {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
}

.demo-ready i {
  background: #b5bfcd;
}

.demo-ready.is-ready i {
  background: #3caf7d;
  box-shadow: 0 0 0 4px rgba(59, 175, 125, 0.1);
}

.demo-session-title {
  display: block;
  overflow: hidden;
  color: #1c2a40;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.4;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-session-sub {
  margin: 4px 0 0;
}

.demo-process {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 0;
  padding-top: 18px;
}

.demo-timeline {
  position: relative;
  min-width: 0;
  margin: 0;
  padding: 0 0 0 22px;
  list-style: none;
}

.demo-timeline::before {
  position: absolute;
  top: 7px;
  bottom: 18px;
  left: 5px;
  width: 1px;
  content: "";
  background: linear-gradient(#d8e1ed, #eef2f7);
}

.demo-step {
  position: relative;
  min-width: 0;
  margin-bottom: 14px;
}

.demo-step:last-child {
  margin-bottom: 0;
}

.demo-step-marker {
  position: absolute;
  top: 5px;
  left: -20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #b2bdcc;
  box-shadow: 0 0 0 4px rgba(178, 189, 204, 0.1);
}

.demo-step.is-active .demo-step-marker {
  background: var(--mac-blue);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.demo-step.is-complete .demo-step-marker {
  background: #42ad7e;
  box-shadow: 0 0 0 4px rgba(66, 173, 126, 0.09);
}

.demo-step-label {
  display: block;
  margin-bottom: 5px;
}

.demo-step-value {
  max-height: 66px;
  margin: 0;
  overflow: hidden;
  color: #303c52;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.demo-reply {
  min-width: 0;
  margin-top: 4px;
  padding: 13px 14px;
  border: 1px solid #e0e7f0;
  border-left: 3px solid #6591ed;
  border-radius: 14px;
  background: #fbfdff;
  box-shadow: 0 5px 15px rgba(53, 78, 113, 0.05);
}

.demo-reply.auto {
  border-left-color: #42ad7e;
  background: #fbfffd;
}

.demo-reply-head strong {
  color: #3d4c63;
  font-size: 11px;
  font-weight: 650;
}

.demo-reply-head span {
  overflow: hidden;
  color: #9aa5b4;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.demo-reply textarea,
.demo-suggestion {
  width: 100%;
  margin-top: 8px;
  padding: 9px 10px;
  border: 1px solid #dce6f3;
  border-radius: 10px;
  color: #35445b;
  background: #fff;
  font-size: 13px;
  line-height: 1.58;
}

.demo-reply textarea {
  min-height: 84px;
  resize: vertical;
}

.demo-reply textarea:focus {
  border-color: rgba(59, 130, 246, 0.45);
  outline: 0;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.demo-suggestion {
  min-height: 84px;
}

.demo-reply-meta {
  margin-top: 9px;
  font-size: 10px;
}

.demo-reply-meta span:last-child {
  flex: 0 0 auto;
  text-align: right;
}

.demo-reply-actions {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 10px;
}

.demo-reply-actions .btn {
  min-height: 33px;
  padding: 0 12px;
  border-radius: 9px;
  font-size: 11px;
}

.demo-reply-actions .btn-primary {
  color: #fff;
  background: linear-gradient(135deg, #397df0, #55b7e0);
}

.demo-companion-note {
  flex: 0 0 auto;
  margin-top: 15px;
  padding-left: 22px;
  color: #8491a5;
}

.demo-companion-footer {
  flex: 0 0 auto;
  gap: 10px;
  padding-top: 16px;
}

.demo-settings {
  flex: 0 0 66px;
  height: 42px;
  padding: 0;
}

.demo-run-button {
  flex: 1;
  height: 44px;
  min-width: 0;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, #3479e7, #54b9e4);
  box-shadow: 0 9px 22px rgba(55, 125, 232, 0.2);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.demo-run-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(55, 125, 232, 0.25);
}

.demo-run-button.is-running {
  background: linear-gradient(135deg, #657187, #3e4a60);
  box-shadow: 0 9px 22px rgba(56, 68, 91, 0.16);
}

.trust-col.dark {
  color: var(--mac-text);
  border: 1px solid var(--mac-line);
  background: linear-gradient(145deg, #fff, #f5f9ff);
  box-shadow: var(--mac-shadow-small);
}

.trust-col.dark h3,
.trust-col.dark span b {
  color: #294566;
}

.trust-col.dark span {
  border-top-color: rgba(30, 58, 95, 0.08);
  color: #71839a;
}

.flow-shell,
.pilot {
  color: var(--mac-text);
  background: linear-gradient(145deg, #fff, #f4f8fd);
}

.flow-shell::after {
  opacity: 0.7;
}

.toast {
  border: 1px solid var(--mac-line-strong);
  color: #33445c;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--mac-shadow-small);
}

[hidden] {
  display: none !important;
}

@media (min-width: 681px) {
  .hero > .wrap > .product-window,
  .hero-grid > .product-window {
    width: min(100%, 760px);
  }
}

@media (max-width: 680px) {
  .wrap,
  .hero-grid,
  .hero-grid > * {
    min-width: 0;
  }

  .hero-copy {
    width: 100%;
    min-width: 0;
  }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(37px, 10.6vw, 48px);
    letter-spacing: -0.075em;
    overflow-wrap: normal;
  }

  .hero-title-desktop {
    display: none;
  }

  .hero-title-mobile {
    display: inline;
  }

  .product-window {
    max-width: 100%;
    min-width: 0;
    padding: 6px;
    border-radius: 23px;
  }

  .companion-demo-main {
    padding: 10px;
  }

  .demo-companion {
    min-height: 0;
    padding: 17px 14px 14px;
    border-radius: 18px;
  }

  .demo-companion-topline {
    margin-bottom: 14px;
  }

  .demo-channel {
    font-size: 13px;
  }

  .demo-workspace-link {
    font-size: 11px;
  }

  .demo-companion-mode-strip {
    margin-bottom: 17px;
  }

  .demo-companion-mode {
    height: 34px;
    font-size: 12px;
  }

  .demo-companion-session {
    padding-bottom: 15px;
  }

  .demo-session-title {
    font-size: 16px;
  }

  .demo-process {
    padding-top: 15px;
  }

  .demo-step {
    margin-bottom: 12px;
  }

  .demo-step-value {
    font-size: 13px;
  }

  .demo-reply {
    padding: 11px 12px;
  }

  .demo-reply textarea,
  .demo-suggestion {
    min-height: 94px;
    font-size: 12px;
  }

  .demo-reply-actions {
    flex-wrap: wrap;
  }

  .demo-reply-actions .btn {
    flex: 1 1 115px;
  }

  .demo-companion-note {
    margin-top: 13px;
    font-size: 10.5px;
  }

  .demo-companion-footer {
    padding-top: 13px;
  }
}

/* Browser review follow-up: compact hero actions and an unboxed companion demo. */
.hero-cta {
  justify-content: center;
  flex-wrap: nowrap;
  gap: 10px;
}

.hero-cta .btn {
  width: auto;
  min-width: 0;
  flex: 0 1 auto;
  padding-inline: 16px;
  white-space: nowrap;
}

.app-demo-window {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.app-demo-window::after {
  display: none;
}

.app-demo-window .window {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.app-demo-window .window-top {
  display: none;
}

.app-demo-window .demo-app-shell,
.app-demo-window .companion-demo-main {
  padding: 0;
  background: transparent;
}

@media (max-width: 680px) {
  .hero-cta {
    flex-direction: row;
    gap: 8px;
  }

  .hero-cta .btn {
    min-height: 42px;
    padding-inline: 12px;
    font-size: 12px;
  }
}

/* Browser review follow-up: transparent icon and denser mobile surfaces. */
.brand-icon {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  filter: none;
}

.demo-companion {
  width: min(100%, 580px);
  min-height: 0;
  padding: 18px 19px 15px;
}

.demo-companion-topline {
  margin-bottom: 13px;
}

.demo-companion-mode-strip {
  margin-bottom: 15px;
}

.demo-companion-session {
  padding-bottom: 14px;
}

.demo-process {
  padding-top: 14px;
}

.demo-step {
  margin-bottom: 10px;
}

.demo-step-value {
  font-size: 13px;
  line-height: 1.48;
}

.demo-reply {
  padding: 11px 12px;
}

.demo-reply textarea,
.demo-suggestion {
  min-height: 76px;
  font-size: 12px;
  line-height: 1.5;
}

.demo-reply-meta {
  margin-top: 7px;
}

.demo-reply-actions {
  margin-top: 8px;
}

.demo-companion-note {
  margin-top: 11px;
}

.demo-companion-footer {
  padding-top: 11px;
}

.proof-inner {
  padding: 10px 13px;
}

.proof-intro,
.proof-item {
  padding: 9px 3px;
}

.proof-intro b,
.proof-item strong {
  font-size: 18px;
}

.proof-intro span,
.proof-item span {
  font-size: 11px;
  line-height: 1.4;
}

.proof-item em {
  margin-top: 5px;
  font-size: 9px;
}

@media (max-width: 680px) {
  .demo-companion {
    width: calc(100% - 16px);
    padding: 14px 12px 12px;
    border-radius: 17px;
  }

  .demo-companion-topline {
    margin-bottom: 11px;
  }

  .demo-companion-mode-strip {
    margin-bottom: 13px;
  }

  .demo-companion-session {
    padding-bottom: 12px;
  }

  .demo-process {
    padding-top: 12px;
  }

  .demo-step {
    margin-bottom: 9px;
  }

  .demo-step-value {
    font-size: 12px;
    line-height: 1.45;
  }

  .demo-reply {
    padding: 9px 10px;
  }

  .demo-reply textarea,
  .demo-suggestion {
    min-height: 72px;
    font-size: 11.5px;
    line-height: 1.45;
  }

  .demo-reply-meta {
    margin-top: 6px;
  }

  .demo-reply-actions {
    margin-top: 7px;
  }

  .demo-companion-note {
    margin-top: 10px;
  }

  .demo-companion-footer {
    padding-top: 10px;
  }

  .proof-inner {
    padding: 9px 12px;
    border-radius: 16px;
  }

  .proof-intro,
  .proof-item {
    padding: 8px 3px;
  }

  .proof-intro b,
  .proof-item strong {
    font-size: 17px;
  }

  .proof-intro span,
  .proof-item span {
    font-size: 10.5px;
    line-height: 1.35;
  }

  .proof-item em {
    margin-top: 4px;
    font-size: 9px;
  }
}

/* Keep the transparent cutout visually continuous with the glass nav surface. */
nav {
  background: transparent;
}

/* Browser review follow-up: lift the mobile hero with its following content. */
@media (max-width: 680px) {
  .hero {
    padding-top: 42px;
  }
}

/* Browser review follow-up: remove the tinted backdrop from the flow preview. */
.flow-view {
  background: transparent;
  box-shadow: none;
}

/* Browser review follow-up: move the complete hero upward on every breakpoint. */
@media (min-width: 961px) {
  .hero {
    padding-top: 98px;
  }
}

@media (min-width: 681px) and (max-width: 960px) {
  .hero {
    padding-top: 74px;
  }
}

@media (max-width: 680px) {
  .hero {
    padding-top: 26px;
  }
}

/* Typography review: Apple-style system type with readable customer-facing sizes. */
:root {
  --mac-font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

html,
body,
button,
input,
select,
textarea {
  font-family: var(--mac-font-stack);
}

body {
  font-size: 16px;
  text-rendering: optimizeLegibility;
}

.nav-links a,
.btn {
  font-size: 14px;
}

.eyebrow {
  font-size: 13px;
}

.lead {
  font-size: 18px;
}

.micro {
  font-size: 13px;
}

.kicker {
  font-size: 13px;
}

.section-head .sub {
  font-size: 16px;
}

.proof-intro b,
.proof-item strong {
  font-size: 18px;
}

.proof-intro span,
.proof-item span {
  font-size: 13px;
  line-height: 1.55;
}

.proof-item em {
  font-size: 12px;
}

.flow-nav .step small {
  font-size: 11px;
}

.flow-nav .step b {
  font-size: 14px;
}

.flow-copy .pill {
  font-size: 12px;
}

.flow-copy p {
  font-size: 15px;
}

.flow-view .mini-window {
  font-size: 14px;
}

.flow-view .mini-window p {
  font-size: 15px;
  line-height: 1.65;
}

.flow-view .mini-window [style*="font-size"] {
  font-size: 13px !important;
}

.focus-panel small,
.scene-inline b {
  font-size: 13px;
}

.focus-list span {
  font-size: 14px;
}

.scene-inline b {
  font-size: 14px;
}

.scene-inline em {
  font-size: 13px;
}

.trust-col span {
  font-size: 14px;
}

.pilot-check {
  font-size: 14px;
}

.field label {
  font-size: 13px;
}

.field select,
.field input {
  font-size: 14px;
}

.formnote {
  font-size: 12.5px;
}

.footer-inner {
  font-size: 13px;
}

.demo-channel {
  font-size: 15px;
}

.demo-workspace-link,
.demo-settings {
  font-size: 13px;
}

.demo-companion-mode {
  font-size: 14px;
}

.demo-companion-eyebrow,
.demo-ready,
.demo-session-sub,
.demo-step-label,
.demo-companion-note {
  font-size: 13px;
  line-height: 1.5;
}

.demo-session-title {
  font-size: 18px;
}

.demo-step-value {
  font-size: 14px;
  line-height: 1.6;
}

.demo-reply-head strong,
.demo-reply-head span {
  font-size: 13px;
}

.demo-reply textarea,
.demo-suggestion {
  font-size: 14px;
  line-height: 1.6;
}

.demo-reply-meta {
  flex-wrap: wrap;
  font-size: 12.5px;
  line-height: 1.5;
}

.demo-reply-meta span:last-child {
  text-align: left;
}

.demo-reply-actions .btn,
.demo-run-button {
  font-size: 14px;
}

.legal-home,
.legal-heading .updated {
  font-size: 14px;
}

.legal-content p,
.legal-content li {
  font-size: 15px;
  line-height: 1.85;
}

.legal-note p {
  font-size: 14px;
}

/* Scroll reveal: bring each section upward into view with a soft stagger. */
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(60px);
  transition: opacity 800ms cubic-bezier(.16, 1, .3, 1), transform 800ms cubic-bezier(.16, 1, .3, 1);
  will-change: opacity, transform;
}

.motion-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .motion-ready .reveal,
  .motion-ready .reveal.visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

@media (max-width: 680px) {
  .eyebrow {
    font-size: 12px;
  }

  .lead {
    font-size: 16px;
  }

  .micro {
    font-size: 12px;
  }

  .hero-cta .btn {
    font-size: 13px;
  }

  .section-head .sub {
    font-size: 15px;
  }

  .proof-intro span,
  .proof-item span {
    font-size: 13px;
  }

  .proof-item em {
    font-size: 12px;
  }

  .flow-nav .step small {
    font-size: 10.5px;
  }

  .flow-nav .step b {
    font-size: 13px;
  }

  .flow-copy p {
    font-size: 14px;
  }

  .flow-view .mini-window p {
    font-size: 14px;
  }

  .focus-list span,
  .trust-col span {
    font-size: 14px;
  }

  .demo-channel {
    font-size: 14px;
  }

  .demo-workspace-link,
  .demo-settings {
    font-size: 12.5px;
  }

  .demo-companion-mode {
    font-size: 13px;
  }

  .demo-companion-eyebrow,
  .demo-ready,
  .demo-session-sub,
  .demo-step-label,
  .demo-companion-note {
    font-size: 12.5px;
  }

  .demo-session-title {
    font-size: 17px;
  }

  .demo-step-value {
    font-size: 13.5px;
  }

  .demo-reply-head strong,
  .demo-reply-head span {
    font-size: 12.5px;
  }

  .demo-reply textarea,
  .demo-suggestion {
    font-size: 13px;
  }

  .demo-reply-meta {
    font-size: 12px;
  }

  .demo-reply-actions .btn,
  .demo-run-button {
    font-size: 13px;
  }

  .legal-content p,
  .legal-content li {
    font-size: 15px;
  }
}

/* Keep the companion demo free of the old product-window hover frame. */
.app-demo-window,
.app-demo-window:hover {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}

.app-demo-window .window,
.app-demo-window .demo-app-shell,
.app-demo-window .demo-main,
.app-demo-window .companion-demo-main {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* Split-stage demo: show the customer's message beside the PixStar companion. */
@media (min-width: 961px) {
  .hero-grid > .app-demo-window {
    width: min(100%, 920px);
  }
}

.app-demo-window .companion-demo-shell {
  display: grid;
  grid-template-columns: minmax(240px, 0.84fr) minmax(0, 1.16fr);
  gap: 14px;
  padding: 16px;
  border-radius: 22px;
  background: #eaf0f7;
}

.app-demo-window .companion-demo-shell > .demo-main {
  display: flex;
  min-width: 0;
}

.demo-customer-window {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 520px;
  overflow: hidden;
  border: 1px solid var(--mac-line);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--mac-shadow-small);
}

.demo-customer-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 0 14px;
  border-bottom: 1px solid var(--mac-line);
  color: #26344a;
  background: rgba(255, 255, 255, 0.95);
}

.demo-customer-topline strong {
  font-size: 15px;
  font-weight: 650;
}

.demo-customer-tools {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #74859b;
  font-size: 15px;
  line-height: 1;
}

.demo-customer-thread {
  display: flex;
  flex: 1 1 auto;
  min-height: 0;
  flex-direction: column;
  padding: 12px 14px 14px;
  background: linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.demo-chat-spacer {
  flex: 1 1 auto;
  min-height: 76px;
}

.demo-chat-incoming,
.demo-chat-outgoing {
  display: flex;
  min-width: 0;
  gap: 8px;
  margin-top: 12px;
}

.demo-chat-outgoing {
  justify-content: flex-end;
}

.demo-chat-avatar {
  display: grid;
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  background: linear-gradient(145deg, #9e7b70, #443d52);
  font-size: 12px;
  font-weight: 700;
}

.demo-chat-message-wrap {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
}

.demo-chat-outgoing .demo-chat-message-wrap {
  align-items: flex-end;
  max-width: 92%;
}

.demo-chat-bubble {
  max-width: 100%;
  padding: 10px 12px;
  border: 1px solid #e0e7f0;
  border-radius: 13px;
  color: #3d526e;
  background: #fff;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.demo-chat-outgoing .demo-chat-bubble {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(145deg, #347fe8, #4c9ce5);
  box-shadow: 0 7px 18px rgba(55, 125, 232, 0.17);
}

.demo-chat-message-wrap time {
  margin-top: 4px;
  padding: 0 4px;
  color: #91a0b4;
  font-size: 11px;
  line-height: 1.4;
}

.demo-customer-composer {
  flex: 0 0 auto;
  padding: 11px 12px 12px;
  border-top: 1px solid var(--mac-line);
  background: #fff;
}

.demo-composer-tools {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #8191a5;
  font-size: 15px;
  line-height: 1;
}

.demo-composer-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 9px;
}

.demo-composer-row > span {
  min-width: 0;
  flex: 1 1 auto;
  color: #95a3b5;
  font-size: 13px;
}

.demo-composer-row button {
  min-height: 36px;
  padding: 0 13px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(145deg, #a6c9ee, #84b5e8);
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.demo-composer-row button:focus {
  outline: none;
}

.demo-composer-row button:focus-visible {
  outline: 2px solid rgba(57, 120, 246, 0.42);
  outline-offset: 2px;
}

.app-demo-window .companion-demo-main {
  display: flex;
  min-width: 0;
  padding: 0;
}

.app-demo-window .demo-companion {
  width: 100%;
  min-height: 520px;
  margin: 0;
}

@media (max-width: 680px) {
  .app-demo-window .companion-demo-shell {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 8px;
    border-radius: 18px;
  }

  .demo-customer-window {
    min-height: 350px;
  }

  .demo-chat-spacer {
    min-height: 44px;
  }

  .app-demo-window .demo-companion {
    min-height: 0;
  }
}
/* Rendered Remotion demo: the film owns its Mac window chrome. */
.hero-grid > .app-demo-window.video-demo-window,
.hero-grid > .app-demo-window.video-demo-window:hover {
  width: min(100%, 1100px);
  max-width: 1100px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  overflow: visible;
}
.video-demo-window video {display:block;width:100%;height:auto;border:0;border-radius:0;background:transparent;}
.video-demo-controls {display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 16px;color:#8792a3;font-size:13px;}
.video-demo-controls button {font:inherit;font-weight:500;color:#526780;background:#fff;border:1px solid #e6ebf2;border-radius:20px;min-width:64px;min-height:36px;cursor:pointer;}
.video-demo-controls button:focus-visible {outline:2px solid #397cf4;outline-offset:3px;}
@media(max-width:680px){.video-demo-controls {padding:8px 2px;font-size:12px;}}
