:root {
  --ink: #111318;
  --paper: #f6f7f5;
  --paper-strong: #ffffff;
  --muted: #626971;
  --line: rgba(17, 19, 24, 0.12);
  --green: #3f9f68;
  --amber: #b9892f;
  --blue: #4772b8;
  --coral: #b86054;
  --shadow: 0 22px 70px rgba(17, 19, 24, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(17, 19, 24, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
  padding: 12px 13px;
  line-height: 1.35;
}

textarea {
  min-height: 132px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(63, 159, 104, 0.72);
  box-shadow: 0 0 0 4px rgba(63, 159, 104, 0.14);
}

input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: rgba(184, 96, 84, 0.86);
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
}

label span {
  color: var(--ink);
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  width: min(1160px, calc(100% - 28px));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 10px 10px 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 55px rgba(17, 19, 24, 0.12);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
}

.brand-mark {
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  color: rgba(17, 19, 24, 0.76);
  font-size: 0.92rem;
  font-weight: 720;
}

.site-nav a {
  border-radius: 999px;
  padding: 10px 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(17, 19, 24, 0.06);
  outline: none;
}

.site-nav .nav-cta {
  background: var(--ink);
  color: #ffffff;
}

.site-nav .nav-cta:hover,
.site-nav .nav-cta:focus-visible {
  background: #2f312f;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #ffffff;
  padding: 0;
}

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

.hero {
  position: relative;
  min-height: 90svh;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(430px, 1fr);
  align-items: center;
  gap: 42px;
  padding: 132px max(24px, calc((100vw - 1160px) / 2)) 54px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(135deg, rgba(9, 11, 16, 0.98) 0%, rgba(14, 20, 21, 0.96) 52%, rgba(35, 28, 24, 0.96) 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 92px),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 92px);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(9, 11, 16, 0.94), rgba(9, 11, 16, 0.42) 50%, rgba(9, 11, 16, 0.16)),
    linear-gradient(180deg, transparent 0%, rgba(246, 247, 245, 0.06) 100%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 18%;
  z-index: -1;
  background: linear-gradient(180deg, transparent, rgba(246, 247, 245, 0.16));
}

.hero-copy {
  max-width: 720px;
  color: #ffffff;
  text-shadow: none;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow,
.enterprise .eyebrow {
  color: #a7d9ba;
}

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

h1 {
  margin-bottom: 18px;
  font-size: 5.2rem;
  line-height: 0.95;
  font-weight: 880;
}

h2 {
  max-width: 820px;
  margin-bottom: 0;
  font-size: 3rem;
  line-height: 1.04;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.2rem;
  line-height: 1.2;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 1.22rem;
}

.hero-statement {
  max-width: 680px;
  margin-bottom: 20px;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 4rem);
  font-weight: 870;
  line-height: 1.02;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 820;
}

.button.primary {
  background: #ffffff;
  color: var(--ink);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.2);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.44);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.button:hover,
.button:focus-visible {
  outline: none;
  transform: translateY(-1px);
}

.hero-flow {
  position: relative;
  display: grid;
  gap: 12px;
  color: #ffffff;
}

.hero-flow::before {
  content: "";
  position: absolute;
  top: 24px;
  bottom: 24px;
  left: 32px;
  width: 2px;
  background: linear-gradient(180deg, rgba(167, 217, 186, 0), rgba(167, 217, 186, 0.72), rgba(167, 217, 186, 0));
}

.hero-flow-step {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 4px 16px;
  align-items: center;
  min-height: 106px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 18px 20px;
  background: rgba(12, 15, 20, 0.68);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(16px);
}

.hero-flow-step span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(167, 217, 186, 0.62);
  border-radius: 999px;
  color: #a7d9ba;
  background: rgba(20, 28, 25, 0.92);
  font-size: 0.72rem;
  font-weight: 850;
}

.hero-flow-step strong {
  font-size: 1.05rem;
  line-height: 1.18;
}

.hero-flow-step small {
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.84rem;
  line-height: 1.45;
}

