:root {
  --bg: #f7f4ee;
  --ink: #151515;
  --muted: #65615a;
  --line: rgba(21, 21, 21, 0.12);
  --panel: #fffaf0;
  --panel-strong: #151515;
  --accent: #b36b2c;
  --accent-soft: #ead4bd;
  --radius: 28px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(179, 107, 44, 0.16), transparent 32rem),
    linear-gradient(180deg, #fbf7ef 0%, var(--bg) 42%, #efe8dc 100%);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 9px 0 0 var(--accent), 18px 0 0 var(--accent-soft);
}

.nav {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--ink);
}

.hero {
  width: min(var(--max), calc(100% - 32px));
  margin: 36px auto 0;
  min-height: 76vh;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

h1, h2, h3, p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  font-size: clamp(58px, 9vw, 118px);
  line-height: 0.88;
  letter-spacing: -0.08em;
  margin-bottom: 28px;
}

h2 {
  font-size: clamp(36px, 5vw, 68px);
  line-height: 0.95;
  letter-spacing: -0.06em;
  margin-bottom: 20px;
}

h3 {
  font-size: 22px;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.hero-text {
  max-width: 670px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 750;
  border: 1px solid var(--line);
}

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

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

.button.secondary {
  background: rgba(255,255,255,0.44);
}

.hero-card {
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: 0 28px 90px rgba(40, 27, 14, 0.12);
  backdrop-filter: blur(18px);
}

.flow-step {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255,255,255,0.55);
  border: 1px solid var(--line);
}

.flow-step span,
.feature-list span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.flow-step strong {
  display: block;
  font-size: 26px;
  letter-spacing: -0.04em;
}

.flow-step p {
  color: var(--muted);
  margin-bottom: 0;
}

.flow-arrow {
  width: 1px;
  height: 32px;
  margin: 0 auto;
  background: var(--line);
}

.section {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 110px 0;
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 860px;
  margin-bottom: 42px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  color: var(--muted);
  font-size: 22px;
}

.contrast {
  width: 100%;
  max-width: none;
  padding: 120px max(16px, calc((100vw - var(--max)) / 2));
  background: var(--panel-strong);
  color: #f8f0e4;
  border: 0;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: start;
}

.large-text {
  font-size: clamp(30px, 4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.055em;
}

.large-text p {
  margin: 0;
}

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

.card {
  min-height: 220px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255, 250, 240, 0.58);
}

.card p,
.feature-list p,
.book-panel p,
.final p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-list > div {
  padding: 24px 0;
  border-top: 1px solid var(--line);
}

.book {
  border-top: 0;
}

.book-panel {
  background: var(--ink);
  color: #fffaf0;
  border-radius: var(--radius);
  padding: clamp(28px, 6vw, 72px);
}

.book-panel h2 {
  margin-bottom: 24px;
}

.book-panel p {
  max-width: 760px;
  font-size: 22px;
  color: rgba(255,250,240,0.72);
}

.book-panel ul {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 26px;
}

.book-panel li {
  padding-left: 24px;
  position: relative;
  color: rgba(255,250,240,0.84);
}

.book-panel li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--accent-soft);
}

.final {
  text-align: center;
  max-width: 850px;
  border-top: 0;
}

.final p {
  font-size: 21px;
}

.small-note {
  margin-top: 18px;
  font-size: 14px !important;
}

.footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

@media (max-width: 880px) {
  .nav {
    display: none;
  }

  .hero,
  .two-column,
  .split,
  .grid,
  .feature-list,
  .book-panel ul {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 56px 0 86px;
  }

  h1 {
    font-size: clamp(56px, 17vw, 88px);
  }

  .section {
    padding: 78px 0;
  }

  .footer {
    flex-direction: column;
  }
}
