/* find.css — the /find/<slug> content pages. Sits on the landing page's
   design system (landing.css, loaded first): same `.lp` shell, topbar and
   logo, same Gabarito type and fixed brand hexes that stay intact in dark
   mode. This file only layers the generated-guide article on top. */

.lp.find {
  --find-wash: #f7f2e9;
  --find-ink: #241f19;
  --find-mute: #6b5d48;
  --find-ink-2: #5d5345;
  --find-accent: #c2603e;
}

/* ── Article ── */
.find-article {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 24px 0;
}

/* The generated page hero: the deterministic brand SVG (cream paper, ink,
   coral accent) that doubles as this page's og:image. Inline artwork scales
   with the viewport; capped at 1200×630 so it never enlarges past intent. */
.find-hero {
  margin: 4px 0 24px;
  overflow: hidden;
  border-radius: 20px;
  background: #f7f2e9;
}
.find-hero svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: 1200px;
}
.find-hero + .lp-kicker {
  display: block;
  margin-bottom: 10px;
}

.find-title {
  font-weight: 800;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--find-ink);
  margin: 0 0 14px;
}

.find-intro {
  font-size: 17px;
  line-height: 1.6;
  color: var(--find-mute);
  margin: 0 0 34px;
}

/* ── Byline: author, date, share (+ admin regenerate) ── */
.find-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--find-mute);
  margin: 0 0 22px;
}

.find-byline-author {
  font-weight: 600;
  color: var(--find-ink);
}

.find-dot {
  color: var(--find-accent);
  font-weight: 700;
}

.find-byline-date {
  font-variant-numeric: tabular-nums;
}

.find-share,
.find-regenerate {
  font: inherit;
  font-size: 13px;
  padding: 5px 12px;
  border-radius: 999px;
  cursor: pointer;
  background: transparent;
  border: 1px solid var(--find-mute);
  color: var(--find-mute);
  transition: color 0.15s, border-color 0.15s, background 0.15s;
}

.find-share:hover,
.find-share:focus-visible {
  color: var(--find-ink);
  border-color: var(--find-ink);
}

.find-regenerate {
  border-color: var(--find-accent);
  color: var(--find-accent);
}

.find-regenerate:hover,
.find-regenerate:focus-visible {
  background: var(--find-accent);
  color: #fff;
}

.find-share:disabled,
.find-regenerate:disabled {
  opacity: 0.6;
  cursor: default;
}

/* ── Generated sections ── */
.find-sections {
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding-bottom: 8px;
}

.find-sec-head {
  font-weight: 800;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--find-ink);
  margin: 0 0 12px;
}

.find-sec-body p {
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--find-ink-2);
  margin: 0 0 14px;
}

.find-sec-body p:last-child {
  margin-bottom: 0;
}

/* ── FAQ (reuses the landing .lp-faq-item cards) ── */
.find-faq {
  max-width: 680px;
  margin: 48px auto 8px;
  padding: 0;
}

.find-faq h2.lp-seo-head {
  margin-bottom: 18px;
}

/* ── CTA ── */
.find-cta {
  max-width: 680px;
  margin: 40px auto 24px;
  padding: 8px 24px;
  text-align: center;
}

.find-cta-title {
  font-weight: 800;
  font-size: clamp(24px, 3.4vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--find-ink);
  margin: 0 0 12px;
}

.find-cta-body {
  font-size: 16px;
  line-height: 1.6;
  color: var(--find-mute);
  margin: 0 auto 22px;
  max-width: 560px;
}

.find-cta-btn {
  font-size: 15.5px;
  padding: 14px 26px;
}

.find-cta-note {
  font-size: 13px;
  line-height: 1.6;
  color: var(--find-mute);
  margin: 16px auto 0;
  max-width: 520px;
}

/* ── Missing ── */
.find-missing {
  text-align: center;
  padding: clamp(48px, 10vh, 96px) 24px;
}

.find-missing .find-title {
  margin-bottom: 12px;
}

.find-missing .find-intro {
  margin-bottom: 24px;
}

/* ── Scroll reveal on generated sections ── */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

[data-reveal].is-revealed {
  opacity: 1;
  transform: none;
}

/* Keep content readable if JS is off or IO isn't supported: the island adds
   .is-revealed immediately in those cases, but also never hide for people
   who prefer reduced motion. */
@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
@media (max-width: 1024px) {
  .find-article { padding-top: 0; }
}

@media (max-width: 760px) {
  .find-article { padding: 0 16px; }
  .find-cta { padding: 8px 16px; }
  .find-sec-head { font-size: 21px; }
}