:root {
  --page-background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
  --card-background: #ffffff;
  --card-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  --text-primary: #1f2937;
  --text-muted: #677281;
  --border-default: #d8dee7;
  --pill-background: #f8f9fa;
  --pill-hover: #e7ecf2;
  --pill-selected-start: #ffc61a;
  --pill-selected-end: #ffb700;
  --pill-selected-shadow: 0 10px 24px rgba(255, 183, 0, 0.26);
  --button-start: #ffd973;
  --button-end: #ffc836;
  --button-shadow: 0 10px 24px rgba(255, 201, 54, 0.28);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Public Sans", sans-serif;
  /* background: var(--page-background); */
  color: var(--text-primary);
}

button,
input,
textarea,
select {
  font: inherit;
}

.page-shell {
  min-height: 80vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.recommender-layout {
  width: min(100%, 640px);
}

.brand-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 26px;
}

.brand-mark {
  display: block;
  width: 34px;
  height: 34px;
}

.brand-text {
  font-size: clamp(2rem, 4vw, 2.25rem);
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #111827;
}

.recommender-card {
  width: 100%;
  background: var(--card-background);
  border-radius: 20px;
  box-shadow: var(--card-shadow);
  padding: 44px 36px 48px;
}

.step-label {
  margin: 0;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-muted);
}

h2 {
  margin: 28px 0 36px;
  text-align: center;
  font-size: 1.5rem;
  line-height: 1.1;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.recommender-form {
  display: grid;
  gap: 32px;
}

.option-list {
  display: grid;
  gap: 18px;
}

.option-pill {
  width: 100%;
  border: 2px solid var(--border-default);
  border-radius: 999px;
  background: var(--pill-background);
  color: #111827;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  min-height: 82px;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

.option-pill:hover,
.option-pill:focus-visible {
  background: var(--pill-hover);
  outline: none;
}

.option-pill[aria-pressed="true"] {
  background: linear-gradient(
    135deg,
    var(--pill-selected-start),
    var(--pill-selected-end)
  );
  border-color: transparent;
  /* box-shadow: var(--pill-selected-shadow); */
}

.option-pill[aria-pressed="true"]:hover,
.option-pill[aria-pressed="true"]:focus-visible {
  transform: translateY(-1px);
}

.option-label {
  font-size: 1rem;
  font-weight: 500;
}

.option-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
}

.option-icon svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.25;
  fill: none;
  stroke-linecap: round;
}

.actions {
  display: flex;
  justify-content: center;
}

.next-button {
  border: 0;
  border-radius: 999px;
  padding: 14px 30px;
  min-width: 96px;
  /* background: linear-gradient(135deg, var(--button-start), var(--button-end)); */
  background: linear-gradient(
    135deg,
    var(--pill-selected-start),
    var(--pill-selected-end)
  );
  color: #2b2b2b;
  font-weight: 500;
  cursor: pointer;
  /* box-shadow: var(--button-shadow); */
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    filter 180ms ease;
}

.next-button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
  box-shadow: none;
  filter: grayscale(0.08);
}

.next-button:hover,
.next-button:focus-visible {
  transform: translateY(-1px);
  filter: saturate(1.05);
  outline: none;
}

.next-button:disabled:hover,
.next-button:disabled:focus-visible {
  transform: none;
  filter: grayscale(0.08);
}

@media (max-width: 640px) {
  .brand-lockup {
    gap: 8px;
    margin-bottom: 20px;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .brand-text {
    font-size: 1.75rem;
  }

  .recommender-card {
    padding: 32px 20px 36px;
  }

  h2 {
    margin: 22px 0 30px;
    font-size: 1.5rem;
  }

  .option-pill {
    min-height: 74px;
    padding: 18px 18px 18px 20px;
  }
}
