:root {
  --bg: #f3eee4;
  --paper: #fbf8f1;
  --ink: #1f2330;
  --muted: #6e6a63;
  --line: #d5c8b8;
  --accent: #9a5f38;
  --accent-soft: #ead4c2;
  --deep: #31453d;
  --success: #e4efe8;
  --shadow: 0 22px 50px rgba(31, 35, 48, 0.08);
  --radius: 24px;
}

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

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

.site-shell {
  width: min(1220px, calc(100% - 32px));
  margin: 24px auto;
  background: rgba(251, 248, 241, 0.78);
  border: 1px solid rgba(213, 200, 184, 0.9);
  border-radius: 32px;
  box-shadow: var(--shadow);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.topbar {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 22px 30px;
  border-bottom: 1px solid var(--line);
  background: rgba(255,255,255,0.32);
}

.brand-stack small,
.kicker,
.meta-label,
.eyebrow,
.note-label,
.footer-label {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 11px;
  color: var(--muted);
}

.brand-stack strong {
  display: block;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.nav a {
  font-size: 14px;
  color: var(--muted);
}

.contact-chip {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  background: rgba(255,255,255,0.55);
}

.hero {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 620px;
}

.hero-aside {
  padding: 34px 28px 34px 34px;
  border-right: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(49,69,61,0.06) 0%, rgba(255,255,255,0.3) 100%);
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.hero-panel {
  padding: 44px 42px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 34px;
}

.hero h1 {
  margin: 10px 0 18px;
  font-size: clamp(3rem, 5vw, 5.4rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  max-width: 8ch;
}

.hero-intro {
  max-width: 56ch;
  color: #3a4050;
  font-size: 17px;
}

.badge-row,
.value-grid,
.mini-grid,
.faq-grid,
.legal-links {
  display: grid;
  gap: 14px;
}

.badge-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.badge {
  padding: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.62);
  border-radius: 18px;
}

.badge strong,
.guide-card h3,
.value-card h3,
.step strong,
.faq-item strong,
.sidebar-card strong,
.stat-box strong,
.form-card h2,
.legal-hero h1,
.thankyou-card h1 {
  display: block;
  margin-bottom: 10px;
  letter-spacing: -0.03em;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary,
button {
  background: var(--ink);
  color: #fff;
}

.btn-secondary {
  border-color: var(--line);
  background: rgba(255,255,255,0.65);
}

.hero-note,
.sidebar-card,
.guide-card,
.value-card,
.step,
.faq-item,
.form-card,
.info-card,
.legal-card,
.thankyou-card,
.stat-box {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.64);
  border-radius: var(--radius);
}

.hero-note {
  padding: 18px;
}

.hero-note p:last-child,
.sidebar-card p:last-child,
.guide-card p:last-child,
.value-card p:last-child,
.faq-item p:last-child,
.info-card p:last-child,
.legal-card p:last-child { margin-bottom: 0; }

.info-card {
  padding: 20px;
}

.hero-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-box {
  padding: 18px;
}

.stat-box span {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.section-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  border-top: 1px solid var(--line);
}

.section-side {
  padding: 34px 24px 34px 34px;
  border-right: 1px solid var(--line);
  background: rgba(255,255,255,0.24);
}

.section-main {
  padding: 34px;
}

.section-title {
  margin: 8px 0 14px;
  font-size: clamp(2rem, 3.5vw, 3rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.section-copy {
  color: #434757;
  max-width: 60ch;
}

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

.guide-card {
  display: grid;
  grid-template-columns: 170px 1fr 130px;
  gap: 20px;
  padding: 22px;
  align-items: start;
}

.guide-index {
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.guide-index strong {
  font-size: 42px;
  line-height: 1;
  margin-bottom: 8px;
  color: var(--deep);
}

.price-tag {
  align-self: center;
  justify-self: end;
  padding: 14px 18px;
  min-width: 108px;
  text-align: center;
  border-radius: 18px;
  background: var(--accent-soft);
  color: #5d381d;
  font-weight: 700;
  font-size: 20px;
}

.value-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.value-card {
  padding: 24px;
}

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

.step {
  padding: 20px;
  min-height: 180px;
}

.step-number {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 18px;
}

.mini-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.sidebar-card {
  padding: 20px;
  margin-top: 18px;
}

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

.faq-item {
  padding: 24px;
}

.form-wrap {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 22px;
}

.form-card {
  padding: 26px;
}

label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 8px;
}

input,
textarea,
select {
  width: 100%;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.72);
  font: inherit;
  color: var(--ink);
  margin-bottom: 16px;
}

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

.form-note {
  font-size: 13px;
  color: var(--muted);
}

.footer {
  border-top: 1px solid var(--line);
  padding: 24px 30px 30px;
  background: rgba(255,255,255,0.36);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 24px;
}

.legal-links a {
  color: var(--muted);
  font-size: 14px;
}

.disclaimer {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}

.legal-shell,
.thankyou-shell {
  width: min(980px, calc(100% - 32px));
  margin: 28px auto;
}

.legal-hero,
.thankyou-card {
  padding: 30px;
  margin-bottom: 20px;
  background: rgba(255,255,255,0.7);
  border: 1px solid var(--line);
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.legal-hero h1,
.thankyou-card h1 {
  margin: 12px 0;
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.98;
}

.legal-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 20px;
}

.legal-card {
  padding: 24px 26px;
  background: rgba(255,255,255,0.72);
}

.legal-card h2 {
  margin: 0 0 14px;
  font-size: 20px;
  letter-spacing: -0.03em;
}

.legal-card ul {
  margin: 0 0 1rem 1.2rem;
  padding: 0;
}

.legal-card li { margin-bottom: 0.65rem; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.success-box {
  padding: 18px;
  border-radius: 22px;
  background: var(--success);
  border: 1px solid #c1d7c8;
}

@media (max-width: 1080px) {
  .hero,
  .section-grid,
  .form-wrap,
  .legal-layout,
  .footer-grid,
  .topbar,
  .guide-card,
  .steps,
  .badge-row,
  .value-grid,
  .faq-grid,
  .mini-grid,
  .hero-meta {
    grid-template-columns: 1fr;
  }

  .section-side,
  .hero-aside {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .price-tag { justify-self: start; }
  .guide-index { border-right: 0; padding-right: 0; }
}

@media (max-width: 720px) {
  .site-shell,
  .legal-shell,
  .thankyou-shell { width: min(100% - 18px, 100%); margin: 10px auto; }
  .hero-panel,
  .hero-aside,
  .section-side,
  .section-main,
  .footer,
  .legal-hero,
  .legal-card,
  .thankyou-card,
  .topbar { padding: 22px 18px; }
  .hero h1 { font-size: 2.8rem; }
  .section-title { font-size: 2rem; }
}
