/* WordJog — Enterprise banking SaaS design system */
:root {
  --navy: #1e2a6e;
  --navy-deep: #162056;
  --indigo: #2d368e;
  --blue: #3b5bdb;
  --blue-bright: #4263eb;
  --blue-soft: #eef2ff;
  --blue-mist: #f5f7ff;
  --blue-glow: rgba(66, 99, 235, 0.28);
  --slate: #64748b;
  --slate-dark: #475569;
  --ink: #1e293b;
  --border: #e2e8f0;
  --border-soft: #edf0f7;
  --white: #ffffff;
  --success: #0d9488;
  --warn: #d97706;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-sm: 0 1px 2px rgba(30, 42, 110, 0.04);
  --shadow: 0 8px 30px rgba(30, 42, 110, 0.08);
  --shadow-glow: 0 8px 24px var(--blue-glow);
  --font: "Plus Jakarta Sans", "Segoe UI", sans-serif;
  --max: 1120px;
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: min(100% - 48px, var(--max));
  margin-inline: auto;
}

/* ——— Header ——— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
  padding-top: env(safe-area-inset-top);
}

.site-header.scrolled {
  border-bottom-color: var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}

.logo-jog {
  color: #dc143c;
}

.logo-dot {
  color: var(--navy);
}

.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav a {
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--slate-dark);
  border-radius: var(--radius-pill);
  transition: background 0.15s, color 0.15s;
}

.nav a:hover {
  color: var(--navy);
  background: var(--blue-mist);
}

.nav a.active {
  color: var(--indigo);
  background: var(--blue-soft);
}

.header-cta {
  flex-shrink: 0;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.nav-toggle svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
}

/* ——— Buttons ——— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-size: 0.925rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--blue-bright);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--blue);
  box-shadow: 0 10px 28px rgba(66, 99, 235, 0.35);
}

.btn-secondary {
  background: var(--white);
  color: var(--indigo);
  border: 1.5px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--blue-bright);
  background: var(--blue-mist);
}

.btn-ghost {
  color: var(--indigo);
  padding-inline: 16px;
}

.btn-ghost:hover {
  background: var(--blue-mist);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* ——— Hero ——— */
.hero {
  padding: 48px 0 28px;
  text-align: center;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(66, 99, 235, 0.09), transparent),
    linear-gradient(180deg, var(--blue-mist) 0%, var(--white) 70%);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  margin-bottom: 24px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-soft);
  border-radius: var(--radius-pill);
  letter-spacing: 0.02em;
}

.hero h1 {
  max-width: 820px;
  margin: 0 auto 20px;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.03em;
  color: var(--navy-deep);
}

.hero h1 em {
  font-style: normal;
  color: var(--blue-bright);
}

.hero-sub {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: 1.05rem;
  color: var(--slate);
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

/* ——— Feature tabs (Morpheo-style) ——— */
.feature-tabs-wrap {
  width: min(100% - 24px, 900px);
  margin: 0 auto 32px;
}

.feature-tabs {
  display: flex;
  align-items: stretch;
  gap: 4px;
  padding: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow);
  overflow-x: auto;
  scrollbar-width: none;
}

.feature-tabs::-webkit-scrollbar {
  display: none;
}

.feature-tab {
  flex: 1;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 16px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-dark);
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.feature-tab svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-tab:hover {
  color: var(--indigo);
  background: var(--blue-mist);
}

.feature-tab.active {
  color: var(--white);
  background: var(--blue-bright);
  box-shadow: var(--shadow-glow);
}

/* ——— Showcase panel ——— */
.showcase {
  width: min(100% - 24px, var(--max));
  margin: 0 auto 40px;
  padding: 28px;
  background: linear-gradient(145deg, #e8edff 0%, #f0f4ff 50%, #eef6ff 100%);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(66, 99, 235, 0.08);
  min-height: 380px;
}

.showcase-panels {
  display: block;
}

.showcase-panels > [data-panel] {
  display: none;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: center;
  animation: fadeIn 0.35s ease;
}

.showcase-panels > [data-panel].active {
  display: grid;
}

.showcase-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
  margin-bottom: 10px;
}

