:root {
  --enterprise-ink: #10231d;
  --enterprise-muted: #5b6d66;
  --enterprise-green: #14b86f;
  --enterprise-green-dark: #0a7a4a;
  --enterprise-lime: #d9ff67;
  --enterprise-surface: #f4f8f5;
  --enterprise-line: #d7e1db;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.enterprise-page {
  margin: 0;
  color: var(--enterprise-ink);
  background: #ffffff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.enterprise-page a {
  color: inherit;
}

.enterprise-nav {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid rgba(16, 35, 29, 0.1);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(18px);
}

.enterprise-nav-inner {
  width: min(1180px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.enterprise-brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--enterprise-ink);
  text-decoration: none;
}

.enterprise-brand > span:last-child {
  display: grid;
  gap: 1px;
}

.enterprise-brand strong {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

.enterprise-brand small {
  color: var(--enterprise-muted);
  font-size: 0.68rem;
}

.enterprise-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.enterprise-nav-links > a:not(.button) {
  color: #53655e;
  font-size: 0.86rem;
  font-weight: 650;
  text-decoration: none;
}

.enterprise-nav-links > a:not(.button):hover {
  color: var(--enterprise-green-dark);
}

.enterprise-page .button {
  min-height: 43px;
  border-radius: 10px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 750;
  text-decoration: none;
}

.enterprise-page .button.primary {
  border-color: var(--enterprise-green);
  background: var(--enterprise-green);
  color: #06281a;
  box-shadow: 0 10px 28px rgba(20, 184, 111, 0.2);
}

.enterprise-page .button.primary:hover {
  border-color: #1fc87c;
  background: #1fc87c;
  transform: translateY(-1px);
}

.enterprise-page .button.secondary {
  border-color: #cbd8d0;
  background: #fff;
  color: var(--enterprise-ink);
}

.enterprise-hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--enterprise-line);
  background:
    radial-gradient(circle at 78% 16%, rgba(217, 255, 103, 0.32), transparent 24%),
    radial-gradient(circle at 8% 80%, rgba(20, 184, 111, 0.13), transparent 28%),
    linear-gradient(155deg, #f9fcfa 0%, #eff8f2 62%, #f8fbe9 100%);
}

