/*
 * El Paso: who is asking. Every class is prefixed elp-.
 * Adobe sand for reading, desert-dusk blue for the hero and offers, a terracotta
 * accent for the person on the other end, turquoise for the reply that works.
 */
.elp-page {
  --elp-sand: #f4ebdc;
  --elp-sheet: #fffaf0;
  --elp-ink: #231d18;
  --elp-soft: #4a3f36;
  --elp-muted: #6b5d50;
  --elp-rule: #dccfb9;
  --elp-dusk: #1b2742;
  --elp-dusk-2: #263659;
  --elp-clay: #b5532f;
  --elp-clay-deep: #8c3b1c;
  --elp-clay-wash: #f3d9cb;
  --elp-turq: #1e8a87;
  --elp-turq-deep: #126462;
  --elp-turq-wash: #d5ece9;
  --elp-sun: #e6ab3a;
  --elp-on-dusk: #f3efe6;
  --elp-on-dusk-soft: #b9c2d6;
  background: var(--elp-sand);
  color: var(--elp-ink);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: clip;
}
.elp-page *, .elp-page *::before, .elp-page *::after { box-sizing: border-box; }
.elp-page ::selection { background: var(--elp-sun); color: var(--elp-ink); }
.elp-page a:focus-visible, .elp-page input:focus-visible + label, .elp-page .elp-pick:focus-visible ~ .elp-senders { outline: 3px solid var(--elp-sun); outline-offset: 3px; }
.elp-shell { width: min(1120px, 100% - 32px); margin-inline: auto; }
.elp-kicker { font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; color: var(--elp-clay-deep); margin: 0 0 12px; }
.elp-page h2 { font-family: var(--font-display, Georgia, serif); font-size: clamp(1.7rem, 3.6vw, 2.5rem); line-height: 1.12; margin: 0 0 18px; letter-spacing: -0.01em; }
.elp-page h3 { font-size: 1.08rem; line-height: 1.3; margin: 0 0 8px; }
.elp-page p { margin: 0 0 14px; }

/* Hero */
.elp-hero { background: radial-gradient(1200px 520px at 85% -10%, #3a4b78 0%, transparent 60%), linear-gradient(180deg, var(--elp-dusk) 0%, #162038 100%); color: var(--elp-on-dusk); padding: clamp(64px, 9vw, 112px) 0 clamp(40px, 6vw, 72px); border-bottom: 6px solid var(--elp-clay); }
.elp-folio { font-size: 0.8rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--elp-sun); font-weight: 700; margin-bottom: 20px; }
.elp-folio span { color: var(--elp-on-dusk-soft); margin-left: 12px; font-weight: 500; }
.elp-hero h1 { font-family: var(--font-display, Georgia, serif); font-size: clamp(2.5rem, 7vw, 4.8rem); line-height: 1.02; margin: 0 0 22px; letter-spacing: -0.02em; max-width: 14ch; }
.elp-hero h1 small { display: block; font-family: var(--font-sans); font-size: 0.95rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--elp-on-dusk-soft); margin-bottom: 14px; max-width: none; }
.elp-lead { max-width: 62ch; font-size: 1.12rem; color: var(--elp-on-dusk); }
.elp-hero .ns-trustline { margin: 8px 0 30px; }

