:root {
  --primary: #8f5a3c;
  --primary-dark: #5f3929;
  --secondary: #183b36;
  --cream: #fff8ef;
  --paper: #ffffff;
  --ink: #1f2420;
  --muted: #70766f;
  --line: #eadfce;
  --gold: #c69b57;
  --soft: #f5ede1;
  --shadow: 0 20px 60px rgba(49, 33, 21, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 248, 239, 0.84);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(143, 90, 60, 0.14);
}

.nav {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: linear-gradient(145deg, var(--primary), var(--secondary));
  color: #fff;
  display: grid;
  place-items: center;
  font-family: Georgia, serif;
  font-size: 22px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 650;
  color: #413d36;
}

.nav-links a {
  text-decoration: none;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  font-size: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: var(--paper);
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  background: var(--secondary);
  color: #fff;
  box-shadow: 0 12px 32px rgba(24, 59, 54, 0.22);
}

.btn-primary:hover {
  background: #102b27;
}

.btn-outline {
  background: transparent;
  border-color: rgba(95, 57, 41, 0.34);
  color: var(--primary-dark);
}

.btn-light {
  background: #fff;
  color: var(--secondary);
}

.hero {
  position: relative;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  overflow: hidden;
  background: #1d2724;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(20, 28, 25, 0.86) 0%, rgba(20, 28, 25, 0.58) 48%, rgba(20, 28, 25, 0.24) 100%),
    url("https://images.unsplash.com/photo-1519741497674-611481863552?auto=format&fit=crop&w=1800&q=82") center/cover;
}

.hero-inner {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 72px 0;
  color: #fff;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 18px;
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.86);
  font-size: 13px;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero h1 {
  width: min(790px, 100%);
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.98;
  letter-spacing: 0;
}

.hero p {
  width: min(650px, 100%);
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(17px, 2vw, 21px);
}

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

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr));
  gap: 12px;
  width: min(620px, 100%);
  margin-top: 46px;
}

.stat {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
}

.stat strong {
  display: block;
  font-size: 28px;
}

.stat span {
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: #fff;
}

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

.section-head {
  width: min(720px, 100%);
  margin-bottom: 34px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-kicker {
  color: var(--primary);
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-size: 13px;
}

.section h2 {
  margin: 10px 0 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.05;
}

.section-head p {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 18px;
}

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

.feature {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 10px 30px rgba(49, 33, 21, 0.06);
}

.feature b {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}

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

.theme-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 10px 16px;
  color: #51483e;
  font-weight: 800;
  cursor: pointer;
}

.chip.active {
  background: var(--secondary);
  border-color: var(--secondary);
  color: #fff;
}

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

.theme-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.theme-media {
  aspect-ratio: 4 / 3;
  background: var(--soft);
  overflow: hidden;
}

.theme-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.theme-card:hover .theme-media img {
  transform: scale(1.04);
}

.theme-body {
  padding: 18px;
}

.theme-body h3 {
  margin: 0;
  font-size: 21px;
}

.theme-body p {
  margin: 8px 0 16px;
  color: var(--muted);
}

.theme-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  color: var(--primary-dark);
  font-weight: 850;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  counter-reset: step;
}

.process-card {
  padding: 22px;
  border-radius: 8px;
  border: 1px solid rgba(143, 90, 60, 0.2);
  background: linear-gradient(180deg, #fff, #fff9f0);
}

.process-card::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--secondary);
  color: #fff;
  font-weight: 850;
}

.process-card h3 {
  margin: 0 0 8px;
}

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

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 38px;
  align-items: center;
}

.mockup {
  border: 10px solid #251d19;
  border-radius: 28px;
  overflow: hidden;
  background: #251d19;
  box-shadow: 0 30px 80px rgba(49, 33, 21, 0.22);
}

.mockup img {
  width: 100%;
  height: 560px;
  object-fit: cover;
}

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

.price-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.price-card.featured {
  border-color: rgba(198, 155, 87, 0.8);
  box-shadow: var(--shadow);
}

.price {
  margin: 14px 0;
  font-size: 36px;
  font-weight: 900;
  color: var(--secondary);
}

.price-card ul {
  padding: 0;
  margin: 18px 0 24px;
  list-style: none;
}

.price-card li {
  margin: 10px 0;
  color: var(--muted);
}

.price-card li::before {
  content: "\2713";
  margin-right: 8px;
  color: var(--primary);
  font-weight: 900;
}

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

.faq-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.faq-button {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-weight: 850;
  cursor: pointer;
}

.faq-panel {
  display: none;
  padding: 0 18px 18px;
  color: var(--muted);
}

.faq-item.open .faq-panel {
  display: block;
}

.cta {
  padding: 70px 0;
  background:
    linear-gradient(110deg, rgba(24, 59, 54, 0.94), rgba(95, 57, 41, 0.88)),
    url("https://images.unsplash.com/photo-1523438885200-e635ba2c371e?auto=format&fit=crop&w=1600&q=82") center/cover;
  color: #fff;
}

.cta-inner {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  text-align: center;
}

.cta h2 {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.05;
}

.cta p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 18px;
}

.footer {
  background: #131b19;
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 24px;
}

.footer-grid {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 28px;
}

.footer h3,
.footer h4 {
  color: #fff;
  margin: 0 0 10px;
}

.footer a {
  display: block;
  margin: 7px 0;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}

.footer-bottom {
  width: min(1180px, calc(100% - 32px));
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.empty,
.error {
  grid-column: 1 / -1;
  padding: 24px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.error {
  color: #9b1c1c;
}

@media (max-width: 900px) {
  .nav-links {
    position: fixed;
    inset: 72px 16px auto 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .feature-grid,
  .theme-grid,
  .process-grid,
  .pricing,
  .footer-grid,
  .split {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .mockup img {
    height: 420px;
  }
}

@media (max-width: 560px) {
  .hero-inner {
    padding: 54px 0;
  }

  .section {
    padding: 58px 0;
  }

  .hero-actions,
  .theme-meta {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }
}
