/* =====================================================================
   Landing page styles (shared by / and /en/)
   Layout concept: OKKI-style Chinese B2B page (dense, blue, trustworthy)
   with an Intercom-style hero: one big statement, two pill CTAs and a
   large live product demo, ringed by frosted-glass trust stats.
   Single light theme by design, like the reference sites.
   ===================================================================== */
@font-face {
  font-family: "Inter";
  src: local("Inter"), local("Inter Variable"),
       url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* Brand (binding) */
  --primary: #017aff;
  --primary-hover: #4d95ff;
  --primary-press: #0066d6;
  --primary-tint: #eaf3ff;
  --primary-tint-2: #f4f8ff;
  --ink: #1e2026;
  --muted: #686c73;

  /* Supporting neutrals, biased slightly toward the blue */
  --ink-2: #353841;
  --muted-2: #9a9fa8;
  --line: #e5e9f0;
  --line-2: #eff2f7;
  --bg: #ffffff;
  --bg-soft: #f6f8fb;
  --white: #ffffff;

  /* Semantic (product mock states) */
  --ok: #12a150;
  --ok-tint: #e6f6ed;
  --warn: #c76a00;
  --warn-tint: #fff3df;
  --crit: #e5484d;
  --crit-tint: #fdeced;
  --seal: #d9363e;

  /* Account identity colors in the mocks */
  --acc-1: #017aff;
  --acc-2: #f97316;
  --acc-3: #10b981;
  --acc-4: #a855f7;

  /* Footer */
  --footer-bg: #15171c;
  --footer-ink: #d4d7dd;
  --footer-muted: #8b9099;
  --footer-line: #272a31;

  /* Effects */
  --glow: 0 8px 22px rgba(1, 122, 255, 0.32);
  --glow-hover: 0 10px 28px rgba(1, 122, 255, 0.42);
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.85);
  --shadow-card: 0 1px 2px rgba(30, 32, 38, 0.04), 0 8px 24px rgba(30, 32, 38, 0.06);
  --shadow-pop: 0 12px 40px rgba(16, 42, 90, 0.16), 0 2px 6px rgba(16, 42, 90, 0.06);
  --shadow-window: 0 30px 80px rgba(16, 52, 120, 0.18), 0 2px 8px rgba(16, 52, 120, 0.06);
  --focus: 0 0 0 3px rgba(1, 122, 255, 0.35);

  /* Type */
  --font: "Inter", "MiSans", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-msg: "Inter", "MiSans", "PingFang SC", "Microsoft YaHei", "Segoe UI", "Arial Hebrew", "Noto Sans Hebrew", "Noto Sans Arabic", system-ui, sans-serif;

  --fs-12: 0.75rem;
  --fs-13: 0.8125rem;
  --fs-14: 0.875rem;
  --fs-15: 0.9375rem;
  --fs-16: 1rem;
  --fs-18: 1.125rem;
  --fs-20: 1.25rem;
  --fs-24: 1.5rem;
  --fs-h2: clamp(1.625rem, 1.1rem + 1.6vw, 2.25rem);
  --fs-h1: clamp(2.125rem, 1.2rem + 3.6vw, 3.75rem);

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 99px;

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --nav-h: 64px;
  color-scheme: light;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 12px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-15);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { max-width: 100%; }
[hidden] { display: none !important; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: var(--r-sm); }
.num { font-variant-numeric: tabular-nums; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@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; }
}

