/* ============================================================
   Assemble — Design System
   One Connected Platform for Your Company
   ============================================================ */

/* ---------- Fonts ---------- */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap");

/* ---------- Design Tokens ---------- */
:root {
  /* Primary — deep blue */
  --c-primary-50:  #eef4ff;
  --c-primary-100: #d9e6ff;
  --c-primary-200: #bcd3ff;
  --c-primary-300: #8eb4ff;
  --c-primary-400: #5a8bff;
  --c-primary-500: #3563ff;
  --c-primary-600: #1f47f0;
  --c-primary-700: #1a37c4;
  --c-primary-800: #1b309e;
  --c-primary-900: #1c2e7d;
  --c-primary-950: #131d4a;

  /* Secondary — teal */
  --c-secondary-50:  #ecfdf7;
  --c-secondary-100: #d0faec;
  --c-secondary-200: #a3f1da;
  --c-secondary-300: #67e2c3;
  --c-secondary-400: #2fc9a6;
  --c-secondary-500: #12ad8a;
  --c-secondary-600: #078a72;
  --c-secondary-700: #086e5d;
  --c-secondary-800: #0a584c;
  --c-secondary-900: #0b4840;

  /* Accent — amber */
  --c-accent-50:  #fff8eb;
  --c-accent-100: #ffeac6;
  --c-accent-200: #ffd388;
  --c-accent-300: #ffb84a;
  --c-accent-400: #ff9d1f;
  --c-accent-500: #f97a07;
  --c-accent-600: #dd5a02;
  --c-accent-700: #b73e06;
  --c-accent-800: #94300c;
  --c-accent-900: #7a280d;

  /* Success / Warning / Error */
  --c-success-500: #16a34a;
  --c-success-600: #15803d;
  --c-warning-500: #f59e0b;
  --c-error-500:   #dc2626;
  --c-error-600:   #b91c1c;

  /* Neutrals */
  --c-neutral-0:   #ffffff;
  --c-neutral-50:  #f8fafc;
  --c-neutral-100: #f1f5f9;
  --c-neutral-200: #e2e8f0;
  --c-neutral-300: #cbd5e1;
  --c-neutral-400: #94a3b8;
  --c-neutral-500: #64748b;
  --c-neutral-600: #475569;
  --c-neutral-700: #334155;
  --c-neutral-800: #1e293b;
  --c-neutral-900: #0f172a;
  --c-neutral-950: #020617;

  /* Semantic */
  --bg:        var(--c-neutral-0);
  --bg-soft:   var(--c-neutral-50);
  --bg-muted:  var(--c-neutral-100);
  --bg-dark:   var(--c-neutral-900);
  --bg-darker: var(--c-primary-950);
  --text:      var(--c-neutral-800);
  --text-strong: var(--c-neutral-900);
  --text-muted:  var(--c-neutral-500);
  --text-on-dark: #e6ecff;
  --text-on-dark-muted: #9aa9d6;
  --border:    var(--c-neutral-200);
  --border-strong: var(--c-neutral-300);

  /* Typography */
  --font-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-display: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-2xl: 36px;
  --r-full: 999px;

  /* Shadow */
  --sh-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(15, 23, 42, 0.04);
  --sh-md: 0 4px 12px rgba(15, 23, 42, 0.06), 0 2px 4px rgba(15, 23, 42, 0.04);
  --sh-lg: 0 18px 40px -12px rgba(15, 23, 42, 0.16), 0 6px 14px -6px rgba(15, 23, 42, 0.08);
  --sh-xl: 0 40px 80px -24px rgba(15, 23, 42, 0.22), 0 12px 24px -12px rgba(15, 23, 42, 0.1);
  --sh-glow: 0 20px 60px -20px rgba(53, 99, 255, 0.45);

  /* Layout */
  --container: 1200px;
  --container-narrow: 880px;
  --nav-h: 72px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 0.18s;
  --t-med: 0.32s;
  --t-slow: 0.6s;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
ul, ol { list-style: none; }
input, textarea, select { font: inherit; }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--text-strong);
}
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.7rem); }
h4 { font-size: 1.15rem; }
p { line-height: 1.65; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; color: var(--text-muted); }
.lead strong { color: var(--text-strong); font-weight: 600; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--c-primary-600);
}
.eyebrow::before {
  content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; opacity: 0.7;
}
.eyebrow.is-light { color: var(--c-secondary-300); }

