/* JBX AI — corporate website design system, V3 "Precision Monochrome".
   Palette (brand): absolute black #000, secondary black #0B0B0B, graphite #171717, metallic grey #777, white.
   Every text colour below is chosen for WCAG AA contrast on its background; #777 itself is used for lines and
   large text only (4.5:1 is not reached on white or on #0B0B0B).
   No inline styles anywhere (CSP: style-src 'self'). Motion: opacity/transform only, disabled under
   prefers-reduced-motion. Content never depends on JavaScript to be visible. */

/* Inter Tight Variable — Copyright 2022 The Inter Project Authors (https://github.com/rsms/inter-tight).
   SIL Open Font License 1.1 (static/fonts/OFL-InterTight.txt). Self-hosted: no third-party request. */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/static/fonts/inter-tight-latin-wght-normal.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --black: #000000;
  --black-2: #0b0b0b;
  --graphite: #171717;
  --graphite-2: #1f1f1f;
  --metal: #777777;
  --white: #ffffff;
  --paper: #f5f5f5;
  --line-light: #e5e5e5;
  --line-strong: #d4d4d4;
  --line-dark: #262626;
  --line-dark-strong: #3a3a3a;
  --ink: #0b0b0b;
  --text: #171717;
  --muted: #525252;          /* on white: 7.8:1 */
  --subtle: #666666;         /* on white: 5.7:1 */
  --on-dark: #ffffff;
  --on-dark-muted: #a3a3a3;  /* on #000: 8.3:1; on #171717: 7.1:1 */
  --on-dark-subtle: #8c8c8c; /* on #0B0B0B: 5.8:1 */
  --success: #17794a;
  --danger: #b42318;
  --radius: 4px;
  --radius-lg: 8px;
  --display: "Inter Tight", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
  --space: 8px;
  --max: 1240px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; display: block; }
picture { display: block; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--black); text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--black); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.08; letter-spacing: -.018em;
  margin: 0 0 calc(var(--space) * 2); font-weight: 650; }
h1 { font-size: clamp(2.4rem, 5.6vw, 4.6rem); letter-spacing: -.028em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 3rem); letter-spacing: -.022em; }
h3, .h3 { font-size: 1.25rem; letter-spacing: -.008em; line-height: 1.25; }
p { margin: 0 0 calc(var(--space) * 2); }
.lead { font-size: clamp(1.06rem, 1.5vw, 1.25rem); line-height: 1.6; color: var(--muted); max-width: 44rem; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font: 600 .74rem/1 var(--display); letter-spacing: .18em;
  text-transform: uppercase; color: var(--subtle); margin-bottom: calc(var(--space) * 3); }
.eyebrow::before { content: ""; width: 24px; height: 1px; background: currentColor; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
code { font-family: var(--mono); font-size: .95em; }

.skip-link { position: absolute; left: 16px; top: -64px; background: var(--white); color: var(--black); padding: 10px 16px;
  border-radius: var(--radius); z-index: 100; font-weight: 600; }
.skip-link:focus { top: 16px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 32px; }
@media (max-width: 640px) { .container { padding: 0 20px; } }
@media (max-width: 360px) { .container { padding: 0 16px; } }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--black); border-bottom: 1px solid var(--graphite);
  color: var(--on-dark-muted); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
/* Eight sections plus the actions need ~1280px: the bar is wider than the content and collapses below 1360px. */
.site-header .container { max-width: 1400px; }
.brand { display: inline-flex; align-items: center; color: var(--white); text-decoration: none; white-space: nowrap;
  flex-shrink: 0; padding: 8px 0; }
.brand:hover { color: var(--white); }
svg.logo { display: block; }
.brand-logo { height: 20px; width: auto; }
.nav-toggle { display: none; background: transparent; border: 1px solid var(--line-dark-strong); border-radius: var(--radius);
  min-height: 40px; padding: 0 14px; font: 600 .9rem var(--display); letter-spacing: .02em; color: var(--white); cursor: pointer; }