.enterprise-hero::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.27;
  background-image:
    linear-gradient(rgba(16, 35, 29, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(16, 35, 29, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}

.enterprise-hero-grid {
  position: relative;
  width: min(1180px, calc(100% - 40px));
  min-height: 680px;
  margin: 0 auto;
  padding: 86px 0 78px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(420px, 0.96fr);
  align-items: center;
  gap: 74px;
}

.enterprise-kicker {
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--enterprise-green-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.enterprise-kicker > span {
  width: 29px;
  height: 2px;
  background: var(--enterprise-green);
}

.enterprise-hero h1 {
  max-width: 700px;
  margin: 0;
  color: var(--enterprise-ink);
  font-size: clamp(3.2rem, 6vw, 5.75rem);
  font-weight: 760;
  letter-spacing: -0.075em;
  line-height: 0.96;
}

.enterprise-lede {
  max-width: 650px;
  margin: 28px 0 0;
  color: #4f625a;
  font-size: 1.14rem;
  line-height: 1.68;
}

.enterprise-hero-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.enterprise-primary-cta {
  min-width: 194px;
}

.enterprise-cta-note {
  margin: 15px 0 0;
  color: #708179;
  font-size: 0.8rem;
}

.enterprise-console {
  position: relative;
  min-width: 0;
  border: 1px solid rgba(16, 35, 29, 0.15);
  border-radius: 22px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 34px 90px rgba(19, 63, 45, 0.16);
  backdrop-filter: blur(18px);
}

.enterprise-console::before {
  position: absolute;
  top: -25px;
  right: -22px;
  z-index: -1;
  width: 120px;
  height: 120px;
  border-radius: 32px;
  content: "";
  background: var(--enterprise-lime);
  transform: rotate(13deg);
}

.enterprise-console-head,
.enterprise-request-row,
.code-card-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.enterprise-console-head {
  padding: 4px 4px 16px;
  color: #718179;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.7rem;
}

.console-status {
  color: var(--enterprise-green-dark);
}

.console-status i {
  width: 7px;
  height: 7px;
  margin-right: 6px;
  display: inline-block;
  border-radius: 50%;
  background: var(--enterprise-green);
  box-shadow: 0 0 0 5px rgba(20, 184, 111, 0.12);
}

.enterprise-request-row {
  border: 1px solid var(--enterprise-line);
  border-radius: 13px;
  padding: 18px;
  background: #f7faf8;
}

.enterprise-request-row div {
  display: grid;
  gap: 4px;
}

.enterprise-request-row span,
.enterprise-console-metrics span {
  color: #74847d;
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.enterprise-request-row strong {
  font-size: 0.92rem;
}

.enterprise-request-row code {
  color: var(--enterprise-green-dark);
  font-size: 0.7rem;
}

.enterprise-route-map {
  margin: 30px 0;
  display: grid;
  grid-template-columns: 70px 1fr 126px 1fr 70px;
  align-items: center;
}

.route-source,
.route-destination {
  border: 1px solid #cdd9d2;
  border-radius: 10px;
  padding: 11px 6px;
  background: #fff;
  color: #4d5e57;
  font-size: 0.69rem;
  font-weight: 750;
  text-align: center;
}

.route-line {
  height: 1px;
  background: linear-gradient(to right, #bfd0c7, var(--enterprise-green));
}

.route-engine {
  border: 1px solid rgba(20, 184, 111, 0.42);
  border-radius: 15px;
  padding: 14px 8px;
  display: grid;
  gap: 4px;
  background: #eaffe7;
  text-align: center;
}

.route-engine > span {
  color: var(--enterprise-green-dark);
  font-size: 1.1rem;
  font-weight: 850;
}

.route-engine small {
  color: #557165;
  font-size: 0.59rem;
}

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

.enterprise-console-metrics > div {
  min-height: 90px;
  border: 1px solid var(--enterprise-line);
  border-radius: 12px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
}

.enterprise-console-metrics strong {
  font-size: 0.82rem;
  line-height: 1.3;
}

.enterprise-proof-strip {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.enterprise-proof-strip > div {
  min-height: 54px;
  border-right: 1px solid var(--enterprise-line);
  padding: 0 28px;
  display: grid;
  gap: 5px;
  align-content: center;
}

.enterprise-proof-strip > div:first-child {
  padding-left: 0;
}

.enterprise-proof-strip > div:last-child {
  border-right: 0;
}

.enterprise-proof-strip strong {
  font-size: 1.15rem;
}

.enterprise-proof-strip span {
  color: var(--enterprise-muted);
  font-size: 0.76rem;
}

.enterprise-section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0;
}

.enterprise-section-heading {
  max-width: 740px;
}

.enterprise-section h2,
.enterprise-final-cta h2 {
  margin: 0;
  color: var(--enterprise-ink);
  font-size: clamp(2.35rem, 4.4vw, 4.2rem);
  font-weight: 750;
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.enterprise-section-heading > p:last-child,
.migration-copy > p,
.enterprise-security-copy > p,
.pilot-copy > p,
.enterprise-final-cta p {
  color: var(--enterprise-muted);
  font-size: 1rem;
  line-height: 1.7;
}

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

.enterprise-benefit-grid article {
  min-height: 320px;
  border: 1px solid var(--enterprise-line);
  border-radius: 18px;
  padding: 29px;
  display: flex;
  flex-direction: column;
  background: #fff;
}

.enterprise-benefit-grid article:nth-child(2) {
  background: var(--enterprise-surface);
}

.enterprise-benefit-grid article:nth-child(3) {
  color: #eafff1;
  background: var(--enterprise-ink);
}

.benefit-number {
  color: var(--enterprise-green-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.73rem;
  font-weight: 700;
}

.enterprise-benefit-grid article:nth-child(3) .benefit-number {
  color: var(--enterprise-lime);
}

.enterprise-benefit-grid h3 {
  margin: auto 0 16px;
  font-size: 1.45rem;
  letter-spacing: -0.035em;
}

.enterprise-benefit-grid p {
  margin: 0;
  color: var(--enterprise-muted);
  font-size: 0.91rem;
  line-height: 1.65;
}

.enterprise-benefit-grid article:nth-child(3) p {
  color: #afc1b8;
}

.enterprise-migration {
  width: 100%;
  padding-right: max(20px, calc((100% - 1180px) / 2));
  padding-left: max(20px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.93fr 1.07fr;
  gap: 76px;
  align-items: center;
  background: var(--enterprise-surface);
}

.migration-copy h2 {
  font-size: clamp(2.35rem, 4vw, 3.75rem);
}

.migration-steps {
  margin: 34px 0 0;
  padding: 0;
  display: grid;
  gap: 17px;
  list-style: none;
}

.migration-steps li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
}

.migration-steps b {
  width: 31px;
  height: 31px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #073d28;
  background: var(--enterprise-lime);
  font-size: 0.72rem;
}

.migration-steps span {
  display: grid;
  gap: 3px;
  color: var(--enterprise-muted);
  font-size: 0.85rem;
  line-height: 1.45;
}

.migration-steps strong {
  color: var(--enterprise-ink);
  font-size: 0.94rem;
}

.migration-code-card {
  overflow: hidden;
  border: 1px solid #253c34;
  border-radius: 20px;
  background: #10231d;
  box-shadow: 0 30px 70px rgba(16, 35, 29, 0.22);
}

.code-card-label {
  border-bottom: 1px solid #2e443c;
  padding: 17px 20px;
  color: #95aa9f;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.migration-code-card pre {
  margin: 0;
  padding: 38px 28px;
  overflow: auto;
  color: #e8fff0;
  font-size: 0.86rem;
  line-height: 1.8;
}

.migration-code-card code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.migration-keeps {
  border-top: 1px solid #2e443c;
  padding: 18px 20px;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.migration-keeps span {
  border: 1px solid #365045;
  border-radius: 999px;
  padding: 6px 10px;
  color: #b5c9bf;
  font-size: 0.68rem;
}

.enterprise-controls-grid {
  margin-top: 50px;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 18px;
}

.control-card {
  border: 1px solid var(--enterprise-line);
  border-radius: 18px;
  padding: 24px;
  background: #fff;
}

.control-card-featured {
  padding: 28px;
  background: #f7faf8;
}

.control-card-title {
  padding-bottom: 22px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.control-card-title span {
  color: var(--enterprise-muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.control-card-title strong {
  font-size: 0.82rem;
}

.role-list {
  display: grid;
}

.role-list > div {
  border-top: 1px solid var(--enterprise-line);
  padding: 16px 0;
  display: grid;
  grid-template-columns: 100px 1fr auto;
  align-items: center;
  gap: 16px;
}

.role-list span {
  font-weight: 750;
}

.role-list small {
  color: var(--enterprise-muted);
}

.role-list i {
  border-radius: 999px;
  padding: 5px 9px;
  color: var(--enterprise-green-dark);
  background: #e6f9ee;
  font-size: 0.64rem;
  font-style: normal;
  font-weight: 750;
}

.control-card-stack {
  display: grid;
  gap: 18px;
}

.control-card-stack .control-card {
  display: grid;
  grid-template-columns: 42px 1fr;
  column-gap: 15px;
}

.control-icon {
  grid-row: 1 / span 2;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: #073d28;
  background: var(--enterprise-lime);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 850;
}

.control-card h3 {
  margin: 1px 0 7px;
  font-size: 1rem;
}

.control-card p {
  margin: 0;
  color: var(--enterprise-muted);
  font-size: 0.82rem;
  line-height: 1.55;
}

.enterprise-calculator {
  width: 100%;
  padding-right: max(20px, calc((100% - 1180px) / 2));
  padding-left: max(20px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 72px;
  color: #eafff1;
  background: var(--enterprise-ink);
}

.enterprise-calculator h2 {
  color: #fff;
}

.enterprise-calculator > div:first-child > p:last-child {
  color: #9db2a7;
  line-height: 1.7;
}

.enterprise-calculator .enterprise-kicker {
  color: var(--enterprise-lime);
}

.enterprise-calculator-card {
  border: 1px solid #304b40;
  border-radius: 20px;
  padding: 28px;
  background: #163028;
}

.enterprise-calculator-card label {
  display: grid;
  gap: 10px;
  color: #b9cbc2;
  font-size: 0.78rem;
  font-weight: 700;
}

.calculator-input {
  border: 1px solid #3f5c50;
  border-radius: 12px;
  display: flex;
  align-items: center;
  background: #0e211b;
}

.calculator-input b {
  padding-left: 16px;
  color: var(--enterprise-lime);
  font-size: 1.5rem;
}

.calculator-input input {
  width: 100%;
  border: 0;
  padding: 14px 14px 14px 7px;
  color: #fff;
  outline: 0;
  background: transparent;
  font: inherit;
  font-size: 1.5rem;
  font-weight: 750;
}

#enterprise-spend-range {
  width: 100%;
  margin: 24px 0;
  accent-color: var(--enterprise-lime);
}

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

.calculator-results div {
  min-height: 94px;
  border: 1px solid #365348;
  border-radius: 12px;
  padding: 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 12px;
}

.calculator-results span {
  color: #95aa9f;
  font-size: 0.67rem;
  line-height: 1.35;
}

.calculator-results strong {
  color: var(--enterprise-lime);
  font-size: 1rem;
}

.enterprise-security {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 76px;
  align-items: start;
}

.enterprise-security-links {
  margin-top: 32px;
  display: grid;
  gap: 10px;
}

.enterprise-security-links a {
  border-bottom: 1px solid var(--enterprise-line);
  padding: 13px 0;
  display: flex;
  justify-content: space-between;
  color: var(--enterprise-ink);
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
}

.enterprise-security-links span {
  color: var(--enterprise-green);
}

.security-checklist {
  border: 1px solid var(--enterprise-line);
  border-radius: 20px;
  padding: 8px 28px;
  background: var(--enterprise-surface);
}

.security-checklist article {
  border-bottom: 1px solid var(--enterprise-line);
  padding: 21px 0;
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 15px;
}

.security-checklist article:last-child {
  border-bottom: 0;
}

.security-checklist i {
  width: 29px;
  height: 29px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #073d28;
  background: var(--enterprise-lime);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
}

.security-checklist div {
  display: grid;
  gap: 5px;
}

.security-checklist strong {
  font-size: 0.93rem;
}

.security-checklist span {
  color: var(--enterprise-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.enterprise-pilot {
  width: 100%;
  padding-right: max(20px, calc((100% - 1180px) / 2));
  padding-left: max(20px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 78px;
  align-items: center;
  background:
    radial-gradient(circle at 12% 18%, rgba(217, 255, 103, 0.35), transparent 26%),
    #ecf7ef;
}

.pilot-facts {
  margin: 28px 0;
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}

.pilot-facts span {
  border: 1px solid #bfd6c8;
  border-radius: 999px;
  padding: 7px 11px;
  color: #3d5b4f;
  background: rgba(255, 255, 255, 0.65);
  font-size: 0.7rem;
  font-weight: 700;
}

.pilot-plan {
  margin: 0;
  padding: 0;
  display: grid;
  list-style: none;
}

.pilot-plan li {
  border-bottom: 1px solid #cbded2;
  padding: 24px 0;
  display: grid;
  grid-template-columns: 55px 1fr;
  gap: 16px;
}

.pilot-plan li:first-child {
  border-top: 1px solid #cbded2;
}

.pilot-plan > li > span {
  color: var(--enterprise-green-dark);
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 0.75rem;
  font-weight: 750;
}

.pilot-plan div {
  display: grid;
  gap: 7px;
}

.pilot-plan strong {
  font-size: 1.05rem;
}

.pilot-plan p {
  margin: 0;
  color: var(--enterprise-muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.enterprise-faq-list {
  margin-top: 48px;
  border-top: 1px solid var(--enterprise-line);
}

.enterprise-faq details {
  border-bottom: 1px solid var(--enterprise-line);
}

.enterprise-faq summary {
  padding: 24px 50px 24px 0;
  position: relative;
  cursor: pointer;
  list-style: none;
  font-size: 1.03rem;
  font-weight: 750;
}

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

.enterprise-faq summary::after {
  position: absolute;
  top: 18px;
  right: 2px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--enterprise-line);
  border-radius: 50%;
  content: "+";
  display: grid;
  place-items: center;
  color: var(--enterprise-green-dark);
  font-size: 1.2rem;
  font-weight: 400;
}

.enterprise-faq details[open] summary::after {
  content: "−";
}

.enterprise-faq details p {
  max-width: 840px;
  margin: -8px 0 26px;
  color: var(--enterprise-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.enterprise-final-cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 64px;
  border-radius: 24px;
  padding: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 46px;
  color: #eafff1;
  background:
    radial-gradient(circle at 86% 35%, rgba(217, 255, 103, 0.21), transparent 24%),
    var(--enterprise-ink);
}

.enterprise-final-cta h2 {
  max-width: 650px;
  color: #fff;
}

.enterprise-final-cta p {
  margin-bottom: 0;
  color: #a9bdb3;
}

.enterprise-final-cta > div:last-child {
  min-width: 230px;
  display: grid;
  gap: 10px;
}

.enterprise-final-cta .button.secondary {
  border-color: #3c554b;
  color: #eafff1;
  background: transparent;
}

.enterprise-footer {
  border-top: 1px solid var(--enterprise-line);
  padding: 40px max(20px, calc((100% - 1180px) / 2));
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 54px;
  color: var(--enterprise-muted);
  background: var(--enterprise-surface);
  font-size: 0.77rem;
}

.enterprise-footer-brand {
  display: grid;
  gap: 5px;
}

.enterprise-footer-brand strong {
  color: var(--enterprise-ink);
}

.enterprise-footer nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.enterprise-footer a {
  text-decoration: none;
}

.enterprise-footer a:hover {
  color: var(--enterprise-green-dark);
}

@media (max-width: 1020px) {
  .enterprise-nav-links > a:not(.button),
  .enterprise-nav-links .secondary {
    display: none;
  }

  .enterprise-hero-grid {
    grid-template-columns: 1fr;
    gap: 58px;
  }

  .enterprise-console {
    max-width: 720px;
  }

  .enterprise-migration,
  .enterprise-calculator,
  .enterprise-security,
  .enterprise-pilot {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .enterprise-controls-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .enterprise-footer {
    grid-template-columns: 1fr 1fr;
  }

  .enterprise-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 740px) {
  .enterprise-nav-inner {
    width: min(100% - 28px, 1180px);
    min-height: 68px;
  }

  .enterprise-nav-links {
    gap: 0;
  }

  .enterprise-nav-links .button.primary {
    min-height: 39px;
    padding: 0 13px;
    font-size: 0.78rem;
  }

  .enterprise-hero-grid,
  .enterprise-proof-strip,
  .enterprise-section,
  .enterprise-final-cta {
    width: min(100% - 28px, 1180px);
  }

  .enterprise-hero-grid {
    min-height: auto;
    padding: 64px 0 58px;
  }

  .enterprise-hero h1 {
    font-size: clamp(3rem, 15vw, 4.2rem);
  }

  .enterprise-lede {
    font-size: 1rem;
  }

  .enterprise-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .enterprise-console {
    padding: 13px;
  }

  .enterprise-request-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .enterprise-route-map {
    grid-template-columns: 54px 1fr 104px 1fr 54px;
  }

  .enterprise-console-metrics {
    grid-template-columns: 1fr;
  }

  .enterprise-console-metrics > div {
    min-height: 70px;
  }

  .enterprise-proof-strip {
    grid-template-columns: 1fr 1fr;
    padding: 18px 0;
  }

  .enterprise-proof-strip > div {
    border-right: 0;
    border-bottom: 1px solid var(--enterprise-line);
    padding: 16px 8px;
  }

  .enterprise-proof-strip > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .enterprise-section {
    padding: 78px 0;
  }

  .enterprise-migration,
  .enterprise-calculator,
  .enterprise-pilot {
    width: 100%;
    padding-right: 14px;
    padding-left: 14px;
  }

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

  .enterprise-benefit-grid article {
    min-height: 270px;
  }

  .role-list > div {
    grid-template-columns: 82px 1fr;
  }

  .role-list i {
    display: none;
  }

  .calculator-results {
    grid-template-columns: 1fr;
  }

  .calculator-results div {
    min-height: 76px;
  }

  .security-checklist {
    padding: 6px 18px;
  }

  .enterprise-final-cta {
    margin-bottom: 30px;
    padding: 36px 24px;
  }

  .enterprise-final-cta > div:last-child {
    width: 100%;
  }

  .enterprise-footer {
    padding: 34px 20px;
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .enterprise-footer-brand {
    grid-column: auto;
  }
}

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

  .enterprise-page .button {
    transition: none;
  }
}

/* Match the signed-out landing page's terminal design system. */

body.enterprise-page {
  margin: 0;
  color: var(--ref-ink);
  background: var(--ref-black);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.enterprise-page .landing-page {
  min-height: 100vh;
  overflow: clip;
  color: var(--ref-ink);
  background: var(--ref-black);
}

.enterprise-page .landing-page h1,
.enterprise-page .landing-page h2,
.enterprise-page .landing-page h3,
.enterprise-page .landing-page .button,
.enterprise-page .landing-page .enterprise-kicker,
.enterprise-page .landing-page code,
.enterprise-page .landing-page pre,
.enterprise-page .landing-page strong,
.enterprise-page .landing-page summary {
  font-family: var(--ref-mono);
  letter-spacing: 0;
}

.enterprise-page .landing-nav-link.is-active {
  color: var(--ref-green);
}

.enterprise-page .landing-page .button {
  min-height: 43px;
  border-radius: 0;
  padding-inline: 17px;
  font-size: 12px;
  font-weight: 700;
  box-shadow: none;
}

.enterprise-page .landing-page .button.primary {
  border-color: var(--ref-green);
  background: var(--ref-green);
  color: #031108;
}

.enterprise-page .landing-page .button.primary:hover {
  border-color: #74ffad;
  background: #74ffad;
  color: #031108;
  transform: translateY(-1px);
}

.enterprise-page .landing-page .button.secondary {
  border-color: var(--ref-line);
  background: rgba(5, 7, 6, 0.58);
  color: rgba(242, 245, 243, 0.78);
}

.enterprise-page .landing-page .button.secondary:hover {
  border-color: rgba(49, 248, 137, 0.5);
  background: var(--ref-green-soft);
  color: var(--ref-green);
  transform: translateY(-1px);
}

.enterprise-page .enterprise-hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: 720px;
  overflow: hidden;
  border-bottom: 1px solid var(--ref-line-soft);
  background: var(--ref-black);
}

.enterprise-page .enterprise-hero::before {
  position: absolute;
  z-index: -3;
  inset: 0;
  background-image: url("/static/assets/app/hero-inference-green.webp");
  background-position: center;
  background-size: cover;
  content: "";
}

.enterprise-page .enterprise-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.95) 0%, rgba(5, 7, 6, 0.74) 49%, rgba(5, 7, 6, 0.22) 100%),
    rgba(5, 7, 6, 0.16);
  content: "";
}

.enterprise-page .enterprise-hero-video {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
}

.enterprise-page .enterprise-hero-grid {
  position: relative;
  width: min(var(--ref-max), calc(100% - 48px));
  min-height: 720px;
  margin: 0 auto;
  padding: 90px 0 96px;
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(360px, 0.84fr);
  align-items: center;
  gap: clamp(48px, 7vw, 96px);
}

.enterprise-page .enterprise-kicker {
  margin: 0 0 18px;
  display: block;
  color: var(--ref-green);
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}

.enterprise-page .enterprise-kicker::before {
  margin-right: 4px;
  content: "[";
}

.enterprise-page .enterprise-kicker::after {
  margin-left: 4px;
  content: "]";
}

.enterprise-page .enterprise-kicker > span {
  display: none;
}

.enterprise-page .enterprise-hero h1 {
  max-width: 720px;
  margin: 0;
  color: var(--ref-ink);
  font-family: var(--ref-mono);
  font-size: clamp(50px, 5.55vw, 76px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.99;
  text-wrap: balance;
}

.enterprise-page .enterprise-lede {
  max-width: 660px;
  margin: 26px 0 0;
  color: rgba(242, 245, 243, 0.66);
  font-size: 17px;
  line-height: 1.65;
}

.enterprise-page .enterprise-hero-actions {
  margin-top: 30px;
  display: flex;
  align-items: center;
  gap: 11px;
  flex-wrap: wrap;
}

.enterprise-page .enterprise-cta-note {
  margin: 18px 0 0;
  color: rgba(242, 245, 243, 0.44);
  font-family: var(--ref-mono);
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.enterprise-page .enterprise-console {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(49, 248, 137, 0.26);
  border-radius: 0;
  padding: 18px;
  background: rgba(6, 10, 7, 0.92);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
}

.enterprise-page .enterprise-console::before {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 0;
  width: 80px;
  height: 1px;
  border-radius: 0;
  content: "";
  background: var(--ref-green);
  transform: none;
}

.enterprise-page .enterprise-console-head {
  position: relative;
  padding: 4px 4px 16px;
  color: var(--ref-muted);
  font-family: var(--ref-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.enterprise-page .console-status {
  color: var(--ref-green);
}

.enterprise-page .console-status i {
  width: 6px;
  height: 6px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--ref-green);
  box-shadow: 0 0 0 4px rgba(49, 248, 137, 0.08);
}

.enterprise-page .enterprise-request-row {
  border: 1px solid var(--ref-line);
  border-radius: 0;
  padding: 17px;
  background: rgba(49, 248, 137, 0.025);
}

.enterprise-page .enterprise-request-row span,
.enterprise-page .enterprise-console-metrics span {
  color: var(--ref-muted);
  font-family: var(--ref-mono);
  font-size: 9px;
  letter-spacing: 0;
}

.enterprise-page .enterprise-request-row strong {
  color: var(--ref-ink);
  font-size: 13px;
}

.enterprise-page .enterprise-request-row code {
  color: var(--ref-green);
  font-size: 10px;
}

.enterprise-page .route-source,
.enterprise-page .route-destination {
  border-color: var(--ref-line);
  border-radius: 0;
  color: var(--ref-muted);
  background: var(--ref-panel);
  font-family: var(--ref-mono);
  font-size: 9px;
}

.enterprise-page .route-line {
  background: linear-gradient(to right, var(--ref-line), var(--ref-green));
}

.enterprise-page .route-engine {
  border-color: rgba(49, 248, 137, 0.36);
  border-radius: 0;
  color: var(--ref-ink);
  background: var(--ref-green-soft);
}

.enterprise-page .route-engine > span {
  color: var(--ref-green);
}

.enterprise-page .route-engine small {
  color: var(--ref-muted);
  font-family: var(--ref-mono);
}

.enterprise-page .enterprise-console-metrics > div {
  border-color: var(--ref-line);
  border-radius: 0;
  background: rgba(5, 7, 6, 0.52);
}

.enterprise-page .enterprise-console-metrics strong {
  color: var(--ref-ink);
  font-size: 11px;
}

.enterprise-page .enterprise-proof-strip {
  width: min(var(--ref-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--ref-line);
  border-bottom: 1px solid var(--ref-line);
  background: rgba(49, 248, 137, 0.018);
}

.enterprise-page .enterprise-proof-strip > div {
  min-height: 70px;
  border-right: 1px solid var(--ref-line-soft);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.enterprise-page .enterprise-proof-strip > div:first-child {
  padding-left: 18px;
}

.enterprise-page .enterprise-proof-strip > div:last-child {
  border-right: 0;
}

.enterprise-page .enterprise-proof-strip > div::before {
  color: var(--ref-green);
  content: "+";
}

.enterprise-page .enterprise-proof-strip strong {
  color: var(--ref-ink);
  font-size: 10px;
  text-transform: uppercase;
}

.enterprise-page .enterprise-proof-strip span {
  color: var(--ref-muted);
  font-family: var(--ref-mono);
  font-size: 9px;
  text-transform: uppercase;
}

.enterprise-page .enterprise-section {
  width: min(var(--ref-max), calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0;
  border-bottom: 1px solid var(--ref-line-soft);
}

.enterprise-page .enterprise-section-heading {
  max-width: 800px;
}

.enterprise-page .enterprise-section h2,
.enterprise-page .enterprise-final-cta h2 {
  margin: 0;
  color: var(--ref-ink);
  font-family: var(--ref-mono);
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.06;
}

.enterprise-page .enterprise-section-heading > p:last-child,
.enterprise-page .migration-copy > p,
.enterprise-page .enterprise-security-copy > p,
.enterprise-page .pilot-copy > p,
.enterprise-page .enterprise-final-cta p {
  color: var(--ref-muted);
  font-size: 17px;
  line-height: 1.65;
}

.enterprise-page .enterprise-benefit-grid {
  margin-top: 52px;
  gap: 0;
  border: 1px solid var(--ref-line);
}

.enterprise-page .enterprise-benefit-grid article {
  min-height: 310px;
  border: 0;
  border-right: 1px solid var(--ref-line);
  border-radius: 0;
  padding: 28px;
  color: var(--ref-ink);
  background: var(--ref-panel);
}

.enterprise-page .enterprise-benefit-grid article:nth-child(2),
.enterprise-page .enterprise-benefit-grid article:nth-child(3) {
  background: var(--ref-panel);
}

.enterprise-page .enterprise-benefit-grid article:last-child {
  border-right: 0;
}

.enterprise-page .benefit-number {
  color: var(--ref-green);
  font-size: 10px;
}

.enterprise-page .enterprise-benefit-grid article:nth-child(3) .benefit-number {
  color: var(--ref-green);
}

.enterprise-page .enterprise-benefit-grid h3 {
  color: var(--ref-ink);
  font-size: 20px;
  font-weight: 500;
}

.enterprise-page .enterprise-benefit-grid p,
.enterprise-page .enterprise-benefit-grid article:nth-child(3) p {
  color: var(--ref-muted);
  font-size: 14px;
  line-height: 1.65;
}

.enterprise-page .enterprise-migration,
.enterprise-page .enterprise-calculator,
.enterprise-page .enterprise-pilot {
  width: min(var(--ref-max), calc(100% - 48px));
  padding: 112px 0;
  color: var(--ref-ink);
  background: var(--ref-black);
}

.enterprise-page .enterprise-migration {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 76px;
}

.enterprise-page .migration-steps {
  margin-top: 38px;
  gap: 0;
  border-top: 1px solid var(--ref-line);
}

.enterprise-page .migration-steps li {
  border-bottom: 1px solid var(--ref-line);
  padding: 18px 0;
  grid-template-columns: 38px 1fr;
}

.enterprise-page .migration-steps b {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(49, 248, 137, 0.4);
  border-radius: 0;
  color: var(--ref-green);
  background: transparent;
  font-family: var(--ref-mono);
}

.enterprise-page .migration-steps span {
  color: var(--ref-muted);
}

.enterprise-page .migration-steps strong {
  color: var(--ref-ink);
  font-size: 13px;
  font-weight: 600;
}

.enterprise-page .migration-code-card {
  border-color: rgba(49, 248, 137, 0.25);
  border-radius: 0;
  background: var(--ref-panel);
  box-shadow: none;
}

.enterprise-page .code-card-label {
  border-color: var(--ref-line);
  color: var(--ref-muted);
  font-family: var(--ref-mono);
}

.enterprise-page .migration-code-card pre {
  color: var(--ref-ink);
}

.enterprise-page .migration-keeps {
  border-color: var(--ref-line);
}

.enterprise-page .migration-keeps span {
  border-color: var(--ref-line);
  border-radius: 0;
  color: var(--ref-muted);
  font-family: var(--ref-mono);
  text-transform: uppercase;
}

.enterprise-page .enterprise-controls-grid {
  margin-top: 52px;
  gap: 16px;
}

.enterprise-page .control-card {
  border-color: var(--ref-line);
  border-radius: 0;
  color: var(--ref-ink);
  background: var(--ref-panel);
}

.enterprise-page .control-card-featured {
  background: var(--ref-panel);
}

.enterprise-page .control-card-title {
  border-bottom: 0;
}

.enterprise-page .control-card-title span,
.enterprise-page .role-list small,
.enterprise-page .control-card p {
  color: var(--ref-muted);
}

.enterprise-page .role-list > div {
  border-color: var(--ref-line);
}

.enterprise-page .role-list span,
.enterprise-page .control-card h3 {
  color: var(--ref-ink);
  font-family: var(--ref-mono);
}

.enterprise-page .role-list i {
  border: 1px solid rgba(49, 248, 137, 0.32);
  border-radius: 0;
  color: var(--ref-green);
  background: var(--ref-green-soft);
  font-family: var(--ref-mono);
  text-transform: uppercase;
}

.enterprise-page .control-icon {
  border: 1px solid rgba(49, 248, 137, 0.35);
  border-radius: 0;
  color: var(--ref-green);
  background: transparent;
}

.enterprise-page .enterprise-calculator {
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 72px;
}

.enterprise-page .enterprise-calculator > div:first-child > p:last-child {
  color: var(--ref-muted);
}

.enterprise-page .enterprise-calculator .enterprise-kicker {
  color: var(--ref-green);
}

.enterprise-page .enterprise-calculator-card {
  border-color: rgba(49, 248, 137, 0.25);
  border-radius: 0;
  background: var(--ref-panel);
}

.enterprise-page .enterprise-calculator-card label {
  color: var(--ref-muted);
  font-family: var(--ref-mono);
  text-transform: uppercase;
}

.enterprise-page .calculator-input {
  border-color: var(--ref-line);
  border-radius: 0;
  background: var(--ref-black);
}

.enterprise-page .calculator-input b {
  color: var(--ref-green);
}

.enterprise-page #enterprise-spend-range {
  accent-color: var(--ref-green);
}

.enterprise-page .calculator-results div {
  border-color: var(--ref-line);
  border-radius: 0;
  background: rgba(49, 248, 137, 0.02);
}

.enterprise-page .calculator-results span {
  color: var(--ref-muted);
  font-family: var(--ref-mono);
  text-transform: uppercase;
}

.enterprise-page .calculator-results strong {
  color: var(--ref-green);
}

.enterprise-page .enterprise-security {
  gap: 76px;
}

.enterprise-page .enterprise-security-links a {
  border-color: var(--ref-line);
  color: var(--ref-ink);
  font-family: var(--ref-mono);
  font-size: 12px;
}

.enterprise-page .enterprise-security-links span {
  color: var(--ref-green);
}

.enterprise-page .security-checklist {
  border-color: var(--ref-line);
  border-radius: 0;
  background: var(--ref-panel);
}

.enterprise-page .security-checklist article {
  border-color: var(--ref-line);
}

.enterprise-page .security-checklist i {
  border: 1px solid rgba(49, 248, 137, 0.35);
  border-radius: 0;
  color: var(--ref-green);
  background: transparent;
}

.enterprise-page .security-checklist strong {
  color: var(--ref-ink);
  font-weight: 600;
}

.enterprise-page .security-checklist span {
  color: var(--ref-muted);
}

.enterprise-page .enterprise-pilot {
  border: 1px solid var(--ref-line);
  padding: 58px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 78px;
  background:
    linear-gradient(90deg, rgba(49, 248, 137, 0.055), transparent 48%),
    var(--ref-panel);
}

.enterprise-page .pilot-facts span {
  border-color: var(--ref-line);
  border-radius: 0;
  color: var(--ref-muted);
  background: transparent;
  font-family: var(--ref-mono);
  text-transform: uppercase;
}

.enterprise-page .pilot-plan li {
  border-color: var(--ref-line);
}

.enterprise-page .pilot-plan > li > span {
  color: var(--ref-green);
}

.enterprise-page .pilot-plan strong {
  color: var(--ref-ink);
  font-weight: 500;
}

.enterprise-page .pilot-plan p {
  color: var(--ref-muted);
}

.enterprise-page .enterprise-faq-list {
  border-color: var(--ref-line);
}

.enterprise-page .enterprise-faq details {
  border-color: var(--ref-line);
}

.enterprise-page .enterprise-faq summary {
  color: var(--ref-ink);
  font-size: 14px;
  font-weight: 600;
}

.enterprise-page .enterprise-faq summary::after {
  border-color: var(--ref-line);
  border-radius: 0;
  color: var(--ref-green);
}

.enterprise-page .enterprise-faq details p {
  color: var(--ref-muted);
}

.enterprise-page .enterprise-final-cta {
  width: min(var(--ref-max), calc(100% - 48px));
  margin: 0 auto 64px;
  border: 1px solid rgba(49, 248, 137, 0.28);
  border-radius: 0;
  padding: 48px;
  color: var(--ref-ink);
  background:
    linear-gradient(110deg, rgba(49, 248, 137, 0.08), transparent 45%),
    var(--ref-panel);
}

.enterprise-page .enterprise-final-cta p {
  color: var(--ref-muted);
}

.enterprise-page .enterprise-final-cta .button.secondary {
  border-color: var(--ref-line);
  color: var(--ref-muted);
  background: transparent;
}

.enterprise-page .enterprise-footer {
  width: min(var(--ref-max), calc(100% - 48px));
  margin: 0 auto;
  border-top: 1px solid var(--ref-line);
  padding: 34px 0 44px;
  color: var(--ref-muted);
  background: transparent;
  font-family: var(--ref-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.enterprise-page .enterprise-footer-brand strong {
  color: var(--ref-ink);
}

.enterprise-page .enterprise-footer a:hover {
  color: var(--ref-green);
}

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

  .enterprise-page .enterprise-console {
    max-width: 720px;
  }

  .enterprise-page .enterprise-migration,
  .enterprise-page .enterprise-calculator,
  .enterprise-page .enterprise-security,
  .enterprise-page .enterprise-pilot {
    grid-template-columns: 1fr;
  }

  .enterprise-page .enterprise-controls-grid {
    grid-template-columns: 1fr;
  }

  .enterprise-page .enterprise-final-cta {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 800px) {
  .enterprise-page .enterprise-hero-grid,
  .enterprise-page .enterprise-proof-strip,
  .enterprise-page .enterprise-section,
  .enterprise-page .enterprise-migration,
  .enterprise-page .enterprise-calculator,
  .enterprise-page .enterprise-pilot,
  .enterprise-page .enterprise-final-cta,
  .enterprise-page .enterprise-footer {
    width: min(100% - 28px, var(--ref-max));
  }

  .enterprise-page .enterprise-hero-grid {
    min-height: 670px;
    padding: 72px 0;
  }

  .enterprise-page .enterprise-hero::after {
    background: rgba(5, 7, 6, 0.7);
  }

  .enterprise-page .enterprise-hero h1 {
    font-size: clamp(42px, 12vw, 58px);
  }

  .enterprise-page .enterprise-hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .enterprise-page .enterprise-proof-strip {
    grid-template-columns: 1fr 1fr;
  }

  .enterprise-page .enterprise-proof-strip > div {
    border-bottom: 1px solid var(--ref-line-soft);
  }

  .enterprise-page .enterprise-proof-strip > div:nth-child(2) {
    border-right: 0;
  }

  .enterprise-page .enterprise-proof-strip > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .enterprise-page .enterprise-section,
  .enterprise-page .enterprise-migration,
  .enterprise-page .enterprise-calculator {
    padding: 82px 0;
  }

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

  .enterprise-page .enterprise-benefit-grid article {
    min-height: 260px;
    border-right: 0;
    border-bottom: 1px solid var(--ref-line);
  }

  .enterprise-page .enterprise-benefit-grid article:last-child {
    border-bottom: 0;
  }

  .enterprise-page .enterprise-pilot {
    padding: 30px 22px;
  }

  .enterprise-page .enterprise-final-cta {
    padding: 34px 22px;
  }

  .enterprise-page .enterprise-footer {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 520px) {
  .enterprise-page .enterprise-route-map {
    grid-template-columns: 46px 1fr 88px 1fr 46px;
  }

  .enterprise-page .enterprise-console-metrics,
  .enterprise-page .calculator-results {
    grid-template-columns: 1fr;
  }

  .enterprise-page .enterprise-console-metrics > div,
  .enterprise-page .calculator-results div {
    min-height: 70px;
  }

  .enterprise-page .role-list > div {
    grid-template-columns: 82px 1fr;
  }

  .enterprise-page .role-list i {
    display: none;
  }
}

body.enterprise-auth-open {
  overflow: hidden;
}

.enterprise-auth-overlay[hidden] {
  display: none;
}

.enterprise-auth-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  overflow-y: auto;
  padding: 28px;
  background: rgba(3, 7, 5, 0.82);
  backdrop-filter: blur(12px);
}

.enterprise-auth-dialog {
  position: relative;
  width: min(470px, 100%);
  border: 1px solid rgba(49, 248, 137, 0.32);
  padding: 32px;
  color: var(--ref-ink);
  background:
    linear-gradient(135deg, rgba(49, 248, 137, 0.07), transparent 44%),
    var(--ref-panel);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.62);
}

.enterprise-auth-dialog::before {
  display: block;
  margin: -32px -32px 28px;
  border-bottom: 1px solid var(--ref-line-soft);
  padding: 11px 14px;
  color: rgba(49, 248, 137, 0.68);
  content: "●  access.cheaperinference.com";
  font-family: var(--ref-mono);
  font-size: 9px;
}

.enterprise-auth-close {
  position: absolute;
  top: 7px;
  right: 8px;
  z-index: 1;
  width: 32px;
  height: 32px;
  border: 0;
  padding: 0;
  color: var(--ref-muted);
  background: transparent;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.enterprise-auth-close:hover,
.enterprise-auth-close:focus-visible {
  color: var(--ref-green);
}

.enterprise-auth-heading {
  gap: 7px;
  margin-bottom: 18px;
}

.enterprise-auth-heading .eyebrow {
  color: var(--ref-green);
  font-family: var(--ref-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
}

.enterprise-auth-heading h2 {
  margin: 0;
  color: var(--ref-ink);
  font-family: var(--ref-mono);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.08;
}

.enterprise-auth-heading p:last-child {
  margin: 0;
  color: var(--ref-muted);
  font-size: 13px;
  line-height: 1.45;
}

.enterprise-auth-dialog .segmented-control {
  border: 1px solid var(--ref-line-soft);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.02);
  padding: 3px;
}

.enterprise-auth-dialog .segment {
  min-height: 38px;
  border-radius: 0;
  color: var(--ref-muted);
  font-family: var(--ref-mono);
  font-size: 11px;
}

.enterprise-auth-dialog .segment.active {
  background: var(--ref-green);
  color: #031108;
  box-shadow: none;
}

.enterprise-auth-dialog label span {
  color: rgba(242, 245, 243, 0.68);
  font-family: var(--ref-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.enterprise-auth-dialog input {
  min-height: 46px;
  border: 1px solid var(--ref-line);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.38);
  color: var(--ref-ink);
}

.enterprise-auth-dialog input:focus {
  border-color: var(--ref-green);
  box-shadow: 0 0 0 1px var(--ref-green);
}

.enterprise-auth-dialog .auth-password-toggle {
  border-left-color: var(--ref-line);
  color: var(--ref-muted);
  background: rgba(7, 13, 9, 0.96);
  font-family: var(--ref-mono);
  font-size: 10px;
  text-transform: uppercase;
}

.enterprise-auth-dialog .auth-password-toggle:hover,
.enterprise-auth-dialog .auth-password-toggle:focus-visible,
.enterprise-auth-dialog .auth-password-toggle[aria-pressed="true"] {
  color: var(--ref-green);
}

.enterprise-auth-dialog .auth-password-toggle:focus-visible {
  box-shadow: inset 0 0 0 1px var(--ref-green);
}

.enterprise-auth-dialog .auth-password-hint {
  color: rgba(242, 245, 243, 0.48);
  font-family: var(--ref-mono);
  font-size: 9px;
}

.enterprise-auth-dialog .button.primary {
  width: 100%;
  min-height: 46px;
}

.enterprise-auth-dialog .auth-alert {
  border-color: var(--ref-line);
  border-left-color: var(--ref-green);
  border-radius: 0;
  color: var(--ref-ink);
  background: rgba(255, 255, 255, 0.04);
}

.enterprise-auth-dialog .auth-alert.error {
  border-left-color: var(--danger);
}

.enterprise-auth-dialog .signup-path {
  display: grid;
  margin-top: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border-top: 1px solid var(--ref-line-soft);
  padding-top: 16px;
}

.enterprise-auth-dialog .signup-path span {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  color: rgba(242, 245, 243, 0.48);
  font-family: var(--ref-mono);
  font-size: 9px;
  line-height: 1.25;
}

.enterprise-auth-dialog .signup-path b {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(49, 248, 137, 0.36);
  color: var(--ref-green);
  font-size: 9px;
}

@media (max-width: 520px) {
  .enterprise-auth-overlay {
    align-items: end;
    padding: 12px;
  }

  .enterprise-auth-dialog {
    max-height: calc(100vh - 24px);
    overflow-y: auto;
    padding: 26px 22px;
  }

  .enterprise-auth-dialog::before {
    margin: -26px -22px 24px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .enterprise-auth-dialog {
    animation: enterprise-auth-enter 180ms ease-out;
  }
}

@keyframes enterprise-auth-enter {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