.showcase-copy h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.3;
}

.showcase-copy p {
  color: var(--slate);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.showcase-copy ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.showcase-copy li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--slate-dark);
}

.showcase-copy li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 7px;
  border-radius: 50%;
  background: var(--blue-bright);
  flex-shrink: 0;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Product mockup */
.product-mock {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 48px;
  min-height: 300px;
}

.mock-main {
  padding: 20px;
}

.mock-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.mock-desc {
  font-size: 0.8rem;
  color: var(--slate);
  margin-bottom: 16px;
}

.mock-toolbar {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.mock-select,
.mock-search {
  padding: 8px 12px;
  font-size: 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--slate-dark);
  background: var(--white);
}

.mock-search {
  flex: 1;
  min-width: 140px;
}

.mock-card {
  padding: 14px;
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  background: var(--blue-mist);
}

.mock-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.mock-card h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
}

.badge {
  display: inline-flex;
  padding: 3px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: var(--radius-pill);
  white-space: nowrap;
}

.badge-partial {
  background: #fef3c7;
  color: #b45309;
}

.badge-ok {
  background: #ccfbf1;
  color: #0f766e;
}

.badge-review {
  background: var(--blue-soft);
  color: var(--blue);
}

.mock-meta {
  font-size: 0.75rem;
  color: var(--slate);
  margin-bottom: 12px;
}

.mock-actions {
  display: flex;
  gap: 8px;
}

.mock-btn {
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 8px;
  border: 1px solid var(--border);
  color: var(--indigo);
  background: var(--white);
}

.mock-sidebar {
  background: #f8fafc;
  border-left: 1px solid var(--border-soft);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
}

.mock-sidebar span {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  color: var(--slate);
}

.mock-sidebar span.active {
  background: var(--blue-soft);
  color: var(--blue-bright);
}

.mock-sidebar svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
}

/* Home page — hero & showcase rhythm */
.home .hero {
  padding: 48px 0 28px;
}

.home .hero-eyebrow {
  margin-bottom: 16px;
}

.home .hero h1 {
  margin-bottom: 14px;
}

.home .hero-sub {
  margin-bottom: 24px;
}

.home .hero-ctas {
  margin-bottom: 28px;
}

.home .feature-tabs-wrap {
  margin-bottom: 20px;
}

.home .problem-grid,
.home .flow-steps,
.home .usecase-grid {
  gap: 16px;
}

.home .flow-step {
  padding: 24px 20px;
}

.home .usecase-card {
  padding: 22px;
}

.home .highlight-band {
  gap: 36px;
  padding: 36px;
}

.home .trust-row {
  margin-bottom: 24px;
}

/* ——— Sections ——— */
.section {
  padding: 48px 0;
}

.section-alt {
  background: linear-gradient(180deg, var(--blue-mist) 0%, var(--white) 100%);
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 28px;
}

.section-head .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
  margin-bottom: 12px;
}

.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.025em;
  margin-bottom: 12px;
  line-height: 1.3;
}

.section-head p {
  color: var(--slate);
  font-size: 1.05rem;
}

.section-head.left {
  text-align: left;
  margin-left: 0;
  max-width: 560px;
}

/* Problem bullets */
.problem-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.problem-card {
  padding: 24px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.problem-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}

.problem-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue-bright);
  border-radius: 12px;
  margin-bottom: 16px;
}

.problem-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.problem-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.problem-card p {
  font-size: 0.875rem;
  color: var(--slate);
}

/* Flow steps */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  position: relative;
}

.flow-step {
  text-align: center;
  padding: 32px 24px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  position: relative;
}

.flow-num {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-bright);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50%;
  box-shadow: var(--shadow-glow);
}

.flow-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.flow-step p {
  font-size: 0.9rem;
  color: var(--slate);
}

/* Use case cards */
.usecase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.usecase-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.usecase-card:hover {
  border-color: rgba(66, 99, 235, 0.35);
  box-shadow: var(--shadow);
}

