:root {
  --bg: #f3f4f6;
  --ink: #111111;
  --muted: #4b4b4b;
  --wine: #63091b;
  --wine-hover: #390610;
  --line: #e4e5e8;
  --card: #ffffff;
  --cream: #f6f1ea;
  --sage: #d5e3d4;
  --sand: #ead8c8;
  --soft: #f7f4f1;
  --shadow: 0 18px 40px rgba(17, 17, 17, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Manrope, Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.5;
}
img { max-width: 100%; }
a { color: inherit; }
button, a { font-family: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid var(--wine); outline-offset: 3px; }
.wrap { width: min(1160px, calc(100% - 48px)); margin-inline: auto; }
.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--ink);
  color: white;
  padding: 10px 14px;
  z-index: 5;
}
.skip:focus { left: 8px; }

.top, .home-head { text-align: center; }
.home-head { padding: 22px 0 0; }
.logo { display: inline-flex; align-items: center; gap: 10px; line-height: 1; text-decoration: none; color: #111; }
.logo-mark { width: 42px; height: 42px; border-radius: 12px; background: var(--wine); display: grid; place-items: center; flex: none; }
.logo-mark svg { display: block; width: 22px; height: 22px; }
.logo-mark svg rect { fill: #fff; }
.logo-word { font-size: 26px; font-weight: 700; letter-spacing: -0.045em; }
.logo-word em { font-style: normal; font-weight: 600; color: var(--wine); }
.home-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 34px;
  padding: 6px 0 8px;
}
.home-nav a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  color: #222;
}
.home-nav a:hover { color: var(--wine); }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
  gap: 28px;
  align-items: center;
  padding: 28px 0 12px;
}
.hero-copy { text-align: center; max-width: 640px; margin-inline: auto; }
.hero h1 {
  margin: 0 0 16px;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.lead {
  margin: 0 auto 28px;
  max-width: 540px;
  font-size: 17px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  text-decoration: none;
  color: white;
  background: var(--wine);
  transition: background 0.15s ease;
}
.btn:hover { background: var(--wine-hover); }
.btn-lg { border-radius: 10px; padding: 18px 60px; font-size: 18px; font-weight: 600; }
.btn-pay { border-radius: 5px; padding: 12px 30px; font-size: 15px; font-weight: 500; }
.btn[aria-disabled="true"] { background: #c4b4b7; pointer-events: none; }

.perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px 48px;
  padding: 54px 8% 18px;
  text-align: center;
}
.perks h2 { margin: 0 0 8px; font-size: 22px; font-weight: 600; }
.perks p { margin: 0; font-size: 16px; font-weight: 300; }

.section { padding: 78px 0 10px; }
.section h2, .band h2 {
  margin: 0 0 14px;
  font-size: 42px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
}
.section-lead {
  margin: 0 0 36px;
  max-width: 640px;
  font-size: 17px;
  font-weight: 300;
}

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.product h3 { margin: 18px 0 8px; font-size: 22px; font-weight: 600; }
.product .desc { margin: 0 0 14px; min-height: 72px; font-size: 16px; font-weight: 300; }
.price { margin: 0 0 14px; font-size: 18px; font-weight: 500; }
.more {
  display: block;
  margin: 14px 0 0;
  padding: 0;
  border: 0;
  background: none;
  color: #333;
  font-size: 14px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.note { margin: 28px 0 0; font-size: 13px; font-weight: 300; color: #666; }

.shot {
  background: var(--card);
  border-radius: 18px;
  aspect-ratio: 1;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding: 16px;
}
.sheet { height: 100%; background: var(--cream); border-radius: 12px; padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sheet-top { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.sheet-top b { font-size: 12px; letter-spacing: 0.04em; color: var(--wine); }
.sheet-top span { font-size: 11px; color: #7a6a62; font-weight: 500; }
.days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; flex: 1; }
.days i { display: block; border-radius: 4px; background: white; position: relative; }
.days i::after { content: ""; position: absolute; left: 12%; right: 12%; top: 18%; height: 4px; border-radius: 4px; background: var(--sage); box-shadow: 0 10px #efe6dc, 0 20px #efe6dc; }
.days i:nth-child(6), .days i:nth-child(7) { background: #f3ebe3; }
.meter { height: 8px; border-radius: 99px; background: #efe6dc; overflow: hidden; }
.meter span { display: block; height: 100%; width: 68%; background: #8eaa8c; border-radius: inherit; }
.month-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; flex: 1; }
.month-grid i { display: block; border-radius: 3px; background: white; min-height: 16px; }
.month-grid i:nth-child(5n) { background: var(--sand); }
.month-grid i:nth-child(9), .month-grid i:nth-child(16) { background: #b7cdb4; }
.metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.metrics div { background: white; border-radius: 8px; padding: 8px 6px; }
.metrics small, .metrics b { display: block; }
.metrics small { font-size: 10px; color: #7a6a62; }
.metrics b { font-size: 13px; margin-top: 2px; white-space: nowrap; }
.dialog-close:focus-visible { outline: 2px solid var(--wine); outline-offset: 2px; }
.metrics div:nth-child(2) { background: #f3e4dc; }
.metrics div:nth-child(3) { background: var(--sage); }
.rows { display: flex; flex-direction: column; gap: 6px; }
.rows span { display: block; height: 10px; border-radius: 99px; background: #c9857a; }
.rows span:nth-child(2) { width: 72%; background: #d7b39a; }
.rows span:nth-child(3) { width: 46%; background: #8eaa8c; }
.rows span:nth-child(4) { width: 30%; background: #cfc3b6; }

.hero-art { position: relative; height: 420px; }
.float {
  position: absolute;
  background: white;
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 12px;
}
.float .sheet { border-radius: 10px; }
.f-week { width: 62%; height: 250px; right: 0; top: 18px; transform: rotate(4deg); }
.f-budget { width: 54%; height: 210px; left: 0; bottom: 18px; transform: rotate(-6deg); }
.f-month { width: 42%; height: 168px; left: 18%; top: 8px; transform: rotate(-2deg); }

.split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 48px; align-items: center; }
.reasons { display: grid; gap: 22px; margin-top: 28px; }
.reasons article h3 { margin: 0 0 6px; font-size: 20px; font-weight: 600; }
.reasons p, .steps p, .fit p { margin: 0; font-size: 16px; font-weight: 300; color: var(--muted); }
.shot.panel { aspect-ratio: auto; height: 360px; }

.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
.steps article { text-align: center; }
.num {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--wine);
  color: white;
  font-weight: 600;
}
.steps h3, .fit h3 { margin: 0 0 8px; font-size: 18px; font-weight: 600; color: var(--ink); }
.fit { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
.fit article { background: white; border-radius: 16px; padding: 26px 24px; }

.faq { max-width: 820px; }
.faq details { border-bottom: 1px solid #d9dbdf; padding: 18px 0; }
.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  font-weight: 600;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 26px; line-height: 1; color: var(--wine); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 12px 0 4px; font-weight: 300; color: var(--muted); }
.faq a { color: var(--wine); }

.band { text-align: center; padding: 28px 0 72px; }
.band p { margin: 0 auto 22px; max-width: 520px; font-weight: 300; }

.site-footer { text-align: center; padding: 10px 0 48px; color: #444; }
.site-footer .logo-mark { width: 32px; height: 32px; border-radius: 9px; }
.site-footer .logo-mark svg { width: 16px; height: 16px; }
.site-footer .logo-word { font-size: 18px; }
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 22px; margin: 14px 0; }
.foot-links a { color: var(--wine); text-decoration: none; font-size: 14px; font-weight: 500; }
.foot-links a:hover { text-decoration: underline; }
.fine { margin: 0; font-size: 13px; font-weight: 300; color: #555; }
.fine a { color: var(--wine); }

dialog {
  border: 0;
  border-radius: 18px;
  padding: 0;
  width: min(560px, calc(100% - 28px));
  max-height: min(88vh, 720px);
  background: white;
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}
dialog::backdrop { background: rgba(17, 17, 17, 0.45); }
.dialog-pad { padding: 28px; }
.dialog-close {
  float: right;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: var(--bg);
  font-size: 22px;
  line-height: 1;
}
.dialog-tag { font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--wine); }
dialog h2 { margin: 10px 0 12px; font-size: 32px; font-weight: 600; letter-spacing: -0.03em; }
dialog p, dialog li { font-weight: 300; color: var(--muted); }
dialog .price { color: var(--ink); margin-top: 8px; }
dialog .btn { margin-top: 8px; }

.doc .top { padding: 28px 0 0; }
.doc .logo-mark { width: 36px; height: 36px; }
.doc .logo-word { font-size: 22px; }
.doc-main { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 36px 0 28px; }
.doc-main .eyebrow, .doc .eyebrow { font-size: 12px; letter-spacing: 0.14em; font-weight: 600; text-transform: uppercase; color: var(--wine); }
.doc-main h1 { margin: 12px 0 14px; font-size: clamp(32px, 5vw, 42px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; }
.doc-main h2 { margin: 32px 0 10px; font-size: 24px; font-weight: 600; }
.doc-main p, .doc-main li { max-width: 78ch; }
.doc-main a { color: var(--wine); }
.doc-main .date, .doc-main .intro { color: var(--muted); font-weight: 300; }
.doc .card, .doc-main .notice {
  background: white;
  border-radius: 16px;
  padding: 26px;
}
.doc-main .notice { margin: 24px 0; }
.doc .card { margin: 22px 0; }
.doc .card h2 { margin-top: 0; }
.doc .email { font-size: clamp(18px, 3vw, 24px); font-weight: 600; overflow-wrap: anywhere; }
.doc .reference {
  font-family: ui-monospace, SFMono-Regular, monospace;
  overflow-wrap: anywhere;
  background: var(--bg);
  border-radius: 8px;
  padding: 12px;
  display: inline-block;
}
.doc .button {
  display: inline-block;
  margin-top: 8px;
  background: var(--wine);
  color: white;
  padding: 12px 22px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
}
.doc .button:hover { background: var(--wine-hover); }
.doc dl { margin: 0; display: grid; gap: 14px; }
.doc dl div { border-top: 1px solid var(--line); padding-top: 12px; }
.doc dt { font-size: 13px; color: var(--muted); }
.doc dd { margin: 3px 0 0; font-size: 17px; font-weight: 600; overflow-wrap: anywhere; }
.doc .back { display: inline-block; margin-top: 28px; font-weight: 600; color: var(--wine); }
.doc .links {
  width: min(820px, calc(100% - 40px));
  margin: 0 auto;
  display: flex;
  gap: 16px 22px;
  flex-wrap: wrap;
  padding: 8px 0 48px;
  font-size: 14px;
  font-weight: 500;
}
.doc .links a { color: var(--wine); text-decoration: none; }
.doc .links a:hover { text-decoration: underline; }
.doc footer { width: min(820px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 36px; font-size: 13px; color: #555; }

@media (max-width: 980px) {
  .hero, .split, .products, .steps, .fit, .perks { grid-template-columns: 1fr 1fr; }
  .hero { grid-template-columns: 1fr; }
  .hero-art {
    height: auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 640px;
    margin: 12px auto 0;
  }
  .float { position: relative; inset: auto; transform: none; width: auto; height: 210px; }
  .f-month { grid-column: 1 / -1; height: 150px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .product .desc { min-height: 0; }
  .panel { height: 280px; }
  .section h2, .band h2, .hero h1 { font-size: 34px; }
}

@media (max-width: 680px) {
  .wrap { width: min(1160px, calc(100% - 32px)); }
  .logo-word, .doc .logo-word { font-size: 20px; }
  .logo-mark, .doc .logo-mark { width: 34px; height: 34px; }
  .home-nav { gap: 8px 16px; }
  .home-nav a { font-size: 14px; }
  .hero { padding-top: 16px; }
  .hero h1, .section h2, .band h2 { font-size: 30px; }
  .btn-lg { padding: 16px 28px; font-size: 16px; width: 100%; }
  .perks, .products, .steps, .fit, .split { grid-template-columns: 1fr; }
  .perks { padding-inline: 0; }
  .section { padding-top: 56px; }
  .hero-art {
    height: auto;
    display: grid;
    gap: 12px;
    max-width: 420px;
  }
  .float {
    position: relative;
    inset: auto;
    transform: none;
    width: auto;
    height: 176px;
  }
  .f-month { display: none; }
  .faq summary { font-size: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
