/* ==========================================================================
   ZedOrderHub landing page
   Brand system mirrors the dashboard: blue + dark green on near-black.
   ========================================================================== */

:root {
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-heading: 'Outfit', 'Inter', sans-serif;

  --bg: #07080c;
  --bg-2: #0b0d13;
  --surface: #0f121a;
  --surface-2: #151a26;
  --surface-3: #1b2131;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.14);

  --blue: #3b82f6;
  --blue-600: #2563eb;
  --blue-300: #93c5fd;
  --green: #10b981;
  --green-600: #059669;
  --green-300: #6ee7b7;

  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --white: #ffffff;
  --heading: #ffffff;

  /* translucent fills / tracks */
  --fill-1: rgba(255, 255, 255, 0.03);
  --fill-2: rgba(255, 255, 255, 0.05);
  --fill-3: rgba(255, 255, 255, 0.09);
  --track: rgba(255, 255, 255, 0.07);
  --dot: rgba(255, 255, 255, 0.16);
  --side-bg: rgba(0, 0, 0, 0.18);
  --nav-bg: rgba(7, 8, 12, 0.78);
  --nav-bg-solid: rgba(7, 8, 12, 0.97);
  --float-bg: rgba(21, 26, 38, 0.92);

  /* chat mockup (WhatsApp-style dark) */
  --chat-bg: #0b141a;
  --chat-head: #1f2c34;
  --chat-in: #202c33;
  --chat-out: #005c4b;
  --chat-text: #e9edef;
  --chat-muted: #8696a0;
  --chat-time: rgba(233, 237, 239, 0.5);
  --chat-cart: rgba(0, 0, 0, 0.22);
  --chat-cart-row: #d1d7db;
  --chat-total: #ffffff;
  --chat-line: rgba(255, 255, 255, 0.18);
  --chat-dots: rgba(255, 255, 255, 0.035);
  --chat-border: rgba(255, 255, 255, 0.05);

  --glow-opacity: 0.5;
  color-scheme: dark;

  --grad-brand: linear-gradient(135deg, var(--blue) 0%, var(--green) 100%);
  --grad-text: linear-gradient(100deg, #93c5fd 0%, #60a5fa 35%, #34d399 100%);

  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-lg: 0 30px 80px -20px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 0 1px rgba(59, 130, 246, 0.25), 0 20px 60px -15px rgba(59, 130, 246, 0.35);

  --container: 1200px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Light theme ---------- */
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f6f8fc;
  --bg-2: #eef2f8;
  --surface: #ffffff;
  --surface-2: #f4f6fb;
  --surface-3: #e8edf5;
  --border: rgba(15, 23, 42, 0.09);
  --border-strong: rgba(15, 23, 42, 0.17);

  --blue-300: #2563eb;
  --green-300: #047857;

  --text: #334155;
  --text-muted: #566579;
  --text-dim: #8492a6;
  --heading: #0f172a;

  --grad-text: linear-gradient(100deg, #2563eb 0%, #3b82f6 40%, #059669 100%);
  --shadow-lg: 0 30px 70px -25px rgba(15, 23, 42, 0.28);
  --shadow-glow: 0 0 0 1px rgba(59, 130, 246, 0.28), 0 24px 60px -20px rgba(59, 130, 246, 0.35);

  --fill-1: rgba(15, 23, 42, 0.03);
  --fill-2: rgba(15, 23, 42, 0.05);
  --fill-3: rgba(15, 23, 42, 0.08);
  --track: rgba(15, 23, 42, 0.08);
  --dot: rgba(15, 23, 42, 0.18);
  --side-bg: rgba(15, 23, 42, 0.025);
  --nav-bg: rgba(246, 248, 252, 0.82);
  --nav-bg-solid: rgba(246, 248, 252, 0.98);
  --float-bg: rgba(255, 255, 255, 0.94);

  --chat-bg: #efeae2;
  --chat-head: #f0f2f5;
  --chat-in: #ffffff;
  --chat-out: #d9fdd3;
  --chat-text: #111b21;
  --chat-muted: #667781;
  --chat-time: rgba(17, 27, 33, 0.5);
  --chat-cart: rgba(17, 27, 33, 0.05);
  --chat-cart-row: #3b4a54;
  --chat-total: #111b21;
  --chat-line: rgba(17, 27, 33, 0.2);
  --chat-dots: rgba(17, 27, 33, 0.05);
  --chat-border: rgba(17, 27, 33, 0.08);

  --glow-opacity: 0.22;
}

*,
*::before,
*::after { box-sizing: border-box; }

html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: 88px; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  transition: background-color 0.3s, color 0.3s;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }
ul { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--heading);
  margin: 0;
  letter-spacing: -0.025em;
  line-height: 1.1;
  font-weight: 600;
}
p { margin: 0; }

:focus-visible { outline: 2px solid var(--blue-300); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); position: relative; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.icon { width: 1.25em; height: 1.25em; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

.grad-text { background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Eyebrow + section heads ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  background: var(--fill-1);
  font-size: 0.8rem; font-weight: 500; letter-spacing: 0.02em;
  color: var(--blue-300);
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.2); }

