:root {
  --bg: #fffaf3;
  --paper: #ffffff;
  --cream: #f7ead7;
  --cream-2: #efe0c8;
  --wood: #9c6840;
  --wood-dark: #5c351f;
  --olive: #69745a;
  --ink: #2d241d;
  --muted: #75685d;
  --line: rgba(92, 53, 31, 0.16);
  --shadow: 0 24px 60px rgba(72, 44, 25, 0.14);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(247, 234, 215, 0.92), transparent 34rem),
    linear-gradient(180deg, #fffaf3 0%, #fff7ef 48%, #f8efe2 100%);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(1180px, calc(100% - 32px));
  margin: 14px auto 0;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  background: rgba(255, 250, 243, 0.86);
  box-shadow: 0 12px 40px rgba(92, 53, 31, 0.1);
  backdrop-filter: blur(18px);
}

.brand,
.review-person,
.hero-actions,
.mini-features,
.cta-pills {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 8px solid var(--wood);
  border-radius: 50%;
  background: var(--cream);
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.8);
}

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

.nav a,
.text-link,
.footer a {
  transition: color 0.2s ease;
}

.nav a:hover,
.text-link:hover,
.footer a:hover {
  color: var(--wood);
}

.header-cta {
  padding: 11px 18px;
  border-radius: 999px;
  color: #fff;
  background: var(--wood-dark);
  font-size: 14px;
  font-weight: 800;
}

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

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  align-items: center;
  gap: 54px;
  min-height: calc(100vh - 98px);
  padding: 54px 0 72px;
}

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

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

h1 {
  max-width: 760px;
  margin-bottom: 22px;
  font-size: clamp(42px, 6vw, 78px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.hero-lead,
.section-heading p,
.demo-copy p,
.final-content p {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.65;
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 26px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.chips span,
.cta-pills span,
.bakes-list span,
.mini-features span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 10px 30px rgba(92, 53, 31, 0.07);
}

.chips span {
  padding: 11px 14px;
  color: var(--wood-dark);
  font-size: 14px;
  font-weight: 700;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 14px;
}

.price-box,
.order-price {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  margin-bottom: 28px;
  padding: 12px 18px;
  border: 1px solid rgba(156, 104, 64, 0.22);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 38px rgba(92, 53, 31, 0.1);
}

.price-box div,
.order-price div {
  display: grid;
  gap: 4px;
  justify-items: end;
}

.price-box span,
.order-price span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 800;
}

.price-box del,
.order-price del {
  color: rgba(117, 104, 93, 0.82);
  font-size: 16px;
  font-weight: 800;
}

.price-box strong,
.order-price strong {
  color: var(--wood-dark);
  font-size: clamp(26px, 3vw, 38px);
  line-height: 1;
}

.order-price {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 22px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--wood-dark), #a4683d);
  box-shadow: 0 18px 36px rgba(92, 53, 31, 0.22);
}

.btn-secondary {
  color: var(--wood-dark);
  background: #fff;
  border: 1px solid var(--line);
}

.image-card {
  position: relative;
  overflow: hidden;
  min-height: 230px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.28), rgba(92, 53, 31, 0.08)),
    repeating-linear-gradient(45deg, #f2dfc4 0 14px, #ead1ae 14px 28px);
  box-shadow: var(--shadow);
}

.image-card img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.image-card.is-missing img {
  opacity: 0;
}

.image-card.has-image::before,
.image-card.has-image > span,
.image-card.has-image figcaption {
  display: none;
}

.image-card::before {
  content: "AI-зображення";
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  padding: 8px 11px;
  border-radius: 999px;
  color: #fff;
  background: rgba(45, 36, 29, 0.62);
  font-size: 12px;
  font-weight: 800;
}

.image-card span,
.image-card figcaption {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  color: #fff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.28);
}

.image-card span,
.image-card figcaption span {
  display: block;
  font-weight: 800;
}

.image-card small {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  opacity: 0.9;
}

.image-card-large {
  min-height: 560px;
}

.section {
  padding: 90px 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.heading-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.text-link {
  color: var(--wood-dark);
  font-weight: 800;
  white-space: nowrap;
}

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

.benefit-card,
.step-card,
.review-card,
.order-form,
details {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 44px rgba(92, 53, 31, 0.1);
}

.benefit-card {
  padding: 24px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.benefit-card:hover,
.step-card:hover,
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 54px rgba(92, 53, 31, 0.14);
}

.icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 14px;
  color: #fff;
  background: var(--olive);
  font-weight: 800;
}

