/* Aidax marketing site. The tokens are in tokens.css. */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 94px; }
body {
  margin: 0; font-family: var(--font-sans); font-size: 17px; line-height: 1.6;
  color: var(--text-body); background: var(--surface); -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--pink-600); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { color: var(--text-strong); margin: 0; font-weight: 700; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
code, .mono { font-family: var(--font-mono); font-size: .9em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--container-narrow); }
.center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 8px; }
.skip-link:focus { left: 16px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 8px; box-shadow: var(--shadow-md); }
:focus-visible { outline: 3px solid var(--pink-300); outline-offset: 2px; border-radius: 6px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(12px); -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
}
/* The header is laid out as Data Editor's and Model One's are: the mark and name on the left; on desktops the
   navigation, pushed right, then the language switch and the call to action; on phones and tablets the language
   switch and the menu button, the navigation and the call to action folding into the menu. 61 px tall on phones
   and tablets, 78 px from 960 px, where the desktop navigation starts (both with the 1 px border). */
.header-inner { display: flex; align-items: center; height: 60px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink-900); font-weight: 600; font-size: 28px; letter-spacing: -.02em; }
.brand:hover { text-decoration: none; }
.brand img { width: 60px; height: 32px; }
.brand picture { display: block; }

/* The header's name and mark are sized as Model One's and Data Editor's are, in the proportions of the horizontal
   lockup (brand/aidax/README.md): the name's capitals are two thirds of the mark's height and centred on it, with
   three sevenths of that height between them. The mark is 28 px tall, the small cut, and 41 px from 1,024 px, the
   full mark (brandMark in header.ts); the rest follows it. The symbol file pads the mark by 1/14 of its height. */
.site-header .brand { --brand-mark: 28px; gap: calc(var(--brand-mark) * 5 / 14); white-space: nowrap; flex: none; }
.site-header .brand img, .site-header .brand picture { flex: none; }
.site-header .brand img { height: calc(var(--brand-mark) * 8 / 7); width: calc(var(--brand-mark) * 8 / 7 * 15 / 8); }
.site-header .brand__name {
  font-size: calc(var(--brand-mark) * 2 / 3 / 0.698);   /* IBM Plex Sans's capitals are 0.698 em tall */
  line-height: 1;
  margin-left: -0.02em;                                   /* the A's side bearing: the gap runs to its ink */
}
@media (min-width: 1024px) { .site-header .brand { --brand-mark: 41px; } }
.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; flex: none; }
.header-actions .header-cta { display: none; }
.site-header .btn-sm { font-size: 15px; padding: 9px 16px; border-radius: 10px; }
.main-nav a { white-space: nowrap; color: var(--ink-700); font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: var(--pink-600); text-decoration: none; }
.main-nav a[aria-current="page"] { color: var(--pink-600); }
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center; width: 42px; height: 42px;
  border: 1px solid var(--ink-300); background: #fff; border-radius: 10px; cursor: pointer; color: var(--ink-900);
}
.nav-toggle svg { width: 22px; height: 22px; }

