:root {
  --bg: #f5f2ed;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #fffdf9;
  --stroke: rgba(62, 39, 35, 0.14);
  --text: #3e2723;
  --muted: #556070;
  --brand: #874f37;
  --brand-dark: #6b3e2e;
  --accent: #e9c79f;
  --shadow: rgba(62, 39, 35, 0.09);
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 540px at 8% -8%, rgba(135, 79, 55, 0.13), transparent 58%),
    radial-gradient(800px 520px at 94% 9%, rgba(233, 199, 159, 0.3), transparent 62%),
    var(--bg);
  color: var(--text);
  font-family: ui-rounded, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
  line-height: 1.6;
}

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

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(62, 39, 35, 0.1);
  background: rgba(245, 242, 237, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  box-shadow: 0 8px 20px var(--shadow);
}

.brand-copy {
  display: grid;
  line-height: 1.15;
}

.brand-copy strong {
  font-size: 15px;
}

.brand-copy span {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
}

.nav-links a {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 13px;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.72);
}

main {
  padding: 50px 0 24px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(300px, 0.92fr);
  gap: 28px;
  align-items: center;
  padding-bottom: 36px;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 7px 11px;
  border: 1px solid rgba(135, 79, 55, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  color: var(--brand);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin-top: 0;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 0.98;
}

.hero-copy > p {
  max-width: 62ch;
  margin: 0;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
}

.button-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.btn-primary {
  color: white;
  background: var(--brand);
  box-shadow: 0 16px 30px rgba(135, 79, 55, 0.22);
}

.btn-primary:hover {
  background: var(--brand-dark);
}

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

.hero-visual {
  min-height: 470px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--stroke);
  border-radius: 32px;
  background:
    radial-gradient(circle at 50% 38%, rgba(233, 199, 159, 0.55), transparent 48%),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 24px 60px var(--shadow);
}

.hero-visual img {
  width: min(70%, 310px);
  height: auto;
  max-height: 430px;
  object-fit: contain;
  filter: drop-shadow(0 24px 30px rgba(62, 39, 35, 0.16));
}

section {
  padding: 34px 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 20px;
}

.section-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.05;
}

.section-heading p {
  margin: 0;
  color: var(--muted);
}

.card-grid,
.steps,
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.card,
.step,
.related-card,
.faq-item {
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: 0 14px 34px var(--shadow);
}

.card,
.step,
.related-card {
  padding: 21px;
}

.card h3,
.step h3,
.related-card h3 {
  margin-bottom: 8px;
  font-size: 20px;
}

.card p,
.step p,
.related-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.step-number {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  margin-bottom: 14px;
  border-radius: 50%;
  color: white;
  background: var(--brand);
  font-weight: 800;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.82fr);
  gap: 20px;
  align-items: center;
}

.split-copy {
  padding: 30px;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: var(--surface);
}

.split-copy h2 {
  margin-bottom: 12px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.08;
}

.split-copy p,
.split-copy li {
  color: var(--muted);
}

.split-visual {
  min-height: 420px;
  display: grid;
  place-items: center;
  border: 1px solid var(--stroke);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.72);
}

.split-visual img {
  width: min(68%, 270px);
  max-height: 380px;
  object-fit: contain;
  filter: drop-shadow(0 20px 28px rgba(62, 39, 35, 0.15));
}

.compare {
  width: 100%;
  overflow: hidden;
  border-collapse: collapse;
  border: 1px solid var(--stroke);
  border-radius: 24px;
  background: var(--surface-strong);
  box-shadow: 0 14px 34px var(--shadow);
}

.compare th,
.compare td {
  padding: 15px 18px;
  border-bottom: 1px solid var(--stroke);
  text-align: left;
}

.compare th {
  background: rgba(135, 79, 55, 0.08);
}

.compare tr:last-child td {
  border-bottom: 0;
}

.compare td:not(:first-child) {
  color: var(--muted);
}

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

.faq-item {
  padding: 20px 22px;
}

.faq-item h3 {
  margin-bottom: 7px;
  font-size: 18px;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
}

.related-card {
  transition: transform 160ms ease, background 160ms ease;
}

.related-card:hover {
  transform: translateY(-3px);
  background: var(--surface-strong);
}

.related-card span {
  display: inline-block;
  margin-top: 14px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 800;
}

.cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px;
  border: 1px solid var(--stroke);
  border-radius: 30px;
  background:
    radial-gradient(400px 220px at 92% 15%, rgba(233, 199, 159, 0.5), transparent 64%),
    var(--surface-strong);
  box-shadow: 0 20px 50px var(--shadow);
}

.cta h2 {
  margin-bottom: 6px;
  font-size: clamp(28px, 4vw, 42px);
}

.cta p {
  margin: 0;
  color: var(--muted);
}

footer {
  padding: 26px 0 42px;
  color: var(--muted);
  font-size: 13px;
}

.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 18px;
  border-top: 1px solid var(--stroke);
}

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

.footer-links a {
  padding: 6px 9px;
  border-radius: 999px;
}

.footer-links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.65);
}

@media (max-width: 840px) {
  .hero,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 380px;
  }

  .card-grid,
  .steps,
  .related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(var(--container), calc(100% - 30px));
  }

  .nav {
    align-items: flex-start;
  }

  .brand-copy span {
    display: none;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 7px 8px;
  }

  main {
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 340px;
  }

  .compare {
    display: block;
    overflow-x: auto;
  }

  .cta {
    align-items: flex-start;
    flex-direction: column;
  }
}
