/* Mother's Day sleep-plan offer. The shared script controls one fixed window. */
[data-md-active] { display:none !important; }
html.md-offer-active [data-md-active] { display:var(--md-display, block) !important; }
html.md-offer-active [data-md-inactive] { display:none !important; }
.md-inline { --md-display:inline; }
.md-flex { --md-display:flex; }
.md-plan-page .hero-copy { min-width:0; }
.md-plan-page .hero-brand-logo img { max-width:100%; height:auto; }
.md-plan-page .hero-kicker { max-width:100%; white-space:normal; }
@media(max-width:980px) {
  .md-plan-page .hero-grid { grid-template-columns:minmax(0,1fr); }
}

.md-greeting {
  margin:0 0 12px;
  color:#8a4e5a;
  font-family:var(--serif, Georgia, 'Times New Roman', serif);
  font-size:clamp(34px, 4.2vw, 54px);
  font-weight:500;
  line-height:1.12;
  letter-spacing:-.035em;
  overflow-wrap:normal;
}
.md-greeting .md-word {
  display:inline-block;
  animation:md-word-arrive .68s cubic-bezier(.2,.7,.3,1) both;
}
.md-greeting .md-word:nth-child(2) { animation-delay:.14s; }
.md-greeting .md-word:nth-child(3) { animation-delay:.28s; }
.md-greeting--compact { margin:0; font-size:clamp(28px, 2.8vw, 39px); }
@keyframes md-word-arrive {
  from { opacity:0; transform:translateY(8px); }
  to { opacity:1; transform:translateY(0); }
}

