@import url("https://fonts.googleapis.com/css2?family=Public+Sans:wght@400;500;600;700&display=swap");

/* ============================================================
   Cabuz marketing site — design system
   Refined, professional. Public Sans, restrained palette,
   thin-border surfaces, disciplined spacing.
   ============================================================ */

:root {
  --bg: #fafafa;
  --bg-alt: #f4f5f7;
  --surface: #ffffff;
  --surface-2: #f7f8fa;
  --border: #e5e7eb;
  --border-strong: #d1d5db;
  --ink: #0f172a;
  --ink-2: #334155;
  --ink-3: #64748b;
  --ink-4: #94a3b8;
  --brand: #0f3d5e;
  --brand-2: #154a72;
  --brand-3: #0a2c47;
  --brand-tint: #eef3f8;
  --accent: #b85e1f;
  --accent-tint: #f9efe6;
  --positive: #1f7a55;
  --positive-tint: #e7f2ec;

  --radius-xs: 6px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-lg: 14px;

  --shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 1px 3px rgba(15, 23, 42, 0.04), 0 8px 24px rgba(15, 23, 42, 0.05);

  --container: 1120px;
  --gutter: clamp(1rem, 4vw, 2rem);
  --section-y: clamp(3.5rem, 7vw, 5.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

code {
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  font-size: 0.92em;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Layout shell */

.site-shell {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

main {
  display: block;
}

/* Header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(8px);
  -webkit-backdrop-filter: saturate(180%) blur(8px);
}

.site-header > .brand,
.site-header > .site-nav {
  display: none;
}

.site-header::after {
  content: "";
}

.site-header {
  display: grid;
  grid-template-columns: 1fr;
}

.site-header .header-inner,
.site-header > * {
  /* fallback */
}

/* New header layout: brand + nav inside a centered container */
.site-header {
  padding: 0;
}

.site-header > .brand {
  display: inline-flex;
}

.site-header > .site-nav {
  display: inline-flex;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.85rem max(var(--gutter), calc((100% - var(--container)) / 2));
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.1;
}

.brand small {
  display: block;
  margin-top: 0.1rem;
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 400;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  background: var(--brand);
  color: #ffffff;
}

.brand-mark svg {
  width: 18px;
  height: 22px;
}

.site-nav {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
}

.site-nav a {
  color: var(--ink-2);
  font-size: 0.94rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.site-nav a:hover {
  color: var(--brand);
}

/* Buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 2.6rem;
  padding: 0.55rem 1.1rem;
  border: 1px solid var(--brand);
  border-radius: var(--radius-sm);
  background: var(--brand);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  cursor: pointer;
  transition:
    background 0.15s ease,
    border-color 0.15s ease,
    color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.button:hover {
  background: var(--brand-2);
  border-color: var(--brand-2);
}

.button:active {
  transform: translateY(1px);
}

.button-secondary {
  background: var(--surface);
  color: var(--brand);
  border-color: var(--border-strong);
}

.button-secondary:hover {
  background: var(--surface-2);
  color: var(--brand-2);
  border-color: var(--ink-3);
}

.button-ghost {
  background: transparent;
  color: var(--brand);
  border-color: transparent;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.button-ghost:hover {
  background: var(--brand-tint);
}

.button[disabled] {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

/* Section container helper */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Eyebrow */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 1rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.eyebrow::before {
  content: "";
  width: 0.35rem;
  height: 0.35rem;
  border-radius: 999px;
  background: var(--accent);
  flex: 0 0 auto;
}

.eyebrow.on-dark {
  color: rgba(255, 255, 255, 0.72);
}

.eyebrow.on-dark::before {
  background: var(--accent);
}

/* Typography */

h1, h2, h3, h4 {
  margin: 0;
  font-family: inherit;
  font-weight: 700;
  color: var(--ink);
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}

h2 {
  font-size: clamp(1.55rem, 3vw, 2.05rem);
  line-height: 1.18;
}

h3 {
  font-size: 1.1rem;
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p, li, dd, dt, label, input, textarea {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-2);
}

p {
  margin: 0;
}

/* Hero */

.hero {
  padding: clamp(3rem, 6vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.hero-inner {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.hero-copy {
  padding: 0;
  background: transparent;
  color: inherit;
}

.hero-copy h1 {
  margin: 0 0 1.1rem;
  max-width: 22ch;
}

.hero-text {
  margin: 0 0 1.6rem;
  max-width: 52ch;
  font-size: 1.075rem;
  color: var(--ink-2);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 2rem;
}

.proof-strip {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: grid;
  gap: 0.55rem;
  border-top: 1px solid var(--border);
  padding-top: 1.4rem;
}

.proof-strip li {
  position: relative;
  padding-left: 1.4rem;
  font-size: 0.95rem;
  color: var(--ink-2);
}

.proof-strip li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 0.65rem;
  height: 1px;
  background: var(--accent);
}

/* Hero panel — clean info card */

.hero-panel {
  padding: 1.4rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  display: grid;
  gap: 0;
}

.panel-label {
  margin: 0 0 0.85rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.hero-panel h2 {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.35;
  color: var(--ink);
  margin: 0 0 1rem;
  max-width: none;
}

.signal-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0;
}

.signal-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.85rem 0;
  border-top: 1px solid var(--border);
  font-size: 0.95rem;
  color: var(--ink-2);
}

.signal-list li:first-child {
  border-top: 0;
  padding-top: 0;
}

.signal-list li::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--brand);
  transform: translateY(0.45em);
}

.signal-list li a {
  color: var(--brand);
  font-weight: 600;
}

.signal-list li a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.panel-note {
  margin: 1rem 0 0;
  padding: 0.9rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--ink-3);
  font-size: 0.9rem;
  line-height: 1.55;
}

/* Generic section frame: full-bleed background, content centered to var(--container) */

.trust-band,
.showcase,
.capability-band,
.stats-band,
.pricing-band,
.faq-band,
.contact-grid,
.contact-hero,
.update-hero,
.update-section,
.update-cta {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: max(var(--gutter), calc((100% - var(--container)) / 2));
  padding-right: max(var(--gutter), calc((100% - var(--container)) / 2));
  padding-top: var(--section-y);
  padding-bottom: var(--section-y);
  background: var(--bg);
}

.section-rule {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 0.85rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.section-rule::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: var(--accent);
}

.section-rule.on-dark {
  color: rgba(255, 255, 255, 0.72);
}

.section-heading {
  margin-bottom: 1.6rem;
  max-width: 56ch;
}

.section-heading > p:not(.eyebrow):not(.section-rule) {
  margin-top: 0.6rem;
  color: var(--ink-2);
  max-width: 56ch;
}

/* Trust band — light section, two-column */

.trust-band {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.trust-band > article > p {
  color: var(--ink-2);
  margin-top: 0.6rem;
  max-width: 48ch;
}

.tapered-divider {
  display: block;
  height: 1px;
  margin: 1.4rem 0 0;
  background: var(--border);
  border: 0;
}

.tapered-divider.is-on-dark {
  background: rgba(255, 255, 255, 0.18);
}

.metric-grid {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.metric-grid div {
  padding: 1.1rem 1.15rem;
  border-radius: var(--radius-md);
  background: var(--surface);
  border: 1px solid var(--border);
}

.metric-grid dt {
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.2rem;
  font-size: 0.98rem;
}

.metric-grid dd {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.94rem;
}

/* Stats band — clean three-column proof row */

.stats-band {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.stats-band.is-dark {
  background: var(--brand-3);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.06);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.stat-tile {
  padding: 1.5rem 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid;
  gap: 0.5rem;
  align-content: start;
}

.stat-label {
  display: block;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0;
}

.stat-figure {
  display: block;
  font-size: clamp(1.6rem, 3vw, 2rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--brand);
  margin: 0;
}

.stat-figure em {
  font-style: normal;
}

.stat-figure .unit {
  font-size: 0.5em;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-3);
  text-transform: uppercase;
  margin-left: 0.4rem;
}

.stat-tile p {
  margin: 0;
  color: var(--ink-2);
  font-size: 0.95rem;
  line-height: 1.55;
}

.stats-band.is-dark .stat-tile {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.stats-band.is-dark .stat-label {
  color: rgba(255, 255, 255, 0.7);
}

.stats-band.is-dark .stat-figure {
  color: #ffffff;
}

.stats-band.is-dark .stat-figure .unit {
  color: rgba(255, 255, 255, 0.65);
}

.stats-band.is-dark .stat-tile p {
  color: rgba(255, 255, 255, 0.78);
}

.stats-band.is-dark h2,
.stats-band.is-dark .section-heading p {
  color: #ffffff;
}

.stats-band.is-dark .section-heading p {
  color: rgba(255, 255, 255, 0.78);
}

/* Showcase — product cards */

.showcase {
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.showcase-grid,
.capability-grid,
.contact-grid {
  display: grid;
  gap: 1rem;
}

.showcase-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.time-showcase-grid,
.workforce-showcase-grid,
.workforce-capability-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.workforce-showcase-grid > .showcase-card:nth-child(5) {
  grid-column: 1 / -1;
}

.workforce-showcase-grid > .showcase-card:nth-child(5) img {
  aspect-ratio: 21 / 9;
}

.showcase-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
  display: flex;
  flex-direction: column;
}

.showcase-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}

.showcase-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border-bottom: 1px solid var(--border);
}

.showcase-card > div {
  padding: 1.25rem 1.25rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex: 1;
}

.showcase-card.is-text-only > div {
  padding: 1.5rem 1.25rem 1.5rem;
  min-height: 0;
}

.card-step {
  position: absolute;
  top: 0.85rem;
  right: 1rem;
  margin: 0;
  font-family: inherit;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--ink-4);
}

.card-kicker {
  margin: 0;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.showcase-card h3 {
  margin: 0;
  color: var(--ink);
}

.showcase-card p {
  color: var(--ink-2);
  font-size: 0.96rem;
  margin: 0;
}

.showcase-card .button {
  margin-top: auto;
  align-self: flex-start;
}

/* Capability band */

.capability-band {
  border-bottom: 1px solid var(--border);
  background: var(--bg);
}

.capability-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.capability-grid article {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.capability-grid article p {
  color: var(--ink-2);
  font-size: 0.96rem;
}

/* Pull quote — restrained */

.pull-quote {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 3.5rem) var(--gutter);
  border-bottom: 1px solid var(--border);
  display: grid;
  gap: 0.8rem;
}

.pull-quote blockquote {
  margin: 0;
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  font-weight: 500;
  color: var(--ink);
  max-width: 60ch;
}

.pull-quote cite {
  display: block;
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-3);
}

.pull-quote cite span {
  display: block;
  margin-top: 0.25rem;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--ink-3);
  font-size: 0.92rem;
}

/* CTA band */

.cta-band {
  display: block;
}

.cta-band-inner,
.cta-band > div {
  /* the home page wraps content directly inside cta-band */
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1.5rem;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-left: max(var(--gutter), calc((100% - var(--container)) / 2));
  padding-right: max(var(--gutter), calc((100% - var(--container)) / 2));
  padding-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  background: var(--surface-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta-band > div:not(.cta-actions) {
  max-width: 56ch;
}

.cta-band p {
  color: var(--ink-2);
  margin-top: 0.6rem;
}

.cta-band h2 {
  max-width: 22ch;
}

.cta-actions {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.cta-band.dark-section,
.dark-section {
  background: var(--brand-3);
  color: #ffffff;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.cta-band.dark-section .button-secondary,
.dark-section .button-secondary {
  background: #ffffff;
  color: var(--brand);
  border-color: #ffffff;
}

.cta-band.dark-section .button-secondary:hover,
.dark-section .button-secondary:hover {
  background: var(--bg-alt);
  color: var(--brand-2);
}

.cta-band.dark-section .button-ghost,
.dark-section .button-ghost {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.4);
}

.cta-band.dark-section .button-ghost:hover,
.dark-section .button-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
}

.cta-band.dark-section h2,
.dark-section h2 {
  color: #ffffff;
}

.cta-band.dark-section p,
.dark-section p {
  color: rgba(255, 255, 255, 0.78);
}

.cta-band.dark-section .eyebrow,
.dark-section .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

/* Contact pages */

.contact-hero {
  padding-top: clamp(3rem, 6vw, 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.contact-hero > div {
  padding: 0;
}

.contact-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.contact-card,
.contact-side-card {
  padding: 1.4rem;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.contact-card p,
.contact-side-card p {
  color: var(--ink-2);
}

.contact-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.8rem;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: 0.96rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(15, 61, 94, 0.18);
  outline-offset: 1px;
  border-color: var(--brand);
}

.form-note,
.banner {
  margin-top: 1rem;
  padding: 0.8rem 0.9rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  font-size: 0.92rem;
}

.form-note {
  background: var(--accent-tint);
  color: #7a4015;
  border-color: rgba(184, 94, 31, 0.18);
}

.banner-success {
  background: var(--positive-tint);
  color: #155b3d;
  border-color: rgba(31, 122, 85, 0.18);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1.4rem;
}

/* Update / customer-update articles */

.update-main {
  display: grid;
  justify-items: center;
}

.update-article {
  width: min(920px, 100%);
}

.update-hero {
  background: var(--brand-3);
  color: #ffffff;
  border-radius: 0;
}

.update-hero .eyebrow,
.update-cta .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.update-hero h1 {
  color: #ffffff;
}

.update-meta {
  display: inline-flex;
  margin: 1rem 0 0;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.84);
  font-weight: 500;
  font-size: 0.85rem;
}

.update-intro {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 1.05rem;
  margin-top: 1rem;
}

.update-section {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}

.update-section h2 {
  max-width: 22ch;
}

.update-section p {
  max-width: 64ch;
  color: var(--ink-2);
}

.update-highlight {
  background: var(--accent-tint);
}

.update-cta {
  background: var(--brand-3);
  color: #ffffff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1.5rem;
  align-items: end;
}

.update-cta p {
  max-width: 56ch;
  color: rgba(255, 255, 255, 0.82);
}

.update-cta h2 {
  color: #ffffff;
}

.update-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.update-side-rail {
  position: sticky;
  top: 5rem;
  display: grid;
  gap: 0.3rem;
  padding: 1rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.update-side-rail p {
  margin: 0 0 0.4rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.update-side-rail a {
  display: block;
  padding: 0.4rem 0.55rem;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--ink-2);
  transition: background 0.15s ease, color 0.15s ease;
}

.update-side-rail a:hover,
.update-side-rail a.is-current {
  color: var(--brand);
  background: var(--brand-tint);
}

.has-dropcap p:first-of-type::first-letter {
  float: left;
  font-family: inherit;
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 0.9;
  margin: 0.25rem 0.55rem 0 0;
  color: var(--brand);
}

/* Footer */

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding: 2rem max(var(--gutter), calc((100% - var(--container)) / 2));
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.site-footer p {
  margin: 0.2rem 0 0;
  color: var(--ink-3);
  font-size: 0.92rem;
  max-width: 36ch;
}

.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
}

.footer-links a {
  color: var(--ink-2);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.15s ease;
}

.footer-links a:hover {
  color: var(--brand);
}

/* Error shell */

.error-shell {
  max-width: 38rem;
  margin: 12vh auto 0;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.error-shell p {
  color: var(--ink-2);
}

/* Browser-chrome wrapper for product screenshots */

.browser-chrome {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface-2);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.browser-chrome-bar {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.6rem 0.85rem;
  border-bottom: 1px solid var(--border);
  background: var(--surface-2);
}

.browser-chrome-dots {
  display: inline-flex;
  gap: 0.35rem;
}

.browser-chrome-dots span {
  display: inline-block;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--ink-4);
  opacity: 0.55;
}

.browser-chrome-url {
  flex: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink-3);
  font-size: 0.74rem;
  font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
  letter-spacing: 0.02em;
}

.browser-chrome-url::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--positive);
  opacity: 0.7;
}

.browser-chrome img {
  display: block;
  width: 100%;
  border-radius: 0;
  border: 0;
  box-shadow: none;
}

/* Floating UI callouts (Workforce hero) */

.float-callout-stack {
  position: relative;
}

.float-callout {
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink);
  z-index: 2;
}

