/* ==========================================================================
   DeskClerk AI — site design system v4
   Light theme · deep teal brand · Inter
   Tokens first, then primitives, then page-level components.
   ========================================================================== */

:root {
  /* surfaces */
  --bg: #ffffff;
  --bg-soft: #f6f7f5;
  --bg-muted: #eef1ee;
  --bg-deep: #0d1a18;

  /* text */
  --ink: #14181a;
  --ink-2: #4a5257;
  --ink-3: #7a8388;
  --ink-inverse: #ffffff;

  /* lines */
  --line: #e4e7e4;
  --line-strong: #cfd6d1;

  /* brand */
  --brand: #0f6e68;
  --brand-dark: #0b5752;
  --brand-soft: #e7f1ef;
  --brand-tint: rgba(15, 110, 104, 0.08);
  --accent: #d8a13a;

  /* semantic */
  --ok: #0f7a4d;
  --bad: #c0392b;

  /* type */
  --font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  /* radii */
  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* shadows */
  --sh-sm: 0 1px 2px rgba(20, 24, 26, 0.06);
  --sh-md: 0 4px 12px rgba(20, 24, 26, 0.08);
  --sh-lg: 0 12px 32px rgba(20, 24, 26, 0.1);
  --sh-xl: 0 24px 60px rgba(20, 24, 26, 0.14);

  /* layout */
  --container: 1200px;
  --container-wide: 1360px;
  --nav-h: 72px;

  /* motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur-fast: 150ms;
  --dur: 260ms;
  --dur-slow: 520ms;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
::selection { background: var(--brand); color: #fff; }

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

/* ------------------------------------------------ layout */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.container-wide { width: 100%; max-width: var(--container-wide); margin: 0 auto; padding: 0 24px; }
.section { padding: 104px 0; }
.section-tight { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-line { border-top: 1px solid var(--line); }

/* ------------------------------------------------ type */
.display, .h1, .h2, .h3, .h4 { margin: 0; letter-spacing: -0.02em; color: var(--ink); font-weight: 700; }
.display { font-size: clamp(2.75rem, 5.2vw, 4.5rem); line-height: 1.04; letter-spacing: -0.035em; }
.h1 { font-size: clamp(2.25rem, 4vw, 3.5rem); line-height: 1.08; }
.h2 { font-size: clamp(1.875rem, 2.8vw, 2.5rem); line-height: 1.12; font-weight: 600; }
.h3 { font-size: 1.5rem; line-height: 1.25; font-weight: 600; }
.h4 { font-size: 1.125rem; line-height: 1.35; font-weight: 600; letter-spacing: -0.01em; }

.lede { margin: 0; font-size: clamp(1.0625rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--ink-2); max-width: 640px; }
.body-sm { font-size: 0.9375rem; line-height: 1.6; color: var(--ink-2); }
.caption { font-size: 0.8125rem; line-height: 1.5; color: var(--ink-3); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 16px;
}
.eyebrow::before { content: ""; width: 18px; height: 1px; background: var(--brand); display: inline-block; }

.section-head { max-width: 760px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.center .lede { margin-left: auto; margin-right: auto; }
.section-head .h2 { margin-bottom: 16px; }

.mono { font-family: var(--mono); font-size: 0.875rem; }
.muted { color: var(--ink-3); }
.ink2 { color: var(--ink-2); }

/* ------------------------------------------------ buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 24px; border-radius: var(--r-sm); border: 1px solid transparent;
  font-size: 0.9375rem; font-weight: 600; line-height: 1; cursor: pointer;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              color var(--dur) var(--ease), transform var(--dur-fast) var(--ease),
              box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--brand); color: #fff; box-shadow: var(--sh-sm); }
.btn-primary:hover { background: var(--brand-dark); box-shadow: var(--sh-md); }
.btn-secondary { background: transparent; border-color: var(--line-strong); color: var(--ink); }
.btn-secondary:hover { border-color: var(--ink); background: var(--bg-soft); }
.btn-ghost { background: transparent; color: var(--ink-2); padding: 10px 12px; }
.btn-ghost:hover { color: var(--ink); }
.btn-white { background: #fff; color: var(--ink); }
.btn-white:hover { background: var(--bg-soft); }
.btn-lg { padding: 18px 32px; font-size: 1rem; }
.btn-sm { padding: 10px 16px; font-size: 0.875rem; }
.btn .arrow { transition: transform var(--dur) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }

/* ------------------------------------------------ nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 1000; height: var(--nav-h);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}
.nav.scrolled { background: rgba(255, 255, 255, 0.98); border-bottom-color: var(--line); box-shadow: var(--sh-sm); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-mark { width: 32px; height: 32px; border-radius: 9px; background: var(--brand); display: grid; place-items: center; }
.brand-name { font-size: 1.0625rem; font-weight: 700; letter-spacing: -0.02em; white-space: nowrap; }
.brand-name span { font-weight: 400; color: var(--ink-2); margin-left: 2px; }

.nav-menu { display: flex; align-items: center; gap: 4px; margin: 0; padding: 0; list-style: none; }
.nav-item { position: relative; }
.nav-link {
  display: inline-flex; align-items: center; gap: 4px; padding: 9px 8px;
  font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); border-radius: var(--r-sm);
  white-space: nowrap;
  transition: color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.nav-menu { gap: 0; }
@media (min-width: 1360px) {
  .nav-link { font-size: 0.875rem; padding: 10px 10px; }
}
.nav-link:hover, .nav-item.open > .nav-link { color: var(--ink); background: var(--bg-soft); }
.nav-link .chev { transition: transform var(--dur) var(--ease); opacity: 0.5; }
.nav-item.open .nav-link .chev { transform: rotate(180deg); }

.nav-drop {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 260px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); padding: 8px; opacity: 0; visibility: hidden;
  transform: translateY(-4px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
  z-index: 20;
}
.nav-item.open .nav-drop { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-drop.cols-2 { width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.nav-drop a {
  display: block; padding: 9px 12px; border-radius: var(--r-sm); font-size: 0.875rem; color: var(--ink-2);
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease);
}
.nav-drop a:hover { background: var(--bg-soft); color: var(--ink); }
.nav-drop .all { grid-column: 1 / -1; margin-top: 4px; border-top: 1px solid var(--line); padding-top: 10px; color: var(--brand); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; padding: 8px; color: var(--ink-3); border-radius: var(--r-sm); }
.lang-btn:hover { color: var(--ink); background: var(--bg-soft); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 6px); width: 280px; max-height: 360px; overflow: auto;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--sh-lg); padding: 6px;
}
.lang-menu button { display: flex; justify-content: space-between; width: 100%; text-align: left; padding: 8px 10px; border: 0; background: none; border-radius: var(--r-sm); font-size: 0.875rem; cursor: pointer; }
.lang-menu button:hover { background: var(--bg-soft); }
.lang-menu .lang-group { padding: 8px 10px 4px; font-size: 0.6875rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }

.nav-burger { display: none; padding: 8px; border: 0; background: none; cursor: pointer; }
.mobile-menu { display: none; position: fixed; inset: var(--nav-h) 0 0 0; background: #fff; z-index: 999; overflow: auto; padding: 16px 24px 40px; }
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-size: 1rem; }
.mobile-menu .grp { margin-top: 20px; font-size: 0.6875rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-3); }
.mobile-menu .cta { display: flex; gap: 12px; margin-top: 24px; }
.mobile-menu .cta .btn { flex: 1; }

@media (max-width: 1180px) {
  .nav-menu { display: none; }
  .nav-actions .btn-ghost, .nav-actions .btn { display: none; }
  .nav-burger { display: inline-flex; }
}

/* ------------------------------------------------ hero */
.hero { padding: calc(var(--nav-h) + 84px) 0 96px; position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 64px; align-items: center; }
.hero-copy { max-width: 620px; }
.hero .display { margin-bottom: 24px; }
.hero .lede { font-size: clamp(1.125rem, 1.5vw, 1.3125rem); max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 28px; font-size: 0.8125rem; color: var(--ink-3); }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { color: var(--brand); }

.hero-panel { position: relative; }
.hero-panel::before {
  content: ""; position: absolute; inset: -8% -6% -10% -8%;
  background: radial-gradient(60% 60% at 60% 40%, rgba(15,110,104,0.14), transparent 70%);
  filter: blur(10px); z-index: 0;
}
.hero-panel > * { position: relative; z-index: 1; }

@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero { padding-top: calc(var(--nav-h) + 56px); }
  .hero-panel { max-width: 560px; }
}

/* ------------------------------------------------ chat mock */
.chat-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl);
  box-shadow: var(--sh-xl); overflow: hidden;
}
.chat-head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--line); background: #fff; }
.chat-avatar { width: 34px; height: 34px; border-radius: 10px; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 0.8125rem; }
.chat-title { font-size: 0.875rem; font-weight: 600; }
.chat-status { font-size: 0.75rem; color: var(--ink-3); display: flex; align-items: center; gap: 5px; }
.chat-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); }
.chat-body { padding: 20px 18px 24px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 14px; min-height: 340px; }
.msg { max-width: 82%; padding: 11px 14px; border-radius: 14px; font-size: 0.875rem; line-height: 1.45; }
.msg.bot { background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.msg.user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg .src { display: block; margin-top: 8px; font-size: 0.6875rem; color: var(--ink-3); }
.msg .src a { color: var(--brand); }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); opacity: 0.4; animation: ba-typing 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.15s; }
.typing i:nth-child(3) { animation-delay: 0.3s; }
@keyframes ba-typing { 0%, 60%, 100% { opacity: 0.25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

.chat-input { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.chat-input .field { flex: 1; height: 38px; border: 1px solid var(--line); border-radius: var(--r-sm); padding: 0 12px; display: flex; align-items: center; font-size: 0.8125rem; color: var(--ink-3); }
.chat-send { width: 38px; height: 38px; border-radius: var(--r-sm); background: var(--brand); color: #fff; display: grid; place-items: center; }

/* ------------------------------------------------ browser frame */
.browser { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); box-shadow: var(--sh-xl); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; border-bottom: 1px solid var(--line); background: var(--bg-soft); }
.browser-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.browser-url { flex: 1; margin-left: 8px; height: 24px; border-radius: var(--r-full); background: #fff; border: 1px solid var(--line); font-size: 0.6875rem; color: var(--ink-3); display: flex; align-items: center; padding: 0 10px; }

/* ------------------------------------------------ tool input (M03) */
.tool-input-section { padding: 40px 0 96px; }
.tool-input-title { font-size: clamp(2.25rem, 4.6vw, 4.5rem); line-height: 1.05; letter-spacing: -0.035em; margin: 0 0 16px; font-weight: 700; }
.tool-input-sub { font-size: 1.375rem; color: var(--ink-2); margin: 0 0 36px; max-width: 720px; }
.tool-bar { display: flex; gap: 12px; align-items: stretch; max-width: var(--container-wide); }
.tool-bar .field {
  flex: 1; display: flex; align-items: center; gap: 12px; height: 76px; padding: 0 24px;
  background: #fff; border: 1px solid var(--line-strong); border-radius: var(--r-md);
  font-size: 1.25rem; color: var(--ink); transition: border-color var(--dur), box-shadow var(--dur);
}
.tool-bar .field:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.tool-bar .field input { border: 0; outline: 0; width: 100%; font: inherit; color: inherit; background: transparent; }
.tool-bar .btn { height: 76px; padding: 0 32px; font-size: 1.0625rem; border-radius: var(--r-md); }
.tool-hint { margin-top: 16px; font-size: 0.8125rem; color: var(--ink-3); display: flex; flex-wrap: wrap; gap: 18px; }
@media (max-width: 720px) {
  .tool-bar { flex-direction: column; }
  .tool-bar .field, .tool-bar .btn { height: 64px; }
}

/* ------------------------------------------------ cards / grids */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px; transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease), border-color var(--dur);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); border-color: var(--line-strong); }
.card .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--brand-soft); color: var(--brand); display: grid; place-items: center; margin-bottom: 18px; }
.card h3 { margin: 0 0 8px; font-size: 1.0625rem; font-weight: 600; letter-spacing: -0.01em; }
.card p { margin: 0; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.6; }

