:root {
  /* Tokens from the application theme (App.xaml): AppAccentBrush, AppStatusBrush, AppInkBrush, AppPageBrush, AppStrokeBrush, AppSelectBrush */
  --brand-accent: #2563eb;
  --brand-accent-dark: #1d4fc4;
  --brand-accent-soft: rgba(37, 99, 235, 0.12);
  --brand-select: #e8f0fe;
  --grey-900: #2d3358;
  --grey-850: #202936;
  --grey-800: #2c3444;
  --grey-700: #3f4858;
  --grey-500: #6b7280;
  --grey-300: #c9d0db;
  --grey-200: #d8dee7;
  --grey-100: #f3f5f7;
  --white: #ffffff;
  --text: #202936;
  --text-muted: #5a6478;
  --max: 1180px;
  --header-h: 76px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --font: "Raleway", "Century Gothic", sans-serif;
  --font-ui: "Rajdhani", "Raleway", sans-serif;
  --mono: ui-monospace, "Cascadia Code", Consolas, monospace;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 24px); }
section[id], .wide-shot[id] { scroll-margin-top: calc(var(--header-h) + 24px); }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background:
    radial-gradient(1200px 500px at 10% -10%, rgba(37, 99, 235, 0.07), transparent 55%),
    linear-gradient(180deg, #f7f8fa 0%, #eef1f4 40%, #f7f8fa 100%);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.page-body {
  background:
    radial-gradient(900px 420px at 8% -5%, rgba(37, 99, 235, 0.07), transparent 55%),
    linear-gradient(180deg, #f7f8fa 0%, #ffffff 55%, #f7f8fa 100%);
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

code {
  font-family: var(--mono);
  font-size: 0.92em;
  background: var(--brand-accent-soft);
  color: var(--grey-800);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

kbd {
  font-family: var(--font);
  font-size: 0.85em;
  border: 1px solid var(--grey-300);
  border-bottom-width: 2px;
  background: var(--white);
  padding: 0.05em 0.4em;
  border-radius: 3px;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--brand-accent); color: var(--white);
  padding: 0.6rem 1rem; z-index: 1000;
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }

/* Header — sticky bar */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45, 50, 56, 0.08);
}
.header-inner {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
  min-height: var(--header-h);
  display: flex; align-items: center; gap: 1.5rem;
}
.brand { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--grey-850); }
.brand img { width: 44px; height: 44px; border-radius: 10px; }
.brand span { font-weight: 800; font-size: 1.35rem; letter-spacing: -0.03em; }
.primary-nav { display: none; gap: 1.55rem; margin-left: 1.25rem; font-weight: 600; font-size: 0.95rem; }
.primary-nav a { color: var(--grey-700); position: relative; }
.primary-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -0.35rem;
  width: 100%; height: 2px; background: var(--brand-accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.28s var(--ease);
}
.primary-nav a:hover::after, .primary-nav a:focus-visible::after, .primary-nav a.is-current::after { transform: scaleX(1); }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 0.65rem; flex-shrink: 0; }
.header-cta { display: none !important; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.4rem;
  font-family: var(--font-ui); font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase; font-size: 0.92rem; border-radius: 2px;
  padding: 0.65rem 1.1rem; border: 2px solid transparent;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease);
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--brand-accent); color: var(--white); box-shadow: 0 8px 20px rgba(37, 99, 235, 0.28); }
.btn-primary:hover { background: var(--brand-accent-dark); box-shadow: 0 10px 24px rgba(29, 79, 196, 0.34); }
.btn-secondary { background: transparent; border-color: rgba(255, 255, 255, 0.75); color: var(--white); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }
.btn-ghost { background: transparent; color: var(--grey-700); border-color: transparent; }
.btn-ghost:hover { color: var(--brand-accent-dark); }
.btn-lg { padding: 0.9rem 1.45rem; font-size: 1rem; }