/* Phones and tablets: the navigation is a panel under the header, opened by the menu button. */
@media (max-width: 959px) {
  .main-nav {
    display: none; position: absolute; top: 61px; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--border); padding: 12px 24px 20px; box-shadow: var(--shadow-md);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px; border-radius: 10px; }
  .main-nav a:hover { background: var(--ink-100); }
  .main-nav .btn { margin: 8px 0 0; color: #fff; }
  .main-nav .btn:hover { background: var(--pink-600); color: #fff; }
}

/* Desktops: the links in a row, pushed right, then the language switch and the call to action. */
@media (min-width: 960px) {
  .header-inner { height: 77px; }
  .main-nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
  .main-nav .nav-cta, .header-actions .nav-toggle { display: none; }
  .header-actions { margin-left: 0; }
  .header-actions .header-cta { display: inline-flex; }
}
/* Narrow desktops, as on the sister sites: the call to action yields its room to the links below 1,180 px, the
   links close up, and where the name and the navigation still do not fit side by side, the name yields too and the
   mark stands alone; the link keeps "Aidax" for screen readers (its aria-label). That is Finnish, whose longer labels
   leave no room for it from 1,180 to 1,279 px, where the call to action is back; English keeps it throughout. The full mark takes over at 1,024 px, as on the sister sites. */
@media (min-width: 960px) and (max-width: 1179px) {
  .header-actions .header-cta { display: none; }
  .main-nav { gap: 20px; }
}
@media (min-width: 1180px) and (max-width: 1279px) {
  html[lang="fi"] .site-header .brand__name { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit;
  font-weight: 600; font-size: 16px; line-height: 1.2; padding: 13px 22px; border-radius: 12px;
  border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s, border-color .15s;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--pink-500); color: #fff; box-shadow: var(--shadow-accent); }
.btn-primary:hover { background: var(--pink-600); }
.btn-secondary { background: #fff; color: var(--ink-900); border-color: var(--ink-300); box-shadow: var(--shadow-sm); }
.btn-secondary:hover { border-color: var(--ink-400); }
.btn-sm { font-size: 14px; padding: 9px 16px; border-radius: 10px; box-shadow: none; }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-light:hover { background: var(--pink-50); }
.btn-outline-light { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-outline-light:hover { border-color: #fff; }

/* Typography helpers */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--pink-600); margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--pink-500); }
.lead { font-size: 19px; line-height: 1.65; color: var(--ink-600); }

/* Hero */
.hero {
  position: relative; overflow: hidden; padding: 88px 0 104px;
  background:
    radial-gradient(900px 520px at 88% -5%, rgba(200, 34, 142, .11), transparent 60%),
    radial-gradient(700px 500px at -5% 105%, rgba(31, 42, 68, .07), transparent 60%),
    linear-gradient(180deg, #f6f6f9 0%, #fff 100%);
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero h1 { font-size: clamp(38px, 5.2vw, 58px); line-height: 1.05; letter-spacing: -.028em; margin-bottom: 24px; }
.hero h1 .accent { color: var(--pink-500); }
.hero .lead { max-width: 590px; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 22px; }
.hero-note { font-size: 14.5px; color: var(--text-subtle); max-width: 540px; line-height: 1.55; }
@media (max-width: 1020px) { .hero-grid { grid-template-columns: 1fr; gap: 48px; } }

.page-hero {
  padding: 80px 0 64px; border-bottom: 1px solid var(--border);
  background:
    radial-gradient(800px 420px at 92% -10%, rgba(200, 34, 142, .10), transparent 60%),
    linear-gradient(180deg, #f6f6f9 0%, #fff 100%);
}
.page-hero h1 { font-size: clamp(34px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -.025em; margin-bottom: 20px; max-width: 900px; }
.page-hero .lead { max-width: 760px; }
.page-hero .cta-row { margin-bottom: 0; }

/* Hero visual: flow mock with floating cards */
.hero-visual { position: relative; padding: 24px 8px 24px 24px; }
.mock { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.mock-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 18px;
  border-bottom: 1px solid var(--border); font-size: 14px; font-weight: 600; color: var(--ink-900);
}
.mock-brand { display: flex; align-items: center; gap: 8px; }
.mock-brand img { width: 30px; height: 16px; }
.live { font-size: 12.5px; font-weight: 500; color: var(--ink-500); display: inline-flex; align-items: center; gap: 7px; }
.live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--positive-500); box-shadow: 0 0 0 3px var(--positive-100); }
.flow { padding: 18px; }
.flow-box { border: 1px solid var(--border); border-radius: var(--radius-md); padding: 12px 14px; background: #fff; }
.flow-box.accent { border-color: var(--pink-200); background: var(--pink-50); }
.flow-label { font-size: 13px; font-weight: 600; color: var(--ink-900); display: flex; gap: 8px; align-items: center; margin-bottom: 10px; }
.flow-label .num { font-family: var(--font-mono); font-size: 11.5px; color: var(--pink-600); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 500; color: var(--ink-800);
  background: var(--ink-050); border: 1px solid var(--border); border-radius: 9px; padding: 5px 9px; line-height: 1.3;
}
.chip em { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-500); }
.flow-box.accent .chip { background: #fff; border-color: var(--pink-200); }
.flow-split { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.connector { position: relative; height: 38px; display: flex; align-items: center; justify-content: center; }
.connector::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed var(--ink-300); }
.connector .tag {
  position: relative; background: #fff; border: 1px solid var(--border); border-radius: 999px;
  font-size: 11px; padding: 2px 10px; color: var(--ink-500); font-weight: 500;
}
.connector .packet {
  position: absolute; left: calc(50% - 4px); top: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--pink-500); box-shadow: 0 0 0 3px rgba(200, 34, 142, .18); animation: packet 1.9s linear infinite;
}
.connector .packet.late { animation-delay: .95s; }
@keyframes packet { from { top: -4px; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } to { top: calc(100% - 5px); opacity: 0; } }
.float-card {
  position: absolute; z-index: 2; background: #fff; border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-md);
  padding: 12px 14px; display: flex; gap: 12px; align-items: flex-start; width: 248px; font-size: 13px; line-height: 1.4;
  animation: floaty 7s ease-in-out infinite;
}
.float-card .ic { flex: none; width: 32px; height: 32px; border-radius: 9px; display: grid; place-items: center; }
.float-card .ic svg { width: 17px; height: 17px; }
.ic-pink { background: var(--pink-50); color: var(--pink-600); }
.ic-navy { background: var(--ink-100); color: var(--navy-900); }
.ic-green { background: var(--positive-100); color: var(--positive-500); }
.float-card .k { font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--ink-500); }
.float-card .v { font-weight: 600; color: var(--ink-900); font-size: 14px; }
.float-card .s { color: var(--ink-500); font-size: 12.5px; }
.fc-1 { top: -8px; right: -20px; }
.fc-2 { left: -30px; bottom: -4px; animation-delay: -3.5s; }
@keyframes floaty { 50% { transform: translateY(-6px); } }
.mock-foot {
  display: flex; justify-content: flex-end; align-items: center; min-height: 58px; padding: 12px 18px;
  border-top: 1px solid var(--border); background: var(--ink-050);
}
@media (max-width: 1240px) { .fc-2 { left: -10px; } .fc-1 { right: -6px; } }
@media (max-width: 640px) {
  .hero-visual { padding: 0; }
  .float-card { position: static; width: auto; margin-top: 12px; animation: none; }
  .mock-foot { justify-content: flex-start; }
  .flow-split { grid-template-columns: 1fr; }
}

/* Sections */
.section { padding: 96px 0; }
.section.tight { padding: 72px 0; }
.section.cta-section { padding: 0 0 96px; }
.section.muted { background: var(--ink-050); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-head { max-width: 780px; margin: 0 auto 56px; text-align: center; }
.section-head h2 { font-size: clamp(30px, 3.6vw, 44px); line-height: 1.12; letter-spacing: -.022em; margin-bottom: 18px; }
.section-head p { font-size: 18px; color: var(--ink-600); }
.section-head.left { text-align: left; margin-left: 0; }
.subhead { font-size: clamp(24px, 2.6vw, 30px); line-height: 1.2; margin-bottom: 14px; letter-spacing: -.02em; }
.prose { max-width: 760px; }
.prose p { font-size: 17.5px; }
.prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 0 0 16px; line-height: 1.15; }

.strip { padding: 30px 0; border-bottom: 1px solid var(--border); background: var(--ink-050); }
.strip-label { text-align: center; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; margin-bottom: 14px; }
.strip-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 34px; font-weight: 600; color: var(--ink-700); font-size: 15.5px; }
.strip-items .muted { color: var(--pink-600); }

/* Cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1020px) { .cards, .cards.four { grid-template-columns: 1fr 1fr; } }
@media (max-width: 680px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } }
.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 28px;
  box-shadow: var(--shadow-sm); display: flex; flex-direction: column; transition: box-shadow .2s, transform .2s;
}
a.card { color: var(--text-body); }
a.card:hover { text-decoration: none; box-shadow: var(--shadow-md); transform: translateY(-2px); }
.card h3 { font-size: 21px; line-height: 1.25; margin: 18px 0 10px; }
.card p { font-size: 16px; line-height: 1.6; }
.card .more { margin-top: auto; padding-top: 16px; font-weight: 600; font-size: 15px; color: var(--pink-600); }
.card.flat { box-shadow: none; }
.card .tag-line { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; margin-top: 16px; }
.icon-tile {
  width: 42px; height: 42px; border-radius: 12px; background: var(--pink-50); color: var(--pink-600);
  display: grid; place-items: center; border: 1px solid var(--pink-100); flex: none;
}
.icon-tile svg { width: 21px; height: 21px; }
.icon-tile.navy { background: var(--ink-100); color: var(--navy-900); border-color: var(--ink-200); }

/* Stages */
.stage-groups { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.stage { position: relative; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 24px; }
.stage .phase { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--pink-600); }
.stage .n {
  width: 34px; height: 34px; border-radius: 50%; background: var(--navy-900); color: #fff; display: grid; place-items: center;
  font-weight: 600; font-size: 15px; margin: 14px 0;
}
.stage h3 { font-size: 19px; line-height: 1.3; margin-bottom: 8px; }
.stage p { font-size: 15px; margin: 0; }
.stage .dur { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 600; color: var(--ink-700); background: var(--ink-100); border-radius: 999px; padding: 3px 10px; }
.stage:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; right: -16px; width: 9px; height: 9px;
  border-top: 2px solid var(--ink-300); border-right: 2px solid var(--ink-300); transform: translateY(-50%) rotate(45deg);
}
@media (max-width: 1020px) { .stage-groups { grid-template-columns: 1fr 1fr; } .stage::after { display: none; } }
@media (max-width: 640px) { .stage-groups { grid-template-columns: 1fr; } }
.section-cta { text-align: center; margin-top: 40px; }

/* Feature rows */
.feature { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; padding: 64px 0; border-top: 1px solid var(--border); }
.feature:first-child, .section-head + .feature { border-top: 0; padding-top: 0; }
.feature:last-child { padding-bottom: 0; }
.feature.reverse .feature-text { order: 2; }
.feature h3 { font-size: clamp(26px, 2.8vw, 34px); line-height: 1.15; margin-bottom: 16px; letter-spacing: -.02em; }
.feature .eyebrow { margin-bottom: 12px; }
@media (max-width: 1020px) { .feature { grid-template-columns: 1fr; gap: 36px; } .feature.reverse .feature-text { order: 0; } }
.checklist { list-style: none; padding: 0; margin: 20px 0; }
.checklist li { position: relative; padding-left: 32px; margin: 11px 0; font-size: 16px; line-height: 1.55; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--pink-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a91b78' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
  border: 1px solid var(--pink-200);
}
.crosslist li::before {
  background: var(--ink-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236e6e76' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 11px no-repeat;
  border-color: var(--ink-300);
}
.for { font-size: 14.5px; color: var(--ink-500); margin-top: 8px; }
.for strong { color: var(--ink-800); font-weight: 600; }

/* Capability mocks */
.cockpit { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 16px; background: var(--ink-050); }
.tile { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; }
.tile-h { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; font-weight: 600; color: var(--ink-900); }
.tile-h em { font-style: normal; font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-500); font-weight: 500; }
.tile-v { font-size: 26px; font-weight: 700; color: var(--ink-900); letter-spacing: -.02em; margin-top: 6px; line-height: 1.1; }
.tile-v small { font-size: 14px; font-weight: 600; color: var(--ink-500); }
.tile-s { font-size: 12.5px; color: var(--ink-500); margin-top: 2px; }
.tile.alert { border-color: #f3b7ad; background: var(--negative-100); }
.tile.alert .tile-v { color: var(--negative-500); }
.alert-row { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-top: 1px solid var(--border); font-size: 13.5px; color: var(--ink-700); }
.alert-row b { color: var(--ink-900); }
.alert-row .btn { margin-left: auto; padding: 6px 12px; font-size: 12.5px; }
.dot-alert { width: 9px; height: 9px; border-radius: 50%; background: var(--negative-500); box-shadow: 0 0 0 3px var(--negative-100); flex: none; }
.write-row { display: flex; align-items: center; gap: 10px; padding: 10px 16px; border-top: 1px solid var(--border); font-size: 12.5px; color: var(--ink-500); background: #fff; }
.write-row svg { width: 15px; height: 15px; color: var(--pink-600); flex: none; }
.chart-wrap { padding: 16px 16px 10px; }
.chart-meta { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 16px 16px; }
.legend { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-600); }
.legend i { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.dp { padding: 18px; }
.dp-name { font-size: 17px; font-weight: 700; color: var(--ink-900); }
.dp-sub { font-size: 13px; color: var(--ink-500); margin: 2px 0 12px; }
.dp table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 14px; }
.dp th { text-align: left; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; padding: 8px 10px; background: var(--ink-050); border-bottom: 1px solid var(--border); }
.dp td { padding: 9px 10px; border-bottom: 1px solid var(--border); color: var(--ink-700); }
.dp td:first-child { font-weight: 600; color: var(--ink-900); }
.dp tr:last-child td { border-bottom: 0; }

/* Facts */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 1020px) { .facts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .facts { grid-template-columns: 1fr; } }
.fact { border-top: 3px solid var(--pink-500); padding-top: 22px; }
.fact .big { font-size: clamp(42px, 4.6vw, 58px); font-weight: 700; color: var(--ink-900); letter-spacing: -.035em; line-height: 1; }
.fact p { font-size: 15.5px; margin-top: 14px; }

/* Principles */
.principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 1020px) { .principles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .principles { grid-template-columns: 1fr; } }
.principle h3 { font-size: 20px; margin: 14px 0 10px; line-height: 1.25; }
.principle p { font-size: 15.5px; }
.principle .pn { font-family: var(--font-mono); font-size: 13px; color: var(--pink-600); font-weight: 500; }

