:root {
  --explorer-text: #202124;
  --explorer-muted: #70757a;
  --explorer-border: #9aae95;
  --explorer-border-hover: #789572;
  --explorer-link: #557d50;
  /* Page stays white */
  --explorer-background: #ffffff;
  /* Very subtle warm ivory */
  --explorer-card-background: #fdfcf7;
  --explorer-soft-background: #faf9f3;
  /* Slightly stronger tint than cards */
  --explorer-search-background: #faf8ee;
}

.explorer-subtitle {
  margin: -12px 0 32px;
  color: var(--explorer-muted);
  font-size: 16px;
}

/* --------------------------------------------------------------------------
   Page
   -------------------------------------------------------------------------- */

.explorer {
  max-width: 760px;
  margin: 0 auto;
  padding: 80px 24px 100px;
  color: var(--explorer-text);
}

.explorer-intro {
  text-align: center;
}

.explorer-question {
  margin: 0 0 28px;
  font-size: 42px;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -1.5px;
}

.explorer-intro::before {
  content: "Indica Stories";
  display: block;
  margin-bottom: 18px;
  color: var(--explorer-border);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 3px;
}

/* --------------------------------------------------------------------------
   Dropdown
   -------------------------------------------------------------------------- */

.explorer-select-wrap {
  position: relative;
  max-width: 560px;
  margin: 0 auto;
}

.explorer-select-wrap::after {
  content: "⌕  ⌄";
  position: absolute;
  top: 50%;
  right: 22px;
  transform: translateY(-55%);
  color: var(--explorer-muted);
  font-size: 22px;
  line-height: 1;
  pointer-events: none;
}

#participant-select {
  width: 100%;
  height: 58px;
  padding: 0 56px 0 22px;

  appearance: none;
  -webkit-appearance: none;

  border: 1px solid var(--explorer-border);
  border-radius: 29px;

  background: var(--explorer-search-background);
  color: var(--explorer-text);

  font: inherit;
  font-size: 16px;

  outline: none;
  cursor: pointer;

  box-shadow:
    0 1px 2px rgba(60, 64, 67, 0.08),
    0 2px 6px rgba(60, 64, 67, 0.08);

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease;
}

#participant-select:hover {
  border-color: var(--explorer-border-hover);
  box-shadow:
    0 1px 2px rgba(60, 64, 67, 0.12),
    0 3px 8px rgba(60, 64, 67, 0.12);
}

#participant-select:focus {
  border-color: var(--explorer-border-hover);
  box-shadow:
    0 1px 2px rgba(60, 64, 67, 0.12),
    0 0 0 2px rgba(111, 149, 107, 0.14);
}

.explorer-hint {
  max-width: 560px;
  margin: 16px auto 0;
  color: var(--explorer-muted);
  font-size: 13px;
  line-height: 1.6;
}

.explorer-hint strong {
  color: var(--explorer-text);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Status
   -------------------------------------------------------------------------- */

.explorer-status {
  min-height: 24px;
  margin: 56px 0 20px;
  text-align: center;
  color: var(--explorer-muted);
  font-size: 14px;
}

/* --------------------------------------------------------------------------
   Conversation results
   -------------------------------------------------------------------------- */

.conversation-results {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.conversation-card {
  padding: 28px 30px 26px;
  border: 1px solid var(--explorer-border);
  border-radius: 12px;
  background: var(--explorer-card-background);

  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    transform 0.15s ease;
}

.conversation-card:hover {
  border-color: var(--explorer-border-hover);
  box-shadow:
    0 2px 5px rgba(60, 64, 67, 0.08),
    0 5px 14px rgba(60, 64, 67, 0.08);

  transform: translateY(-1px);
}

.conversation-heading {
  text-align: center;
}

.conversation-relationship {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;

  min-height: 42px;
}

.conversation-person {
  font-size: 19px;
  line-height: 1.3;
}

.selected-person {
  font-weight: 500;
}

.other-person {
  font-weight: 400;
}

.conversation-arrow {
  flex: 0 0 auto;
  color: var(--explorer-muted);
  font-size: 23px;
  line-height: 1;
}

.conversation-reference {
  margin: 16px 0 0;
  text-align: center;
  color: var(--explorer-muted);
  font-size: 13px;
  letter-spacing: 0.2px;
}

/* --------------------------------------------------------------------------
   External links
   -------------------------------------------------------------------------- */

.conversation-links {
  display: flex;
  justify-content: center;
  gap: 10px;

  margin-top: 24px;
}

.conversation-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 36px;
  padding: 0 16px;

  border: 1px solid var(--explorer-border);
  border-radius: 18px;

  color: var(--explorer-link);
  background: #fff;

  font-size: 13px;
  text-decoration: none;

  transition:
    border-color 0.15s ease,
    background 0.15s ease;
}

.conversation-link:hover {
  border-color: var(--explorer-border-hover);
  background: #fafcf8;
  text-decoration: none;
}

.conversation-link:focus {
  outline: none;
  border-color: var(--explorer-border-hover);
  box-shadow: 0 0 0 2px rgba(111, 149, 107, 0.14);
}

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */

.explorer-about {
  margin-top: 90px;
  padding-top: 32px;
  border-top: 1px solid var(--explorer-border);
  color: var(--explorer-muted);
  font-size: 13px;
  line-height: 1.7;
}

.explorer-about h2 {
  margin: 0 0 18px;
  color: var(--explorer-text);
  font-size: 16px;
  font-weight: 500;
}

.explorer-about p {
  margin: 0 0 12px;
}

.explorer-about p:last-child {
  margin-bottom: 0;
}

.explorer-about strong {
  color: var(--explorer-text);
  font-weight: 500;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 600px) {
  .explorer {
    padding: 52px 18px 70px;
  }

  .explorer-question {
    font-size: 34px;
    letter-spacing: -1px;
  }

  #participant-select {
    height: 54px;
    padding-left: 18px;
  }

  .conversation-card {
    padding: 24px 18px 22px;
  }

  .conversation-relationship {
    flex-wrap: wrap;
    gap: 8px 10px;
  }

  .conversation-person {
    font-size: 17px;
    text-align: center;
  }

  .conversation-arrow {
    font-size: 20px;
  }

  .conversation-links {
    flex-direction: column;
    align-items: stretch;
  }

  .conversation-link {
    width: 100%;
    box-sizing: border-box;
  }

  .explorer-about {
    margin-top: 64px;
  }
}