:root {
  --ink: #17130f;
  --soil: #4b3426;
  --moss: #5f6747;
  --sage: #a3ad91;
  --cream: #f4efe5;
  --paper: #fffaf0;
  --ochre: #d49a43;
  --clay: #bd7655;
  --line: rgba(23, 19, 15, 0.16);
  --soft: rgba(255, 250, 240, 0.72);
  --shadow: 0 28px 80px rgba(54, 39, 26, 0.14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 10%, rgba(212, 154, 67, 0.22), transparent 30%),
    linear-gradient(135deg, #f6f0e5 0%, #ece1cf 48%, #d9ddc7 100%);
  line-height: 1.55;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(23, 19, 15, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(23, 19, 15, 0.025) 1px, transparent 1px);
  background-size: 42px 42px;
  opacity: 0.55;
}

.page-line {
  height: 8px;
  background: linear-gradient(90deg, var(--soil), var(--ochre), var(--moss), var(--clay));
}

a { color: inherit; }

.site-header {
  width: min(1180px, calc(100% - 40px));
  margin: 28px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: Arial, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  letter-spacing: 0.05em;
}

.top-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-family: Arial, sans-serif;
  font-size: 13px;
}

.top-nav a {
  text-decoration: none;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.35);
}

.top-nav a:hover { background: var(--paper); }

.hero-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 58px auto 72px;
  display: grid;
  grid-template-columns: 0.82fr 1.7fr 0.72fr;
  gap: 22px;
  align-items: stretch;
  position: relative;
  z-index: 1;
}

.hero-note,
.hero-ledger,
.hero-main,
.intro-card,
.guide-panel,
.benefit-band,
.faq-stack details,
.inquiry-form,
.form-intro,
.legal-content,
.legal-aside,
.thanks-card,
.thanks-contact {
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.hero-note {
  align-self: end;
  min-height: 360px;
  padding: 26px;
  border-radius: 34px 34px 8px 34px;
  background: rgba(255, 250, 240, 0.46);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.eyebrow,
.chapter-label,
.mini-title {
  font-family: Arial, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 11px;
  font-weight: 800;
  color: var(--soil);
}

.hero-note p {
  font-size: 19px;
  margin: 0;
}

.hero-main {
  background: var(--paper);
  border-radius: 44px;
  padding: clamp(34px, 6vw, 74px);
  position: relative;
  overflow: hidden;
}

.hero-main::after {
  content: '';
  position: absolute;
  width: 190px;
  height: 190px;
  border-radius: 50%;
  background: var(--sage);
  opacity: 0.2;
  right: -50px;
  bottom: -58px;
}

.hero-main h1 {
  font-size: clamp(42px, 7vw, 86px);
  line-height: 0.94;
  letter-spacing: -0.07em;
  margin: 18px 0 24px;
  max-width: 850px;
}

.hero-copy {
  font-family: Arial, sans-serif;
  font-size: clamp(17px, 2vw, 20px);
  max-width: 720px;
  color: rgba(23, 19, 15, 0.76);
}

.hero-actions,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.primary-action,
.secondary-action,
.inquiry-form button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 14px 20px;
  border-radius: 999px;
  font-family: Arial, sans-serif;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid var(--ink);
  cursor: pointer;
}

.primary-action,
.inquiry-form button {
  background: var(--ink);
  color: var(--paper);
}

.secondary-action {
  background: transparent;
  color: var(--ink);
}

.primary-action:hover,
.inquiry-form button:hover { background: var(--soil); }
.secondary-action:hover { background: rgba(23, 19, 15, 0.08); }

.hero-ledger {
  background: var(--moss);
  color: var(--paper);
  border-radius: 8px 34px 34px 34px;
  padding: 24px;
  display: grid;
  gap: 18px;
  align-self: start;
}

.hero-ledger div {
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.22);
}

.hero-ledger div:last-child { border-bottom: 0; }
.hero-ledger span { display: block; font-family: Arial, sans-serif; font-size: 12px; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.12em; }
.hero-ledger strong { font-size: 26px; line-height: 1.1; display: block; margin-top: 8px; }

.intro-grid {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto 86px;
  display: grid;
  grid-template-columns: 1.25fr 0.9fr 0.9fr;
  gap: 16px;
}

.intro-card {
  background: rgba(255, 250, 240, 0.66);
  border-radius: 28px;
  padding: 28px;
  min-height: 210px;
}

