/* ── Farnham Voice landing page styles ─────────────────────────────────────
   These only apply to the homepage (layouts/index.html).
   All Hugo Book interior pages are unaffected.
   ────────────────────────────────────────────────────────────────────────── */

/* Tokens */
:root {
  --lp-bg:       #fff9f5;
  --lp-ink:      #000b3d;
  --lp-mid:      #3b4a7a;
  --lp-muted:    #6b7280;
  --lp-rule:     #e6e0d8;
  --lp-accent:   #1a4fd6;
  --lp-ink-rgb:  0, 11, 61;
}

/* Reset for landing page */
.landing-page * { box-sizing: border-box; margin: 0; padding: 0; }

.landing-page {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  background: var(--lp-bg);
  color: var(--lp-ink);
  line-height: 1.7;
  font-size: 16px;
}

/* ── Container ── */
.lp-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ── Header ── */
.lp-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--lp-bg);
  border-bottom: 1px solid var(--lp-rule);
}

.lp-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.lp-logo {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--lp-ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.lp-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.lp-nav a {
  font-size: 0.875rem;
  color: var(--lp-mid);
  text-decoration: none;
  transition: color 0.15s;
}

.lp-nav a:hover { color: var(--lp-ink); }

.lp-nav-cta {
  background: var(--lp-ink) !important;
  color: var(--lp-bg) !important;
  padding: 0.4rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.82rem !important;
}

.lp-nav-cta:hover { background: var(--lp-accent) !important; }

/* ── Hero ── */
.lp-hero {
  padding: 6rem 0 5rem;
  border-bottom: 1px solid var(--lp-rule);
}

.lp-hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 4rem;
  align-items: center;
}

/* Info card */
.lp-info-card {
  border: 1px solid var(--lp-rule);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  background: #fff;
}

.lp-info-row {
  padding-bottom: 1.25rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--lp-rule);
}

.lp-info-row:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.lp-info-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lp-accent);
  display: block;
  margin-bottom: 0.3rem;
}

.lp-info-value {
  font-size: 1rem;
  font-weight: 600;
  color: var(--lp-ink);
  line-height: 1.3;
  margin-bottom: 0.2rem;
}

.lp-info-desc {
  font-size: 0.78rem;
  color: var(--lp-mid);
  line-height: 1.5;
}

@media (max-width: 720px) {
  .lp-hero-grid {
    grid-template-columns: 1fr;
  }
  .lp-info-card {
    display: none;
  }
}

.lp-eyebrow {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-accent);
  background: #e8effe;
  padding: 0.28rem 0.85rem;
  border-radius: 99px;
  margin-bottom: 1.5rem;
}

.lp-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--lp-ink);
  letter-spacing: -0.01em;
  max-width: 640px;
  margin-bottom: 1.25rem;
}

.lp-lead {
  font-size: 1.05rem;
  color: var(--lp-mid);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.lp-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

/* ── Buttons ── */
.lp-btn {
  display: inline-block;
  text-decoration: none;
  padding: 0.65rem 1.4rem;
  border-radius: 5px;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.15s;
  cursor: pointer;
}

.lp-btn-primary {
  background: var(--lp-ink);
  color: var(--lp-bg);
}

.lp-btn-primary:hover { background: var(--lp-accent); }

.lp-btn-secondary {
  color: var(--lp-mid);
  border: 1px solid var(--lp-rule);
  background: transparent;
}

.lp-btn-secondary:hover { border-color: var(--lp-mid); color: var(--lp-ink); }

/* ── Sections ── */
.lp-section {
  padding: 5rem 0;
  border-bottom: 1px solid var(--lp-rule);
}

.lp-section-alt {
  background: #f7f5f2;
}

.lp-section-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lp-accent);
  margin-bottom: 0.6rem;
}

.lp-section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--lp-ink);
  margin-bottom: 0.75rem;
}

.lp-section-lead {
  font-size: 1rem;
  color: var(--lp-mid);
  max-width: 520px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

/* ── Steps ── */
.lp-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.lp-step {
  border-top: 1px solid var(--lp-rule);
  padding-top: 1.1rem;
}

.lp-step-num {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 2.2rem;
  font-weight: 400;
  color: var(--lp-rule);
  line-height: 1;
  display: block;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.lp-step h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lp-ink);
  margin-bottom: 0.35rem;
}

.lp-step p {
  font-size: 0.875rem;
  color: var(--lp-mid);
  line-height: 1.65;
}

/* ── Section split header ── */
.lp-split-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.lp-split-header h2 { margin-bottom: 0; }

/* ── Survey tiles ── */
.lp-survey-tiles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
}

.lp-survey-tile {
  border: 1px solid var(--lp-rule);
  border-radius: 10px;
  padding: 1.75rem;
  background: #fff;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.lp-survey-tile h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--lp-ink);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.lp-survey-tile p {
  font-size: 0.875rem;
  color: var(--lp-mid);
  line-height: 1.65;
  flex: 1;
}

.lp-survey-tile-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.75rem;
  padding-top: 1rem;
  border-top: 1px solid var(--lp-rule);
}

.lp-survey-closes {
  font-size: 0.75rem;
  color: var(--lp-muted);
}

/* ── Survey placeholder ── */
.lp-survey-placeholder {
  border: 1px dashed var(--lp-rule);
  border-radius: 8px;
  padding: 2.5rem;
  text-align: center;
}

.lp-survey-placeholder p {
  font-size: 0.925rem;
  color: var(--lp-muted);
  max-width: none;
  margin-bottom: 0.25rem;
}

/* ── Link ── */
.lp-link {
  font-size: 0.875rem;
  color: var(--lp-accent);
  text-decoration: none;
  font-weight: 500;
}

.lp-link:hover { text-decoration: underline; }

/* ── CTA section ── */
.lp-cta {
  background: var(--lp-bg);
  border-top: 1px solid var(--lp-rule);
  padding: 5rem 0;
  text-align: center;
}

.lp-cta .lp-actions {
  justify-content: center;
}

.lp-cta h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 600;
  color: var(--lp-ink);
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.lp-cta p {
  font-size: 1rem;
  color: var(--lp-mid);
  max-width: 440px;
  margin: 0 auto 2rem;
  line-height: 1.75;
}

/* ── Footer ── */
.lp-footer {
  background: #0a0e26;
  padding: 3rem 0;
  color: rgba(255,255,255,0.5);
}

.lp-footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.lp-footer .lp-logo {
  color: rgba(255,255,255,0.8);
  display: block;
  margin-bottom: 0.4rem;
}

.lp-footer p {
  font-size: 0.8rem;
  max-width: none;
}

.lp-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.3rem 2rem;
}

.lp-footer-nav a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

.lp-footer-nav a:hover { color: #fff; }

.lp-footer-contact a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
}

.lp-footer-contact a:hover { color: #fff; }

/* ── Responsive ── */
@media (max-width: 900px) {
  .lp-steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .lp-nav { gap: 1rem; }
  .lp-nav a:not(.lp-nav-cta) { display: none; }
  .lp-hero { padding: 3.5rem 0 3rem; }
  .lp-steps { grid-template-columns: 1fr; }
  .lp-split-header { flex-direction: column; align-items: flex-start; gap: 0.5rem; }
  .lp-footer-inner { grid-template-columns: 1fr; }
  .lp-footer-nav { grid-template-columns: 1fr; }
}