.ic { width: 18px; height: 18px; flex: none; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ic-sm { width: 14px; height: 14px; }
.ic-lg { width: 22px; height: 22px; }

.container {
  width: 100%;
  max-width: 1232px;
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}

/* ---------- Buttons (pill, soft blue glow) ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 40px; padding-inline: 20px;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-size: var(--fs-15); font-weight: 600; line-height: 1;
  white-space: nowrap;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, border-color 0.18s, transform 0.08s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--primary); color: var(--white); box-shadow: var(--glow); }
.btn-primary:hover { background: var(--primary-hover); box-shadow: var(--glow-hover); }
.btn-primary:active { background: var(--primary-press); }
.btn-secondary { background: var(--white); color: var(--ink); border-color: var(--line); box-shadow: 0 1px 2px rgba(30, 32, 38, 0.05); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); }
.btn-text { background: transparent; color: var(--ink-2); padding-inline: 12px; }
.btn-text:hover { color: var(--primary); }
.btn-lg { height: 52px; padding-inline: 30px; font-size: var(--fs-16); }
.btn-sm { height: 34px; padding-inline: 16px; font-size: var(--fs-14); }
.btn-white { background: var(--white); color: var(--primary); box-shadow: 0 8px 24px rgba(0, 30, 80, 0.22); }
.btn-white:hover { background: var(--primary-tint-2); }
.btn-ghost-white { background: rgba(255, 255, 255, 0.12); color: var(--white); border-color: rgba(255, 255, 255, 0.5); }
.btn-ghost-white:hover { background: rgba(255, 255, 255, 0.22); }

/* ---------- Nav ---------- */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: rgba(255, 255, 255, 0.92); }
.nav {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.nav.is-scrolled { border-bottom-color: var(--line); background: rgba(255, 255, 255, 0.94); }
.nav-inner { display: flex; align-items: center; gap: 28px; height: var(--nav-h); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: var(--fs-20); letter-spacing: -0.02em; color: var(--ink); }
.logo-mark { width: 32px; height: 32px; flex: none; }
.logo-zh { font-size: var(--fs-14); font-weight: 600; letter-spacing: 0.04em; color: var(--muted); padding-inline-start: 10px; margin-inline-start: -2px; border-inline-start: 1px solid var(--line); line-height: 1.1; }
.footer .logo-zh { color: var(--footer-muted); border-inline-start-color: var(--footer-line); }
@media (max-width: 380px) { .nav .logo-zh { display: none; } }
.nav-links { display: flex; align-items: center; gap: 4px; margin-inline-start: 8px; }
.nav-links a { padding: 8px 14px; border-radius: var(--r-pill); color: var(--ink-2); font-size: var(--fs-15); font-weight: 500; transition: color 0.15s, background 0.15s; }
.nav-links a:hover { color: var(--primary); background: var(--primary-tint-2); }
.nav-actions { display: flex; align-items: center; gap: 8px; margin-inline-start: auto; }
.lang-switch { display: inline-flex; align-items: center; height: 34px; padding: 3px; gap: 2px; border-radius: var(--r-pill); background: var(--bg-soft); border: 1px solid var(--line); }
.lang-switch a { display: grid; place-items: center; height: 26px; min-width: 40px; padding-inline: 10px; border-radius: var(--r-pill); font-size: var(--fs-13); font-weight: 600; color: var(--muted); }
.lang-switch a[aria-current="page"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 3px rgba(30, 32, 38, 0.12); }
.lang-switch a:not([aria-current="page"]):hover { color: var(--primary); }
.nav-burger { display: none; width: 40px; height: 40px; border: 0; border-radius: var(--r-pill); background: transparent; align-items: center; justify-content: center; color: var(--ink); }
.nav-burger:hover { background: var(--bg-soft); }
.nav-drawer { display: none; border-top: 1px solid var(--line); background: var(--white); padding: 12px var(--gutter-r) 20px var(--gutter); }
.nav-drawer a.link { display: block; padding: 12px 4px; font-size: var(--fs-16); font-weight: 500; border-bottom: 1px solid var(--line-2); }
.nav-drawer .drawer-actions { display: flex; gap: 10px; margin-top: 16px; }
.nav-drawer .drawer-actions .btn { flex: 1; }

@media (max-width: 960px) {
  .nav-links, .nav-actions .btn-text { display: none; }
  .nav-burger { display: inline-flex; }
  .nav.is-open .nav-drawer { display: block; }
}
@media (max-width: 420px) {
  .nav-actions .btn-primary { display: none; }
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: 88px; }
.section-soft { background: var(--bg-soft); }
.section-head { display: grid; gap: 12px; justify-items: center; text-align: center; max-width: 760px; margin: 0 auto 44px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  height: 28px; padding-inline: 12px;
  border-radius: var(--r-pill);
  background: var(--primary-tint); color: var(--primary);
  font-size: var(--fs-13); font-weight: 600; letter-spacing: 0.02em;
}
.section-head h2 { font-size: var(--fs-h2); font-weight: 700; letter-spacing: -0.015em; }
.section-head p { color: var(--muted); font-size: var(--fs-16); max-width: 640px; }
@media (max-width: 720px) { .section { padding-block: 60px; } .section-head { margin-bottom: 32px; } }

/* ---------- Hero ---------- */
.hero { position: relative; padding-block: 64px 72px; overflow: hidden; isolation: isolate; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(620px 360px at 14% 18%, rgba(77, 149, 255, 0.24), transparent 70%),
    radial-gradient(560px 380px at 88% 12%, rgba(1, 194, 255, 0.16), transparent 70%),
    radial-gradient(900px 520px at 50% 92%, rgba(1, 122, 255, 0.14), transparent 70%),
    linear-gradient(180deg, #edf5ff 0%, #f7fbff 46%, #ffffff 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(1, 122, 255, 0.16) 1px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 62%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,0.55), transparent 62%);
}
.hero-copy { display: grid; justify-items: center; text-align: center; gap: 20px; max-width: 900px; margin-inline: auto; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px;
  height: 34px; padding: 0 6px 0 6px;
  border-radius: var(--r-pill);
  background: var(--glass-bg); border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(1, 122, 255, 0.08);
  font-size: var(--fs-13); color: var(--ink-2); font-weight: 500;
}
.hero-pill .tag { height: 24px; display: inline-grid; place-items: center; padding-inline: 10px; border-radius: var(--r-pill); background: var(--primary); color: var(--white); font-weight: 700; font-size: var(--fs-12); }
.hero-pill .txt { padding-inline-end: 10px; }
.hero h1 { font-size: var(--fs-h1); font-weight: 800; letter-spacing: -0.03em; line-height: 1.12; }
:lang(zh) .hero h1 { letter-spacing: 0; line-height: 1.18; }
.hero h1 .hl { background: linear-gradient(92deg, #017aff 0%, #4d95ff 55%, #00b2ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-sub { font-size: clamp(1rem, 0.92rem + 0.4vw, 1.1875rem); color: var(--muted); max-width: 720px; line-height: 1.7; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 4px; }
.hero-assure { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; color: var(--muted); font-size: var(--fs-13); }
.hero-assure span { display: inline-flex; align-items: center; gap: 6px; }
.hero-assure .ic { color: var(--primary); width: 16px; height: 16px; }

.hero-stage { position: relative; max-width: 1100px; margin: 52px auto 0; }
/* calm band at the bottom of the demo window, under the frosted stat cards */
.hero-stage .window { padding-bottom: 60px; background: linear-gradient(180deg, #ffffff 0%, #ffffff 70%, #eef5ff 100%); }
.hero-stage .app { border-bottom: 1px solid var(--line); }
.stats {
  position: relative; z-index: 3;
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px;
  max-width: 980px; margin: -64px auto 0; padding-inline: 12px;
}
.stat {
  display: grid; gap: 2px; padding: 16px 18px;
  border-radius: var(--r-lg);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 10px 30px rgba(16, 52, 120, 0.12);
}
.stat b { font-size: clamp(1.375rem, 1rem + 1.2vw, 1.875rem); font-weight: 800; letter-spacing: -0.02em; color: var(--ink); line-height: 1.15; }
.stat b em { font-style: normal; color: var(--primary); }
.stat span { color: var(--muted); font-size: var(--fs-13); }
@media (max-width: 760px) {
  .hero { padding-block: 44px 52px; }
  .hero-stage { margin-top: 36px; }
  .hero-stage .window { padding-bottom: 0; }
  .hero-stage .app { border-bottom: 0; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 14px; padding-inline: 0; gap: 10px; }
  .stat { background: var(--white); border-color: var(--line); }
}

/* ---------- Marquee ---------- */
.marquee-section { padding-block: 44px 20px; }
.marquee-caption { text-align: center; color: var(--muted); font-size: var(--fs-14); margin-bottom: 20px; }
.marquee { position: relative; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee-track { display: flex; gap: 12px; width: max-content; animation: marquee 42s linear infinite; }
.marquee.reverse .marquee-track { animation-direction: reverse; animation-duration: 48s; }
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
[dir="rtl"] .marquee-track { animation-name: marquee-rtl; }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
.mq-item {
  display: inline-flex; align-items: center; gap: 10px;
  height: 48px; padding-inline: 18px 22px;
  border-radius: var(--r-md);
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-2); font-weight: 600; font-size: var(--fs-15);
  white-space: nowrap;
}
.mq-item .mq-ic { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); }
.mq-item .mq-ic .ic { width: 15px; height: 15px; }
.mq-lang { font-family: var(--font-msg); }
.mq-lang small { color: var(--muted-2); font-weight: 500; font-size: var(--fs-13); }
@media (prefers-reduced-motion: reduce) {
  .marquee { -webkit-mask-image: none; mask-image: none; }
  .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; animation: none; }
  .marquee-track [aria-hidden="true"] { display: none; }
}

/* ---------- Feature tabs ---------- */
.tabs {
  display: flex; gap: 6px; justify-content: center;
  padding: 6px; margin: 0 auto 28px;
  width: fit-content; max-width: 100%;
  border-radius: var(--r-pill);
  background: var(--bg-soft); border: 1px solid var(--line);
  overflow-x: auto; scrollbar-width: none;
}
.tabs::-webkit-scrollbar { display: none; }
.tab {
  display: inline-flex; align-items: center; gap: 8px;
  height: 42px; padding-inline: 16px;
  border: 0; border-radius: var(--r-pill);
  background: transparent; color: var(--ink-2);
  font-size: var(--fs-14); font-weight: 600; white-space: nowrap;
  transition: background 0.15s, color 0.15s, box-shadow 0.15s;
}
.tab .ic { width: 17px; height: 17px; color: var(--muted); }
.tab:hover { color: var(--primary); }
.tab[aria-selected="true"] { background: var(--white); color: var(--primary); box-shadow: 0 2px 8px rgba(1, 122, 255, 0.14); }
.tab[aria-selected="true"] .ic { color: var(--primary); }
@media (max-width: 960px) { .tabs { justify-content: flex-start; width: 100%; border-radius: var(--r-md); } }

.panel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 28px; align-items: center; padding: 28px; border-radius: var(--r-xl); background: linear-gradient(160deg, var(--primary-tint-2), #ffffff 70%); border: 1px solid var(--line); }
.panel-copy { display: grid; gap: 16px; padding: 8px 8px 8px 12px; min-width: 0; }
.panel-copy .kicker { color: var(--primary); font-weight: 700; font-size: var(--fs-13); letter-spacing: 0.04em; }
.panel-copy h3 { font-size: clamp(1.375rem, 1.1rem + 0.9vw, 1.75rem); font-weight: 700; letter-spacing: -0.01em; }
.panel-copy p { color: var(--muted); }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ticks li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; color: var(--ink-2); }
.ticks li .tk { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); margin-top: 1px; }
.ticks li .tk .ic { width: 13px; height: 13px; stroke-width: 2.4; }
.panel-link { display: inline-flex; align-items: center; gap: 6px; color: var(--primary); font-weight: 600; width: fit-content; }
.panel-link:hover { color: var(--primary-hover); }
.panel-shot { min-width: 0; }
@media (max-width: 960px) {
  .panel { grid-template-columns: minmax(0, 1fr); padding: 18px; gap: 18px; }
  .panel-copy { padding: 6px; }
}
.panel[hidden] { display: none; }
.panel.is-entering { animation: panel-in 0.32s ease-out; }
@keyframes panel-in { from { opacity: 0; transform: translateY(6px); } }

/* ---------- Scenario cards (testimonial layout with metric chips) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.card {
  display: grid; gap: 16px; align-content: start;
  padding: 26px; border-radius: var(--r-lg);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
}
.card-top { display: flex; align-items: center; gap: 12px; }
.role-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); }
.role-ic .ic { width: 22px; height: 22px; }
.card-top b { display: block; font-size: var(--fs-16); }
.card-top span { color: var(--muted); font-size: var(--fs-13); }
.card .quote-mark { width: 28px; height: 28px; color: var(--primary-tint); }
.card p { color: var(--ink-2); font-size: var(--fs-15); line-height: 1.75; }
.metric-chips { display: flex; flex-wrap: wrap; gap: 8px; padding-top: 4px; border-top: 1px dashed var(--line); padding-top: 16px; }
.metric {
  display: inline-flex; align-items: baseline; gap: 6px;
  padding: 6px 12px; border-radius: var(--r-pill);
  background: var(--primary-tint-2); border: 1px solid var(--primary-tint);
  font-size: var(--fs-13); color: var(--ink-2);
}
.metric b { color: var(--primary); font-weight: 800; font-size: var(--fs-15); }
@media (max-width: 960px) { .cards { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Closing CTA ---------- */
.cta-band {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; justify-items: center; text-align: center; gap: 16px;
  padding: 64px 28px; border-radius: 28px;
  background: linear-gradient(120deg, #0062e6 0%, #017aff 45%, #4d95ff 100%);
  color: var(--white);
  box-shadow: 0 30px 70px rgba(1, 122, 255, 0.28);
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(420px 220px at 12% 0%, rgba(255, 255, 255, 0.22), transparent 70%),
    radial-gradient(380px 240px at 92% 100%, rgba(0, 220, 255, 0.28), transparent 70%);
}
.cta-band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 1px, transparent 1.2px);
  background-size: 20px 20px;
  -webkit-mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
          mask-image: radial-gradient(ellipse at center, #000 10%, transparent 70%);
}
.cta-band h2 { font-size: var(--fs-h2); font-weight: 800; letter-spacing: -0.015em; }
.cta-band p { color: rgba(255, 255, 255, 0.86); max-width: 620px; }
.cta-band .hero-ctas { margin-top: 8px; }
.cta-price { font-size: var(--fs-13); color: rgba(255, 255, 255, 0.78); }
@media (max-width: 720px) { .cta-band { padding: 44px 20px; border-radius: 20px; } }

/* ---------- Footer ---------- */
.footer { background: var(--footer-bg); color: var(--footer-ink); padding-block: 56px 28px; margin-top: 88px; }
.footer .logo { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)) minmax(0, 1.2fr); gap: 32px; }
.footer-brand p { color: var(--footer-muted); font-size: var(--fs-14); margin-top: 14px; max-width: 300px; }
.footer h4 { font-size: var(--fs-14); color: var(--white); margin-bottom: 14px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer ul a, .footer ul span { color: var(--footer-muted); font-size: var(--fs-14); }
.footer ul a:hover { color: var(--white); }
.footer-qr { display: flex; gap: 14px; align-items: center; }
.footer-qr .qr { width: 92px; height: 92px; padding: 6px; border-radius: 10px; background: var(--white); }
.footer-qr small { color: var(--footer-muted); font-size: var(--fs-12); display: block; line-height: 1.5; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--footer-line); color: var(--footer-muted); font-size: var(--fs-12); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .footer-brand, .footer-contact { grid-column: 1 / -1; } }
@media (max-width: 720px) { .footer { margin-top: 60px; } }

/* ---------- Floating contact widget ---------- */
.float {
  position: fixed; z-index: 40;
  inset-inline-end: max(20px, env(safe-area-inset-right, 0px));
  bottom: max(24px, env(safe-area-inset-bottom, 0px));
  display: grid; gap: 10px; justify-items: end;
}
.float-btn {
  position: relative;
  display: grid; place-items: center; gap: 2px;
  width: 56px; min-height: 56px; padding: 8px 4px;
  border: 1px solid var(--line); border-radius: 16px;
  background: var(--white); color: var(--ink-2);
  box-shadow: var(--shadow-pop);
  font-size: 11px; font-weight: 600; line-height: 1.2;
  transition: color 0.15s, border-color 0.15s, transform 0.15s;
}
.float-btn:hover { color: var(--primary); border-color: var(--primary); }
.float-btn .ic { width: 22px; height: 22px; }
.float-btn.primary { background: var(--primary); color: var(--white); border-color: var(--primary); box-shadow: var(--glow); }
.float-btn.primary:hover { background: var(--primary-hover); color: var(--white); }
.float-top { opacity: 0; pointer-events: none; transform: translateY(6px); }
.float-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.float-pop {
  position: absolute; inset-inline-end: 68px; bottom: 0;
  width: 236px; padding: 16px;
  border-radius: var(--r-lg); background: var(--white); border: 1px solid var(--line);
  box-shadow: var(--shadow-pop);
  display: grid; gap: 10px; justify-items: center; text-align: center;
  animation: pop-in 0.18s ease-out;
}
.float-pop b { font-size: var(--fs-15); }
.float-pop .qr { width: 156px; height: 156px; }
.float-pop small { color: var(--muted); font-size: var(--fs-12); line-height: 1.5; }
.float-pop .wechat-id { font-size: var(--fs-13); color: var(--ink-2); }
@keyframes pop-in { from { opacity: 0; transform: translateY(6px) scale(0.98); } }
@media (max-width: 720px) {
  .float-btn { width: 48px; min-height: 48px; border-radius: 14px; }
  .float-btn .lbl { display: none; }
  .float-demo { display: none; }
  .float-pop { inset-inline-end: 58px; }
}

/* Fake QR: a deterministic sample pattern, not a scannable code */
.qr { display: block; background: var(--white); }
.qr canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; }