.tile { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.tile-figure { aspect-ratio: 16 / 10; background: #fff; display: grid; place-items: center; border-bottom: 1px solid var(--line); }
.tile-body { padding: 18px 20px 20px; }
.tile-body h4 { margin: 0 0 4px; font-size: 0.9375rem; font-weight: 600; }
.tile-body p { margin: 0; font-size: 0.8125rem; color: var(--ink-3); }

/* ------------------------------------------------ pain vs solution */
.compare-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: #fff; }
.compare-col { padding: 36px 32px; }
.compare-col + .compare-col { border-left: 1px solid var(--line); background: var(--bg-soft); }
.compare-col h3 { margin: 0 0 20px; font-size: 1.125rem; font-weight: 600; }
.compare-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.compare-col li { display: flex; gap: 12px; font-size: 0.9375rem; color: var(--ink-2); line-height: 1.5; }
.compare-col li svg { flex-shrink: 0; margin-top: 3px; }
.compare-col.bad li svg { color: var(--bad); }
.compare-col.good li svg { color: var(--ok); }
@media (max-width: 720px) { .compare-2 { grid-template-columns: 1fr; } .compare-col + .compare-col { border-left: 0; border-top: 1px solid var(--line); } }

/* ------------------------------------------------ tabs */
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); margin-bottom: 36px; flex-wrap: wrap; }
.tab {
  padding: 12px 18px; border: 0; background: none; cursor: pointer; font-size: 0.9375rem; font-weight: 500;
  color: var(--ink-3); border-bottom: 2px solid transparent; margin-bottom: -1px; transition: color var(--dur), border-color var(--dur);
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--ink); border-bottom-color: var(--brand); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: ba-fade var(--dur-slow) var(--ease); }
@keyframes ba-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 32px; } }

/* ------------------------------------------------ workflow */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; counter-reset: step; }
.step { position: relative; padding-top: 8px; }
.step-num { width: 48px; height: 48px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; margin-bottom: 18px; }
.step h3 { margin: 0 0 8px; font-size: 1.0625rem; font-weight: 600; }
.step p { margin: 0; color: var(--ink-2); font-size: 0.9375rem; }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr; } }

/* ------------------------------------------------ metrics */
.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.metric { border-left: 1px solid var(--line); padding-left: 24px; }
.metric:first-child { border-left: 0; padding-left: 0; }
.metric-value { font-size: clamp(2.25rem, 3.4vw, 3.5rem); font-weight: 700; letter-spacing: -0.03em; color: var(--brand); line-height: 1; }
.metric-label { margin-top: 10px; font-size: 0.875rem; color: var(--ink-2); }
@media (max-width: 900px) { .metrics { grid-template-columns: 1fr 1fr; gap: 24px; } .metric:nth-child(3) { border-left: 0; padding-left: 0; } }
@media (max-width: 560px) { .metrics { grid-template-columns: 1fr; } .metric { border-left: 0; padding-left: 0; } }

/* ------------------------------------------------ pricing */
.billing-toggle { display: inline-flex; padding: 4px; background: var(--bg-muted); border-radius: var(--r-full); gap: 4px; }
.billing-toggle button { border: 0; background: none; padding: 9px 18px; border-radius: var(--r-full); font-size: 0.875rem; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: background var(--dur), color var(--dur); }
.billing-toggle button.active { background: #fff; color: var(--ink); box-shadow: var(--sh-sm); }
.billing-toggle .save { font-size: 0.75rem; color: var(--brand); font-weight: 600; margin-left: 6px; }

.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.price-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 32px 28px; }
.price-card.featured { border: 2px solid var(--brand); box-shadow: var(--sh-lg); transform: scale(1.03); z-index: 1; }
.price-badge { position: absolute; top: -12px; left: 28px; background: var(--brand); color: #fff; font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 10px; border-radius: var(--r-full); }
.price-name { font-size: 1.125rem; font-weight: 600; }
.price-note { margin-top: 4px; font-size: 0.8125rem; color: var(--ink-3); }
.price-amount { display: flex; align-items: baseline; gap: 4px; margin: 22px 0 4px; }
.price-amount .num { font-size: 3rem; font-weight: 700; letter-spacing: -0.03em; line-height: 1; }
.price-amount .per { font-size: 0.875rem; color: var(--ink-3); }
.price-billed { font-size: 0.8125rem; color: var(--ink-3); min-height: 20px; }
.price-quota { margin: 18px 0; padding: 12px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 0.875rem; color: var(--ink-2); }
.price-quota strong { color: var(--ink); }
.price-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 10px; font-size: 0.875rem; color: var(--ink-2); }
.price-list li { display: flex; gap: 10px; }
.price-list svg { flex-shrink: 0; color: var(--brand); margin-top: 2px; }
.price-card .btn { margin-top: auto; width: 100%; }
@media (max-width: 900px) { .price-grid { grid-template-columns: 1fr; } .price-card.featured { transform: none; } }