.elp-inbox { display: grid; grid-template-columns: 300px 1fr; gap: 0; background: var(--elp-sheet); color: var(--elp-ink); border-radius: 14px; overflow: hidden; box-shadow: 0 24px 60px rgba(0,0,0,0.38); }
.elp-pick { position: absolute; opacity: 0; pointer-events: none; }
.elp-inbox-head { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; background: #ebdfca; border-bottom: 1px solid var(--elp-rule); font-size: 0.85rem; }
.elp-inbox-head b { font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; }
.elp-inbox-head span { color: var(--elp-muted); }
.elp-senders { list-style: none; margin: 0; padding: 0; border-right: 1px solid var(--elp-rule); background: #f7efe0; }
.elp-senders li { border-bottom: 1px solid var(--elp-rule); }
.elp-senders label { display: block; padding: 16px 18px; cursor: pointer; font-weight: 600; line-height: 1.35; border-left: 5px solid transparent; transition: background 0.15s ease; }
.elp-senders label:hover { background: #efe3cc; }
.elp-stage { padding: 24px 28px; min-height: 340px; }
.elp-pane { display: none; }
#elp-family:checked ~ .elp-stage .elp-pane-family,
#elp-buyer:checked ~ .elp-stage .elp-pane-buyer,
#elp-patient:checked ~ .elp-stage .elp-pane-patient,
#elp-owner:checked ~ .elp-stage .elp-pane-owner { display: block; animation: elp-in 0.25s ease; }
#elp-family:checked ~ .elp-senders label[for="elp-family"],
#elp-buyer:checked ~ .elp-senders label[for="elp-buyer"],
#elp-patient:checked ~ .elp-senders label[for="elp-patient"],
#elp-owner:checked ~ .elp-senders label[for="elp-owner"] { background: var(--elp-clay-wash); border-left-color: var(--elp-clay); color: var(--elp-clay-deep); }
@keyframes elp-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.elp-wrote { background: var(--elp-clay-wash); border-radius: 10px 10px 10px 2px; padding: 14px 16px; font-size: 1.04rem; color: var(--elp-ink); }
.elp-wrote span, .elp-reply span { display: block; font-size: 0.7rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 700; margin-bottom: 4px; }
.elp-wrote span { color: var(--elp-clay-deep); }
.elp-pane dl { margin: 16px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.elp-pane dt { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; font-weight: 700; color: var(--elp-muted); }
.elp-pane dd { margin: 4px 0 0; color: var(--elp-soft); font-size: 0.95rem; }
.elp-reply { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.elp-reply p { background: var(--elp-turq-wash); border-radius: 10px 10px 2px 10px; padding: 12px 14px; font-size: 0.97rem; margin: 0; color: #0d3d3b; }
.elp-reply span { color: var(--elp-turq-deep); }
.elp-note { margin: 14px 0 0; font-size: 0.86rem; color: var(--elp-on-dusk-soft); }
.elp-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.elp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--elp-sun); color: #2a1f08 !important; font-weight: 700; text-decoration: none; }
.elp-btn:hover { background: #f0bd58; }
.elp-btn-ghost { background: transparent; color: var(--elp-on-dusk) !important; box-shadow: inset 0 0 0 2px var(--elp-on-dusk-soft); }
.elp-btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* Readings */
.elp-readings { padding: clamp(56px, 8vw, 96px) 0; }
.elp-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0 18px; }
.elp-card { background: var(--elp-sheet); border: 1px solid var(--elp-rule); border-top: 5px solid var(--elp-clay); border-radius: 8px; padding: 20px; }
.elp-card:nth-child(even) { border-top-color: var(--elp-turq); }
.elp-card b { display: block; font-family: var(--font-display, Georgia, serif); font-size: clamp(1.7rem, 3vw, 2.2rem); line-height: 1.05; color: var(--elp-dusk); margin-bottom: 4px; }
.elp-card h3 { font-size: 0.92rem; color: var(--elp-muted); font-weight: 600; }
.elp-card p { font-size: 0.93rem; color: var(--elp-soft); }
.elp-so { border-top: 1px dashed var(--elp-rule); padding-top: 10px; margin-top: 12px; color: var(--elp-ink) !important; }
.elp-src, .elp-two a, .elp-offers aside a { color: var(--elp-clay-deep); }
.elp-src { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; font-size: 0.9rem; }

/* Language */
.elp-language { background: var(--elp-sheet); border-block: 1px solid var(--elp-rule); padding: clamp(56px, 8vw, 96px) 0; }
.elp-split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.elp-contrast { background: var(--elp-sand); border: 1px solid var(--elp-rule); border-radius: 10px; padding: 18px; overflow-x: auto; }
.elp-contrast table { border-collapse: collapse; width: 100%; font-size: 0.92rem; }
.elp-contrast th, .elp-contrast td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--elp-rule); vertical-align: top; }
.elp-contrast thead th { font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--elp-muted); }
.elp-contrast tbody th { font-weight: 700; color: var(--elp-dusk); white-space: nowrap; }
.elp-contrast td:last-child { color: var(--elp-turq-deep); font-weight: 600; }

/* Buyers */
.elp-buyers { padding: clamp(56px, 8vw, 96px) 0; }
.elp-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 24px; }
.elp-two section { background: var(--elp-dusk); color: var(--elp-on-dusk); border-radius: 12px; padding: clamp(22px, 3vw, 34px); }
.elp-two section:nth-child(2) { background: var(--elp-clay-deep); }
.elp-two h3 { font-family: var(--font-display, Georgia, serif); font-size: 1.35rem; }
.elp-two ul { margin: 0 0 16px; padding-left: 20px; }
.elp-two li { margin-bottom: 4px; }
.elp-two a { color: var(--elp-sun); font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }

/* Offers */
.elp-offers { background: var(--elp-dusk); color: var(--elp-on-dusk); padding: clamp(56px, 8vw, 96px) 0; }
.elp-offers .elp-shell { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.elp-offers .elp-kicker { color: var(--elp-sun); }
.elp-offers aside { background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14); border-radius: 12px; padding: 20px; display: grid; gap: 4px; }
.elp-offers aside a { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.12); color: var(--elp-on-dusk); text-decoration: none; }
.elp-offers aside a b { color: var(--elp-sun); text-align: right; font-weight: 600; font-size: 0.9rem; }
.elp-offers aside small { color: var(--elp-on-dusk-soft); margin-top: 8px; }