/* ---------- Modal ---------- */
.modal-backdrop {
  position: fixed; inset: 0; z-index: 100;
  display: grid; place-items: center;
  padding: max(16px, env(safe-area-inset-top, 0px)) max(16px, env(safe-area-inset-right, 0px)) max(16px, env(safe-area-inset-bottom, 0px)) max(16px, env(safe-area-inset-left, 0px));
  background: rgba(14, 20, 34, 0.5);
  animation: fade-in 0.15s ease-out;
}
.modal {
  width: min(880px, 100%); max-height: calc(100dvh - 32px); overflow: auto;
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  border-radius: 20px; background: var(--white);
  box-shadow: 0 30px 80px rgba(10, 20, 40, 0.3);
  animation: pop-in 0.2s ease-out;
}
.modal-side {
  display: grid; align-content: start; gap: 18px;
  padding: 32px 28px;
  background: linear-gradient(160deg, #0a6cf0, #017aff 50%, #4d95ff);
  color: var(--white);
}
.modal-side h3 { font-size: var(--fs-24); font-weight: 800; }
.modal-side p { color: rgba(255, 255, 255, 0.86); font-size: var(--fs-14); }
.modal-side ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: var(--fs-14); }
.modal-side li { display: flex; gap: 8px; align-items: flex-start; }
.modal-side li .ic { width: 16px; height: 16px; margin-top: 3px; }
.modal-side .qr-row { display: flex; gap: 12px; align-items: center; margin-top: 6px; padding: 12px; border-radius: 14px; background: rgba(255, 255, 255, 0.14); }
.modal-side .qr { width: 72px; height: 72px; padding: 4px; border-radius: 8px; }
.modal-side .qr-row small { font-size: var(--fs-12); color: rgba(255, 255, 255, 0.85); line-height: 1.5; }
.modal-main { position: relative; padding: 32px 28px 28px; display: grid; gap: 14px; align-content: start; }
.modal-close { position: absolute; top: 12px; inset-inline-end: 12px; width: 36px; height: 36px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); display: grid; place-items: center; }
.modal-close:hover { background: var(--bg-soft); color: var(--ink); }
.modal-main h3 { font-size: var(--fs-20); font-weight: 700; }
.form { display: grid; gap: 12px; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.field { display: grid; gap: 6px; }
.field label { font-size: var(--fs-13); font-weight: 600; color: var(--ink-2); }
.field label .req { color: var(--crit); margin-inline-start: 2px; }
.input, .select {
  width: 100%; height: 42px; padding-inline: 12px;
  border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--white); color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.input::placeholder { color: var(--muted-2); }
.input:focus, .select:focus { outline: none; border-color: var(--primary); box-shadow: var(--focus); }
.form-note { font-size: var(--fs-12); color: var(--muted); }
.form-done { display: grid; justify-items: center; text-align: center; gap: 12px; padding: 28px 8px; }
.form-done .done-ic { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--primary-tint); color: var(--primary); }
.form-done .done-ic .ic { width: 28px; height: 28px; stroke-width: 2.2; }
.form-done p { color: var(--muted); font-size: var(--fs-14); max-width: 360px; }
@media (max-width: 720px) {
  .modal { grid-template-columns: minmax(0, 1fr); }
  .modal-side { padding: 24px 20px; gap: 12px; }
  .modal-side ul, .modal-side .qr-row { display: none; }
  .modal-main { padding: 24px 20px; }
  .form-row { grid-template-columns: minmax(0, 1fr); }
}
@keyframes fade-in { from { opacity: 0; } }