.nav-toggle:hover { border-color: var(--metal); }
.site-nav { order: 2; margin-left: auto; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a { position: relative; display: block; padding: 10px 10px; color: var(--on-dark-muted); text-decoration: none;
  font: 500 .92rem/1.2 var(--display); letter-spacing: .005em; white-space: nowrap; }
.site-nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 4px; height: 1px; background: var(--white);
  transform: scaleX(0); transform-origin: left; transition: transform .25s var(--ease); }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--white); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.header-actions { order: 3; display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.site-header :focus-visible, .on-dark :focus-visible, .site-footer :focus-visible { outline-color: var(--white); }
@media (max-width: 1359px) {
  .site-header .container { flex-wrap: wrap; padding-top: 12px; padding-bottom: 12px; gap: 12px; min-height: 64px; }
  .nav-toggle { display: inline-flex; align-items: center; order: 2; margin-left: auto; }
  .header-actions { order: 3; }
  .site-nav { order: 4; width: 100%; margin-left: 0; }
  .site-nav ul { flex-direction: column; gap: 0; padding: 8px 0 16px; border-top: 1px solid var(--graphite); }
  .site-nav a { padding: 14px 0; font-size: 1.05rem; border-bottom: 1px solid var(--graphite); }
  .site-nav a::after { left: 0; right: auto; width: 32px; bottom: -1px; }
}
@media (max-width: 1359px) and (scripting: enabled) {
  .site-nav { display: none; }
  .site-nav.is-open { display: block; }
}
@media (max-width: 1359px) and (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  .site-nav.is-open { animation: menu-in .25s var(--ease) both; }
}
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 560px) { .header-actions .btn-secondary { display: none; } .header-actions .btn { padding: 0 14px; } }
/* Below 420px the bar keeps one row: the hero right below repeats the main call to action. */
@media (max-width: 419px) { .header-actions { display: none; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 24px;
  border-radius: var(--radius); border: 1px solid transparent; font: 600 .98rem/1 var(--display); letter-spacing: .01em;
  text-decoration: none; cursor: pointer; transition: transform .2s var(--ease), background-color .2s ease-out; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-arrow { width: 16px; height: 16px; flex: none; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow { transform: translateX(3px); }
.btn-primary { background: var(--black); color: var(--white); }
.btn-primary:hover { background: var(--graphite); color: var(--white); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn-secondary:hover { color: var(--ink); border-color: var(--ink); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: .88rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn-light, .on-dark .btn-primary, .section-dark .btn-primary, .site-header .btn-primary { background: var(--white); color: var(--black); }
.btn-light:hover, .on-dark .btn-primary:hover, .section-dark .btn-primary:hover, .site-header .btn-primary:hover { background: #e5e5e5; color: var(--black); }
.btn-outline-light, .on-dark .btn-secondary, .section-dark .btn-secondary, .site-header .btn-secondary { background: transparent;
  color: var(--white); border-color: var(--line-dark-strong); }
.btn-outline-light:hover, .on-dark .btn-secondary:hover, .section-dark .btn-secondary:hover, .site-header .btn-secondary:hover {
  color: var(--white); border-color: var(--white); }
.section-dark :focus-visible { outline-color: var(--white); }
.section-dark a:not(.btn) { color: var(--white); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font: 600 .98rem var(--display); text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.text-link:hover .btn-arrow { transform: translateX(3px); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 128px) 0; }
.section-alt { background: var(--paper); }
.section-dark, .on-dark { background: var(--black); color: var(--on-dark-muted); }
.section-dark h2, .section-dark h3, .on-dark h1, .on-dark h2, .on-dark h3 { color: var(--white); }
.section-dark .muted, .section-dark .lead, .on-dark .muted, .on-dark .lead { color: var(--on-dark-muted); }
.section-dark .eyebrow, .on-dark .eyebrow { color: var(--on-dark-subtle); }
.on-dark a:not(.btn) { color: var(--white); }
.section-head { max-width: 780px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head .lead { margin-bottom: 0; }
.section-foot { margin-top: clamp(32px, 5vw, 56px); }

/* ---------- Hero (every page): pure black, no grid, no texture, no gradient ---------- */
.hero, .hero-dark { position: relative; background: var(--black); color: var(--on-dark-muted);
  padding: clamp(72px, 11vw, 144px) 0 clamp(56px, 8vw, 104px); border-bottom: 1px solid var(--graphite); }
.hero h1, .hero-dark h1 { color: var(--white); max-width: 18ch; }
.hero .lead, .hero-dark .lead { color: var(--on-dark-muted); }
.hero .eyebrow, .hero-dark .eyebrow { color: var(--on-dark-subtle); }
.hero :focus-visible { outline-color: var(--white); }
.hero .btn-primary { background: var(--white); color: var(--black); }
.hero .btn-primary:hover { background: #e5e5e5; color: var(--black); }
.hero .btn-secondary { background: transparent; color: var(--white); border-color: var(--line-dark-strong); }
.hero .btn-secondary:hover { color: var(--white); border-color: var(--white); }
.hero a:not(.btn) { color: var(--white); }
.hero .lead { margin-bottom: 36px; }
.hero-note { margin: 28px 0 0; font-size: .875rem; color: var(--on-dark-subtle); }
.hero-dark .hero-note { color: var(--on-dark-subtle); }

/* Home hero: editorial headline, then an asymmetric row, then the real product. */
.hero-home { padding-bottom: 0; border-bottom: 0; overflow: hidden; }
.hero-home h1 { font-size: clamp(2.6rem, 7.4vw, 6.4rem); max-width: 13ch; line-height: 1.02; letter-spacing: -.034em;
  margin-bottom: clamp(32px, 5vw, 56px); }
.hero-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 80px); align-items: end; }
.hero-row .lead { margin-bottom: 32px; }
.hero-facts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.hero-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line-dark);
  font-size: .9rem; color: var(--on-dark-muted); }
.hero-facts strong { font: 600 .9rem var(--display); color: var(--white); letter-spacing: .01em; }
.hero-stage { margin-top: clamp(48px, 7vw, 96px); }
@media (max-width: 900px) { .hero-row { grid-template-columns: 1fr; align-items: start; } .hero-facts { order: 2; } }

/* Product frames: real screenshots, fictitious data. */
.shot { margin: 0; border: 1px solid var(--line-dark); border-radius: var(--radius-lg); background: var(--black-2); overflow: hidden; }
.shot-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-bottom: 1px solid var(--line-dark); }
.shot-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-dark-strong); }
.shot-bar em { margin-left: auto; font: 500 .72rem/1 var(--display); font-style: normal; letter-spacing: .14em;
  text-transform: uppercase; color: var(--on-dark-subtle); }
.shot-media { overflow: hidden; background: var(--white); }
.shot-media img { width: 100%; transition: transform .6s var(--ease); }
.shot:hover .shot-media img { transform: scale(1.02); }
.shot figcaption { padding: 14px 16px; font-size: .84rem; line-height: 1.5; color: var(--on-dark-muted); border-top: 1px solid var(--line-dark); }
.shot figcaption strong { color: var(--white); font: 600 .9rem var(--display); display: block; margin-bottom: 2px; }
.shot-light { border-color: var(--line-light); background: var(--white); }
.shot-light .shot-bar { border-color: var(--line-light); }
.shot-light .shot-bar span { background: var(--line-strong); }
.shot-light .shot-bar em, .shot-light figcaption { color: var(--muted); }
.shot-light figcaption { border-color: var(--line-light); }
.shot-light figcaption strong { color: var(--ink); }
.hero-stage .shot { border-bottom: 0; border-radius: var(--radius-lg) var(--radius-lg) 0 0; }
/* Former name of the frame, kept for the onboarding pages. */
.product-frame { margin: 0; border: 1px solid var(--line-light); border-radius: var(--radius-lg); overflow: hidden; background: var(--white); }
.product-frame-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line-light); }
.product-frame-bar span { width: 9px; height: 9px; border-radius: 50%; background: var(--line-strong); }
.product-caption { padding: 12px 16px; font-size: .84rem; color: var(--muted); border-top: 1px solid var(--line-light); }

