/* eduMEET Federation landing page v0.1 */

:root {
  --bg: #f7f9fc;
  --bg-soft: #eef3f8;
  --panel: #ffffff;
  --text: #162033;
  --muted: #5b687c;
  --dark: #0b1220;
  --dark-2: #111b2f;
  --line: #dce5ef;
  --accent: #2fd4c5;
  --accent-2: #65a7ff;
  --accent-dark: #14998d;
  --shadow: 0 24px 80px rgba(10, 20, 35, 0.12);
  --shadow-soft: 0 14px 44px rgba(10, 20, 35, 0.08);
  --radius: 24px;
  --radius-sm: 14px;
  --container: 1160px;
  --header-height: 76px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img,
svg {
  max-width: 100%;
}

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

p {
  margin: 0 0 1rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(3rem, 7vw, 6.6rem);
  max-width: 10ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 4rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

ul {
  margin: 0;
  padding: 0;
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--accent);
  color: var(--dark);
  font-weight: 800;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(247, 249, 252, 0.84);
  border-bottom: 1px solid rgba(220, 229, 239, 0.7);
  backdrop-filter: blur(18px);
}

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

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: var(--accent);
  font-weight: 900;
  letter-spacing: -0.08em;
  box-shadow: var(--shadow-soft);
}

.brand-text {
  display: grid;
  gap: 0;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.88rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.site-nav a {
  transition: color 0.2s ease;
}

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

.nav-cta {
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--dark) !important;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--text);
  border-radius: 999px;
}

.section {
  padding: clamp(76px, 9vw, 140px) 0;
}

.section-compact {
  padding: clamp(70px, 8vw, 112px) 0;
}

.section-soft {
  background: var(--bg-soft);
}

.section-dark {
  background:
    radial-gradient(circle at 78% 12%, rgba(47, 212, 197, 0.24), transparent 28%),
    radial-gradient(circle at 12% 22%, rgba(101, 167, 255, 0.20), transparent 24%),
    linear-gradient(135deg, var(--dark), var(--dark-2));
  color: #f8fbff;
}

.section-dark p,
.section-dark li {
  color: rgba(248, 251, 255, 0.75);
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header-height));
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: clamp(80px, 10vw, 130px) 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.7;
}

.orb-a {
  width: 260px;
  height: 260px;
  top: 10%;
  right: 12%;
  background: rgba(47, 212, 197, 0.22);
}

.orb-b {
  width: 200px;
  height: 200px;
  bottom: 10%;
  left: 8%;
  background: rgba(101, 167, 255, 0.18);
}

.grid-glow {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 74%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.14fr) minmax(340px, 0.86fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
}

.hero-copy p {
  max-width: 760px;
}

.hero-lead {
  color: #ffffff !important;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
  margin-top: 28px;
}

.eyebrow {
  margin-bottom: 16px;
  color: var(--accent) !important;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 20px;
  border-radius: 999px;
  font-weight: 900;
  letter-spacing: -0.02em;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--accent);
  color: var(--dark);
  box-shadow: 0 18px 42px rgba(47, 212, 197, 0.25);
}

.button-primary:hover {
  background: #42eadb;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section:not(.section-dark) .button-secondary {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
}

.button-full {
  width: 100%;
}

.trust-line {
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hero-card {
  display: flex;
  justify-content: center;
}

.network-card {
  width: min(100%, 460px);
  min-height: 520px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.12), rgba(255,255,255,0.05)),
    rgba(255,255,255,0.05);
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(24px);
  padding: 24px;
}

.network-top {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.86);
  font-weight: 900;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 8px rgba(47, 212, 197, 0.1);
}

.network-visual {
  position: relative;
  height: 330px;
  margin: 28px 0;
  border-radius: 24px;
  background:
    radial-gradient(circle at 50% 50%, rgba(47,212,197,0.16), transparent 36%),
    rgba(6, 14, 28, 0.46);
  overflow: hidden;
}

.node {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 88px;
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 999px;
  color: #fff;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  font-size: 0.76rem;
  font-weight: 900;
  text-align: center;
  z-index: 2;
}

.node-main {
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  min-width: 130px;
  background: rgba(47, 212, 197, 0.18);
  border-color: rgba(47, 212, 197, 0.48);
}

.node-a { top: 36px; left: 28px; }
.node-b { top: 38px; right: 28px; }
.node-c { bottom: 40px; left: 32px; }
.node-d { bottom: 42px; right: 28px; }

.line {
  position: absolute;
  width: 2px;
  height: 142px;
  left: 50%;
  top: 50%;
  background: linear-gradient(180deg, rgba(47,212,197,0), rgba(47,212,197,0.72), rgba(47,212,197,0));
  transform-origin: center top;
  opacity: 0.8;
}