/* Industries */
.industries { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin: -16px 0 48px; }
.industry {
  display: inline-flex; align-items: center; gap: 10px; padding: 10px 18px 10px 12px; border-radius: 999px;
  background: #fff; border: 1px solid var(--border); font-weight: 600; color: var(--ink-800); font-size: 15px; box-shadow: var(--shadow-sm);
}
.industry svg { width: 20px; height: 20px; color: var(--pink-600); }

/* CTA band */
.cta-band {
  background: radial-gradient(700px 420px at 92% -10%, rgba(200, 34, 142, .42), transparent 62%), var(--navy-900);
  color: #dfe3ee; border-radius: var(--radius-xl); padding: 56px; display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center;
}
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; margin-bottom: 14px; letter-spacing: -.02em; }
.cta-band p { font-size: 17px; }
.cta-band .cta-row { justify-content: flex-end; margin: 0; }
@media (max-width: 900px) { .cta-band { grid-template-columns: 1fr; padding: 40px 28px; } .cta-band .cta-row { justify-content: flex-start; } }

/* Tables */
.table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow-sm); }
table.data { width: 100%; border-collapse: collapse; font-size: 15.5px; }
table.data th {
  text-align: left; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); font-weight: 600;
  background: var(--ink-050); padding: 14px 18px; border-bottom: 1px solid var(--border); white-space: nowrap;
}
table.data td { padding: 16px 18px; border-bottom: 1px solid var(--border); vertical-align: top; line-height: 1.55; }
table.data tbody tr:last-child td { border-bottom: 0; }
table.data td.name { font-weight: 600; color: var(--ink-900); white-space: nowrap; }
table.data td.name small { display: block; font-weight: 500; color: var(--ink-500); font-size: 13px; white-space: normal; }
table.data ul { margin: 0; padding-left: 18px; }
table.data li { margin: 3px 0; }
.badge { display: inline-block; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; background: var(--ink-100); color: var(--ink-700); white-space: nowrap; }
.badge.std { background: var(--positive-100); color: var(--positive-500); }
.badge.pink { background: var(--pink-50); color: var(--pink-700); }
.badge.warn { background: var(--warning-100); color: var(--warning-500); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; align-items: center; }
.filter-bar .lbl { font-size: 13px; color: var(--ink-500); margin-right: 6px; }
.filter-bar button {
  font-family: inherit; font-size: 14px; font-weight: 600; padding: 7px 14px; border-radius: 999px; cursor: pointer;
  border: 1px solid var(--ink-300); background: #fff; color: var(--ink-700);
}
.filter-bar button[aria-pressed="true"] { background: var(--navy-900); border-color: var(--navy-900); color: #fff; }

/* Callouts */
.callout { border: 1px solid var(--pink-200); background: var(--pink-50); border-radius: var(--radius-md); padding: 18px 22px; font-size: 15.5px; color: var(--ink-700); }
.callout strong { color: var(--ink-900); }
.callout.neutral { border-color: var(--border); background: var(--ink-050); }
.callout + .callout { margin-top: 14px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; gap: 32px; } }
.kv { display: grid; grid-template-columns: 180px 1fr; gap: 0; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: #fff; }
.kv > div { padding: 16px 20px; border-bottom: 1px solid var(--border); font-size: 15.5px; }
.kv > div:nth-child(odd) { background: var(--ink-050); font-weight: 600; color: var(--ink-900); }
.kv > div:nth-last-child(-n+2) { border-bottom: 0; }
@media (max-width: 600px) { .kv { grid-template-columns: 1fr; } .kv > div:nth-child(odd) { border-bottom: 0; padding-bottom: 4px; } }

/* Normalization example */
.norm { display: grid; grid-template-columns: 1fr auto 1fr; gap: 20px; align-items: center; }
.norm-arrow { width: 44px; height: 44px; border-radius: 50%; background: var(--pink-500); color: #fff; display: grid; place-items: center; box-shadow: var(--shadow-accent); }
.norm-arrow svg { width: 20px; height: 20px; }
.raw-card { border: 1px solid var(--border); border-radius: 12px; padding: 12px 14px; background: #fff; margin-bottom: 10px; }
.raw-card:last-child { margin-bottom: 0; }
.raw-card .src-head { margin-bottom: 6px; }
.rec { border: 1px solid var(--pink-200); background: var(--pink-50); border-radius: var(--radius-md); padding: 6px 0; }
.rec div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; padding: 8px 16px; font-size: 14px; }
.rec dt, .rec .rk { color: var(--ink-500); font-size: 12.5px; letter-spacing: .04em; }
.rec .rv { font-family: var(--font-mono); font-size: 13px; color: var(--ink-900); }
@media (max-width: 860px) { .norm { grid-template-columns: 1fr; } .norm-arrow { transform: rotate(90deg); justify-self: center; } }

/* Interactive demo */
.demo { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-xl); box-shadow: var(--shadow-lg); overflow: hidden; }
.demo-controls {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px;
  padding: 18px 24px; background: var(--ink-050); border-bottom: 1px solid var(--border);
}
.demo-controls .k { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; color: var(--ink-500); display: block; margin-bottom: 2px; }
.demo-controls .hint { display: block; font-size: 14px; color: var(--ink-600); max-width: 440px; }
.demo-actions { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.demo-stats { display: flex; gap: 18px; font-size: 13px; color: var(--ink-500); flex-wrap: wrap; }
.demo-stats b { display: block; font-family: var(--font-mono); font-size: 17px; color: var(--ink-900); font-weight: 600; }
.link-btn[aria-pressed="true"] { background: var(--navy-900); box-shadow: none; }
.link-btn[aria-pressed="true"]:hover { background: var(--navy-800); }
.link-btn svg { width: 18px; height: 18px; }
.demo-body { display: grid; grid-template-columns: 1.05fr 1fr; }
.demo-col { padding: 22px 24px; }
.demo-col + .demo-col { border-left: 1px solid var(--border); }
.demo h4 { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; margin-bottom: 14px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.src { border: 1px solid var(--border); border-radius: 12px; padding: 10px 14px; margin-bottom: 10px; transition: border-color .35s, box-shadow .35s; }
.src:last-child { margin-bottom: 0; }
.src.flash { border-color: var(--pink-300); box-shadow: 0 0 0 3px var(--pink-50); }
.src-head { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--ink-900); }
.src-head span { font-weight: 500; color: var(--ink-500); font-size: 12px; font-family: var(--font-mono); }
.src-head i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 8px; vertical-align: -1px; }
.raw { font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-700); background: var(--ink-050); border-radius: 8px; padding: 7px 10px; margin-top: 8px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.raw .bad { color: var(--negative-500); font-weight: 600; }
.src-note { font-size: 12px; color: var(--ink-500); margin-top: 6px; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 600; letter-spacing: 0; text-transform: none; padding: 3px 10px; border-radius: 999px; background: var(--positive-100); color: var(--positive-500); }
.status-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status-pill.down { background: var(--negative-100); color: var(--negative-500); }
.status-pill.sync { background: var(--pink-50); color: var(--pink-700); }
.demo .rec { margin-bottom: 16px; }
.demo .rec div { grid-template-columns: 92px 1fr; padding: 6px 14px; }
.q-valid { color: var(--positive-500) !important; }
.q-invalid { color: var(--negative-500) !important; }
.buffer-head { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-600); margin-bottom: 8px; }
.buffer-head b { font-family: var(--font-mono); color: var(--ink-900); }
.buffer { display: flex; flex-wrap: wrap; gap: 3px; min-height: 46px; padding: 10px; border: 1px dashed var(--ink-300); border-radius: 10px; align-content: flex-start; }
.buffer i { width: 10px; height: 10px; border-radius: 2px; }
.buffer .empty { font-size: 13px; color: var(--ink-400); }
.buffer .more { font-size: 12px; color: var(--ink-500); font-family: var(--font-mono); margin-left: 4px; }
.demo-timeline { padding: 22px 24px 18px; border-top: 1px solid var(--border); }
.demo-timeline svg { width: 100%; height: auto; }
.demo-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 8px; }
.demo-note { padding: 14px 24px; font-size: 13.5px; color: var(--ink-500); border-top: 1px solid var(--border); background: var(--ink-050); }
@media (max-width: 900px) { .demo-body { grid-template-columns: 1fr; } .demo-col + .demo-col { border-left: 0; border-top: 1px solid var(--border); } }

