/* === LANDING-PAGE TEASER === */

.sample-teaser {
  padding: 8rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.sample-teaser-inner {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.sample-teaser-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: var(--fg);
  margin-bottom: 0.75rem;
}

.sample-teaser-sub {
  color: var(--fg-muted);
  font-size: 1rem;
  margin: 0 auto 0.5rem;
  max-width: 640px;
  line-height: 1.7;
}

/* === SAMPLES PAGE */

.sample-page { padding-top: 80px; }

.page-hero { padding: 5rem 2rem 4rem; border-bottom: 1px solid var(--border); }

.page-hero-inner { max-width: 1100px; margin: 0 auto; }

.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 1rem;
  line-height: 1.1;
}

.page-hero h1 em { font-style: italic; color: var(--accent); }

.page-hero p {
  font-size: 1.1rem;
  color: var(--fg-muted);
  max-width: 640px;
  line-height: 1.7;
}

/* === DOCUMENT CARD */

.sample-doc-section { padding: 5rem 2rem; }

.sample-doc-inner { max-width: 820px; margin: 0 auto; }

.sample-doc-section .section-eyebrow {
  margin-bottom: 1rem;
}

.sample-doc-section h2.section-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.sample-doc {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 3rem clamp(1.5rem, 4vw, 4rem);
  font-family: 'DM Sans', sans-serif;
  color: var(--fg);
}

.sample-doc h1,
.sample-doc h2 {
  font-family: 'Playfair Display', serif;
}

.sample-doc h1 {
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 700;
  color: var(--fg);
}

.sample-doc h2 {
  font-size: 1.1rem;
  margin: 2.25rem 0 0.75rem;
  color: var(--accent);
  font-weight: 700;
}

.sample-doc p,
.sample-doc li {
  color: var(--fg-muted);
  line-height: 1.75;
  margin-bottom: 0.85rem;
  font-size: 0.95rem;
}

.sample-doc ul {
  padding-left: 1.25rem;
  margin-bottom: 0.85rem;
}

.sample-doc .party-block {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin: 1.5rem 0 2.5rem;
  padding: 1.25rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

.sample-doc .party-block .party {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--fg-muted);
}

.sample-doc .party-block .party-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.4rem;
}

.sample-doc .party-block .party-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--fg);
  font-size: 1rem;
}

.sample-doc .sig-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.sample-doc .sig-block .sig-party .party-name {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--fg);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.sample-doc .sig-block .sig-line {
  border-bottom: 1px solid var(--border-strong);
  height: 2rem;
  margin-bottom: 0.4rem;
}

.sample-doc .sig-block .sig-meta {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-subtle);
}

/* === CLOSING CTA */

.sample-cta-section {
  padding: 6rem 2rem;
  text-align: center;
}

.sample-cta-inner { max-width: 640px; margin: 0 auto; }

.sample-cta-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  color: var(--fg);
  margin-bottom: 1rem;
}

.sample-cta-section .sample-disclaimer {
  font-size: 0.75rem;
  color: var(--fg-subtle);
  margin-top: 1.75rem;
  line-height: 1.6;
  font-style: italic;
}

/* === LANDING-PAGE TEASER PREVIEW */

.sample-doc-preview {
  position: relative;
  max-height: 320px;
  overflow: hidden;
  margin-top: 2.5rem;
}

.sample-doc-preview .sample-doc {
  /* Inherits .sample-doc via reuse; preview extends the wrapper. */
  margin: 0;
}

.sample-doc-preview::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 140px;
  background: linear-gradient(to bottom,
    rgba(13, 17, 23, 0) 0%,
    rgba(13, 17, 23, 0.85) 70%,
    var(--bg) 100%);
  pointer-events: none;
}

.sample-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.5rem;
  flex-wrap: wrap;
}

/* === RESPONSIVE */

@media (max-width: 768px) {
  .sample-page { padding-top: 70px; }
  .page-hero { padding: 4rem 1.5rem 3rem; }
  .sample-doc-section { padding: 4rem 1.5rem; }
  .sample-cta-section { padding: 4rem 1.5rem; }
  .sample-doc { padding: 2rem 1.5rem; }
  .sample-doc h1 { font-size: 1.25rem; }
  .sample-doc .party-block {
    flex-direction: column;
    gap: 1.25rem;
  }
  .sample-doc .sig-block {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}
