/* Fabrilo main styles | version 20260406380000 */

:root {
  --ink: #0b1f3b;
  --ink-muted: #3d4f6f;
  --surface: #f6f8fb;
  --card: #ffffff;
  --line: #e2e8f0;
  --accent: #0d6e6e;
  --accent-bright: #26c9b8;
  --shadow: 0 20px 50px rgba(11, 31, 59, 0.08);
  --radius: 14px;
  --max: 1080px;
  --fab-tint: #ecfdf5;
  --fab-tint-2: #f0fdfa;
  --fab-border-accent: rgba(13, 110, 110, 0.22);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
}
html[lang="ru"] body,
html[lang="tr"] body {
  font-family: "Noto Sans", "DM Sans", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

.wrap { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -120px;
  z-index: 100;
  padding: 0.65rem 1.1rem;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(11, 31, 59, 0.25);
  transition: top 0.18s ease;
}
.skip-link:focus {
  top: 1rem;
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 248, 251, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 0.7rem 0;
}
.nav-cluster {
  display: flex;
  align-items: center;
  gap: 1rem 1.35rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.lang-dropdown {
  position: relative;
  z-index: 50;
}
.lang-dropdown__toggle {
  margin: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.65rem 0.4rem 0.55rem;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(11, 31, 59, 0.1), 0 1px 2px rgba(11, 31, 59, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.lang-dropdown__toggle:hover {
  border-color: #cbd5e1;
  box-shadow:0 8px 26px rgba(11, 31, 59, 0.12), 0 2px 4px rgba(11, 31, 59, 0.06);
}
.lang-dropdown__toggle:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}
.lang-dropdown__toggle[aria-expanded="true"] {
  border-color: rgba(13, 110, 110, 0.35);
  box-shadow: 0 10px 28px rgba(11, 31, 59, 0.14), 0 2px 4px rgba(11, 31, 59, 0.07);
}
.lang-dropdown__toggle-flag {
  width: 1.45rem;
  max-height: 1rem;
}
.lang-dropdown__chev {
  display: flex;
  color: var(--ink-muted);
  line-height: 0;
  transition: transform 0.2s ease;
}
.lang-dropdown__toggle[aria-expanded="true"] .lang-dropdown__chev {
  transform: rotate(180deg);
  color: var(--accent);
}
.lang-dropdown__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  min-width: 12.5rem;
  margin: 0;
  padding: 0.35rem;
  list-style: none;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 48px rgba(11, 31, 59, 0.14), 0 4px 12px rgba(11, 31, 59, 0.06);
}
.lang-dropdown__menu li {
  margin: 0;
}
.lang-dropdown__option {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  margin: 0;
  padding: 0.55rem 0.65rem;
  font: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  text-align: left;
  color: var(--ink);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.12s ease;
}
.lang-dropdown__option .lang-flag {
  width: 1.45rem;
  max-height: 1rem;
  flex-shrink: 0;
}
.lang-dropdown__option:hover {
  background: rgba(11, 31, 59, 0.04);
}
.lang-dropdown__option:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 0;
}
.lang-dropdown__option--current,
.lang-dropdown__option[aria-selected="true"] {
  background: #fff;
  box-shadow: 0 1px 4px rgba(11, 31, 59, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.95);
}
.lang-flag {
  width: 1.5rem;
  height: auto;
  max-height: 1.05rem;
  object-fit: contain;
  display: block;
  border-radius: 2px;
  box-shadow: 0 0 0 1px rgba(11, 31, 59, 0.12);
  pointer-events: none;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--accent); }