.line-1 { transform: rotate(-44deg); }
.line-2 { transform: rotate(44deg); }
.line-3 { transform: rotate(136deg); }
.line-4 { transform: rotate(-136deg); }

.mini-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.mini-list li {
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.78);
  font-weight: 800;
}

.two-column,
.split-feature {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(32px, 7vw, 84px);
  align-items: start;
}

.split-feature {
  align-items: center;
}

.reverse {
  grid-template-columns: minmax(320px, 0.82fr) minmax(0, 1.18fr);
}

.content-flow > * + * {
  margin-top: 1.1rem;
}

.content-flow p {
  color: var(--muted);
  font-size: 1.05rem;
}

.section-heading {
  max-width: 790px;
  text-align: center;
  margin-bottom: 42px;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.08rem;
  margin-top: 18px;
}

.capability-grid,
.benefit-grid,
.growth-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 52px;
}

.card,
.benefit,
.model-card,
.feature-panel,
.callout-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.card,
.benefit {
  padding: 26px;
}

.card h3,
.benefit h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
}

.card p,
.benefit p {
  color: var(--muted);
  font-size: 0.98rem;
}

.card-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 14px;
  background: var(--bg-soft);
  color: var(--accent-dark);
  font-weight: 900;
  font-size: 1.25rem;
}

.benefit {
  position: relative;
  overflow: hidden;
}

.benefit::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  opacity: 0.9;
}

.diagram-placeholder {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.diagram-title {
  font-weight: 950;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
}

.diagram-placeholder > p {
  color: var(--muted);
  margin: 8px 0 22px;
}

.diagram {
  padding: 20px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(47,212,197,0.08), rgba(101,167,255,0.10)),
    var(--bg-soft);
  text-align: center;
}

.diagram-row {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.diagram-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 850;
  font-size: 0.9rem;
}

.diagram-core {
  margin: 0 auto;
  background: var(--dark);
  color: #fff;
  border-color: rgba(255,255,255,0.1);
}

.diagram-arrow {
  margin: 12px 0;
  color: var(--accent-dark);
  font-weight: 900;
  font-size: 1.45rem;
}

.media-row {
  margin-bottom: 16px;
}

.diagram-note {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 800;
}

.check-list {
  display: grid;
  gap: 10px;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 900;
}

.columns-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 22px;
}

.participation-grid,
.tenant-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.model-card,
.feature-panel,
.callout-card {
  padding: clamp(26px, 4vw, 40px);
}

.model-card {
  position: relative;
  overflow: hidden;
}

.model-card-accent {
  border-color: rgba(47, 212, 197, 0.55);
  background:
    linear-gradient(135deg, rgba(47, 212, 197, 0.10), rgba(101, 167, 255, 0.08)),
    var(--panel);
}

.model-label {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--accent-dark);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.model-card h3,
.feature-panel h3,
.callout-card h3 {
  margin-bottom: 18px;
}

.model-card p,
.feature-panel li,
.callout-card p {
  color: var(--muted);
}

.feature-panel h3 {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.callout-card {
  background:
    radial-gradient(circle at top right, rgba(47,212,197,0.16), transparent 46%),
    var(--dark);
  color: #fff;
}

.callout-card p {
  color: rgba(255,255,255,0.74);
}

.callout-card .button {
  margin-top: 18px;
}

.faq-list {
  max-width: 900px;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.faq-item + .faq-item {
  margin-top: 12px;
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  padding: 20px 56px 20px 22px;
  font-weight: 900;
  letter-spacing: -0.02em;
  list-style: none;
}

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

.faq-item summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background-color: var(--bg-soft);
  background-image:
    linear-gradient(var(--accent-dark), var(--accent-dark)),
    linear-gradient(var(--accent-dark), var(--accent-dark));
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 2px, 2px 12px;
}

.faq-item[open] summary::after {
  background-size: 12px 2px, 0 0;
}

.faq-answer {
  padding: 0 22px 20px;
}

.faq-answer p {
  margin: 0;
  color: var(--muted);
}

.final-cta {
  text-align: center;
}

.final-cta-inner {
  max-width: 820px;
}

.final-cta h2 {
  margin-bottom: 22px;
}

.final-cta p {
  color: rgba(255,255,255,0.76);
}

.final-cta .hero-actions {
  justify-content: center;
}

.contact-lines {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.14);
}

.contact-lines p {
  margin: 0.3rem 0;
}

.contact-lines a {
  color: #fff;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-color: rgba(47,212,197,0.5);
  text-underline-offset: 4px;
}

.site-footer {
  padding: 28px 0;
  background: #070d18;
  color: rgba(255,255,255,0.7);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 22px;
  align-items: center;
  font-size: 0.92rem;
}

.footer-inner p {
  margin: 0;
  font-weight: 900;
  color: #fff;
}