.float-callout::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
}

.float-callout.is-positive::before {
  background: var(--positive);
}

.float-callout.is-warn::before {
  background: var(--accent);
}

.float-callout.pos-top-right {
  top: -0.85rem;
  right: -0.85rem;
}

.float-callout.pos-bottom-left {
  bottom: 0.85rem;
  left: -1rem;
}

.float-callout.pos-mid-right {
  top: 45%;
  right: -1.2rem;
}

/* Document preview (acronytor hero) */

.document-preview {
  display: grid;
  gap: 0.65rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.document-line {
  height: 0.55rem;
  border-radius: 999px;
  background: var(--brand-tint);
}

.document-line.short {
  width: 62%;
}

.document-preview table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--border);
}

.document-preview th,
.document-preview td {
  padding: 0.6rem 0.7rem;
  border-bottom: 1px solid var(--border);
  font-size: 0.86rem;
  line-height: 1.4;
  text-align: left;
}

.document-preview th {
  color: var(--brand);
  font-weight: 600;
  background: var(--surface-2);
}

.document-preview tr:last-child td {
  border-bottom: 0;
}

.panel-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

/* Acronym rotator (Acronytor hero) */

.acronym-rotator {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  margin: 0.4rem 0 0;
  font-family: inherit;
  font-size: clamp(1.15rem, 2.4vw, 1.4rem);
  letter-spacing: -0.01em;
  font-weight: 600;
  color: var(--ink);
}