.intro-card h2,
.section-heading h2,
.benefit-band h2,
.process-section h2,
.faq-title-block h2,
.form-intro h2,
.legal-aside h1,
.rules-hero h1,
.thanks-card h1 {
  margin: 10px 0 0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.intro-card h3 { margin: 0 0 14px; font-size: 26px; line-height: 1.05; letter-spacing: -0.04em; }
.intro-card p { margin: 0; font-family: Arial, sans-serif; color: rgba(23, 19, 15, 0.72); }
.tall-card { grid-row: span 2; background: var(--soil); color: var(--paper); min-height: 438px; display: flex; flex-direction: column; justify-content: flex-end; }
.tall-card .mini-title { color: var(--ochre); }
.muted-card { background: rgba(163, 173, 145, 0.42); }
.dark-card { background: var(--ink); color: var(--paper); }
.dark-card p { color: rgba(255, 250, 240, 0.72); }

.library-section {
  width: min(1260px, calc(100% - 40px));
  margin: 0 auto 90px;
}

.section-heading { max-width: 780px; margin-bottom: 26px; }
.offset-heading { margin-left: 7vw; }
.section-heading p { font-family: Arial, sans-serif; color: rgba(23, 19, 15, 0.68); }

.guide-ribbon {
  display: grid;
  grid-template-columns: 1.05fr 0.85fr 1fr 0.9fr;
  gap: 14px;
  align-items: stretch;
}

.guide-panel {
  border-radius: 36px;
  padding: 26px;
  background: var(--paper);
  min-height: 430px;
  display: flex;
  flex-direction: column;
}

.guide-panel:nth-child(even) { margin-top: 52px; }
.guide-panel h3 { font-size: 32px; line-height: 1; letter-spacing: -0.05em; margin: 20px 0 14px; }
.guide-panel p,
.guide-panel li { font-family: Arial, sans-serif; color: rgba(23, 19, 15, 0.72); }
.guide-panel ul { padding-left: 18px; margin: 10px 0 auto; }
.guide-number { font-family: Arial, sans-serif; color: var(--clay); font-weight: 900; }
.price { font-size: 34px; letter-spacing: -0.04em; margin-top: 18px; display: inline-block; }
.first-panel { background: #fff4dc; }
.second-panel { background: #e1dcc4; }
.third-panel { background: #f6e8dd; }
.fourth-panel { background: #d3dac0; }

.benefit-band {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto 86px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 30px;
  padding: clamp(28px, 5vw, 56px);
  background: var(--ink);
  color: var(--paper);
  border-radius: 42px;
}

.benefit-band .chapter-label { color: var(--ochre); }
.benefit-copy { font-family: Arial, sans-serif; font-size: 19px; color: rgba(255, 250, 240, 0.76); }

.process-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 86px;
}

.narrow-heading { max-width: 560px; }
.process-list {
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: rgba(255,250,240,0.36);
}

.process-list li {
  min-height: 250px;
  padding: 24px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.process-list span { font-family: Arial, sans-serif; font-weight: 900; color: var(--clay); }
.process-list strong { display: block; font-size: 24px; line-height: 1.05; margin: 42px 0 12px; letter-spacing: -0.03em; }
.process-list p { font-family: Arial, sans-serif; margin: 0; color: rgba(23, 19, 15, 0.7); font-size: 14px; }

.faq-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 86px;
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 40px;
  align-items: start;
}

.faq-stack { display: grid; gap: 12px; }
.faq-stack details { border-radius: 24px; background: rgba(255, 250, 240, 0.62); padding: 22px 24px; }
.faq-stack summary { cursor: pointer; font-size: 23px; letter-spacing: -0.035em; }
.faq-stack p { margin-bottom: 0; font-family: Arial, sans-serif; color: rgba(23,19,15,0.7); }

.form-section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 98px;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 18px;
  align-items: start;
}

.form-intro,
.inquiry-form {
  background: var(--paper);
  border-radius: 36px;
  padding: clamp(24px, 4vw, 44px);
}

.form-intro p { font-family: Arial, sans-serif; color: rgba(23,19,15,0.7); }
.inquiry-form { display: grid; gap: 12px; font-family: Arial, sans-serif; }
.inquiry-form label { font-weight: 800; font-size: 13px; }
.inquiry-form input,
.inquiry-form select,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  background: rgba(244, 239, 229, 0.62);
  border-radius: 18px;
  padding: 14px 16px;
  font: inherit;
  color: var(--ink);
}

.inquiry-form input:focus,
.inquiry-form select:focus,
.inquiry-form textarea:focus { outline: 2px solid rgba(212,154,67,0.45); }

.inquiry-form button { width: fit-content; margin-top: 8px; }

.site-footer {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 30px;
  padding: 30px 0 0;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  border-top: 1px solid var(--line);
  font-family: Arial, sans-serif;
  position: relative;
  z-index: 1;
}

.site-footer p { color: rgba(23,19,15,0.68); }
.footer-links a { text-decoration: none; border-bottom: 1px solid currentColor; }
.disclaimer { grid-column: 1 / -1; font-size: 13px; color: rgba(23,19,15,0.62); }

.legal-page { background: linear-gradient(130deg, #ede5d6, #f8f2e8 55%, #cfd9bd); }
.legal-header { margin-bottom: 54px; }
.legal-main,
.rules-main {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto 80px;
  position: relative;
  z-index: 1;
}

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

.legal-aside,
.legal-content {
  background: rgba(255, 250, 240, 0.72);
  border-radius: 36px;
  padding: clamp(26px, 4vw, 48px);
}

.legal-aside { align-self: start; position: sticky; top: 18px; }
.legal-aside p,
.legal-content p,
.rules-hero p,
.rule-columns p,
.thanks-card p,
.thanks-contact p { font-family: Arial, sans-serif; color: rgba(23, 19, 15, 0.72); }
.legal-content { display: grid; gap: 24px; }
.legal-content h2,
.rule-columns h2,
.thanks-contact h2 { margin: 0 0 8px; font-size: 28px; letter-spacing: -0.04em; }
.legal-content p { margin: 0; }
.legal-disclaimer { padding-top: 24px; border-top: 1px solid var(--line); }

.rules-hero {
  max-width: 770px;
  margin-bottom: 34px;
}

.rule-columns {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.rule-columns article {
  min-height: 260px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 250, 240, 0.66);
  box-shadow: var(--shadow);
}

.rule-columns span { font-family: Arial, sans-serif; color: var(--clay); font-weight: 900; }

.thankyou-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 20%, rgba(95,103,71,0.28), transparent 30%),
    linear-gradient(135deg, #f7efe1, #d7dfca);
}

.thanks-wrap {
  width: min(1040px, calc(100% - 40px));
  min-height: calc(100vh - 8px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.thanks-card,
.thanks-contact {
  background: var(--paper);
  border-radius: 42px;
  padding: clamp(28px, 5vw, 58px);
}

.thanks-card .brand { margin-bottom: 48px; }
.thanks-sequence { display: flex; flex-wrap: wrap; gap: 8px; margin: 28px 0; font-family: Arial, sans-serif; }
.thanks-sequence span { padding: 10px 13px; border-radius: 999px; background: rgba(163,173,145,0.36); border: 1px solid var(--line); }

@media (max-width: 980px) {
  .hero-shell,
  .intro-grid,
  .guide-ribbon,
  .benefit-band,
  .process-list,
  .faq-section,
  .form-section,
  .legal-main,
  .rule-columns,
  .thanks-wrap {
    grid-template-columns: 1fr;
  }

  .hero-note,
  .hero-ledger { min-height: auto; }
  .guide-panel:nth-child(even) { margin-top: 0; }
  .process-list { border-left: 0; }
  .process-list li { min-height: auto; }
  .legal-aside { position: static; }
}

@media (max-width: 680px) {
  .site-header { align-items: flex-start; flex-direction: column; }
  .hero-shell,
  .intro-grid,
  .library-section,
  .benefit-band,
  .process-section,
  .faq-section,
  .form-section,
  .site-footer,
  .legal-main,
  .rules-main,
  .thanks-wrap { width: min(100% - 26px, 1180px); }
  .hero-main { border-radius: 30px; padding: 28px; }
  .hero-main h1 { font-size: 44px; }
  .intro-card,
  .guide-panel,
  .form-intro,
  .inquiry-form,
  .legal-aside,
  .legal-content,
  .rule-columns article,
  .thanks-card,
  .thanks-contact { border-radius: 24px; }
  .site-footer { grid-template-columns: 1fr; }
}