/* Fit check */
.fit { display: grid; grid-template-columns: 1.35fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 900px) { .fit { grid-template-columns: 1fr; } }
.fit-list label {
  display: flex; gap: 14px; align-items: flex-start; padding: 14px 18px; border: 1px solid var(--border); border-radius: 14px;
  margin-bottom: 10px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s;
}
.fit-list label:hover { border-color: var(--ink-300); }
.fit-list input { accent-color: var(--pink-500); width: 19px; height: 19px; margin-top: 3px; flex: none; }
.fit-list label.on { border-color: var(--pink-300); background: var(--pink-50); }
.fit-list b { color: var(--ink-900); display: block; font-size: 16px; }
.fit-list span { font-size: 15px; }
.fit-result { position: sticky; top: 100px; }
.fit-score { font-size: 56px; font-weight: 700; color: var(--ink-900); letter-spacing: -.03em; line-height: 1; }
.fit-score small { font-size: 22px; color: var(--ink-500); font-weight: 600; }
.meter { height: 10px; border-radius: 999px; background: var(--ink-100); overflow: hidden; margin: 16px 0 18px; }
.meter span { display: block; height: 100%; width: 0; background: var(--pink-500); border-radius: 999px; transition: width .3s; }

/* Audit mock */
.audit table { width: 100%; border-collapse: collapse; font-size: 13px; }
.audit th { text-align: left; font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-500); font-weight: 600; padding: 10px 14px; background: var(--ink-050); border-bottom: 1px solid var(--border); white-space: nowrap; }
.audit td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--ink-700); font-family: var(--font-mono); font-size: 12.5px; white-space: nowrap; }
.audit tr:last-child td { border-bottom: 0; }
.audit .ok { color: var(--positive-500); font-weight: 600; }
.audit .denied { color: var(--negative-500); font-weight: 600; }