/* ---------- Metrics ---------- */
.metrics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line-light); margin-bottom: clamp(64px, 9vw, 120px); }
.metric { padding: 28px 24px 28px 0; }
.metric + .metric { padding-left: 24px; border-left: 1px solid var(--line-light); }
.metric strong { display: block; font: 600 clamp(2.2rem, 4vw, 3.4rem)/1 var(--display); letter-spacing: -.04em; color: var(--ink);
  margin-bottom: 12px; font-variant-numeric: tabular-nums; }
.metric span { font-size: .92rem; }
@media (max-width: 800px) {
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(3) { padding-left: 0; border-left: 0; }
  .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line-light); }
}

/* ---------- Grids and cards ---------- */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1024px) { .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  padding: 32px; transition: transform .3s var(--ease), border-color .2s ease-out; }
.card:hover { transform: translateY(-3px); border-color: var(--ink); }
.card h2, .card h3 { margin-bottom: 10px; }
.card h2 { font-size: 1.25rem; letter-spacing: -.015em; line-height: 1.25; }
.card p:last-child, .card ul:last-child { margin-bottom: 0; }
.card-index { display: block; font: 500 .76rem var(--mono); letter-spacing: .06em; color: var(--subtle); margin-bottom: 28px; }
.section-alt .card { background: var(--white); }
.section-dark .card, .on-dark .card { background: var(--black-2); border-color: var(--line-dark); }
.section-dark .card:hover, .on-dark .card:hover { border-color: var(--metal); }
.section-dark .card-index, .on-dark .card-index { color: var(--on-dark-subtle); }
.section-dark .card h2, .on-dark .card h2 { color: var(--white); }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 6px;
  border-left: 1.5px solid var(--ink); border-bottom: 1.5px solid var(--ink); transform: rotate(-45deg); }