/* ------------------------------------------------ testimonials */
.quote-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.quote { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: 28px; display: flex; flex-direction: column; gap: 20px; }
.quote p { margin: 0; font-size: 0.9375rem; line-height: 1.65; color: var(--ink); }
.quote-foot { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 48px; height: 48px; border-radius: 50%; overflow: hidden; background: var(--bg-muted); flex-shrink: 0; }
.quote-role { font-size: 0.8125rem; color: var(--ink-2); }
.quote-role strong { display: block; color: var(--ink); font-weight: 600; font-size: 0.875rem; }
@media (max-width: 900px) { .quote-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ integrations / logos */
.logo-row { display: flex; flex-wrap: wrap; gap: 40px 56px; align-items: center; justify-content: center; }
.logo-item { display: flex; align-items: center; gap: 10px; height: 32px; opacity: 0.6; transition: opacity var(--dur); font-weight: 600; color: var(--ink-2); font-size: 0.9375rem; }
.logo-item:hover { opacity: 1; }
.logo-item svg { height: 24px; width: auto; }

/* ------------------------------------------------ faq */
.faq { max-width: 800px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; border: 0; background: none; text-align: left; font-size: 1.0625rem; font-weight: 500; cursor: pointer; }
.faq-q .chev { transition: transform var(--dur) var(--ease); flex-shrink: 0; color: var(--ink-3); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { display: none; padding: 0 0 24px; color: var(--ink-2); font-size: 0.9375rem; line-height: 1.7; max-width: 680px; }
.faq-item.open .faq-a { display: block; animation: ba-fade var(--dur) var(--ease); }

/* ------------------------------------------------ final cta */
.final-cta { background: var(--bg-deep); color: #fff; padding: 112px 0; position: relative; overflow: hidden; }
.final-cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(50% 70% at 50% 0%, rgba(46, 211, 183, 0.16), transparent 70%);
}
.final-cta .container { position: relative; text-align: center; }
.final-cta .h2 { color: #fff; margin-bottom: 16px; }
.final-cta p { color: rgba(255,255,255,0.72); max-width: 560px; margin: 0 auto 32px; }
.final-cta .btn-primary { background: #fff; color: var(--ink); }
.final-cta .btn-primary:hover { background: var(--bg-soft); }
.final-cta .btn-secondary { border-color: rgba(255,255,255,0.3); color: #fff; }
.final-cta .btn-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.6); }

/* ------------------------------------------------ footer */
.footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; }
.footer-brand p { margin: 16px 0 0; max-width: 300px; font-size: 0.875rem; color: var(--ink-2); line-height: 1.6; }
.footer h4 { margin: 0 0 16px; font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer li a { font-size: 0.875rem; color: var(--ink-2); transition: color var(--dur); }
.footer li a:hover { color: var(--brand); }
.footer-bottom { margin-top: 56px; border-top: 1px solid var(--line); padding: 20px 0; display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; font-size: 0.8125rem; color: var(--ink-3); }
.footer-bottom a:hover { color: var(--ink); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------ auth (left form / right showcase) */
.auth { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-form-side { display: flex; flex-direction: column; background: #fff; padding: 48px 48px 40px; }
.auth-logo { margin-bottom: 40px; }
.auth-body { flex: 1; display: flex; align-items: center; }
.auth-card { width: 100%; max-width: 420px; margin: 0 auto; }
.auth-card .h1 { font-size: 2.25rem; }
.auth-sub { margin: 10px 0 28px; color: var(--ink-2); font-size: 0.9375rem; }
.auth-oauth { display: grid; gap: 10px; margin-bottom: 20px; }
.oauth-btn { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: #fff; font-size: 0.9375rem; font-weight: 500; cursor: pointer; transition: border-color var(--dur), background var(--dur); }
.oauth-btn:hover { border-color: var(--ink); background: var(--bg-soft); }
.auth-divider { display: flex; align-items: center; gap: 12px; margin: 20px 0; color: var(--ink-3); font-size: 0.75rem; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.field-label { display: block; font-size: 0.8125rem; font-weight: 500; color: var(--ink-2); margin: 0 0 6px; }
.input { width: 100%; height: 46px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); padding: 0 14px; font-size: 0.9375rem; background: #fff; transition: border-color var(--dur), box-shadow var(--dur); }
.input:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-tint); }
.auth-row { display: flex; justify-content: space-between; align-items: center; margin: 16px 0 22px; font-size: 0.8125rem; }
.auth-row a { color: var(--brand); }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 0.8125rem; color: var(--ink-2); line-height: 1.45; }
.check input { margin-top: 3px; accent-color: var(--brand); }
.auth-legal { margin-top: 24px; text-align: center; font-size: 0.75rem; color: var(--ink-3); }
.auth-legal a { color: var(--ink-2); text-decoration: underline; text-underline-offset: 2px; }
.auth-switch { margin-top: 22px; text-align: center; font-size: 0.8125rem; color: var(--ink-3); }
.auth-switch a { color: var(--brand); font-weight: 500; }
.auth-note { margin-top: 14px; padding: 12px 14px; border-radius: var(--r-sm); background: var(--brand-soft); color: var(--brand-dark); font-size: 0.8125rem; line-height: 1.5; }
.auth-footer { margin-top: 40px; font-size: 0.75rem; color: var(--ink-3); display: flex; gap: 16px; }

.auth-showcase {
  position: relative; background: linear-gradient(150deg, #0b1f1c 0%, #0f3d38 55%, #14584f 100%);
  color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 64px 56px; overflow: hidden;
}
.auth-showcase::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 70% 20%, rgba(46,211,183,0.18), transparent 70%);
}
.auth-showcase-inner { position: relative; max-width: 460px; margin: 0 auto; }
.auth-showcase h2 { margin: 0 0 10px; font-size: 1.75rem; font-weight: 600; text-align: center; letter-spacing: -0.02em; }
.auth-showcase .sub { margin: 0 0 36px; text-align: center; color: rgba(255,255,255,0.72); font-size: 0.9375rem; }
.showcase-features { display: grid; gap: 14px; }
.showcase-item { display: flex; gap: 14px; align-items: flex-start; padding: 16px; border-radius: var(--r-md); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1); }
.showcase-icon { width: 48px; height: 48px; border-radius: 50%; background: rgba(46,211,183,0.16); color: #7fe3cf; display: grid; place-items: center; flex-shrink: 0; }
.showcase-item h3 { margin: 0 0 2px; font-size: 0.875rem; font-weight: 600; }
.showcase-item p { margin: 0; font-size: 0.75rem; color: rgba(255,255,255,0.65); line-height: 1.5; }
.showcase-trust { margin-top: 28px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.12); font-size: 0.75rem; color: rgba(255,255,255,0.6); text-align: center; }
@media (max-width: 1024px) {
  .auth { grid-template-columns: 1fr; }
  .auth-showcase { display: none; }
  .auth-form-side { padding: 32px 24px; }
}

/* ------------------------------------------------ motion */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease), transform 600ms var(--ease); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: 80ms; }
.reveal-d2 { transition-delay: 160ms; }
.reveal-d3 { transition-delay: 240ms; }
.reveal-d4 { transition-delay: 320ms; }
.reveal-d5 { transition-delay: 400ms; }

.hero-enter { opacity: 0; transform: translateY(26px); animation: ba-enter 620ms var(--ease) forwards; }
.hero-enter.d1 { animation-delay: 100ms; }
.hero-enter.d2 { animation-delay: 200ms; }
.hero-enter.d3 { animation-delay: 300ms; }
.hero-enter.d4 { animation-delay: 400ms; }
.hero-enter.d5 { animation-delay: 500ms; }
@keyframes ba-enter { to { opacity: 1; transform: none; } }

.float { animation: ba-float 6s ease-in-out infinite; }
@keyframes ba-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-enter { opacity: 1; transform: none; }
}

/* ------------------------------------------------ legacy helper overrides */
.grad { background: var(--brand); }
.grad-text { color: var(--brand); background: none; -webkit-text-fill-color: currentColor; }

/* ------------------------------------------------ content images */
.card-cover { display:block; width:calc(100% + 56px); margin:-28px -28px 22px; border-radius: var(--r-lg) var(--r-lg) 0 0; aspect-ratio: 16 / 9; object-fit: cover; }

