




/* - - -  THEME COLORS  - - - */
:root {
  --gold: #F5BE35;
  --gold-hover: #E8AD18;
  --background: #F7F7F4;
  --white: #FFFFFF;
  --text: #20211F;
  --muted: #676962;
  --border: #DFDFD7;
}
.dark {
  --gold: #F5BE35;
  --gold-hover: #E8AD18;
  --background: #171815;
  --white: #242520;
  --text: #F4F4EE;
  --muted: #B3B5A9;
  --border: #41433A;
}



/* - - -  PAGE BASICS  - - - */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 24px;
  background: var(--background);
  color: var(--text);
  font-family: system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.container {
  max-width: 850px;
  margin: 0 auto;
}

section {
  margin: 32px 0;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

h1, h2, h3 {
  line-height: 1.2;
}

h1 {
  font-size: 36px;
  margin-bottom: 8px;
}

h2 {
  font-size: 24px;
  margin-bottom: 14px;
}

p {
  margin-top: 0;
}

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



/* - - -  LAYOUT HELPERS  - - - */
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
}

.column {
  display: grid;
  gap: 12px;
}



/* - - -  BUTTONS  - - - */
.button {
  padding: 11px 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
  transition: background 180ms ease, transform 180ms ease;
}

.button:hover:not(:disabled) {
  transform: translateY(-2px);
}

.button:focus-visible,
.response-option:focus-visible,
.input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.button-primary {
  background: var(--gold);
  color: var(--text);
}

.button-primary:hover:not(:disabled) {
  background: var(--gold-hover);
}

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

.button-secondary:hover:not(:disabled) {
  background: #EEEEEA;
}

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



/* - - -  PANELS  - - - */
.panel {
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
}



/* - - -  PROMPT CARDS  - - - */
#prompt {
  padding: 20px;
  background: var(--text);
  color: var(--white);
  border-radius: 14px;
  font-size: 22px;
  font-weight: bold;
}

.prompt-response-text {
  background: var(--gold);
  color: var(--text);
  border-radius: 4px;
  padding: 0 4px;
}



/* - - -  RESPONSE CARDS  - - - */
.response-option {
  display: block;
  width: 100%;
  padding: 16px;
  background: var(--white);
  color: var(--text);
  border: 2px solid var(--border);
  border-radius: 12px;
  text-align: left;
  font: inherit;
  font-weight: bold;
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease;
}

.response-option:hover:not(:disabled) {
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Add class="response-option selected" to show selection. */
.response-option.selected {
  border-color: var(--gold);
  background: #FFF4D6;
}

.response-option:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}



/* - - -  BADGES  - - - */
.badge {
  display: inline-block;
  padding: 4px 10px;
  background: #EEEEEA;
  border-radius: 999px;
  font-size: 13px;
  font-weight: bold;
}

.badge-gold {
  background: var(--gold);
}



/* - - -  FORM INPUTS  - - - */
.field-label {
  display: block;
  margin-bottom: 6px;
  font-weight: bold;
}

.input {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  color: var(--text);
  font: inherit;
}

.input:focus {
  border-color: var(--gold);
}



/* - - -  MOBILE  - - - */
@media (max-width: 600px) {
  body {
      padding: 16px;
  }

  h1 {
      font-size: 30px;
  }
}

/* Respect users who prefer fewer animations. */
@media (prefers-reduced-motion: reduce) {
  .button,
  .response-option {
      transition: none;
  }
}