.usecase-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.usecase-card p {
  font-size: 0.9rem;
  color: var(--slate);
  margin-bottom: 16px;
}

.usecase-card a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--blue-bright);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.usecase-card a:hover {
  text-decoration: underline;
}

/* Highlight band */
.highlight-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 48px;
  background: var(--navy-deep);
  border-radius: var(--radius-lg);
  color: var(--white);
  overflow: hidden;
  position: relative;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.highlight-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 90% 20%, rgba(66, 99, 235, 0.4), transparent 45%),
    radial-gradient(circle at 10% 80%, rgba(59, 91, 219, 0.25), transparent 40%);
  pointer-events: none;
}

.highlight-band > * {
  position: relative;
  min-width: 0;
  max-width: 100%;
}

.highlight-band h2 {
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
  line-height: 1.3;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.highlight-band p {
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 24px;
  font-size: 1rem;
  overflow-wrap: break-word;
}

.highlight-band .btn {
  white-space: normal;
  max-width: 100%;
  text-align: center;
  line-height: 1.35;
}

.highlight-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.highlight-points li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.925rem;
  color: rgba(255, 255, 255, 0.9);
  min-width: 0;
}

.highlight-points li span,
.highlight-points li {
  overflow-wrap: break-word;
}

.highlight-points li svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  stroke: #93c5fd;
  fill: none;
  stroke-width: 2;
  margin-top: 2px;
}

/* Trust / proof */
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 32px;
  margin-bottom: 40px;
}

.trust-chip {
  padding: 10px 20px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.metric {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
}

.metric strong {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue-bright);
  letter-spacing: -0.03em;
  margin-bottom: 6px;
}

.metric span {
  font-size: 0.875rem;
  color: var(--slate);
}

/* CTA form band */
.cta-band {
  padding: 40px 36px;
  background: linear-gradient(135deg, var(--blue-mist), #e8f0ff);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(66, 99, 235, 0.1);
  text-align: center;
}

.cta-band h2 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 10px;
  letter-spacing: -0.02em;
}

.cta-band > p {
  color: var(--slate);
  margin-bottom: 28px;
  max-width: 480px;
  margin-inline: auto;
}

.cta-form {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 640px;
  margin: 0 auto;
}

.cta-form select,
.cta-form input {
  padding: 12px 16px;
  font-size: 0.9rem;
  font-family: inherit;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--white);
  color: var(--ink);
  min-width: 180px;
}

.cta-form select:focus,
.cta-form input:focus {
  outline: 2px solid rgba(66, 99, 235, 0.35);
  outline-offset: 1px;
}

/* ——— Page hero (inner pages) ——— */
.page-hero {
  padding: 40px 0 32px;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(66, 99, 235, 0.08), transparent),
    var(--blue-mist);
  border-bottom: 1px solid var(--border-soft);
}

.page-hero h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.03em;
  margin-bottom: 14px;
  line-height: 1.25;
  max-width: 720px;
}

.page-hero p {
  font-size: 1.1rem;
  color: var(--slate);
  max-width: 600px;
  line-height: 1.65;
}

/* Workflow sections */
.workflow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
  padding: 36px 0;
  border-bottom: 1px solid var(--border-soft);
}

.workflow:last-child {
  border-bottom: none;
}

.workflow-card {
  grid-template-columns: 1.15fr 0.85fr;
  gap: 28px 40px;
  padding: 28px;
  margin-bottom: 20px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(245, 247, 255, 0.9), var(--white) 40%);
  box-shadow: var(--shadow-sm);
  border-bottom: 1px solid var(--border-soft);
}

.workflow-card:last-child {
  margin-bottom: 0;
}

.workflow-features {
  grid-column: 1 / -1;
  min-width: 0;
}

.workflow-main,
.workflow-aside {
  min-width: 0;
}

.workflow-aside {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: start;
}

.workflow-aside .workflow-features {
  grid-column: auto;
}