.section-dark .checklist li::before, .on-dark .checklist li::before { border-color: var(--white); }
.checklist-lined { border-top: 1px solid var(--ink); }
.checklist-lined li { margin: 0; padding: 20px 0 20px 32px; border-bottom: 1px solid var(--line-light); }
.checklist-lined li::before { left: 4px; top: calc(20px + .62em); }
.card > .icon { display: block; margin-bottom: 28px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 4px 10px; border-radius: 999px;
  background: var(--paper); color: var(--text); }

/* Icon rows: the platform capabilities as an editorial list. */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split-sticky { position: sticky; top: 112px; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } .split-sticky { position: static; } }
.feature-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.feature { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; gap: 20px; padding: 28px 0; border-bottom: 1px solid var(--line-light);
  align-items: start; }
.feature h3 { margin: 0 0 6px; }
.feature p { margin: 0; color: var(--muted); }
.feature-num { font: 500 .76rem var(--mono); color: var(--subtle); padding-top: 6px; }
.icon { width: 28px; height: 28px; color: var(--ink); flex: none; }
.on-dark .icon, .section-dark .icon { color: var(--white); }
.feature .icon { transition: transform .3s var(--ease); }
.feature:hover .icon { transform: translateY(-2px); }
@media (max-width: 520px) { .feature { grid-template-columns: 36px minmax(0, 1fr); } .feature-num { display: none; } }

