/* ============================================
   Water LLM — Landing pages
   /guides, /for/*, /compare/* and the briefing example on /.
   Loaded after global.css; uses its variables.
   ============================================ */

/* --- Hero: the question, then the short answer --- */
.wl-lp-hero {
  padding: 72px 24px 64px;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(0,212,255,0.08), transparent 55%),
    radial-gradient(ellipse at 0% 100%, rgba(124,92,252,0.08), transparent 55%),
    var(--white);
}

.wl-lp-hero__inner {
  max-width: 820px;
  margin: 0 auto;
}

.wl-lp-crumb {
  font-size: 0.82rem;
  color: var(--gray-500);
  margin-bottom: 20px;
}

.wl-lp-crumb a { color: var(--gray-500); text-decoration: underline; text-underline-offset: 3px; }
.wl-lp-crumb a:hover { color: var(--purple); }

.wl-lp-eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--purple);
  margin-bottom: 14px;
}

.wl-lp-hero .wl-h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }

.wl-lp-answer {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 4px solid var(--purple);
  background: var(--gray-100);
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 1.08rem;
  line-height: 1.7;
  color: var(--gray-700);
}

.wl-lp-answer strong { color: var(--gray-900); }

.wl-lp-answer__label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 6px;
}

.wl-lp-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 32px;
}

.wl-lp-note {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 14px;
}

/* --- Sections --- */
.wl-lp-section { padding: 80px 24px; }
.wl-lp-section--tint { background: var(--gray-100); }

.wl-lp-narrow { max-width: 820px; margin: 0 auto; }

.wl-lp-section .wl-h2 { font-size: clamp(1.6rem, 3.2vw, 2.2rem); }

.wl-lp-lede {
  margin-top: 14px;
  font-size: 1.05rem;
  color: var(--gray-500);
  line-height: 1.7;
}

.wl-lp-prose p {
  margin-top: 16px;
  color: var(--gray-700);
  line-height: 1.75;
}

.wl-lp-prose ul {
  margin: 16px 0 0 1.2em;
  color: var(--gray-700);
  line-height: 1.75;
}

.wl-lp-prose li + li { margin-top: 6px; }
.wl-lp-prose a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

/* --- Point cards: one claim, one paragraph, one link to read more --- */
.wl-lp-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.wl-lp-point {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
}

.wl-lp-section--tint .wl-lp-point { border-color: transparent; box-shadow: var(--shadow-sm); }

.wl-lp-point h3 {
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}

.wl-lp-point p {
  margin-top: 10px;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.65;
  flex: 1;
}

.wl-lp-point__more {
  margin-top: 16px;
  font-size: 0.88rem;
  font-weight: 600;
}

.wl-page a.wl-lp-point__more,
.wl-lp-point__more a { color: var(--purple); }

/* --- Comparison table --- */
.wl-lp-table-wrap {
  margin-top: 36px;
  overflow-x: auto;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  background: var(--white);
}

.wl-lp-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 560px;
}

.wl-lp-table th,
.wl-lp-table td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--gray-100);
  vertical-align: top;
  line-height: 1.55;
}

.wl-lp-table thead th {
  background: var(--gray-100);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--gray-900);
}

.wl-lp-table tbody th { font-weight: 600; color: var(--gray-900); width: 26%; }
.wl-lp-table td { color: var(--gray-700); }
.wl-lp-table tr:last-child th,
.wl-lp-table tr:last-child td { border-bottom: none; }

.wl-lp-table__us { background: rgba(124,92,252,0.04); }

.wl-lp-source {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--gray-500);
}

.wl-lp-source a { color: var(--gray-500); text-decoration: underline; }

/* --- "Choose X if…" pair --- */
.wl-lp-choose {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.wl-lp-choose > div {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius);
  padding: 26px;
}

.wl-lp-choose > div.wl-lp-choose__us { border: 2px solid var(--purple); }

.wl-lp-choose h3 { font-size: 1.05rem; font-weight: 700; }

.wl-lp-choose ul {
  margin: 12px 0 0 1.1em;
  color: var(--gray-700);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- FAQ --- */
.wl-lp-faq { margin-top: 32px; }

.wl-lp-faq details {
  border-bottom: 1px solid var(--gray-300);
  padding: 18px 0;
}

.wl-lp-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.wl-lp-faq summary::-webkit-details-marker { display: none; }
.wl-lp-faq summary::after { content: "+"; color: var(--purple); font-weight: 700; }
.wl-lp-faq details[open] summary::after { content: "\2212"; }

.wl-lp-faq details p {
  margin-top: 10px;
  color: var(--gray-700);
  line-height: 1.7;
}

.wl-lp-faq details a { color: var(--purple); text-decoration: underline; text-underline-offset: 3px; }

/* --- Read-more link list --- */
.wl-lp-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.wl-page a.wl-lp-link {
  display: block;
  padding: 16px 18px;
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--gray-900);
  transition: border-color var(--transition), transform var(--transition);
}

.wl-page a.wl-lp-link:hover { border-color: var(--purple); transform: translateY(-2px); }

.wl-lp-link strong { display: block; font-size: 0.95rem; }
.wl-lp-link span { display: block; margin-top: 4px; font-size: 0.84rem; color: var(--gray-500); line-height: 1.5; }

/* --- Closing CTA band --- */
.wl-lp-cta {
  padding: 72px 24px;
  background: var(--gradient);
  color: var(--white);
  text-align: center;
}

.wl-lp-cta .wl-h2 { color: var(--white); }

