/*
 * Product website (cloud apex). Sits on top of the vendored Bootstrap 5.
 * No external fonts or images: system typefaces, CSS and inline SVG only.
 *
 * Look: drawing-paper background, ink text, one confident safety-orange
 * accent, blueprint blue for the dark bands. Hazard stripes are used sparingly
 * as a signature, never as decoration behind text.
 */

:root {
  --s-ink: #111827;
  --s-ink-2: #374151;
  --s-muted: #5b6472;
  --s-paper: #faf8f4;
  --s-paper-2: #f3efe7;
  --s-surface: #ffffff;
  --s-line: #e4ded3;
  --s-accent: #c2410c;          /* 5.2:1 on white */
  --s-accent-hover: #9a3412;
  --s-accent-soft: #fff1e6;
  --s-steel: #0f2740;
  --s-steel-2: #16395c;
  --s-steel-line: rgba(255, 255, 255, .09);
  --s-ok: #15803d;
  --s-radius: 14px;
  --s-shadow: 0 1px 2px rgba(17, 24, 39, .06), 0 8px 24px rgba(17, 24, 39, .07);
  --s-font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Roboto", "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --s-font-display: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Roboto", "Helvetica Neue", Arial, sans-serif;

  --bs-body-font-family: var(--s-font);
  --bs-body-color: var(--s-ink);
  --bs-body-bg: var(--s-paper);
  --bs-link-color: var(--s-accent);
  --bs-link-color-rgb: 194, 65, 12;
  --bs-link-hover-color: var(--s-accent-hover);
  --bs-link-hover-color-rgb: 154, 52, 18;
  --bs-border-color: var(--s-line);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

body.site {
  background: var(--s-paper);
  color: var(--s-ink);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Typography ---------------------------------------------------------- */
.site h1, .site h2, .site h3, .site h4, .site .display-title {
  font-family: var(--s-font-display);
  color: var(--s-ink);
  letter-spacing: -0.022em;
  line-height: 1.12;
}
.site h1 { font-weight: 800; }
.site h2 { font-weight: 800; font-size: clamp(1.75rem, 3.2vw, 2.5rem); }
.site h3 { font-weight: 700; font-size: 1.2rem; letter-spacing: -0.01em; }
/* Bootstrap size utilities keep working on headings (e.g. <h2 class="h4">). */
.site .h2 { font-size: clamp(1.6rem, 2.6vw, 2rem); }
.site .h3 { font-size: 1.5rem; }
.site .h4 { font-size: 1.25rem; }
.site .h5 { font-size: 1.1rem; }
.site .h6 { font-size: 1rem; }
.display-title { font-size: clamp(2.3rem, 5.4vw, 4rem); font-weight: 800; }
.lead-lg { font-size: clamp(1.1rem, 1.6vw, 1.3rem); color: var(--s-ink-2); line-height: 1.55; }
.text-muted-2 { color: var(--s-muted) !important; }
.text-accent { color: var(--s-accent) !important; }
.mark-accent {
  background: linear-gradient(transparent 62%, rgba(234, 88, 12, .22) 62%);
  color: inherit;
  padding: 0 .08em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--s-accent);
  margin-bottom: .9rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 8px;
  border-radius: 2px;
  background: repeating-linear-gradient(-45deg, var(--s-accent) 0 4px, var(--s-ink) 4px 8px);
}
.on-dark .eyebrow { color: #fdba74; }
.on-dark .eyebrow::before { background: repeating-linear-gradient(-45deg, #fb923c 0 4px, #fff 4px 8px); }

/* ---- Accessibility ------------------------------------------------------- */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -3rem;
  z-index: 2000;
  background: var(--s-ink);
  color: #fff;
  padding: .6rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { top: 1rem; color: #fff; }

.site a:focus-visible,
.site button:focus-visible,
.site .btn:focus-visible,
.site input:focus-visible,
.site select:focus-visible,
.site textarea:focus-visible,
.site summary:focus-visible {
  outline: 3px solid #f97316;
  outline-offset: 2px;
  box-shadow: none;
}
.site .form-control:focus, .site .form-select:focus {
  border-color: var(--s-accent);
  box-shadow: 0 0 0 .2rem rgba(234, 88, 12, .18);
}

/* ---- Buttons ------------------------------------------------------------- */
.site .btn { font-weight: 600; border-radius: 10px; padding: .62rem 1.15rem; }
.site .btn-lg { padding: .8rem 1.4rem; font-size: 1.05rem; }
.btn-accent {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--s-accent);
  --bs-btn-border-color: var(--s-accent);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--s-accent-hover);
  --bs-btn-hover-border-color: var(--s-accent-hover);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #7c2d12;
  --bs-btn-active-border-color: #7c2d12;
  box-shadow: 0 6px 18px rgba(194, 65, 12, .25);
}
.btn-ink {
  --bs-btn-color: var(--s-ink);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(17, 24, 39, .28);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--s-ink);
  --bs-btn-hover-border-color: var(--s-ink);
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #000;
  --bs-btn-active-border-color: #000;
}
.btn-light-outline {
  --bs-btn-color: #fff;
  --bs-btn-bg: transparent;
  --bs-btn-border-color: rgba(255, 255, 255, .45);
  --bs-btn-hover-color: var(--s-steel);
  --bs-btn-hover-bg: #fff;
  --bs-btn-hover-border-color: #fff;
  --bs-btn-active-color: var(--s-steel);
  --bs-btn-active-bg: #e5e7eb;
  --bs-btn-active-border-color: #e5e7eb;
}

/* ---- Header -------------------------------------------------------------- */
.hazard-bar {
  height: 5px;
  background: repeating-linear-gradient(-45deg, var(--s-accent) 0 12px, var(--s-ink) 12px 24px);
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(250, 248, 244, .92);
  backdrop-filter: saturate(160%) blur(10px);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--s-line);
}
.site-header .navbar { padding-top: .7rem; padding-bottom: .7rem; }
.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: var(--s-ink);
  text-decoration: none;
  font-family: var(--s-font-display);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 1.12rem;
  line-height: 1.1;
}
.brand-lockup:hover { color: var(--s-ink); }
.brand-lockup small {
  display: block;
  font-family: var(--s-font);
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--s-muted);
}
.brand-mark { width: 38px; height: 38px; flex: 0 0 38px; }
.site-header .nav-link {
  color: var(--s-ink-2);
  font-weight: 600;
  padding: .5rem .85rem !important;
  border-radius: 8px;
}
.site-header .nav-link:hover { color: var(--s-ink); background: var(--s-paper-2); }
.site-header .nav-link[aria-current="page"] {
  color: var(--s-ink);
  box-shadow: inset 0 -3px 0 var(--s-accent);
  border-radius: 0;
}
.site-header .navbar-toggler { border-color: var(--s-line); }
@media (max-width: 991.98px) {
  .site-header .navbar-collapse { padding: .75rem 0 .5rem; }
  .site-header .nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--s-accent); }
}

