:root {
  color-scheme: light;
  --ink: #141916;
  --muted: #5c6962;
  --paper: #f8faf5;
  --white: #ffffff;
  --line: #d8dfd5;
  --teal: #116a63;
  --teal-dark: #0a413d;
  --green: #48a56f;
  --amber: #c98b2b;
  --coral: #c95e4d;
  --steel: #28353d;
  --navy: #0e1a24;
  --soft: #eef4ef;
  --shadow: 0 24px 74px rgba(18, 26, 22, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

.legacy-pricing[hidden],
[hidden].legacy-pricing {
  display: none !important;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 68px;
  padding: 12px clamp(18px, 5vw, 64px);
  background: rgba(248, 250, 245, 0.9);
  border-bottom: 1px solid rgba(216, 223, 213, 0.82);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.language-switch {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 850;
}

.brand-main,
.brand-title {
  text-decoration: none;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 46px;
  height: 38px;
  border-radius: 8px;
  background: var(--teal);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0;
  text-decoration: none;
}

.brand-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}

.brand-title {
  color: var(--ink);
  font-size: 18px;
  font-weight: 850;
  line-height: 1.1;
}

.brand-copy small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
  white-space: nowrap;
}

.brand-copy small a {
  color: inherit;
  text-decoration: none;
}

.brand-title:hover,
.brand-copy small a:hover {
  color: var(--teal);
}

.nav {
  justify-content: center;
  gap: 22px;
}

.nav a {
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

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

.language-switch {
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.lang-btn {
  min-width: 42px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
}

.lang-btn.active {
  background: var(--teal);
  color: var(--white);
}

.hero {
  position: relative;
  min-height: 96svh;
  padding: 118px clamp(18px, 6vw, 78px) 72px;
  overflow: hidden;
  color: var(--white);
}

.hero picture,
.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(6, 18, 18, 0.9), rgba(6, 18, 18, 0.68) 48%, rgba(6, 18, 18, 0.38)),
    linear-gradient(0deg, rgba(6, 18, 18, 0.74), rgba(6, 18, 18, 0.1) 58%);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(360px, 0.78fr);
  align-items: end;
  gap: clamp(28px, 5vw, 68px);
  min-height: calc(96svh - 190px);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 900px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6.2vw, 78px);
  line-height: 0.98;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(31px, 4.2vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.2;
}

.lead {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions,
.pilot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 850;
  text-decoration: none;
  cursor: pointer;
}

.button.primary {
  background: var(--teal);
  color: var(--white);
}

.button.primary:hover {
  background: var(--teal-dark);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.36);
  color: var(--white);
}

.button.secondary.dark {
  background: transparent;
  border-color: rgba(20, 25, 22, 0.22);
  color: var(--ink);
}

.control-plane {
  width: min(100%, 560px);
  justify-self: end;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(9, 19, 24, 0.78);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(18px);
}

.plane-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.plane-top span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.agent-ring {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.agent-card {
  min-height: 74px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.agent-card.accent {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 12px;
  align-items: center;
  background: rgba(17, 106, 99, 0.42);
  border-color: rgba(94, 234, 212, 0.32);
}

.agent-card.promise-agent {
  grid-column: 1 / -1;
  min-height: 76px;
  background:
    linear-gradient(135deg, rgba(215, 156, 44, 0.22), rgba(17, 106, 99, 0.22)),
    rgba(255, 255, 255, 0.08);
  border-color: rgba(215, 156, 44, 0.38);
}

.agent-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--navy);
  font-weight: 900;
}

.agent-card strong {
  display: block;
  font-size: 15px;
  line-height: 1.15;
}

.agent-card small {
  display: block;
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  line-height: 1.28;
}

.section {
  padding: clamp(64px, 9vw, 118px) clamp(18px, 6vw, 78px);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 34px;
}

.section-heading.wide {
  max-width: 1040px;
}

.section-heading p,
.intencheck-copy p,
.pilot-card p {
  color: var(--muted);
  font-size: 18px;
}

.problem-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(320px, 1fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}

