:root {
  --bg: #f1f3f6;
  --surface: #ffffff;
  --ink: #101214;
  --muted: #5a6472;
  --line: #d9dee6;
  --brand: #0d4ea6;
  --brand-2: #0a3d7f;
  --accent: #7fb2ff;
  --shadow-soft: 0 24px 60px rgba(15, 23, 42, 0.08);
  --shadow-strong: 0 20px 45px rgba(13, 78, 166, 0.18);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: Inter, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at top right, #eef4ff 0%, var(--bg) 42%);
}

a {
  color: var(--brand);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-wrap: wrap;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.2rem 1rem 3rem;
}

.banner {
  border: 1px solid #c5d7f2;
  background: #eff6ff;
  color: #1e3a8a;
  border-radius: 14px;
  padding: 0.75rem 0.95rem;
  margin-bottom: 1.1rem;
}

.hero {
  border: 1px solid var(--line);
  background: linear-gradient(140deg, #ffffff 0%, #edf5ff 100%);
  border-radius: 24px;
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.hero h1 {
  margin: 0;
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.hero .headline {
  margin: 0.45rem 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.hero .subheadline {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.cta-row {
  margin-top: 1rem;
  display: flex;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border-radius: 999px;
  padding: 0.75rem 1.15rem;
  border: 1px solid var(--line);
  font-weight: 600;
}

.btn-primary {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  box-shadow: var(--shadow-strong);
}

.btn-primary:hover {
  background: var(--brand-2);
  text-decoration: none;
}

.btn-secondary {
  background: #fff;
  color: var(--ink);
}

.section {
  margin-top: 1rem;
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 18px;
  padding: 1.1rem;
  box-shadow: var(--shadow-soft);
}

.section h2 {
  margin: 0 0 0.55rem;
  font-size: 1.2rem;
}

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  padding: 1rem;
}

.muted {
  color: var(--muted);
}

.form-card {
  max-width: 760px;
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
  padding: 1.2rem;
  box-shadow: var(--shadow-soft);
}

label {
  display: block;
  margin-top: 0.75rem;
  font-weight: 600;
}

.helper {
  font-size: 0.88rem;
  color: var(--muted);
  margin-top: 0.2rem;
}

input,
textarea,
select,
button {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid #b5bcc7;
  border-radius: 14px;
  margin-top: 0.38rem;
  font: inherit;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(13, 78, 166, 0.12);
}

.check input {
  width: auto;
  margin-right: 0.4rem;
}

button {
  margin-top: 1rem;
  background: var(--brand);
  color: #fff;
  border: 0;
  cursor: pointer;
  font-weight: 600;
  box-shadow: var(--shadow-strong);
}

button:hover {
  background: var(--brand-2);
}

#error-box {
  display: none;
  margin-top: 0.75rem;
  border: 1px solid #fecaca;
  background: #fff1f2;
  color: #9f1239;
  border-radius: 8px;
  padding: 0.55rem 0.65rem;
}

.table-wrap {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

th,
td {
  border: 1px solid var(--line);
  padding: 0.5rem;
  text-align: left;
  vertical-align: top;
}

.site-footer {
  margin-top: 1.5rem;
  border-top: 1px solid var(--line);
  padding: 0.9rem 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links {
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.intake-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(127, 178, 255, 0.16) 0%, rgba(127, 178, 255, 0) 26%),
    linear-gradient(180deg, #070707 0%, #0b0b0b 100%);
}

.intake-stage {
  max-width: 1220px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 2rem 1.25rem 3rem;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 3.5rem;
  align-items: start;
}

.intake-brand-column {
  display: grid;
  gap: 3.25rem;
  padding: 0.75rem 0 0;
}

.intake-header {
  background: transparent;
}

.intake-header-inner {
  padding: 0;
  justify-content: flex-start;
}

.intake-header-brand {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.4rem;
}

.intake-header .brand {
  color: #fff;
  font-size: clamp(1.85rem, 2vw, 2.2rem);
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: 0.14em;
}

.intake-header-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.intake-hero {
  color: #fff;
  padding: 4rem 0 0;
}

.intake-hero h1 {
  margin: 0;
  max-width: 520px;
  font-size: clamp(3rem, 5.2vw, 4.75rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.intake-hero-kicker {
  margin: 1.1rem 0 0;
  max-width: 480px;
  color: #fff;
  font-size: clamp(1.45rem, 2vw, 1.8rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.15;
}

.intake-lead {
  margin: 1.2rem 0 0;
  max-width: 470px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.1rem, 1.8vw, 1.28rem);
  line-height: 1.7;
}

.intake-hero-meta {
  display: grid;
  gap: 0.75rem;
  margin-top: 2rem;
}

.intake-hero-trust,
.intake-hero-scarcity {
  margin: 0;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.5;
}

.intake-hero-trust {
  color: rgba(255, 255, 255, 0.9);
}

.intake-hero-scarcity {
  color: #8db8ff;
  margin-top: 0.45rem;
  font-size: 1.06rem;
  font-weight: 700;
}

.intake-panel.form-card {
  max-width: 820px;
  margin: 0;
}

.intake-panel {
  width: 100%;
  max-width: 820px;
  justify-self: end;
  padding: 2.35rem 2.35rem 2.15rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.intake-panel-header {
  margin-bottom: 1.5rem;
}

.intake-panel-label {
  display: block;
  margin: 0 0 0.85rem;
  color: #5c6673;
  font-size: 0.77rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.intake-panel-header h2 {
  margin: 0;
  color: #0e1014;
  font-size: clamp(1.9rem, 3vw, 2.25rem);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.intake-panel-header p {
  margin: 0.8rem 0 0;
  max-width: 540px;
  color: #5f6875;
  font-size: 1rem;
  line-height: 1.65;
}

.intake-form {
  display: grid;
  gap: 0;
}

.intake-section {
  display: grid;
  gap: 1.4rem;
  padding: 2.35rem 0;
  border-top: 1px solid rgba(16, 18, 20, 0.09);
}

.intake-section:first-of-type {
  border-top: 0;
  padding-top: 0.4rem;
}

.section-copy h2 {
  margin: 0;
  color: #111319;
  font-size: clamp(1.45rem, 2.2vw, 1.72rem);
  line-height: 1.06;
  letter-spacing: -0.05em;
}

.section-copy p {
  margin: 0.65rem 0 0;
  color: #66707c;
  line-height: 1.6;
  max-width: 560px;
}

.field-grid {
  display: grid;
  gap: 1.5rem;
}

.field-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.3rem 1rem;
}

.intake-form label {
  margin-top: 0;
  font-size: 0.97rem;
  font-weight: 600;
  color: #16181d;
  letter-spacing: -0.01em;
}

.intake-form input,
.intake-form select {
  min-height: 50px;
  margin-top: 0.75rem;
  border-radius: 10px;
  border-color: #c9d1db;
  padding: 0.95rem 1rem;
  background: #fff;
}

.intake-form textarea {
  min-height: 180px;
  margin-top: 0.75rem;
  border-radius: 10px;
  border-color: #c9d1db;
  padding: 1rem;
}

.intake-form .helper {
  margin-top: 0.55rem;
  font-size: 0.85rem;
  color: #6b7480;
  line-height: 1.5;
}

.path-callout,
.context-panel,
.rush-toggle {
  border: 1px solid rgba(16, 18, 20, 0.08);
  border-radius: 14px;
  background: #f7f9fc;
  padding: 1.15rem;
}

.path-selector-helper {
  margin-top: 0.65rem;
}

.deliverables-title {
  margin: 0;
  color: #101214;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.deliverable-item {
  margin-top: 0.95rem;
}

.deliverable-divider {
  margin-top: 1rem;
  border-top: 1px solid rgba(16, 18, 20, 0.08);
}

.deliverable-label {
  margin: 0;
  color: #16181d;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.path-callout-item + .path-callout-item {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(16, 18, 20, 0.08);
}

.path-callout-item p {
  margin: 0.45rem 0 0;
  color: var(--muted);
  line-height: 1.55;
}

.context-panel {
  padding: 1.2rem 1.2rem 1.1rem;
}

.context-panel label:first-child {
  margin-top: 0;
}

.objective-field {
  margin-top: 1.35rem;
}

.rush-toggle {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-top: 0;
  background: linear-gradient(180deg, #f7f9fc 0%, #f2f5f9 100%);
}

.rush-toggle input {
  width: auto;
  margin: 0.15rem 0 0;
}

.rush-toggle span {
  display: block;
}

.rush-toggle strong {
  display: block;
  margin-bottom: 0.18rem;
}

.rush-toggle small {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.intake-actions {
  display: grid;
  gap: 1rem;
  padding-top: 1.65rem;
}

.intake-submit {
  min-height: 56px;
  margin-top: 0;
  border-radius: 12px;
  background: var(--brand);
  box-shadow: 0 18px 36px rgba(13, 78, 166, 0.24);
  font-size: 1.04rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.intake-submit:hover {
  background: var(--brand-2);
}

.trust-line {
  margin: 0;
  text-align: center;
  color: #586272;
  font-size: 0.92rem;
  line-height: 1.55;
}

@media (max-width: 900px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }

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

  .intake-stage {
    grid-template-columns: 1fr;
    gap: 1.8rem;
    padding-top: 1.25rem;
  }

  .intake-brand-column {
    gap: 1.6rem;
    padding-top: 0;
  }

  .intake-hero {
    padding-top: 1.1rem;
  }

  .field-grid-2 {
    grid-template-columns: 1fr;
  }

  .intake-panel {
    max-width: none;
    justify-self: stretch;
    padding: 1.7rem;
  }

  .path-selector-helper {
    line-height: 1.6;
  }

  .deliverables-card {
    padding: 1.05rem;
  }

  .deliverable-item {
    margin-top: 0.85rem;
  }

  .field-grid.field-grid-2 {
    gap: 1.1rem;
  }

  .objective-field {
    margin-top: 1.2rem;
  }

  .intake-form textarea {
    padding: 0.95rem;
  }

  .intake-form .helper {
    line-height: 1.6;
  }

  .intake-actions {
    gap: 0.95rem;
    padding-top: 1.45rem;
  }
}

@media (max-width: 768px) {
  .intake-stage {
    max-width: none;
    gap: 1rem;
    padding: 0.75rem 0.75rem 1.4rem;
  }

  .intake-brand-column {
    gap: 0.8rem;
    padding-top: 0;
  }

  .intake-header .brand {
    font-size: clamp(1.45rem, 4vw, 1.75rem);
  }

  .intake-header-tag {
    font-size: 0.68rem;
  }

  .intake-hero {
    padding-top: 0.15rem;
  }

  .intake-hero h1 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 2.45rem);
    line-height: 0.98;
  }

  .intake-hero-kicker,
  .intake-lead,
  .intake-hero-trust {
    display: none;
  }

  .intake-hero-meta {
    gap: 0;
    margin-top: 0.9rem;
  }

  .intake-hero-scarcity {
    margin-top: 0;
    font-size: 0.98rem;
  }

  .intake-panel {
    width: 100%;
    max-width: none;
    justify-self: stretch;
    padding: 1.25rem;
    border-radius: 18px;
  }

  .intake-panel-header h2 {
    font-size: 1.72rem;
    line-height: 1.08;
  }

  .intake-panel-header p,
  .section-copy p {
    line-height: 1.55;
  }

  .field-grid,
  .field-grid.field-grid-2 {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .path-callout,
  .context-panel,
  .rush-toggle {
    padding: 0.95rem;
    border-radius: 14px;
  }

  .path-selector-helper {
    margin-top: 0.7rem;
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .deliverables-title {
    font-size: 1rem;
  }

  .deliverable-label {
    font-size: 0.9rem;
  }

  .deliverable-item,
  .deliverable-divider {
    margin-top: 0.8rem;
  }

  .path-callout-item p {
    font-size: 0.91rem;
    line-height: 1.48;
  }

  .intake-form input,
  .intake-form select {
    min-height: 50px;
    padding: 0.9rem 0.95rem;
  }

  .intake-form textarea {
    min-height: 160px;
    padding: 0.92rem;
  }

  .intake-form .helper {
    font-size: 0.84rem;
    line-height: 1.58;
  }

  .objective-field {
    margin-top: 1.1rem;
  }

  .intake-actions {
    gap: 0.9rem;
    padding-top: 1.3rem;
  }

  .trust-line {
    line-height: 1.6;
  }
}

@media (max-width: 640px) {
  .hero h1 {
    font-size: 1.55rem;
  }

  .hero .headline {
    font-size: 1.2rem;
  }

  .header-inner {
    padding: 0.75rem;
  }

  .intake-stage {
    padding: 1rem 1rem 2rem;
  }

  .intake-header-inner {
    align-items: flex-start;
    gap: 0.4rem;
  }

  .intake-header-inner {
    padding: 0;
  }

  .intake-hero {
    padding-top: 1rem;
  }

  .intake-hero h1 {
    font-size: 2.3rem;
  }

  .intake-hero-kicker {
    font-size: 1.18rem;
  }

  .intake-lead {
    font-size: 1rem;
  }

  .intake-panel {
    padding: 1rem;
    border-radius: 18px;
  }

  .intake-panel-header h2 {
    font-size: 1.58rem;
    line-height: 1.1;
  }

  .intake-section {
    padding: 1.45rem 0;
  }

  .path-callout,
  .context-panel,
  .rush-toggle {
    border-radius: 14px;
  }

  .path-selector-helper {
    margin-top: 0.65rem;
    font-size: 0.86rem;
    line-height: 1.65;
  }

  .deliverables-card {
    padding: 1rem;
  }

  .deliverables-title {
    font-size: 1rem;
  }

  .deliverable-label {
    font-size: 0.9rem;
  }

  .deliverable-item,
  .deliverable-divider {
    margin-top: 0.72rem;
  }

  .field-grid.field-grid-2 {
    gap: 0.9rem;
  }

  .intake-form textarea {
    min-height: 150px;
    padding: 0.88rem;
  }

  .intake-form .helper {
    font-size: 0.84rem;
    line-height: 1.6;
  }

  .objective-field {
    margin-top: 1rem;
  }

  .intake-actions {
    gap: 0.8rem;
    padding-top: 1.2rem;
  }

  .trust-line {
    line-height: 1.6;
  }
}