.section-head { max-width: 720px; margin-inline: auto; text-align: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head h2 { font-size: clamp(2rem, 4.2vw, 3.25rem); margin-top: 1.1rem; }
.section-head p { margin-top: 1.1rem; color: var(--text-muted); font-size: clamp(1rem, 1.3vw, 1.15rem); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  padding: 0.85rem 1.5rem; border-radius: 12px; border: 1px solid transparent;
  font-weight: 600; font-size: 0.97rem; cursor: pointer; white-space: nowrap;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s, border-color 0.25s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: 0 10px 30px -8px rgba(59, 130, 246, 0.6); }
.btn-primary:hover { box-shadow: 0 16px 40px -8px rgba(16, 185, 129, 0.55); }
.btn-ghost { background: var(--fill-1); border-color: var(--border-strong); color: var(--heading); }
.btn-ghost:hover { background: var(--fill-3); }
.btn-lg { padding: 1rem 1.75rem; font-size: 1.02rem; border-radius: 14px; }
.btn-sm { padding: 0.55rem 1.05rem; font-size: 0.9rem; border-radius: 10px; }
.btn .icon { width: 1.1em; height: 1.1em; }

/* ---------- Navigation ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled { background: var(--nav-bg); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--border); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 1.5rem; }
.brand { display: inline-flex; align-items: center; gap: 0.65rem; font-family: var(--font-heading); font-weight: 700; font-size: 1.3rem; color: var(--heading); letter-spacing: -0.02em; }
.brand img { height: 46px; width: auto; }
.brand span b { font-weight: 700; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-size: 0.93rem; color: var(--text-muted); font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--heading); }
.nav-cta { display: flex; align-items: center; gap: 0.6rem; }
.nav-login { font-size: 0.93rem; font-weight: 500; color: var(--text); padding: 0.55rem 0.9rem; border-radius: 10px; }
.nav-login:hover { background: var(--fill-2); }
.nav-toggle { display: none; background: none; color: var(--heading); border: 1px solid var(--border-strong); border-radius: 10px; width: 42px; height: 42px; align-items: center; justify-content: center; cursor: pointer; }

/* Logo variants: white lettering on dark, original on light */
.logo-on-light { display: none !important; }
:root[data-theme="light"] .logo-on-dark { display: none !important; }
:root[data-theme="light"] .logo-on-light { display: block !important; }

.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 10px; background: var(--fill-1); border: 1px solid var(--border-strong); color: var(--heading); cursor: pointer; transition: background 0.2s, transform 0.25s var(--ease); }
.theme-toggle:hover { background: var(--fill-3); transform: rotate(12deg); }
.theme-toggle .icon { width: 1.1rem; height: 1.1rem; }
.theme-toggle .i-moon { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-moon { display: block; }

/* ---------- Hero ---------- */
.hero { padding-top: calc(72px + clamp(3rem, 7vw, 6rem)); padding-bottom: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: 0; }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 20%, transparent 75%);
  opacity: 0.55;
}
.glow { position: absolute; border-radius: 50%; filter: blur(110px); opacity: var(--glow-opacity); }
.glow.blue { width: 560px; height: 560px; background: rgba(59, 130, 246, 0.45); top: -180px; left: -120px; }
.glow.green { width: 520px; height: 520px; background: rgba(16, 185, 129, 0.32); top: 60px; right: -160px; }

.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 4rem); }
.hero h1 { font-size: clamp(2.5rem, 4.4vw, 3.8rem); margin-top: 1.4rem; line-height: 1.04; letter-spacing: -0.035em; }
.hero-lede { margin-top: 1.5rem; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--text-muted); max-width: 33rem; }
.hero-actions { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 0.85rem; }
.hero-proof { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 0.75rem 1.75rem; color: var(--text-muted); font-size: 0.9rem; }
.hero-proof li { display: inline-flex; align-items: center; gap: 0.5rem; }
.hero-proof .icon { color: var(--green); width: 1.1em; height: 1.1em; }