.nav-toggle {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 42px; height: 42px; border: 1px solid var(--grey-300);
  background: var(--white); border-radius: 2px; padding: 0 10px; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; background: var(--grey-800); transition: transform 0.25s var(--ease), opacity 0.25s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-nav { display: grid; gap: 0.25rem; padding: 0.5rem 1.25rem 1.25rem; border-top: 1px solid rgba(45, 50, 56, 0.08); background: var(--white); }
.mobile-nav[hidden] { display: none; }
.mobile-nav a { padding: 0.75rem 0.35rem; font-weight: 600; border-bottom: 1px solid var(--grey-100); }

/* Hero — full-bleed, brand-first */
.hero {
  position: relative; min-height: min(92vh, 820px);
  display: grid; align-items: end; color: var(--white); overflow: hidden;
  background: #1b2140;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 82% 62%;
  transform: scale(1.04);
  animation: hero-drift 18s var(--ease) infinite alternate;
}
.hero-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(24, 29, 52, 0.94) 0%, rgba(24, 29, 52, 0.8) 44%, rgba(24, 29, 52, 0.3) 100%),
    linear-gradient(0deg, rgba(24, 29, 52, 0.6) 0%, transparent 45%);
}
.hero-content {
  position: relative; z-index: 1;
  padding: 7rem 0 5.5rem; max-width: 720px;
  margin-left: max(calc((100% - var(--max)) / 2), 1.25rem);
  margin-right: 1.25rem;
  animation: rise-in 0.9s var(--ease) both;
}
.hero-brand, .eyebrow {
  margin: 0 0 0.9rem; font-family: var(--font-ui); font-size: 0.95rem;
  font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brand-accent); line-height: 1.2;
}
.hero h1 { margin: 0 0 1.15rem; font-size: clamp(2rem, 3.4vw, 3rem); font-weight: 700; line-height: 1.16; max-width: 22ch; }
.hero h1 em { font-style: normal; color: var(--brand-accent); }
.hero-lede { margin: 0 0 1.85rem; font-size: 1.1rem; line-height: 1.65; color: var(--grey-300); max-width: 40ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* Value band */
.value-band {
  padding: 4.75rem 0; text-align: left;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(238, 241, 244, 0.95)),
    repeating-linear-gradient(-60deg, transparent, transparent 18px, rgba(37, 99, 235, 0.04) 18px, rgba(37, 99, 235, 0.04) 19px);
}
.value-band .container { max-width: var(--max); }
.value-band h2 { margin: 0 0 1rem; font-size: clamp(1.7rem, 3vw, 2.3rem); line-height: 1.2; max-width: 28ch; }
.value-band p { margin: 0; color: var(--text-muted); font-size: 1.08rem; max-width: 62ch; line-height: 1.65; }
.value-points {
  list-style: none; margin: 1.75rem 0 0; padding: 0;
  display: grid; gap: 0.75rem; max-width: 920px; text-align: left;
}
.value-points li {
  margin: 0; padding: 0.85rem 1.1rem;
  background: rgba(255, 255, 255, 0.85);
  border-left: 3px solid var(--brand-accent);
  box-shadow: 0 8px 22px rgba(24, 28, 32, 0.05);
  color: var(--text-muted); font-size: 0.98rem;
}
.value-points strong { color: var(--text); font-weight: 700; }

/* Alternating solution rows */
.solutions { padding: 1rem 0 2rem; }
.solution-row {
  width: min(var(--max), calc(100% - 2.5rem));
  margin: 0 auto 1.25rem;
  display: grid; gap: 1.75rem; align-items: center; padding: 2.5rem 0;
}
.solution-copy .eyebrow { margin-bottom: 0.55rem; letter-spacing: 0.12em; font-size: 0.92rem; }
.solution-copy h3 { margin: 0 0 0.85rem; font-size: clamp(1.55rem, 2.6vw, 2.05rem); line-height: 1.2; }
.solution-copy p { margin: 0 0 1.1rem; color: var(--text-muted); max-width: 46ch; }
.text-link {
  font-family: var(--font-ui); font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; color: var(--brand-accent-dark);
  border-bottom: 2px solid var(--brand-accent); padding-bottom: 0.1rem;
}
.text-link:hover { color: var(--grey-900); }