.acronym-rotator .acronym-key {
  color: var(--brand);
  font-weight: 700;
}

.acronym-rotator .acronym-arrow {
  color: var(--ink-4);
  font-size: 0.8em;
  transform: translateY(-0.05em);
}

.acronym-rotator .acronym-value {
  position: relative;
  display: inline-block;
  min-width: 14ch;
  border-right: 2px solid var(--ink-3);
  animation: caret-blink 1.05s steps(1) infinite;
}

@keyframes caret-blink {
  50% {
    border-right-color: transparent;
  }
}

@media (prefers-reduced-motion: reduce) {
  .acronym-rotator .acronym-value {
    border-right-color: transparent;
    animation: none;
  }
}

/* Display statement (used on a few sub-pages) */

.display-statement {
  margin: 0;
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 22ch;
}

.display-statement.on-dark {
  color: #ffffff;
}

.display-statement em {
  font-style: normal;
  color: var(--accent);
}

/* Motion primitives — subtle */

[data-reveal-ready] [data-reveal] {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal-ready] [data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal-ready] [data-reveal-words] .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(0.3em);
  animation: word-rise 0.55s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: var(--word-delay, 0ms);
}

[data-reveal-ready] [data-reveal-words] .word-space {
  display: inline-block;
  width: 0.3em;
}

