:root {
  --black: #000;
  --ink: #212121;
  --muted: #616161;
  --white: #fff;
  --purple: #4f19eb;
  --purple-dark: #3504c4;
  --purple-soft: #e4daff;
  --lime: #84f649;
  --lime-dark: #3aa800;
  --orange: #ed803c;
  --line: rgba(33, 33, 33, 0.16);
  --font-display: "Boldonse", "Space Grotesk", sans-serif;
  --font-body: "Sora", "Figtree", sans-serif;
  --shadow: 18px 18px 0 #000;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--font-body);
  letter-spacing: 0;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  min-height: 74px;
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 4px solid var(--black);
  background: var(--purple);
  color: var(--white);
  padding: 14px clamp(18px, 4vw, 60px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 19px;
}

.brand img {
  width: 46px;
  height: 46px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.nav-links a {
  text-decoration: none;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
}

.nav-links a:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.nav-links .client-access-link {
  border: 2px solid var(--lime);
  background: var(--lime);
  color: var(--black);
  padding: 10px 14px;
  box-shadow: 4px 4px 0 var(--black);
}

.nav-links .client-access-link:hover {
  border-color: var(--white);
  color: var(--black);
  transform: translate(-1px, -1px);
}

.menu-button {
  width: 44px;
  height: 44px;
  display: none;
  border: 2px solid var(--white);
  background: transparent;
  padding: 10px;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero-section {
  display: grid;
  grid-template-columns: minmax(250px, 34vw) minmax(0, 1fr);
  min-height: calc(100vh - 74px);
}

.side-panel {
  position: relative;
  display: grid;
  align-content: start;
  gap: 24px;
  border-right: 4px solid var(--black);
  background: var(--black);
  padding: clamp(20px, 4vw, 52px);
}

.logo-tile {
  width: 140px;
  min-height: 140px;
  display: grid;
  place-items: center;
  border: 4px solid var(--white);
  background: var(--purple);
}

.logo-tile img {
  width: 94px;
}

.side-photo {
  aspect-ratio: 4 / 5;
  width: min(100%, 420px);
  object-fit: cover;
  border: 4px solid var(--white);
}

.side-callout {
  width: min(100%, 430px);
  background: var(--lime);
  color: var(--black);
  padding: 18px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2.2vw, 28px);
  line-height: 1.46;
}

.hero-main {
  position: relative;
  display: grid;
  align-content: center;
  background: var(--lime);
  padding: clamp(48px, 7vw, 104px);
  overflow: hidden;
}

.hero-main::before {
  content: "";
  position: absolute;
  top: 48px;
  right: 52px;
  width: 190px;
  height: 190px;
  border: 24px solid var(--purple);
  transform: rotate(18deg);
  z-index: 0;
}

.pretitle,
.section-label {
  margin: 0 0 22px;
  color: var(--purple);
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 2.05;
  text-transform: uppercase;
}

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

h1,
h2 {
  position: relative;
  z-index: 1;
  max-width: 980px;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
}

h1 {
  max-width: 900px;
  margin-bottom: 24px;
  font-family: "Figtree", var(--font-body);
  font-size: clamp(50px, 7.4vw, 112px);
  line-height: 0.98;
  font-weight: 900;
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(32px, 4.7vw, 64px);
  line-height: 1.34;
}

h3 {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.82;
  text-transform: uppercase;
}

.hero-kicker {
  position: relative;
  z-index: 1;
  margin-bottom: 16px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(18px, 2.6vw, 34px);
  line-height: 1.72;
}

.hero-copy,
.section p {
  position: relative;
  z-index: 1;
  max-width: 740px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 16px 0 30px;
}

.button-primary,
.button-secondary {
  min-height: 56px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--black);
  padding: 14px 22px;
  color: var(--black);
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button-primary {
  background: var(--lime);
  box-shadow: 8px 8px 0 var(--black);
}

.button-secondary {
  background: var(--white);
}

.button-primary.compact {
  min-height: 48px;
  box-shadow: 5px 5px 0 var(--black);
}

.button-primary:disabled {
  opacity: 0.62;
  cursor: wait;
}

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

.info-block {
  border: 4px solid var(--black);
  background: var(--orange);
  padding: 22px;
  box-shadow: 10px 10px 0 var(--black);
}

.info-block.purple {
  background: var(--purple);
  color: var(--white);
}

.info-block span {
  display: block;
  margin-bottom: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.85;
}

.info-block ul,
.pricing-card ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
}

.section {
  background: var(--white);
  padding: clamp(64px, 8vw, 112px) clamp(18px, 5vw, 76px);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: center;
}

.align-start {
  align-items: start;
}

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

.feature-list article,
.sprint-grid article,
.pricing-card,
.intake-card,
.results-panel {
  border: 4px solid var(--black);
  background: var(--white);
  box-shadow: var(--shadow);
}

.feature-list article {
  min-height: 190px;
  padding: 24px;
}

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

.feature-list b {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: 14px;
  line-height: 1.85;
}

.feature-list span {
  color: var(--muted);
  line-height: 1.65;
}

.search-section {
  background: var(--purple-soft);
}

.search-form,
.form-grid {
  display: grid;
  gap: 14px;
}

.search-form {
  grid-template-columns: 1fr 1fr auto;
  align-items: end;
  margin-top: 24px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  min-height: 48px;
  border: 3px solid var(--black);
  background: var(--white);
  color: var(--ink);
  padding: 12px;
  font: 600 15px var(--font-body);
}

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

.message {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.message.error {
  color: #9f1d1d;
}

.message.success {
  color: var(--lime-dark);
}

.results-panel {
  min-height: 460px;
  padding: 20px;
  background: var(--black);
  color: var(--white);
  box-shadow: 18px 18px 0 var(--purple);
}

.job-card {
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: #101010;
  padding: 16px;
  margin-bottom: 12px;
}

.job-card strong {
  display: block;
  color: var(--lime);
  font-family: var(--font-display);
  font-size: 13px;
  line-height: 1.95;
}

.job-card span {
  display: block;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.6;
}

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

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

.sprint-grid article {
  min-height: 260px;
  padding: 24px;
}

.sprint-grid span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--purple);
  font-family: var(--font-display);
}