.aside-snapshot {
  padding: 14px 16px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.aside-snapshot-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-dark);
  margin-bottom: 10px;
}

.aside-stats {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aside-stat {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 8px 10px;
  border-radius: 10px;
  background: var(--blue-mist);
}

.aside-stat span {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-bright);
  padding-top: 2px;
}

.aside-stat strong {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--navy-deep);
  line-height: 1.4;
}

.workflow-aside .feature-carousel {
  margin: 0;
}

.workflow-aside .feature-slide {
  flex: 0 0 min(200px, 82%);
  padding: 12px;
}

.workflow-aside .feature-slide h3 {
  font-size: 0.875rem;
}

.workflow-aside .feature-slide p {
  font-size: 0.78rem;
}

.workflow-num {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
  margin-bottom: 8px;
}

.workflow h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.workflow > div > p,
.workflow-main > p {
  color: var(--slate);
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.detail-list li {
  padding: 14px 16px;
  background: var(--blue-mist);
  border-radius: 12px;
  border-left: 3px solid var(--blue-bright);
}

.detail-list strong {
  display: block;
  font-size: 0.85rem;
  color: var(--navy);
  margin-bottom: 4px;
}

.detail-list span {
  font-size: 0.85rem;
  color: var(--slate);
}

.mini-flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.mini-flow-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 0;
  position: relative;
}

.mini-flow-step:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 15px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.mini-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-soft);
  color: var(--blue-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.mini-flow-step:last-child .mini-dot {
  background: var(--blue-bright);
  color: var(--white);
}

.mini-flow-step h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 2px;
}

.mini-flow-step p {
  font-size: 0.8rem;
  color: var(--slate);
}

/* Platform feature blocks */
.platform-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 40px 0;
}

.platform-block:nth-child(even) {
  direction: rtl;
}

.platform-block:nth-child(even) > * {
  direction: ltr;
}

.platform-block h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.platform-block p {
  color: var(--slate);
  margin-bottom: 16px;
  font-size: 0.95rem;
}

.platform-block ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.platform-block li {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--slate-dark);
}

.platform-block li::before {
  content: "✓";
  color: var(--blue-bright);
  font-weight: 700;
  flex-shrink: 0;
}

.platform-visual {
  padding: 32px;
  background: linear-gradient(145deg, #e8edff, #f5f7ff);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(66, 99, 235, 0.1);
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.pv-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}

.pv-row .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--blue-bright);
}

.pv-row .bar {
  flex: 1;
  height: 6px;
  background: var(--blue-soft);
  border-radius: 3px;
  overflow: hidden;
}

.pv-row .bar i {
  display: block;
  height: 100%;
  background: var(--blue-bright);
  border-radius: 3px;
}

/* Timeline */
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.timeline-item {
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  position: relative;
}

.timeline-item::before {
  content: attr(data-week);
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-bright);
  margin-bottom: 8px;
}

.timeline-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 0.8rem;
  color: var(--slate);
}

/* Resource cards */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.resource-card {
  padding: 28px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}

.resource-card:hover {
  box-shadow: var(--shadow);
}

.resource-type {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-bright);
  margin-bottom: 12px;
}

.resource-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.35;
}

.resource-card p {
  font-size: 0.875rem;
  color: var(--slate);
  flex: 1;
  margin-bottom: 16px;
}

/* FAQ */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  padding: 18px 22px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.faq-item summary::after {
  content: "+";
  font-size: 1.25rem;
  color: var(--blue-bright);
  font-weight: 400;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-item p {
  padding: 0 22px 18px;
  font-size: 0.9rem;
  color: var(--slate);
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
}

.avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-soft), #c7d2fe);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--indigo);
}

.team-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.team-card .role {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-bright);
  margin-bottom: 8px;
}

.team-card p {
  font-size: 0.85rem;
  color: var(--slate);
}

/* Contact paths */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.contact-card {
  padding: 32px 24px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  text-align: center;
}

.contact-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.contact-card p {
  font-size: 0.875rem;
  color: var(--slate);
  margin-bottom: 20px;
}