/* FAQ */
.elp-faq { padding: clamp(56px, 8vw, 96px) 0; }
.elp-faq .elp-shell > div { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 36px; }
.elp-faq section { border-top: 3px solid var(--elp-clay); padding-top: 12px; }
.elp-faq p { color: var(--elp-soft); }

/* Footer */
.elp-foot { background: #161d33; color: var(--elp-on-dusk-soft); padding: 28px 0 36px; font-size: 0.92rem; }
.elp-foot .elp-shell { display: grid; gap: 12px; }
.elp-foot nav { display: flex; flex-wrap: wrap; gap: 6px 10px; }
.elp-foot a { color: var(--elp-on-dusk); }
.elp-foot p { margin: 0; }

@media (max-width: 900px) {
  .elp-inbox { grid-template-columns: 1fr; }
  .elp-senders { display: grid; grid-template-columns: 1fr 1fr; border-right: 0; border-bottom: 1px solid var(--elp-rule); }
  .elp-senders li:nth-child(odd) { border-right: 1px solid var(--elp-rule); }
  .elp-senders label { padding: 12px 12px; font-size: 0.9rem; border-left: 0; border-bottom: 4px solid transparent; }
  #elp-family:checked ~ .elp-senders label[for="elp-family"],
  #elp-buyer:checked ~ .elp-senders label[for="elp-buyer"],
  #elp-patient:checked ~ .elp-senders label[for="elp-patient"],
  #elp-owner:checked ~ .elp-senders label[for="elp-owner"] { border-left: 0; border-bottom-color: var(--elp-clay); }
  .elp-stage { padding: 18px 16px; min-height: 0; }
  .elp-pane dl, .elp-reply { grid-template-columns: 1fr; }
  .elp-cards { grid-template-columns: 1fr 1fr; }
  .elp-split, .elp-two, .elp-offers .elp-shell, .elp-faq .elp-shell > div { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .elp-cards { grid-template-columns: 1fr; }
  .elp-hero h1 { max-width: none; }
}
@media (prefers-reduced-motion: reduce) { .elp-pane { animation: none !important; } }