.hero-flow-step code {
  border-radius: 6px;
  padding: 2px 6px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.11);
  font-size: 0.78rem;
}

.proof-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  width: min(1160px, calc(100% - 48px));
  margin: 28px auto 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
  box-shadow: var(--shadow);
}

.proof-item {
  min-height: 138px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.92);
}

.proof-item strong {
  display: block;
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.proof-item span {
  color: var(--muted);
}

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

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 34px;
}

.section-heading p:not(.eyebrow) {
  max-width: 760px;
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.workflow-lane {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: var(--line);
}

.workflow-step {
  min-height: 280px;
  display: grid;
  align-content: space-between;
  gap: 18px;
  padding: 22px;
  background: var(--paper-strong);
}

.workflow-step span {
  width: max-content;
  border-bottom: 2px solid var(--green);
  padding-bottom: 5px;
  color: rgba(17, 19, 24, 0.58);
  font-weight: 850;
}

.workflow-step p {
  margin-bottom: 0;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 54px;
  align-items: start;
}

.layer-list {
  display: grid;
  border-top: 1px solid var(--line);
}

.layer-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.layer-row span {
  color: var(--muted);
  font-weight: 780;
}

.layer-row strong {
  font-size: 1.08rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 18px;
  align-items: start;
}

.slot-cart {
  display: grid;
  gap: 10px;
}

.slot-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px 136px;
  gap: 18px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper-strong);
}

.slot-row strong {
  display: block;
  margin-bottom: 4px;
}

.slot-row span {
  color: var(--muted);
}

.slot-copy {
  display: grid;
  gap: 8px;
}

.slot-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 4px 0 0;
}

.slot-resources div {
  min-width: 86px;
  border: 1px solid rgba(17, 19, 24, 0.08);
  border-radius: 8px;
  padding: 7px 9px;
  background: rgba(17, 19, 24, 0.035);
}

.slot-resources dt,
.slot-resources dd {
  margin: 0;
}

.slot-resources dt {
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 820;
  text-transform: uppercase;
}

.slot-resources dd {
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 850;
}

.slot-price {
  justify-self: end;
  font-weight: 850;
}

.slot-controls {
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  gap: 6px;
}

.slot-controls button {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(17, 19, 24, 0.05);
  color: var(--ink);
  font-weight: 850;
}

.slot-controls input {
  min-height: 38px;
  padding: 7px 8px;
  text-align: center;
}

.slot-controls input[type="number"],
.custom-slot-grid input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.slot-controls input[type="number"]::-webkit-outer-spin-button,
.slot-controls input[type="number"]::-webkit-inner-spin-button,
.custom-slot-grid input[type="number"]::-webkit-outer-spin-button,
.custom-slot-grid input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.custom-slot-request {
  display: grid;
  gap: 16px;
  border: 1px dashed rgba(17, 19, 24, 0.22);
  border-radius: 8px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.64);
}

.custom-slot-request > div:first-child {
  display: grid;
  gap: 4px;
}

.custom-slot-request strong {
  font-size: 1.05rem;
}

.custom-slot-request span {
  color: var(--muted);
}

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

.custom-slot-grid label,
.custom-slot-notes {
  display: grid;
  gap: 6px;
}

.custom-slot-grid label span,
.custom-slot-notes span {
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 820;
  text-transform: uppercase;
}

.custom-slot-grid input,
.custom-slot-notes textarea {
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 9px 10px;
  background: #ffffff;
}

.custom-slot-notes textarea {
  resize: vertical;
}