/* Case snippets */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.case-card {
  padding: 28px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
}

.case-card .tag {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-bright);
  margin-bottom: 12px;
}

.case-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.case-card p {
  font-size: 0.875rem;
  color: var(--slate);
  margin-bottom: 16px;
}

.case-stat {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--success);
}

/* Integration chips */
.integ-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.integ-chip {
  padding: 10px 16px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-dark);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
}

/* Footer */
.site-footer {
  padding: 40px 0 28px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  margin-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

.footer-brand .logo {
  color: var(--white);
  margin-bottom: 12px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.875rem;
  max-width: 280px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  padding: 5px 0;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.15s;
}

.footer-col a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8rem;
}

/* Calendly booking section */
.calendly-band {
  padding: 32px 28px 24px;
  background: linear-gradient(135deg, var(--blue-mist), #e8f0ff);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(66, 99, 235, 0.1);
}

.calendly-band .section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.calendly-frame {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border-soft);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  min-height: 700px;
}

.calendly-fallback {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9rem;
  color: var(--slate);
}

.calendly-fallback a {
  color: var(--blue-bright);
  font-weight: 600;
}

.calendly-fallback a:hover {
  text-decoration: underline;
}

@media (max-width: 600px) {
  .calendly-band {
    padding: 28px 16px 20px;
  }

  .calendly-frame {
    min-height: 620px;
  }

  .calendly-inline-widget {
    height: 620px !important;
  }
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 14px 20px;
  background: var(--navy-deep);
  color: var(--white);
  border-radius: 12px;
  font-size: 0.875rem;
  font-weight: 500;
  box-shadow: var(--shadow);
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  z-index: 200;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  inset: var(--header-h) 0 0 0;
  background: var(--white);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  z-index: 99;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav a {
  padding: 14px 16px;
  font-weight: 600;
  color: var(--navy);
  border-radius: 12px;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.mobile-nav a.active {
  background: var(--blue-soft);
  color: var(--indigo);
}

.mobile-nav .btn {
  margin-top: 12px;
  width: 100%;
  justify-content: center;
}

/* Responsive */
@media (max-width: 960px) {
  .container {
    width: min(100% - 32px, var(--max));
  }

  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-cta {
    display: none;
  }

  .hero {
    padding: 48px 0 28px;
  }

  .hero h1 {
    font-size: clamp(1.55rem, 6.5vw, 2.25rem);
  }

  .hero-sub {
    font-size: 0.98rem;
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
    margin-bottom: 36px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .feature-tabs-wrap {
    width: min(100% - 16px, 900px);
    margin-bottom: 20px;
  }

  .feature-tabs {
    border-radius: 20px;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 2px;
    padding: 5px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
  }

  .feature-tab {
    flex: 0 0 auto;
    min-width: 88px;
    padding: 12px 14px;
    scroll-snap-align: start;
    font-size: 0.78rem;
  }

  .feature-tab svg {
    width: 20px;
    height: 20px;
  }

  .showcase {
    width: min(100% - 16px, var(--max));
    padding: 20px;
    margin-bottom: 28px;
    min-height: 0;
  }

  .showcase-panels > [data-panel].active {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .showcase-copy h2 {
    font-size: 1.25rem;
  }

  .product-mock {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .mock-sidebar {
    display: none;
  }

  .mock-toolbar {
    flex-direction: column;
  }

  .mock-search,
  .mock-select {
    width: 100%;
  }

  .section {
    padding: 40px 0;
  }

  .section-head {
    margin-bottom: 24px;
  }

  .page-hero {
    padding: 32px 0 24px;
  }

  .home .showcase {
    margin-bottom: 28px;
    padding: 20px;
  }

  .home .cta-band,
  .cta-band {
    padding: 28px 20px;
  }

  .page-hero h1 {
    font-size: clamp(1.45rem, 6vw, 2rem);
  }

  .page-hero p {
    font-size: 1rem;
  }

  .problem-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .flow-steps,
  .usecase-grid,
  .metrics,
  .workflow,
  .platform-block,
  .highlight-band,
  .resource-grid,
  .team-grid,
  .contact-grid,
  .case-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .platform-block {
    gap: 24px;
    padding: 28px 0;
  }

  .platform-block:nth-child(even) {
    direction: ltr;
  }

  .workflow {
    gap: 24px;
    padding: 36px 0;
  }

  .workflow-card {
    padding: 24px 20px;
    gap: 24px;
  }

  .outcome-grid {
    grid-template-columns: 1fr 1fr;
  }

  .highlight-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
    padding: 32px 24px;
  }

  .highlight-band .btn {
    width: 100%;
    display: inline-flex;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px;
  }

  .toast {
    left: 16px;
    right: 16px;
    bottom: 16px;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(100% - 24px, var(--max));
  }

  .problem-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 36px 0 20px;
  }

  .hero-eyebrow {
    font-size: 0.72rem;
    padding: 5px 12px;
    max-width: 100%;
    text-align: center;
    line-height: 1.4;
  }

  .section {
    padding: 36px 0;
  }

  .home .section {
    padding: 32px 0;
  }

  .home .hero {
    padding: 32px 0 16px;
  }

  .cta-band,
  .highlight-band {
    padding: 24px 16px;
  }

  .cta-band h2,
  .highlight-band h2 {
    font-size: 1.25rem;
  }

  .highlight-band .btn {
    font-size: 0.875rem;
    padding: 12px 16px;
  }

  .cta-form {
    flex-direction: column;
  }

  .cta-form select,
  .cta-form input,
  .cta-form .btn {
    width: 100%;
    min-width: 0;
  }

  .problem-card,
  .usecase-card,
  .resource-card,
  .contact-card,
  .case-card,
  .flow-step {
    padding: 20px;
  }

  .metrics {
    gap: 12px;
  }

  .metric {
    padding: 20px 16px;
  }

  .metric strong {
    font-size: 1.5rem;
  }

  .timeline {
    gap: 12px;
  }

  .site-footer {
    padding: 40px 0 28px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .btn-lg {
    padding: 14px 22px;
    font-size: 0.95rem;
  }

  .mini-flow {
    padding: 20px;
  }

  .detail-list li {
    padding: 12px 14px;
  }

  .faq-item summary {
    padding: 16px 18px;
    font-size: 0.95rem;
    align-items: flex-start;
  }

  .faq-item p {
    padding: 0 18px 16px;
  }

  .platform-visual {
    padding: 20px;
    min-height: 0;
  }

  .integ-grid {
    gap: 8px;
  }

  .integ-chip {
    font-size: 0.8rem;
    padding: 8px 12px;
  }
}

/* Prevent horizontal overflow on small screens */
img,
svg,
video,
iframe {
  max-width: 100%;
}

.product-mock,
.mock-card,
.showcase,
.cta-band,
.highlight-band,
.calendly-band {
  max-width: 100%;
}

/* Onboarding checklist tool */
.checklist-form {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checklist-block {
  margin: 0;
  padding: 28px;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow-sm);
}

.checklist-block legend {
  padding: 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.checklist-hint {
  font-size: 0.9rem;
  color: var(--slate);
  margin: 4px 0 18px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-dark);
}

.field-full {
  grid-column: 1 / -1;
  margin-top: 12px;
}

.field span,
.field-label {
  display: block;
  margin-bottom: 2px;
}

.field-group {
  margin-top: 16px;
}

.field-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--slate-dark);
  margin-bottom: 10px;
}

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.925rem;
  font-weight: 500;
  color: var(--ink);
  padding: 11px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  width: 100%;
}

.field textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.5;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: 2px solid rgba(66, 99, 235, 0.35);
  outline-offset: 1px;
  border-color: var(--blue-bright);
}

