:root {
  --night: #0b0f12;
  --bone: #f4efe7;
  --ink: #151a1e;
  --slate: #536068;
  --mist: #e9f1ef;
  --signal: #00d1c1;
  --trust: #2356f6;
  --field: #1c8f68;
  --line: rgba(21, 26, 30, .16);
  --line-dark: rgba(244, 239, 231, .22);
  --soft: rgba(21, 26, 30, .74);
  --soft-dark: rgba(244, 239, 231, .78);
  --max: 1180px;
  --sans: Inter, "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }
html { background: var(--bone); color: var(--ink); font-family: var(--sans); scroll-behavior: smooth; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bone);
  line-height: 1.5;
  overflow-x: clip;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
.wrap { width: min(var(--max), calc(100% - 38px)); margin: 0 auto; }
.top {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244,239,231,.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}
.nav {
  position: relative;
  min-height: 76px;
  display: grid;
  grid-template-columns: 270px 1fr auto auto auto;
  gap: 22px;
  align-items: center;
}
.brand img { width: 260px; height: auto; }
.links { display: flex; gap: 4px; justify-content: center; align-items: center; }
.links a,
.lang-switch,
.download-shortcut,
.menu-toggle,
.button,
.chip,
.kicker,
.meta,
.download-meta,
.footer {
  font-family: var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.links a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 12px;
  border: 1px solid transparent;
  color: var(--slate);
  font-size: 12px;
  font-weight: 750;
}
.lang-switch {
  min-height: 40px;
  min-width: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
  border: 1px solid var(--signal);
  border-radius: 6px;
  color: var(--ink);
  background: rgba(255, 255, 255, .78);
  font-size: 11px;
  font-weight: 850;
}
.download-shortcut {
  width: 46px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--trust);
  border-radius: 6px;
  background: rgba(255, 255, 255, .78);
  color: var(--ink);
}
.download-shortcut svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.download-shortcut:hover {
  border-color: var(--ink);
  background: #fff;
}
.menu-toggle {
  width: 46px;
  height: 40px;
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--bone);
  cursor: pointer;
}
.menu-toggle span {
  width: 18px;
  height: 2px;
  display: block;
  background: currentColor;
  transition: transform .18s ease, opacity .18s ease;
}
.nav.is-menu-open .menu-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav.is-menu-open .menu-toggle span:nth-child(2) { opacity: 0; }
.nav.is-menu-open .menu-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.links a:hover,
.links a[aria-current="page"] {
  color: var(--ink);
  border-color: var(--line);
  background: rgba(255, 255, 255, .78);
}
.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 15px;
  border: 1px solid var(--ink);
  border-radius: 6px;
  background: var(--ink);
  color: var(--bone);
  font-size: 12px;
  font-weight: 800;
}
.button.secondary { background: transparent; color: var(--ink); }
.button.light { background: #fff; color: var(--ink); border-color: #fff; }
.button:focus-visible,
.links a:focus-visible,
.download-shortcut:focus-visible,
.menu-toggle:focus-visible,
.contact-close:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}
.kicker {
  color: var(--trust);
  font-size: 12px;
  font-weight: 850;
  margin-bottom: 18px;
}
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  gap: clamp(22px, 4vw, 48px);
  align-items: start;
  padding: clamp(30px, 4.5vw, 56px) 0 34px;
  border-bottom: 1px solid var(--line);
}
.hero > *,
.section-head > *,
.cta-band > *,
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.path-grid > *,
.proof-grid > * {
  min-width: 0;
}
h1 {
  max-width: 20ch;
  font-size: clamp(44px, 5vw, 68px);
  line-height: .92;
  letter-spacing: 0;
  font-weight: 900;
  overflow-wrap: break-word;
  hyphens: auto;
}
.lead {
  max-width: 760px;
  margin-top: 18px;
  color: var(--soft);
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.25;
}
.hero-dark {
  background: var(--night);
  color: var(--bone);
  padding: clamp(28px, 4.5vw, 54px);
  border: 1px solid var(--night);
}
.hero-dark .lead { color: var(--soft-dark); }
.hero-dark .kicker { color: var(--signal); }
.hero-dark .button {
  background: #fff;
  color: var(--ink);
  border-color: #fff;
}
.hero-dark .button.secondary {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.hero-dark .signal-panel {
  background: rgba(244, 239, 231, .07);
  border-color: var(--line-dark);
}
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-side {
  display: grid;
  gap: 12px;
}
.signal-panel {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  gap: 28px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--night);
  color: var(--bone);
  border: 1px solid var(--night);
}
.hero .signal-panel h2 {
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: .98;
}
.signal-panel p,
.signal-panel li { color: var(--soft-dark); }
.logo-tile {
  display: grid;
  place-items: center;
  min-height: 132px;
  background: rgba(255, 255, 255, .9);
  padding: 18px;
}
.logo-tile img { width: min(100%, 480px); height: auto; }
.hero-side .logo-tile { display: none; }
.hero-side .signal-panel {
  min-height: 0;
  gap: 18px;
  padding: 22px;
}
.hero-side .signal-panel h2 { font-size: clamp(28px, 2.8vw, 38px); }
.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border: 1px solid var(--line-dark);
}
.metric {
  min-height: 94px;
  padding: 12px;
  border-right: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
}
.metric:nth-child(2n) { border-right: 0; }
.metric:nth-last-child(-n+2) { border-bottom: 0; }
.metric strong { display: block; font-size: 25px; line-height: 1; color: var(--bone); margin-bottom: 7px; }
.metric span { color: var(--soft-dark); font-size: 12.5px; line-height: 1.3; }
.section { padding: 70px 0; border-bottom: 1px solid var(--line); }
.section.compact { padding: 42px 0; }
.hero:not(.hero-dark),
.section-white,
.section:has(.rights-table),
.section:has(.downloads),
.final-contact {
  background: #fff;
  box-shadow: 0 0 0 100vmax #fff;
  clip-path: inset(0 -100vmax);
}
.section-mist,
.section:has(.method-visual-grid),
.section:has(.architecture-grid) {
  background: var(--mist);
  box-shadow: 0 0 0 100vmax var(--mist);
  clip-path: inset(0 -100vmax);
}
.section-night {
  background: var(--night);
  color: var(--bone);
  border-bottom-color: var(--line-dark);
  box-shadow: 0 0 0 100vmax var(--night);
  clip-path: inset(0 -100vmax);
}
.section:has(.cta-band) {
  background: var(--night);
  border-bottom-color: var(--night);
  box-shadow: 0 0 0 100vmax var(--night);
  clip-path: inset(0 -100vmax);
}
.section-night .section-head p,
.section-night p {
  color: var(--soft-dark);
}
.section-night .kicker,
.section-night .chip {
  color: var(--signal);
}
.section-night .chip {
  border-color: var(--signal);
}
.section-head {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(280px, .44fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 26px;
}
h2 {
  max-width: 840px;
  font-size: clamp(34px, 5vw, 70px);
  line-height: .94;
  letter-spacing: 0;
  font-weight: 900;
  overflow-wrap: break-word;
  hyphens: auto;
}
.section-head p,
.card p,
.download p,
.faq p,
.split p,
.entry p { color: var(--soft); font-size: 17px; }
.grid-2,
.grid-3,
.grid-4,
.offer-grid,
.downloads,
.faq-grid,
.path-grid {
  display: grid;
  gap: 14px;
}
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.path-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.model-map .entry {
  min-height: 230px;
  border-top: 4px solid var(--trust);
}
.model-map .entry:nth-child(2) { border-top-color: var(--signal); }
.model-map .entry:nth-child(3) { border-top-color: var(--field); }
.model-map .entry:nth-child(4) { border-top-color: var(--night); }
.model-map .entry:nth-child(5) { border-top-color: var(--trust); }
.card,
.download,
.faq,
.entry {
  min-width: 0;
  min-height: 240px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.card h3,
.download h3,
.faq h3,
.entry h3,
.offer h3 {
  overflow-wrap: anywhere;
}
.card.dark {
  background: var(--night);
  color: var(--bone);
  border-color: var(--night);
}
.card.dark p { color: var(--soft-dark); }
.card.tight,
.entry.tight {
  min-height: 190px;
}
.card.signal {
  background: rgba(255, 255, 255, .92);
  border-color: var(--line);
}
.offer {
  min-height: 310px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.offer.dark {
  background: var(--night);
  color: var(--bone);
  border-color: var(--night);
}
.offer.dark p,
.offer.dark li { color: var(--soft-dark); }
.offer h3 { max-width: 14ch; }
.offer ul,
.artifact-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
  color: var(--soft);
}
.price-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.price-card {
  min-height: 150px;
  display: grid;
  align-content: space-between;
  gap: 14px;
  padding: 18px;
  background: #fff;
}
.price-card.dark {
  background: var(--night);
  color: var(--bone);
}
.price-card p { color: var(--soft); }
.price-card.dark p { color: var(--soft-dark); }
.price-anchor {
  display: block;
  color: var(--trust);
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.dark .price-anchor { color: var(--signal); }
.role-router {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.role-router .entry {
  border: 0;
  border-radius: 0;
  background: #fff;
}
.artifact-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding-left: 0;
  list-style: none;
}
.artifact-list li {
  padding: 12px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .9);
}
.value-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.value-list li {
  padding: 12px 0;
  border-top: 1px solid var(--line);
  color: var(--soft);
}
.value-list li:first-child { border-top: 0; }
.rights-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 18px 42px rgba(11, 15, 18, .08);
}
.rights-table th,
.rights-table td {
  padding: 17px 16px;
  border-bottom: 1px solid rgba(21, 26, 30, .12);
  text-align: left;
  vertical-align: top;
}
.rights-table th {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--bone);
  background: var(--night);
  border-bottom: 3px solid var(--trust);
}
.rights-table td {
  color: var(--soft);
  background: rgba(255, 255, 255, .96);
}
.rights-table td:first-child {
  position: relative;
  color: var(--ink);
  font-weight: 850;
  background: rgba(35, 86, 246, .07);
}
.rights-table tr:last-child td { border-bottom: 0; }
.rights-table td + td,
.rights-table th + th { border-left: 1px solid rgba(21, 26, 30, .1); }
.rights-table th + th { border-left-color: rgba(244, 239, 231, .18); }
.rights-table td:last-child {
  color: var(--ink);
  background: rgba(35, 86, 246, .05);
}
.license-table td:nth-child(4) {
  background: rgba(35, 86, 246, .05);
}
.license-table td:nth-child(5) {
  background: rgba(35, 86, 246, .08);
}
.sequence-grid .proof-item {
  min-height: 0;
  padding: 18px 16px;
  background: #fff;
  border-top: 4px solid var(--trust);
  box-shadow: none;
}
.sequence-grid .proof-item:nth-child(2) { border-top-color: var(--signal); }
.sequence-grid .proof-item:nth-child(3) { border-top-color: var(--field); }
.sequence-grid .proof-item:nth-child(4) { border-top-color: var(--night); }
.proof-grid.sequence-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: rgba(21, 26, 30, .16);
  border: 1px solid rgba(21, 26, 30, .16);
}