.mark {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--ink);
  display: grid;
  place-items: center;
}
.mark img,
.mark svg { width: 22px; height: 22px; display: block; }
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: center;
}
nav a {
  color: var(--ink-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
nav a:hover { color: var(--ink); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.btn:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--ink);
  color: #fff;
  box-shadow: 0 10px 30px rgba(11, 31, 59, 0.2);
}
.btn-primary:hover {
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(11, 31, 59, 0.25);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover {
  background: var(--card);
  border-color: #cbd5e1;
  color: var(--ink);
}

/* Hero */
.hero {
  padding-top: clamp(1.1rem, 2.8vw, 1.85rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.75rem);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -40% -20% auto -20%;
  height: 70%;
  background: radial-gradient(ellipse at 50% 0%, rgba(38, 201, 184, 0.22), transparent 58%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  align-items: start;
}
.hero-copy { min-width: 0; }
@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
  }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow-dot {
  flex: 0 0 auto;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-bright);
  box-shadow: 0 0 0 4px rgba(38, 201, 184, 0.25);
}

h1 {
  font-size: clamp(2.25rem, 4.5vw, 3.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  font-weight: 700;
}
/* Hero title: smaller scale — long locales (TR/RU) wrap heavily at global h1 size */
.hero h1,
#hero-heading {
  font-size: clamp(1.45rem, 2.35vw, 1.92rem);
  line-height: 1.2;
  letter-spacing: -0.024em;
}
.lede {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--ink-muted);
  max-width: 36ch;
}
.hero .lede {
  font-size: 0.98rem;
  line-height: 1.58;
  max-width: min(46ch, 100%);
}
.hero-use-anchor {
  margin: 0 0 1.5rem;
  max-width: 42ch;
  font-size: 0.96rem;
  line-height: 1.55;
  color: var(--ink-muted);
  padding-left: 0.75rem;
  border-left: 3px solid rgba(38, 201, 184, 0.45);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1.5rem;
  position: relative;
}
.panel-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  color: var(--ink-muted);
}
.dots { display: flex; gap: 6px; }
.dots i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #e2e8f0;
}
.dots i:first-child { background: #26c9b8; }
.dots i:nth-child(2) { background: #0d6e6e; }
.dots i:nth-child(3) { background: #94a3b8; }

.flow {
  display: grid;
  gap: 0.75rem;
}
.row {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
}
.node {
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
}
.node.accent {
  background: linear-gradient(135deg, rgba(13, 110, 110, 0.12), rgba(38, 201, 184, 0.12));
  border-color: rgba(13, 110, 110, 0.25);
  color: var(--accent);
}
.arrow { color: var(--ink-muted); font-size: 0.75rem; }

.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;
}

/* What Fabrilo does (CSS carousel, no JS) */
.fab-car {
  max-width: 38rem;
  margin-inline: auto;
}
.fab-car--hero {
  max-width: none;
  width: 100%;
  margin-inline: 0;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 1.15rem 1.25rem 1.3rem;
}
.fab-car-hero-heading {
  margin: 0 0 0.35rem;
  font-size: clamp(1.05rem, 2.2vw, 1.32rem);
  letter-spacing: -0.02em;
  text-align: center;
  font-weight: 700;
  color: var(--ink);
}
/* Hero: product SVGs include wide navy margins in-artboard; slight zoom crops them */
.fab-car--hero .fab-slide-visual {
  height: clamp(142px, 26vw, 186px);
  background: #0f172a;
}
.fab-car--hero .fab-slide-visual img {
  object-fit: cover;
  transform: scale(1.2);
  transform-origin: center center;
}
.fab-car--hero:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 4px;
}
.fab-car--hero .fab-car-viewport {
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.fab-car--hero .fab-car-viewport:active {
  cursor: grabbing;
}
.fab-car--hero .fab-slide {
  text-align: center;
}
.fab-car--hero .fab-slide h3,
.fab-car--hero .fab-slide p {
  text-wrap: balance;
}
.fab-car-viewport {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, #fff 0%, #f8fafc 100%);
  box-shadow: 0 14px 40px rgba(11, 31, 59, 0.06);
}
/* Slide motion: ~300ms + ease-in-out is a common UX target; transform keeps it composited (web.dev / NN/g). */
.fab-car-slides {
  display: flex;
  width: 400%;
  transition: transform 0.3s ease-in-out;
}
.fab-slide {
  flex: 0 0 25%;
  padding: 1.35rem 1.4rem 1.5rem;
  box-sizing: border-box;
}
.fab-slide-visual {
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--ink);
  margin-bottom: 1rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
}
.fab-slide-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.fab-slide h3 {
  margin: 0 0 0.5rem;
  font-size: 1.08rem;
  color: var(--ink);
  letter-spacing: -0.02em;
}
.fab-slide p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
  line-height: 1.55;
}

#fab-c1:checked ~ .fab-car-viewport .fab-car-slides { transform: translateX(0); }
#fab-c2:checked ~ .fab-car-viewport .fab-car-slides { transform: translateX(-25%); }
#fab-c3:checked ~ .fab-car-viewport .fab-car-slides { transform: translateX(-50%); }
#fab-c4:checked ~ .fab-car-viewport .fab-car-slides { transform: translateX(-75%); }

.fab-car-dots {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  margin-top: 0.85rem;
  flex-wrap: wrap;
}
.fab-car-dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  margin: 0;
  cursor: pointer;
  border-radius: 999px;
}
.fab-car-dot::before {
  content: "";
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: transform 0.15s ease, background 0.15s ease;
}
.fab-car-dot:hover::before {
  transform: scale(1.15);
  background: #94a3b8;
}
#fab-c1:checked ~ .fab-car-dots label[for="fab-c1"]::before,
#fab-c2:checked ~ .fab-car-dots label[for="fab-c2"]::before,
#fab-c3:checked ~ .fab-car-dots label[for="fab-c3"]::before,
#fab-c4:checked ~ .fab-car-dots label[for="fab-c4"]::before {
  background: var(--accent);
  transform: scale(1.2);
}
@media (prefers-reduced-motion: reduce) {
  .fab-car-slides { transition: none; }
}