/* Hero visual */
.hero-visual { position: relative; height: 640px; }
.hero-visual .stage-dash {
  position: absolute; right: -12%; top: 9%; width: 100%;
  transform: perspective(1400px) rotateY(-8deg) rotateX(2deg);
  transform-origin: right center;
}
.hero-visual .stage-dash .dash { grid-template-columns: 1fr; min-height: 0; }
.hero-visual .stage-dash .dash-side { display: none; }
.hero-visual .stage-dash .hide-sm { display: none; }
.hero-visual .stage-dash .dash-main { padding: 0.9rem 0.9rem 0.6rem 200px; }
.hero-visual .phone { position: absolute; left: 0; bottom: 0; z-index: 3; }
.float-chip {
  position: absolute; z-index: 4; display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; border-radius: 14px;
  background: var(--float-bg); border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--shadow-lg);
  font-size: 0.82rem;
}
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: rgba(16, 185, 129, 0.16); color: var(--green); }
.float-chip b { display: block; color: var(--heading); font-weight: 600; font-size: 0.85rem; }
.float-chip small { color: var(--text-muted); font-size: 0.75rem; }
.chip-order { right: -2%; bottom: 14%; animation: bob 6s ease-in-out infinite; }
.chip-ai { left: 8%; top: 0; animation: bob 7s ease-in-out -2s infinite; }
.chip-ai .ic { background: rgba(59, 130, 246, 0.16); color: var(--blue-300); }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ---------- Phone mockup ---------- */
.phone {
  width: 290px; padding: 9px; border-radius: 42px;
  background: linear-gradient(160deg, #2a3142, #0d1017);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0, 0, 0, 0.6), 0 40px 90px -20px rgba(16, 185, 129, 0.25);
}
.phone-screen { border-radius: 34px; overflow: hidden; background: var(--chat-bg); height: 540px; display: flex; flex-direction: column; position: relative; }
.phone-notch { position: absolute; top: 8px; left: 50%; translate: -50% 0; width: 84px; height: 22px; border-radius: 14px; background: #000; z-index: 3; }
.chat-head { display: flex; align-items: center; gap: 0.65rem; padding: 2.1rem 0.9rem 0.7rem; background: var(--chat-head); border-bottom: 1px solid var(--chat-border); }
.chat-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-brand); display: grid; place-items: center; font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; color: #fff; }
.chat-head b { display: block; font-size: 0.85rem; color: var(--chat-text); font-weight: 600; line-height: 1.2; }
.chat-head small { font-size: 0.68rem; color: var(--chat-muted); }
.chat-head small::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #25d366; margin-right: 5px; vertical-align: 1px; }
.chat-body {
  flex: 1; padding: 0.8rem 0.7rem; display: flex; flex-direction: column; gap: 0.5rem; overflow: hidden;
  background-color: var(--chat-bg);
  background-image: radial-gradient(var(--chat-dots) 1px, transparent 1px);
  background-size: 18px 18px;
}
.msg { max-width: 84%; padding: 0.5rem 0.65rem 0.35rem; border-radius: 12px; font-size: 0.76rem; line-height: 1.4; color: var(--chat-text); position: relative; }
.msg time { display: block; text-align: right; font-size: 0.6rem; color: var(--chat-time); margin-top: 2px; }
.msg.in { align-self: flex-start; background: var(--chat-in); border-top-left-radius: 4px; }
.msg.out { align-self: flex-end; background: var(--chat-out); border-top-right-radius: 4px; }
.msg .ticks { color: #53bdeb; margin-left: 3px; }
.cart { margin: 0.35rem 0 0.15rem; border-radius: 9px; background: var(--chat-cart); padding: 0.45rem 0.55rem; font-size: 0.7rem; }
.cart-row { display: flex; justify-content: space-between; gap: 0.6rem; padding: 0.12rem 0; color: var(--chat-cart-row); }
.cart-row span:last-child { font-variant-numeric: tabular-nums; color: var(--chat-text); }
.cart-total { display: flex; justify-content: space-between; border-top: 1px dashed var(--chat-line); margin-top: 0.3rem; padding-top: 0.3rem; font-weight: 600; color: var(--chat-total); }
.chat-input { display: flex; align-items: center; gap: 0.5rem; padding: 0.55rem 0.7rem 0.9rem; background: var(--chat-bg); }
.chat-input span { flex: 1; background: var(--chat-in); border-radius: 20px; padding: 0.45rem 0.85rem; font-size: 0.72rem; color: var(--chat-muted); }
.chat-input i { width: 32px; height: 32px; border-radius: 50%; background: #00a884; display: grid; place-items: center; color: #fff; }
.chat-input i svg { width: 15px; height: 15px; }
.typing { align-self: flex-start; background: var(--chat-in); border-radius: 12px; border-top-left-radius: 4px; padding: 0.55rem 0.75rem; display: flex; gap: 4px; }
.typing i { width: 5px; height: 5px; border-radius: 50%; background: var(--chat-muted); animation: blink 1.2s infinite; }
.typing i:nth-child(2) { animation-delay: 0.2s; } .typing i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blink { 0%, 60%, 100% { opacity: 0.3; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }

/* Sequenced chat reveal (JS adds .play to the phone) */
.js .phone .seq { opacity: 0; transform: translateY(10px) scale(0.97); }
.js .phone.play .seq { animation: pop 0.5s var(--ease) forwards; animation-delay: calc(var(--i) * 1s + 0.4s); }
@keyframes pop { to { opacity: 1; transform: none; } }

/* ---------- Browser / dashboard mockup ---------- */
.browser { border-radius: 16px; background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 0.9rem; background: var(--surface-2); border-bottom: 1px solid var(--border); }
.browser-bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--dot); }
.browser-bar .url { margin-left: 0.6rem; flex: 1; max-width: 300px; padding: 0.22rem 0.75rem; border-radius: 8px; background: var(--fill-2); font-size: 0.7rem; color: var(--text-dim); }
.dash { display: grid; grid-template-columns: 150px 1fr; min-height: 340px; font-size: 0.72rem; }
.dash-side { padding: 0.9rem 0.7rem; border-right: 1px solid var(--border); background: var(--side-bg); }
.dash-side .brand-mini { display: flex; align-items: center; gap: 0.4rem; font-family: var(--font-heading); font-weight: 700; color: var(--heading); font-size: 0.8rem; margin-bottom: 1rem; }
.dash-side .brand-mini img { height: 24px; width: auto; }
.dash-nav { display: flex; align-items: center; gap: 0.5rem; padding: 0.42rem 0.55rem; border-radius: 8px; color: var(--text-muted); margin-bottom: 2px; }
.dash-nav .icon { width: 13px; height: 13px; }
.dash-nav.on { background: rgba(59, 130, 246, 0.14); color: var(--blue-300); }
.dash-main { padding: 0.9rem 1rem; min-width: 0; overflow: hidden; }
.dash-title { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.75rem; }
.dash-title h4 { font-size: 0.95rem; }
.pill { display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.12rem 0.55rem; border-radius: 999px; font-size: 0.62rem; font-weight: 600; white-space: nowrap; }
.pill.green { background: rgba(16, 185, 129, 0.15); color: var(--green-300); }
.pill.blue { background: rgba(59, 130, 246, 0.16); color: var(--blue-300); }
.pill.gray { background: rgba(148, 163, 184, 0.14); color: var(--text-muted); }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.55rem; margin-bottom: 0.75rem; }
.kpi { padding: 0.6rem 0.7rem; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); }
.kpi small { color: var(--text-muted); font-size: 0.62rem; }
.kpi b { white-space: nowrap; display: block; font-family: var(--font-heading); font-size: 1.1rem; color: var(--heading); margin-top: 2px; }
.kpi em { font-style: normal; font-size: 0.6rem; color: var(--green-300); }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-weight: 500; color: var(--text-dim); font-size: 0.62rem; padding: 0.4rem 0.45rem; border-bottom: 1px solid var(--border); text-transform: uppercase; letter-spacing: 0.04em; }
.tbl td { padding: 0.5rem 0.45rem; border-bottom: 1px solid var(--border); color: var(--text); white-space: nowrap; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl tr.new td { background: rgba(16, 185, 129, 0.08); }
.tbl tr.new td:first-child { box-shadow: inset 2px 0 0 var(--green); }
.tbl .src { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--text-muted); }