@keyframes word-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal-ready] [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  [data-reveal-ready] [data-reveal-words] .word {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

/* Decorative SVG accents (kept as no-op containers; legacy markup) */

.accent-arc,
.accent-stamp,
.hero-mark,
.panel-mark {
  display: none !important;
}

/* Compact header alias (legacy) */

.compact-header {
  margin-bottom: 0;
}

/* Responsive */

@media (max-width: 980px) {
  .hero-inner,
  .contact-hero,
  .trust-band,
  .contact-grid,
  .showcase-grid,
  .time-showcase-grid,
  .workforce-showcase-grid,
  .workforce-capability-grid,
  .capability-grid,
  .stats-grid,
  .cta-band,
  .update-cta,
  .update-layout {
    grid-template-columns: 1fr;
  }

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

  .workforce-showcase-grid > .showcase-card:nth-child(5) {
    grid-column: auto;
  }

  .update-side-rail {
    position: static;
  }

  .site-header {
    flex-wrap: wrap;
    gap: 0.75rem;
  }

  .site-nav {
    gap: 1.1rem;
  }
}

@media (max-width: 680px) {
  .site-header,
  .site-footer {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .hero {
    padding: 2.5rem 0 2rem;
  }

  .trust-band,
  .showcase,
  .capability-band,
  .stats-band,
  .pricing-band,
  .faq-band,
  .cta-band,
  .pull-quote,
  .contact-hero,
  .update-section,
  .update-cta {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  .hero-actions,
  .cta-actions,
  .contact-links {
    width: 100%;
  }

  .hero-actions .button,
  .cta-actions .button {
    flex: 1 1 auto;
  }
}

/* Pricing band */
.pricing-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
  background: var(--surface-2);
}

.pricing-headline {
  max-width: 36rem;
}

.pricing-figure {
  font-family: inherit;
  font-size: clamp(2.6rem, 5.4vw, 3.8rem);
  font-weight: 700;
  line-height: 1.05;
  margin: 0.4rem 0 0.8rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.pricing-currency {
  font-size: 0.7em;
  vertical-align: 0.12em;
  margin-right: 0.04em;
  color: var(--ink-2);
  font-weight: 600;
}

.pricing-suffix {
  font-size: 0.34em;
  font-weight: 500;
  letter-spacing: 0;
  color: var(--ink-3);
  vertical-align: 0.5em;
  margin-left: 0.3em;
}

.pricing-sub {
  font-size: 1rem;
  color: var(--ink-2);
  margin: 0 0 1.4rem;
}

.pricing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.pricing-meta {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
  align-self: center;
}

.pricing-meta li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.45;
}

.pricing-meta li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.85rem;
  height: 1px;
  background: var(--accent);
}

/* FAQ band */
.faq-band {
  background: var(--bg);
}

.faq-band .section-heading {
  margin-bottom: 2rem;
}

.faq-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
  max-width: 64rem;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 2.5rem 1.25rem 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  position: relative;
  line-height: 1.4;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "";
  position: absolute;
  right: 0.25rem;
  top: 50%;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 1.5px solid var(--ink-2);
  border-bottom: 1.5px solid var(--ink-2);
  transform: translateY(-65%) rotate(45deg);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-item summary:hover {
  color: var(--brand);
}

.faq-item summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  border-radius: 2px;
}

.faq-item > p {
  margin: 0 0 1.5rem;
  padding-right: 2.5rem;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--ink-2);
  max-width: 60ch;
}