.proof-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 72px);
  background: var(--purple);
  color: var(--white);
}

.proof-section img {
  width: 100%;
  min-height: 430px;
  object-fit: cover;
  border: 4px solid var(--black);
  box-shadow: var(--shadow);
}

.proof-section h2,
.proof-section .section-label,
.proof-section p {
  color: var(--white);
}

blockquote {
  margin: 22px 0 18px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 36px);
  line-height: 1.72;
}

.quote-author {
  font-weight: 900;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.stats-row div {
  border: 3px solid var(--white);
  padding: 18px;
}

.stats-row strong,
.stats-row span {
  display: block;
}

.stats-row strong {
  font-family: var(--font-display);
  font-size: 28px;
}

.stats-row span {
  margin-top: 8px;
  font-weight: 900;
}

.apply-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(26px, 5vw, 70px);
  background: var(--purple-soft);
  align-items: start;
}

.pricing-card,
.intake-card {
  padding: clamp(22px, 4vw, 42px);
}

.product-stack {
  display: grid;
  gap: 28px;
}

.pricing-card {
  background: var(--lime);
}

.bootcamp-card {
  background: var(--orange);
}

.product-price {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.6;
  text-transform: uppercase;
}

.bootcamp-date-control {
  margin-top: 18px;
}

.bootcamp-date-control select {
  width: 100%;
  border: 3px solid var(--black);
  background: var(--white);
  color: var(--ink);
  padding: 14px 12px;
  font: 800 15px/1.3 var(--font-body);
}

.checkout-referral {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  border: 3px solid var(--black);
  background: rgba(255, 255, 255, 0.64);
  padding: 14px;
}

.checkout-referral .referral-label {
  margin: 0;
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.35;
  text-transform: uppercase;
}

.checkout-referral label {
  gap: 6px;
  font-size: 11px;
}

.checkout-referral input {
  min-height: 42px;
  border-width: 2px;
  padding: 9px 10px;
  font-size: 14px;
}

.pricing-card h2 {
  font-size: clamp(70px, 12vw, 132px);
  margin-bottom: 14px;
}

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

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

.upload-box {
  margin-top: 14px;
  border: 3px dashed var(--black);
  background: #f7f7f7;
  padding: 18px;
}

.upload-box input {
  border: 0;
  min-height: auto;
  padding: 0;
}

.upload-box small,
.upload-box b {
  display: block;
  margin-top: 6px;
}

.consent-row {
  grid-template-columns: 22px 1fr;
  align-items: start;
  margin: 16px 0;
  text-transform: none;
  line-height: 1.55;
}

.consent-row input {
  min-height: auto;
}

.cta-section {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 70px);
  align-items: center;
  border-top: 4px solid var(--black);
  background: var(--black);
  color: var(--white);
  padding: clamp(64px, 8vw, 110px) clamp(18px, 5vw, 76px);
}

.cta-section h2,
.cta-section p {
  color: var(--white);
}

.cta-section img {
  border: 4px solid var(--white);
}

.footer {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  background: var(--white);
  border-top: 4px solid var(--black);
  padding: 42px clamp(18px, 5vw, 76px);
  text-align: left;
  justify-items: stretch;
}

.footer div {
  display: grid;
  justify-items: start;
  gap: 10px;
}

.footer > div:nth-child(2) {
  justify-items: center;
  text-align: center;
}

.footer > div:nth-child(3) {
  justify-items: end;
  text-align: right;
}

.footer .company-details {
  width: 100%;
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px 18px;
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  padding-top: 18px;
}