.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--slate-dark);
  background: var(--blue-mist);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-pill);
  cursor: pointer;
  user-select: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.chip:hover {
  border-color: rgba(66, 99, 235, 0.35);
}

.chip:has(input:checked) {
  background: var(--blue-soft);
  border-color: var(--blue-bright);
  color: var(--navy);
  font-weight: 600;
}

.chip input {
  width: 16px;
  height: 16px;
  accent-color: var(--blue-bright);
  flex-shrink: 0;
}

.doc-group {
  margin-bottom: 22px;
}

.doc-group h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-bright);
  margin-bottom: 10px;
}

.gov-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.gov-list .field-full {
  margin-top: 8px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-soft);
}

.gov-list .field-full:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.checklist-actions {
  text-align: center;
  padding: 28px 24px;
  background: linear-gradient(135deg, var(--blue-mist), #e8f0ff);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(66, 99, 235, 0.1);
}

.checklist-actions-note {
  font-size: 0.875rem;
  color: var(--slate);
  margin-bottom: 18px;
}

.checklist-actions-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.checklist-status {
  margin-top: 16px;
  font-size: 0.875rem;
  color: var(--slate);
  min-height: 1.25em;
}

.checklist-status.is-ok {
  color: var(--success);
  font-weight: 600;
}

.checklist-status.is-error {
  color: #b91c1c;
  font-weight: 600;
}

@media (max-width: 720px) {
  .checklist-block {
    padding: 20px 16px;
  }

  .checklist-grid {
    grid-template-columns: 1fr;
  }

  .checklist-actions-btns {
    flex-direction: column;
  }

  .checklist-actions-btns .btn {
    width: 100%;
  }
}

/* Workflow-filtered document panels */
.req-note {
  font-style: normal;
  font-weight: 500;
  color: var(--slate);
  font-size: 0.8rem;
}

.docs-empty {
  padding: 20px 18px;
  margin: 0 0 16px;
  font-size: 0.9rem;
  color: var(--slate-dark);
  background: var(--blue-mist);
  border: 1px dashed rgba(66, 99, 235, 0.35);
  border-radius: 12px;
}

.docs-empty[hidden],
.workflow-docs[hidden],
.doc-group[hidden],
.docs-panels[hidden] {
  display: none !important;
}

.workflow-docs {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-soft);
}