.method-visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin: 0 0 18px;
}

.method-visual {
  position: relative;
  margin: 0 0 18px;
  padding: clamp(12px, 2vw, 22px);
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(rgba(21, 26, 30, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 26, 30, .05) 1px, transparent 1px),
    rgba(255, 255, 255, .94);
  background-size: 28px 28px;
  border: 1px solid rgba(21, 26, 30, .12);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(11, 15, 18, .08);
}

.method-visual-grid .method-visual {
  margin: 0;
  display: flex;
  align-items: center;
}

.method-visual img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

.method-visual-p {
  max-width: min(100%, 820px);
  min-height: clamp(420px, 72vw, 760px);
  margin-inline: auto;
}
.method-visual-source {
  padding: clamp(14px, 2.4vw, 24px);
}
.method-visual-source img {
  width: auto;
  max-width: 100%;
  max-height: min(74vh, 720px);
  border-radius: 6px;
  box-shadow: 0 14px 32px rgba(11, 15, 18, .12);
}
.method-visual-wide {
  max-width: 980px;
  margin-inline: auto;
}
.section-night .method-visual {
  background:
    linear-gradient(rgba(244, 239, 231, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 239, 231, .08) 1px, transparent 1px),
    rgba(244, 239, 231, .08);
  background-size: 28px 28px;
  border-color: var(--line-dark);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .18);
}
.team-feature {
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(0, .9fr);
  gap: clamp(14px, 2.4vw, 24px);
  align-items: stretch;
  margin-bottom: 18px;
}
.team-feature-reverse {
  grid-template-columns: minmax(0, .9fr) minmax(360px, .82fr);
}
.team-feature-reverse figure {
  order: 2;
}
.team-feature article {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 13px;
  padding: clamp(20px, 3vw, 30px);
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .14);
}
.team-feature article p {
  color: var(--soft);
}
.team-feature article .chip {
  color: var(--ink);
  border-color: var(--trust);
}
.team-feature .method-visual {
  margin-bottom: 0;
  min-height: 286px;
}
.team-feature .method-visual img {
  max-height: 260px;
}
.boundary {
  padding: clamp(22px, 4vw, 34px);
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 8px;
}
.boundary-dark {
  background: rgba(244, 239, 231, .08);
  border-color: var(--line-dark);
}
.boundary p {
  max-width: 980px;
  color: var(--soft);
  font-size: clamp(18px, 1.7vw, 22px);
  line-height: 1.34;
}
.boundary.boundary-dark p {
  color: var(--soft-dark);
}
.contact-boundary {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(320px, 1fr);
  gap: clamp(20px, 4vw, 34px);
  align-items: start;
}
.contact-boundary > .kicker,
.contact-boundary > h2,
.contact-boundary > p,
.contact-boundary > .actions {
  grid-column: 1;
}
.inline-contact-form {
  grid-column: 2;
  grid-row: 1 / span 4;
  padding: clamp(18px, 3vw, 26px);
  background: rgba(255, 255, 255, .96);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(11, 15, 18, .08);
}
.inline-contact-form h3 {
  margin-bottom: 8px;
}
.inline-contact-form p {
  font-size: 15px;
  line-height: 1.38;
}
.proof-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.proof-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.proof-item {
  min-height: 132px;
  padding: 16px;
  background: #fff;
}
.proof-grid-four .proof-item {
  border-top: 4px solid var(--trust);
}
.proof-grid-four .proof-item:nth-child(2) { border-top-color: var(--signal); }
.proof-grid-four .proof-item:nth-child(3) { border-top-color: var(--field); }
.proof-grid-four .proof-item:nth-child(4) { border-top-color: var(--night); }
.proof-item b {
  display: block;
  margin-bottom: 10px;
  color: var(--trust);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.proof-item span {
  color: var(--soft);
}
h3 { font-size: 27px; line-height: 1.04; font-weight: 880; letter-spacing: 0; }
.chip {
  width: fit-content;
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  border: 1px solid var(--signal);
  border-radius: 4px;
  color: var(--ink);
  font-size: 10px;
  font-weight: 800;
}
.grid-3 .card.tight {
  min-height: 210px;
  border-top: 4px solid var(--trust);
}
.grid-3 .card.tight:nth-child(2) { border-top-color: var(--signal); }
.grid-3 .card.tight:nth-child(3) { border-top-color: var(--field); }
.grid-3 .card.dark.tight {
  border-top-color: var(--signal);
}
.dark .chip,
.diagram-card.primary .chip {
  color: var(--bone);
  border-color: var(--signal);
}
.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: rgba(255, 255, 255, .9);
}
.blueprint {
  min-height: 460px;
  display: grid;
  place-items: center;
  padding: 32px;
  background:
    linear-gradient(rgba(0,209,193,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,209,193,.14) 1px, transparent 1px),
    var(--night);
  background-size: 24px 24px;
}
.blueprint img { width: min(100%, 360px); }
.split-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.fact {
  min-height: 164px;
  padding: 22px;
  border-left: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.fact:nth-last-child(-n+2) { border-bottom: 0; }
.fact b { display: block; color: var(--trust); font-size: 11px; margin-bottom: 10px; font-family: var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.fact p { color: var(--soft); }
.architecture-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr);
  gap: 14px;
}
.diagram-card {
  min-height: 360px;
  display: grid;
  align-content: start;
  gap: 20px;
  padding: 22px;
  background: var(--night);
  color: var(--bone);
  border: 1px solid var(--signal);
  border-radius: 8px;
}
.diagram-card.primary { grid-row: span 2; }
.diagram-card p { color: var(--soft-dark); font-size: 16px; }
.diagram-card:not(.primary) {
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  border-color: var(--signal);
}
.diagram-card:not(.primary) p { color: var(--soft); }
.diagram-card img {
  width: 100%;
  max-height: 460px;
  object-fit: contain;
  background: rgba(255, 255, 255, .04);
  border: 1px solid var(--signal);
}
.diagram-card:not(.primary) img {
  max-height: 210px;
  background: #fff;
  border-color: var(--signal);
}
.downloads { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.download { min-height: 210px; }
.download-meta { color: var(--slate); font-size: 11px; font-weight: 780; }
.download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  align-items: center;
}
.download-count {
  color: var(--slate);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 820;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.method-feedback {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.helpful-star {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--trust);
  border-radius: 6px;
  background: #fff;
  color: var(--trust);
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}
.helpful-star:hover {
  background: var(--trust);
  color: var(--bone);
}
.helpful-star:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 3px;
}
.method-feedback b {
  display: block;
  color: var(--trust);
  font-size: 13px;
  font-weight: 820;
  line-height: 1.35;
}
.method-feedback span {
  display: block;
  margin-top: 4px;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.3;
}
.conversion-box {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--trust);
  border-radius: 8px;
  background: #fff;
}
.conversion-box h3 {
  margin-top: 6px;
  max-width: 820px;
  font-size: clamp(20px, 2vw, 28px);
}
.conversion-box p {
  max-width: 760px;
  margin-top: 8px;
  color: var(--soft);
}
.method-feedback-panel {
  max-width: 820px;
}
.consent-check {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  color: var(--soft);
  font: 500 14px/1.35 var(--sans);
  letter-spacing: 0;
  text-transform: none;
}
.contact-form .consent-check input {
  width: 18px;
  min-height: 18px;
  margin-top: 1px;
  padding: 0;
}
.consent-check span {
  min-width: 0;
}
.faq-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.faq { min-height: 190px; align-content: start; }
.faq h3 { font-size: 23px; margin-bottom: 10px; }
.note {
  padding: 22px;
  background: var(--night);
  color: var(--bone);
  border-radius: 8px;
}
.note .kicker,
.signal-panel .kicker,
.cta-band .kicker { color: var(--signal); }
.note p { color: var(--soft-dark); }
.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  padding: clamp(24px, 4vw, 36px);
  background: var(--night);
  color: var(--bone);
  border-radius: 8px;
}
.cta-band h2 {
  max-width: 760px;
  font-size: clamp(30px, 4vw, 54px);
}
.cta-band p {
  max-width: 760px;
  margin-top: 14px;
  color: var(--soft-dark);
  font-size: 17px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}