/* Product gallery (home): real screens, fictitious data. */
.gallery { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.gallery .shot:nth-child(1) { grid-column: span 8; }
.gallery .shot:nth-child(2) { grid-column: span 4; }
.gallery .shot:nth-child(n+3) { grid-column: span 4; }
.gallery .shot-tall .shot-media { background: var(--black-2); }
@media (max-width: 1024px) {
  .gallery .shot:nth-child(1) { grid-column: span 12; }
  .gallery .shot:nth-child(n+2) { grid-column: span 6; }
}
@media (max-width: 640px) { .gallery .shot:nth-child(n) { grid-column: span 12; } }
.gallery-note { margin-top: 24px; font-size: .84rem; color: var(--on-dark-subtle); }

/* Agents strip (home). */
.agent-strip { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--ink); }
@media (min-width: 900px) { .agent-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.agent-strip li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 22px 0;
  border-bottom: 1px solid var(--line-light); }
@media (min-width: 900px) { .agent-strip li:nth-child(odd) { padding-right: 32px; } .agent-strip li:nth-child(even) { padding-left: 32px; border-left: 1px solid var(--line-light); } }
.agent-strip strong { font: 600 1.08rem/1.3 var(--display); color: var(--ink); }

/* Numbered editorial columns (solutions, benefits). */
.columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(24px, 4vw, 56px); }
.column { padding-top: 24px; border-top: 1px solid var(--ink); }
.column h3 { margin-top: 20px; }
.column p { color: var(--muted); margin-bottom: 0; }
@media (max-width: 900px) { .columns { grid-template-columns: 1fr; } }