.signal-map {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.signal-map span,
.signal-map strong,
.fit-grid article {
  min-height: 58px;
  padding: 16px;
  border-radius: 8px;
}

.signal-map span {
  border: 1px solid var(--line);
  color: var(--muted);
  font-weight: 750;
}

.signal-map strong {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  background: var(--teal);
  color: var(--white);
  font-size: 20px;
}

.system-section,
.pricing-section {
  background: var(--soft);
}

.start-budget-card {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.start-budget-copy h3 {
  margin: 0 0 12px;
  font-size: clamp(28px, 3vw, 42px);
}

.start-budget-result {
  padding: 24px;
  border-radius: 8px;
  background: var(--soft);
}

.start-budget-lines {
  display: grid;
  gap: 10px;
  margin: 18px 0;
}

.start-budget-lines div,
.start-budget-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.start-budget-lines dt {
  min-width: 0;
  color: var(--muted);
  font-weight: 800;
}

.start-budget-lines dd {
  flex: 0 0 auto;
  margin: 0;
  font-weight: 900;
}

.start-budget-total {
  align-items: baseline;
  border-bottom: 0;
  color: var(--teal);
}

.start-budget-total strong {
  font-size: 34px;
}

.ops-grid,
.fit-grid,
.promise-grid,
.pricing-grid,
.control-grid,
.licensing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

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

.ops-grid article,
.promise-grid article,
.pricing-grid article,
.control-grid article,
.licensing-grid article {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.promise-section {
  background: var(--paper);
}

.purpose-section {
  background: #f3f7f2;
}

.purpose-grid article {
  background: var(--white);
  border-color: rgba(17, 106, 99, 0.18);
}

.control-section {
  background: var(--white);
}

.control-grid article {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 245, 0.96)),
    var(--white);
}

.control-grid article::after {
  content: "";
  position: absolute;
  inset: auto -34px -58px auto;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(17, 106, 99, 0.09);
}

.roles-section {
  background: var(--white);
}

.role-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 24px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.legend-item::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
}

.legend-item.system::before {
  background: var(--amber);
}

.legend-item.hired::before {
  background: var(--teal);
}

.role-group {
  margin-top: 24px;
}

.role-group > h3 {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: 22px;
}

.role-group-note {
  max-width: 100%;
  margin: -6px 0 16px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.nowrap-note {
  white-space: nowrap;
}

.licensing-section {
  background: var(--paper);
}

.licensing-grid article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 245, 0.98)),
    var(--white);
}

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

.roles-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.roles-grid article.system-role {
  border-color: rgba(210, 150, 45, 0.38);
  background:
    linear-gradient(180deg, rgba(255, 250, 235, 0.92), rgba(248, 250, 245, 0.96)),
    var(--paper);
}

.roles-grid article.hired-role {
  border-color: rgba(17, 106, 99, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(238, 248, 244, 0.88)),
    var(--paper);
}

.roles-grid article.level-role,
.roles-grid article.protected-role {
  cursor: pointer;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.roles-grid article.level-role:hover,
.roles-grid article.level-role:focus-within,
.roles-grid article.protected-role:hover,
.roles-grid article.protected-role:focus-within {
  border-color: rgba(17, 106, 99, 0.42);
  box-shadow: 0 16px 34px rgba(14, 26, 36, 0.08);
  transform: translateY(-2px);
}

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

.role-card-top h3 {
  margin-bottom: 0;
}

.level-pill {
  flex: 0 0 auto;
  min-width: 58px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid rgba(17, 106, 99, 0.25);
  border-radius: 999px;
  color: var(--teal-dark);
  background: var(--white);
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  cursor: pointer;
}

.level-pill:hover,
.level-pill:focus-visible {
  outline: none;
  border-color: rgba(17, 106, 99, 0.55);
  background: rgba(238, 248, 244, 0.9);
}

.system-role .level-pill {
  border-color: rgba(210, 150, 45, 0.34);
  color: #7c5b16;
  background: rgba(255, 247, 220, 0.72);
}

.protected-role .level-pill {
  cursor: pointer;
}

.protected-role.is-protected-revealed .level-text {
  color: #7c5b16;
  font-weight: 900;
}

.protected-callout {
  margin-top: 12px;
  padding: 10px 12px;
  border: 1px solid rgba(210, 150, 45, 0.3);
  border-radius: 8px;
  color: #7c5b16;
  background: rgba(255, 247, 220, 0.72);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.35;
}

.roles-grid h3 {
  display: block;
  margin: 0 0 12px;
  color: var(--teal-dark);
  font-size: 18px;
  line-height: 1.15;
}

.roles-grid p {
  display: block;
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.45;
}

.roles-grid .role-core {
  margin-bottom: 12px;
  color: var(--ink);
  font-weight: 900;
}

.roles-grid .level-text {
  min-height: 86px;
  color: var(--muted);
}

.roles-grid small {
  display: block;
  margin-top: 16px;
  color: var(--teal-dark);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.35;
}

.crash-section {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(10, 65, 61, 0.94), rgba(14, 26, 36, 0.95)),
    var(--navy);
}