.workflow-docs:last-child {
  border-bottom: none;
  margin-bottom: 8px;
  padding-bottom: 0;
}

.workflow-docs-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.doc-group h4 {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-bright);
  margin-bottom: 10px;
}

.doc-group {
  margin-bottom: 18px;
}

/* Checklist how-to steps */
.checklist-steps {
  max-width: 640px;
  margin: 20px 0 8px;
  padding: 20px 24px 20px 44px;
  background: var(--white);
  border: 1px solid rgba(66, 99, 235, 0.12);
  border-radius: var(--radius);
  color: var(--slate-dark);
  font-size: 0.925rem;
  line-height: 1.55;
  text-align: left;
}

.checklist-steps li {
  margin-bottom: 8px;
}

.checklist-steps li:last-child {
  margin-bottom: 0;
}

.checklist-steps a {
  color: var(--blue-bright);
  font-weight: 600;
}

.checklist-steps a:hover {
  text-decoration: underline;
}

.page-hero .hero-ctas {
  margin-top: 24px;
}

@media (max-width: 600px) {
  .checklist-steps {
    padding: 16px 16px 16px 36px;
    font-size: 0.875rem;
  }

  .page-hero .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    max-width: 360px;
  }

  .page-hero .hero-ctas .btn {
    width: 100%;
  }

  .outcome-grid {
    grid-template-columns: 1fr;
  }

  .doc-type-grid {
    grid-template-columns: 1fr;
  }

  .solution-jump {
    gap: 8px;
  }

  .solution-jump a {
    flex: 1 1 calc(50% - 8px);
    text-align: center;
  }

  .feature-slide {
    flex-basis: min(240px, 78vw);
  }

  .workflow-card {
    padding: 20px 16px;
  }
}

/* ——— Solutions page ——— */
.solutions-hero {
  padding-bottom: 28px;
}

.solutions-hero .hero-eyebrow {
  margin-bottom: 16px;
}

