:root {
  --bg: #dfe6ea;
  --paper: #f8faf8;
  --paper-deep: #eef2ef;
  --ink: #14242d;
  --muted: #51636b;
  --line: #9cb0b7;
  --accent: #bf6c48;
  --accent-soft: #f0d3c5;
  --accent-deep: #8d4c31;
  --shadow: 0 24px 60px rgba(20, 36, 45, 0.09);
  --radius: 26px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  background: linear-gradient(180deg, #d9e0e5 0%, #e8ecef 100%);
  color: var(--ink);
}

h1, h2, h3, h4, strong {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: -0.02em;
}

p, li, summary, input, textarea, button, a, span {
  font-size: 16px;
  line-height: 1.65;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover { color: var(--accent-deep); }

.site-shell {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  min-height: 100vh;
}

.rail {
  padding: 26px;
  border-right: 1px solid rgba(20, 36, 45, 0.12);
  background: linear-gradient(180deg, rgba(248, 250, 248, 0.76) 0%, rgba(238, 242, 239, 0.92) 100%);
}

.rail-inner {
  position: sticky;
  top: 24px;
  border: 1px solid rgba(20, 36, 45, 0.12);
  background: rgba(255, 255, 255, 0.58);
  border-radius: calc(var(--radius) + 4px);
  box-shadow: var(--shadow);
  padding: 28px;
}

.eyebrow,
.kicker,
.section-tag,
.rail-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--muted);
  margin: 0 0 12px;
}

.rail h1,
.legal-header h1,
.thankyou-shell h1 {
  margin: 0 0 14px;
  font-size: clamp(2.3rem, 4vw, 3.3rem);
  line-height: 0.98;
}

.rail-copy,
.legal-meta,
.thankyou-copy,
.section-side-copy,
.masthead-note p {
  color: var(--muted);
}

.rail-block {
  padding-top: 20px;
  margin-top: 20px;
  border-top: 1px solid rgba(20, 36, 45, 0.1);
}

.disclaimer-box {
  background: rgba(191, 108, 72, 0.08);
  border-radius: 18px;
  padding: 18px;
  border-top: none;
}

.content {
  padding: 34px;
}

.masthead {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 28px;
}

.masthead h2 {
  margin: 0;
  font-size: clamp(2.6rem, 5vw, 5rem);
  line-height: 0.94;
  max-width: 11ch;
}

.masthead-note {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
}

.intro-panel,
.benefits-section,
.process-section,
.faq-section,
.form-section,
.legal-shell,
.thankyou-shell {
  background: rgba(248, 250, 248, 0.83);
  border: 1px solid rgba(20, 36, 45, 0.11);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.intro-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.7fr);
  gap: 24px;
  padding: 28px;
  margin-bottom: 28px;
}

.lead {
  font-size: 1.14rem;
  margin: 0;
}

.intro-stats {
  display: grid;
  gap: 12px;
}

.intro-stats div {
  padding: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.75), rgba(240, 244, 242, 0.9));
  border: 1px solid rgba(20, 36, 45, 0.1);
  border-radius: 18px;
}

.intro-stats strong,
.guide-heading-row h4,
.section-head h3,
.legal-section h2 {
  display: block;
  margin-bottom: 6px;
}

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

.section-head h3 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  line-height: 1.04;
  max-width: 16ch;
}

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

.guides-section {
  margin-bottom: 28px;
}

.guide-band {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid rgba(20, 36, 45, 0.12);
}

.guide-band:last-child {
  border-bottom: 1px solid rgba(20, 36, 45, 0.12);
}

.guide-index {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.4rem;
  color: rgba(20, 36, 45, 0.36);
}

.guide-heading-row {
  display: flex;
  gap: 16px;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
}

.guide-heading-row h4 {
  margin: 0;
  font-size: 1.65rem;
}

.price {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--accent-deep);
  background: var(--accent-soft);
  padding: 8px 14px;
  border-radius: 999px;
}

.guide-body p { margin: 0 0 12px; }
.guide-body ul {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

.benefits-section,
.process-section,
.faq-section,
.form-section {
  padding: 28px;
  margin-bottom: 28px;
}

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

.benefit-grid div {
  padding: 0 0 18px;
  border-bottom: 1px dashed rgba(20, 36, 45, 0.15);
}

.process-list {
  margin: 0;
  padding-left: 22px;
}

.process-list li {
  padding-left: 6px;
  margin-bottom: 14px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  background: linear-gradient(180deg, rgba(255,255,255,0.8), rgba(238, 242, 239, 0.84));
  border: 1px solid rgba(20, 36, 45, 0.1);
  border-radius: 18px;
  padding: 18px 20px;
}

summary {
  cursor: pointer;
  font-weight: 600;
  list-style: none;
}
summary::-webkit-details-marker { display: none; }

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

.inquiry-form label {
  display: grid;
  gap: 8px;
}

.full-width { grid-column: 1 / -1; }

input,
textarea {
  width: 100%;
  border: 1px solid rgba(20, 36, 45, 0.16);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  padding: 14px 15px;
  color: var(--ink);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(191, 108, 72, 0.14);
}

button {
  appearance: none;
  border: none;
  justify-self: start;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

button:hover {
  transform: translateY(-1px);
  background: var(--accent-deep);
}

.site-footer,
.legal-footer,
.thankyou-nav {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.site-footer {
  padding: 10px 2px 24px;
}

.site-footer nav,
.legal-footer,
.thankyou-nav {
  gap: 16px;
}

.page-disclaimer {
  padding: 18px 20px 36px;
  color: var(--muted);
}

.legal-page,
.thankyou-page {
  padding: 30px;
}

.legal-shell,
.thankyou-shell {
  max-width: 960px;
  margin: 0 auto;
  padding: 34px;
}

.legal-section {
  padding: 18px 0;
  border-top: 1px solid rgba(20, 36, 45, 0.1);
}

.legal-section:first-of-type {
  border-top: none;
}

.legal-section h2 {
  margin: 0 0 8px;
  font-size: 1.3rem;
}

.disclaimer-inline,
.disclaimer-panel {
  background: rgba(191, 108, 72, 0.08);
  border: 1px solid rgba(191, 108, 72, 0.18);
  border-radius: 18px;
  padding: 18px 20px;
}

.thankyou-copy {
  max-width: 52ch;
}

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

.thankyou-grid div {
  padding: 18px;
  border: 1px solid rgba(20, 36, 45, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(255,255,255,0.84), rgba(238, 242, 239, 0.86));
}

@media (max-width: 1100px) {
  .site-shell {
    grid-template-columns: 1fr;
  }

  .rail {
    border-right: none;
    border-bottom: 1px solid rgba(20, 36, 45, 0.12);
  }

  .rail-inner {
    position: static;
  }
}

@media (max-width: 820px) {
  .content,
  .legal-page,
  .thankyou-page {
    padding: 18px;
  }

  .masthead,
  .intro-panel,
  .split-head,
  .benefit-grid,
  .inquiry-form,
  .thankyou-grid {
    grid-template-columns: 1fr;
  }

  .guide-band {
    grid-template-columns: 1fr;
  }

  .guide-index {
    font-size: 1.5rem;
  }

  .legal-shell,
  .thankyou-shell,
  .benefits-section,
  .process-section,
  .faq-section,
  .form-section,
  .intro-panel {
    padding: 22px;
  }

  .masthead h2 {
    max-width: none;
  }
}