/* ---------- App preview (mirrors the real dashboard layout) ---------- */
.app { display: grid; grid-template-columns: 218px minmax(0, 1fr); min-height: 560px; font-size: 0.78rem; }
.app-side { padding: 1rem 0.75rem; border-right: 1px solid var(--border); background: var(--side-bg); display: flex; flex-direction: column; }
.app-side .dash-nav { padding: 0.5rem 0.65rem; font-size: 0.76rem; }
.app-side .dash-nav .icon { width: 15px; height: 15px; }
.app-profile { display: flex; align-items: center; gap: 0.6rem; padding: 0 0.3rem; margin-bottom: 0.4rem; }
.app-profile b { display: block; color: var(--heading); font-size: 0.82rem; line-height: 1.2; }
.app-profile small { color: var(--text-dim); font-size: 0.66rem; }
.app-avatar { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--grad-brand); color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 0.72rem; }
.app-avatar.sm { width: 30px; height: 30px; font-size: 0.66rem; }
.app-label { margin: 0.95rem 0.6rem 0.35rem; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-dim); }
.app-logout { margin-top: auto; }

.app-main { padding: 1rem; min-width: 0; display: grid; gap: 0.8rem; align-content: start; }
.app-top { display: flex; align-items: center; gap: 0.5rem; }
.app-top h4 { margin-right: auto; font-size: 1.1rem; }
.select { display: inline-flex; align-items: center; gap: 0.4rem; padding: 0.38rem 0.65rem; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--heading); font-size: 0.68rem; font-weight: 500; white-space: nowrap; }
.select .icon { width: 12px; height: 12px; color: var(--text-muted); }
.select .dim { color: var(--text-dim); font-weight: 400; }
.select.wa .icon { color: var(--green); }
.pill.status { padding: 0.36rem 0.7rem; font-size: 0.68rem; border: 1px solid rgba(16, 185, 129, 0.35); border-radius: 9px; }
.pill .icon { width: 12px; height: 12px; }

.app-banner { position: relative; overflow: hidden; display: flex; align-items: flex-end; gap: 0.85rem; min-height: 122px; padding: 1rem 1.1rem; border-radius: 14px; color: #fff; background: linear-gradient(120deg, #0a1226 0%, #17235f 100%); }
.app-banner::before { content: ''; position: absolute; width: 320px; height: 320px; right: -80px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(16, 185, 129, 0.35), transparent 65%); }
.app-banner > * { position: relative; }
.app-banner .app-avatar { width: 52px; height: 52px; font-size: 0.95rem; border: 2px solid rgba(255, 255, 255, 0.28); }
.app-banner h5 { margin: 0; display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-heading); font-size: 1.1rem; color: #fff; font-weight: 600; }
.app-banner h5 .pill { font-family: var(--font-sans); font-size: 0.56rem; letter-spacing: 0.06em; background: rgba(16, 185, 129, 0.22); color: #6ee7b7; }
.app-banner p { margin: 0.15rem 0 0; font-size: 0.72rem; color: rgba(255, 255, 255, 0.78); }
.app-banner .upload { margin-left: auto; padding: 0.4rem 0.85rem; border-radius: 999px; font-size: 0.64rem; font-weight: 600; background: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.22); }