.button.secondary-light { background: transparent; color: #fff; border-color: #fff; }
.contact-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
  background: rgba(11,15,18,.68);
  backdrop-filter: blur(14px);
}
.contact-overlay.is-open { display: grid; }
body.overlay-open { overflow: hidden; }
.contact-panel {
  width: min(940px, calc(100% - 28px));
  max-height: min(92vh, 920px);
  margin: auto;
  display: grid;
  grid-template-columns: minmax(240px, .82fr) minmax(0, 1.18fr);
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--signal);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 24px 70px rgba(11,15,18,.34);
}
.contact-context {
  display: grid;
  align-content: space-between;
  gap: 24px;
  padding: clamp(22px, 3vw, 34px);
  background: var(--night);
  color: var(--bone);
}
.contact-context p { color: var(--soft-dark); }
.contact-summary {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.contact-summary li {
  padding: 10px 0;
  border-top: 1px solid var(--line-dark);
  color: var(--soft-dark);
}
.contact-summary b {
  display: block;
  color: var(--signal);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.contact-form-wrap {
  padding: clamp(22px, 3vw, 34px);
  overflow: auto;
}
.contact-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  margin-bottom: 18px;
}
.contact-close {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.contact-close { width: 42px; }
.contact-form {
  display: grid;
  gap: 14px;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.contact-form label {
  display: grid;
  gap: 7px;
  color: var(--slate);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.contact-form .consent-check {
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  color: var(--soft);
  font: 500 14px/1.35 var(--sans);
  letter-spacing: 0;
  text-transform: none;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: rgba(255, 255, 255, .94);
  color: var(--ink);
  padding: 10px 12px;
  font: 500 15px/1.35 var(--sans);
}
.contact-form textarea {
  min-height: 150px;
  resize: vertical;
}
.bot-trap-wrap {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.bot-shield {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(22, 92, 125, .24);
  border-left: 4px solid var(--trust);
  border-radius: 8px;
  background: rgba(22, 92, 125, .07);
}
.bot-shield b,
.bot-shield-state {
  display: block;
  color: var(--trust);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.bot-shield span {
  color: var(--soft);
  font-size: 13px;
  line-height: 1.3;
}
.bot-arm {
  min-height: 38px;
  border: 1px solid var(--trust);
  border-radius: 6px;
  background: #fff;
  color: var(--trust);
  padding: 0 12px;
  cursor: pointer;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.bot-shield.is-armed {
  border-left-color: var(--field);
  background: rgba(35, 118, 84, .08);
}
.bot-shield.is-armed .bot-arm {
  border-color: var(--field);
  background: var(--field);
  color: var(--bone);
}
.contact-status {
  min-height: 40px;
  color: var(--soft);
  font-size: 14px;
}
.contact-status.is-success {
  color: var(--field);
  font-weight: 760;
}
.contact-privacy {
  color: var(--soft);
  font-size: 13px;
}
.legal-page {
  max-width: 900px;
}
.legal-page .section-head {
  grid-template-columns: 1fr;
  max-width: 780px;
}
.legal-block {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--trust);
  border-radius: 8px;
  background: rgba(255, 255, 255, .62);
}
.legal-block h2 {
  font-size: clamp(26px, 3vw, 40px);
}
.legal-block h3 {
  font-size: 18px;
}
.legal-block p,
.legal-block li {
  color: var(--soft);
}
.legal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 20px;
}
.legal-meta {
  display: grid;
  gap: 6px;
}
.method-feedback [hidden],
.download-count[hidden] {
  display: none;
}
.footer {
  padding: 28px 0;
  background: var(--night);
  color: var(--soft-dark);
  font-size: 11px;
  font-weight: 760;
}
.footline { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.footer a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.footer-links {
  display: inline-flex;
  gap: 14px;
  flex-wrap: wrap;
}
@media (max-width: 980px) {
  .nav { grid-template-columns: 1fr auto auto auto; }
  .menu-toggle { display: inline-flex; }
  .nav > .button { display: none; }
  .links {
    position: absolute;
    top: calc(100% + 1px);
    left: 12px;
    right: 12px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px;
    background: rgba(255, 255, 255, .98);
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 20px 46px rgba(11, 15, 18, .16);
  }
  .nav.is-menu-open .links { display: grid; }
  .links a {
    min-height: 44px;
    justify-content: flex-start;
    border-color: transparent;
    border-radius: 6px;
    font-size: 12px;
  }
  .links a + a { border-top: 1px solid rgba(21, 26, 30, .08); }
  .hero,
  .section-head,
  .architecture-grid,
  .split,
  .cta-band,
  .contact-boundary,
  .contact-panel { grid-template-columns: 1fr; }
  .contact-boundary > .kicker,
  .contact-boundary > h2,
  .contact-boundary > p,
  .contact-boundary > .actions,
  .inline-contact-form {
    grid-column: auto;
    grid-row: auto;
  }
  .diagram-card.primary { grid-row: auto; }
  .diagram-card { min-height: 0; }
  .cta-actions { justify-content: flex-start; }
  .conversion-box {
    grid-template-columns: 1fr;
    align-items: start;
  }
  .hero {
    gap: 22px;
    padding: 36px 0 34px;
  }
  .hero.hero-dark { padding: 32px; }
  h1 {
    max-width: 17ch;
    font-size: clamp(42px, 9vw, 66px);
  }
  .lead { max-width: 62ch; }
  .grid-3,
  .grid-4,
  .offer-grid,
  .path-grid,
  .downloads,
  .faq-grid,
  .method-visual-grid,
  .proof-grid,
  .price-strip,
  .role-router { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-feature,
  .team-feature-reverse {
    grid-template-columns: 1fr;
  }
  .team-feature-reverse figure {
    order: 0;
  }
}
@media (max-width: 640px) {
  body { background: var(--bone); }
  .wrap { width: min(var(--max), calc(100% - 24px)); }
  .nav {
    min-height: 64px;
    gap: 10px;
  }
  .brand img { width: min(196px, 52vw); }
  .lang-switch,
  .download-shortcut,
  .menu-toggle {
    min-width: 42px;
    width: 42px;
    height: 38px;
  }
  .links {
    left: 8px;
    right: 8px;
    max-height: calc(100dvh - 86px);
    overflow-y: auto;
  }
  .button.secondary { display: none; }
  .hero { padding: 30px 0 28px; }
  .hero.hero-dark { padding: 26px; }
  h1 { font-size: clamp(36px, 11vw, 52px); }
  h2 { font-size: clamp(31px, 9vw, 44px); }
  h3 { font-size: 22px; }
  .lead { font-size: 18px; }
  .signal-panel { min-height: 0; }
  .hero-side { display: none; }
  .hero-side .metric-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .grid-2,
  .grid-3,
  .grid-4,
  .offer-grid,
  .path-grid,
  .downloads,
  .faq-grid,
  .method-visual-grid,
  .proof-grid,
  .proof-grid.sequence-grid,
  .price-strip,
  .role-router,
  .metric-grid,
  .split-body { grid-template-columns: 1fr; }
  .team-feature article {
    padding: 18px;
  }
  .rights-table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: visible;
    border-radius: 8px;
  }
  .rights-table thead {
    display: none;
  }
  .rights-table tbody,
  .rights-table tr,
  .rights-table td {
    display: block;
    width: 100%;
  }
  .rights-table tbody {
    display: grid;
    gap: 10px;
    padding: 10px;
    background: #fff;
  }
  .rights-table tr {
    overflow: hidden;
    border: 1px solid rgba(21, 26, 30, .12);
    border-radius: 8px;
    background: rgba(255, 255, 255, .98);
  }
  .rights-table td,
  .rights-table td:first-child,
  .rights-table td:last-child,
  .license-table td:nth-child(4),
  .license-table td:nth-child(5) {
    padding: 11px 12px;
    border: 0;
    border-bottom: 1px solid rgba(21, 26, 30, .1);
    background: transparent;
    overflow-wrap: anywhere;
  }
  .rights-table td:first-child {
    border-left: 4px solid var(--trust);
    color: var(--ink);
  }
  .rights-table td:last-child {
    border-bottom: 0;
  }
  .toc-map {
    gap: 8px;
  }
  .toc-map .entry,
  .model-map .entry.tight {
    min-height: 0;
  }
  .toc-map .entry {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
    gap: 0;
    padding: 13px 14px;
    border-top-width: 0;
    border-left: 4px solid var(--trust);
  }
  .toc-map .entry:nth-child(2) { border-left-color: var(--signal); }
  .toc-map .entry:nth-child(3) { border-left-color: var(--field); }
  .toc-map .entry:nth-child(4) { border-left-color: var(--night); }
  .toc-map .entry:nth-child(5) { border-left-color: var(--trust); }
  .toc-map .entry h3 {
    font-size: 20px;
    line-height: 1.08;
  }
  .toc-map .entry p {
    margin-top: 4px;
    font-size: 14px;
    line-height: 1.32;
  }
  .toc-map .chip { display: none; }
  .artifact-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .bot-shield {
    grid-template-columns: 1fr;
  }
  .bot-arm {
    width: 100%;
  }
  .contact-overlay {
    align-items: start;
    max-height: 100dvh;
    overflow-y: auto;
    padding: 12px 0 calc(24px + env(safe-area-inset-bottom));
    -webkit-overflow-scrolling: touch;
  }
  .contact-panel {
    width: min(100% - 24px, 560px);
    max-height: none;
    margin: 0 auto;
    overflow: visible;
  }
  .contact-context {
    align-content: start;
    gap: 22px;
  }
  .contact-form-wrap {
    overflow: visible;
  }
  .metric,
  .fact { border-right: 0; border-left: 0; }
  .metric:nth-last-child(-n+2) { border-bottom: 1px solid var(--line-dark); }
  .metric:last-child,
  .fact:last-child { border-bottom: 0; }
}
