:root {
  --midnight: #030605;
  --ink: #111813;
  --muted: #667065;
  --panel: #fffdf7;
  --line: #e6dfd0;
  --blue: #123f64;
  --blue-deep: #09253a;
  --gold: #c49745;
  --gold-bright: #e1bd63;
  --green: #79c84b;
  --paper: #f8f4e9;
}

* {
  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;
  overflow-x: hidden;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 14px clamp(18px, 4vw, 48px);
  color: #f7f5eb;
  background: rgba(3, 6, 5, 0.9);
  border-bottom: 1px solid rgba(196, 151, 69, 0.32);
  backdrop-filter: blur(14px);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand-link img {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
  border: 1px solid rgba(196, 151, 69, 0.64);
  border-radius: 8px;
  background: #020403;
}

.brand-link strong,
.brand-link small {
  display: block;
}

.brand-link small {
  margin-top: 3px;
  color: rgba(247, 245, 235, 0.68);
}

nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 0 12px;
  color: rgba(247, 245, 235, 0.78);
  font-size: 0.9rem;
  font-weight: 750;
}

nav a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-cta {
  color: #06100d;
  background: linear-gradient(135deg, var(--green), #a8e777);
}

.nav-cta:hover {
  color: #06100d;
  background: linear-gradient(135deg, #8ed95f, #c5f18e);
}

.hero {
  position: relative;
  min-height: min(760px, 92vh);
  display: grid;
  align-items: center;
  padding: clamp(70px, 9vw, 112px) clamp(20px, 5vw, 72px) clamp(88px, 9vw, 126px);
  color: #fffdf4;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 6, 5, 0.94), rgba(3, 6, 5, 0.72) 48%, rgba(3, 6, 5, 0.45)),
    radial-gradient(circle at 82% 24%, rgba(121, 200, 75, 0.28), transparent 26%),
    linear-gradient(135deg, var(--blue-deep), #040706 68%);
}

.hero-logo {
  position: absolute;
  inset: 4% 0 auto auto;
  width: min(54vw, 720px);
  max-height: 92%;
  object-fit: contain;
  opacity: 0.88;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.52));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(0deg, var(--paper), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(3.7rem, 9vw, 8.4rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-shadow: 0 12px 32px rgba(0, 0, 0, 0.42);
}

.hero-copy {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 253, 244, 0.84);
  font-size: clamp(1.05rem, 2vw, 1.36rem);
  line-height: 1.55;
}

.hero-actions,
.handoff-section {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

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

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.hero-proof span {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(196, 151, 69, 0.38);
  border-radius: 999px;
  padding: 0 12px;
  color: rgba(255, 253, 244, 0.86);
  background: rgba(255, 255, 255, 0.08);
  font-size: 0.86rem;
  font-weight: 850;
}

.primary-button,
.secondary-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 0 18px;
  font-weight: 900;
}

.primary-button {
  color: #06100d;
  background: linear-gradient(135deg, var(--green), #b9ed82);
  box-shadow: 0 14px 34px rgba(121, 200, 75, 0.18);
}

.secondary-button {
  color: #fffdf4;
  border: 1px solid rgba(196, 151, 69, 0.48);
  background: rgba(255, 255, 255, 0.08);
}

.trust-band,
.section,
.feature-section,
.workflow-section,
.early-access-section,
.handoff-section,
.domain-section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.trust-band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: -48px;
}

.trust-band article,
.role-grid article,
.feature-list article,
.pricing-grid article,
.workflow-grid article,
.early-access-section,
.early-access-form,
.expo-callout,
.handoff-section,
.domain-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 247, 0.94);
  box-shadow: 0 18px 40px rgba(17, 24, 19, 0.08);
}

.trust-band article {
  padding: 18px;
}

.trust-band strong,
.trust-band span {
  display: block;
}

.trust-band span,
.role-grid p,
.feature-copy p,
.early-access-copy p,
.feature-list span,
.workflow-grid p,
.pricing-grid p,
.pricing-grid em,
.handoff-section p {
  color: var(--muted);
  line-height: 1.55;
}

.trust-band span {
  margin-top: 6px;
  font-size: 0.94rem;
}

.section,
.feature-section,
.workflow-section,
.early-access-section {
  padding: clamp(66px, 8vw, 104px) 0 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 24px;
}

.section-heading h2,
.feature-copy h2,
.early-access-copy h2,
.handoff-section h2 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  letter-spacing: 0;
}

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

.role-grid article,
.pricing-grid article {
  padding: 18px;
}

.role-grid span,
.pricing-grid span {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  padding: 0 10px;
  color: var(--blue-deep);
  background: #e9f0e2;
  font-size: 0.78rem;
  font-weight: 900;
}

.role-grid h3 {
  margin: 16px 0 8px;
  color: var(--ink);
  font-size: 1.24rem;
  line-height: 1.18;
}

.role-grid p,
.pricing-grid p {
  margin: 0;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 28px;
  align-items: start;
}

.feature-copy {
  position: sticky;
  top: 96px;
}

.feature-copy p:not(.eyebrow) {
  margin: 18px 0 0;
  font-size: 1.04rem;
}

.feature-list {
  display: grid;
  gap: 12px;
}

.feature-list article {
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(18, 63, 100, 0.08), transparent 44%),
    #fffdf7;
}

.feature-list strong,
.feature-list span {
  display: block;
}