.app-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.6rem; }
.app-kpi { display: grid; gap: 0.55rem; align-content: space-between; padding: 0.8rem 0.9rem; min-height: 96px; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.app-kpi .top { display: flex; justify-content: space-between; align-items: center; gap: 0.4rem; font-size: 0.58rem; font-weight: 600; letter-spacing: 0.07em; text-transform: uppercase; color: var(--text-muted); }
.app-kpi .ico { flex: none; width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; background: rgba(59, 130, 246, 0.14); color: var(--blue-300); }
.app-kpi .ico .icon { width: 13px; height: 13px; }
.app-kpi.ok .top { color: var(--green-300); }
.app-kpi.ok .ico { background: rgba(16, 185, 129, 0.15); color: var(--green-300); }
.app-kpi b { font-family: var(--font-heading); font-size: 1.6rem; line-height: 1; color: var(--heading); }
.app-kpi.ok b { color: var(--green-300); }
.app-kpi b small { font-family: var(--font-sans); font-size: 0.68rem; font-weight: 400; color: var(--text-muted); }
.app-kpi em { font-style: normal; font-size: 0.58rem; color: var(--text-dim); margin-top: -0.3rem; }

.app-cols { display: grid; grid-template-columns: 1.7fr 1fr; gap: 0.7rem; min-width: 0; }
.panel h5 .h-l { display: inline-flex; align-items: center; gap: 0.45rem; }
.panel h5 .h-l .icon { width: 14px; height: 14px; color: var(--text-muted); }
.panel .hint { margin: 0 0 0.7rem; font-size: 0.68rem; line-height: 1.5; color: var(--text-muted); }
.finder { display: flex; gap: 0.45rem; }
.finder .input { flex: 1; min-width: 0; padding: 0.5rem 0.7rem; border-radius: 9px; border: 1px solid var(--border-strong); background: var(--surface); color: var(--text-dim); font-size: 0.68rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.finder .go { flex: none; width: 34px; border-radius: 9px; display: grid; place-items: center; background: var(--grad-brand); color: #fff; }
.finder .go .icon { width: 14px; height: 14px; }
.cust { margin-top: 0.7rem; display: flex; align-items: center; gap: 0.6rem; padding: 0.55rem 0.65rem; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); }
.cust b { display: block; color: var(--heading); font-size: 0.74rem; }
.cust small { color: var(--text-muted); font-size: 0.64rem; }

/* ---------- Industries strip ---------- */
.strip { padding-block: 1.75rem; border-block: 1px solid var(--border); background: var(--fill-1); }
.strip-inner { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 0.75rem 2.5rem; color: var(--text-muted); font-weight: 500; }
.strip-inner .label { font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--text-dim); }
.strip-inner li { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--font-heading); font-size: 1.1rem; color: var(--text); }
.strip-inner li .icon { color: var(--blue-300); }

/* ---------- Problem / solution ---------- */
.compare { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.compare-card { padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.compare-card.after { background: linear-gradient(160deg, rgba(59, 130, 246, 0.1), rgba(16, 185, 129, 0.08)); border-color: rgba(59, 130, 246, 0.3); }
.compare-card h3 { font-size: 1.35rem; display: flex; align-items: center; gap: 0.7rem; margin-bottom: 1.25rem; }
.compare-card h3 .tag { font-family: var(--font-sans); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.2rem 0.6rem; border-radius: 6px; background: rgba(148, 163, 184, 0.14); color: var(--text-muted); }
.compare-card.after h3 .tag { background: rgba(16, 185, 129, 0.16); color: var(--green-300); }
.compare-card li { display: flex; gap: 0.75rem; padding: 0.65rem 0; color: var(--text-muted); border-top: 1px solid var(--border); }
.compare-card li:first-child { border-top: 0; }
.compare-card li .icon { margin-top: 0.2rem; color: var(--text-dim); }
.compare-card.after li { color: var(--text); }
.compare-card.after li .icon { color: var(--green); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; position: relative; counter-reset: step; }
.step { position: relative; padding: 1.75rem; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); transition: border-color 0.3s, transform 0.4s var(--ease); }
.step:hover { border-color: rgba(59, 130, 246, 0.4); transform: translateY(-4px); }
.step-num { font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; color: var(--blue-300); letter-spacing: 0.08em; }
.step h3 { font-size: 1.3rem; margin: 0.5rem 0 0.6rem; }
.step p { color: var(--text-muted); font-size: 0.97rem; }
.step-art { margin-top: 1.5rem; height: 150px; border-radius: 14px; background: var(--bg-2); border: 1px solid var(--border); overflow: hidden; position: relative; display: grid; place-items: center; padding: 0.9rem; }
.step:not(:last-child)::after {
  content: ''; position: absolute; top: 50%; right: -1.25rem; width: 1.25rem; height: 2px; z-index: 2;
  background: linear-gradient(90deg, var(--blue), var(--green)); opacity: 0.6;
}
.mini-bubble { align-self: start; justify-self: start; padding: 0.5rem 0.75rem; border-radius: 12px 12px 12px 4px; background: var(--chat-in); font-size: 0.74rem; color: var(--chat-text); max-width: 85%; box-shadow: 0 1px 2px rgba(15, 23, 42, 0.14); }
.mini-bubble.out { justify-self: end; border-radius: 12px 12px 4px 12px; background: var(--chat-out); }
.match { width: 100%; display: grid; gap: 0.4rem; font-size: 0.72rem; }
.match-row { display: flex; align-items: center; gap: 0.5rem; padding: 0.4rem 0.55rem; border-radius: 8px; background: var(--surface-2); border: 1px solid var(--border); }
.match-row .icon { width: 13px; height: 13px; color: var(--green); }
.match-row span:nth-child(2) { flex: 1; color: var(--text); }
.match-row em { font-style: normal; color: var(--text-muted); font-variant-numeric: tabular-nums; }
.order-mini { width: 100%; padding: 0.7rem 0.8rem; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--border); font-size: 0.72rem; }
.order-mini .row { display: flex; justify-content: space-between; align-items: center; padding: 0.15rem 0; color: var(--text-muted); }
.order-mini .row b { color: var(--heading); font-weight: 600; }