/* Footer legal/security cluster */
.site-footer .footer-legal {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.site-footer .footer-legal-label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.site-footer .footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
}

.site-footer .footer-legal-links a {
  font-size: 0.85rem;
  color: var(--ink-2);
}

.site-footer .footer-legal-links a:hover {
  color: var(--ink);
}

@media (max-width: 760px) {
  .pricing-band {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .faq-item summary {
    padding-right: 2rem;
    font-size: 1rem;
  }
}

/* ============================================================
   Workforce showcase — alternating workflow rows
   Used on /workforce. Each row is a large screenshot paired
   with descriptive copy; rows alternate sides on desktop and
   stack copy-above-image on small screens.
   ============================================================ */

.workflow-rows {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  gap: clamp(2.5rem, 5vw, 4rem);
}

.workflow-row {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.workflow-row.is-reversed .workflow-row-copy {
  order: 2;
}

.workflow-row.is-reversed .workflow-row-figure {
  order: 1;
}

.workflow-row-copy {
  display: grid;
  gap: 0.6rem;
  max-width: 48ch;
}

.workflow-row-copy h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.workflow-row-copy p {
  color: var(--ink-2);
  font-size: 1rem;
  line-height: 1.65;
}

.workflow-row-figure {
  margin: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  background: var(--surface);
  aspect-ratio: 1264 / 800;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.workflow-row-figure a {
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}

.workflow-row-figure:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.workflow-row-figure a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: var(--radius-md);
}

.workflow-row-figure img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left top;
}

/* Workforce features: 4-up instead of the default 3-up capability-grid */

.capability-grid.workforce-features-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

/* ============================================================
   Demo dialog — gated walkthrough request on /workforce
   ============================================================ */

.demo-dialog {
  border: 0;
  padding: 0;
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.2);
  max-width: 32rem;
  width: calc(100% - 2rem);
  color: var(--ink);
}