.feature-list span {
  margin-top: 7px;
}

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

.workflow-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(121, 200, 75, 0.1), transparent 44%),
    #fffdf7;
}

.workflow-grid span {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #06100d;
  background: linear-gradient(135deg, var(--gold-bright), #f0d992);
  font-weight: 950;
}

.workflow-grid strong {
  color: var(--blue-deep);
  font-size: 1.08rem;
}

.workflow-grid p {
  margin: 0;
}

.early-access-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1fr);
  gap: clamp(18px, 4vw, 42px);
  align-items: start;
  margin-top: clamp(66px, 8vw, 104px);
  padding: clamp(20px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(18, 63, 100, 0.12), transparent 44%),
    #fffdf7;
}

.early-access-copy p:not(.eyebrow) {
  margin: 16px 0 0;
  font-size: 1.04rem;
}

.early-access-copy h1 {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(2.6rem, 6vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: 0;
}

.early-access-standalone {
  margin-top: clamp(34px, 6vw, 72px);
  margin-bottom: clamp(56px, 7vw, 88px);
}

.hero-logo-inline {
  width: min(280px, 58vw);
  display: block;
  margin-bottom: 18px;
  border: 1px solid rgba(196, 151, 69, 0.52);
  border-radius: 8px;
  background: #020403;
}

.expo-callout {
  display: grid;
  gap: 5px;
  margin-top: 20px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(121, 200, 75, 0.12), transparent 48%),
    #f8fbf4;
}

.expo-callout strong {
  color: var(--blue-deep);
}

.expo-callout span {
  color: var(--muted);
  line-height: 1.45;
}

.early-access-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 18px;
  background: rgba(255, 255, 255, 0.74);
}

.early-access-form label {
  display: grid;
  gap: 7px;
  color: var(--blue-deep);
  font-size: 0.85rem;
  font-weight: 900;
}

.early-access-form label:has(textarea),
.early-access-form button,
.early-access-form .form-message {
  grid-column: 1 / -1;
}

.early-access-form input,
.early-access-form select,
.early-access-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

.early-access-form textarea {
  resize: vertical;
}

.form-message {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.pricing-section {
  padding-bottom: 0;
}

.pricing-grid article {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 335px;
}

.pricing-grid strong {
  color: var(--blue-deep);
  font-size: 2rem;
}

.pricing-grid small {
  color: var(--muted);
  font-size: 0.9rem;
}

.pricing-grid em {
  font-size: 0.86rem;
  font-style: normal;
}

.pricing-grid a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: end;
  border: 1px solid rgba(18, 63, 100, 0.22);
  border-radius: 8px;
  padding: 0 12px;
  color: var(--blue-deep);
  background: #eef4e9;
  font-weight: 900;
}

.pricing-grid a:hover {
  border-color: rgba(121, 200, 75, 0.58);
  background: #e4f5d9;
}

.featured-plan {
  border-color: rgba(196, 151, 69, 0.68);
  background:
    linear-gradient(135deg, rgba(196, 151, 69, 0.16), transparent 44%),
    #fffdf7;
}

.handoff-section {
  justify-content: space-between;
  gap: 24px;
  margin-top: clamp(66px, 8vw, 104px);
  margin-bottom: 42px;
  padding: clamp(22px, 4vw, 34px);
  background:
    linear-gradient(135deg, rgba(18, 63, 100, 0.12), transparent 46%),
    #fffdf7;
}

.handoff-section div {
  max-width: 780px;
}

.handoff-section p:not(.eyebrow) {
  margin: 14px 0 0;
}

.domain-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 12px;
  margin-bottom: clamp(56px, 7vw, 88px);
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(18, 63, 100, 0.1), transparent 42%),
    #fffdf7;
}

.domain-section > div {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  border-radius: 8px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.62);
}

.domain-section img {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  object-fit: contain;
  border: 1px solid rgba(196, 151, 69, 0.52);
  border-radius: 8px;
  background: #020403;
}

.domain-section span,
.domain-section strong,
.domain-section small {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.domain-section strong {
  color: var(--blue-deep);
  font-size: 1.08rem;
}

.domain-section small {
  margin-top: 5px;
  color: var(--muted);
  line-height: 1.35;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 24px clamp(18px, 4vw, 48px);
  color: rgba(247, 245, 235, 0.72);
  background: var(--midnight);
  border-top: 1px solid rgba(196, 151, 69, 0.28);
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    justify-content: flex-start;
  }

  .hero-logo {
    width: min(86vw, 640px);
    opacity: 0.38;
  }

  .trust-band,
  .role-grid,
  .pricing-grid,
  .workflow-grid,
  .domain-section,
  .feature-section,
  .early-access-section,
  .early-access-form {
    grid-template-columns: 1fr;
  }

  .feature-copy {
    position: static;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 16px;
  }

  .brand-link img {
    width: 48px;
    height: 48px;
    flex-basis: 48px;
  }

  nav a {
    min-height: 34px;
    padding: 0 9px;
    font-size: 0.82rem;
  }

  .hero {
    min-height: 760px;
    padding: 88px 18px 98px;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 18vw, 5.2rem);
  }

  .hero-actions,
  .handoff-section {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .secondary-button {
    width: 100%;
  }

  .early-access-form label:has(textarea),
  .early-access-form button,
  .early-access-form .form-message {
    grid-column: auto;
  }
}