/* ---------- Layout helpers ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; }
.container.narrow { max-width: var(--container-narrow); }
.section { padding-block: clamp(64px, 9vw, 120px); }
.section.tight { padding-block: clamp(48px, 6vw, 80px); }
.section.dark { background: var(--bg-dark); color: var(--text-on-dark); }
.section.dark h1, .section.dark h2, .section.dark h3, .section.dark h4 { color: #fff; }
.section.dark .lead { color: var(--text-on-dark-muted); }
.section.tinted { background: var(--bg-soft); }
.section.gradient {
  background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg) 60%);
}
.section.center { text-align: center; }
.section.center .eyebrow { margin-inline: auto; }

.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.stack { display: flex; flex-direction: column; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.between { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.center-row { display: flex; align-items: center; justify-content: center; }
.gap-8 { gap: 8px; } .gap-12 { gap: 12px; } .gap-16 { gap: 16px; }
.gap-24 { gap: 24px; } .gap-32 { gap: 32px; } .gap-48 { gap: 48px; }
.mt-8 { margin-top: 8px; } .mt-16 { margin-top: 16px; } .mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-64 { margin-top: 64px; }
.mb-0 { margin-bottom: 0; }

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; }
.section-head p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: var(--r-full);
  font-weight: 600; font-size: 0.97rem; letter-spacing: -0.01em;
  transition: transform var(--t-fast) var(--ease), box-shadow var(--t-med) var(--ease),
              background var(--t-med) var(--ease), color var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
  white-space: nowrap; cursor: pointer; border: 1.5px solid transparent;
}
.btn:active { transform: translateY(1px) scale(0.99); }
.btn-primary {
  background: var(--c-primary-600); color: #fff;
  box-shadow: var(--sh-glow);
}
.btn-primary:hover { background: var(--c-primary-700); transform: translateY(-2px); }
.btn-light {
  background: #fff; color: var(--c-primary-700);
  box-shadow: var(--sh-md);
}
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--sh-lg); }
.btn-ghost {
  background: transparent; color: var(--text-strong); border-color: var(--border-strong);
}
.btn-ghost:hover { border-color: var(--c-primary-400); color: var(--c-primary-700); background: var(--c-primary-50); }
.btn-ghost-light {
  background: rgba(255,255,255,0.06); color: #fff; border-color: rgba(255,255,255,0.18);
}
.btn-ghost-light:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.35); }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }
.btn .arrow { transition: transform var(--t-med) var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Pill / Tag ---------- */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 6px 14px; border-radius: var(--r-full);
  font-size: 0.82rem; font-weight: 500;
  background: var(--c-primary-50); color: var(--c-primary-700);
  border: 1px solid var(--c-primary-100);
}
.pill.accent { background: var(--c-accent-50); color: var(--c-accent-700); border-color: var(--c-accent-100); }
.pill.success { background: #ecfdf3; color: var(--c-success-600); border-color: #d1fae5; }
.pill.neutral { background: var(--bg-muted); color: var(--text-muted); border-color: var(--border); }
.pill .dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }

/* ---------- Card ---------- */
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px; box-shadow: var(--sh-sm);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--c-primary-200); }
.card .card-icon {
  width: 52px; height: 52px; border-radius: var(--r-md);
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--c-primary-50), var(--c-secondary-50));
  color: var(--c-primary-600);
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-muted); font-size: 0.97rem; }
.card.flat:hover { transform: none; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h); display: flex; align-items: center;
  background: rgba(255,255,255,0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-med) var(--ease), background var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.nav.scrolled { border-color: var(--border); box-shadow: var(--sh-sm); }