.demo-dialog::backdrop {
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(2px);
}

.demo-dialog-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.4rem 0;
}

.demo-dialog-header h2 {
  margin-top: 0.4rem;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  max-width: 26ch;
}

.demo-dialog-close {
  appearance: none;
  background: transparent;
  border: 0;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--ink-3);
  cursor: pointer;
  padding: 0.25rem 0.4rem;
  border-radius: var(--radius-sm);
  margin-top: -0.25rem;
}

.demo-dialog-close:hover {
  color: var(--ink);
  background: var(--surface-2);
}

.demo-dialog-body,
.demo-dialog-success {
  padding: 0.6rem 1.4rem 1.4rem;
  display: grid;
  gap: 0.85rem;
}

.demo-dialog-intro {
  color: var(--ink-2);
  font-size: 0.95rem;
  margin: 0;
}

.demo-field {
  display: grid;
  gap: 0.3rem;
}

.demo-field-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.demo-field-hint {
  font-size: 0.78rem;
  color: var(--ink-3);
}

.demo-field input[type="text"],
.demo-field input[type="email"],
.demo-field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.75rem;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.demo-field input:focus,
.demo-field textarea:focus {
  outline: 0;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(15, 61, 94, 0.15);
}

.demo-field textarea {
  resize: vertical;
  min-height: 4rem;
}

.demo-turnstile {
  min-height: 65px;
}

.demo-honeypot {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
  height: 0;
  width: 0;
}

.demo-error {
  margin: 0;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.9rem;
}

.demo-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  margin-top: 0.25rem;
}

.demo-dialog-success h3 {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-top: 0.4rem;
}

.demo-dialog-success [data-demo-video-link] {
  align-self: flex-start;
}

@media (max-width: 540px) {
  .demo-dialog {
    max-width: 100%;
    width: calc(100% - 1rem);
  }

  .demo-actions {
    flex-direction: column-reverse;
  }

  .demo-actions .button {
    width: 100%;
  }
}

@media (max-width: 980px) {
  .workflow-row {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .workflow-row.is-reversed .workflow-row-copy,
  .workflow-row.is-reversed .workflow-row-figure {
    order: initial;
  }

  .capability-grid.workforce-features-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .capability-grid.workforce-features-grid {
    grid-template-columns: 1fr;
  }
}