.pricing-summary {
  position: sticky;
  top: 112px;
  display: grid;
  gap: 12px;
  border: 1px solid rgba(17, 19, 24, 0.14);
  border-radius: 8px;
  padding: 24px;
  background: var(--ink);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.pricing-summary .eyebrow {
  margin: 0;
  color: #a7d9ba;
}

.pricing-summary strong {
  display: block;
  font-size: 2.2rem;
  line-height: 1;
}

.pricing-summary span,
.pricing-summary p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.pricing-summary [data-custom-slot-summary] {
  border-left: 3px solid #a7d9ba;
  padding-left: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 780;
}

.pricing-summary [hidden] {
  display: none;
}

.pricing-summary .button.primary {
  justify-self: start;
  margin-top: 4px;
}

.enterprise {
  display: grid;
  grid-template-columns: 1.1fr 1fr auto;
  gap: 26px;
  align-items: center;
  margin-top: 112px;
  margin-bottom: 56px;
  border-radius: 8px;
  padding: 32px;
  background: var(--ink);
  color: #ffffff;
}

.enterprise h2 {
  font-size: 2.05rem;
}

.enterprise p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
}

.enterprise .button.primary {
  min-width: 126px;
}

.request-access {
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 48px;
  align-items: start;
  padding-bottom: 72px;
}

.request-copy {
  position: sticky;
  top: 112px;
}

.request-copy p:not(.eyebrow) {
  max-width: 430px;
  margin: 24px 0;
  color: var(--muted);
  font-size: 1.05rem;
}

.request-points {
  display: grid;
  gap: 10px;
  max-width: 430px;
}

.request-points span {
  border-left: 3px solid var(--green);
  padding: 8px 0 8px 14px;
  color: rgba(17, 19, 24, 0.78);
  font-weight: 760;
}

.access-form {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

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

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding-top: 4px;
}

.form-submit {
  border-color: var(--ink);
  background: var(--ink);
  color: #ffffff;
  box-shadow: none;
}

.form-note,
.form-status {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.form-note a {
  color: var(--ink);
  font-weight: 820;
}

.form-status {
  min-height: 22px;
}

.form-status.error {
  color: var(--coral);
}

.form-status.success {
  color: #2f7d51;
}

@media (max-width: 1040px) {
  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 132px;
  }

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

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

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

  .split,
  .pricing-grid,
  .request-access,
  .enterprise {
    grid-template-columns: 1fr;
  }

  .pricing-summary,
  .request-copy {
    position: static;
  }
}

@media (max-width: 760px) {
  .site-header {
    top: 12px;
    width: calc(100% - 24px);
    border-radius: 24px;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: 66px;
    left: 0;
    right: 0;
    display: none;
    grid-template-columns: 1fr;
    gap: 6px;
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 18px 50px rgba(17, 19, 24, 0.12);
  }

  body.nav-open .site-nav {
    display: grid;
  }

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

  .hero {
    min-height: 84svh;
    gap: 16px;
    padding: 84px 22px 22px;
  }

  h1 {
    margin-bottom: 12px;
    font-size: 3rem;
  }

  h2 {
    font-size: 2rem;
  }

  .hero-lede {
    margin-bottom: 18px;
    font-size: 0.98rem;
  }

  .hero-statement {
    margin-bottom: 14px;
    font-size: 1.9rem;
  }

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

  .hero-flow::before {
    display: none;
  }

  .hero-flow-step {
    grid-template-columns: 1fr;
    align-content: start;
    min-height: 126px;
    padding: 12px;
  }

  .hero-flow-step span {
    grid-row: auto;
  }

  .hero-flow-step strong {
    font-size: 0.88rem;
  }

  .hero-flow-step small {
    font-size: 0.72rem;
  }

  .proof-band,
  .section {
    width: calc(100% - 28px);
  }

  .proof-band,
  .workflow-lane {
    grid-template-columns: 1fr;
  }

  .section {
    padding-top: 78px;
  }

  .workflow-step {
    min-height: 220px;
  }

  .layer-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .slot-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

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

  .slot-price {
    justify-self: start;
  }

  .enterprise {
    margin-top: 78px;
    padding: 24px;
  }

  .access-form {
    padding: 18px;
  }

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

@media (max-width: 430px) {
  .hero-actions .button,
  .enterprise .button,
  .pricing-summary .button,
  .form-submit {
    width: 100%;
  }

  .custom-slot-grid {
    grid-template-columns: 1fr;
  }
}

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