/* ---- Sections ------------------------------------------------------------ */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 4rem) 0; }
.section-alt { background: var(--s-paper-2); border-top: 1px solid var(--s-line); border-bottom: 1px solid var(--s-line); }
.section-head { max-width: 760px; margin-bottom: 2.75rem; }
.section-head p { color: var(--s-ink-2); font-size: 1.1rem; }

.blueprint {
  background-color: var(--s-steel);
  background-image:
    linear-gradient(var(--s-steel-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--s-steel-line) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 96px 96px, 96px 96px, 24px 24px, 24px 24px;
  color: #e5edf5;
}
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark p, .on-dark li { color: #c9d6e3; }
.on-dark a:not(.btn) { color: #fdba74; }

/* ---- Hero ---------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(3.5rem, 7vw, 6rem);
  background-color: var(--s-paper);
  background-image:
    linear-gradient(rgba(15, 39, 64, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 39, 64, .055) 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero::after {
  /* fade the grid out towards the bottom */
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(transparent, var(--s-paper));
  pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }
.hero-points { list-style: none; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .5rem; }
.hero-points li { display: flex; gap: .6rem; align-items: flex-start; color: var(--s-ink-2); }
.hero-points .bi { color: var(--s-ok); margin-top: .15rem; }
.hero-note { font-size: .9rem; color: var(--s-muted); }

/* The product illustration: a cost sheet over a line drawing of a site. */
.hero-visual { position: relative; max-width: 560px; margin-left: auto; margin-bottom: 7.5rem; }
.hero-visual .site-drawing { width: 100%; height: auto; display: block; color: var(--s-steel-2); }
.cost-card {
  position: absolute;
  left: 14%;
  right: 0;
  bottom: -7rem;
  background: var(--s-surface);
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  box-shadow: 0 18px 50px rgba(15, 39, 64, .18);
  padding: 1.1rem 1.2rem 1rem;
  font-size: .9rem;
}
.cost-card .cc-head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: .75rem; }
.cost-card .cc-title { font-weight: 700; }
.cost-card .cc-total { font-weight: 800; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.cost-card .cc-row { display: grid; grid-template-columns: 5.6rem 1fr 5.4rem; gap: .6rem; align-items: center; margin: .35rem 0; }
.cost-card .cc-row span:last-child { text-align: right; font-variant-numeric: tabular-nums; color: var(--s-ink-2); }
.cc-bar { height: 8px; border-radius: 99px; background: var(--s-paper-2); overflow: hidden; }
.cc-bar i { display: block; height: 100%; border-radius: 99px; background: var(--s-steel-2); }
.cc-bar i.b-accent { background: var(--s-accent); }
.cc-bar i.b-amber { background: #f59e0b; }
.cc-bar i.b-slate { background: #64748b; }
.cc-foot { display: flex; justify-content: space-between; margin-top: .7rem; padding-top: .6rem; border-top: 1px dashed var(--s-line); font-size: .8rem; color: var(--s-muted); }
.float-chip {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  background: var(--s-surface);
  border: 1px solid var(--s-line);
  border-radius: 999px;
  padding: .45rem .8rem;
  font-size: .8rem;
  font-weight: 600;
  box-shadow: var(--s-shadow);
  white-space: nowrap;
}
.float-chip .bi { font-size: 1rem; }
.chip-po { top: 8%; right: 0; }
.chip-po .bi { color: var(--s-ok); }
.chip-stock { top: 34%; left: -2%; }
.chip-stock .bi { color: var(--s-accent); }
.illustration-note { position: absolute; right: 0; bottom: -8.75rem; font-size: .75rem; color: var(--s-muted); }
@media (max-width: 575.98px) {
  .chip-stock { display: none; }
  .hero-visual { margin-bottom: 0; }
  .cost-card { position: relative; left: auto; right: auto; bottom: auto; margin-top: -3rem; }
  .illustration-note { position: static; display: block; text-align: right; margin-top: .5rem; }
  .cost-card .cc-row { grid-template-columns: 4.8rem 1fr 4.8rem; }
}

/* ---- Outcome + module cards --------------------------------------------- */
.outcome {
  height: 100%;
  background: var(--s-surface);
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  padding: 1.6rem 1.5rem;
  position: relative;
}
.outcome::before {
  content: "";
  position: absolute;
  left: 1.5rem;
  top: 0;
  width: 42px;
  height: 4px;
  border-radius: 0 0 3px 3px;
  background: var(--s-accent);
}
.outcome p { color: var(--s-ink-2); margin-bottom: 0; }

.icon-tile {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  font-size: 1.3rem;
  background: var(--s-accent-soft);
  color: var(--s-accent);
  margin-bottom: 1rem;
  flex: 0 0 46px;
}
.icon-tile.steel { background: #e7eef6; color: var(--s-steel-2); }

.module-card {
  height: 100%;
  display: flex;
  gap: 1rem;
  background: var(--s-surface);
  border: 1px solid var(--s-line);
  border-radius: var(--s-radius);
  padding: 1.25rem 1.2rem;
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.module-card:hover { border-color: #d6cdbf; box-shadow: var(--s-shadow); transform: translateY(-2px); }
.module-card .icon-tile { margin-bottom: 0; }
.module-card h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.module-card p { font-size: .94rem; color: var(--s-muted); margin-bottom: 0; line-height: 1.5; }

/* ---- How it works -------------------------------------------------------- */
.steps { counter-reset: step; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); list-style: none; padding: 0; margin: 0; }
.steps li {
  position: relative;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--s-radius);
  padding: 1.5rem 1.35rem 1.4rem;
}
.steps li::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: block;
  font-family: var(--s-font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: #fb923c;
  margin-bottom: .8rem;
  letter-spacing: -0.03em;
}
.steps h3 { font-size: 1.1rem; margin-bottom: .45rem; }
.steps p { margin: 0; font-size: .96rem; }
.address-sample {
  display: inline-block;
  font-family: ui-monospace, "Cascadia Mono", Consolas, "Liberation Mono", monospace;
  font-size: .86rem;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 6px;
  padding: .1rem .45rem;
  color: #fff;
  word-break: break-all;
}

/* ---- Trust --------------------------------------------------------------- */
.trust-item { display: flex; gap: 1rem; align-items: flex-start; }
.trust-item .icon-tile { margin-bottom: 0; }
.trust-item h3 { font-size: 1.05rem; margin-bottom: .25rem; }
.trust-item p { color: var(--s-ink-2); margin-bottom: 0; font-size: .96rem; }

/* ---- CTA band ------------------------------------------------------------ */
.cta-band {
  border-radius: 20px;
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  right: -40px;
  top: 0;
  bottom: 0;
  width: 120px;
  background: repeating-linear-gradient(-45deg, rgba(251, 146, 60, .9) 0 14px, transparent 14px 28px);
  opacity: .22;
  transform: skewX(-12deg);
}
.cta-band > * { position: relative; z-index: 1; }

/* ---- Page header (inner pages) ------------------------------------------ */
.page-hero {
  padding: clamp(2.75rem, 6vw, 4.5rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--s-line);
  background-image:
    linear-gradient(rgba(15, 39, 64, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(15, 39, 64, .05) 1px, transparent 1px);
  background-size: 32px 32px;
}
.page-hero h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.page-hero .lead-lg { max-width: 720px; }

/* ---- Features page ------------------------------------------------------- */
.feature-toc { position: sticky; top: 96px; }
.feature-toc a {
  display: block;
  padding: .38rem .75rem;
  border-left: 2px solid var(--s-line);
  color: var(--s-ink-2);
  text-decoration: none;
  font-size: .94rem;
  font-weight: 500;
}
.feature-toc a:hover { color: var(--s-accent); border-left-color: var(--s-accent); }
.feature-group { scroll-margin-top: 100px; padding-bottom: 2.5rem; margin-bottom: 2.5rem; border-bottom: 1px solid var(--s-line); }
.feature-group:last-child { border-bottom: 0; }
.feature-group > header { display: flex; gap: 1rem; align-items: center; margin-bottom: 1.25rem; }
.feature-group > header .icon-tile { margin-bottom: 0; }
.feature-group h2 { font-size: clamp(1.4rem, 2.4vw, 1.75rem); margin: 0; }
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem 1.75rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature-list li { padding-left: 1.6rem; position: relative; color: var(--s-ink-2); }
.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .52em;
  width: .7rem;
  height: .7rem;
  border: 2px solid var(--s-accent);
  border-radius: 2px;
  transform: rotate(45deg);
}
.feature-list strong { color: var(--s-ink); font-weight: 700; }
.report-list { columns: 2 260px; column-gap: 2rem; padding-left: 1.1rem; color: var(--s-ink-2); }
.report-list li { break-inside: avoid; margin-bottom: .35rem; }
.flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}
.flow li {
  background: var(--s-surface);
  border: 1px solid var(--s-line);
  border-radius: 999px;
  padding: .35rem .85rem;
  font-weight: 600;
  font-size: .9rem;
}
.flow li.arrow { background: none; border: 0; padding: 0; color: var(--s-accent); }

/* ---- Pricing ------------------------------------------------------------- */
.period-toggle {
  display: inline-flex;
  background: var(--s-surface);
  border: 1px solid var(--s-line);
  border-radius: 999px;
  padding: .3rem;
  gap: .25rem;
}
.period-toggle button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: .45rem 1.1rem;
  font-weight: 600;
  color: var(--s-ink-2);
}
.period-toggle button[aria-pressed="true"] { background: var(--s-ink); color: #fff; }
.plan {
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--s-surface);
  border: 1px solid var(--s-line);
  border-radius: 18px;
  padding: 1.75rem 1.5rem 1.5rem;
}
.plan h2 { font-size: 1.3rem; margin-bottom: .75rem; }
.plan .price { font-family: var(--s-font-display); font-size: 2.15rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.plan .price small { font-size: .95rem; font-weight: 600; color: var(--s-muted); letter-spacing: 0; }
.plan .price.on-request { font-size: 1.45rem; }
.plan .price-note { font-size: .85rem; color: var(--s-muted); min-height: 1.4em; }
.plan ul { list-style: none; padding: 0; margin: 1.25rem 0 1.5rem; display: grid; gap: .6rem; flex: 1 1 auto; align-content: start; }
.plan li { display: flex; gap: .55rem; align-items: flex-start; color: var(--s-ink-2); font-size: .97rem; }
.plan li .bi { color: var(--s-ok); margin-top: .12rem; }
[data-period="month"] .price-year,
[data-period="year"] .price-month { display: none; }

/* A plan with a running offer: accent border, badge, struck-through list price. */
.plan { position: relative; }
.plan.has-offer { border-color: var(--s-accent); box-shadow: 0 0 0 1px var(--s-accent), var(--s-shadow); }
.plan-offer-badge {
  position: absolute; top: -.8rem; left: 1.5rem;
  display: inline-flex; align-items: center; gap: .35rem;
  background: var(--s-accent); color: #fff;
  font-size: .78rem; font-weight: 700; letter-spacing: .02em;
  padding: .3rem .75rem; border-radius: 999px;
}
.plan .price .price-was {
  font-size: 1.05rem; font-weight: 600; color: var(--s-muted);
  letter-spacing: 0; margin-right: .2rem; text-decoration-thickness: 2px;
}
.plan-offer {
  margin-top: .75rem; padding: .6rem .8rem;
  background: var(--s-accent-soft); border-radius: 10px;
  color: var(--s-accent-hover); font-size: .88rem; line-height: 1.4;
}
.plan-offer strong { margin-right: .4rem; }
.plan-offer-ends { white-space: nowrap; }
.plan-offer div { margin-top: .2rem; color: var(--s-ink-2); }

.faq details {
  background: var(--s-surface);
  border: 1px solid var(--s-line);
  border-radius: 12px;
  margin-bottom: .75rem;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 3rem 1rem 1.25rem;
  font-weight: 700;
  position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--s-accent);
}
.faq details[open] summary::after { content: "\2212"; }
.faq details > div { padding: 0 1.25rem 1.1rem; color: var(--s-ink-2); }
.faq details > div p:last-child { margin-bottom: 0; }

/* ---- Forms --------------------------------------------------------------- */
.form-card {
  background: var(--s-surface);
  border: 1px solid var(--s-line);
  border-radius: 18px;
  padding: clamp(1.4rem, 3vw, 2.25rem);
  box-shadow: var(--s-shadow);
}
.site .form-label { font-weight: 600; font-size: .95rem; margin-bottom: .35rem; }
.site .form-control, .site .form-select { border-radius: 10px; padding: .65rem .85rem; border-color: #d6cfc3; background-color: #fff; }
.site .form-text { color: var(--s-muted); }
.req { color: var(--s-accent); }
.hp-field { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.workspace-input .input-group-text { background: var(--s-paper-2); border-color: #d6cfc3; font-weight: 600; color: var(--s-ink-2); }
.workspace-input .form-control { text-align: right; font-weight: 600; }
.callout {
  border-left: 4px solid var(--s-accent);
  background: var(--s-accent-soft);
  border-radius: 0 12px 12px 0;
  padding: 1rem 1.25rem;
  color: var(--s-ink);
}
.callout.info { border-left-color: var(--s-steel-2); background: #eaf1f8; }

/* ---- Legal pages --------------------------------------------------------- */
.prose { max-width: 760px; }
.prose h2 { font-size: 1.35rem; margin-top: 2.25rem; margin-bottom: .75rem; }
.prose p, .prose li { color: var(--s-ink-2); }
.template-notice {
  border: 1px dashed var(--s-accent);
  background: var(--s-accent-soft);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: .95rem;
}

/* ---- Footer -------------------------------------------------------------- */
.site-footer { padding: 3.5rem 0 2rem; font-size: .95rem; }
.site-footer .brand-lockup { color: #fff; }
.site-footer .brand-lockup small { color: #9fb3c8; }
.site-footer h2 { font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; color: #9fb3c8; font-weight: 700; margin-bottom: 1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.site-footer a:not(.btn) { color: #e5edf5; text-decoration: none; }
.site-footer a:not(.btn):hover { color: #fdba74; text-decoration: underline; }
.site-footer .footer-base { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 2.5rem; padding-top: 1.5rem; color: #9fb3c8; font-size: .86rem; }
.site-footer .footer-base p { color: #9fb3c8; }

/* ---- Product mega menu (header) ----------------------------------------- */
.site-header .dropdown-toggle::after { vertical-align: .15em; margin-left: .35em; transition: transform .15s ease; }
.site-header .dropdown-toggle[aria-expanded="true"]::after { transform: rotate(180deg); }
.mega-menu {
  --bs-dropdown-padding-y: 0;
  border: 0;
  border-radius: 0;
  margin: 0;
  background: var(--s-surface);
  box-shadow: 0 24px 48px rgba(15, 39, 64, .14);
}
.mega-grid { display: grid; gap: 1.5rem 2rem; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, .95fr); padding: 1.6rem 0 1.2rem; }
.mega-heading { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--s-muted); margin: 0 0 .6rem; }
.mega-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .15rem; }
.mega-link {
  display: flex; gap: .75rem; align-items: flex-start;
  padding: .55rem .6rem; border-radius: 10px;
  color: var(--s-ink); text-decoration: none;
}
.mega-link:hover, .mega-link:focus-visible { background: var(--s-paper); color: var(--s-ink); }
.mega-link:hover .mega-icon, .mega-link:focus-visible .mega-icon { background: var(--s-accent); color: #fff; }
.mega-link strong { display: block; font-size: .95rem; line-height: 1.3; }
.mega-link small { display: block; color: var(--s-muted); font-size: .82rem; line-height: 1.35; margin-top: .1rem; }
.mega-icon {
  flex: 0 0 2.1rem; height: 2.1rem; border-radius: 9px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--s-accent-soft); color: var(--s-accent); font-size: 1.05rem;
  transition: background-color .15s ease, color .15s ease;
}
.mega-aside { background: var(--s-steel); border-radius: var(--s-radius); padding: 1.2rem; align-self: start; }
.mega-aside .mega-heading { color: #fdba74; }
.mega-aside-title { color: #fff; font-weight: 700; font-size: 1.05rem; line-height: 1.3; margin-bottom: .4rem; }
.mega-foot {
  display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--s-line); padding: .8rem 0 1rem; font-size: .9rem; color: var(--s-muted);
}
.mega-foot a { font-weight: 600; text-decoration: none; }
.mega-inner { padding: 0 1.75rem; }
/* Desktop: a panel 70% of the screen wide, centred under the header. */
@media (min-width: 992px) {
  .site-header .dropdown.mega { position: static; }
  .site-header .mega-menu {
    position: absolute; top: calc(100% - .35rem); left: 50%; transform: translateX(-50%);
    width: min(calc(100vw - 2rem), max(70vw, 940px));
    border: 1px solid var(--s-line); border-radius: 0 0 18px 18px;
  }
}
@media (max-width: 991.98px) {
  .mega-menu { box-shadow: none; background: transparent; }
  .mega-inner { padding: 0; }
  .mega-grid { grid-template-columns: 1fr; gap: 1rem; padding: .5rem 0; }
  .mega-link small { display: none; }
  .mega-aside { display: none; }
  .mega-foot { border-top: 0; padding-top: 0; }
}

/* ---- Features page -------------------------------------------------------- */
.feature-hero { padding-bottom: clamp(3rem, 6vw, 4.5rem); }
.app-window {
  position: relative;
  background: var(--s-surface);
  border: 1px solid var(--s-line);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(15, 39, 64, .18);
  font-size: .85rem;
}
.aw-bar {
  display: flex; align-items: center; gap: .35rem;
  padding: .6rem .9rem; border-bottom: 1px solid var(--s-line);
  background: var(--s-paper); border-radius: 16px 16px 0 0;
}
.aw-bar i { width: .6rem; height: .6rem; border-radius: 50%; background: #e4ded3; }
.aw-bar i:first-child { background: #f87171; }
.aw-bar i:nth-child(2) { background: #fbbf24; }
.aw-bar i:nth-child(3) { background: #34d399; }
.aw-bar span { margin-left: .6rem; font-weight: 700; color: var(--s-ink-2); }
.aw-body { padding: 1rem; display: grid; gap: .9rem; }
.aw-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; }
.aw-kpis div { border: 1px solid var(--s-line); border-radius: 10px; padding: .55rem .7rem; }
.aw-kpis small, .aw-mix small { display: block; color: var(--s-muted); font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.aw-kpis strong { font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.aw-stack { display: flex; height: 10px; border-radius: 99px; overflow: hidden; margin: .4rem 0 .45rem; }
.aw-stack i { display: block; height: 100%; }
.aw-stack .m1, .aw-legend .m1 { background: var(--s-accent); }
.aw-stack .m2, .aw-legend .m2 { background: var(--s-steel-2); }
.aw-stack .m3, .aw-legend .m3 { background: #f59e0b; }
.aw-stack .m4, .aw-legend .m4 { background: #94a3b8; }
.aw-stack .m1 { width: 73%; }
.aw-stack .m2 { width: 21%; }
.aw-stack .m3 { width: 3.5%; }
.aw-stack .m4 { width: 2.5%; }
.aw-legend { display: flex; flex-wrap: wrap; gap: .3rem .9rem; color: var(--s-muted); font-size: .75rem; }
.aw-legend i { display: inline-block; width: .55rem; height: .55rem; border-radius: 2px; margin-right: .3rem; }
.aw-table { width: 100%; border-collapse: collapse; }
.aw-table th { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--s-muted); font-weight: 700; padding: .35rem .4rem; border-bottom: 1px solid var(--s-line); }
.aw-table td { padding: .45rem .4rem; border-bottom: 1px solid var(--s-paper-2); font-variant-numeric: tabular-nums; }
.aw-table th:last-child, .aw-table td:last-child { text-align: right; }
.aw-tag { font-size: .68rem; font-weight: 600; padding: .1rem .45rem; border-radius: 99px; background: var(--s-paper-2); color: var(--s-ink-2); white-space: nowrap; }
.aw-tag.ca { background: #e0f2fe; color: #075985; }
.app-window .chip-po { top: -1rem; right: -1rem; }
.app-window .illustration-note { position: static; display: block; text-align: right; padding: .4rem .9rem .6rem; }
@media (max-width: 575.98px) {
  .app-window .chip-po { right: .5rem; }
  .aw-kpis strong { font-size: .98rem; }
}

.stat-strip { background: var(--s-steel); color: #fff; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; }
.stats > div { padding: 1.6rem 1rem; text-align: center; border-left: 1px solid var(--s-steel-line); }
.stats > div:first-child { border-left: 0; }
.stats dt { font-family: var(--s-font-display); font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; line-height: 1; color: #fdba74; }
.stats dd { margin: .4rem 0 0; color: #c9d6e3; font-size: .95rem; }
@media (max-width: 767.98px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stats > div:nth-child(3) { border-left: 0; }
  .stats > div:nth-child(n+3) { border-top: 1px solid var(--s-steel-line); }
}

.rollup { list-style: none; padding: 0; margin: 0 0 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.rollup li {
  position: relative;
  background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius);
  padding: 1.2rem 1.1rem;
}
.rollup li .icon-tile { margin-bottom: .75rem; }
.rollup li strong { display: block; font-size: 1.02rem; }
.rollup li small { display: block; color: var(--s-muted); font-size: .88rem; margin-top: .2rem; }
.rollup li + li::before {
  content: "\F138";
  font-family: "bootstrap-icons";
  position: absolute; left: -1.05rem; top: 50%; transform: translateY(-50%);
  color: var(--s-accent); font-size: 1rem; background: var(--s-paper); line-height: 1;
}
@media (max-width: 991.98px) {
  .rollup { grid-template-columns: 1fr 1fr; }
  .rollup li + li::before { display: none; }
}
@media (max-width: 575.98px) { .rollup { grid-template-columns: 1fr; } }
.heads { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .75rem; }
.heads li {
  display: inline-flex; align-items: center; gap: .6rem;
  background: var(--s-surface); border: 1px solid var(--s-line); border-radius: 999px;
  padding: .45rem 1rem .45rem .5rem;
}
.heads li > .bi {
  width: 2rem; height: 2rem; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--s-accent-soft); color: var(--s-accent);
}
.heads strong { display: block; font-size: .92rem; line-height: 1.2; }
.heads small { display: block; color: var(--s-muted); font-size: .78rem; line-height: 1.2; }

.feature-toc .toc-title { font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--s-muted); margin: 0 0 .5rem .75rem; }
.feature-toc a .bi { opacity: .6; margin-right: .3rem; }
.feature-toc a.active { color: var(--s-accent); border-left-color: var(--s-accent); font-weight: 700; }
.feature-toc a.active .bi { opacity: 1; }
.section-alt .feature-group {
  background: var(--s-surface); border: 1px solid var(--s-line); border-radius: var(--s-radius);
  padding: clamp(1.25rem, 3vw, 2rem); margin-bottom: 1.5rem;
}
.section-alt .feature-group:last-child { border-bottom: 1px solid var(--s-line); margin-bottom: 0; }
.feature-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem 1.5rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature-cards li { display: flex; gap: .7rem; align-items: flex-start; }
.feature-cards li > .bi { color: var(--s-accent); font-size: 1.2rem; line-height: 1.3; }
.feature-cards strong { display: block; margin-bottom: .15rem; }
.feature-cards p { margin: 0; color: var(--s-ink-2); font-size: .96rem; line-height: 1.55; }
.report-list-title { letter-spacing: .1em; }

.role-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.role-grid .module-card { flex-direction: column; }

.compare-wrap { overflow-x: auto; border-radius: var(--s-radius); border: 1px solid var(--s-steel-line); }
.compare { width: 100%; border-collapse: collapse; min-width: 640px; }
.compare th, .compare td { padding: .95rem 1.1rem; border-bottom: 1px solid var(--s-steel-line); vertical-align: top; }
.compare tbody tr:last-child th, .compare tbody tr:last-child td { border-bottom: 0; }
.compare thead th { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: #9fb3c8; font-weight: 700; }
.compare thead th:last-child { color: #fdba74; }
.compare tbody th { color: #fff; font-weight: 700; width: 28%; }
.compare td { color: #c9d6e3; }
.compare td:last-child { color: #fff; background: rgba(255, 255, 255, .04); }
.compare td .bi-x-circle { color: #f87171; margin-right: .35rem; }
.compare td .bi-check-circle-fill { color: #4ade80; margin-right: .35rem; }

/* Mega menu: pricing, demo and contact panels */
.mega-grid-pricing { grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, .95fr); }
.mega-plans { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
.mega-plan {
  display: flex; flex-direction: column; gap: .15rem; height: 100%;
  border: 1px solid var(--s-line); border-radius: 12px; padding: .75rem .9rem;
  color: var(--s-ink); text-decoration: none; background: var(--s-surface);
  transition: border-color .15s ease, box-shadow .15s ease;
}
.mega-plan:hover, .mega-plan:focus-visible { border-color: var(--s-accent); box-shadow: var(--s-shadow); color: var(--s-ink); }
.mega-plan-name { font-weight: 800; font-size: 1rem; display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; }
.mega-plan-limits { color: var(--s-muted); font-size: .82rem; }
.mega-plan-price { color: var(--s-accent); font-weight: 700; font-size: .92rem; margin-top: .2rem; }
.mega-offer { font-size: .7rem; font-weight: 700; color: var(--s-ok); background: #e8f6ee; border-radius: 999px; padding: .05rem .5rem; }
.mega-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; font-size: .92rem; color: var(--s-ink-2); }
.mega-checks li { display: flex; gap: .5rem; align-items: flex-start; line-height: 1.4; }
.mega-checks .bi { color: var(--s-accent); margin-top: .1rem; }
.mega-lead { color: var(--s-ink-2); font-size: .95rem; line-height: 1.5; margin-bottom: .9rem; }
.mega-roles { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.mega-roles li { display: flex; gap: .65rem; align-items: center; }
.mega-roles strong { display: block; font-size: .92rem; line-height: 1.2; }
.mega-roles small { display: block; color: var(--s-muted); font-size: .8rem; }
.mega-roles code { color: var(--s-ink-2); background: var(--s-paper-2); padding: 0 .3rem; border-radius: 4px; }
@media (max-width: 991.98px) {
  .mega-grid-pricing { grid-template-columns: 1fr; }
  .mega-plans { grid-template-columns: 1fr; }
  .mega-plan-limits, .mega-checks, .mega-lead, .mega-roles small { display: none; }
  .mega-col:has(.mega-checks) { display: none; }
}