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

body {
  background: #000;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100dvh;
}

.encounter-shell {
  width: 100%;
  max-width: 420px;
  min-height: 100dvh;
  background: #111;
  display: flex;
  flex-direction: column;
  padding-bottom: 3.5rem;
}

.visual-block {
  display: block;
  width: 100%;
  height: auto;
  max-height: 35dvh;
  object-fit: contain;
  background: #2a2a2a;
}

.encounter-copy {
  padding: 1.25rem 2rem 0;
}

.primary-copy {
  font-size: 2rem;
  font-weight: 600;
  color: #f0ede8;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  text-align: center;
}

.supporting-copy {
  padding: 0 2rem 0.75rem;
  text-align: center;
}

.supporting-copy p {
  font-size: 1.15rem;
  line-height: 1.6;
  color: #f0ede8;
}

.supporting-copy p + p {
  margin-top: 0.5rem;
}

.encounter-ask {
  padding: 1rem 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.encounter-ask-input {
  width: 100%;
  padding: 1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  background: #2a2a2a;
  color: #f0ede8;
  border: 1px solid #888;
  resize: vertical;
  min-height: 6rem;
}

.encounter-ask-input::placeholder {
  color: #888;
}

.encounter-ask-submit {
  display: block;
  width: 100%;
  padding: 1rem;
  background: #f0ede8;
  color: #111;
  border: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  cursor: pointer;
}

.encounter-ask-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.encounter-example-cta {
  display: block;
  margin: 0.75rem 2rem 0;
  padding: 1rem;
  text-align: center;
  border: 1px solid #888;
  color: #f0ede8;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.encounter-response {
  padding: 1.5rem 2rem 0;
}

.substrate-response {
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid #2a2a2a;
}

.response-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.75rem;
}

.response-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #f0ede8;
}

.encounter-message {
  margin: 1.25rem 2rem 0;
  font-size: 0.95rem;
  color: #f0ede8;
  line-height: 1.6;
  white-space: pre-line;
}

.encounter-mock {
  margin: 1rem 2rem 0;
  font-size: 0.75rem;
  color: #888;
  letter-spacing: 0.3px;
}

.hidden {
  display: none;
}

/* Receipt page */

.receipt-voice {
  padding: 1.5rem 2rem 0;
}

.receipt-voice--substrate {
  padding-top: 0.75rem;
}

.receipt-voice-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.75rem;
  text-align: center;
}

.receipt-voice-body {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #f0ede8;
}

.receipt-credential {
  padding: 1.25rem 2rem 0;
  text-align: center;
}

.receipt-credential-line {
  font-size: 0.85rem;
  font-weight: 600;
  color: #888;
  line-height: 1.6;
}

.receipt-rating-slot {
  margin: 1.5rem 2rem 0;
  padding: 0.875rem 1rem;
  border: 1px solid #2a2a2a;
  text-align: center;
}

.receipt-rating-prompt {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 0.5rem;
}

.receipt-rating-stars {
  font-size: 1.25rem;
  color: #2a2a2a;
  letter-spacing: 0.25rem;
}

.receipt-secondary-path {
  display: block;
  margin: 0.75rem 2rem 0;
  padding: 1rem;
  text-align: center;
  border: 1px solid #888;
  color: #f0ede8;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}

.receipt-follow-cta {
  display: block;
  margin: 1rem 2rem 0;
  padding: 1rem;
  text-align: center;
  background: #f0ede8;
  color: #111;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.receipt-closure {
  padding: 2rem 2rem 1rem;
  text-align: center;
}

.receipt-closure-primary {
  font-size: 1.15rem;
  font-weight: 600;
  color: #f0ede8;
  margin-bottom: 0.5rem;
}

.receipt-closure-secondary {
  font-size: 0.95rem;
  color: #888;
}

.asksun-hero-headline {
  font-size: 1.2rem;
  font-weight: 600;
  color: #f0ede8;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
  text-align: center;
}
