:root {
  --bg: #f6f4ef;
  --surface: #ffffff;
  --ink: #171717;
  --text: #34373a;
  --muted: #6c7278;
  --line: #dfdbd2;
  --blue: #2f6f7e;
  --blue-dark: #285e6b;
  --coral: #c4523d;
  --green: #47705f;
  --shadow: 0 1px 2px rgba(20, 20, 20, 0.04), 0 14px 34px rgba(20, 20, 20, 0.08);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

.hero {
  position: relative;
  min-height: 86svh;
  background-image: url("./assets/career-clarity.png");
  background-position: center right;
  background-size: cover;
  overflow: hidden;
  isolation: isolate;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(246, 244, 239, 0.99) 0%, rgba(246, 244, 239, 0.92) 38%, rgba(246, 244, 239, 0.34) 70%),
    linear-gradient(180deg, rgba(246, 244, 239, 0.04) 0%, rgba(246, 244, 239, 0.28) 100%);
}

.topbar,
.app-header {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  color: var(--ink);
  font-size: 22px;
  font-weight: 800;
  text-decoration: none;
}

.status {
  color: #5d5b52;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(216, 212, 203, 0.9);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
}

.hero-content,
.app-shell > section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.hero-content {
  padding: 68px 0 72px;
}

.kicker {
  color: var(--blue);
  font-size: 13px;
  font-weight: 800;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: 68px;
  line-height: 0.99;
}

.lead {
  max-width: 570px;
  margin: 22px 0 0;
  color: var(--text);
  font-size: 19px;
}

.start-panel {
  max-width: 560px;
  margin-top: 34px;
}

.label {
  display: block;
  color: #6d6a60;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 7px;
}

.start-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

input[type="text"] {
  min-height: 52px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  padding: 13px 14px;
}

button,
.button-link {
  min-height: 46px;
  border: none;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  padding: 0 22px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

button:hover,
.button-link:hover {
  background: var(--blue-dark);
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
}

.secondary {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
}

.secondary:hover {
  background: #faf9f6;
}

.consent {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-top: 14px;
  color: #484942;
  font-size: 15px;
}

.consent input {
  margin-top: 4px;
  accent-color: var(--blue);
}

.form-error {
  color: #a23a2a;
  background: #fbf0ee;
  border: 1px solid #f0d2cc;
  border-radius: 8px;
  padding: 11px 13px;
  margin-top: 14px;
  font-size: 14px;
}

.proof {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border-top: 1px solid var(--line);
}

.proof > div {
  background: var(--surface);
  min-height: 132px;
  padding: 28px 42px;
}

.proof span,
.snapshot-grid span {
  display: block;
  color: var(--coral);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.proof strong {
  display: block;
  max-width: 360px;
  color: var(--ink);
  font-size: 20px;
  line-height: 1.32;
}

.assessment,
.snapshot {
  padding: 34px 0 80px;
}

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

.progress {
  max-width: 720px;
  height: 8px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--line);
  overflow: hidden;
  margin: 26px 0 10px;
}

.progress span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--blue);
}

.question-card {
  max-width: 760px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  box-shadow: var(--shadow);
  margin-top: 18px;
}

.option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 10px;
}

.option-title {
  color: var(--ink);
  font-weight: 700;
}

.option-help {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}

.choice-buttons {
  display: flex;
  gap: 8px;
}

.choice-buttons button {
  min-height: 36px;
  padding: 0 12px;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--line);
}

.choice-buttons button.active-most {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.choice-buttons button.active-least {
  background: var(--coral);
  border-color: var(--coral);
  color: #fff;
}

.actions {
  max-width: 760px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
}

.snapshot-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 28px;
}

.snapshot-grid article {
  min-height: 172px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  box-shadow: var(--shadow);
}

.snapshot-grid strong {
  color: var(--ink);
  font-size: 18px;
  line-height: 1.36;
}

.snapshot .button-link {
  margin-top: 28px;
}

@media (max-width: 780px) {
  .hero {
    min-height: auto;
    background-position: 62% center;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(246, 244, 239, 0.97) 0%, rgba(246, 244, 239, 0.9) 52%, rgba(246, 244, 239, 0.68) 100%),
      rgba(246, 244, 239, 0.2);
  }

  .topbar,
  .app-header,
  .hero-content,
  .app-shell > section {
    width: min(100% - 32px, 1120px);
  }

  .hero-content {
    padding: 44px 0 48px;
  }

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

  .lead {
    font-size: 17px;
  }

  .start-row,
  .proof,
  .snapshot-grid {
    grid-template-columns: 1fr;
  }

  .proof > div {
    min-height: 110px;
    padding: 24px 18px;
  }

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

  .choice-buttons {
    width: 100%;
  }

  .choice-buttons button {
    flex: 1;
  }
}