/* Product family */
.family { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 760px) { .family { grid-template-columns: 1fr; } }
.family .card h3 { margin-top: 6px; }
.family .card .host { font-family: var(--font-mono); font-size: 13px; color: var(--ink-500); }

/* Footer */
.site-footer { background: var(--ink-050); border-top: 1px solid var(--border); padding: 64px 0 32px; font-size: 15px; }
.site-footer.flush { margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 14px; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: 9px 0; }
.footer-grid a { color: var(--ink-700); }
.footer-grid a:hover { color: var(--pink-600); }
.footer-about p { font-size: 14.5px; max-width: 420px; }
.footer-about .brand { font-size: 22px; margin-bottom: 14px; }
.footer-about .brand img { width: 46px; height: 25px; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--border); color: var(--ink-500); font-size: 14px; }
.tagline { color: var(--pink-600); font-weight: 600; }

/* ---- Additions for the generated site ---- */
.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; }
.card .tag-line:first-of-type { margin-top: 0; }
.card h3 + .tag-line { margin-top: 0; }
.fit-result .tag-line { margin-top: 0; }
.fit-score { margin-top: 10px; }
.fit-result .btn { margin-top: 8px; }
.fit-notfit { margin-top: 20px; }
.fit-notfit h3 { margin-top: 0; font-size: 18px; }
.after-table { margin-top: 20px; }
.norm-note { margin-top: 14px; }
.two-col .prose + .callout { margin-top: 24px; }
.table-wrap--bare { border: 0; border-radius: 0; box-shadow: none; }
.src-name { color: var(--ink-900); font-family: inherit !important; font-size: 14px !important; font-weight: 600 !important; }
.legend-dot { background: var(--pink-500); width: 8px !important; height: 8px !important; border-radius: 50% !important; }
.legend-invalid { background: var(--negative-500); width: 8px !important; height: 2px !important; }
.contact-details address { font-style: normal; font-size: 16px; line-height: 1.7; margin-top: 10px; }
.contact-details h3 { margin-top: 0; }