.benefit-card p,
.step-card p,
.review-card p,
.check-list,
details p {
  color: var(--muted);
  line-height: 1.62;
}

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

.step-card {
  padding: 12px 12px 20px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.step-image {
  min-height: 210px;
  margin-bottom: 18px;
  border-radius: 18px;
}

.step-card strong {
  display: block;
  padding: 0 10px;
  color: var(--wood);
  font-size: 14px;
  text-transform: uppercase;
}

.step-card p {
  padding: 0 10px;
  margin-bottom: 0;
  font-weight: 700;
}

.section-bakes,
.section-reviews {
  background: rgba(255, 255, 255, 0.42);
}

.bakes-layout,
.demo-section,
.includes-section {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 34px;
  align-items: center;
}

.bakes-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.bakes-list span,
.mini-features span,
.cta-pills span {
  padding: 12px 16px;
  font-weight: 800;
}

.bakes-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 16px;
}

.bakes-gallery .image-card:first-child {
  grid-row: span 2;
  min-height: 460px;
}

.demo-section {
  grid-template-columns: 1fr 0.92fr;
}

.demo-copy {
  padding: 28px;
}

.mini-features {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.mini-features b {
  color: var(--olive);
}

.video-section {
  padding-top: 26px;
}

.video-frame {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: var(--radius);
  background: #201812;
  box-shadow: var(--shadow);
}

.video-frame video {
  display: block;
  width: 100%;
  max-height: 720px;
  background: #201812;
}

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

.review-card {
  padding: 18px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.review-person {
  gap: 12px;
  margin-bottom: 16px;
}

.review-person img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cream), var(--olive));
  object-fit: cover;
}

.review-person img.is-missing {
  opacity: 0.16;
}

.review-person span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 14px;
}

.review-photo {
  min-height: 180px;
  border-radius: 18px;
  box-shadow: none;
}

.includes-section {
  grid-template-columns: 0.9fr 1fr;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0 0 26px;
  list-style: none;
  font-weight: 700;
}

.check-list li {
  position: relative;
  padding-left: 30px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--olive);
  font-weight: 900;
}

.order-form {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.order-form label {
  display: grid;
  gap: 8px;
  color: var(--wood-dark);
  font-size: 14px;
  font-weight: 800;
}

.order-form input {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fffaf5;
  color: var(--ink);
  font: inherit;
}

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

details {
  padding: 0 22px;
}

summary {
  cursor: pointer;
  padding: 22px 0;
  font-weight: 900;
}

details p {
  margin-bottom: 22px;
}

.final-cta {
  position: relative;
  min-height: 560px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-top: 40px;
}

.final-bg {
  position: absolute;
  inset: 0;
  min-height: 100%;
  border-radius: 0;
}

.final-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(45, 36, 29, 0.78), rgba(45, 36, 29, 0.18));
}

.final-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 32px));
  color: #fff;
}

.final-content h2 {
  max-width: 680px;
}

.final-content p {
  max-width: 620px;
  color: rgba(255, 255, 255, 0.86);
}

.final-content .eyebrow {
  color: #f7d6a9;
}

.cta-pills {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.cta-pills span {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: none;
}

.footer {
  display: flex;
  justify-content: space-between;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 34px;
  color: var(--muted);
  font-weight: 700;
}

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

  .hero,
  .bakes-layout,
  .demo-section,
  .includes-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 42px;
  }

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

  .image-card-large {
    min-height: 430px;
  }
}

@media (max-width: 640px) {
  .site-header {
    width: calc(100% - 20px);
    margin-top: 10px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    padding-inline: 14px;
  }

  .section-shell {
    width: calc(100% - 24px);
  }

  .hero {
    gap: 28px;
    padding: 34px 0 54px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  .hero-lead,
  .section-heading p,
  .demo-copy p,
  .final-content p {
    font-size: 16px;
  }

  .btn {
    width: 100%;
  }

  .price-box,
  .order-price {
    width: 100%;
    justify-content: space-between;
  }


  .benefit-grid,
  .steps-grid,
  .reviews-grid,
  .bakes-gallery {
    grid-template-columns: 1fr;
  }

  .bakes-gallery .image-card:first-child {
    grid-row: auto;
    min-height: 260px;
  }

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

  .section {
    padding: 64px 0;
  }

  .image-card-large {
    min-height: 350px;
  }

  .final-cta {
    min-height: 620px;
  }

  .footer {
    width: calc(100% - 24px);
  }
}