.nav-inner { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 24px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -0.02em; color: var(--text-strong); }
.brand-mark { width: 34px; height: 34px; flex-shrink: 0; }
.brand-mark-badge { width: 44px; height: 44px; border-radius: 10px; object-fit: contain; }
.brand-copy { display: flex; flex-direction: column; min-width: 0; }
.brand-name { font-size: 1.04rem; font-weight: 800; line-height: 1.05; white-space: nowrap; }
.brand-tagline { margin-top: 3px; font-family: var(--font-sans); font-size: 0.56rem; font-weight: 700; line-height: 1; letter-spacing: 0.015em; color: var(--text-muted); white-space: nowrap; }
.footer .brand-tagline { color: var(--text-muted); }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links a {
  padding: 9px 14px; border-radius: var(--r-sm); font-size: 0.95rem; font-weight: 500; color: var(--text);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.nav-links a:hover { color: var(--c-primary-700); background: var(--c-primary-50); }
.nav-links a.active { color: var(--c-primary-700); background: var(--c-primary-50); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-cta .btn { padding: 9px 18px; font-size: 0.92rem; }

.nav-toggle { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); align-items: center; justify-content: center; color: var(--text-strong); }
.nav-toggle span { position: relative; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform var(--t-med) var(--ease), opacity var(--t-fast) var(--ease); }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 22px; height: 2px; background: currentColor; border-radius: 2px;
  transition: transform var(--t-med) var(--ease);
}
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: #fff; border-bottom: 1px solid var(--border);
  padding: 16px 24px 28px; transform: translateY(-12px); opacity: 0; pointer-events: none;
  transition: transform var(--t-med) var(--ease), opacity var(--t-med) var(--ease);
  box-shadow: var(--sh-lg);
}
.mobile-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-menu a { display: block; padding: 14px 8px; font-size: 1.05rem; font-weight: 500; border-bottom: 1px solid var(--border); }
.mobile-menu a:last-of-type { border-bottom: none; }
.mobile-menu .btn { width: 100%; margin-top: 16px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: calc(var(--nav-h) + 56px); padding-bottom: clamp(60px, 8vw, 110px); overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(900px 500px at 78% -10%, rgba(53, 99, 255, 0.12), transparent 60%),
    radial-gradient(700px 420px at 8% 8%, rgba(18, 173, 138, 0.10), transparent 60%),
    linear-gradient(180deg, #fbfdff 0%, #ffffff 70%);
}
.hero-grid-bg {
  position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(var(--c-neutral-100) 1px, transparent 1px), linear-gradient(90deg, var(--c-neutral-100) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 75%);
}
.hero-inner { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 { margin-top: 18px; }
.hero .lead { margin-top: 20px; max-width: 560px; }
.hero-cta { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero-trust { margin-top: 40px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero-trust .trust-label { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.hero-trust .trust-avatars { display: flex; }
.hero-trust .trust-avatars span {
  width: 34px; height: 34px; border-radius: 50%; border: 2px solid #fff; margin-left: -10px;
  background: linear-gradient(135deg, var(--c-primary-300), var(--c-secondary-400));
  display: grid; place-items: center; color: #fff; font-size: 0.72rem; font-weight: 700;
}
.hero-trust .trust-avatars span:first-child { margin-left: 0; }
.hero-trust .trust-text { font-size: 0.88rem; color: var(--text-muted); }
.hero-trust .trust-text strong { color: var(--text-strong); }

/* ---------- Hero visual (dashboard mock) ---------- */
.hero-visual { position: relative; }
.mock {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl);
  box-shadow: var(--sh-xl); padding: 18px; position: relative;
}
.mock-bar { display: flex; align-items: center; gap: 6px; padding-bottom: 14px; border-bottom: 1px solid var(--border); margin-bottom: 16px; }
.mock-bar .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c-neutral-200); }
.mock-bar .dot:nth-child(1) { background: #ff5f57; }
.mock-bar .dot:nth-child(2) { background: #febc2e; }
.mock-bar .dot:nth-child(3) { background: #28c840; }
.mock-bar .mock-url { margin-left: 12px; font-size: 0.78rem; color: var(--text-muted); background: var(--bg-muted); padding: 4px 12px; border-radius: var(--r-full); }
.mock-title { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: var(--text-strong); }
.mock-sub { font-size: 0.78rem; color: var(--text-muted); }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 14px; }
.mock-stat { background: var(--bg-soft); border-radius: var(--r-md); padding: 12px; }
.mock-stat .v { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; color: var(--text-strong); }
.mock-stat .l { font-size: 0.7rem; color: var(--text-muted); }
.mock-chart { margin-top: 14px; height: 120px; }

/* Floating nodes around hero */
.float-node {
  position: absolute; background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 9px 13px; display: flex; align-items: center; gap: 8px; font-size: 0.78rem; font-weight: 600;
  box-shadow: var(--sh-lg); color: var(--text-strong);
}
.float-node .ic { width: 22px; height: 22px; border-radius: 6px; display: grid; place-items: center; color: #fff; }
.float-node.fn-1 { top: -22px; left: -28px; animation: float 6s ease-in-out infinite; }
.float-node.fn-2 { top: 38%; right: -34px; animation: float 7s ease-in-out infinite 0.5s; }
.float-node.fn-3 { bottom: -20px; left: 22%; animation: float 8s ease-in-out infinite 1s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ---------- Section: Problem (disconnected apps) ---------- */
.problem-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.app-chip {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md);
  padding: 16px 12px; text-align: center; font-size: 0.85rem; font-weight: 600; color: var(--text);
  box-shadow: var(--sh-sm); position: relative;
}
.app-chip .ic { width: 30px; height: 30px; margin: 0 auto 8px; border-radius: 8px; background: var(--bg-muted); display: grid; place-items: center; color: var(--text-muted); }
.app-chip .x { position: absolute; top: 6px; right: 8px; color: var(--c-error-500); font-size: 0.7rem; font-weight: 700; opacity: 0.5; }

/* ---------- Everything Connects diagram ---------- */
.connect-wrap { position: relative; width: 100%; aspect-ratio: 1 / 1; max-width: 720px; margin-inline: auto; }
.connect-svg { width: 100%; height: 100%; }
.connect-node {
  position: absolute; width: 92px; height: 92px; border-radius: 50%;
  background: #fff; border: 1px solid var(--border); box-shadow: var(--sh-md);
  display: grid; place-items: center; text-align: center; gap: 2px;
  font-size: 0.68rem; font-weight: 600; color: var(--text-strong);
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.connect-node .ic { width: 26px; height: 26px; color: var(--c-primary-600); }
.connect-node:hover { transform: scale(1.08); box-shadow: var(--sh-lg); z-index: 5; }
.connect-center {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 130px; height: 130px; border-radius: 50%;
  background: linear-gradient(135deg, var(--c-primary-600), var(--c-primary-800));
  color: #fff; display: grid; place-items: center; text-align: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: -0.02em;
  box-shadow: var(--sh-glow); z-index: 4;
}
.connect-center small { display: block; font-size: 0.62rem; font-weight: 500; opacity: 0.85; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---------- Levels (org hierarchy) ---------- */
.level-row {
  display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start;
  padding: 32px 0; border-top: 1px solid var(--border);
}
.level-row:first-of-type { border-top: none; }
.level-tag { display: flex; flex-direction: column; gap: 8px; }
.level-tag .num { font-family: var(--font-display); font-weight: 800; font-size: 2.4rem; color: var(--c-primary-200); line-height: 1; }
.level-tag h3 { font-size: 1.3rem; }
.level-items { display: flex; flex-wrap: wrap; gap: 8px; }
.level-items .li {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 14px;
  background: var(--bg-soft); border: 1px solid var(--border); border-radius: var(--r-full);
  font-size: 0.86rem; font-weight: 500; color: var(--text);
}
.level-items .li .d { width: 6px; height: 6px; border-radius: 50%; background: var(--c-primary-400); }

/* ---------- Timeline (Today → Years) ---------- */
.timeline { position: relative; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-top: 48px; }
.timeline::before {
  content: ""; position: absolute; top: 22px; left: 4%; right: 4%; height: 2px;
  background: linear-gradient(90deg, var(--c-primary-300), var(--c-secondary-400));
  border-radius: 2px;
}
.tl-item { position: relative; text-align: center; }
.tl-dot {
  width: 44px; height: 44px; margin: 0 auto 14px; border-radius: 50%; background: #fff;
  border: 2px solid var(--c-primary-300); display: grid; place-items: center; color: var(--c-primary-600);
  position: relative; z-index: 2; font-weight: 700; font-size: 0.8rem;
}
.tl-item:nth-child(odd) .tl-dot { background: var(--c-primary-600); color: #fff; border-color: var(--c-primary-600); }
.tl-item h4 { font-size: 0.98rem; margin-bottom: 4px; }
.tl-item p { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- Dashboard mock panels ---------- */
.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.dash-panel { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 22px; box-shadow: var(--sh-sm); }
.dash-panel h4 { font-size: 1rem; margin-bottom: 4px; }
.dash-panel .meta { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 18px; }
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.kpi { background: var(--bg-soft); border-radius: var(--r-md); padding: 16px; }
.kpi .v { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--text-strong); }
.kpi .l { font-size: 0.76rem; color: var(--text-muted); margin-top: 2px; }
.kpi .d { font-size: 0.72rem; font-weight: 600; margin-top: 6px; }
.kpi .d.up { color: var(--c-success-600); }
.kpi .d.down { color: var(--c-error-600); }

/* bar chart */
.bar-chart { display: flex; align-items: flex-end; gap: 10px; height: 150px; padding-top: 10px; }
.bar-chart .bar { flex: 1; background: linear-gradient(180deg, var(--c-primary-400), var(--c-primary-600)); border-radius: 6px 6px 0 0; position: relative; transition: height var(--t-slow) var(--ease); }
.bar-chart .bar::after { content: attr(data-l); position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); font-size: 0.7rem; color: var(--text-muted); }

/* line chart container */
.line-chart { width: 100%; height: 150px; }

/* donut */
.donut-wrap { display: flex; align-items: center; gap: 18px; }
.donut-legend { display: flex; flex-direction: column; gap: 8px; }
.donut-legend .lg { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--text-muted); }
.donut-legend .lg .d { width: 10px; height: 10px; border-radius: 3px; }

/* ---------- Use What You Need (progression) ---------- */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.tier {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px;
  position: relative; transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease);
}
.tier:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); }
.tier .tier-badge {
  position: absolute; top: -14px; left: 28px; padding: 5px 14px; border-radius: var(--r-full);
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--c-primary-600); color: #fff;
}
.tier.mid .tier-badge { background: var(--c-secondary-600); }
.tier.full .tier-badge { background: var(--c-accent-500); }
.tier h3 { margin: 14px 0 8px; }
.tier .tier-sub { font-size: 0.86rem; color: var(--text-muted); margin-bottom: 18px; }
.tier ul li { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.92rem; border-top: 1px dashed var(--border); }
.tier ul li:first-child { border-top: none; }
.tier ul li .ck { color: var(--c-primary-600); flex-shrink: 0; }
.tier.mid ul li .ck { color: var(--c-secondary-600); }
.tier.full ul li .ck { color: var(--c-accent-500); }

/* ---------- Integration grid ---------- */
.integ-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.integ-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-md); padding: 20px;
  display: flex; flex-direction: column; gap: 10px; transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.integ-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); border-color: var(--c-primary-200); }