.wl-lp-cta p {
  margin: 14px auto 0;
  max-width: 560px;
  color: rgba(255,255,255,0.88);
  line-height: 1.65;
}

.wl-lp-cta .wl-lp-cta-row { justify-content: center; }

/* The light/outline pair is defined per page elsewhere; landing pages share this copy. */
.wl-lp-cta .wl-btn-cta-light,
.wl-lp-cta .wl-btn-cta-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 36px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition);
}

.wl-lp-cta .wl-btn-cta-light {
  background: var(--white);
  border: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.wl-lp-cta .wl-btn-cta-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.6);
}

.wl-lp-cta .wl-btn-cta-light:hover,
.wl-lp-cta .wl-btn-cta-outline:hover { transform: translateY(-2px); }

/* --- Guides hub --- */
.wl-lp-hub-group + .wl-lp-hub-group { margin-top: 56px; }

.wl-lp-hub-group h2 {
  font-size: 1.3rem;
  font-weight: 700;
}

.wl-lp-hub-group > p { margin-top: 6px; color: var(--gray-500); }

/* ============================================
   Daily Briefing example — an email, drawn in HTML
   ============================================ */
.wl-brief {
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  text-align: left;
  font-size: 0.9rem;
  color: var(--gray-700);
  max-width: 640px;
  margin: 0 auto;
}

.wl-brief__chrome {
  padding: 14px 20px;
  border-bottom: 1px solid var(--gray-300);
  background: var(--gray-100);
  font-size: 0.8rem;
  line-height: 1.6;
}

.wl-brief__chrome b { color: var(--gray-900); font-weight: 600; }
.wl-brief__chrome span { color: var(--gray-500); }

.wl-brief__body { padding: 22px 20px 24px; }

.wl-brief__verdict {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gray-900);
  line-height: 1.45;
}

.wl-brief__sub { margin-top: 4px; font-size: 0.82rem; color: var(--gray-500); }

.wl-brief__label {
  margin: 22px 0 10px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-500);
}

.wl-brief__card {
  border: 1px solid var(--gray-300);
  border-radius: 10px;
  padding: 14px 16px;
}

.wl-brief__card + .wl-brief__card { margin-top: 10px; }

.wl-brief__card-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  font-weight: 700;
  color: var(--gray-900);
}

.wl-brief__card-why { margin-top: 2px; font-size: 0.8rem; color: var(--gray-500); }

.wl-brief__person {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 0 0;
  margin-top: 10px;
  border-top: 1px solid var(--gray-100);
}

.wl-brief__person-name { color: var(--gray-900); font-weight: 600; }
.wl-brief__person-meta { display: block; font-size: 0.8rem; color: var(--gray-500); font-weight: 400; }

.wl-brief__btns { display: flex; gap: 6px; flex-wrap: wrap; }

.wl-brief__btn {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--gray-300);
  border-radius: 6px;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--gray-700);
  background: var(--white);
  white-space: nowrap;
}

.wl-brief__btn--primary {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

.wl-brief__time {
  font-variant-numeric: tabular-nums;
  color: var(--purple);
  font-weight: 700;
  white-space: nowrap;
}

.wl-brief__attendee {
  margin-top: 12px;
  padding: 12px 14px;
  background: var(--gray-100);
  border-radius: 8px;
}

.wl-brief__attendee dl { margin-top: 6px; font-size: 0.84rem; line-height: 1.55; }
.wl-brief__attendee dt { display: inline; font-weight: 600; color: var(--gray-900); }
.wl-brief__attendee dd { display: inline; margin: 0; }
.wl-brief__attendee dd::after { content: ""; display: block; margin-bottom: 4px; }

.wl-brief__attendee .wl-brief__btns { margin-top: 8px; }

.wl-brief__foot {
  padding: 12px 20px;
  border-top: 1px solid var(--gray-300);
  background: var(--gray-100);
  font-size: 0.74rem;
  color: var(--gray-500);
}

.wl-brief-caption {
  max-width: 640px;
  margin: 14px auto 0;
  font-size: 0.82rem;
  color: var(--gray-500);
  text-align: center;
}

/* Side-by-side: explanation left, briefing right */
.wl-lp-split {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: start;
}

/* --- Responsive --- */
@media (max-width: 860px) {
  .wl-lp-points,
  .wl-lp-choose,
  .wl-lp-split { grid-template-columns: 1fr; }
  .wl-lp-links { grid-template-columns: 1fr 1fr; }
  .wl-lp-split { gap: 36px; }
}

@media (max-width: 600px) {
  /* Comparison tables stack: one block per row, each cell labelled. */
  .wl-lp-table { min-width: 0; }
  .wl-lp-table thead { display: none; }
  .wl-lp-table tr { display: block; border-bottom: 1px solid var(--gray-300); padding: 6px 0; }
  .wl-lp-table tr:last-child { border-bottom: none; }
  .wl-lp-table tbody th,
  .wl-lp-table td { display: block; width: auto; border: none; padding: 6px 16px; }
  .wl-lp-table tbody th { padding-top: 12px; }
  .wl-lp-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--gray-500);
  }
  .wl-lp-table__us { background: none; }
}

@media (max-width: 480px) {
  .wl-lp-hero { padding: 48px 20px 44px; }
  .wl-lp-section { padding: 56px 20px; }
  .wl-lp-links { grid-template-columns: 1fr; }
  .wl-brief__body { padding: 18px 14px 20px; }
  .wl-brief__chrome, .wl-brief__foot { padding-left: 14px; padding-right: 14px; }
  .wl-lp-cta-row .wl-btn { width: 100%; justify-content: center; }
}