/* ==========================================================================
   Demo storefront + rich feature visuals (2026-10-20 polish)
   ========================================================================== */
.demo-site { background:#fff; }
.demo-nav { display:flex; align-items:center; gap:18px; padding:13px 22px; border-bottom:1px solid var(--line); }
.demo-brand { font-weight:700; letter-spacing:.1em; font-size:.75rem; }
.demo-links { display:flex; gap:14px; font-size:.6875rem; color:var(--ink-3); }
.demo-quote { margin-left:auto; font-size:.6875rem; font-weight:600; border:1px solid var(--line); border-radius:6px; padding:5px 10px; }
.demo-main { padding:22px; }
.demo-eyebrow { font-size:.625rem; letter-spacing:.14em; color:var(--brand); font-weight:700; }
.demo-h1 { font-size:1.75rem; font-weight:700; letter-spacing:-.02em; margin:6px 0 4px; line-height:1.08; }
.demo-sub { font-size:.75rem; color:var(--ink-3); }
.demo-products { display:grid; grid-template-columns:repeat(3,1fr); gap:12px; margin-top:18px; }
.demo-product { border:1px solid var(--line); border-radius:10px; overflow:hidden; background:#fff; transition:transform .3s var(--ease), box-shadow .3s var(--ease); }
.demo-product:hover { transform:translateY(-3px); box-shadow:var(--sh-md); }
.demo-product img { width:100%; aspect-ratio:4/3; object-fit:cover; background:var(--bg-soft); }
.demo-product .body { padding:10px 12px 12px; }
.demo-product .name { font-size:.75rem; font-weight:600; }
.demo-product .price { font-size:.6875rem; color:var(--ink-3); margin-top:2px; }
.demo-product .stock { display:inline-block; margin-top:6px; font-size:.5625rem; font-weight:700; color:var(--ok); background:#EAF6EF; border-radius:999px; padding:2px 7px; letter-spacing:.02em; }
.demo-strip { margin-top:16px; display:flex; flex-wrap:wrap; gap:16px; font-size:.6875rem; color:var(--ink-3); }

/* mini widget / file / lead / language / chart mocks */
.mini-widget { border:1px solid var(--line); border-radius:12px; overflow:hidden; width:82%; box-shadow:var(--sh-md); background:#fff; }
.mini-widget-head { background:var(--brand); color:#fff; padding:9px 12px; font-size:.625rem; font-weight:600; display:flex; justify-content:space-between; align-items:center; }
.mini-widget-head span { opacity:.7; font-weight:400; }
.mini-msg { font-size:.625rem; background:var(--bg-soft); border-radius:8px; padding:7px 9px; margin:8px; line-height:1.35; }
.mini-msg.user { background:var(--brand); color:#fff; margin-left:26px; }
.mini-input { margin:8px; height:24px; border:1px solid var(--line); border-radius:6px; font-size:.5625rem; color:var(--ink-3); display:flex; align-items:center; padding:0 8px; }
.mini-dots { display:inline-flex; gap:3px; margin-left:12px; }
.mini-dots i { width:4px; height:4px; border-radius:50%; background:var(--ink-3); animation:ba-typing 1.2s infinite; }
.mini-dots i:nth-child(2){animation-delay:.15s} .mini-dots i:nth-child(3){animation-delay:.3s}

.file-row { display:flex; align-items:center; gap:8px; font-size:.625rem; padding:8px 0; border-bottom:1px solid var(--line); }
.file-chip { width:32px; height:20px; border-radius:4px; display:grid; place-items:center; font-size:.5rem; font-weight:700; color:#fff; flex-shrink:0; }
.file-chip.pdf{background:#C0392B} .file-chip.doc{background:#1D4ED8} .file-chip.xls{background:#0F7A4D}
.file-name { flex:1; color:var(--ink-2); }
.file-state { color:var(--ok); font-weight:600; font-size:.5625rem; }

.lead-row { display:flex; align-items:center; gap:8px; font-size:.625rem; padding:8px 0; border-bottom:1px solid var(--line); }
.lead-avatar { width:22px; height:22px; border-radius:50%; background:var(--bg-muted); display:grid; place-items:center; font-size:.5rem; font-weight:700; color:var(--ink-2); }
.lead-mail { flex:1; color:var(--ink-2); }
.lead-tag { font-size:.5rem; font-weight:700; color:var(--ok); background:#EAF6EF; border-radius:999px; padding:2px 6px; }
.lead-row.new { animation:ba-slide-in .7s var(--ease) .5s both; }
@keyframes ba-slide-in { from{opacity:0;transform:translateX(10px)} to{opacity:1;transform:none} }

.handoff { display:flex; align-items:center; gap:10px; }
.handoff .who { width:34px; height:34px; border-radius:50%; display:grid; place-items:center; font-size:.5625rem; font-weight:700; }
.handoff .ai { background:var(--brand); color:#fff; }
.handoff .human { background:var(--bg-muted); color:var(--ink-2); }
.handoff .arrow { color:var(--brand); animation:ba-nudge 1.8s ease-in-out infinite; }
@keyframes ba-nudge { 0%,100%{transform:translateX(0)} 50%{transform:translateX(5px)} }
.handoff-chip { font-size:.5625rem; background:var(--brand-soft); color:var(--brand-dark); border-radius:999px; padding:3px 8px; font-weight:600; }

.lang-pill { font-size:.5625rem; border:1px solid var(--line); border-radius:999px; padding:3px 8px; color:var(--ink-2); animation:ba-cycle 6s infinite; }
.lang-pill:nth-child(2){animation-delay:1.5s} .lang-pill:nth-child(3){animation-delay:3s} .lang-pill:nth-child(4){animation-delay:4.5s}
.lang-pill.on { background:var(--brand); color:#fff; border-color:var(--brand); }
@keyframes ba-cycle { 0%,20%{opacity:1} 35%,90%{opacity:.25} 100%{opacity:1} }

.bars { display:flex; align-items:flex-end; gap:6px; height:74px; }
.bars i { flex:1; background:#CFD6D1; border-radius:3px 3px 0 0; transform-origin:bottom; animation:ba-bar 1s var(--ease) both; }
.bars i.hot { background:var(--brand); }
.bars i:nth-child(2){animation-delay:.06s} .bars i:nth-child(3){animation-delay:.12s} .bars i:nth-child(4){animation-delay:.18s} .bars i:nth-child(5){animation-delay:.24s} .bars i:nth-child(6){animation-delay:.3s} .bars i:nth-child(7){animation-delay:.36s}
@keyframes ba-bar { from{transform:scaleY(.15)} to{transform:scaleY(1)} }

.mini-card { background:#fff; border:1px solid var(--line); border-radius:10px; padding:12px; box-shadow:var(--sh-sm); }
.mini-source { font-size:.5625rem; color:var(--brand); display:flex; align-items:center; gap:5px; margin-top:6px; }
.mini-answer { font-size:.625rem; line-height:1.4; }
.mini-form { display:grid; gap:6px; }
.mini-form .line { height:22px; border:1px solid var(--line); border-radius:5px; display:flex; align-items:center; padding:0 8px; font-size:.5625rem; color:var(--ink-3); }
.mini-form .go { height:24px; border-radius:5px; background:var(--brand); color:#fff; display:flex; align-items:center; justify-content:center; font-size:.5625rem; font-weight:600; }
.mini-widgets { display:flex; gap:10px; align-items:flex-end; }
.mini-widget-sm { width:64px; border:1px solid var(--line); border-radius:8px; overflow:hidden; box-shadow:var(--sh-sm); }
.mini-widget-sm .top { height:16px; background:var(--brand); }
.mini-widget-sm.alt .top { background:#14181A; }
.mini-widget-sm .body { height:34px; background:#fff; }

.tile:hover .mini-widget, .card:hover .mini-widget { transform:translateY(-2px); }
.mini-widget, .mini-widget-sm { transition:transform .35s var(--ease), box-shadow .35s var(--ease); }

/* ==========================================================================
   Premium pass (2026-10-20) — reference: enterprise AI platform sites
   ========================================================================== */
:root {
  --shadow-hover: 0 18px 44px rgba(16, 24, 22, 0.10);
  --panel: #F4F7F5;
}

body { background: var(--bg); }

.nav { height: 76px; }
.nav-inner { height: 76px; }

.section-head .h2 { font-size: clamp(2rem, 3vw, 2.75rem); letter-spacing: -0.03em; }
.section-head { margin-bottom: 52px; }

.card {
  border-radius: 16px;
  border-color: #E6EAE6;
  box-shadow: 0 1px 2px rgba(16, 24, 22, 0.04);
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: #D8DFDA;
}
.card .icon { width: 44px; height: 44px; border-radius: 12px; }

.btn-primary {
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16), 0 1px 2px rgba(16,24,22,.14);
}
.btn-primary:hover { transform: translateY(-1px); }

.nav-drop.mega {
  width: 760px; padding: 12px; display: grid;
  grid-template-columns: 1fr 1fr 208px; gap: 4px;
}
.nav-drop.mega a.item {
  display: flex; gap: 10px; align-items: flex-start; padding: 10px 10px;
}
.nav-drop.mega .dot {
  width: 30px; height: 30px; border-radius: 9px; background: var(--brand-soft);
  color: var(--brand); display: grid; place-items: center; font-size: 10px;
  font-weight: 700; flex-shrink: 0;
}
.nav-drop.mega .t { font-size: .8125rem; font-weight: 600; color: var(--ink); line-height: 1.25; }
.nav-drop.mega .d { font-size: .6875rem; color: var(--ink-3); line-height: 1.35; margin-top: 3px; }
.nav-drop.mega .promo {
  grid-row: span 7; background: var(--panel); border-radius: 12px; padding: 16px;
  display: flex; flex-direction: column; justify-content: space-between; gap: 14px;
}
.nav-drop.mega .promo .k { font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); font-weight: 700; }
.nav-drop.mega .promo .h { font-size: .9375rem; font-weight: 600; line-height: 1.3; color: var(--ink); }
.nav-drop.mega .promo .p { font-size: .75rem; color: var(--ink-2); line-height: 1.45; }
.nav-drop.mega .promo .btn { width: 100%; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px;
  border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.7);
  font-size: .75rem; font-weight: 600; color: var(--ink-2); margin-bottom: 18px;
}
.hero-badge i { width: 6px; height: 6px; border-radius: 50%; background: var(--brand); display: inline-block; }
.hero-badge b { color: var(--brand); font-weight: 700; }

.filter-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 32px; }
.filter-tabs button {
  border: 1px solid var(--line); background: #fff; color: var(--ink-2);
  border-radius: 999px; padding: 8px 16px; font-size: .8125rem; font-weight: 600; cursor: pointer;
  transition: all var(--dur) var(--ease);
}
.filter-tabs button:hover { border-color: var(--line-strong); color: var(--ink); }
.filter-tabs button.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.hub-card { display: block; }
.hub-card.hidden { display: none; }

.section + .section:not(.section-soft) { border-top: 1px solid rgba(228,231,228,.7); }
.section-soft { background: linear-gradient(180deg, #F7F9F7 0%, #F3F6F4 100%); }

.price-card.featured { box-shadow: 0 24px 60px rgba(15,110,104,.14); }

.footer { background: #F5F7F5; }

/* mega menu refinement */
.nav-drop.mega { width: 820px; grid-template-columns: 1fr 1fr 224px; padding: 10px; gap: 2px; }
.nav-drop.mega a.item { padding: 7px 8px; gap: 8px; border-radius: 8px; }
.nav-drop.mega .dot { width: 24px; height: 24px; border-radius: 7px; font-size: 9px; }
.nav-drop.mega .t { font-size: .8125rem; }
.nav-drop.mega .d { font-size: .6875rem; margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 200px; }
.nav-drop.mega .promo { padding: 14px; }
.nav-drop.mega .t, .nav-drop.mega .d { display: block; }
.nav-drop.mega a.item { align-items: center; }
.nav-drop.mega .promo { grid-row: span 4; }

/* motion layer gating */
html.motion-ready .reveal { transition: none; }
html.motion-ready .hero-enter { animation: none; opacity: 0; }


.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 1200;
  background: var(--brand); transform: scaleX(0); transform-origin: left center;
  pointer-events: none;
}
html:not(.motion-ready) .scroll-progress { display: none; }

/* ==========================================================================
   Help Center v5
   ========================================================================== */
.help-hero { padding: calc(var(--nav-h) + 84px) 0 64px; position: relative; overflow: visible; z-index: 5; }
.help-hero-bg { position:absolute; inset:-10% 0 auto 0; height:520px;
  background: radial-gradient(50% 60% at 50% 30%, rgba(15,110,104,.16), transparent 70%); filter: blur(20px); }
.help-search { display:flex; align-items:center; gap:12px; max-width:720px; margin:0 auto; height:64px; padding:0 20px;
  border:1px solid var(--line-strong); border-radius:16px; background:#fff; box-shadow:var(--sh-lg); }
.help-search:focus-within { border-color:var(--brand); box-shadow:0 0 0 4px var(--brand-tint), var(--sh-lg); }
.help-search input { flex:1; border:0; outline:0; font:inherit; font-size:1rem; background:transparent; }
.help-search-icon { color:var(--ink-3); display:flex; }
.help-search-hint { font-size:.6875rem; color:var(--ink-3); border:1px solid var(--line); border-radius:6px; padding:2px 6px; }
.help-quick { display:flex; gap:20px; justify-content:center; margin-top:16px; font-size:.8125rem; flex-wrap:wrap; }
.help-quick a { color:var(--ink-2); border-bottom:1px solid transparent; }
.help-quick a:hover { color:var(--brand); border-color:var(--brand); }

.help-toc { position:fixed; right:22px; top:50%; transform:translateY(-50%); display:grid; gap:12px; z-index:40; }
.help-toc a { display:flex; align-items:center; gap:8px; font-size:.6875rem; color:var(--ink-3); transition:color .2s; }
.help-toc a span { width:8px; height:8px; border-radius:50%; border:1px solid var(--line-strong); transition:all .2s; }
.help-toc a.active { color:var(--ink); }
.help-toc a.active span { background:var(--brand); border-color:var(--brand); transform:scale(1.25); }
@media (max-width:1100px){ .help-toc{ display:none } }

.help-cat-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.help-cat { display:block; padding:26px; border:1px solid var(--line); border-radius:16px; background:#fff;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; }
.help-cat:hover { transform:translateY(-4px); box-shadow:var(--sh-hover); border-color:var(--line-strong); }
.help-cat .icon { margin-bottom:14px; }
.help-cat h3 { margin:0 0 6px; font-size:1.0625rem; }
.help-cat p { margin:0 0 12px; font-size:.875rem; color:var(--ink-2); }
.help-cat .link, .guide-card .link { font-size:.8125rem; font-weight:600; color:var(--brand); }

.help-steps { display:grid; grid-template-columns:repeat(3,1fr); gap:28px; position:relative; }
.help-step { position:relative; padding-top:8px; }
.help-step .num { width:48px; height:48px; border-radius:50%; background:var(--brand); color:#fff; display:grid; place-items:center; font-weight:700; margin-bottom:16px; }
.help-step h3 { margin:0 0 8px; font-size:1.0625rem; }
.help-step p { margin:0 0 10px; color:var(--ink-2); font-size:.9375rem; }
.help-step a { font-size:.8125rem; font-weight:600; color:var(--brand); }

.help-guide-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.guide-card { display:block; border:1px solid var(--line); border-radius:16px; overflow:hidden; background:#fff;
  transition:transform .35s var(--ease), box-shadow .35s var(--ease); }
.guide-card:hover { transform:translateY(-4px); box-shadow:var(--sh-hover); }
.guide-card img { width:100%; aspect-ratio:16/9; object-fit:cover; display:block; transition:transform .7s var(--ease); }
.guide-card:hover img { transform:scale(1.06); }
.guide-card .body { padding:18px 20px 20px; }
.guide-card h3 { margin:0 0 4px; font-size:.9375rem; }
.guide-card p { margin:0 0 10px; font-size:.8125rem; color:var(--ink-3); }
.guide-card.hidden { display:none; }

.help-contact { display:grid; grid-template-columns:1.2fr .8fr; gap:40px; align-items:center; }
.help-contact-card { background:var(--bg-soft); border:1px solid var(--line); border-radius:16px; padding:26px; }
.help-metric { display:flex; align-items:baseline; gap:10px; padding:10px 0; border-bottom:1px solid var(--line); }
.help-metric:last-child { border-bottom:0; }
.help-metric strong { font-size:1.75rem; letter-spacing:-.02em; color:var(--brand); }
.help-metric span { font-size:.8125rem; color:var(--ink-2); }
.help-status { margin-top:18px; font-size:.8125rem; color:var(--ink-2); display:flex; align-items:center; gap:8px; }
.dot-live { width:8px; height:8px; border-radius:50%; background:var(--ok); box-shadow:0 0 0 0 rgba(15,122,77,.5); animation:dot-pulse 2s infinite; }
@keyframes dot-pulse { 0%{box-shadow:0 0 0 0 rgba(15,122,77,.45)} 70%{box-shadow:0 0 0 8px rgba(15,122,77,0)} 100%{box-shadow:0 0 0 0 rgba(15,122,77,0)} }

@media (max-width:900px){
  .help-cat-grid, .help-guide-grid, .help-steps { grid-template-columns:1fr 1fr; }
  .help-contact { grid-template-columns:1fr; }
}
@media (max-width:600px){ .help-cat-grid, .help-guide-grid, .help-steps { grid-template-columns:1fr; } }

/* ==========================================================================
   Logo marquee
   ========================================================================== */
.marquee { overflow:hidden; position:relative; padding:14px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.marquee-track { display:flex; width:max-content; animation: marquee 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-group { display:flex; align-items:center; gap:64px; padding-right:64px; flex-shrink:0; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.logo-item img { height:26px; width:auto; opacity:.55; filter:grayscale(1);
  transition:opacity .3s var(--ease), filter .3s var(--ease), transform .3s var(--ease); }
.logo-item:hover img { opacity:1; filter:none; transform:scale(1.05); }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation:none; } }
@media (max-width:700px) { .marquee-group { gap:36px; padding-right:36px; } .logo-item img { height:22px; } }

/* testimonial marquee */
.quote-marquee { padding: 8px 0 4px; }
.quote-marquee .marquee-track { animation-duration: 60s; }
.quote-marquee .marquee-group { gap: 24px; padding-right: 24px; align-items: stretch; }
.quote-marquee .quote { width: 420px; flex-shrink: 0; }
@media (max-width: 700px) { .quote-marquee .quote { width: 300px; } }

.avatar img { width:100%; height:100%; object-fit:cover; display:block; }

/* ==========================================================================
   Legal documents — single-page contract layout
   ========================================================================== */
.legal-page { padding: calc(var(--nav-h) + 72px) 0 128px; }
.legal-head { max-width: 1100px; margin: 0 auto 40px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.legal-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; font-size: .8125rem; color: var(--ink-3); }
.legal-meta strong { color: var(--ink-2); font-weight: 600; margin-right: 4px; }
.legal-layout { display: grid; grid-template-columns: 236px 1fr; gap: 56px; max-width: 1100px; margin: 0 auto; }
.legal-toc { position: sticky; top: calc(var(--nav-h) + 24px); align-self: start; max-height: calc(100vh - var(--nav-h) - 48px); overflow: auto; }
.legal-toc a { display: block; padding: 5px 0; font-size: .8125rem; color: var(--ink-3); border-left: 2px solid transparent; padding-left: 10px; }
.legal-toc a:hover { color: var(--brand); border-left-color: var(--brand); }
.legal-body { max-width: 780px; font-size: 1.125rem; line-height: 1.95; color: var(--ink-2); }
.legal-body h2 { font-size: 1.375rem; line-height: 1.35; color: var(--ink); margin: 62px 0 18px; letter-spacing: -0.01em; scroll-margin-top: calc(var(--nav-h) + 24px); }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p { margin: 0 0 22px; }
.legal-body .clause { font-weight: 600; color: var(--ink); margin-right: 8px; font-variant-numeric: tabular-nums; }
.legal-body a { color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.legal-end { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.legal-end p { margin: 0 0 10px; font-size: .9375rem; }
@media (max-width: 980px) {
  .legal-layout { grid-template-columns: 1fr; gap: 24px; }
  .legal-toc { position: static; max-height: none; border-bottom: 1px solid var(--line); padding-bottom: 16px; }
}
@media print {
  .nav, .footer, .legal-toc, .scroll-progress { display: none !important; }
  .legal-page { padding: 0; }
  .legal-layout { display: block; }
  .legal-body { max-width: none; }
}

/* ==========================================================================
   3D product stages (core features)
   ========================================================================== */
.stage3d {
  position: relative;
  width: 100%;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  background:
    radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #EEF4F1 58%, #E2EBE7 100%);
  perspective: 1000px;
  perspective-origin: 50% 42%;
  transform-style: preserve-3d;
}
.stage3d::after {
  content: "";
  position: absolute;
  inset: auto 8% 0 8%;
  height: 34%;
  background: radial-gradient(closest-side, rgba(12,58,50,.22), transparent 78%);
  filter: blur(6px);
  pointer-events: none;
}
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 860px) { .feat-grid { grid-template-columns: 1fr; } }
.stage3d-grid {
  position: absolute;
  left: -32%; right: -32%; bottom: -40%;
  height: 86%;
  background-image:
    linear-gradient(rgba(15,110,104,.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15,110,104,.16) 1px, transparent 1px);
  background-size: 36px 36px;
  transform: rotateX(74deg);
  transform-origin: 50% 100%;
  -webkit-mask-image: linear-gradient(to top, #000 8%, transparent 82%);
  mask-image: linear-gradient(to top, #000 8%, transparent 82%);
  opacity: .75;
  pointer-events: none;
}
.stage3d-inner {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform: rotateX(16deg) rotateY(-22deg);
  transition: transform .55s var(--ease);
  will-change: transform;
}
.stage3d:hover .stage3d-inner { transform: rotateX(11deg) rotateY(-10deg); }

.s3-comp {
  position: absolute;
  left: 50%; top: 50%;
  width: 400px; height: 250px;
  margin: -125px 0 0 -200px;
  transform-style: preserve-3d;
}
.s3-layer {
  position: absolute;
  transition: filter .5s var(--ease);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform;
}
.s3-layer[data-z="-30"], .s3-layer[data-z="-20"], .s3-layer[data-z="-10"] { filter: saturate(.96); }
.s3-panel {
  background: #fff;
  border: 1px solid rgba(16, 44, 38, .10);
  border-radius: 14px;
  box-shadow: 0 30px 54px -22px rgba(9, 38, 32, .42), 0 6px 16px rgba(9, 38, 32, .07),
    inset 0 1px 0 rgba(255, 255, 255, .9);
  padding: 14px;
}
.s3-doc b { display: block; font-size: .6875rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.s3-doc i { display: block; height: 7px; border-radius: 4px; background: var(--bg-muted); margin-bottom: 7px; }
.s3-doc em { display: inline-block; margin-top: 6px; font-style: normal; font-size: .5625rem; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 3px 8px; font-weight: 600; }

.s3-bubble {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px 14px 4px 14px;
  padding: 10px 12px;
  font-size: .75rem;
  line-height: 1.4;
  color: var(--ink);
  box-shadow: 0 18px 34px -16px rgba(9, 38, 32, .34);
}
.s3-bubble.q { background: var(--brand); color: #fff; border-color: transparent; }
.s3-bubble.q span { display: block; }

.s3-answer p { margin: 0 0 8px; font-size: .8125rem; line-height: 1.45; color: var(--ink); }
.s3-source { display: inline-flex; align-items: center; gap: 5px; font-size: .625rem; font-weight: 600; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 4px 9px; }
.s3-chip {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 11px;
  font-size: .6875rem;
  font-weight: 600;
  color: var(--brand-dark);
  white-space: nowrap;
  box-shadow: 0 14px 28px -10px rgba(9, 38, 32, .32);
}
.s3-chip-warn { color: #8A5A00; background: #FFF6E5; border-color: #F2D9A8; }
.s3-thread { display: grid; align-content: start; gap: 8px; }
.s3-line { display: block; font-size: .6875rem; line-height: 1.35; color: var(--ink); background: var(--bg-soft); border-radius: 10px 10px 10px 3px; padding: 8px 10px; }
.s3-line.bot { background: var(--brand-soft); color: var(--brand-dark); border-radius: 10px 10px 3px 10px; }
.s3-form label { display: block; border: 1px solid var(--line); border-radius: 7px; padding: 6px 9px; font-size: .625rem; color: var(--ink-3); margin-bottom: 6px; }
.s3-form b { display: block; text-align: center; background: var(--brand); color: #fff; border-radius: 7px; padding: 7px 0; font-size: .625rem; margin-top: 2px; }
.s3-handoff { display: grid; gap: 10px; justify-items: center; }
.s3-people { display: flex; align-items: center; gap: 10px; }
.s3-people .who { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-size: .5625rem; font-weight: 700; }
.s3-people .ai { background: var(--brand); color: #fff; }
.s3-people .human { background: var(--bg-muted); color: var(--ink-2); }
.s3-people .arrow { color: var(--brand); font-weight: 700; }
.s3-handoff small { font-size: .625rem; font-weight: 600; color: var(--brand-dark); background: var(--brand-soft); border-radius: 999px; padding: 4px 10px; }
.s3-langs { display: flex; gap: 5px; padding: 7px 9px; }
.s3-langs i { font-style: normal; font-size: .5625rem; font-weight: 700; color: var(--ink-2); background: var(--bg-soft); border-radius: 999px; padding: 2px 7px; }
.s3-langs i:first-child { background: var(--brand); color: #fff; }
.s3-widget { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: 0 24px 44px -18px rgba(9, 38, 32, .36); }
.s3-widget .top { background: var(--brand); color: #fff; font-size: .625rem; font-weight: 700; padding: 8px 10px; }
.s3-widget.ink .top { background: #14181A; }
.s3-widget .body { padding: 10px; display: grid; gap: 6px; }
.s3-widget .body i { height: 7px; border-radius: 4px; background: var(--bg-muted); }
.s3-widget .body i:first-child { width: 72%; }
.s3-widget .body i:nth-child(2) { width: 88%; }
.s3-widget .body i:nth-child(3) { width: 54%; }
.s3-chart b { display: block; font-size: .6875rem; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.s3-bars { display: flex; align-items: flex-end; gap: 7px; height: 92px; }
.s3-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #B9C6C1, #D8E0DD); }
.s3-bars i.hot { background: linear-gradient(180deg, var(--brand), var(--brand-dark)); }
@media (max-width: 560px) {
  .s3-comp { transform: scale(.6); }
  .stage3d { perspective: 760px; }
}

.stage3d-sm .s3-comp { width: 300px; height: 200px; margin: -92px 0 0 -150px; }
.stage3d-sm .s3-surface { padding: 16px; overflow: hidden; }
.stage3d-sm .s3-layer { border-radius: 12px; }

.stage3d-lg .s3-comp { width: 520px; height: 320px; margin: -160px 0 0 -260px; }
.s3-photo { border-radius: 16px; background-size: cover; background-position: center; box-shadow: 0 30px 54px -22px rgba(9,38,32,.42); border: 1px solid rgba(16,44,38,.10); }
.sr-only { position:absolute; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); }
.s3-mini { display:grid; gap:6px; }
.s3-mini b { font-size: .8125rem; color: var(--ink); }
.s3-mini span { font-size: .75rem; color: var(--brand); font-weight: 700; }
.s3-mini em { font-style: normal; font-size: .625rem; color: var(--ink-2); }
.s3-mini-quiet b { color: var(--ink-2); }
.s3-mini-quiet span { color: var(--ink-2); font-weight: 600; }
.s3-mini-wrap { padding: 18px; }
.s3-mini-wrap-quiet { opacity: .92; }
@media (max-width: 560px) {
  .stage3d-lg .s3-comp { width: 340px; height: 210px; margin: -105px 0 0 -170px; }
  .stage3d-lg .s3-panel { padding: 10px; }
  .stage3d-lg .s3-answer p { font-size: .75rem; }
}

.s3-mini u { text-decoration: none; font-size: .625rem; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 3px 8px; justify-self: start; }
.s3-mini-quiet u { color: var(--ink-2); background: var(--bg-soft); }

.three-stage {
  position: relative; width: 100%; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #EEF4F1 58%, #E0EBE6 100%);
}
.three-stage canvas { display: block; width: 100% !important; height: 100% !important; }

/* ==========================================================================
   Floating AI assistant widget (site-wide demo)
   ========================================================================== */
.aiw-fab {
  position: fixed; right: 24px; bottom: 24px; width: 66px; height: 66px;
  border: 0; border-radius: 50%; cursor: pointer; z-index: 90;
  background: radial-gradient(circle at 32% 24%, #1E958A 0%, #0F6E68 52%, #08443F 100%);
  box-shadow: 0 22px 42px -14px rgba(8, 62, 56, .6), 0 6px 14px rgba(8, 62, 56, .22),
    inset 0 1px 0 rgba(255, 255, 255, .45), inset 0 -8px 18px rgba(0, 0, 0, .18);
  transform-style: preserve-3d;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s var(--ease);
  display: grid; place-items: center; color: #fff;
}
.aiw-fab:hover { transform: translateY(-4px) rotateX(12deg) rotateY(-10deg) scale(1.04); box-shadow: 0 30px 54px -14px rgba(8, 62, 56, .55), inset 0 1px 0 rgba(255,255,255,.5); }
.aiw-fab:active { transform: translateY(-1px) scale(.98); }
.aiw-fab svg { width: 28px; height: 28px; filter: drop-shadow(0 2px 3px rgba(0,0,0,.25)); }
.aiw-ring {
  position: absolute; inset: -7px; border-radius: 50%; pointer-events: none;
  background: conic-gradient(from 0deg, rgba(15,110,104,0), rgba(15,110,104,.55), rgba(15,110,104,0) 55%);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 2px), #000 calc(100% - 2px));
  animation: aiw-spin 6s linear infinite;
}
@keyframes aiw-spin { to { transform: rotate(360deg); } }
.aiw-pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(15,110,104,.45); animation: aiw-pulse 3s ease-out infinite; pointer-events: none; }
@keyframes aiw-pulse { 0% { transform: scale(1); opacity: .7; } 70% { transform: scale(1.55); opacity: 0; } 100% { opacity: 0; } }
.aiw-dot { position: absolute; top: 6px; right: 6px; width: 12px; height: 12px; border-radius: 50%; background: #FF6B4A; border: 2px solid #fff; box-shadow: 0 2px 6px rgba(0,0,0,.2); }

.aiw-tip {
  position: fixed; right: 102px; bottom: 34px; z-index: 89; max-width: 240px;
  background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px;
  padding: 12px 14px; font-size: .8125rem; line-height: 1.4; box-shadow: 0 18px 36px -16px rgba(9,38,32,.35);
  opacity: 0; transform: translateY(6px) scale(.96); pointer-events: none;
  transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.aiw-tip::after { content: ""; position: absolute; right: -6px; bottom: 18px; width: 12px; height: 12px; background: #fff; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transform: rotate(-45deg); }
.aiw-tip.show { opacity: 1; transform: none; pointer-events: auto; }

.aiw-panel {
  position: fixed; right: 24px; bottom: 104px; z-index: 90;
  width: 384px; height: min(580px, calc(100vh - 140px));
  background: #fff; border-radius: 22px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 42px 80px -28px rgba(8, 52, 47, .5), 0 10px 24px rgba(8, 52, 47, .12);
  transform-origin: 100% 100%;
  transform: perspective(1000px) rotateX(16deg) translateY(24px) scale(.9);
  opacity: 0; pointer-events: none;
  transition: transform .5s cubic-bezier(.2,.8,.2,1), opacity .35s var(--ease);
  display: flex; flex-direction: column;
}
.aiw-panel.open { transform: none; opacity: 1; pointer-events: auto; }
.aiw-head {
  display: flex; align-items: center; gap: 11px; padding: 14px 16px; color: #fff;
  background: linear-gradient(135deg, #0F6E68 0%, #0A5651 100%);
}
.aiw-avatar { width: 36px; height: 36px; border-radius: 12px; background: rgba(255,255,255,.16); display: grid; place-items: center; font-weight: 700; font-size: .8125rem; box-shadow: inset 0 1px 0 rgba(255,255,255,.35); }
.aiw-head h4 { margin: 0; font-size: .9375rem; font-weight: 600; }
.aiw-head p { margin: 2px 0 0; font-size: .75rem; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 5px; }
.aiw-head p::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #6EE7B7; }
.aiw-close { margin-left: auto; background: transparent; border: 0; color: rgba(255,255,255,.85); font-size: 20px; line-height: 1; cursor: pointer; padding: 6px; border-radius: 8px; }
.aiw-close:hover { background: rgba(255,255,255,.14); color: #fff; }

.aiw-body { flex: 1; overflow-y: auto; padding: 18px 16px 10px; background: linear-gradient(180deg, #F3F7F5, #F8FAF9); display: flex; flex-direction: column; gap: 12px; }
.aiw-msg { max-width: 84%; padding: 11px 13px; border-radius: 14px; font-size: .84375rem; line-height: 1.5; animation: aiw-in .4s cubic-bezier(.2,.8,.2,1) both; }
@keyframes aiw-in { from { opacity: 0; transform: translateY(10px) scale(.98); } to { opacity: 1; transform: none; } }
.aiw-msg.bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; color: var(--ink); }
.aiw-msg.user { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.aiw-src { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: .6875rem; font-weight: 600; color: var(--brand); background: var(--brand-soft); border-radius: 999px; padding: 3px 9px; }
.aiw-typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: #fff; border: 1px solid var(--line); border-radius: 14px; align-self: flex-start; }
.aiw-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--ink-3); animation: aiw-type 1.2s infinite; }
.aiw-typing i:nth-child(2) { animation-delay: .15s; } .aiw-typing i:nth-child(3) { animation-delay: .3s; }
@keyframes aiw-type { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-2px); } }

.aiw-chips { display: flex; flex-wrap: wrap; gap: 7px; padding: 0 16px 12px; background: #F8FAF9; }
.aiw-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: .75rem; color: var(--ink-2); cursor: pointer; transition: all .25s var(--ease); }
.aiw-chip:hover { border-color: var(--brand); color: var(--brand); transform: translateY(-1px); box-shadow: 0 8px 18px -12px rgba(15,110,104,.5); }

.aiw-input { display: flex; gap: 8px; padding: 12px 14px; border-top: 1px solid var(--line); background: #fff; }
.aiw-input input { flex: 1; height: 42px; border: 1px solid var(--line); border-radius: 12px; padding: 0 12px; font: inherit; font-size: .84375rem; outline: none; transition: border .2s; }
.aiw-input input:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(15,110,104,.12); }
.aiw-send { width: 42px; height: 42px; border: 0; border-radius: 12px; background: var(--brand); color: #fff; cursor: pointer; display: grid; place-items: center; transition: transform .2s; }
.aiw-send:hover { transform: translateY(-1px); background: var(--brand-dark); }
.aiw-foot { padding: 8px 14px; font-size: .6875rem; color: var(--ink-3); text-align: center; border-top: 1px solid var(--line); background: #fff; }

@media (max-width: 520px) {
  .aiw-fab { right: 16px; bottom: 16px; width: 60px; height: 60px; }
  .aiw-panel { right: 10px; left: 10px; bottom: 88px; width: auto; height: min(72vh, 600px); border-radius: 18px; }
  .aiw-tip { right: 86px; bottom: 26px; max-width: 200px; }
}
@media (prefers-reduced-motion: reduce) {
  .aiw-ring, .aiw-pulse { animation: none; }
  .aiw-msg { animation: none; }
}

/* Help Center search results */
.help-search { position: relative; }
.help-results {
  position: absolute; left: 0; right: 0; top: calc(100% + 10px); z-index: 60;
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 30px 60px -24px rgba(9, 38, 32, .4), 0 8px 20px rgba(9, 38, 32, .08);
  padding: 8px; max-height: 420px; overflow-y: auto; text-align: left;
}
.help-results[hidden] { display: none; }
.help-results-head { font-size: .6875rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); padding: 8px 10px 6px; }
.help-result { display: block; padding: 10px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; }
.help-result:hover, .help-result.active { background: var(--bg-soft); }
.help-result b { display: block; font-size: .875rem; font-weight: 600; margin-bottom: 2px; }
.help-result span { display: block; font-size: .75rem; color: var(--ink-2); line-height: 1.45; }
.help-result em { font-style: normal; font-size: .625rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--brand); margin-right: 8px; }
.help-result mark { background: rgba(15,110,104,.12); color: inherit; border-radius: 3px; padding: 0 1px; }
.help-empty { padding: 16px 14px 18px; }
.help-empty p { margin: 0 0 10px; font-size: .8125rem; color: var(--ink-2); }
.help-empty button { border: 0; border-radius: 10px; background: var(--brand); color: #fff; font: inherit; font-size: .8125rem; padding: 9px 14px; cursor: pointer; }
.help-empty button:hover { background: var(--brand-dark); }

/* Auth showcase variants (signup / signin / forgot) */
.auth-eyebrow { color: #7fe3cf; text-align: center; margin-bottom: 14px; letter-spacing: .12em; }
.auth-showcase h2 { font-size: clamp(1.65rem, 2.1vw, 2.05rem); max-width: 470px; margin: 0 auto 12px; }
.auth-steps { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 18px; }
.auth-steps li { display: flex; gap: 14px; align-items: flex-start; }
.auth-steps span { width: 30px; height: 30px; border-radius: 50%; background: rgba(127,227,207,.15); color: #7fe3cf; display: grid; place-items: center; font-weight: 700; font-size: .8125rem; flex: 0 0 auto; }
.auth-steps b { display: block; font-size: .9375rem; font-weight: 600; margin-bottom: 2px; }
.auth-steps p { margin: 0; font-size: .8125rem; color: rgba(255,255,255,.66); line-height: 1.5; }
.auth-assure { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 8px; }
.auth-assure li { position: relative; padding-left: 22px; font-size: .8125rem; color: rgba(255,255,255,.78); line-height: 1.45; }
.auth-assure li::before { content: "✓"; position: absolute; left: 0; top: 0; color: #7fe3cf; font-weight: 700; }
.auth-assure-inline { margin-top: 22px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); }
.auth-quote { margin: 26px 0 0; padding: 16px 18px; border-left: 2px solid #7fe3cf; background: rgba(255,255,255,.05); border-radius: 0 12px 12px 0; font-size: .875rem; line-height: 1.55; color: rgba(255,255,255,.86); }
.auth-quote span { display: block; margin-top: 8px; font-size: .75rem; color: rgba(255,255,255,.55); }

/* Auth forms: progressive signup, password toggle, success state */
.auth-kicker { font-size: .6875rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.auth-stepbar { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.auth-stepbar span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: .75rem; font-weight: 700; background: var(--bg-muted); color: var(--ink-3); }
.auth-stepbar span.on { background: var(--brand); color: #fff; }
.auth-stepbar i { flex: 1; height: 2px; background: var(--line); border-radius: 2px; }
.link-btn { border: 0; background: none; padding: 0; font: inherit; color: var(--brand); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.link-btn[disabled] { color: var(--ink-3); text-decoration: none; cursor: default; }
.auth-hint { margin: 10px 0 0; font-size: .75rem; color: var(--ink-3); line-height: 1.5; }
.auth-hint-top { margin: 0 0 14px; }
.auth-hint b { color: var(--ink); font-weight: 600; }
.input-wrap { position: relative; }
.input-wrap .input { padding-right: 64px; }
.input-action { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; font: inherit; font-size: .75rem; font-weight: 600; color: var(--brand); cursor: pointer; padding: 6px 8px; border-radius: 6px; }
.input-action:hover { background: var(--brand-soft); }
.auth-alt { margin-top: 16px; font-size: .8125rem; color: var(--ink-2); text-align: center; }
.auth-alt-note { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: var(--brand-soft); color: var(--brand-dark); font-size: .75rem; line-height: 1.5; text-align: center; }
.auth-trust { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .6875rem; letter-spacing: .02em; color: var(--ink-3); text-align: center; }
.auth-done { margin-top: 18px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: var(--bg-soft); text-align: center; }
.auth-done-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; margin: 0 auto 10px; }
.auth-done h2 { margin: 0 0 6px; font-size: 1.0625rem; }
.auth-done p { margin: 0; font-size: .8125rem; color: var(--ink-2); line-height: 1.5; }

/* Auth: compact value block on mobile (right showcase is hidden there) */
.auth-mobile-value { display: none; }
@media (max-width: 1024px) {
  .auth-mobile-value { display: block; margin: 28px 0 8px; padding: 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
  .amv-title { font-size: .9375rem; font-weight: 600; color: var(--brand-dark); margin-bottom: 12px; }
  .amv-steps, .amv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
  .amv-steps li { display: flex; gap: 10px; align-items: center; font-size: .8125rem; color: var(--ink); }
  .amv-steps span { width: 22px; height: 22px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-size: .6875rem; font-weight: 700; flex: 0 0 auto; }
  .amv-list li { position: relative; padding-left: 18px; font-size: .8125rem; color: var(--ink); }
  .amv-list li::before { content: "✓"; position: absolute; left: 0; color: var(--brand); font-weight: 700; }
  .amv-trust { margin-top: 12px; font-size: .6875rem; color: var(--ink-2); }
}

.auth-timer { font-size: .75rem; color: var(--ink-3); font-variant-numeric: tabular-nums; }