/* Sections */
section { padding: 3.5rem 0; }
section.alt { background: #eef2f7; border-block: 1px solid var(--line); }

h2 {
  font-size: clamp(1.65rem, 2.5vw, 2rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}
.section-lede {
  margin: 0 0 2.25rem;
  max-width: 52ch;
  color: var(--ink-muted);
}

/* Shared width + alignment for section headline + lede (platform, why-fabrilo, etc.) */
.section-intro {
  max-width: min(100%, 46rem);
  margin-inline: auto;
  text-align: center;
  padding: 0 0.25rem;
}
.section-intro h2 {
  text-wrap: balance;
  overflow-wrap: break-word;
  line-height: 1.22;
  margin: 0 0 0.85rem;
}
.section-intro .section-lede {
  margin: 0 auto 2.25rem;
  max-width: none;
  width: 100%;
  text-align: center;
  text-wrap: pretty;
  color: var(--ink-muted);
}
.section-intro .section-lede--tight {
  margin-bottom: 1.1rem;
}
.platform-lede-enable {
  margin: 0 auto 1.1rem;
  max-width: 50ch;
  font-size: 0.98rem;
  line-height: 1.58;
  color: var(--ink-muted);
  text-align: center;
  text-wrap: pretty;
}
.platform-bridge {
  margin: 0 auto 1.65rem;
  max-width: 52ch;
  font-size: 0.98rem;
  line-height: 1.58;
  color: var(--ink-muted);
  text-align: center;
  text-wrap: pretty;
}
.platform-cap-title {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1rem;
}
.platform-cap-list {
  list-style: none;
  margin: 0 auto 2rem;
  padding: 0;
  max-width: 40rem;
  text-align: left;
}
.platform-cap-list li {
  margin-bottom: 0.85rem;
  padding-left: 0.65rem;
  border-left: 3px solid rgba(38, 201, 184, 0.35);
  font-size: 0.95rem;
  line-height: 1.52;
  color: var(--ink-muted);
}
.platform-cap-list strong {
  color: var(--ink);
  font-weight: 600;
}
.section-intro .platform-lede-close {
  margin-top: 0.25rem;
}
.platform-agentic {
  margin: 0 auto 2rem;
  max-width: 40rem;
  text-align: left;
  font-size: 0.95rem;
  line-height: 1.58;
  color: var(--ink-muted);
  padding-left: 0.65rem;
  border-left: 3px solid rgba(38, 201, 184, 0.35);
}
.platform-agentic strong {
  color: var(--ink);
  font-weight: 600;
}
.why-diff-list {
  margin-bottom: 2.25rem;
}
.product-suite-bridge {
  max-width: 48ch;
  line-height: 1.58;
  text-wrap: pretty;
}
.cbs-fabric-hierarchy {
  margin: -0.35rem 0 1.1rem;
  max-width: 52ch;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
  line-height: 1.45;
}

.cards {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .cards { grid-template-columns: repeat(3, 1fr); }
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem 1.35rem 1.5rem;
  box-shadow: 0 8px 24px rgba(11, 31, 59, 0.04);
}
.icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--accent-bright);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  font-size: 1.1rem;
}
.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}
.card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

/* Product suite (six cards) */
.products-band {
  padding: 3.75rem 0 4rem;
  background: linear-gradient(180deg, #f6f8fb 0%, #eef6f6 42%, #eef2f7 100%);
  border-block: 1px solid var(--line);
}
.product-suite-head {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 2.75rem;
}
.product-suite-head .tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(38, 201, 184, 0.14);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.85rem;
}
.product-suite-head h2 {
  margin: 0 0 0.6rem;
}
.product-suite-head p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 1.02rem;
}
.product-suite-head p.product-suite-bridge {
  margin: 0.35rem auto 1.15rem;
  font-size: 0.98rem;
}

.product-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .product-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

