*, *::before, *::after { box-sizing: border-box; }

:root {
  --ink: #111827;
  --muted: #64748B;
  --line: #E5E7EB;
  --soft: #F8FAFC;
  --white: #ffffff;
  --indigo: #4F46E5;
  --teal: #2A9D8F;
  --light: #EEF7F5;
  --shadow: 0 16px 40px rgba(17, 24, 39, 0.08);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
}

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

.topbar {
  min-height: 68px;
  padding: 16px clamp(18px, 4vw, 44px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
}

.brand { display: inline-flex; align-items: center; }
.brand img { display: block; width: auto; height: 30px; }
.topbar > a:last-child { color: var(--muted); font-size: 14px; font-weight: 700; }

main {
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  padding: 56px 0 30px;
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 12px;
  display: inline-flex;
  padding: 5px 14px;
  border-radius: 999px;
  background: var(--light);
  color: #17796e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.intake-shell {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 24px;
  align-items: start;
  padding-bottom: 56px;
}

.intake-card,
.summary-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

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

.summary-card {
  position: sticky;
  top: 88px;
  padding: 30px;
}

.field {
  margin: 0 0 24px;
  padding: 0;
  border: 0;
}

label,
legend {
  display: block;
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 800;
  color: var(--ink);
}

textarea,
select,
input:not([type="checkbox"]) {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
  outline: none;
}

textarea {
  min-height: 118px;
  resize: vertical;
  padding: 14px 16px;
  line-height: 1.55;
}

select,
input:not([type="checkbox"]) {
  min-height: 48px;
  padding: 0 14px;
}

textarea:focus,
select:focus,
input:not([type="checkbox"]):focus {
  border-color: var(--indigo);
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

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

.checks label {
  display: flex;
  gap: 9px;
  align-items: center;
  margin: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  font-weight: 700;
}

.checks input { accent-color: var(--indigo); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.btn.primary { background: var(--ink); color: #fff; }
.btn.secondary { background: #fff; color: var(--ink); border-color: var(--line); }
.btn:disabled {
  cursor: not-allowed;
  opacity: 0.65;
}

.summary-label {
  margin: 0 0 10px;
  display: inline-flex;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--light);
  color: #17796e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.summary-card h2 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.18;
  letter-spacing: 0;
}

.summary-card p {
  color: var(--muted);
  line-height: 1.65;
}

.summary-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.pilot-form {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.pilot-form h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

.pilot-form p {
  margin: 0 0 18px;
}

.pilot-form label {
  margin-top: 14px;
}

.pilot-form .btn {
  margin-top: 18px;
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.consent-check input {
  margin-top: 3px;
  accent-color: var(--indigo);
}

.pilot-note {
  font-size: 13px;
}

.next-step-panel {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.next-step-panel h3 {
  margin: 0 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.next-step-panel p {
  margin-top: 0;
}

.sprint-preview {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}

.sprint-preview div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--soft);
}

.sprint-preview strong {
  color: var(--ink);
  font-size: 13px;
}

.sprint-preview span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-align: right;
}

.hidden { display: none !important; }

footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 26px clamp(18px, 4vw, 44px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: var(--white);
  font-size: 14px;
}

footer span { font-weight: 800; color: var(--ink); }
footer a { font-weight: 700; }

@media (max-width: 860px) {
  .intake-shell { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}

@media (max-width: 560px) {
  main { width: min(100% - 28px, 1120px); }
  .topbar { min-height: 62px; }
  .hero { padding-top: 38px; }
  h1 { font-size: 36px; line-height: 1.05; }
  .lead { font-size: 16px; }
  .checks { grid-template-columns: 1fr; }
  .btn { width: 100%; }
  footer { flex-direction: column; }
}