/* Language switcher */
.lang-switch { position: relative; }
.lang-switch__toggle {
  display: inline-flex; align-items: center; justify-content: center; height: 39px; min-width: 46px; padding: 0 12px;
  border: 1px solid var(--ink-300); background: #fff; border-radius: 10px; cursor: pointer; font: 600 15px var(--font-sans);
  color: var(--ink-700);
}
.lang-switch__toggle:hover { border-color: var(--pink-300); color: var(--pink-700); }
.lang-switch__menu {
  display: none; position: absolute; right: 0; top: calc(100% + 6px); min-width: 220px; padding: 6px; background: #fff;
  border: 1px solid var(--border); border-radius: 12px; box-shadow: var(--shadow-md); z-index: 60;
}
.lang-switch[data-open="true"] .lang-switch__menu { display: block; }
.lang-switch__menu a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--ink-700); font-size: 14.5px; }
.lang-switch__menu a:hover { background: var(--pink-50); color: var(--pink-700); text-decoration: none; }
.lang-switch__menu a[aria-current="true"] { color: var(--pink-600); font-weight: 600; }

/* Privacy notice */
.policy h2 { font-size: 22px; margin: 36px 0 12px; }
.policy h2:first-of-type { margin-top: 8px; }

/* Root language picker and 404 */
.lang-picker { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 24px; background: linear-gradient(180deg, #f6f6f9 0%, #fff 100%); }
.lang-picker img { margin: 0 auto 20px; width: 90px; height: 48px; }
.lang-picker h1 { font-size: clamp(30px, 4vw, 42px); margin-bottom: 12px; }
.btn-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 24px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .connector .packet, .float-card { animation: none; }
  .btn, .card { transition: none; }
}