.md-offer-card,
.md-checkout-card {
  min-width:0;
  padding:clamp(22px, 3vw, 34px);
  border:1px solid #e4c6c5;
  border-radius:28px;
  background:linear-gradient(135deg,#fffaf5 0%,#faeceb 58%,#f0eee2 100%);
  box-shadow:0 12px 35px rgba(104,72,60,.07);
  color:#3f302a;
}
.md-offer-card { margin:24px 0; }
.md-eyebrow {
  margin:0 0 10px;
  color:#705142;
  font-size:11px;
  line-height:1.6;
  letter-spacing:.12em;
  text-transform:uppercase;
  font-weight:800;
}
.md-prices {
  display:flex;
  align-items:baseline;
  flex-wrap:wrap;
  gap:5px 12px;
  margin:10px 0 15px;
  color:#68483c;
  font-size:clamp(26px, 3.1vw, 41px);
  line-height:1.25;
  letter-spacing:-.045em;
}
.md-prices strong { font-size:inherit; font-weight:800; white-space:nowrap; }
.md-prices>span { font-size:.65em; color:#9b7c6f; }
.md-timer {
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  gap:6px 12px;
  margin:14px 0 5px;
  color:#615046;
  font-size:13px;
  line-height:1.5;
}
.md-timer [data-md-countdown] {
  display:inline-block;
  min-width:8ch;
  font-family:ui-monospace, SFMono-Regular, Consolas, monospace;
  font-variant-numeric:tabular-nums;
  font-size:23px;
  font-weight:700;
  letter-spacing:.03em;
  line-height:1.25;
  color:#556342;
  white-space:nowrap;
}
.md-deadline {
  margin:4px 0 0;
  color:#736058;
  font-size:12px;
  line-height:1.6;
  overflow-wrap:anywhere;
}
.md-payment-actions {
  --md-display:flex;
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:12px;
  margin:20px 0 0;
}
.md-payment-actions .btn { min-width:0; max-width:100%; }
.md-payment-note {
  margin:13px 0 0;
  color:#66534a;
  font-size:14px;
  line-height:1.65;
}
.md-payment-panel { scroll-margin-top:100px; }
.md-checkout-card { max-width:800px; margin:0 auto; }
.md-checkout-card h3 {
  margin:0 0 12px;
  color:#3f2d27;
  font-size:clamp(25px, 3.2vw, 36px);
  font-weight:600;
  line-height:1.2;
  letter-spacing:-.025em;
}
.md-process {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:16px;
  padding:0;
  margin:28px 0 0;
  list-style:none;
}
.md-process li {
  display:flex;
  align-items:flex-start;
  gap:12px;
  min-width:0;
  padding:20px;
  border:1px solid rgba(104,72,60,.12);
  border-radius:22px;
  background:rgba(255,253,249,.8);
}
.md-process li>span {
  display:grid;
  place-items:center;
  flex:0 0 34px;
  height:34px;
  border-radius:11px;
  background:#e6ecd9;
  color:#556342;
  font-size:12px;
  font-weight:800;
}
.md-process li>div { min-width:0; }
.md-process h3 { margin:0 0 7px; font-size:17px; line-height:1.35; color:#4b352b; }
.md-process p { margin:0; font-size:13px; line-height:1.65; color:#705e54; }
.md-fallback {
  padding:20px 24px;
  margin:20px 0;
  border:1px solid #d4dcc7;
  border-radius:22px;
  background:#f1f3e9;
  color:#4c563d;
}
.md-fallback p { margin:0 0 14px; }
.md-fallback p:last-child { margin-bottom:0; }

.md-home-banner {
  background:linear-gradient(110deg,#f8e9e5 0%,#fcf4e8 56%,#e8ecdf 100%);
  color:#3f302a;
  border-bottom:1px solid #decfc1;
}
.md-home-banner>a.wrap {
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;
  align-items:center;
  gap:24px;
  min-height:130px;
  padding-top:22px;
  padding-bottom:22px;
  color:inherit;
  text-decoration:none;
}
.md-home-banner .md-eyebrow { display:block; margin-bottom:6px; }
.md-home-banner .md-prices { margin:6px 0 0; font-size:29px; gap:5px 10px; }
.md-home-banner .md-deadline { font-size:11px; }
.md-home-banner .home-plan-cta { white-space:normal; text-align:center; }
.md-home-banner>a:hover .home-plan-cta { background:#8c3b27; }
.md-home-banner>a:focus-visible { outline:3px solid #556342; outline-offset:-5px; }
.product-card-plan .plan-card-price .md-prices { margin:0; gap:4px 7px; font-size:23px; }
.product-card-plan .plan-card-price .md-prices>span { font-size:16px; }

@media(max-width:950px) {
  .md-home-banner>a.wrap { grid-template-columns:minmax(0,1fr) auto; gap:15px 24px; }
  .md-home-banner>a.wrap>div:first-child { grid-column:1/-1; }
  .md-process { grid-template-columns:1fr; gap:12px; }
}
@media(max-width:600px) {
  .md-offer-card,.md-checkout-card { padding:21px 18px; border-radius:23px; }
  .md-greeting { font-size:35px; }
  .md-greeting--compact { font-size:32px; }
  .md-prices { font-size:31px; gap:5px 9px; }
  .md-payment-actions { flex-direction:column; align-items:stretch; }
  .md-payment-actions .btn { width:100%; }
  .md-process li { padding:18px; }
  .md-fallback { padding:20px 18px; }
  .md-home-banner>a.wrap { padding-top:19px; padding-bottom:19px; gap:14px; }
  .md-home-banner .md-prices { font-size:25px; gap:4px 7px; }
  .md-home-banner .home-plan-cta { padding:11px 13px; min-height:46px; font-size:13px; }
}
@media(max-width:380px) {
  .md-greeting { font-size:31px; }
  .md-prices { font-size:27px; }
  .md-home-banner>a.wrap { grid-template-columns:1fr; }
  .md-home-banner>a.wrap>div:first-child { grid-column:auto; }
  .md-home-banner .home-plan-cta { justify-self:start; }
  .md-timer { gap:5px 9px; }
}
@media(prefers-reduced-motion:reduce) {
  .md-greeting .md-word { animation:none; opacity:1; transform:none; }
  .md-payment-actions .btn { transition:none; }
  .md-payment-actions .btn:hover { transform:none; }
}

/* Both currencies remain visible without increasing the mobile bar height. */
.md-sticky-payments {
  --md-display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:8px;
}
.md-sticky-payments .btn {
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:3px;
  min-width:0;
  min-height:54px;
  margin:0;
  padding:8px 10px;
  font-size:12px;
  line-height:1.2;
  text-align:center;
  white-space:normal;
}
.md-sticky-payments .btn strong { font-size:16px; white-space:nowrap; }
@media(max-width:600px) {
  .md-plan-page .hero-actions>.md-inline { width:100%; }
}