/* ---------- Bento features ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.1rem; }
.card {
  position: relative; overflow: hidden; padding: clamp(1.4rem, 2.4vw, 2rem);
  border-radius: var(--radius-lg); border: 1px solid var(--border);
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(500px circle at var(--mx, 50%) var(--my, 0%), rgba(59, 130, 246, 0.14), transparent 45%);
}
.card:hover { border-color: rgba(59, 130, 246, 0.35); }
.card:hover::before { opacity: 1; }
.card > * { position: relative; }
.card .ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: rgba(59, 130, 246, 0.12); color: var(--blue-300); border: 1px solid rgba(59, 130, 246, 0.25); margin-bottom: 1.1rem; }
.card .ic.g { background: rgba(16, 185, 129, 0.12); color: var(--green-300); border-color: rgba(16, 185, 129, 0.28); }
.card h3 { font-size: 1.3rem; margin-bottom: 0.55rem; }
.card > p { color: var(--text-muted); font-size: 0.96rem; max-width: 34rem; }
.card { display: flex; flex-direction: column; }
.card .art { margin-top: auto; padding-top: 1.5rem; }
.card .art.convo { display: grid; gap: 0.5rem; }
.b-3 { grid-column: span 3; } .b-2 { grid-column: span 2; } .b-4 { grid-column: span 4; }

.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip { padding: 0.3rem 0.7rem; border-radius: 8px; font-size: 0.78rem; background: var(--fill-2); border: 1px solid var(--border); color: var(--text); }
.chip.on { background: rgba(59, 130, 246, 0.16); border-color: rgba(59, 130, 246, 0.4); color: var(--blue-300); }

.tree { display: grid; gap: 0.4rem; font-size: 0.8rem; }
.tree div { display: flex; align-items: center; gap: 0.6rem; padding: 0.5rem 0.75rem; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); color: var(--text); }
.tree div:nth-child(2) { margin-left: 1.1rem; } .tree div:nth-child(3) { margin-left: 2.2rem; } .tree div:nth-child(4) { margin-left: 3.3rem; }
.tree div span { margin-left: auto; color: var(--text-dim); font-size: 0.72rem; }
.tree .icon { color: var(--green); width: 14px; height: 14px; }

.lookup { display: grid; gap: 0.45rem; }
.lookup .q { font-size: 0.8rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; border-radius: 10px; background: var(--bg-2); border: 1px dashed var(--border-strong); }
.lookup .q b { color: var(--blue-300); font-weight: 500; }
.lookup .hit { display: flex; align-items: center; justify-content: space-between; gap: 0.6rem; padding: 0.55rem 0.75rem; border-radius: 10px; background: var(--surface-3); border: 1px solid var(--border); font-size: 0.8rem; }
.lookup .hit small { color: var(--text-muted); display: block; font-size: 0.7rem; }
.lookup .hit .stock { color: var(--green-300); font-size: 0.72rem; font-weight: 600; }

.sources { display: flex; align-items: center; gap: 0.6rem; flex-wrap: wrap; }
.sources .src-node { display: inline-flex; align-items: center; gap: 0.45rem; padding: 0.45rem 0.8rem; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); font-size: 0.8rem; }
.sources .arrow { color: var(--text-dim); }
.sources .hub { background: var(--grad-brand); border: 0; color: #fff; font-weight: 600; }

.meter { display: grid; gap: 0.9rem; }
.meter-row small { display: flex; justify-content: space-between; color: var(--text-muted); font-size: 0.75rem; margin-bottom: 0.35rem; }
.bar { height: 8px; border-radius: 6px; background: var(--track); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 6px; background: var(--grad-brand); width: var(--w, 50%); }

.tenants { display: grid; gap: 0.4rem; font-size: 0.78rem; }
.tenants .row { display: flex; align-items: center; gap: 0.7rem; padding: 0.5rem 0.7rem; border-radius: 10px; background: var(--bg-2); border: 1px solid var(--border); }
.tenants .row .av { width: 26px; height: 26px; border-radius: 8px; display: grid; place-items: center; font-size: 0.7rem; font-weight: 700; color: #fff; background: var(--grad-brand); }
.tenants .row span:nth-child(2) { flex: 1; color: var(--text); }

/* ---------- Dashboard showcase ---------- */
.showcase { position: relative; overflow-x: clip; }
.showcase .glow.blue { top: 20%; left: 10%; width: 500px; height: 500px; opacity: calc(var(--glow-opacity) * 0.7); }
.showcase .glow.green { top: 40%; right: 5%; width: 460px; height: 460px; opacity: calc(var(--glow-opacity) * 0.56); }
.showcase-frame { position: relative; z-index: 1; max-width: 1080px; margin-inline: auto; }
.showcase-frame .browser { box-shadow: var(--shadow-glow), var(--shadow-lg); }
.panel { min-width: 0; overflow: hidden; padding: 0.8rem; border-radius: 12px; background: var(--surface-2); border: 1px solid var(--border); }
.panel h5 { margin: 0 0 0.6rem; font-family: var(--font-heading); font-size: 0.85rem; color: var(--heading); font-weight: 600; display: flex; justify-content: space-between; align-items: center; }
.panel h5 small { font-family: var(--font-sans); font-weight: 400; color: var(--text-dim); font-size: 0.68rem; }
.showcase-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; }
.note { padding: 1.25rem 1.4rem; border-left: 2px solid var(--blue); background: var(--fill-1); border-radius: 0 12px 12px 0; }
.note b { display: block; color: var(--heading); font-family: var(--font-heading); font-size: 1.05rem; margin-bottom: 0.25rem; font-weight: 600; }
.note span { color: var(--text-muted); font-size: 0.92rem; }
.note:nth-child(2) { border-color: var(--green); } .note:nth-child(3) { border-color: var(--blue-300); }

