:root {
  --ivory: #fbf7f1;
  --paper: #fffdf9;
  --rose: #d89aa7;
  --rose-light: #f3dce1;
  --wine: #641d34;
  --wine-dark: #35121f;
  --ink: #21171b;
  --muted: #6e6065;
  --gold: #c6944a;
  --green: #466b5a;
  --gray-100: #f2f2f2;
  --gray-300: #d4d4d4;
  --gray-700: #4c4c4c;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--ivory);
  font-family: "DM Sans", Arial, sans-serif;
  letter-spacing: 0;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.announcement {
  height: 44px;
  display: grid;
  place-items: center;
  padding: 0 16px;
  color: #fff;
  background: var(--wine-dark);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.hero {
  position: relative;
  min-height: min(82svh, 780px);
  display: flex;
  align-items: flex-end;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background: url("assets/hero.webp") center 42% / cover no-repeat;
}
.hero-shade {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(49, 14, 26, .64);
}
.hero-content {
  width: min(var(--max), calc(100% - 48px));
  margin: 0 auto;
  padding: 72px 0 64px;
  text-align: center;
}
.eyebrow {
  margin: 0 0 12px;
  color: #f3d0a0;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.eyebrow.dark { color: var(--wine); }
.eyebrow.light { color: #f4d3a2; }
.hero h1,
h2,
.plan h3 {
  font-family: "Playfair Display", Georgia, serif;
  letter-spacing: 0;
}
.hero h1 {
  max-width: 690px;
  margin: 0 auto;
  font-size: clamp(54px, 8vw, 106px);
  line-height: .86;
}
.hero-copy {
  max-width: 600px;
  margin: 24px auto 28px;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.5;
}
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button svg { width: 18px; height: 18px; }
.button-primary { color: #fff; background: var(--wine); box-shadow: 0 5px 0 #3d1020; }
.button-primary:hover { background: #752642; transform: translateY(-1px); }
.button-wine { color: #fff; background: var(--wine); }
.button-light { color: var(--wine-dark); background: #fff; }
.button.full { width: 100%; }
.text-link { font-weight: 800; text-underline-offset: 5px; }
.hero-proof {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 26px;
  padding: 0;
  margin: 30px 0 0;
  list-style: none;
  font-size: 13px;
  font-weight: 700;
}
.hero-proof li { display: flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 17px; color: #f3d0a0; }
.hero-next {
  position: absolute;
  right: 28px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
}

.collection { padding: 52px 0 72px; overflow: hidden; background: var(--paper); }
.section-heading {
  width: min(760px, calc(100% - 40px));
  margin: 0 auto 42px;
  text-align: center;
}
.section-heading.left { width: min(800px, calc(100% - 40px)); margin: 0 auto; text-align: center; }
.section-heading h2,
.inside h2,
.guarantee h2,
.final-cta h2 {
  margin: 0;
  color: var(--wine-dark);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
}
.section-heading > p:last-child,
.inside-copy > p,
.guarantee p,
.final-cta p {
  margin: 18px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}
.rail-shell {
  width: 100%;
  margin: 14px 0;
  padding: 8px 0;
  overflow: hidden;
  border-block: 1px solid #eadbdd;
  background: #fbf2f4;
}
.rail-shell + .rail-shell { background: #f3e5e8; }
.rail {
  width: max-content;
  display: flex;
  animation: move-left 140s linear infinite;
  will-change: transform;
}
.rail-reverse {
  animation-name: move-right;
  animation-duration: 150s;
}
.rail-set {
  display: flex;
  flex: 0 0 auto;
  gap: 14px;
  padding-right: 14px;
}
.rail-shell:hover .rail,
.rail-shell:focus-within .rail { animation-play-state: paused; }
.rail-card {
  position: relative;
  width: 164px;
  aspect-ratio: 1055 / 1491;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #e4d5d3;
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(74, 35, 46, .10);
}
.rail-card img { width: 100%; height: 100%; object-fit: cover; }
.rail-card span {
  position: absolute;
  right: 6px;
  bottom: 6px;
  padding: 4px 7px;
  border-radius: 3px;
  color: #fff;
  background: var(--wine);
  font-size: 10px;
  font-weight: 800;
  font-variant-numeric: tabular-nums lining-nums;
}
@keyframes move-left { to { transform: translateX(-50%); } }
@keyframes move-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.collection-summary {
  width: min(var(--max), calc(100% - 40px));
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 54px auto 0;
  border-top: 1px solid #dfcfcd;
  border-bottom: 1px solid #dfcfcd;
}
.collection-summary div { padding: 26px 20px; text-align: center; border-right: 1px solid #dfcfcd; }
.collection-summary div:last-child { border-right: 0; }
.collection-summary strong {
  min-height: 38px;
  display: grid;
  place-items: center;
  color: var(--wine);
  font: 800 30px/1 "DM Sans", Arial, sans-serif;
  font-variant-numeric: tabular-nums lining-nums;
}
.collection-summary span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; }

.inside {
  width: min(var(--max), calc(100% - 40px));
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: 70px;
  margin: 0 auto;
  padding: 104px 0;
}
.inside-copy { text-align: center; }
.inside-copy > p { max-width: 600px; margin-left: auto; margin-right: auto; }
.feature-list { width: min(520px, 100%); display: grid; gap: 14px; padding: 0; margin: 28px auto 34px; list-style: none; }
.feature-list li { display: flex; gap: 11px; align-items: flex-start; line-height: 1.5; text-align: left; }
.feature-list svg { width: 20px; flex: 0 0 auto; color: var(--green); stroke-width: 3; }
.page-fan { position: relative; min-height: 620px; }
.page-fan img {
  position: absolute;
  width: min(55%, 335px);
  border: 8px solid #fff;
  border-radius: 5px;
  box-shadow: 0 24px 55px rgba(62, 24, 37, .18);
}
.page-fan img:nth-child(1) { left: 0; top: 90px; transform: rotate(-7deg); }
.page-fan img:nth-child(2) { left: 26%; top: 0; z-index: 2; }
.page-fan img:nth-child(3) { right: 0; top: 106px; transform: rotate(7deg); }

.categories { padding: 88px max(24px, calc((100% - var(--max)) / 2)); color: #fff; background: var(--wine-dark); }
.categories .section-heading h2 { max-width: 800px; color: #fff; }
.category-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 46px; background: #7e5260; border: 1px solid #7e5260; }
.category-grid div { min-height: 74px; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 18px; background: var(--wine-dark); font-weight: 700; text-align: center; }
.category-grid span { min-width: 34px; color: #f3d0a0; font: 800 22px/1 "DM Sans", Arial, sans-serif; font-variant-numeric: tabular-nums lining-nums; }

.steps { padding: 98px 20px; background: #f4e4e7; }
.step-list { width: min(980px, 100%); display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 0; margin: 0 auto; list-style: none; }
.step-list li { display: grid; grid-template-columns: 1fr; justify-items: center; gap: 12px; padding: 20px 28px; border-right: 1px solid #d9bcc3; text-align: center; }
.step-list li:last-child { border-right: 0; }
.step-list > li > span { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--wine); font-weight: 800; font-variant-numeric: tabular-nums lining-nums; }
.step-list h3 { margin: 0 0 8px; font-size: 19px; }
.step-list p { margin: 0; color: var(--muted); line-height: 1.55; }

.offer { padding: 100px 20px; background: var(--paper); }
.plans { width: min(940px, 100%); display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 28px; margin: 0 auto; }
.plan { position: relative; padding: 34px; border: 1px solid #ded4d3; border-radius: 8px; background: #fff; }
.plan-header { text-align: center; }
.plan-header p { margin: 0 0 6px; font-size: 13px; font-weight: 800; text-transform: uppercase; }
.plan h3 { margin: 0; font-size: 28px; text-align: center; }
.price { margin: 24px 0; font: 800 50px/1 "DM Sans", Arial, sans-serif; font-variant-numeric: tabular-nums lining-nums; text-align: center; }
.price small { margin-right: 4px; font: 700 19px "DM Sans", sans-serif; }
.plan ul { display: grid; gap: 12px; padding: 0; margin: 0 0 28px; list-style: none; }
.plan li { display: flex; gap: 9px; align-items: flex-start; line-height: 1.45; }
.plan li svg { width: 18px; flex: 0 0 auto; margin-top: 2px; }
.basic-plan { color: var(--gray-700); background: var(--gray-100); filter: grayscale(1); }
.basic-plan h3 { color: #333; }
.button-basic { width: 100%; color: #fff; background: #666; }
.premium-plan { padding-top: 48px; border: 2px solid var(--wine); box-shadow: 0 24px 60px rgba(81, 23, 44, .14); }
.premium-label { position: absolute; top: 0; left: 0; right: 0; padding: 8px; color: #fff; background: var(--wine); font-size: 11px; font-weight: 800; text-align: center; }
.premium-visual {
  width: 100%;
  height: 560px;
  object-fit: contain;
  object-position: center;
  margin: 20px 0 4px;
  border-radius: 5px;
  background: #f8e8eb;
}
.premium-plan .price { color: var(--wine); }
.premium-plan li svg { color: var(--green); stroke-width: 3; }

.guarantee {
  display: grid;
  grid-template-columns: 160px minmax(0, 720px);
  align-items: center;
  justify-content: center;
  gap: 54px;
  padding: 88px 24px;
  color: #fff;
  background: var(--green);
}
.guarantee h2 { color: #fff; }
.guarantee p { color: #e7f1eb; }
.guarantee-seal { width: 150px; height: 150px; display: grid; place-content: center; border: 2px solid #f2d5a9; border-radius: 50%; color: #f2d5a9; text-align: center; }
.guarantee > div:last-child { text-align: center; }
.guarantee-seal strong { font: 800 62px/1 "DM Sans", Arial, sans-serif; font-variant-numeric: tabular-nums lining-nums; }
.guarantee-seal span { font-weight: 800; text-transform: uppercase; }

.faq { padding: 100px 20px; background: var(--ivory); }
.faq-list { width: min(820px, 100%); margin: 0 auto; border-top: 1px solid #d8c7c5; }
.faq details { border-bottom: 1px solid #d8c7c5; }
.faq summary { min-height: 66px; display: flex; align-items: center; justify-content: space-between; gap: 20px; cursor: pointer; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary svg { width: 19px; transition: transform .2s ease; }
.faq details[open] summary svg { transform: rotate(45deg); }
.faq details p { margin: -4px 0 24px; color: var(--muted); line-height: 1.65; }

.final-cta { padding: 90px 24px; color: #fff; background: var(--wine); text-align: center; }
.final-cta h2 { color: #fff; }
.final-cta p { max-width: 660px; color: #f2dce3; }
.final-cta .button { margin-top: 30px; }
footer { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 28px; padding: 28px max(24px, calc((100% - var(--max)) / 2)); color: #c9b9be; background: #241017; font-size: 12px; text-align: center; }
footer p { margin: 0; }

.offer-modal {
  position: fixed;
  z-index: 20;
  inset: 50% auto auto 50%;
  width: min(460px, calc(100% - 32px));
  padding: 36px;
  border: 2px solid var(--wine);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 28px 80px rgba(35, 12, 20, .35);
  transform: translate(-50%, -50%);
  text-align: center;
}
.offer-modal h2 { margin: 0; color: var(--wine); font: 800 39px/1.08 "Playfair Display", Georgia, serif; }
.offer-modal p { color: var(--muted); line-height: 1.6; }
.modal-product {
  width: min(170px, 48vw);
  height: 170px;
  object-fit: contain;
  margin: 16px auto 8px;
  filter: drop-shadow(0 10px 18px rgba(100, 29, 52, .16));
}
.modal-close { position: absolute; top: 12px; right: 12px; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; color: var(--wine); background: var(--rose-light); cursor: pointer; }
.modal-price { display: flex; align-items: baseline; justify-content: center; gap: 14px; margin: 20px 0; }
.modal-price del { color: var(--muted); }
.modal-price strong { color: var(--wine); font: 800 44px/1 "DM Sans", Arial, sans-serif; font-variant-numeric: tabular-nums lining-nums; }
.modal-basic-link {
  display: inline-block;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-underline-offset: 4px;
}
.modal-backdrop { position: fixed; z-index: 19; inset: 0; background: rgba(33, 23, 27, .64); }
[hidden] { display: none !important; }

@media (max-width: 820px) {
  .hero { min-height: 82svh; background-position: 52% 38%; }
  .hero-content { width: calc(100% - 32px); padding: 48px 0 44px; }
  .hero h1 { font-size: clamp(52px, 17vw, 76px); }
  .hero-copy { max-width: 92%; font-size: 17px; }
  .hero-next { display: none; }
  .rail-card { width: 132px; }
  .collection-summary { grid-template-columns: repeat(2, 1fr); }
  .collection-summary div:nth-child(2) { border-right: 0; }
  .collection-summary div:nth-child(-n+2) { border-bottom: 1px solid #dfcfcd; }
  .inside { grid-template-columns: 1fr; gap: 46px; padding: 78px 0; }
  .page-fan { min-height: 480px; }
  .page-fan img { width: 52%; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .step-list { grid-template-columns: 1fr; }
  .step-list li { border-right: 0; border-bottom: 1px solid #d9bcc3; }
  .step-list li:last-child { border-bottom: 0; }
  .plans { grid-template-columns: 1fr; }
  .basic-plan { order: 2; }
  .guarantee { grid-template-columns: 1fr; gap: 28px; text-align: center; }
  .guarantee-seal { margin: 0 auto; }
}

@media (max-width: 520px) {
  .announcement { height: 42px; font-size: 10px; }
  .hero { min-height: 80svh; background-position: 50% 36%; }
  .hero-shade { background: rgba(49, 14, 26, .70); }
  .hero h1 { font-size: clamp(48px, 18vw, 66px); }
  .hero-copy { margin: 18px 0 22px; }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .text-link { text-align: center; }
  .hero-proof { gap: 10px 16px; font-size: 11px; }
  .collection { padding-top: 44px; }
  .section-heading { margin-bottom: 32px; }
  .section-heading h2,
  .inside h2,
  .guarantee h2,
  .final-cta h2 { font-size: 38px; }
  .rail-card { width: 112px; }
  .inside { width: calc(100% - 32px); }
  .page-fan { min-height: 390px; }
  .page-fan img { border-width: 5px; }
  .category-grid { grid-template-columns: 1fr; }
  .category-grid div { min-height: 60px; }
  .plan { padding: 26px 22px; }
  .premium-plan { padding-top: 46px; }
  .premium-visual { height: min(118vw, 500px); }
  .offer-modal { max-height: calc(100svh - 24px); overflow-y: auto; padding: 30px 22px 24px; }
  .offer-modal h2 { font-size: 32px; }
  .modal-product { width: 132px; height: 132px; margin-top: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition-duration: .01ms !important; }
}