.crash-section .section-heading p {
  color: rgba(255, 255, 255, 0.74);
}

.pricing-grid article {
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 245, 0.98)),
    var(--white);
}

.pricing-grid article > p:last-child {
  margin-bottom: 0;
}

.price-line {
  margin: 10px 0 14px;
  color: var(--teal);
  font-size: 22px;
  font-weight: 800;
}

.pricing-action-card {
  position: relative;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

.pricing-action-card::after {
  content: "View details";
  display: inline-flex;
  align-items: center;
  margin-top: auto;
  padding-top: 18px;
  color: var(--teal);
  font-size: 14px;
  font-weight: 900;
}

.pricing-action-card:hover,
.pricing-action-card:focus-visible {
  border-color: rgba(17, 106, 99, 0.38);
  box-shadow: 0 24px 60px rgba(9, 32, 37, 0.13);
  transform: translateY(-2px);
  outline: none;
}

.credit-model {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 16px;
  margin-top: 18px;
}

.credit-table {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.credit-table h3 {
  margin: 0 0 16px;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(80px, 0.8fr) minmax(96px, 1fr) minmax(118px, 1.15fr);
  gap: 16px;
  align-items: center;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 15px;
}

.price-row strong {
  color: var(--ink);
  font-size: 17px;
}

.price-row span:last-child {
  color: var(--ink);
  font-weight: 700;
}

.credit-table:first-child .price-row {
  grid-template-columns: 46px minmax(230px, 2fr) minmax(52px, 0.38fr) minmax(42px, 0.32fr);
  gap: 9px;
}

.price-row-head {
  padding-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.price-row-head span,
.price-row-head span:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.price-row-use-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.market-rate-card {
  display: flex;
  flex-direction: column;
}

.market-rate-default {
  display: grid;
  grid-template-columns: minmax(92px, 1fr) minmax(72px, 0.8fr) minmax(118px, 1fr);
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.market-rate-default strong,
.market-rate-default b {
  color: var(--ink);
}

.market-rate-default span {
  color: var(--muted);
}

.market-select-label {
  display: block;
  margin: 18px 0 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.market-input-help {
  margin: -2px 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.market-select {
  width: 100%;
  min-height: 46px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.market-suggestions {
  display: none;
  overflow: hidden;
  margin-top: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.market-suggestions.open {
  display: grid;
}

.market-suggestion {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 9px 12px;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.market-suggestion:last-child {
  border-bottom: 0;
}

.market-suggestion:hover,
.market-suggestion:focus-visible {
  background: rgba(17, 106, 99, 0.09);
  outline: none;
}

.market-suggestion.is-sanctioned {
  color: #8a2418;
  cursor: not-allowed;
}

.market-suggestion.is-sanctioned:hover,
.market-suggestion.is-sanctioned:focus-visible {
  background: rgba(138, 36, 24, 0.08);
}

.market-suggestion span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.market-suggestion.is-sanctioned span {
  color: #8a2418;
}

.market-rate-result {
  margin-top: 14px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(17, 106, 99, 0.09);
  color: var(--teal);
  font-weight: 900;
}

.market-rate-result.is-sanctioned {
  background: rgba(138, 75, 24, 0.11);
  color: #8a4b18;
}

.market-rate-match {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.market-rate-match.is-missing {
  color: #8a4b18;
}

.market-rate-legend {
  margin: 12px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.onboarding-flow {
  background: var(--white);
}

.onboarding-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.85fr) minmax(0, 1.35fr);
  gap: 22px;
  align-items: stretch;
}

.trial-card,
.onboarding-paths article,
.onboarding-rules article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(239, 247, 243, 0.96)),
    var(--white);
  box-shadow: 0 18px 50px rgba(9, 32, 37, 0.08);
}

.trial-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
}

.trial-card > span,
.onboarding-paths span {
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.trial-card h3,
.onboarding-paths h3 {
  margin: 12px 0 10px;
  color: var(--ink);
}

.trial-card p,
.onboarding-paths p,
.onboarding-rules p {
  color: var(--muted);
}

.deposit-line {
  display: grid;
  gap: 4px;
  margin-top: auto;
  padding: 18px;
  border-radius: 8px;
  background: rgba(17, 106, 99, 0.1);
}

.deposit-line strong {
  color: var(--teal-dark);
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1;
}

.deposit-line span,
.trial-rule {
  color: var(--teal-dark);
  font-weight: 800;
}

.trial-rule {
  margin: 14px 0 0;
}

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

.onboarding-paths article {
  padding: 22px;
}

.onboarding-rules {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.onboarding-rules article {
  padding: 18px;
}

.onboarding-rules strong {
  color: var(--ink);
}

.external-costs {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(232, 248, 241, 0.96)),
    var(--white);
}

.formula {
  margin-top: 18px;
  padding: 14px;
  border-radius: 8px;
  background: rgba(17, 106, 99, 0.09);
  color: var(--teal);
  font-weight: 800;
}

.pricing-popover {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(9, 32, 37, 0.62);
}

.pricing-popover.open {
  display: flex;
}

.pricing-popover-card {
  position: relative;
  width: min(620px, 100%);
  max-height: min(680px, calc(100vh - 44px));
  overflow: auto;
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 245, 0.98)),
    var(--white);
  box-shadow: 0 26px 90px rgba(9, 32, 37, 0.28);
}

.pricing-popover-card h3 {
  margin: 0 0 14px;
  color: var(--teal-dark);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.08;
}

.pricing-popover-card p {
  color: var(--muted);
}

.pricing-popover-card ul {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.pricing-popover-card li {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 106, 99, 0.07);
  color: var(--teal-dark);
  font-weight: 800;
}

.popover-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--teal-dark);
  cursor: pointer;
  font: inherit;
  font-weight: 900;
}

.trust-section {
  background:
    linear-gradient(135deg, rgba(14, 26, 36, 0.96), rgba(10, 65, 61, 0.94)),
    var(--navy);
  color: var(--white);
}

.trust-card {
  max-width: 980px;
}

.trust-card .eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.trust-card h2 {
  max-width: 860px;
  margin: 0;
  color: var(--white);
}

.trust-card p:not(.eyebrow) {
  max-width: 760px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(18px, 2.1vw, 24px);
}

.ops-grid span,
.promise-grid span,
.pricing-grid span,
.control-grid span,
.licensing-grid span {
  display: inline-flex;
  margin-bottom: 42px;
  color: var(--teal);
  font-weight: 900;
}

.ops-grid p,
.promise-grid p,
.pricing-grid p,
.control-grid p,
.licensing-grid p {
  color: var(--muted);
}

.intencheck-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 1.1fr);
  gap: clamp(28px, 6vw, 76px);
  align-items: center;
}

.check-list {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  color: var(--muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.intencheck-visual {
  position: relative;
  padding: clamp(18px, 3vw, 28px);
  border-radius: 8px;
  background:
    radial-gradient(circle at 20% 0%, rgba(72, 165, 111, 0.28), transparent 32%),
    linear-gradient(145deg, #0d1b25, #132d32 54%, #0c191f);
  box-shadow: var(--shadow);
}

.fingerprint-mockup {
  display: grid;
  gap: 16px;
  min-height: 520px;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(248, 250, 245, 0.96);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.mockup-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.mockup-topbar span,
.message-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.mockup-topbar strong {
  color: var(--teal-dark);
  font-size: clamp(18px, 2.4vw, 24px);
  line-height: 1.1;
  text-align: right;
}

.message-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf5;
}

.message-card p {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(20px, 2.8vw, 30px);
  font-weight: 900;
  line-height: 1.08;
}

.fingerprint-bars {
  display: grid;
  gap: 14px;
}

.score-row {
  display: grid;
  gap: 8px;
}

.score-row div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
}

.score-row strong {
  color: var(--ink);
}

.score-row span {
  color: var(--teal);
  font-size: 22px;
  font-weight: 950;
}

.score-row i {
  display: block;
  width: 100%;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background: #dfe7de;
}

.score-row i::before {
  content: "";
  display: block;
  width: var(--score);
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--teal), var(--green));
}

.fingerprint-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-self: end;
  margin-top: 8px;
}