/* ---------- AI trust ---------- */
.split { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split h2 { font-size: clamp(2rem, 4vw, 3.1rem); margin-top: 1.1rem; }
.split .lede { margin-top: 1.2rem; color: var(--text-muted); font-size: 1.08rem; }
.checks { margin-top: 1.75rem; display: grid; gap: 1rem; }
.checks li { display: flex; gap: 0.9rem; }
.checks .tick { width: 26px; height: 26px; border-radius: 8px; background: rgba(16, 185, 129, 0.15); color: var(--green-300); display: grid; place-items: center; margin-top: 2px; flex: none; }
.checks .tick .icon { width: 14px; height: 14px; stroke-width: 2.6; }
.checks b { color: var(--heading); font-weight: 600; display: block; }
.checks span { color: var(--text-muted); font-size: 0.95rem; }

.flow { position: relative; padding: 1.5rem; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--border-strong); box-shadow: var(--shadow-lg); }
.flow-line { display: grid; gap: 0.85rem; }
.flow-item { display: grid; grid-template-columns: 40px 1fr; gap: 0.9rem; align-items: start; position: relative; }
.flow-item:not(:last-child)::after { content: ''; position: absolute; left: 19px; top: 44px; bottom: -0.85rem; width: 2px; background: linear-gradient(var(--blue), var(--green)); opacity: 0.35; }
.flow-item .n { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-3); border: 1px solid var(--border-strong); color: var(--blue-300); }
.flow-item .n.g { color: var(--green-300); }
.flow-item .body { padding: 0.65rem 0.9rem; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--border); font-size: 0.88rem; color: var(--text-muted); }
.flow-item .body b { color: var(--heading); display: block; font-weight: 600; margin-bottom: 2px; }
.flow-item .body code { font-family: ui-monospace, 'SFMono-Regular', Menlo, monospace; font-size: 0.78rem; color: var(--green-300); background: rgba(16, 185, 129, 0.1); padding: 1px 6px; border-radius: 5px; }
.guard { margin-top: 1rem; display: flex; align-items: center; gap: 0.7rem; padding: 0.75rem 0.95rem; border-radius: 12px; background: rgba(16, 185, 129, 0.08); border: 1px solid rgba(16, 185, 129, 0.25); color: var(--green-300); font-size: 0.85rem; }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; align-items: stretch; max-width: 1050px; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; padding: 2rem; border-radius: var(--radius-lg); border: 1px solid var(--border); background: var(--surface); }
.plan.featured { background: linear-gradient(180deg, rgba(59, 130, 246, 0.14), var(--surface) 60%); border-color: rgba(59, 130, 246, 0.5); box-shadow: var(--shadow-glow); }
.plan .badge { position: absolute; top: -13px; left: 50%; translate: -50% 0; padding: 0.3rem 0.9rem; border-radius: 999px; background: var(--grad-brand); color: #fff; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.plan h3 { font-size: 1.25rem; }
.plan .desc { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.4rem; min-height: 2.8em; }
.price { display: flex; align-items: baseline; gap: 0.35rem; margin: 1.4rem 0 1.5rem; }
.price b { font-family: var(--font-heading); font-size: 3rem; color: var(--heading); letter-spacing: -0.04em; font-weight: 700; }
.price span { color: var(--text-muted); font-size: 0.95rem; }
.plan ul { display: grid; gap: 0.7rem; margin-bottom: 2rem; flex: 1; }
.plan li { display: flex; gap: 0.7rem; font-size: 0.93rem; color: var(--text); }
.plan li .icon { color: var(--green); margin-top: 0.22rem; width: 1em; height: 1em; stroke-width: 2.6; }
.plan li.muted { color: var(--text-muted); }
.plan .btn { width: 100%; }
.pricing-note { text-align: center; color: var(--text-dim); font-size: 0.85rem; margin-top: 1.75rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 0.75rem; }
.faq details { border-radius: var(--radius); border: 1px solid var(--border); background: var(--surface); transition: border-color 0.25s; }
.faq details[open] { border-color: rgba(59, 130, 246, 0.35); background: var(--surface-2); }
.faq summary { list-style: none; cursor: pointer; padding: 1.2rem 1.4rem; font-family: var(--font-heading); font-size: 1.1rem; color: var(--heading); font-weight: 500; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { transition: transform 0.3s var(--ease); color: var(--blue-300); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.3rem; color: var(--text-muted); }

/* ---------- CTA ---------- */
.cta-box {
  position: relative; overflow: hidden; text-align: center; padding: clamp(2.75rem, 6vw, 5rem) clamp(1.5rem, 4vw, 3rem);
  border-radius: 32px; border: 1px solid rgba(59, 130, 246, 0.35);
  background: radial-gradient(ellipse at 20% 0%, rgba(59, 130, 246, 0.35), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(16, 185, 129, 0.3), transparent 55%), var(--surface);
}
.cta-box::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, #000 20%, transparent 70%); opacity: 0.5; }
.cta-box > * { position: relative; }
.cta-box h2 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); max-width: 780px; margin-inline: auto; }
.cta-box p { margin: 1.25rem auto 0; max-width: 560px; color: var(--text-muted); font-size: 1.1rem; }
.cta-box .hero-actions { justify-content: center; }