/* ---------- Pricing ---------- */
.pricing { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
@media (max-width: 960px) { .pricing { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }
.plan { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius-lg);
  padding: 36px 32px; transition: transform .3s var(--ease), border-color .2s ease-out; }
.plan:hover { transform: translateY(-3px); border-color: var(--ink); }
.plan h2, .plan h3 { font-size: 1.35rem; margin-bottom: 6px; }
.plan-featured { background: var(--black); border-color: var(--black); color: var(--on-dark-muted); }
.plan-featured:hover { border-color: var(--metal); }
.plan-featured h2, .plan-featured h3, .plan-featured .plan-price { color: var(--white); }
.plan-featured .plan-segment, .plan-featured .plan-price small { color: var(--on-dark-muted); }
.plan-featured .checklist li::before { border-color: var(--white); }
.plan-featured :focus-visible { outline-color: var(--white); }
.plan-featured .btn-primary { background: var(--white); color: var(--black); }
.plan-featured .btn-primary:hover { background: #e5e5e5; color: var(--black); }
.plan-badge { align-self: flex-start; margin-bottom: 20px; font: 600 .7rem/1 var(--display); letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 10px; border: 1px solid var(--line-dark-strong); border-radius: 999px; color: var(--white); }
.plan-price { font: 600 clamp(2.4rem, 4vw, 3rem)/1 var(--display); color: var(--ink); letter-spacing: -.04em; margin: 20px 0 0;
  font-variant-numeric: tabular-nums; }
.plan-price small { font: 500 .95rem var(--font); color: var(--muted); letter-spacing: 0; }
.plan-segment { color: var(--muted); min-height: 3.2em; margin-bottom: 0; }
.plan ul { flex: 1; margin: 28px 0; padding-top: 24px; border-top: 1px solid var(--line-light); }
.plan-featured ul { border-color: var(--line-dark); }
.plan-custom { margin-top: 24px; display: grid; grid-template-columns: 1.2fr .8fr; gap: 24px; align-items: center;
  border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: 36px 32px; background: var(--paper); }
.plan-custom h2 { font-size: 1.6rem; }
@media (max-width: 800px) { .plan-custom { grid-template-columns: 1fr; } }
.table-wrap { overflow-x: auto; border: 1px solid var(--line-light); border-radius: var(--radius-lg); background: var(--white); }
.table-wrap:focus-visible { outline-offset: 2px; }
table.compare { width: 100%; border-collapse: collapse; min-width: 640px; font-size: .95rem; }
table.compare th, table.compare td { padding: 16px 20px; border-bottom: 1px solid var(--line-light); text-align: left; vertical-align: top; }
table.compare thead th { background: var(--black); color: var(--white); font: 600 .9rem var(--display); letter-spacing: .01em; }
table.compare tbody th { font-weight: 500; color: var(--text); }
table.compare tr:last-child td, table.compare tr:last-child th { border-bottom: 0; }
.yes { color: var(--ink); font-weight: 650; }
.no { color: var(--subtle); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line-light); padding: 22px 0; }
.faq summary { cursor: pointer; font: 600 1.05rem/1.4 var(--display); color: var(--ink); list-style: none; display: flex;
  justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; flex: none; width: 12px; height: 12px; margin-top: 6px; border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink); transform: rotate(45deg); transition: transform .25s var(--ease); }
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details p { margin: 14px 0 0; color: var(--muted); max-width: 60ch; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font: 600 .9rem var(--display); margin-bottom: 8px; color: var(--ink); }
.field .hint { font-size: .82rem; color: var(--muted); margin-top: 6px; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1rem var(--font);
  color: var(--ink); background: var(--white); border: 1px solid #8f8f8f; border-radius: var(--radius); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 2px solid var(--ink); outline-offset: 1px; border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--danger); }
.field-error { color: var(--danger); font-size: .85rem; margin-top: 6px; }
.field-error:empty { display: none; }
.check, .field label.check { display: flex; gap: 12px; align-items: flex-start; font: 400 .95rem/1.5 var(--font); color: var(--text); }
.check input { width: 20px; height: 20px; margin-top: 3px; flex: none; accent-color: var(--black); }
.form-status { border-radius: var(--radius); padding: 14px 16px; font-size: .95rem; }
.form-status:empty { display: none; }
.form-status.is-success { background: #eef7f1; color: var(--success); border: 1px solid #bfe3cf; }
.form-status.is-error { background: #fdeeec; color: var(--danger); border: 1px solid #f5c2bd; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.panel { background: var(--white); border: 1px solid var(--line-light); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 48px); }
.contact-mail { font: 600 clamp(1.3rem, 2.6vw, 1.9rem)/1.2 var(--display); letter-spacing: -.02em; word-break: break-word; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { padding: 0; margin-bottom: 4px; }
legend h2 { font-size: 1.25rem; margin: 0; }
.panel fieldset + fieldset { border-top: 1px solid var(--line-light); padding-top: 24px; }

/* ---------- Legal and prose ---------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.6rem; margin-top: 48px; }
.prose h3 { margin-top: 32px; }
.prose li { margin-bottom: 8px; }
.prose ol, .prose ul { padding-left: 1.25em; }
.notice { border: 1px solid var(--ink); border-left-width: 4px; background: var(--paper); color: var(--ink); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 32px; }
.legal-head { padding-top: clamp(48px, 7vw, 88px); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--black); color: var(--on-dark-muted); border-top: 1px solid var(--graphite); }
.cta-band h2 { color: var(--white); font-size: clamp(2.2rem, 5.2vw, 4.2rem); letter-spacing: -.03em; max-width: 16ch; }
.cta-band .lead { color: var(--on-dark-muted); }
.cta-band .eyebrow { color: var(--on-dark-subtle); }
.cta-band :focus-visible { outline-color: var(--white); }
.cta-band .btn-primary { background: var(--white); color: var(--black); }
.cta-band .btn-primary:hover { background: #e5e5e5; color: var(--black); }
.cta-band .btn-secondary { color: var(--white); border-color: var(--line-dark-strong); }
.cta-band .btn-secondary:hover { color: var(--white); border-color: var(--white); }
.cta-band a:not(.btn) { color: var(--white); }
.cta-inner { max-width: 860px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--black); color: var(--on-dark-muted); padding: clamp(64px, 8vw, 96px) 0 32px; font-size: .95rem;
  border-top: 1px solid var(--graphite); }
.site-footer a { color: var(--on-dark-muted); text-decoration: none; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 40px; }
.footer-grid h2 { font: 600 .74rem/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; }
.footer-grid li { margin-bottom: 12px; }
.footer-logo { color: var(--white); margin-bottom: 20px; }
.footer-logo .brand-logo { height: 24px; }
.footer-claim { font: 600 1.15rem/1.35 var(--display); color: var(--white); letter-spacing: -.01em; max-width: 22ch; }
.footer-bottom { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap;
  justify-content: space-between; gap: 12px; font-size: .84rem; color: var(--on-dark-subtle); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Sandbox (local payment simulator only) */
.sandbox-banner { background: #fff8e6; border-bottom: 1px solid #f1d38a; color: #6b4e00; text-align: center; padding: 10px 16px; font-weight: 600; }

/* ---------- JBX AI Business Agents page ---------- */
.agents-hero { max-width: 900px; }
.agents-hero-logo { width: min(460px, 78vw); height: auto; color: var(--white); margin-bottom: clamp(36px, 6vw, 56px); }
.agents-grid { align-items: stretch; }
.agent-card { display: flex; flex-direction: column; }
.agent-card.is-available { border-color: var(--ink); }
.agent-card-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.agent-card-top .card-index { margin-bottom: 0; }
.agent-headline { font: 600 1rem var(--display); color: var(--text); margin-bottom: 8px; }
.agent-card .checklist { margin: 12px 0 20px; }
.agent-rule { font-size: .9rem; color: var(--text); margin-bottom: 8px; }
.agent-status { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-light); color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 8px; font: 600 .7rem/1 var(--display); letter-spacing: .12em;
  text-transform: uppercase; padding: 7px 10px; border-radius: 999px; border: 1px solid var(--line-strong); color: var(--text);
  background: var(--white); white-space: nowrap; }
.badge-live { background: var(--black); border-color: var(--black); color: var(--white); }
.badge-live::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--white); }
.agents-never { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line-dark); max-width: 760px; }
.never-list { list-style: none; margin: 0; padding: 0; }
.never-list li { position: relative; padding-left: 28px; margin-bottom: 12px; }
.never-list li::before { content: ""; position: absolute; left: 2px; top: .8em; width: 12px; height: 1.5px; background: var(--on-dark-muted); }

/* ---------- Motion ---------- */
/* Hero entrance: pure CSS (no JavaScript needed). The headline only moves (never hidden), so it paints at once. */
@media (prefers-reduced-motion: no-preference) {
  .rise { animation: rise .8s var(--ease) both; }
  .rise-text { animation: rise-text .9s var(--ease) both; }
  .rise-1 { animation-delay: .08s; } .rise-2 { animation-delay: .16s; } .rise-3 { animation-delay: .24s; } .rise-4 { animation-delay: .32s; }
  .rise-stage { animation: rise-stage 1s var(--ease) .2s both; }
}
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rise-text { from { transform: translateY(18px); } to { transform: none; } }
@keyframes rise-stage { from { transform: translateY(40px); } to { transform: none; } }
/* Reveal on scroll: hidden state only when scripting runs and motion is allowed. */
@media (scripting: enabled) and (prefers-reduced-motion: no-preference) {
  [data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  [data-reveal].is-visible { opacity: 1; transform: none; }
  .stagger > [data-reveal]:nth-child(2) { transition-delay: .06s; }
  .stagger > [data-reveal]:nth-child(3) { transition-delay: .12s; }
  .stagger > [data-reveal]:nth-child(4) { transition-delay: .18s; }
  .stagger > [data-reveal]:nth-child(5) { transition-delay: .24s; }
  .stagger > [data-reveal]:nth-child(6) { transition-delay: .3s; }
  .stagger > [data-reveal]:nth-child(n+7) { transition-delay: .36s; }
  /* Hover effects run immediately even after a staggered entrance. */
  .stagger > [data-reveal].is-visible:hover { transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: 0s !important; animation-delay: 0s !important; }
  .btn:hover, .card:hover, .plan:hover, .feature:hover .icon { transform: none; }
  .shot:hover .shot-media img { transform: none; }
}
.table-wrap + p { margin-top: 16px; }