.fingerprint-tags span {
  padding: 0.38rem 0.7rem;
  border: 1px solid rgba(17, 106, 99, 0.18);
  border-radius: 999px;
  background: rgba(17, 106, 99, 0.08);
  color: var(--teal-dark);
  font-size: 13px;
  font-weight: 850;
}

.loop-section {
  background: var(--steel);
  color: var(--white);
}

.loop-section .section-heading p {
  color: rgba(255, 255, 255, 0.72);
}

.loop {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
}

.loop span,
.loop strong {
  display: grid;
  place-items: center;
  min-height: 86px;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  text-align: center;
}

.loop span {
  color: rgba(255, 255, 255, 0.76);
}

.loop strong {
  background: var(--amber);
  color: var(--navy);
}

.fit-grid article {
  display: flex;
  align-items: flex-end;
  min-height: 180px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  color: var(--teal-dark);
  font-size: 20px;
  font-weight: 850;
  line-height: 1.2;
}

.pilot-section {
  background: #f0f4ed;
}

.pilot-card {
  max-width: 1000px;
  padding: clamp(28px, 5vw, 54px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.pilot-card h2 {
  max-width: 920px;
}

.deployment-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.deployment-options article {
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8faf5;
}

.deployment-options span {
  display: block;
  margin-bottom: 12px;
  color: var(--teal-dark);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.18;
}

.deployment-options p {
  margin-bottom: 0;
  font-size: 16px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 6vw, 78px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer a {
  color: var(--teal);
  font-weight: 850;
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.legal-page {
  color: var(--ink);
  margin: 0 auto;
  max-width: 860px;
  padding: 72px 24px 96px;
}

.legal-page .back-link {
  color: var(--teal);
  display: inline-block;
  font-weight: 850;
  margin-bottom: 28px;
  text-decoration: none;
}

.legal-page h1 {
  font-size: clamp(40px, 7vw, 72px);
  letter-spacing: 0;
  line-height: 1;
  margin: 0 0 18px;
}

.legal-page h2 {
  font-size: 24px;
  letter-spacing: 0;
  margin: 34px 0 10px;
}

.legal-page p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.62;
}

.legal-page a {
  color: var(--teal);
}

.subpage {
  min-height: 100vh;
  background: var(--soft);
}

.subpage-header {
  position: static;
  border-bottom: 1px solid var(--line);
  background: rgba(248, 250, 245, 0.96);
}

.request-hero {
  min-height: auto;
  padding: clamp(72px, 10vw, 130px) clamp(18px, 6vw, 78px) 36px;
  background:
    linear-gradient(135deg, rgba(10, 65, 61, 0.96), rgba(14, 26, 36, 0.96)),
    var(--navy);
  color: var(--white);
}

.request-hero > div {
  max-width: 980px;
}

.request-hero .lead {
  color: rgba(255, 255, 255, 0.76);
}

.request-section {
  padding: clamp(34px, 6vw, 72px) clamp(18px, 6vw, 78px);
}

.request-form,
.blog-shell {
  max-width: 1040px;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

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

.request-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
  color: var(--teal-dark);
  font-size: 14px;
  font-weight: 850;
}

.request-form input,
.request-form select,
.request-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: #fbfcf8;
  color: var(--navy);
  font: inherit;
  font-weight: 650;
}

.request-form textarea {
  resize: vertical;
}

.checkbox-line {
  grid-template-columns: auto 1fr;
  align-items: start;
  color: var(--muted);
}

.checkbox-line input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
}

.form-note,
.form-result {
  max-width: 760px;
  color: var(--muted);
  font-size: 15px;
}

.form-result {
  margin: 18px 0 0;
  color: var(--teal-dark);
  font-weight: 850;
}

.form-result.is-error {
  color: #b42342;
}

.blog-placeholder {
  max-width: 780px;
}

.blog-placeholder span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.blog-placeholder h2 {
  margin-bottom: 16px;
}

.education-shell {
  display: grid;
  gap: 28px;
}

.education-article {
  display: grid;
  gap: 28px;
  max-width: 900px;
}

.education-article h2 {
  margin-bottom: 8px;
}

.education-article p {
  color: var(--muted);
  font-size: 18px;
}

.education-callout,
.education-task-head,
.education-cta,
.education-proof {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
  background: #fbfcf8;
}

.education-callout {
  border-color: rgba(17, 106, 99, 0.24);
  background: #e8f3ed;
  color: var(--teal-dark);
}

.education-callout p,
.education-cta p {
  color: inherit;
}

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

.education-grid article {
  min-height: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--white);
}

