/* bizcontext.ai — shared stylesheet. Palette: Clear Day. */
/* Plus Jakarta Sans (SIL Open Font License 1.1, see /assets/fonts/OFL.txt), self-hosted, Latin subset, variable weight. */
@font-face {
  font-family: 'Plus Jakarta Sans';
  src: url('/assets/fonts/plus-jakarta-sans-latin.woff2?v=1dfa817173') format('woff2');
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
:root {
  --blue: #0B69F3;
  --blue-dark: #0A4FB8;
  --ink: #07142F;
  --muted: #44546E;
  --mist: #F4F7FC;
  --line: #DCE4F0;
  --line-soft: #E3E9F2;
  --tint: #E6F0FF;
  --amber: #F5A524;
  --chip: #E9EDF4;
  --on-ink: #C9D6EA;
  --ink-line: #3A5388;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: #FFFFFF;
  color: var(--ink);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 16px;
  line-height: 1.55;
}

h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
img { max-width: 100%; height: auto; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }

h1 { font-size: clamp(36px, 5vw, 50px); line-height: 1.06; font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(28px, 3.6vw, 36px); line-height: 1.12; font-weight: 800; letter-spacing: -0.025em; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; z-index: 10; padding: 12px 16px; border-radius: 8px; background: #FFFFFF; }

/* Layout */
.wrap { max-width: 1120px; margin: 0 auto; }
.band { padding: 80px 24px; }
.band--mist { background: var(--mist); }
.band--ink { background: var(--ink); color: #FFFFFF; }
.stack { display: flex; flex-direction: column; gap: 36px; }
.intro { display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.lede { font-size: 17px; color: var(--muted); }
.band--ink .lede { color: var(--on-ink); }
.eyebrow { font-size: 13px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--blue-dark); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 10px;
  background: var(--blue); color: #FFFFFF;
  font: inherit; font-size: 16px; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn:hover { background: var(--blue-dark); color: #FFFFFF; }
.btn--ghost { background: #FFFFFF; color: var(--ink); border: 1.5px solid #C5D1E3; }
.btn--ghost:hover { background: var(--mist); color: var(--ink); }
.btn--sm { min-height: 44px; padding: 0 18px; font-size: 14px; }

/* Header and footer */
.site-header { padding: 0 24px; border-bottom: 1px solid var(--line-soft); }
.site-header .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 18px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-size: 20px; font-weight: 700; letter-spacing: -0.01em; text-decoration: none; }
.brand:hover { color: var(--ink); }
.site-nav ul { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; font-size: 14px; font-weight: 600; }
.site-nav a:not(.btn) { display: inline-block; padding: 12px 0; color: var(--muted); text-decoration: none; }
.site-nav a:not(.btn):hover { color: var(--ink); }

/* Mobile menu (only active once menu.js has run; otherwise the menu stays visible and wraps) */
.menu-toggle { display: none; position: relative; width: 44px; height: 44px; padding: 0; border: 1.5px solid #C5D1E3; border-radius: 10px; background: #FFFFFF; cursor: pointer; }
.menu-toggle:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }
.menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px; border-radius: 2px; background: var(--ink); transition: transform 0.2s ease, opacity 0.2s ease; }
.menu-toggle__bars { top: 50%; margin-top: -1px; }
.menu-toggle__bars::before, .menu-toggle__bars::after { content: ""; left: 0; margin-left: 0; }
.menu-toggle__bars::before { top: -6px; }
.menu-toggle__bars::after { top: 6px; }
.is-open .menu-toggle__bars { background: transparent; }
.is-open .menu-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.is-open .menu-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }
@media (max-width: 1024px) {
  .has-menu .menu-toggle { display: inline-block; }
  .has-menu .site-nav { display: none; flex-basis: 100%; }
  .has-menu.is-open .site-nav { display: block; }
  .has-menu .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 8px; font-size: 17px; }
  .has-menu .site-nav a:not(.btn) { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line-soft); color: var(--ink); }
  .has-menu .site-nav .btn { width: 100%; margin-top: 16px; min-height: 50px; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .menu-toggle__bars, .menu-toggle__bars::before, .menu-toggle__bars::after { transition: none; } }

.site-footer { padding: 32px 24px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.site-footer .brand { font-size: 14px; gap: 8px; }
.site-footer ul { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.tm { margin-left: 1px; font-size: 0.6em; font-weight: 600; line-height: 0; vertical-align: super; }
.site-footer .legal { flex-basis: 100%; font-size: 13px; color: var(--muted); }
.site-footer li a { display: inline-block; padding: 12px 0; color: var(--muted); }

/* Hero */
.hero { padding: 80px 24px 88px; }
.hero .wrap { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.hero__copy { flex: 1.2 1 400px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.hero__copy .lede { font-size: 18px; }
.pill { padding: 6px 12px; border-radius: 999px; background: var(--tint); color: var(--blue-dark); font-size: 13px; font-weight: 700; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.note { font-size: 14px; font-weight: 600; color: var(--muted); }

/* Product preview panels (illustrations) */
.panel { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 20px; background: var(--mist); border: 1px solid var(--line); }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 16px; font-weight: 800; }
.panel__head span { font-size: 13px; font-weight: 600; color: var(--muted); }
.item { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line-soft); font-size: 15px; line-height: 1.45; font-weight: 600; }
.chip { align-self: flex-start; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; }
.chip--amber { background: var(--amber); color: var(--ink); }
.chip--blue { background: var(--tint); color: var(--blue-dark); }
.chip--grey { background: var(--chip); color: var(--ink); }
.columns { display: flex; flex-wrap: wrap; gap: 12px; }
.columns .item { flex: 1 1 150px; min-width: 0; gap: 8px; padding: 14px; font-size: 14px; }
.columns .item span + span + span { padding-top: 8px; border-top: 1px solid var(--line-soft); }
.timeline { padding: 4px 18px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line-soft); }
.timeline li { display: flex; gap: 16px; padding: 14px 0; font-size: 14px; line-height: 1.45; font-weight: 600; }
.timeline li + li { border-top: 1px solid var(--line-soft); }
.timeline time, .timeline b { flex: 0 0 56px; font-size: 13px; font-weight: 700; color: var(--muted); }
.timeline b { font-weight: 800; color: var(--ink); }
.draft { display: flex; flex-direction: column; gap: 10px; padding: 18px; border-radius: 12px; background: #FFFFFF; border: 1px solid var(--line-soft); font-size: 14px; }
.draft .meta { font-size: 13px; color: var(--muted); }
.draft .meta b { color: var(--ink); }
.draft .meta + .meta { padding-bottom: 10px; border-bottom: 1px solid var(--line-soft); }
.draft__foot { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; font-size: 13px; font-weight: 600; color: var(--muted); }
.draft__foot div { display: flex; gap: 8px; }
.fake-btn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 10px; background: var(--blue); color: #FFFFFF; font-size: 14px; font-weight: 700; }
.fake-btn--ghost { background: #FFFFFF; color: var(--ink); border: 1.5px solid #C5D1E3; }

/* Product screenshots */
.shot { margin: 0; min-width: 0; }
.shot picture { display: block; }
.shot img { display: block; width: 100%; height: auto; border-radius: 16px; box-shadow: 0 18px 40px rgba(7, 20, 47, 0.10), 0 2px 8px rgba(7, 20, 47, 0.06); }
.shot--hero { flex: 1 1 380px; }
.feature .shot { flex: 1.15 1 400px; }
/* The side card overlaps only the empty lower part of the main card. Percent margins follow the figure width, so this scales. */
.shot-pair__main { width: 84%; }
.shot-pair__side { position: relative; width: 44%; margin: -16% 0 0 auto; }
.feature.feature--wide { flex-direction: column; align-items: stretch; gap: 32px; }
.feature.feature--wide .feature__text { flex: none; max-width: 760px; }
.feature.feature--wide .shot { flex: none; }
.shot--wide img { border: 1px solid var(--line); }

/* Projects */
.projects { display: flex; flex-direction: column; gap: 72px; }
.projects .intro { max-width: 760px; display: flex; flex-direction: column; gap: 14px; }
.shot--framed img { border: 1px solid var(--line); background: #FFFFFF; }
.feature .shot--narrow { flex: 0 1 440px; }
.gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 48px 36px; }
.gallery li { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.gallery .shot { margin-bottom: 10px; }
.gallery .shot img { aspect-ratio: 16 / 9; object-fit: contain; object-position: center top; padding: 6px; }
.shot a { display: block; border-radius: 16px; cursor: zoom-in; }
.shot a:focus-visible { outline: 3px solid var(--blue); outline-offset: 4px; }
.gallery h3 { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.gallery p { font-size: 15px; color: var(--muted); }

/* Cards */
.cards { display: flex; flex-wrap: wrap; gap: 20px; }
.card { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: 16px; background: #FFFFFF; border: 1px solid var(--line); }
.card h3 { font-size: 19px; line-height: 1.3; font-weight: 800; }
.card p { font-size: 15px; color: var(--muted); }
.band--ink .card { background: transparent; border-color: var(--ink-line); }
.band--ink .card p { color: var(--on-ink); }

/* Features */
.features { padding: 88px 24px; }
.features .wrap { display: flex; flex-direction: column; gap: 80px; }
.feature { display: flex; flex-wrap: wrap; gap: 56px; align-items: center; }
.feature--flip { flex-wrap: wrap-reverse; }
.feature .panel { flex: 1.15 1 400px; }
.feature__text { flex: 1 1 360px; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.feature__text h3 { font-size: clamp(24px, 3vw, 30px); line-height: 1.15; font-weight: 800; letter-spacing: -0.02em; }
.feature__text p:not(.eyebrow) { font-size: 17px; line-height: 1.6; color: var(--muted); }
.also { display: flex; flex-direction: column; gap: 24px; padding-top: 48px; border-top: 1px solid var(--line); }
.also h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; }
.also ul { display: flex; flex-wrap: wrap; gap: 32px; }
.also li { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.also h4 { margin: 0; font-size: 17px; font-weight: 800; }
.also p { font-size: 15px; color: var(--muted); }

/* Steps */
.steps { display: flex; flex-wrap: wrap; gap: 32px; }
.steps li { flex: 1 1 240px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.steps .num { width: 44px; height: 44px; border-radius: 999px; background: var(--blue); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-size: 17px; font-weight: 800; }
.steps h3 { font-size: 19px; font-weight: 800; }
.steps p { font-size: 15px; color: var(--muted); }

/* Pricing band */
.quote { display: flex; flex-wrap: wrap; gap: 32px; align-items: center; justify-content: space-between; padding: 40px; border-radius: 20px; border: 1px solid var(--line); }
.quote > div { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 12px; }

/* FAQ */
.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 44px; padding: 18px 0; font-size: 18px; font-weight: 800; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: 0 0 auto; font-size: 24px; font-weight: 500; color: var(--blue); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { padding: 0 0 20px; font-size: 16px; color: var(--muted); max-width: 720px; }

/* Early access */
.access { padding: 88px 24px; }
.access .wrap { max-width: 720px; display: flex; flex-direction: column; gap: 18px; align-items: center; text-align: center; }
.lead-form { width: 100%; max-width: 640px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; padding: 28px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--line); text-align: left; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field--wide, .turnstile, .lead-form__foot, .form-status { grid-column: 1 / -1; }
.turnstile { min-height: 65px; }
.field label { font-size: 13px; font-weight: 700; }
.field .optional { font-weight: 500; color: var(--muted); }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: 0 14px; border: 1.5px solid #9FB0C8; border-radius: 10px; background: #FFFFFF; color: var(--ink); font: inherit; font-size: 16px; }
.field textarea { min-height: 112px; padding: 12px 14px; line-height: 1.5; resize: vertical; }
.field [aria-invalid="true"] { border-color: #B42318; }
.field__error { font-size: 13px; font-weight: 600; color: #B42318; }
.trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.lead-form__foot { display: flex; flex-wrap: wrap; gap: 12px 20px; align-items: center; }
.lead-form__foot .note { font-weight: 500; }
.btn[disabled] { opacity: 0.7; cursor: progress; }
.form-status { padding: 12px 14px; border-radius: 10px; background: #FEF3F2; color: #912018; font-size: 14px; font-weight: 600; }
.form-done { width: 100%; max-width: 640px; padding: 32px 28px; border-radius: 20px; background: #FFFFFF; border: 1px solid var(--line); }
.form-done h3 { font-size: 22px; font-weight: 800; letter-spacing: -0.01em; margin-bottom: 8px; }
.form-done p { color: var(--muted); }
[hidden] { display: none !important; }

@media (max-width: 760px) {
  .gallery { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .projects { gap: 56px; }
  .band, .features, .access { padding-top: 56px; padding-bottom: 56px; }
  .hero { padding: 48px 24px 56px; }
  .features .wrap { gap: 56px; }
  .feature, .hero .wrap { gap: 32px; }
  .quote { padding: 28px; }
  .shot-pair__main { width: 100%; }
  .shot-pair__side { width: 78%; margin: 16px 0 0 auto; }
  .lead-form { grid-template-columns: minmax(0, 1fr); padding: 20px; }
}

/* Long-form pages (privacy, terms) */
.wrap.prose { max-width: 760px; display: flex; flex-direction: column; gap: 16px; }
.prose h2 { margin-top: 28px; font-size: 24px; line-height: 1.25; letter-spacing: -0.015em; scroll-margin-top: 24px; }
.prose h3 { margin-top: 8px; font-size: 18px; line-height: 1.3; font-weight: 800; }
.prose p, .prose li { font-size: 16px; line-height: 1.65; color: #24324D; }
.prose ul { list-style: disc; padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose .updated { font-size: 14px; color: var(--muted); }
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; }
.prose table { width: 100%; min-width: 620px; border-collapse: collapse; font-size: 15px; }
.prose th, .prose td { padding: 12px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.5; }
.prose th { background: var(--mist); font-size: 13px; font-weight: 800; }
.prose tr:last-child td { border-bottom: 0; }
.prose td { color: #24324D; }
mark.todo { padding: 1px 5px; border-radius: 4px; background: #FFE9A8; color: var(--ink); font-weight: 700; }

@media print {
  .site-nav, .skip, .menu-toggle { display: none !important; }
  .band { padding: 16px 0; }
  .site-header, .site-footer { padding-left: 0; padding-right: 0; }
}