.footer-inner nav {
  display: flex;
  gap: 18px;
}

.footer-inner a:hover {
  color: #fff;
}

@media (max-width: 980px) {
  :root {
    --header-height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: var(--header-height);
    right: 20px;
    left: 20px;
    display: none;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 12px 14px;
  }

  .nav-cta {
    text-align: center;
  }

  .hero-grid,
  .two-column,
  .split-feature,
  .reverse {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 11ch;
  }

  .hero-card {
    justify-content: flex-start;
  }

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

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

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

  h1 {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .section {
    padding: 68px 0;
  }

  .hero-actions,
  .footer-inner,
  .footer-inner nav {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .network-card {
    min-height: auto;
  }

  .network-visual {
    height: 300px;
  }

  .capability-grid,
  .benefit-grid,
  .growth-grid,
  .participation-grid,
  .tenant-grid {
    grid-template-columns: 1fr;
  }

  .diagram-placeholder,
  .model-card,
  .feature-panel,
  .callout-card {
    padding: 22px;
    border-radius: 22px;
  }

  .footer-inner {
    align-items: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}


/* v0.2 — official eduMEET logo integration */

.brand-logo {
  gap: 14px;
}

.brand-logo-img {
  display: block;
  width: 168px;
  height: auto;
  max-height: 42px;
  object-fit: contain;
}

.brand-federation {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 10px;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand img {
  display: block;
  width: 130px;
  height: auto;
  filter: none;
}

.footer-brand span {
  color: rgba(255,255,255,0.78);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .brand-logo-img {
    width: 132px;
    max-height: 34px;
  }

  .brand-federation {
    min-height: 24px;
    padding: 4px 8px;
    font-size: 0.72rem;
  }

  .footer-brand img {
    width: 120px;
  }
}

@media (max-width: 420px) {
  .brand-federation {
    display: none;
  }
}


/* v0.4 — hero polish, stronger branding and CTA */

.hero-grid {
  grid-template-columns: minmax(0, 1.24fr) minmax(320px, 0.76fr);
  gap: clamp(40px, 6vw, 78px);
}

.hero-copy {
  max-width: 820px;
}

.hero-copy h1 {
  max-width: 760px;
  font-size: clamp(3.35rem, 6.2vw, 5.9rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

.hero-lead {
  max-width: 720px;
  margin-top: 30px;
}

.hero-copy > p:not(.eyebrow):not(.hero-lead):not(.trust-line) {
  max-width: 700px;
}

.brand-logo-img {
  width: 190px;
  max-height: 48px;
}

.brand-federation {
  min-height: 30px;
  padding: 6px 12px;
}

.hero .button {
  min-height: 56px;
  padding: 15px 24px;
  font-size: 0.98rem;
}

.hero .button-primary,
.final-cta .button-primary {
  box-shadow: 0 22px 54px rgba(47, 212, 197, 0.32);
}

.hero .button-secondary {
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.28);
}

.trust-line {
  margin-top: 26px;
  font-size: 1.02rem;
}

.network-card {
  transform: translateY(8px);
}

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

  .hero-copy h1 {
    max-width: 760px;
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .brand-logo-img {
    width: 168px;
    max-height: 42px;
  }
}

@media (max-width: 720px) {
  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.7rem, 13vw, 4.2rem);
    line-height: 1.02;
  }

  .hero-lead {
    margin-top: 24px;
  }

  .brand-logo-img {
    width: 142px;
    max-height: 36px;
  }

  .hero .button {
    min-height: 52px;
    padding: 14px 18px;
  }
}

@media (max-width: 420px) {
  .brand-logo-img {
    width: 136px;
  }
}


/* v0.5 — lighter hero headline and shorter first-screen copy */

.hero-grid {
  grid-template-columns: minmax(0, 1.45fr) minmax(310px, 0.75fr);
  gap: clamp(34px, 4.8vw, 58px);
}

.hero-copy {
  max-width: 880px;
}

.hero-copy h1 {
  max-width: 850px;
  font-size: clamp(3.05rem, 4.85vw, 4.95rem);
  line-height: 1.01;
  letter-spacing: -0.052em;
}

.hero-lead {
  max-width: 760px;
  font-size: clamp(1.08rem, 1.75vw, 1.34rem);
  margin-top: 26px;
}

.hero-copy > p:not(.eyebrow):not(.hero-lead):not(.trust-line) {
  max-width: 740px;
}

.hero-actions {
  margin-top: 28px;
}

.network-card {
  width: min(100%, 430px);
  min-height: 500px;
}

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

  .hero-copy {
    max-width: 760px;
  }

  .hero-copy h1 {
    max-width: 760px;
    font-size: clamp(2.8rem, 9.2vw, 4.45rem);
    line-height: 1.02;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 64px 0 72px;
  }

  .hero-copy h1 {
    max-width: 100%;
    font-size: clamp(2.35rem, 11.2vw, 3.35rem);
    line-height: 1.04;
    letter-spacing: -0.05em;
  }

  .hero-lead {
    font-size: 1.08rem;
    line-height: 1.48;
    margin-top: 22px;
  }

  .hero-copy > p:not(.eyebrow):not(.hero-lead):not(.trust-line) {
    font-size: 0.98rem;
    line-height: 1.56;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .trust-line {
    font-size: 0.96rem;
    line-height: 1.45;
  }
}


/* v0.7 — compact landing-page diagram, safer sticky-header anchors */

html {
  scroll-padding-top: calc(var(--header-height) + 24px);
}

.diagram-compact {
  padding: 28px;
}

.diagram-compact > p {
  max-width: 48ch;
}

.flow-diagram {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
  margin-top: 22px;
}

.flow-item {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 190px;
  padding: 20px;
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(47, 212, 197, 0.12), transparent 42%),
    #fff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 32px rgba(10, 20, 35, 0.07);
}

.flow-core {
  background:
    radial-gradient(circle at top right, rgba(47, 212, 197, 0.20), transparent 42%),
    linear-gradient(135deg, #0f1c2f, #14324a);
  color: #fff;
  border-color: rgba(47, 212, 197, 0.30);
}

.flow-core span {
  color: rgba(255, 255, 255, 0.72);
}

.flow-kicker {
  color: var(--accent-dark);
  font-size: 0.72rem;
  font-weight: 950;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}

.flow-core .flow-kicker {
  color: var(--accent);
}

.flow-item strong {
  display: block;
  color: inherit;
  font-size: 1.08rem;
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.flow-item > span:last-child {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.flow-arrow {
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  font-weight: 950;
  font-size: 1.35rem;
}

.flow-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.flow-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  border: 1px solid var(--line);
  font-size: 0.84rem;
  font-weight: 850;
}

@media (max-width: 980px) {
  .flow-diagram {
    grid-template-columns: 1fr;
  }

  .flow-arrow {
    transform: rotate(90deg);
    min-height: 22px;
  }

  .flow-item {
    min-height: auto;
  }
}

@media (max-width: 720px) {
  .diagram-compact {
    padding: 22px;
  }

  .flow-diagram {
    gap: 10px;
    margin-top: 18px;
  }

  .flow-item {
    padding: 16px;
    border-radius: 18px;
  }

  .flow-item strong {
    font-size: 1rem;
  }

  .flow-item > span:last-child {
    font-size: 0.9rem;
  }

  .flow-tags {
    flex-direction: column;
  }

  .flow-tags span {
    justify-content: center;
    text-align: center;
  }
}


/* v0.9 — sticky compact header instead of removing sticky navigation */

:root {
  --header-height: 76px;
  --header-compact-height: 58px;
}

html {
  scroll-padding-top: calc(var(--header-compact-height) + 28px);
}

.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  background: rgba(247, 249, 252, 0.88);
  backdrop-filter: blur(18px);
  transition:
    height 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.header-inner {
  height: var(--header-height);
  transition: height 0.22s ease;
}

.site-header.is-compact {
  height: var(--header-compact-height);
  background: rgba(247, 249, 252, 0.94);
  border-bottom-color: rgba(190, 202, 218, 0.76);
  box-shadow: 0 14px 34px rgba(10, 20, 35, 0.10);
}

.site-header.is-compact .header-inner {
  height: var(--header-compact-height);
}

.site-header.is-compact .brand-logo-img {
  width: 150px;
  max-height: 34px;
}

.site-header.is-compact .brand-federation {
  min-height: 24px;
  padding: 4px 9px;
  font-size: 0.72rem;
}

.site-header.is-compact .site-nav {
  gap: 18px;
}

.site-header.is-compact .site-nav a {
  font-size: 0.9rem;
}

.site-header.is-compact .nav-cta {
  padding: 8px 14px;
}

.site-header.is-compact .nav-toggle {
  width: 40px;
  height: 40px;
}

/* Make the compact flow safe underneath the sticky header */
.flow-core span {
  color: rgba(255, 255, 255, 0.84);
}

.flow-core .flow-kicker {
  color: #2ff0df;
}

@media (max-width: 980px) {
  :root {
    --header-height: 68px;
    --header-compact-height: 58px;
  }

  .site-nav {
    top: var(--header-compact-height);
  }

  .site-header.is-compact .brand-logo-img {
    width: 136px;
    max-height: 32px;
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: calc(var(--header-compact-height) + 18px);
  }

  .site-header.is-compact .brand-logo-img {
    width: 126px;
  }

  .site-header.is-compact .brand-federation {
    display: none;
  }

  .flow-core span {
    color: rgba(255, 255, 255, 0.88);
  }
}


/* v1.0 — mini-site additions */

.site-nav a[aria-current="page"] {
  color: var(--text);
}

.site-nav a[aria-current="page"]:not(.nav-cta) {
  position: relative;
}

.site-nav a[aria-current="page"]:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(88px, 11vw, 150px) 0 clamp(78px, 9vw, 120px);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black 0%, transparent 74%);
  pointer-events: none;
}

.page-hero-inner {
  position: relative;
  max-width: 920px;
}

.page-hero h1 {
  max-width: 860px;
  font-size: clamp(3rem, 5.5vw, 5.8rem);
}

.inline-actions {
  margin-top: 18px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--accent-dark);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.text-link::after {
  content: "→";
  text-decoration: none;
}

.benefit-grid-short {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.final-cta-light {
  text-align: center;
  max-width: 820px;
}

.final-cta-light p {
  color: var(--muted);
}

.final-cta-light .hero-actions {
  justify-content: center;
}

.final-cta-light .button-secondary {
  color: var(--text);
  background: var(--panel);
  border: 1px solid var(--line);
}

:root {
  --header-height: 76px;
  --header-compact-height: 58px;
}

html {
  scroll-padding-top: calc(var(--header-compact-height) + 28px);
}

.site-header {
  position: sticky;
  top: 0;
  height: var(--header-height);
  transition:
    height 0.22s ease,
    background 0.22s ease,
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.header-inner {
  height: var(--header-height);
  transition: height 0.22s ease;
}

.site-header.is-compact {
  height: var(--header-compact-height);
  background: rgba(247, 249, 252, 0.94);
  border-bottom-color: rgba(190, 202, 218, 0.76);
  box-shadow: 0 14px 34px rgba(10, 20, 35, 0.10);
}

.site-header.is-compact .header-inner {
  height: var(--header-compact-height);
}

.site-header.is-compact .brand-logo-img {
  width: 150px;
  max-height: 34px;
}

.site-header.is-compact .brand-federation {
  min-height: 24px;
  padding: 4px 9px;
  font-size: 0.72rem;
}

.site-header.is-compact .site-nav {
  gap: 18px;
}

.site-header.is-compact .site-nav a {
  font-size: 0.9rem;
}

.site-header.is-compact .nav-cta {
  padding: 8px 14px;
}

.site-header.is-compact .nav-toggle {
  width: 40px;
  height: 40px;
}

.flow-core span {
  color: rgba(255, 255, 255, 0.84);
}

.flow-core .flow-kicker {
  color: #2ff0df;
}

@media (max-width: 1100px) {
  .benefit-grid-short {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  :root {
    --header-height: 68px;
    --header-compact-height: 58px;
  }

  .site-nav {
    top: var(--header-compact-height);
  }

  .site-header.is-compact .brand-logo-img {
    width: 136px;
    max-height: 32px;
  }

  .page-hero h1 {
    font-size: clamp(2.7rem, 9vw, 4.6rem);
  }
}

@media (max-width: 720px) {
  html {
    scroll-padding-top: calc(var(--header-compact-height) + 18px);
  }

  .page-hero {
    padding: 68px 0 76px;
  }

  .page-hero h1 {
    font-size: clamp(2.45rem, 11vw, 3.55rem);
  }

  .benefit-grid-short {
    grid-template-columns: 1fr;
  }

  .site-header.is-compact .brand-logo-img {
    width: 126px;
  }

  .site-header.is-compact .brand-federation {
    display: none;
  }

  .flow-core span {
    color: rgba(255, 255, 255, 0.88);
  }
}


/* v1.1 — active navigation fix */

/* Move active underline below the text instead of through it. */
.site-nav a[aria-current="page"]:not(.nav-cta)::after {
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
}

/* Keep compact header active underline subtle and outside the text. */
.site-header.is-compact .site-nav a[aria-current="page"]:not(.nav-cta)::after {
  bottom: -8px;
}

/* Mobile/dropdown menu: use a background state instead of an underline. */
@media (max-width: 980px) {
  .site-nav a[aria-current="page"]:not(.nav-cta) {
    background: var(--bg-soft);
    border-radius: 12px;
    color: var(--text);
  }

  .site-nav a[aria-current="page"]:not(.nav-cta)::after {
    display: none;
  }
}


/* v1.2 — integrated technical documentation */

.doc-layout {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

.doc-toc {
  position: sticky;
  top: calc(var(--header-compact-height) + 28px);
}

.doc-toc-inner {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255,255,255,0.84);
  box-shadow: var(--shadow-soft);
}

.doc-toc a {
  display: block;
  padding: 9px 0;
  color: var(--muted);
  font-weight: 850;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(220,229,239,0.72);
}

.doc-toc a:last-child {
  border-bottom: 0;
}

.doc-toc a:hover {
  color: var(--text);
}

.doc-content {
  display: grid;
  gap: 28px;
}

.doc-section {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.doc-section h2 {
  margin-bottom: 18px;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
}

.doc-section p {
  color: var(--muted);
}

.doc-section code {
  padding: 0.1em 0.35em;
  border-radius: 6px;
  background: var(--bg-soft);
  color: var(--text);
  font-size: 0.92em;
}

pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 16px;
  background: #07101f;
  color: #eef6ff;
  font-size: 0.88rem;
  line-height: 1.55;
}

pre code {
  padding: 0 !important;
  background: transparent !important;
  color: inherit !important;
}

.notice-box,
.formula-card {
  margin: 22px 0;
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(47,212,197,0.26);
  background: rgba(47,212,197,0.08);
}

.notice-box strong,
.formula-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.notice-box p {
  margin: 0;
}

.table-wrap {
  overflow-x: auto;
  margin: 22px 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.doc-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 640px;
}

.doc-table th,
.doc-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.doc-table th {
  color: var(--text);
  background: var(--bg-soft);
  font-weight: 950;
}

.doc-table td {
  color: var(--muted);
}

.doc-table tr:last-child th,
.doc-table tr:last-child td {
  border-bottom: 0;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

@media (max-width: 980px) {
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-toc {
    position: static;
  }

  .doc-toc-inner {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
  }

  .doc-toc-inner .eyebrow {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  .doc-section {
    padding: 22px;
  }

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

  .doc-table {
    min-width: 560px;
  }

  .contact-card-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.3 — reference architecture image */

.architecture-figure {
  margin: 0;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.architecture-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
  border: 1px solid rgba(220, 229, 239, 0.9);
  background: #fff;
}

.architecture-figure figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.94rem;
  text-align: center;
}

@media (max-width: 720px) {
  .architecture-figure {
    padding: 14px;
  }

  .architecture-figure figcaption {
    text-align: left;
    font-size: 0.9rem;
  }
}


/* v1.4 — technical contact card button fix */

.contact-card-grid .feature-panel {
  min-width: 0;
}

.contact-email {
  margin: 10px 0 16px;
  padding: 10px 12px;
  border-radius: 12px;
  background: var(--bg-soft);
  color: var(--text) !important;
  font-weight: 850;
  font-size: 0.92rem;
  overflow-wrap: anywhere;
}

.contact-card-grid .button {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  padding-left: 14px;
  padding-right: 14px;
}

@media (max-width: 1100px) {
  .contact-card-grid {
    grid-template-columns: 1fr;
  }
}


/* v1.5 — align technical contact cards internally */

.contact-card-grid {
  align-items: stretch;
}

.contact-card-grid .feature-panel {
  display: flex;
  flex-direction: column;
}

.contact-card-grid .feature-panel h3 {
  flex: 0 0 auto;
}

.contact-card-grid .feature-panel > p:not(.contact-email) {
  flex: 0 0 auto;
}

.contact-card-grid .contact-email {
  margin-top: auto;
}

.contact-card-grid .button {
  margin-top: 0;
}


/* v1.6 — center contact email fields */

.contact-card-grid .contact-email {
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}


/* v1.7 — narrower, more readable technical documentation layout */

.doc-layout.container {
  width: min(100% - 48px, 1040px);
}

.doc-layout {
  grid-template-columns: 210px minmax(0, 760px);
  justify-content: center;
  gap: clamp(28px, 4vw, 52px);
}

.doc-content {
  min-width: 0;
  max-width: 760px;
}

.doc-section {
  min-width: 0;
}

.doc-section p,
.doc-section li {
  max-width: 68ch;
}

.doc-section .notice-box p,
.doc-section .contact-card-grid p,
.doc-section .table-wrap,
.doc-section pre {
  max-width: none;
}

.doc-toc-inner {
  padding: 18px;
}

.doc-toc a {
  font-size: 0.88rem;
}

.table-wrap,
pre {
  max-width: 100%;
}

pre code {
  white-space: pre;
}

@media (max-width: 980px) {
  .doc-layout.container {
    width: min(100% - 32px, var(--container));
  }

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

  .doc-content {
    max-width: none;
  }
}

@media (max-width: 720px) {
  .doc-layout.container {
    width: min(100% - 28px, var(--container));
  }

  .doc-section p,
  .doc-section li {
    max-width: none;
  }

  .doc-section {
    border-radius: 20px;
  }

  .table-wrap {
    border-radius: 14px;
  }

  pre {
    white-space: pre;
    border-radius: 14px;
  }
}


/* v1.8 — mobile card layout for technical documentation tables */

@media (max-width: 720px) {
  .table-wrap {
    overflow: visible;
    border: 0;
    background: transparent;
  }

  .responsive-table {
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  .responsive-table thead {
    display: none;
  }

  .responsive-table tbody,
  .responsive-table tr,
  .responsive-table td {
    display: block;
    width: 100%;
  }

  .responsive-table tr {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(10, 20, 35, 0.05);
  }

  .responsive-table td {
    position: relative;
    display: grid;
    grid-template-columns: minmax(100px, 0.42fr) minmax(0, 0.58fr);
    gap: 12px;
    align-items: start;
    padding: 10px 0;
    border-bottom: 1px solid rgba(220, 229, 239, 0.9);
    color: var(--text);
  }

  .responsive-table td:last-child {
    border-bottom: 0;
  }

  .responsive-table td::before {
    content: attr(data-label);
    color: var(--muted);
    font-weight: 950;
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .responsive-table td code {
    word-break: break-word;
  }

  .key-value-table {
    min-width: 0;
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 12px;
  }

  .key-value-table tbody,
  .key-value-table tr,
  .key-value-table th,
  .key-value-table td {
    display: block;
    width: 100%;
  }

  .key-value-table tr {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(10, 20, 35, 0.05);
  }

  .key-value-table th,
  .key-value-table td {
    padding: 0;
    border-bottom: 0;
    background: transparent;
  }

  .key-value-table th {
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
  }

  .key-value-table td {
    color: var(--text);
    overflow-wrap: anywhere;
  }
}

@media (max-width: 420px) {
  .responsive-table td {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}


/* v1.9 — copyable and wrapping technical code snippets */

.copy-block {
  position: relative;
  margin: 18px 0;
}

.copy-block pre {
  margin: 0;
  padding-right: 86px;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.copy-button,
.inline-copy-button {
  appearance: none;
  border: 1px solid rgba(47, 212, 197, 0.35);
  border-radius: 999px;
  background: rgba(47, 212, 197, 0.12);
  color: var(--accent-dark);
  cursor: pointer;
  font-family: inherit;
  font-weight: 950;
  transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.copy-button:hover,
.inline-copy-button:hover {
  background: rgba(47, 212, 197, 0.20);
  border-color: rgba(47, 212, 197, 0.56);
  transform: translateY(-1px);
}

.copy-button.is-copied,
.inline-copy-button.is-copied {
  background: var(--accent);
  color: var(--dark);
}

.copy-button {
  position: absolute;
  top: 10px;
  right: 10px;
  min-height: 32px;
  padding: 6px 12px;
  font-size: 0.78rem;
  z-index: 1;
}

.inline-copy-button {
  margin-left: 8px;
  min-height: 28px;
  padding: 4px 10px;
  font-size: 0.74rem;
}

.key-value-table td {
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .copy-block pre {
    padding: 56px 14px 14px;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .copy-button {
    top: 12px;
    left: 12px;
    right: auto;
  }

  .inline-copy-button {
    display: inline-flex;
    margin: 8px 0 0;
  }
}


/* v2.0 — force wrapping inside copyable code blocks */

/*
  Earlier generic `pre code { white-space: pre; }` rules can prevent wrapping.
  These overrides target only copyable technical snippets.
*/
.copy-block pre {
  max-width: 100%;
  overflow-x: hidden;
  white-space: pre-wrap !important;
  word-break: break-word;
  overflow-wrap: anywhere;
}

.copy-block pre code {
  display: block;
  max-width: 100%;
  white-space: pre-wrap !important;
  word-break: break-word;
  overflow-wrap: anywhere;
}

@media (max-width: 720px) {
  .copy-block pre,
  .copy-block pre code {
    white-space: pre-wrap !important;
    word-break: break-word;
    overflow-wrap: anywhere;
  }
}


/* v2.1 — pricing page and mobile-safe pricing tables */

.pricing-table-container {
  margin-top: 34px;
}

.pricing-narrow {
  max-width: 760px;
}

.pricing-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.formula-mini {
  margin-top: 18px;
  padding: 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-weight: 900;
  text-align: center;
}

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

@media (max-width: 980px) {
  .pricing-example-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .pricing-table-container {
    margin-top: 24px;
  }

  .pricing-note {
    text-align: left;
  }

  .pricing-table-container .responsive-table td {
    grid-template-columns: minmax(112px, 0.42fr) minmax(0, 0.58fr);
  }

  .pricing-table-container .responsive-table td[data-label="Category"],
  .pricing-table-container .responsive-table td[data-label="Scenario"] {
    font-size: 1rem;
    font-weight: 950;
    color: var(--text);
  }
}

@media (max-width: 420px) {
  .pricing-table-container .responsive-table td {
    grid-template-columns: 1fr;
  }
}


/* v2.2 — softer participation framing */
#models .model-card p {
  color: var(--muted);
}


/* v2.3 — softer commercial comparison emphasis */

.comparison-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.comparison-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.comparison-card h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
}

.comparison-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .comparison-card-grid {
    grid-template-columns: 1fr;
  }
}


/* v2.5 — polish: stable sticky header, contrast, icons and centered capability cards */

/*
  Stabilise sticky header.
  Previous compact state changed header height, which could cause scroll-threshold jitter.
  Keep layout height constant and only compact the visual elements.
*/
.site-header,
.site-header.is-compact {
  height: var(--header-height);
}

.header-inner,
.site-header.is-compact .header-inner {
  height: var(--header-height);
}

.site-header {
  will-change: box-shadow, background;
}

.site-header.is-compact {
  background: rgba(247, 249, 252, 0.96);
  border-bottom-color: rgba(190, 202, 218, 0.78);
  box-shadow: 0 12px 30px rgba(10, 20, 35, 0.10);
}

.site-header.is-compact .brand-logo-img {
  width: 156px;
  max-height: 36px;
}

.site-header.is-compact .brand-federation {
  min-height: 24px;
  padding: 4px 9px;
  font-size: 0.72rem;
}

.site-header.is-compact .nav-cta {
  padding: 8px 14px;
}

/* Improve contrast on all dark sections and dark cards. */
.section-dark p,
.section-dark li {
  color: rgba(248, 251, 255, 0.90);
}

.section-dark .content-flow p {
  color: rgba(248, 251, 255, 0.90);
}

.section-dark .check-list li::before {
  color: var(--accent);
}

.flow-item.flow-core > span:last-child,
.flow-core span,
.flow-core .flow-item > span:last-child {
  color: rgba(248, 251, 255, 0.90) !important;
}

.flow-core strong {
  color: #ffffff;
}

.callout-card p,
.callout-card li {
  color: rgba(248, 251, 255, 0.88) !important;
}

/* Better-looking centered icons in capability-style cards. */
.capability-grid .card,
.growth-grid .card {
  text-align: center;
}

.capability-grid .card-icon,
.growth-grid .card-icon {
  margin-left: auto;
  margin-right: auto;
}

.card-icon {
  color: var(--accent-dark);
}

.card-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.capability-grid .card h3,
.growth-grid .card h3 {
  text-align: center;
}

.capability-grid .card p,
.growth-grid .card p {
  margin-left: auto;
  margin-right: auto;
}

/* Slightly calmer active menu marker after removing Join from main nav. */
.site-nav a[aria-current="page"]:not(.nav-cta)::after {
  bottom: -9px;
}

@media (max-width: 980px) {
  .site-nav {
    top: var(--header-height);
  }

  .site-header.is-compact .brand-logo-img {
    width: 138px;
    max-height: 32px;
  }
}

@media (max-width: 720px) {
  .site-header.is-compact .brand-logo-img {
    width: 128px;
  }

  .site-header.is-compact .brand-federation {
    display: none;
  }

  .capability-grid .card,
  .growth-grid .card {
    text-align: left;
  }

  .capability-grid .card-icon,
  .growth-grid .card-icon {
    margin-left: 0;
    margin-right: 0;
  }

  .capability-grid .card h3,
  .growth-grid .card h3 {
    text-align: left;
  }
}


/* v2.6 — stable compact header with real height reduction + participation card spacing */

/*
  Re-enable a real compact sticky header height, but keep the JS hysteresis from v2.5.
  This gives the visual shrink effect without threshold jitter.
*/
.site-header {
  height: var(--header-height);
}

.header-inner {
  height: var(--header-height);
}

.site-header.is-compact {
  height: var(--header-compact-height);
}

.site-header.is-compact .header-inner {
  height: var(--header-compact-height);
}

.site-header.is-compact .brand-logo-img {
  width: 148px;
  max-height: 32px;
}

.site-header.is-compact .brand-federation {
  min-height: 22px;
  padding: 3px 8px;
  font-size: 0.70rem;
}

.site-header.is-compact .site-nav {
  gap: 16px;
}

.site-header.is-compact .site-nav a {
  font-size: 0.88rem;
}

.site-header.is-compact .nav-cta {
  padding: 7px 13px;
}

/* Fix stacked cards in Participation model section. */
.pricing-example-grid {
  display: grid;
  gap: 22px;
  align-items: stretch;
}

.pricing-example-grid .model-card {
  margin: 0;
}

/* Slightly more breathing room between full-width stacked model cards. */
@media (max-width: 980px) {
  .pricing-example-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 720px) {
  .site-header.is-compact .brand-logo-img {
    width: 124px;
    max-height: 30px;
  }

  .site-header.is-compact .nav-toggle {
    width: 38px;
    height: 38px;
  }

  .pricing-example-grid {
    gap: 18px;
  }
}


/* v2.8 — root deployment and text-link arrow removal */

.text-link {
  gap: 0;
}

.text-link::after {
  content: none !important;
  display: none !important;
}