.education-grid span,
.education-proof span,
.education-task-head span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.education-task-head dl {
  display: grid;
  grid-template-columns: minmax(120px, 0.28fr) minmax(0, 1fr);
  gap: 10px 18px;
  margin: 0;
}

.education-task-head dt {
  color: var(--teal-dark);
  font-weight: 900;
}

.education-task-head dd {
  margin: 0;
  color: var(--muted);
}

.education-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  background: var(--teal-dark);
  color: var(--white);
}

.education-cta h2,
.education-cta p {
  margin: 0;
}

.education-proof ul {
  margin: 14px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

@media (max-width: 1080px) {
  .hero-grid,
  .problem-section,
  .intencheck-section,
  .education-grid,
  .education-cta {
    grid-template-columns: 1fr;
  }

  .control-plane {
    justify-self: start;
  }

  .ops-grid,
  .fit-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .promise-grid,
  .pricing-grid,
  .credit-model,
  .start-budget-card,
  .onboarding-grid,
  .onboarding-rules,
  .control-grid,
  .licensing-grid,
  .roles-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 720px) {
  .site-header {
    position: absolute;
    grid-template-columns: 1fr auto;
    align-items: start;
    padding: 14px 18px;
  }

  .nav {
    grid-column: 1 / -1;
    justify-content: start;
    gap: 12px;
    overflow-x: auto;
  }

  .nav a {
    white-space: nowrap;
  }

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

  .brand-copy small {
    max-width: min(70vw, 320px);
    white-space: normal;
  }

  .hero {
    min-height: auto;
    padding: 210px 18px 54px;
  }

  .hero-grid {
    min-height: 0;
  }

  h1 {
    font-size: clamp(38px, 10vw, 48px);
    line-height: 1.02;
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .agent-ring,
  .signal-map,
  .ops-grid,
  .fit-grid,
  .promise-grid,
  .pricing-grid,
  .credit-model,
  .onboarding-grid,
  .onboarding-paths,
  .onboarding-rules,
  .control-grid,
  .licensing-grid,
  .roles-grid,
  .loop,
  .deployment-options {
    grid-template-columns: 1fr;
  }

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

  .price-row,
  .market-rate-default,
  .credit-table:first-child .price-row {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .section {
    padding: 58px 18px;
  }

  .fingerprint-mockup {
    min-height: 0;
  }

  .mockup-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .mockup-topbar strong {
    text-align: left;
  }

  .footer {
    display: grid;
  }

  .footer-links {
    justify-content: flex-start;
  }
}