.solution-visual {
  margin: 0; overflow: hidden; border-radius: 2px;
  box-shadow: 0 18px 40px rgba(20, 24, 28, 0.14);
  background: var(--grey-900);
}
.solution-visual.dialog {
  background: linear-gradient(135deg, #e6eaef, #f3f5f8);
  display: grid; place-items: center; padding: 1.5rem; min-height: 300px;
}
.solution-visual img { width: 100%; height: auto; object-fit: contain; transition: transform 0.7s var(--ease); }
.solution-visual.dialog img { width: auto; max-width: 100%; max-height: 440px; box-shadow: 0 10px 28px rgba(20, 24, 28, 0.18); }
.solution-row:hover .solution-visual img { transform: scale(1.03); }
.solution-row:hover .solution-visual.dialog img { transform: none; }

.lightbox-trigger {
  display: block; width: 100%; margin: 0; padding: 0; border: 0;
  background: transparent; cursor: zoom-in; text-align: left;
}
.lightbox-trigger:focus-visible { outline: 3px solid var(--brand-accent); outline-offset: 2px; }

.wide-shot { width: min(var(--max), calc(100% - 2.5rem)); margin: 0 auto 3rem; }
.wide-shot .solution-visual { margin: 0; }
.wide-shot .caption { color: var(--text-muted); font-size: 0.92rem; margin: 0.75rem 0 0; }

/* Lightbox modal */
.lightbox {
  width: min(1120px, calc(100vw - 2rem)); max-width: calc(100vw - 2rem); max-height: calc(100vh - 2rem);
  margin: auto; padding: 0; border: 0; border-radius: 6px; background: transparent; overflow: visible;
}
.lightbox::backdrop { background: rgba(12, 16, 20, 0.82); backdrop-filter: blur(4px); }
.lightbox[open] { display: grid; place-items: center; animation: lightbox-in 0.22s var(--ease); }
.lightbox-image {
  display: block; width: auto; max-width: min(1120px, calc(100vw - 2rem)); max-height: calc(100vh - 2rem); height: auto;
  border-radius: 4px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); background: var(--white);
}
.lightbox-close {
  position: fixed; top: 1rem; right: 1rem; z-index: 2; width: 44px; height: 44px; border: 0; border-radius: 50%;
  background: rgba(255, 255, 255, 0.95); color: var(--grey-900); font-size: 1.75rem; line-height: 1; cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
@keyframes lightbox-in { from { opacity: 0; transform: scale(0.97); } to { opacity: 1; transform: none; } }

/* Compare */
.hero code, .compare code, .trust code, .site-footer code { color: var(--white); background: rgba(255, 255, 255, 0.18); }
.compare { padding: 5rem 0; background: var(--grey-900); color: var(--white); }
.compare .section-head p { color: var(--grey-300); }
.section-head { text-align: left; margin-bottom: 2.5rem; max-width: 62ch; }
.section-head h2 { margin: 0 0 0.85rem; font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-head p { margin: 0; max-width: 58ch; color: var(--text-muted); line-height: 1.65; }
.compare-grid { display: grid; gap: 1rem; max-width: 920px; margin: 0 auto; }
.compare-col { padding: 1.5rem 1.4rem; border: 1px solid rgba(255, 255, 255, 0.08); background: rgba(255, 255, 255, 0.03); }
.compare-col.highlight { border-color: rgba(37, 99, 235, 0.55); background: rgba(37, 99, 235, 0.1); box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.15); }
.compare-col h3 { margin: 0 0 0.85rem; font-size: 1.15rem; }
.compare-col.muted h3 { color: var(--grey-300); }
.compare-col.highlight h3 { color: var(--brand-accent); }
.compare-col ul { margin: 0; padding-left: 1.1rem; color: var(--grey-300); }
.compare-col li + li { margin-top: 0.45rem; }

/* Capabilities */
.capabilities { padding: 5rem 0; }
.stage-list { list-style: none; margin: 0 0 2.5rem; padding: 0; display: grid; gap: 1rem; }
.stage-list li {
  display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.25rem 1.35rem; background: rgba(255, 255, 255, 0.72);
  border-left: 3px solid var(--brand-accent); box-shadow: 0 8px 24px rgba(24, 28, 32, 0.05);
}
.stage-num { font-family: var(--font-ui); font-weight: 700; font-size: 1.4rem; color: var(--brand-accent); letter-spacing: 0.04em; }
.stage-list h3 { margin: 0 0 0.35rem; font-size: 1.15rem; }
.stage-list p { margin: 0; color: var(--text-muted); }
.capability-strip { display: grid; gap: 1rem; }
.capability-strip article { padding: 1.35rem 1.25rem; background: var(--white); border-top: 3px solid var(--brand-accent); box-shadow: 0 10px 28px rgba(24, 28, 32, 0.06); }
.capability-strip h3 { margin: 0 0 0.4rem; font-size: 1.05rem; }
.capability-strip p { margin: 0; color: var(--text-muted); font-size: 0.98rem; }

/* Trust / controllers */
.trust { padding: 4.75rem 0 5.5rem; background: linear-gradient(135deg, #2d3358 0%, #202936 50%, #263457 100%); color: var(--white); }
.trust .section-head p { color: rgba(232, 240, 238, 0.88); font-size: 1.12rem; line-height: 1.6; max-width: 62ch; }
.trust h2 { color: var(--white); }
.platform-grid { display: grid; gap: 1rem; margin: 0 0 1.75rem; }
.platform-card {
  display: grid; gap: 0.55rem; padding: 1.55rem 1.4rem;
  border: 1px solid rgba(255, 255, 255, 0.08); background: #f3f5f7; color: var(--text);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.22);
}
.platform-card .eyebrow { margin: 0; letter-spacing: 0.1em; color: var(--brand-accent-dark); }
.platform-card h3 { margin: 0; font-family: var(--mono); font-size: 1.2rem; font-weight: 700; letter-spacing: -0.01em; }
.platform-card p { margin: 0; color: var(--text-muted); font-size: 1.02rem; line-height: 1.55; }
.trust-stats { display: grid; gap: 1rem; text-align: center; }
.trust-stats > div { padding: 1.25rem 1rem; border: 1px solid rgba(255, 255, 255, 0.08); background: #f3f5f7; color: var(--text); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.2); }
.stat { display: block; font-family: var(--font-ui); font-size: 1.9rem; font-weight: 700; color: var(--brand-accent-dark); letter-spacing: 0.03em; }
.stat-label { color: var(--text-muted); font-size: 1rem; font-weight: 500; }

/* Get started */

/* Pricing */
.pricing { padding: 5rem 0; background: var(--white); border-top: 1px solid rgba(16, 32, 51, 0.06); }
.pricing-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; align-items: stretch; margin-top: 0.5rem; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  padding: 1.6rem 1.45rem 1.5rem;
  background: var(--grey-100);
  border: 1px solid rgba(16, 32, 51, 0.08);
  border-radius: 4px;
}
.price-card-featured {
  background: linear-gradient(180deg, #f3f7ff 0%, #eef3fb 100%);
  border-color: rgba(37, 99, 235, 0.35);
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
}
.price-badge {
  position: absolute; top: 0.85rem; right: 0.85rem; margin: 0; padding: 0.2rem 0.55rem;
  font-family: var(--font-ui); font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--white); background: var(--brand-accent); border-radius: 2px;
}
.price-tier {
  margin: 0 0 0.65rem; font-family: var(--font-ui); font-weight: 700; font-size: 0.95rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--brand-accent-dark);
}
.price-amount {
  margin: 0 0 0.35rem; font-size: clamp(1.85rem, 3vw, 2.35rem);
  font-weight: 800; line-height: 1.1; color: var(--text);
}
.price-cadence { margin: 0 0 1.15rem; color: var(--text-muted); font-size: 0.95rem; }
.price-includes { list-style: none; margin: 0 0 1.4rem; padding: 0; flex: 1; }
.price-includes li {
  position: relative; margin: 0; padding: 0.4rem 0 0.4rem 1.15rem;
  color: var(--text-muted); font-size: 0.95rem; line-height: 1.45;
  border-top: 1px solid rgba(16, 32, 51, 0.06);
}
.price-includes li:first-child { border-top: 0; }
.price-includes li::before {
  content: ""; position: absolute; left: 0; top: 0.85rem;
  width: 0.45rem; height: 0.45rem; border-radius: 50%; background: var(--brand-accent);
}
.price-card .btn { align-self: stretch; justify-content: center; }
.pricing-note {
  margin-top: 1.25rem; padding: 1.35rem 1.4rem;
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  background: var(--grey-850); color: var(--grey-300); border-radius: 4px;
}
.pricing-note h3 { margin: 0 0 0.4rem; color: var(--white); font-size: 1.15rem; }
.pricing-note p { margin: 0; max-width: 52ch; line-height: 1.55; }
.pricing-disclaimer {
  margin: 1.25rem 0 0; max-width: 72ch;
  font-size: 0.88rem; color: var(--text-muted); line-height: 1.55;
}

.get-started { padding: 5rem 0; }
.start-panels { display: grid; gap: 1rem; }
.start-panel { background: var(--white); padding: 1.35rem; box-shadow: 0 12px 30px rgba(24, 28, 32, 0.07); border-top: 3px solid var(--brand-accent); }
.start-panel h3 { margin: 0 0 0.85rem; font-size: 1.1rem; }
.start-panel p { margin: 0; color: var(--text-muted); }
.start-panel .solution-visual { margin: 0.9rem 0 0; box-shadow: 0 8px 20px rgba(20, 24, 28, 0.12); }
.start-cta { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.start-cta .btn-ghost { border-color: rgba(37, 99, 235, 0.35); color: var(--brand-accent-dark); }
.start-cta .btn-ghost:hover { border-color: var(--brand-accent); background: var(--brand-accent-soft); }

/* Help / resources */
.help { padding: 4.5rem 0 5rem; background: var(--grey-100); }
.help h2 { margin: 0 0 2rem; text-align: left; font-size: clamp(1.7rem, 3vw, 2.2rem); }
.help-grid { display: grid; gap: 1rem; }
.help-card {
  display: grid; gap: 0.55rem; padding: 1.4rem 1.25rem; background: var(--white); border: 1px solid transparent;
  transition: border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.help-card:hover { border-color: rgba(37, 99, 235, 0.55); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(24, 28, 32, 0.08); }
.help-card .help-kbd { font-family: var(--font-ui); font-weight: 700; color: var(--brand-accent-dark); letter-spacing: 0.06em; font-size: 0.9rem; text-transform: uppercase; }
.help-card h3 { margin: 0; font-size: 1.05rem; }
.help-card p { margin: 0; color: var(--text-muted); font-size: 0.95rem; }

/* Footer */
.site-footer { background: var(--grey-900); color: var(--grey-300); padding-top: 3.5rem; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 2.5rem; }
.footer-brand .brand { color: var(--white); }
.footer-brand p { margin: 1rem 0 0; max-width: 36ch; font-size: 0.95rem; }
.site-footer h4 { margin: 0 0 0.85rem; color: var(--white); font-size: 0.95rem; letter-spacing: 0.04em; text-transform: uppercase; font-family: var(--font-ui); }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li + li { margin-top: 0.45rem; }
.site-footer a:hover { color: var(--brand-accent); }
.footer-legal {
  margin: 0; padding: 1rem 0 0.35rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem; line-height: 1.5; color: var(--grey-500); max-width: 78ch;
}
.footer-bottom { margin: 0; padding: 0.55rem 0 1.1rem; font-size: 0.85rem; }

/* Reveal motion */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@keyframes hero-drift { from { transform: scale(1.04) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.5%, -1%, 0); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

/* Inner page (manual) */
.page { padding: 2.5rem 0 5rem; }
.page-shell { width: min(var(--max), calc(100% - 2.5rem)); margin-inline: auto; }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 0.35rem 0.55rem; margin: 0 0 1.5rem; padding: 0; list-style: none; font-size: 0.92rem; color: var(--text-muted); }
.breadcrumbs a { color: var(--brand-accent-dark); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumbs [aria-current="page"] { color: var(--text); }
.page-hero { margin-bottom: 2.25rem; padding-bottom: 1.5rem; border-bottom: 1px solid rgba(16, 32, 51, 0.1); }
.page-hero .eyebrow { margin-bottom: 0.65rem; letter-spacing: 0.12em; color: var(--brand-accent-dark); font-size: 0.9rem; }
.page-hero h1 { margin: 0 0 0.85rem; font-size: clamp(1.9rem, 3.2vw, 2.6rem); line-height: 1.18; letter-spacing: -0.02em; }
.page-hero .lede { margin: 0; color: var(--text-muted); font-size: 1.12rem; line-height: 1.65; max-width: 60ch; }

.docs-layout { display: grid; gap: 2rem; }
.docs-toc { font-size: 0.92rem; }
.docs-toc h2 { margin: 0 0 0.6rem; font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.82rem; color: var(--brand-accent-dark); }
.docs-toc a { display: block; color: var(--text-muted); padding: 0.28rem 0; border-left: 2px solid transparent; padding-left: 0.6rem; margin-left: -0.6rem; }
.docs-toc a:hover { color: var(--brand-accent-dark); border-left-color: var(--brand-accent); }

.prose { font-size: 1.05rem; line-height: 1.7; color: var(--text); min-width: 0; }
.prose > * + * { margin-top: 1rem; }
.prose h2 { margin-top: 2.6rem; margin-bottom: 0.75rem; font-size: 1.45rem; line-height: 1.25; padding-top: 0.5rem; border-top: 1px solid rgba(16, 32, 51, 0.08); }
.prose h3 { margin-top: 1.75rem; margin-bottom: 0.5rem; font-size: 1.15rem; }
.prose p { max-width: 72ch; }
.prose ul, .prose ol { padding-left: 1.25rem; }
.prose li + li { margin-top: 0.4rem; }
.prose a { color: var(--brand-accent-dark); text-decoration: underline; text-underline-offset: 0.15em; }
.prose a:hover { color: var(--text); }
.prose figure { margin: 1.25rem 0 0; overflow: hidden; border-radius: 2px; box-shadow: 0 12px 30px rgba(20, 24, 28, 0.1); background: var(--grey-900); }
.prose figure.dialog { background: linear-gradient(135deg, #e6eaef, #f3f5f8); display: grid; place-items: center; padding: 1.25rem; }
.prose figure.dialog img { width: auto; max-width: 100%; box-shadow: 0 10px 28px rgba(20, 24, 28, 0.18); }
.prose figcaption { color: var(--text-muted); font-size: 0.92rem; margin: 0.5rem 0 0; }
.prose figure figcaption { margin: 0; padding: 0.65rem 0.9rem; background: var(--white); border-top: 1px solid var(--grey-100); }
.prose figure.dialog figcaption { width: 100%; background: transparent; border-top: 0; padding: 0.75rem 0 0; text-align: center; }
.prose figure .lightbox-trigger img { width: 100%; }
.prose figure.dialog .lightbox-trigger { width: auto; }
.prose .zone-list { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.prose .zone-list li { display: grid; grid-template-columns: 9.5rem 1fr; gap: 0.75rem; padding: 0.7rem 0.9rem; background: var(--white); border-left: 3px solid var(--brand-accent); box-shadow: 0 6px 18px rgba(24, 28, 32, 0.05); }
.prose .zone-list li + li { margin-top: 0; }
.prose .zone-list b { font-family: var(--font-ui); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.86rem; color: var(--brand-accent-dark); }
.prose .figure-pair { display: grid; gap: 1rem; margin-top: 1.25rem; }
.prose .figure-pair figure { margin: 0; }

/* Drag-and-drop spotlight on the product page */
.spotlight { padding: 4.5rem 0 3rem; }
.spotlight .section-head { margin-bottom: 2rem; }
.spotlight-grid { display: grid; gap: 1.25rem; }
.spotlight-card { display: grid; gap: 0.9rem; background: var(--white); padding: 1rem 1rem 1.25rem; box-shadow: 0 12px 30px rgba(24, 28, 32, 0.07); border-top: 3px solid var(--brand-accent); }
.spotlight-card .solution-visual { margin: 0; box-shadow: 0 8px 20px rgba(20, 24, 28, 0.12); }
.spotlight-card h3 { margin: 0; font-size: 1.05rem; }
.spotlight-card p { margin: 0; color: var(--text-muted); font-size: 0.96rem; }
.spotlight-card .zone { font-family: var(--font-ui); font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; color: var(--brand-accent-dark); }
.prose .callout { margin-top: 1.5rem; padding: 1.15rem 1.25rem; background: rgba(37, 99, 235, 0.07); border-left: 3px solid var(--brand-accent); }
.prose .callout p { margin: 0; }
.prose .callout.warn { background: rgba(196, 130, 20, 0.1); border-left-color: #c48214; }

table.data { width: 100%; border-collapse: collapse; background: var(--white); font-size: 0.95rem; box-shadow: 0 10px 24px rgba(24, 28, 32, 0.05); }
table.data th, table.data td { text-align: left; padding: 0.85rem 0.9rem; border-bottom: 1px solid var(--grey-100); vertical-align: top; }
table.data th { color: var(--text-muted); font-weight: 700; font-family: var(--font-ui); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; }

.page-cta { margin-top: 2.75rem; padding: 1.5rem; background: var(--grey-100); display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; justify-content: space-between; }
.page-cta p { margin: 0; max-width: 44ch; color: var(--text-muted); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-media img, .hero-content, [data-reveal], .solution-visual img, .btn, .help-card { animation: none !important; transition: none !important; transform: none !important; }
  [data-reveal] { opacity: 1; }
}

/* Breakpoints */
@media (min-width: 720px) {
  .compare-grid, .trust-stats, .help-grid, .platform-grid, .capability-strip, .start-panels, .spotlight-grid, .value-points, .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .prose .figure-pair { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 719px) {
  .prose .zone-list li { grid-template-columns: 1fr; gap: 0.25rem; }
}

@media (max-width: 719px) {
  :root { --header-h: 60px; }
  .container, .header-inner, .page-shell { width: min(var(--max), calc(100% - 1.5rem)); }
  .header-inner { gap: 0.75rem; }
  .brand img { width: 36px; height: 36px; }
  .brand span { font-size: 1.15rem; }
  .hero { min-height: min(100svh, 620px); }
  .hero-media img { object-position: 68% center; transform: none; animation: none; }
  .hero-veil {
    background:
      linear-gradient(180deg, rgba(24, 29, 52, 0.55) 0%, rgba(24, 29, 52, 0.8) 42%, rgba(24, 29, 52, 0.94) 100%),
      linear-gradient(90deg, rgba(24, 29, 52, 0.72) 0%, rgba(24, 29, 52, 0.35) 100%);
  }
  .hero-content { width: calc(100% - 1.5rem); max-width: none; margin: 0 auto; padding: calc(var(--header-h) + 1.75rem) 0 1.75rem; }
  .hero h1 { font-size: clamp(1.7rem, 7.2vw, 2.15rem); max-width: none; }
  .hero-lede { font-size: 1rem; max-width: none; }
  .hero-ctas { flex-direction: column; gap: 0.65rem; }
  .hero-ctas .btn { width: 100%; min-height: 48px; }
  .value-band { padding: 2.75rem 0; }
  .solution-row { width: min(var(--max), calc(100% - 1.5rem)); gap: 1.15rem; padding: 1.6rem 0; }
  .solution-copy h3 { font-size: clamp(1.35rem, 5.5vw, 1.65rem); }
  .page { padding: 1.5rem 0 3.5rem; }
  body.nav-open { overflow: hidden; }
}

@media (min-width: 960px) {
  .primary-nav { display: flex; }
  .header-cta { display: inline-flex !important; }
  .nav-toggle, .mobile-nav { display: none !important; }
  .solution-row { grid-template-columns: 1fr 1.05fr; gap: 3rem; padding: 3.25rem 0; }
  .solution-row.reverse .solution-copy { order: 2; }
  .solution-row.reverse .solution-visual { order: 1; }
  .capability-strip { grid-template-columns: repeat(4, 1fr); }
  .trust-stats, .platform-grid, .start-panels, .help-grid, .value-points, .pricing-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
  .docs-layout { grid-template-columns: 220px minmax(0, 1fr); gap: 3rem; }
  .docs-toc { position: sticky; top: calc(var(--header-h) + 1.25rem); align-self: start; max-height: calc(100vh - var(--header-h) - 2rem); overflow: auto; }
}

/* Demo download */
.demo-download {
  display: grid; gap: 1.5rem;
  padding: 1.75rem 1.5rem;
  background: linear-gradient(180deg, #f3f7ff 0%, #eef3fb 100%);
  border: 1px solid rgba(37, 99, 235, 0.35);
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(37, 99, 235, 0.1);
}
.demo-file-name {
  margin: 0 0 0.35rem;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-family: var(--mono);
  font-weight: 700;
  color: var(--text);
  word-break: break-all;
}
.demo-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 0.5rem; }
.demo-download-meta {
  padding: 1.25rem 1.2rem;
  background: rgba(255, 255, 255, 0.75);
  border-left: 3px solid var(--brand-accent);
}
.demo-download-meta h3 { margin: 0 0 0.75rem; font-size: 1.05rem; }
.demo-steps { margin: 0 0 1rem; padding-left: 1.2rem; color: var(--text-muted); }
.demo-steps li + li { margin-top: 0.45rem; }
.demo-note { margin: 0; font-size: 0.95rem; color: var(--text-muted); line-height: 1.55; }
.demo-note a { color: var(--brand-accent-dark); font-weight: 600; text-decoration: underline; }
@media (min-width: 900px) {
  .demo-download { grid-template-columns: 1.4fr 1fr; align-items: start; padding: 2rem 1.75rem; }
}
