:root {
  --bg: #e9ece8;
  --paper: #f8f7f2;
  --panel: #dfe4de;
  --ink: #1f2626;
  --muted: #5f6967;
  --line: rgba(31, 38, 38, 0.16);
  --accent: #9b5b43;
  --accent-soft: rgba(155, 91, 67, 0.12);
  --moss: #6b7262;
  --shadow: 0 28px 60px rgba(25, 30, 30, 0.08);
  --radius: 26px;
  --max: 1240px;
}

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

a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
img { max-width: 100%; display: block; }

.site-shell {
  width: min(calc(100% - 32px), var(--max));
  margin: 18px auto 36px;
}

.topbar {
  display: grid;
  grid-template-columns: 1.1fr 1.8fr auto;
  gap: 18px;
  align-items: center;
  padding: 18px 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(248, 247, 242, 0.76);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 14px;
  z-index: 10;
}

.brand-stack {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.eyebrow,
.mini-label,
.tag,
.kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.brand-stack strong {
  font-size: 1rem;
  letter-spacing: 0.04em;
}

.topbar nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  font-size: 0.92rem;
  color: var(--muted);
}

.topbar .contact-chip {
  justify-self: end;
  padding: 11px 18px;
  background: var(--ink);
  color: #f7f5ef;
  border-radius: 999px;
  font-size: 0.9rem;
}

.hero {
  margin-top: 24px;
  display: grid;
  grid-template-columns: 1.4fr 0.82fr;
  gap: 24px;
}

.hero-main,
.hero-side,
.folio,
.band,
.notice,
.form-wrap,
.page-card,
.info-panel,
.legal-block,
.thankyou-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(248, 247, 242, 0.88);
  box-shadow: var(--shadow);
}

.hero-main {
  padding: 34px;
  display: grid;
  gap: 28px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: end;
}

h1, h2, h3 {
  margin: 0;
  font-weight: 600;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 0.92;
  max-width: 11ch;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  max-width: 52ch;
}

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

.note-row {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.note-row strong {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}

.hero-side {
  padding: 26px;
  display: grid;
  gap: 20px;
  align-content: start;
  background: linear-gradient(180deg, rgba(223, 228, 222, 0.72) 0%, rgba(248, 247, 242, 0.9) 100%);
}

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

.stat {
  padding: 14px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(31, 38, 38, 0.08);
}

.stat b {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 6px;
}

.section-grid {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.section-aside {
  position: relative;
}

.aside-box {
  position: sticky;
  top: 112px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(31, 38, 38, 0.94);
  color: #f7f5ef;
}

.aside-box p,
.aside-box a { color: rgba(247, 245, 239, 0.82); }
.aside-box ul { margin: 0; padding-left: 18px; color: rgba(247, 245, 239, 0.82); }

.stack {
  display: grid;
  gap: 18px;
}

.folio {
  padding: 24px;
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) 180px;
  gap: 18px;
  align-items: start;
}

.folio-number {
  font-size: 2.2rem;
  line-height: 1;
  color: var(--accent);
}

.folio-copy h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  margin-bottom: 10px;
}

.meta-column {
  display: grid;
  gap: 12px;
  justify-items: start;
}

.price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 98px;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}

.meta-note {
  font-size: 0.86rem;
  color: var(--muted);
}

.band-wrap {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.band {
  padding: 22px;
  display: grid;
  gap: 12px;
}

.band h3 { font-size: 1.3rem; }
.band p { color: var(--muted); }

.steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.step {
  padding: 20px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(248, 247, 242, 0.88);
}

.step b {
  display: inline-flex;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  color: #f6f2ea;
  margin-bottom: 16px;
}

.notice {
  margin-top: 24px;
  padding: 22px 24px;
  background: linear-gradient(135deg, rgba(155, 91, 67, 0.12), rgba(248, 247, 242, 0.94));
}

.notice p:last-child { margin-bottom: 0; }

.faq-list {
  margin-top: 24px;
  display: grid;
  gap: 14px;
}

.faq-item {
  padding: 22px;
  border-radius: 22px;
  background: rgba(248, 247, 242, 0.84);
  border: 1px solid var(--line);
}

.faq-item h3 {
  margin-bottom: 10px;
  font-size: 1.1rem;
}

.form-wrap {
  padding: 28px;
  margin-top: 24px;
}

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

label {
  display: grid;
  gap: 8px;
  font-size: 0.92rem;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid rgba(31, 38, 38, 0.16);
  background: rgba(255, 255, 255, 0.64);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
}

textarea {
  min-height: 150px;
  resize: vertical;
}

button,
.button-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 14px 22px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  background: var(--ink);
  color: #f7f5ef;
}

.button-link.alt {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

footer {
  margin: 26px 0 16px;
  padding: 22px 24px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: rgba(248, 247, 242, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr;
  gap: 20px;
}

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

.disclaimer,
.address-block {
  font-size: 0.92rem;
  color: var(--muted);
}

.page-hero {
  margin-top: 24px;
  display: grid;
  gap: 20px;
}

.page-card,
.thankyou-card {
  padding: 32px;
}

.page-card h1,
.thankyou-card h1 {
  font-size: clamp(2.3rem, 4vw, 4.4rem);
  max-width: none;
  margin-bottom: 18px;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 24px;
  margin-top: 22px;
}

.info-panel,
.legal-block {
  padding: 24px;
}

.legal-block {
  margin-bottom: 18px;
}

.legal-block h2 {
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.legal-block ul {
  margin: 0;
  padding-left: 20px;
}

.thankyou-card {
  max-width: 860px;
  margin: 60px auto;
  display: grid;
  gap: 22px;
}

.next-steps {
  display: grid;
  gap: 12px;
}

.next-steps div {
  padding: 18px 20px;
  border-radius: 18px;
  background: rgba(223, 228, 222, 0.5);
  border: 1px solid rgba(31, 38, 38, 0.1);
}

@media (max-width: 1080px) {
  .topbar,
  .hero,
  .hero-grid,
  .section-grid,
  .footer-grid,
  .legal-layout,
  .steps,
  .band-wrap,
  .folio {
    grid-template-columns: 1fr;
  }

  .topbar .contact-chip { justify-self: start; }
  .section-aside { order: -1; }
  .aside-box { position: static; }
  .stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 720px) {
  .site-shell { width: min(calc(100% - 20px), var(--max)); }
  .topbar { border-radius: 28px; padding: 18px; }
  .hero-main,
  .hero-side,
  .folio,
  .band,
  .notice,
  .form-wrap,
  .page-card,
  .info-panel,
  .legal-block,
  .thankyou-card,
  footer {
    padding: 20px;
  }

  h1 { font-size: clamp(2.4rem, 12vw, 4.3rem); }
  .form-grid,
  .stat-grid { grid-template-columns: 1fr; }
}