/* ---------- Footer ---------- */
.footer { padding-block: 3.5rem 2rem; border-top: 1px solid var(--border); margin-top: var(--section-y); }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 2rem; }
.footer p.about { color: var(--text-muted); font-size: 0.92rem; margin-top: 1rem; max-width: 22rem; }
.footer h4 { font-family: var(--font-sans); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-dim); font-weight: 600; margin-bottom: 1rem; }
.footer li { margin-bottom: 0.6rem; }
.footer li a { color: var(--text-muted); font-size: 0.93rem; transition: color 0.2s; }
.footer li a:hover { color: var(--heading); }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--border); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; color: var(--text-dim); font-size: 0.85rem; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.8s var(--ease), transform 0.8s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hide-md { display: none; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { text-align: center; }
  .hero-lede { margin-inline: auto; }
  .hero-actions, .hero-proof { justify-content: center; }
  .hero-visual { max-width: 640px; margin-inline: auto; width: 100%; }
  .split { grid-template-columns: 1fr; }
  .bento { grid-template-columns: repeat(2, 1fr); }
  .b-3, .b-4, .b-2 { grid-column: span 2; }
  .b-2 { grid-column: span 1; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .dash { grid-template-columns: 1fr; }
  .app { grid-template-columns: 1fr; min-height: 0; }
  .app-side { display: none; }
  .app-cols { grid-template-columns: 1fr; }
  .nav-links, .nav-login { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open { background: var(--nav-bg-solid); backdrop-filter: blur(16px); }
  .nav.open .nav-links { display: flex; flex-direction: column; position: absolute; top: 72px; left: 0; right: 0; padding: 1rem var(--gutter) 1.5rem; gap: 0; background: var(--nav-bg-solid); border-bottom: 1px solid var(--border); }
  .nav.open .nav-links a { padding: 0.9rem 0; border-bottom: 1px solid var(--border); font-size: 1.05rem; }
  .compare, .steps, .pricing, .showcase-notes { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
  .plan { max-width: 460px; margin-inline: auto; width: 100%; }
  .plan .desc { min-height: 0; }
  .dash-side, .app-side { display: none; }
  .dash { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hide-sm { display: none; }
  .app-kpis { grid-template-columns: 1fr 1fr; }
  .app-banner { min-height: 104px; }
  .app-top h4 { font-size: 1rem; }
  .nav-cta { gap: 0.4rem; }
  .brand img { height: 38px; }
  .nav-cta .btn-sm { padding: 0.5rem 0.8rem; }
  .bento { grid-template-columns: 1fr; }
  .b-3, .b-4, .b-2 { grid-column: span 1; }
  .hero-visual { height: 690px; }
  .hero-visual .stage-dash { display: none; }
  .hero-visual .phone { left: 50%; translate: -50% 0; bottom: 56px; }
  .chip-order { right: 0; left: 0; margin-inline: auto; width: max-content; bottom: 0; animation: none; }
  .chip-ai { display: none; }
  .btn-lg { width: 100%; }
  .hero-actions .btn { width: 100%; }
  .kpis { grid-template-columns: 1fr 1fr; }
  .kpis .kpi:nth-child(3) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .tbl .hide-sm { display: none; }
}

@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; }
  .js .reveal, .js .phone .seq { opacity: 1; transform: none; }
}