.product-card {
  background: linear-gradient(168deg, #ffffff 0%, #f8fcfc 55%, #fafbff 100%);
  border: 1px solid var(--fab-border-accent);
  border-radius: 18px;
  padding: 1.35rem 1.3rem 1.45rem;
  box-shadow: 0 14px 42px rgba(11, 31, 59, 0.07);
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 22px 56px rgba(11, 31, 59, 0.11);
}
.product-card--linked {
  padding: 0;
}
.product-card--linked .product-card-anchor {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 100%;
  padding: 1.35rem 1.3rem 1.45rem;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}
.product-card--linked .product-card-anchor:focus-visible {
  outline: 2px solid var(--accent-bright);
  outline-offset: 3px;
}
.product-card-more {
  display: block;
  margin-top: 0.65rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--accent);
}
.product-card--linked:hover .product-card-more {
  color: var(--ink);
}
.product-cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.45rem;
}
.product-name {
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.8rem;
  color: var(--ink);
  line-height: 1.22;
}
.product-desc {
  margin: 0;
  font-size: 0.9rem;
  color: var(--ink-muted);
  line-height: 1.58;
  flex: 1;
}
.product-visual {
  margin: 1.05rem 0 0;
  height: 176px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: var(--ink);
}
.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.4s ease;
}
.product-card:hover .product-visual img {
  transform: scale(1.05);
}
.product-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    155deg,
    rgba(11, 31, 59, 0.28) 0%,
    rgba(13, 110, 110, 0.22) 45%,
    rgba(38, 201, 184, 0.12) 100%
  );
  pointer-events: none;
}
/* Core Banking System (deep-dive) */
.cbs-band {
  padding: 3.5rem 0 4rem;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}
.cbs-hero-card {
  border-radius: 18px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: 0 12px 44px rgba(11, 31, 59, 0.07);
  padding: clamp(1.5rem, 3.2vw, 2.1rem) clamp(1.35rem, 3vw, 2.1rem) 1.65rem;
  margin-bottom: 2.5rem;
}
.cbs-hero-card h2 {
  font-size: clamp(1.85rem, 3.5vw, 2.45rem);
  margin: 0 0 0.85rem;
  letter-spacing: -0.02em;
  line-height: 1.12;
}
.cbs-lede-merged {
  margin: 0 0 0;
  max-width: 70ch;
  color: var(--ink-muted);
  font-size: 1.05rem;
  line-height: 1.62;
}

.cbs-stats {
  display: block;
  margin-bottom: 2.75rem;
}
.cbs-stats--embedded {
  margin-top: 1.65rem;
  margin-bottom: 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.cbs-flat-stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: none;
  min-width: 0;
}
.cbs-flat-stack > .cbs-stat,
.cbs-flat-stack .scope-card {
  background: #f0f4f8;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(1.1rem, 2.5vw, 1.45rem) clamp(1.15rem, 2.8vw, 1.65rem);
  box-shadow: none;
  margin: 0;
}
.cbs-flat-stack > .cbs-stat strong,
.cbs-flat-stack .scope-card h5 {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--ink);
  line-height: 1.28;
  margin: 0;
}
.cbs-flat-stack .scope-card h5 {
  margin-bottom: 0.4rem;
}
.cbs-flow-stack-title {
  margin: 0.1rem 0 0;
  padding: 0 0.2rem;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--ink-muted);
  line-height: 1.5;
}
.cbs-flow-cards {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: 1fr;
  align-items: stretch;
}
@media (min-width: 640px) {
  .cbs-flow-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 900px) {
  .cbs-flow-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
.cbs-flow-cards .scope-card {
  margin-bottom: 0;
  height: 100%;
}
.cbs-flat-stack .scope-card p {
  margin: 0;
  font-size: 0.86rem;
  color: var(--ink-muted);
  line-height: 1.5;
}
.cbs-stat {
  background: linear-gradient(165deg, #fff 0%, #f8fcfc 100%);
  border: 1px solid var(--fab-border-accent);
  border-radius: 14px;
  padding: 1.25rem 1.2rem;
}
.cbs-stat strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: var(--ink);
}
.cbs-stat span {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.45;
}

.cbs-section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.5rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--ink) 0%, #132a52 50%, #0d3d3d 100%);
  color: #e8f0ff;
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 5vw, 3rem);
  text-align: center;
  box-shadow: var(--shadow);
}
.cta-band h2 { color: #fff; margin-bottom: 0.5rem; }
.cta-band p {
  margin: 0 auto 1.5rem;
  max-width: 46ch;
  color: rgba(232, 240, 255, 0.82);
}
.cta-band .btn-primary {
  background: #0f7669;
  color: #f8fafc;
  border: 1px solid rgba(148, 250, 232, 0.45);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}
.cta-band .btn-primary:hover {
  background: #115e59;
  color: #fff;
  border-color: rgba(204, 251, 241, 0.55);
}
.cta-band .btn-primary:focus-visible {
  outline: 3px solid #5eead4;
  outline-offset: 3px;
}

footer {
  padding: 2.5rem 0 2rem;
  color: var(--ink-muted);
  font-size: 0.9rem;
}
.foot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
}
.foot-links {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.foot-links a { color: var(--ink-muted); text-decoration: none; font-weight: 500; }
.foot-links a:hover { color: var(--ink); }

.foot-trust {
  margin: 1.25rem 0 0;
  padding-top: 1.1rem;
  border-top: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--ink-muted);
  max-width: 52ch;
  line-height: 1.45;
}

address { font-style: normal; }
