:root {
  --bg: #f2eee7;
  --paper: #fbf8f1;
  --surface: #efe4d2;
  --surface-strong: #dfd2bc;
  --ink: #1f1a17;
  --muted: #625b53;
  --line: rgba(31, 26, 23, 0.14);
  --accent: #7e4f63;
  --accent-soft: #eadbe2;
  --accent-deep: #593444;
  --radius: 24px;
  --shadow: 0 18px 50px rgba(37, 27, 16, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: linear-gradient(180deg, #f6f1ea 0%, #ece4d8 100%);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  padding: 28px 0 22px;
  border-bottom: 1px solid var(--line);
}

.brand-block {
  display: grid;
  gap: 4px;
}

.eyebrow,
.micro-label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--muted);
}

.brand {
  font-size: 1.35rem;
  text-decoration: none;
}

.topnav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: flex-end;
  padding-top: 4px;
}

.topnav a,
.footer-links a,
.legal-footer a {
  text-decoration: none;
  color: var(--muted);
}

.hero-slab {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.9fr);
  gap: 26px;
  padding: 38px 0 28px;
  align-items: start;
}

.hero-copy {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 38px;
  padding: 42px 42px 36px;
  box-shadow: var(--shadow);
}

.hero-copy h1,
.section-head h2,
.editorial-copy h2,
.request-copy h2,
.legal-content h1,
.thanks-card h1 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 0.98;
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  max-width: 11ch;
  margin-top: 10px;
}

.lead,
.section-intro,
.editorial-copy p,
.request-copy p,
.legal-content p,
.legal-content li,
.thanks-card p {
  color: var(--muted);
  font-size: 1.04rem;
}

.lead {
  max-width: 58ch;
  margin: 22px 0 0;
}

.hero-actions,
.thanks-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 26px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  text-decoration: none;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button-dark {
  background: var(--ink);
  color: #fff;
}

.button-dark:hover {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
}

.button-ghost {
  background: transparent;
  color: var(--ink);
}

.button-ghost:hover {
  background: var(--accent-soft);
}

.button-wide {
  width: 100%;
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.note-card,
.disclaimer-box,
.contact-card,
.request-form,
.legal-aside,
.thanks-card,
.guide-row,
.feature-stack article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(251, 248, 241, 0.84);
  backdrop-filter: blur(8px);
}

.note-card {
  padding: 18px 18px 16px;
}

.note-card p {
  margin: 8px 0 0;
  font-size: 1.1rem;
}

.disclaimer-box {
  padding: 18px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.94rem;
}

.ribbon-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding: 6px 0 26px;
}

.ribbon-stats div {
  padding: 18px 6px 0 0;
  border-top: 1px solid var(--line);
}

.ribbon-stats span {
  display: block;
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.ribbon-stats strong {
  font-size: 1rem;
  font-weight: 400;
}

.section-block {
  padding: 40px 0;
}

.section-head {
  margin-bottom: 24px;
}

.split-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px);
  gap: 24px;
  align-items: end;
}

.section-head h2,
.editorial-copy h2,
.request-copy h2,
.legal-content h1,
.thanks-card h1 {
  font-size: clamp(2rem, 4vw, 3.7rem);
}

.guide-list {
  display: grid;
  gap: 16px;
}

.guide-row {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 180px;
  gap: 22px;
  padding: 26px;
  align-items: center;
}

.guide-meta {
  display: grid;
  gap: 4px;
}

.guide-index {
  color: var(--muted);
  font-size: 0.86rem;
}

.guide-row h3,
.feature-stack h3,
.process-steps h3,
.faq-grid h3,
.legal-content h2 {
  margin: 0;
  font-weight: 400;
  font-size: 1.45rem;
}

.guide-row p,
.feature-stack p,
.process-steps p,
.faq-grid p,
.contact-card p,
.legal-aside p,
.form-note {
  margin: 0;
  color: var(--muted);
}

.guide-details {
  text-align: right;
}

.guide-details span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
}

.guide-details strong {
  font-size: 1.5rem;
  font-weight: 400;
}

.editorial-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 26px;
  align-items: start;
}

.feature-stack {
  display: grid;
  gap: 14px;
}

.feature-stack article {
  padding: 24px;
}

.process-band {
  background: rgba(255,255,255,0.3);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.process-steps li {
  padding: 18px 0 0;
  border-top: 1px solid var(--line);
}

.process-steps span {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #fff;
  margin-bottom: 14px;
  font-size: 0.92rem;
}

.faq-layout {
  display: grid;
  gap: 18px;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.faq-grid article {
  padding: 22px 0;
  border-top: 1px solid var(--line);
}

.request-wrap {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 0.9fr);
  gap: 26px;
  align-items: start;
}

.contact-card {
  margin-top: 22px;
  padding: 22px;
}

.request-form {
  padding: 26px;
}

.request-form label {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.request-form span {
  font-size: 0.92rem;
}

.request-form input,
.request-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffdf8;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
}

.request-form input:focus,
.request-form textarea:focus {
  outline: 2px solid rgba(126, 79, 99, 0.22);
  border-color: var(--accent);
}

.form-note {
  margin-top: 14px;
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
}

.brand-footer {
  margin: 0 0 4px;
  font-size: 1.1rem;
}

.site-footer p {
  margin: 6px 0 0;
  color: var(--muted);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.disclaimer-footer {
  max-width: 46ch;
  text-align: right;
}

.legal-shell {
  padding-bottom: 28px;
}

.legal-topbar {
  margin-bottom: 14px;
}

.legal-layout {
  display: grid;
  grid-template-columns: minmax(240px, 290px) minmax(0, 1fr);
  gap: 30px;
  padding: 18px 0 38px;
}

.legal-aside {
  padding: 22px;
  position: sticky;
  top: 18px;
  align-self: start;
}

.small-disclaimer {
  margin-top: 14px;
  font-size: 0.9rem;
}

.legal-content {
  background: rgba(251, 248, 241, 0.82);
  border: 1px solid var(--line);
  border-radius: 34px;
  padding: 34px;
}

.legal-content h1 {
  margin-bottom: 18px;
}

.legal-content h2 {
  margin-top: 28px;
  margin-bottom: 8px;
}

.legal-footer {
  align-items: start;
}

.thanks-shell {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 0;
}

.thanks-card {
  max-width: 780px;
  padding: 44px;
  box-shadow: var(--shadow);
}

.thanks-details {
  margin: 26px 0;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.thanks-details p {
  margin: 8px 0;
}

@media (max-width: 980px) {
  .hero-slab,
  .split-head,
  .editorial-grid,
  .request-wrap,
  .legal-layout,
  .guide-row,
  .process-steps,
  .ribbon-stats,
  .faq-grid,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .topbar,
  .site-footer {
    flex-direction: column;
  }

  .topnav,
  .footer-links,
  .disclaimer-footer {
    justify-content: flex-start;
    text-align: left;
  }

  .guide-details {
    text-align: left;
  }

  .legal-aside {
    position: static;
  }

  .hero-copy,
  .legal-content,
  .thanks-card {
    padding: 28px;
  }
}

@media (max-width: 640px) {
  body {
    background: #f5efe6;
  }

  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .hero-copy h1 {
    font-size: 2.8rem;
  }

  .button,
  .button-wide {
    width: 100%;
  }
}