.solution-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.solution-jump a {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  font-size: 0.8125rem;
  font-weight: 600;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.solution-jump a:hover {
  border-color: rgba(66, 99, 235, 0.45);
  background: var(--blue-soft);
  color: var(--blue-bright);
}

.section-muted {
  background: var(--blue-mist);
  border-block: 1px solid var(--border-soft);
}

.section-head {
  max-width: 640px;
  margin-bottom: 28px;
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-bright);
  margin-bottom: 10px;
}

.section-head h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 700;
  color: var(--navy-deep);
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  line-height: 1.25;
}

.section-head p {
  color: var(--slate);
  font-size: 1rem;
  line-height: 1.6;
}

.outcomes-section {
  padding-top: 40px;
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.outcome-card {
  padding: 22px 20px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  min-width: 0;
}

.outcome-metric {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue-bright);
  background: var(--blue-soft);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.outcome-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.outcome-card p {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.55;
}

.doc-type-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.doc-type {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: 12px;
  min-width: 0;
}

.doc-type strong {
  font-size: 0.9rem;
  color: var(--navy-deep);
}

.doc-type span {
  font-size: 0.825rem;
  color: var(--slate);
  line-height: 1.45;
}

/* Compact feature carousels */
.feature-carousel {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 18px 18px 14px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  max-width: 100%;
}

.feature-carousel--compact {
  padding: 14px 14px 12px;
  background: rgba(255, 255, 255, 0.72);
}

.feature-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.feature-carousel-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-dark);
}

.feature-carousel-controls {
  display: flex;
  gap: 6px;
}

.carousel-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.carousel-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-btn:hover {
  border-color: rgba(66, 99, 235, 0.4);
  background: var(--blue-soft);
  color: var(--blue-bright);
}

.carousel-btn:focus-visible {
  outline: 2px solid rgba(66, 99, 235, 0.45);
  outline-offset: 2px;
}

.feature-carousel-track {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 4px;
  margin: 0 -2px;
  padding-inline: 2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.feature-carousel-track::-webkit-scrollbar {
  display: none;
}

.feature-slide {
  flex: 0 0 min(260px, 72%);
  scroll-snap-align: start;
  min-width: 0;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--border-soft);
  background: linear-gradient(165deg, var(--blue-mist), var(--white) 55%);
}

.feature-carousel--compact .feature-slide {
  flex-basis: min(220px, 70%);
  padding: 14px;
}

.feature-slide-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-soft);
  color: var(--blue-bright);
  margin-bottom: 12px;
}

.feature-slide-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-slide h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 6px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.feature-slide p {
  font-size: 0.8125rem;
  color: var(--slate);
  line-height: 1.5;
}

.feature-carousel-dots {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  min-height: 10px;
}

.feature-carousel-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}

.feature-carousel-dots button[aria-current="true"] {
  background: var(--blue-bright);
  transform: scale(1.15);
}

@media (max-width: 960px) {
  .outcome-grid {
    grid-template-columns: 1fr 1fr;
  }

  .doc-type-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Compact process step carousels */
.step-carousel {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 16px;
  min-width: 0;
  max-width: 100%;
}

.step-carousel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.step-carousel-viewport {
  position: relative;
  min-height: 108px;
}

.step-slide {
  display: none;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 12px;
  background: linear-gradient(165deg, var(--blue-mist), var(--white) 70%);
  border: 1px solid var(--border-soft);
  animation: stepFadeIn 0.35s ease;
}

.step-slide.active {
  display: flex;
}

.step-slide-num {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-bright);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(66, 99, 235, 0.28);
}

.step-slide-body {
  min-width: 0;
}

.step-slide-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy-deep);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.step-slide-body p {
  font-size: 0.825rem;
  color: var(--slate);
  line-height: 1.5;
  margin: 0;
}

.step-carousel-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
}

.step-carousel-dots button {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--border);
  padding: 0;
  transition: background 0.15s, transform 0.15s;
}

.step-carousel-dots button[aria-current="true"] {
  background: var(--blue-bright);
  transform: scale(1.15);
}

@keyframes stepFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