/* ---------- Toast ---------- */
.toast-host { position: fixed; inset-inline: 0; bottom: max(24px, env(safe-area-inset-bottom, 0px)); z-index: 120; display: grid; justify-items: center; pointer-events: none; padding-inline: 16px; }
.toast { display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 12px; background: var(--ink); color: var(--white); box-shadow: var(--shadow-pop); font-size: var(--fs-14); max-width: 480px; animation: pop-in 0.2s ease-out; }
.toast .ic { color: var(--primary-hover); }

/* =====================================================================
   Product mocks (illustrations rendered by mocks.js)
   ===================================================================== */
.window {
  position: relative;
  border-radius: 16px; overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(1, 122, 255, 0.14);
  box-shadow: var(--shadow-window);
  font-family: var(--font-msg);
  font-size: var(--fs-13); line-height: 1.5;
  color: var(--ink);
  text-align: start;
}
.window-sm { box-shadow: var(--shadow-pop); border-color: var(--line); }
.win-bar { display: flex; align-items: center; gap: 12px; height: 42px; padding-inline: 14px; border-bottom: 1px solid var(--line); background: #fbfcfe; }
.win-dots { display: flex; gap: 6px; }
.win-dots i { width: 10px; height: 10px; border-radius: 50%; background: #e3e7ee; }
.win-title { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--fs-13); color: var(--ink-2); min-width: 0; }
.win-title .logo-mark { width: 18px; height: 18px; }
.win-title .sep { color: var(--muted-2); }
.win-right { margin-inline-start: auto; display: flex; align-items: center; gap: 8px; min-width: 0; }

.acc-dot { width: 8px; height: 8px; border-radius: 50%; flex: none; display: inline-block; background: var(--acc-1); }
.acc-dot.c2 { background: var(--acc-2); } .acc-dot.c3 { background: var(--acc-3); } .acc-dot.c4 { background: var(--acc-4); }

.app { display: grid; grid-template-columns: 232px minmax(0, 1fr) 300px; min-height: 430px; }
.app-list { border-inline-end: 1px solid var(--line); background: #fbfcfe; padding: 10px; display: grid; align-content: start; gap: 4px; }
.app-search { height: 32px; border-radius: 8px; background: var(--white); border: 1px solid var(--line); display: flex; align-items: center; gap: 6px; padding-inline: 10px; color: var(--muted-2); margin-bottom: 6px; }
.chat-item { display: grid; grid-template-columns: 34px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 8px; border-radius: 10px; }
.chat-item.active { background: var(--primary-tint); }
.chat-item .meta { min-width: 0; }
.chat-item b { display: block; font-size: 12.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item small { display: block; color: var(--muted); font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-item .side { display: grid; justify-items: end; gap: 4px; color: var(--muted-2); font-size: 10.5px; }
.badge { min-width: 17px; height: 17px; padding-inline: 5px; border-radius: 9px; background: var(--primary); color: var(--white); font-size: 10px; font-weight: 700; display: inline-grid; place-items: center; }
.av { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 12px; color: var(--primary); background: var(--primary-tint); position: relative; flex: none; }
.av.o { color: #c2410c; background: #ffedd5; } .av.g { color: #047857; background: #d1fae5; } .av.p { color: #7e22ce; background: #f3e8ff; }
.av .lg { position: absolute; bottom: -3px; inset-inline-end: -5px; height: 15px; min-width: 19px; padding-inline: 3px; border-radius: 4px; background: var(--white); border: 1px solid var(--line); font-size: 8.5px; font-weight: 800; color: var(--ink-2); display: grid; place-items: center; text-transform: uppercase; }

.app-chat { display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; min-width: 0; background: linear-gradient(180deg, #ffffff, #f8fbff); }
.chat-head .who { min-width: 0; }
.chat-head .who small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.chat-head .who b { display: block; font-size: 13px; }
.chat-head .who small { color: var(--muted); font-size: 11px; }
.chat-head .right { margin-inline-start: auto; display: flex; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding-inline: 8px; border-radius: var(--r-pill); background: var(--bg-soft); color: var(--ink-2); font-size: 11px; font-weight: 600; white-space: nowrap; }
.chip.blue { background: var(--primary-tint); color: var(--primary); }
.chip.ok { background: var(--ok-tint); color: var(--ok); }
.chip.warn { background: var(--warn-tint); color: var(--warn); }
.chip.crit { background: var(--crit-tint); color: var(--crit); }
.chip .ic { width: 12px; height: 12px; stroke-width: 2.2; }

.chat-body { padding: 14px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: end; gap: 10px; overflow: hidden; }
.msg { max-width: 92%; display: grid; gap: 6px; }
.msg.in { justify-self: start; }
.msg.out { justify-self: end; }
.bubble { padding: 9px 12px; border-radius: 12px; background: var(--white); border: 1px solid var(--line); box-shadow: 0 1px 1px rgba(30, 32, 38, 0.03); }
.msg.out .bubble { background: var(--primary-tint); border-color: #d3e6ff; }
.bubble .orig { color: var(--ink); }
.bubble .tr { margin-top: 7px; padding-top: 7px; border-top: 1px dashed var(--line); color: var(--ink-2); }
.msg.out .bubble .tr { border-top-color: #c3dcfb; }
.bubble .tr-label { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted); font-weight: 600; margin-bottom: 2px; }
.bubble .tr-label .eng { color: var(--primary); }
.msg-meta { display: flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--muted-2); }
.msg.out .msg-meta { justify-content: flex-end; }
.msg-meta .ic { width: 13px; height: 13px; color: var(--primary); }
.seal-mini { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--seal); color: var(--seal); font-size: 8.5px; font-weight: 800; transform: rotate(-12deg); line-height: 1.05; text-align: center; }
.seal-mini.stamp { animation: stamp 0.4s cubic-bezier(.2, 1.4, .4, 1) both; }
@keyframes stamp { from { transform: rotate(-12deg) scale(1.9); opacity: 0; } }

.composer { border-top: 1px solid var(--line); padding: 10px 12px; display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; background: var(--white); }
.composer-top { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.composer-input { min-height: 44px; padding: 8px 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--white); color: var(--ink); font-size: 13px; }
.composer-input.is-typing { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(1, 122, 255, 0.12); }
.composer-input .caret { display: inline-block; width: 1.5px; height: 1.05em; background: var(--primary); vertical-align: -2px; margin-inline-start: 1px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.composer-input .ph { color: var(--muted-2); }
.composer-foot { display: flex; align-items: center; gap: 8px; }
.mini-btn { display: inline-flex; align-items: center; gap: 6px; height: 30px; padding-inline: 14px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white); font-size: 12px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.mini-btn.primary { background: var(--primary); border-color: var(--primary); color: var(--white); box-shadow: 0 4px 12px rgba(1, 122, 255, 0.3); }
.mini-btn.is-pressed { transform: scale(0.96); background: var(--primary-press); }
.mini-btn.focus-ring { box-shadow: 0 0 0 3px rgba(1, 122, 255, 0.35); border-color: var(--primary); color: var(--primary); }
.mini-btn .ic { width: 13px; height: 13px; }
.push-end { margin-inline-start: auto; }

.app-ai { border-inline-start: 1px solid var(--line); padding: 12px; display: grid; align-content: start; gap: 10px; background: #fcfdff; min-width: 0; }
.ai-head { display: flex; align-items: center; gap: 6px; font-weight: 700; font-size: 12.5px; }
.ai-head .ic { color: var(--primary); width: 16px; height: 16px; }
.ai-block { border: 1px solid var(--line); border-radius: 10px; background: var(--white); padding: 9px 10px; display: grid; gap: 4px; }
.ai-block .lbl { display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 10.5px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.ai-block .lbl .eng { color: var(--primary); font-weight: 700; }
.ai-block .txt { font-size: 12.5px; color: var(--ink); }
.ai-block.result { border-color: #cfe3ff; background: var(--primary-tint-2); }
.ai-block.is-empty .txt { color: var(--muted-2); }
.shimmer { display: grid; gap: 6px; padding-block: 3px; }
.shimmer i { display: block; height: 8px; border-radius: 4px; background: linear-gradient(90deg, var(--line-2), #dfe9f8, var(--line-2)); background-size: 200% 100%; animation: shimmer 1.1s linear infinite; }
.shimmer i:nth-child(2) { width: 82%; } .shimmer i:nth-child(3) { width: 64%; }
@keyframes shimmer { to { background-position: -200% 0; } }
.facts { display: flex; flex-wrap: wrap; gap: 5px; }
.meter { height: 6px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.meter i { display: block; height: 100%; border-radius: 3px; background: var(--primary); transition: width 0.6s ease; }
.meter.ok i { background: var(--ok); } .meter.warn i { background: var(--warn); }
.fade-in { animation: fade-up 0.35s ease-out both; }
@keyframes fade-up { from { opacity: 0; transform: translateY(4px); } }

/* confirm dialog inside mocks */
.confirm-layer { position: absolute; inset: 42px 0 0 0; display: grid; place-items: center; background: rgba(20, 30, 50, 0.28); z-index: 2; animation: fade-in 0.2s ease-out; padding: 12px; }
.confirm {
  width: min(400px, 100%);
  border-radius: 14px; background: var(--white);
  box-shadow: 0 20px 60px rgba(10, 25, 60, 0.3);
  padding: 14px; display: grid; gap: 10px;
  animation: pop-in 0.22s ease-out;
}
.confirm-standalone { width: 100%; max-width: 440px; margin-inline: auto; box-shadow: var(--shadow-window); border: 1px solid var(--line); }
.confirm h5 { margin: 0; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.confirm h5 .ic { color: var(--primary); }
.confirm .rows { display: grid; gap: 4px; font-size: 11.5px; color: var(--muted); }
.confirm .rows div { display: flex; gap: 8px; }
.confirm .rows b { color: var(--ink-2); font-weight: 600; }
.confirm .pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.confirm .pane { border: 1px solid var(--line); border-radius: 9px; padding: 8px; display: grid; align-content: start; gap: 3px; font-size: 11.5px; }
.confirm .pane .lbl { font-size: 10px; font-weight: 700; color: var(--muted); }
.confirm .pane.send { background: var(--primary-tint-2); border-color: #cfe3ff; }
.confirm .checks { display: grid; gap: 4px; font-size: 11.5px; }
.confirm .checks div { display: flex; align-items: center; gap: 6px; color: var(--ink-2); }
.confirm .checks .ic { width: 14px; height: 14px; color: var(--ok); stroke-width: 2.4; }
.confirm .checks .bad .ic { color: var(--crit); }
.confirm .actions { display: flex; align-items: center; gap: 8px; justify-content: flex-end; flex-wrap: wrap; }
.confirm .default-note { margin-inline-end: auto; font-size: 10.5px; color: var(--muted); display: inline-flex; align-items: center; gap: 4px; }

/* generic mock bits */
.shot { display: grid; gap: 12px; }
.shot-pad { padding: 14px; display: grid; gap: 12px; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr); gap: 8px; align-items: center; }
.two .arrow { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--primary); color: var(--white); box-shadow: var(--glow); }
.two .arrow .ic { width: 15px; height: 15px; }
.note-card { border: 1px solid var(--line); border-radius: 12px; padding: 12px; background: var(--white); display: grid; gap: 6px; min-height: 120px; align-content: start; }
.note-card .lbl { font-size: 10.5px; font-weight: 700; color: var(--muted); display: flex; justify-content: space-between; gap: 6px; }
.note-card.polished { border-color: #cfe3ff; background: var(--primary-tint-2); }
.note-card .scribble { font-size: 13px; color: var(--ink-2); }
.opts { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.opt { display: inline-flex; align-items: center; gap: 6px; height: 26px; padding-inline: 10px; border-radius: var(--r-pill); border: 1px solid var(--line); background: var(--white); font-size: 11.5px; color: var(--ink-2); font-weight: 600; }
.opt.on { border-color: var(--primary); color: var(--primary); background: var(--primary-tint-2); }
.lang-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.lang-grid .opt { justify-content: center; }
.diff-mark { background: #fff1c2; border-radius: 3px; padding-inline: 2px; }
.score { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 11.5px; color: var(--muted); }
.score b { color: var(--ok); font-size: 13px; }

.acc-menu { border: 1px solid var(--line); border-radius: 12px; background: var(--white); box-shadow: var(--shadow-pop); padding: 6px; display: grid; gap: 2px; }
.acc-row { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 8px; }
.acc-row.active { background: var(--primary-tint); }
.acc-row b { display: block; font-size: 12.5px; }
.acc-row small { color: var(--muted); font-size: 11px; }
.acc-row .r { display: flex; gap: 6px; align-items: center; }
.acc-row.add { grid-template-columns: 10px minmax(0, 1fr); color: var(--primary); font-weight: 600; border-top: 1px solid var(--line-2); border-radius: 0 0 8px 8px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }

.table-mock { width: 100%; border-collapse: collapse; font-size: 11.5px; }
.table-mock th { text-align: start; color: var(--muted); font-weight: 600; font-size: 10.5px; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.table-mock td { padding: 7px 8px; border-bottom: 1px solid var(--line-2); white-space: nowrap; }
.table-mock tr:last-child td { border-bottom: 0; }
.who-cell { display: flex; align-items: center; gap: 8px; }
.who-cell .av { width: 24px; height: 24px; font-size: 10px; }
.toggle { width: 28px; height: 16px; border-radius: 8px; background: var(--line); position: relative; display: inline-block; vertical-align: middle; }
.toggle::after { content: ""; position: absolute; top: 2px; inset-inline-start: 2px; width: 12px; height: 12px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,.2); }
.toggle.on { background: var(--primary); }
.toggle.on::after { inset-inline-start: 14px; }
.banner { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 9px; font-size: 11.5px; }
.banner.info { background: var(--primary-tint-2); color: var(--ink-2); border: 1px solid #d7e8ff; }
.banner.warn { background: var(--warn-tint); color: #8a4b00; border: 1px solid #ffe2b3; }
.banner .ic { width: 15px; height: 15px; flex: none; }
.banner.info .ic { color: var(--primary); } .banner.warn .ic { color: var(--warn); }

/* customer profile mock (feature tab "profiles") */
.pf-head { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pf-head > span:last-child { min-width: 0; }
.pf-head b { display: block; font-size: 13px; }
.pf-head small { display: block; color: var(--muted); font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pf-rows { display: grid; gap: 8px; padding-block: 10px; border-block: 1px solid var(--line-2); }
.pf-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); gap: 8px; align-items: center; }
.pf-lbl { font-size: 10.5px; font-weight: 700; color: var(--muted); letter-spacing: 0.02em; }
.pf-row .opt .ic-sm { width: 13px; height: 13px; }
.lang-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.lang-grid-3 .opt { padding-inline: 4px; font-size: 11px; }
.pf-thread { gap: 10px; }
.pf-thread .msg { max-width: 94%; }

/* responsive mock behavior */
@media (max-width: 1080px) { .app { grid-template-columns: 200px minmax(0, 1fr) 270px; } }
@media (max-width: 900px) {
  .app { grid-template-columns: minmax(0, 1fr) 260px; }
  .app-list { display: none; }
}
@media (max-width: 640px) {
  .app { grid-template-columns: minmax(0, 1fr); min-height: 0; }
  .app-ai { border-inline-start: 0; border-top: 1px solid var(--line); }
  .two { grid-template-columns: minmax(0, 1fr); }
  .two .arrow { justify-self: center; transform: rotate(90deg); }
  .split { grid-template-columns: minmax(0, 1fr); }
  .lang-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lang-grid.lang-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .confirm .pair { grid-template-columns: minmax(0, 1fr); }
  .hide-sm { display: none !important; }
}