.footer strong,
.footer a,
.footer span {
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.page-hero {
  background: var(--purple);
  color: var(--white);
  border-bottom: 4px solid var(--black);
  padding: clamp(56px, 8vw, 112px) clamp(18px, 6vw, 90px);
}

.page-hero .pretitle,
.page-hero h1,
.page-hero p {
  color: var(--white);
}

.page-hero h1 {
  max-width: 980px;
  margin: 0 0 20px;
  font-size: clamp(42px, 6vw, 86px);
  line-height: 1.08;
}

.page-hero p {
  max-width: 760px;
}

.policy-section {
  background: var(--white);
  display: grid;
  gap: 24px;
  padding: clamp(44px, 6vw, 86px) clamp(18px, 6vw, 90px);
}

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

.policy-card {
  border: 4px solid var(--black);
  background: var(--white);
  box-shadow: 12px 12px 0 var(--black);
  padding: clamp(22px, 3vw, 34px);
}

.policy-card.wide {
  grid-column: 1 / -1;
}

.policy-card h2,
.policy-card h3 {
  max-width: none;
  margin-top: 0;
}

.policy-card h2 {
  font-family: "Figtree", var(--font-body);
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.08;
  font-weight: 900;
  overflow-wrap: break-word;
}

.policy-card h3 {
  font-size: 17px;
  line-height: 1.55;
}

.policy-card ul {
  margin: 14px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 10px;
  color: var(--muted);
  line-height: 1.65;
}

.policy-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.policy-meta span {
  border: 3px solid var(--black);
  background: var(--lime);
  color: var(--black);
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  text-transform: uppercase;
}

.details-list {
  display: grid;
  gap: 14px;
  margin: 0;
}

.details-list div {
  display: grid;
  gap: 4px;
}

.details-list dt {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.details-list dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 1120px) {
  .hero-section,
  .split-layout,
  .proof-section,
  .apply-section,
  .cta-section {
    grid-template-columns: 1fr;
  }

  .side-panel {
    grid-template-columns: 140px 1fr;
    border-right: 0;
    border-bottom: 4px solid var(--black);
  }

  .side-callout {
    grid-column: 1 / -1;
  }

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

@media (max-width: 780px) {
  .site-header {
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    text-align: center;
  }

  .brand {
    width: 100%;
    justify-content: center;
    margin-right: 0;
  }

  .nav-links {
    width: 100%;
    order: 3;
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    gap: 14px;
    padding-bottom: 4px;
  }

  .hero-main {
    padding: 44px 18px;
    justify-items: center;
    text-align: center;
  }

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

  .side-panel,
  .hero-grid,
  .feature-list,
  .search-form,
  .sprint-grid,
  .policy-grid,
  .stats-row,
  .form-grid,
  .footer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .section,
  .page-hero,
  .cta-section,
  .apply-section,
  .proof-section,
  .split-layout {
    text-align: center;
    justify-items: center;
  }

  .hero-copy,
  .section p,
  .page-hero p,
  .page-hero h1,
  h1,
  h2,
  .hero-kicker,
  .pretitle,
  .section-label {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .price-actions,
  .form-actions,
  .cta-actions {
    justify-content: center;
  }

  .footer div {
    justify-items: center;
  }

  h1 {
    font-size: 48px;
    line-height: 1.02;
  }

  .logo-tile {
    width: 116px;
    min-height: 116px;
  }

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

  .feature-list article,
  .sprint-grid article,
  .policy-card,
  .pricing-card,
  .intake-card,
  .results-panel,
  .proof-section img {
    width: 100%;
    max-width: 680px;
    box-shadow: 8px 8px 0 var(--black);
  }

  .intake-card,
  .search-form,
  .form-grid,
  .consent-row {
    text-align: left;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-left: 14px;
    padding-right: 14px;
  }

  .nav-links {
    gap: 10px;
  }

  .nav-links a {
    padding-left: 4px;
    padding-right: 4px;
  }

  .hero-section {
    min-height: auto;
  }

  .page-hero,
  .cta-section {
    padding-left: 16px;
    padding-right: 16px;
  }
}

/* Intake quality matching fields */
.intake-quality-panel {
  display: grid;
  gap: 16px;
  border: 2px solid #111;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(132, 246, 73, 0.24), transparent 34%),
    linear-gradient(315deg, rgba(79, 25, 235, 0.12), transparent 30%),
    #fff;
  padding: 22px;
  margin: 20px 0;
  box-shadow: 0 14px 0 #111;
}

.intake-quality-panel h3 {
  margin: 0;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1;
}

.intake-quality-panel textarea {
  min-height: 96px;
}

.restriction-scale {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  border: 1px solid rgba(17, 17, 17, 0.22);
  border-radius: 14px;
  background: #fff;
  padding: 12px;
}

.restriction-scale b,
.restriction-scale span {
  font-size: 12px;
  font-weight: 900;
}

.restriction-scale span {
  display: block;
  border-radius: 999px;
  padding: 9px 12px;
  text-align: center;
}

.restriction-scale span:nth-child(2) {
  background: #84f649;
  color: #111;
}

.restriction-scale span:nth-child(3) {
  background: #fff0d6;
  color: #8a5200;
}

.message.warning {
  border-color: rgba(237, 128, 60, 0.36);
  background: #fff6e8;
  color: #7a4100;
}

@media (max-width: 720px) {
  .restriction-scale {
    grid-template-columns: 1fr;
  }
}