.integ-card .ic { width: 40px; height: 40px; border-radius: 10px; background: var(--bg-soft); display: grid; place-items: center; color: var(--c-primary-600); }
.integ-card h4 { font-size: 0.98rem; }
.integ-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ---------- CTA band ---------- */
.cta-band {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--c-primary-700), var(--c-primary-950));
  color: #fff; border-radius: var(--r-2xl); padding: clamp(40px, 6vw, 72px);
  text-align: center;
}
.cta-band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(500px 280px at 20% 0%, rgba(47, 201, 166, 0.25), transparent 60%),
    radial-gradient(500px 280px at 85% 100%, rgba(255, 157, 31, 0.18), transparent 60%);
}
.cta-band h2 { color: #fff; position: relative; }
.cta-band p { color: var(--text-on-dark-muted); position: relative; max-width: 560px; margin: 16px auto 0; }
.cta-band .cta-row { position: relative; margin-top: 30px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer { background: var(--bg-dark); color: var(--text-on-dark); padding-top: 72px; padding-bottom: 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer .brand { color: #fff; }
.footer p { color: var(--text-on-dark-muted); font-size: 0.9rem; margin-top: 16px; max-width: 280px; }
.footer h5 { font-family: var(--font-display); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer ul li { margin-bottom: 10px; }
.footer ul li a { color: var(--text-on-dark-muted); font-size: 0.9rem; transition: color var(--t-fast) var(--ease); }
.footer ul li a:hover { color: #fff; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 28px; flex-wrap: wrap; }
.footer-bottom p { font-size: 0.84rem; color: var(--text-on-dark-muted); margin: 0; }
.footer-bottom .socials { display: flex; gap: 10px; }
.footer-bottom .socials a { width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.14); display: grid; place-items: center; color: var(--text-on-dark-muted); transition: all var(--t-med) var(--ease); }
.footer-bottom .socials a:hover { color: #fff; border-color: rgba(255,255,255,0.4); transform: translateY(-2px); }

/* ---------- Page hero (interior) ---------- */
.page-hero { padding-top: calc(var(--nav-h) + 64px); padding-bottom: 48px; position: relative; overflow: hidden; }
.page-hero .hero-bg { background:
  radial-gradient(700px 380px at 85% -10%, rgba(53, 99, 255, 0.10), transparent 60%),
  radial-gradient(500px 300px at 10% 10%, rgba(18, 173, 138, 0.08), transparent 60%),
  linear-gradient(180deg, #fbfdff, #fff); }
.page-hero .lead { max-width: 620px; margin-top: 18px; }
.page-hero h1 { margin-top: 14px; }

/* ---------- Platform modules grid ---------- */
.mod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mod-card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px;
  transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.mod-card:hover { transform: translateY(-4px); box-shadow: var(--sh-lg); border-color: var(--c-primary-200); }
.mod-card .ic { width: 48px; height: 48px; border-radius: var(--r-md); background: linear-gradient(135deg, var(--c-primary-50), var(--c-secondary-50)); display: grid; place-items: center; color: var(--c-primary-600); margin-bottom: 16px; }
.mod-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.mod-card p { font-size: 0.92rem; color: var(--text-muted); }
.mod-card .mod-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.mod-card .mod-tags span { font-size: 0.72rem; padding: 3px 10px; border-radius: var(--r-full); background: var(--bg-muted); color: var(--text-muted); }

/* ---------- Feature row ---------- */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.feature-row.reverse .fr-text { order: 2; }
.feature-row + .feature-row { margin-top: 80px; }
.fr-text h2 { margin: 14px 0 18px; }
.fr-text p { color: var(--text-muted); }
.fr-text .fr-list { margin-top: 22px; display: flex; flex-direction: column; gap: 14px; }
.fr-text .fr-list li { display: flex; gap: 12px; align-items: flex-start; }
.fr-text .fr-list li .ck { color: var(--c-primary-600); flex-shrink: 0; margin-top: 3px; }
.fr-text .fr-list li strong { display: block; color: var(--text-strong); font-weight: 600; }
.fr-text .fr-list li span { font-size: 0.9rem; color: var(--text-muted); }
.fr-visual { position: relative; }

/* ---------- Stat band ---------- */
.stat-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; }
.stat .v { font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); color: var(--c-primary-700); line-height: 1; }
.stat .l { font-size: 0.9rem; color: var(--text-muted); margin-top: 8px; }
.section.dark .stat .v { color: var(--c-secondary-300); }
.section.dark .stat .l { color: var(--text-on-dark-muted); }

/* ---------- Quote ---------- */
.quote { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--text-strong); max-width: 820px; }
.quote .mark { color: var(--c-primary-300); }
.quote-attr { margin-top: 20px; display: flex; align-items: center; gap: 14px; }
.quote-attr .av { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, var(--c-primary-400), var(--c-secondary-400)); }
.quote-attr .who { font-weight: 600; color: var(--text-strong); }
.quote-attr .role { font-size: 0.85rem; color: var(--text-muted); }

/* ---------- Contact form ---------- */
.form-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 44px); box-shadow: var(--sh-lg); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 0.86rem; font-weight: 600; color: var(--text-strong); }
.field input, .field select, .field textarea {
  padding: 12px 14px; border: 1.5px solid var(--border-strong); border-radius: var(--r-sm);
  background: var(--bg-soft); color: var(--text-strong); transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  width: 100%;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--c-primary-400); background: #fff; box-shadow: 0 0 0 3px rgba(53,99,255,0.12);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 14px; }
.form-success { display: none; padding: 16px 20px; border-radius: var(--r-md); background: #ecfdf3; border: 1px solid #d1fae5; color: var(--c-success-600); font-weight: 600; margin-top: 16px; }
.form-success.show { display: block; }

.contact-info { display: flex; flex-direction: column; gap: 20px; }
.contact-info .ci { display: flex; gap: 14px; align-items: flex-start; }
.contact-info .ci .ic { width: 42px; height: 42px; border-radius: var(--r-md); background: var(--c-primary-50); color: var(--c-primary-600); display: grid; place-items: center; flex-shrink: 0; }
.contact-info .ci h4 { font-size: 0.95rem; margin-bottom: 2px; }
.contact-info .ci p { font-size: 0.88rem; color: var(--text-muted); }

/* ---------- About values ---------- */
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; }
.value-card .ic { width: 44px; height: 44px; border-radius: var(--r-md); background: var(--c-primary-50); color: var(--c-primary-600); display: grid; place-items: center; margin-bottom: 16px; }
.value-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.value-card p { font-size: 0.92rem; color: var(--text-muted); }

/* ---------- Solutions matrix ---------- */
.sol-matrix { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.sol-card { background: #fff; border: 1px solid var(--border); border-radius: var(--r-lg); padding: 26px; transition: transform var(--t-med) var(--ease), box-shadow var(--t-med) var(--ease); }
.sol-card:hover { transform: translateY(-3px); box-shadow: var(--sh-md); }
.sol-card .sol-ic { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; margin-bottom: 16px; }
.sol-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.sol-card p { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 14px; }
.sol-card ul li { display: flex; gap: 8px; align-items: center; font-size: 0.86rem; padding: 5px 0; color: var(--text); }
.sol-card ul li .ck { color: var(--c-primary-500); flex-shrink: 0; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }
.reveal.d5 { transition-delay: 0.40s; }

/* pulse for connection lines */
@keyframes pulse-line {
  0%, 100% { opacity: 0.25; }
  50% { opacity: 0.85; }
}
.pulse-line { animation: pulse-line 3.5s ease-in-out infinite; }

/* dash flow */
@keyframes dash-flow {
  to { stroke-dashoffset: -24; }
}
.flow-line { stroke-dasharray: 6 6; animation: dash-flow 1.2s linear infinite; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual { max-width: 520px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-top .footer-brand { grid-column: 1 / -1; }
  .problem-grid { grid-template-columns: repeat(3, 1fr); }
  .integ-grid { grid-template-columns: repeat(3, 1fr); }
  .mod-grid { grid-template-columns: repeat(2, 1fr); }
  .sol-matrix { grid-template-columns: repeat(2, 1fr); }
  .dash-grid { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-cta .btn-ghost { display: none; }
  .nav-toggle { display: flex; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .feature-row, .feature-row.reverse { grid-template-columns: 1fr; gap: 32px; }
  .feature-row.reverse .fr-text { order: 0; }
  .tier-grid { grid-template-columns: 1fr; }
  .stat-band { grid-template-columns: repeat(2, 1fr); }
  .timeline { grid-template-columns: repeat(3, 1fr); gap: 28px 12px; }
  .timeline::before { display: none; }
  .level-row { grid-template-columns: 1fr; gap: 16px; }
  .problem-grid { grid-template-columns: repeat(2, 1fr); }
  .integ-grid { grid-template-columns: repeat(2, 1fr); }
  .mod-grid { grid-template-columns: 1fr; }
  .sol-matrix { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .float-node { display: none; }
  .connect-node { width: 68px; height: 68px; font-size: 0.6rem; }
  .connect-center { width: 100px; height: 100px; font-size: 0.9rem; }
}

@media (max-width: 480px) {
  .problem-grid { grid-template-columns: 1fr; }
  .integ-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .kpi-row { grid-template-columns: 1fr; }
  .mock-stats { grid-template-columns: 1fr; }
}

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

/* ---------- Print ---------- */
@media print {
  .nav, .mobile-menu, .hero-bg, .hero-grid-bg { display: none; }
  body { color: #000; }
}


/* Assemble theme toggle */
.theme-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  background: var(--bg-elevated);
  color: var(--text-strong);
  display: grid;
  place-items: center;
  cursor: pointer;
  font-size: 1rem;
  transition: transform var(--t-med) var(--ease), background var(--t-med) var(--ease), border-color var(--t-med) var(--ease);
}
.theme-toggle:hover { transform: translateY(-2px); border-color: var(--c-primary-300); }
.theme-toggle .theme-sun,
html[data-theme="dark"] .theme-toggle .theme-moon { display: none; }
html[data-theme="dark"] .theme-toggle .theme-sun { display: inline; }

html[data-theme="dark"] {
  color-scheme: dark;
  --bg: #0b1220;
  --bg-soft: #111b2e;
  --bg-muted: #172238;
  --bg-elevated: #111b2e;
  --bg-dark: #060d19;
  --text-strong: #f7f9ff;
  --text: #d7deed;
  --text-muted: #9eabc2;
  --border: #26344d;
  --border-strong: #344560;
  --text-on-dark: #f7f9ff;
  --text-on-dark-muted: #aab6ca;
}
html[data-theme="dark"] body { background: var(--bg); color: var(--text); }
html[data-theme="dark"] .nav { background: rgba(11,18,32,0.94); border-color: var(--border); }
html[data-theme="dark"] .hero-bg,
html[data-theme="dark"] .page-hero .hero-bg {
  background:
    radial-gradient(700px 420px at 82% 12%, rgba(53,99,255,0.18), transparent 62%),
    radial-gradient(520px 320px at 8% 8%, rgba(18,173,138,0.13), transparent 62%),
    linear-gradient(180deg, #0b1220, #0d1728);
}
html[data-theme="dark"] .hero-grid-bg { opacity: 0.18; }
html[data-theme="dark"] .section { background: var(--bg); }
html[data-theme="dark"] .section.tinted { background: var(--bg-soft); }
html[data-theme="dark"] .section.dark { background: var(--bg-dark); }
html[data-theme="dark"] .card,
html[data-theme="dark"] .mock,
html[data-theme="dark"] .tier,
html[data-theme="dark"] .integ-card,
html[data-theme="dark"] .dash-panel,
html[data-theme="dark"] .mod-card,
html[data-theme="dark"] .value-card,
html[data-theme="dark"] .sol-card,
html[data-theme="dark"] .form-card,
html[data-theme="dark"] .app-chip,
html[data-theme="dark"] .level-items .li,
html[data-theme="dark"] .tl-dot {
  background: #111b2e;
  border-color: var(--border);
}
html[data-theme="dark"] .mock-stat,
html[data-theme="dark"] .kpi,
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field select,
html[data-theme="dark"] .field textarea {
  background: #172238;
  color: var(--text-strong);
  border-color: var(--border);
}
html[data-theme="dark"] .mock-bar,
html[data-theme="dark"] .mock-url { background: #172238; }
html[data-theme="dark"] .mobile-menu { background: #0b1220; border-color: var(--border); }
html[data-theme="dark"] .footer { background: #060d19; }
html[data-theme="dark"] .cta-band { box-shadow: 0 24px 70px rgba(0,0,0,0.35); }

@media (max-width: 768px) {
  .theme-toggle { width: 38px; height: 38px; }
}


/* Product visual stories */
.product-stories { display: flex; flex-direction: column; gap: 72px; margin-top: 72px; }
.product-story { display: grid; grid-template-columns: 0.78fr 1.35fr; gap: 48px; align-items: center; }
.product-story.reverse { grid-template-columns: 1.35fr 0.78fr; }
.product-story.reverse .product-copy { order: 2; }
.product-story.reverse .product-shot { order: 1; }
.product-copy h3 { font-size: clamp(1.55rem, 2.5vw, 2.25rem); margin: 14px 0 16px; }
.product-copy p { color: var(--text-muted); }
.product-points { display: flex; flex-direction: column; gap: 12px; margin-top: 22px; }
.product-points li { display: flex; gap: 10px; align-items: flex-start; color: var(--text); }
.product-points .ck { color: var(--c-secondary-600); font-weight: 800; }
.product-shot {
  padding: 12px;
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, rgba(53,99,255,0.12), rgba(18,173,138,0.10));
  border: 1px solid var(--border);
  box-shadow: var(--sh-xl);
  overflow: hidden;
}
.product-shot img { display: block; width: 100%; height: auto; border-radius: calc(var(--r-xl) - 8px); }
html[data-theme="dark"] .product-shot {
  background: linear-gradient(145deg, rgba(53,99,255,0.16), rgba(18,173,138,0.10));
  border-color: #31415d;
  box-shadow: 0 30px 80px rgba(0,0,0,0.38);
}
@media (max-width: 900px) {
  .product-story,
  .product-story.reverse { grid-template-columns: 1fr; gap: 28px; }
  .product-story.reverse .product-copy,
  .product-story.reverse .product-shot { order: initial; }
  .product-stories { gap: 56px; margin-top: 56px; }
}

@media (max-width: 1180px) {
  .nav .brand-tagline { display: none; }
  .nav .brand-name { font-size: 0.96rem; }
  .nav-inner { gap: 14px; }
  .nav-links a { padding-inline: 10px; }
}
@media (max-width: 760px) {
  .nav .brand-name { font-size: 1rem; }
  .brand-mark-badge { width: 40px; height: 40px; }
}


/* ---------- Animated brand orbit ---------- */
.brand-orbit {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
}
.brand-orbit .brand-mark-badge { width: 44px; height: 44px; }
.brand-orbit-dot {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 6px;
  height: 6px;
  margin: -3px;
  border-radius: 50%;
  background: #8ef1ed;
  box-shadow: 0 0 8px rgba(88,216,215,.95), 0 0 14px rgba(53,99,255,.55);
  animation: brand-orbit-spin 5.5s linear infinite;
}
.brand-orbit-dot-two {
  width: 4px;
  height: 4px;
  margin: -2px;
  background: #6f91ff;
  animation-duration: 8s;
  animation-direction: reverse;
}
@keyframes brand-orbit-spin {
  from { transform: rotate(0deg) translateX(23px) rotate(0deg); }
  to { transform: rotate(360deg) translateX(23px) rotate(-360deg); }
}

/* ---------- Accessibility controls ---------- */
.accessibility-control { position: relative; display: flex; }
.accessibility-toggle {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--text-strong);
  font-size: 1.15rem;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.accessibility-toggle:hover,
.accessibility-toggle[aria-expanded="true"] { border-color: var(--c-primary-400); background: var(--c-primary-50); }
.accessibility-toggle:focus-visible,
.accessibility-menu button:focus-visible { outline: 3px solid var(--c-primary-400); outline-offset: 2px; }
.accessibility-menu {
  position: absolute;
  z-index: 120;
  top: calc(100% + 10px);
  right: 0;
  width: 230px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  background: var(--bg);
  box-shadow: var(--sh-lg);
}
.accessibility-menu[hidden] { display: none; }
.accessibility-title { padding: 4px 8px 10px; color: var(--text-strong); font-weight: 700; font-size: .88rem; }
.accessibility-menu button {
  width: 100%;
  min-height: 42px;
  padding: 9px 10px;
  border-radius: var(--r-sm);
  text-align: left;
  color: var(--text);
}
.accessibility-menu button:hover { background: var(--bg-muted); color: var(--text-strong); }
.accessibility-menu button[aria-pressed="true"] { background: var(--c-primary-50); color: var(--c-primary-700); font-weight: 700; }

html.a11y-large-text { font-size: 112.5%; }
html.a11y-high-contrast {
  --bg: #ffffff;
  --bg-soft: #ffffff;
  --bg-muted: #f0f0f0;
  --text: #000000;
  --text-strong: #000000;
  --text-muted: #252525;
  --border: #111111;
  --border-strong: #000000;
}
html[data-theme="dark"].a11y-high-contrast {
  --bg: #000000;
  --bg-soft: #000000;
  --bg-muted: #151515;
  --text: #ffffff;
  --text-strong: #ffffff;
  --text-muted: #eeeeee;
  --border: #ffffff;
  --border-strong: #ffffff;
}
html.a11y-reduce-motion { scroll-behavior: auto; }
html.a11y-reduce-motion *,
html.a11y-reduce-motion *::before,
html.a11y-reduce-motion *::after {
  animation-duration: .001ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: .001ms !important;
  scroll-behavior: auto !important;
}
@media (prefers-reduced-motion: reduce) {
  .brand-orbit-dot { animation: none; transform: translateX(23px); }
}
@media (max-width: 1180px) {
  .accessibility-toggle { width: 40px; height: 40px; }
}
@media (max-width: 760px) {
  .brand-orbit { width: 44px; height: 44px; flex-basis: 44px; }
  .brand-orbit .brand-mark-badge { width: 40px; height: 40px; }
  .brand-orbit-dot { animation: none; transform: translateX(21px); }
}


/* ---------- Verified phone layout ---------- */
html { overflow-x: hidden; }
body.mobile-nav-open { overflow: hidden; }
img, svg, video { max-width: 100%; height: auto; }
input, select, textarea, button { max-width: 100%; }

@media (max-width: 768px) {
  :root { --nav-h: 72px; }

  .container,
  .nav-inner { padding-inline: 18px; }

  .nav-inner {
    width: 100%;
    min-width: 0;
    gap: 8px;
  }

  .nav .brand {
    min-width: 0;
    flex: 1 1 auto;
    gap: 8px;
    overflow: hidden;
  }

  .nav .brand-copy {
    display: block;
    min-width: 0;
    overflow: hidden;
  }

  .nav .brand-name {
    display: block;
    font-size: clamp(.84rem, 3.8vw, 1rem);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .nav .brand-tagline { display: none !important; }

  .brand-orbit {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
  }

  .brand-orbit .brand-mark-badge {
    width: 38px;
    height: 38px;
  }

  .nav-cta {
    flex: 0 0 auto;
    gap: 5px;
  }

  .nav-cta > .btn,
  .nav-cta > a.btn {
    display: none !important;
  }

  .theme-toggle,
  .accessibility-toggle,
  .nav-toggle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    padding: 0;
    touch-action: manipulation;
  }

  .nav-toggle { display: flex !important; }

  .mobile-menu {
    top: var(--nav-h);
    max-height: calc(100dvh - var(--nav-h));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 10px 18px calc(24px + env(safe-area-inset-bottom));
  }

  .mobile-menu a {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 12px 8px;
  }

  .accessibility-menu {
    position: fixed;
    top: calc(var(--nav-h) - 2px);
    left: 12px;
    right: 12px;
    width: auto;
    max-height: calc(100dvh - var(--nav-h) - 14px);
    overflow-y: auto;
  }

  .hero {
    padding-top: calc(var(--nav-h) + 36px);
    padding-bottom: 56px;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }

  .hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    line-height: 1.04;
    overflow-wrap: anywhere;
  }

  .hero .lead { font-size: 1.05rem; }

  .hero-cta,
  .cta-band .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta .btn,
  .cta-band .cta-row .btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

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

  .mock {
    min-width: 0;
    padding: 12px;
  }

  .mock-url {
    min-width: 0;
    max-width: calc(100% - 54px);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .section { padding-block: 56px; }
  .section.tight { padding-block: 42px; }

  .grid,
  .card,
  .feature-card,
  .mod-card,
  .product-story,
  .product-shot { min-width: 0; }

  .stat-band,
  .timeline,
  .footer-top { grid-template-columns: 1fr; }

  .cta-band {
    padding: 38px 20px;
    border-radius: var(--r-xl);
  }

  .table-wrap,
  .comparison-table,
  .data-table {
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  table { min-width: 640px; }

  input,
  select,
  textarea {
    width: 100%;
    min-height: 46px;
    font-size: 16px;
  }
}

@media (max-width: 430px) {
  .container,
  .nav-inner { padding-inline: 14px; }

  .theme-toggle { display: none !important; }

  .nav .brand-name { font-size: .82rem; }

  .brand-orbit {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
  }

  .brand-orbit .brand-mark-badge {
    width: 36px;
    height: 36px;
  }

  .accessibility-toggle,
  .nav-toggle {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
  }

  .hero h1 { font-size: clamp(2rem, 10.5vw, 2.55rem); }
  .hero-trust {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
}


/* ---------- Interior pages phone review ---------- */
@media (max-width: 768px) {
  .page-hero {
    padding-top: calc(var(--nav-h) + 36px);
    padding-bottom: 34px;
  }

  .page-hero .container { min-width: 0; }

  .page-hero h1 {
    font-size: clamp(2rem, 9.5vw, 2.75rem);
    line-height: 1.06;
    overflow-wrap: anywhere;
  }

  .page-hero .lead {
    font-size: 1.03rem;
    line-height: 1.65;
  }

  .contact-layout {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 38px !important;
  }

  .form-card {
    min-width: 0;
    padding: 24px 18px;
    border-radius: var(--r-lg);
  }

  .form-grid { gap: 16px; }

  .field,
  .field.full {
    min-width: 0;
    grid-column: 1;
  }

  .form-card .between {
    align-items: stretch;
    flex-direction: column;
  }

  .form-card .form-note { margin-top: 0; }

  .form-card .btn {
    width: 100%;
    min-height: 48px;
  }

  .contact-info {
    min-width: 0;
    gap: 24px;
  }

  .contact-info .ci { min-width: 0; }
  .contact-info .ci > div:last-child { min-width: 0; }
  .contact-info .ci p {
    overflow-wrap: anywhere;
    word-break: break-word;
  }

  .dash-panel,
  .mod-card,
  .sol-card,
  .value-card,
  .integ-card,
  .tier {
    min-width: 0;
    padding: 20px;
  }

  .bar-chart { gap: 6px; }
  .app-chip { min-width: 0; overflow-wrap: anywhere; }

  .footer-brand,
  .footer-col { min-width: 0; }

  .footer a,
  .footer p { overflow-wrap: anywhere; }
}

@media (max-width: 430px) {
  .page-hero {
    padding-top: calc(var(--nav-h) + 28px);
    padding-bottom: 28px;
  }

  .page-hero h1 { font-size: clamp(1.9rem, 10vw, 2.35rem); }

  .form-card { padding: 20px 15px; }

  .contact-info .ci .ic {
    width: 38px;
    height: 38px;
  }

  .dash-panel,
  .mod-card,
  .sol-card,
  .value-card,
  .integ-card,
  .tier { padding: 18px; }
}
