/* Quiet Night Dreams — lavender advertorial (single-column editorial layout) */
:root {
  --plum: #2e2152;
  --plum-2: #3b2a63;
  --lav: #8a74d0;
  --lav-deep: #6a52b8;
  --lav-soft: #e9e3fb;
  --text: #111;
  --h2: #1c1c1c;
  --band: radial-gradient(900px 500px at 85% 15%, rgba(201, 189, 240, .55), transparent 60%),
          radial-gradient(700px 500px at 5% 90%, rgba(46, 33, 82, .55), transparent 65%),
          linear-gradient(135deg, #3b2a63 0%, #6a52b8 55%, #9a86e0 100%);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: "Inter", "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.5; color: var(--text); background: #fff; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--lav-deep); }
p { margin: 0 0 20px; line-height: 24px; }
strong { font-weight: 700; }

.wide { width: min(950px, 100% - 40px); margin-inline: auto; }
.col { width: min(792px, 100% - 40px); margin-inline: auto; }

/* Header band */
.top { position: relative; color: #fff; }
.top::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 600px; background: var(--band); z-index: -1; }
.top.short::before { height: 100%; }
.logo { display: flex; justify-content: center; padding: 18px 0 14px; }
.logo a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo svg { width: 34px; height: 34px; }
.logo .word { font-family: "Lora", Georgia, serif; font-size: 1.5rem; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.logo .word span { font-style: italic; font-weight: 500; color: #e6defc; }
.label { font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; margin: 6px 0 12px; }
.top h1 { font-size: 30px; line-height: 1.15; font-weight: 700; color: #fff; margin: 0 0 20px; }
.byline { font-size: 11px; line-height: 1.3; margin-bottom: 14px; }
.byline .by { font-size: 12px; font-weight: 700; }
.byline .by u { text-decoration-thickness: 1px; }
.hero-img { display: block; }
.hero-img img { width: 100%; }

/* Article */
.article { padding: 30px 0 10px; }
.article h2 { font-size: 26px; font-weight: 400; color: var(--h2); line-height: 1.25; margin: 28px 0 18px; }
.article p a { color: var(--lav-deep); }
.pic { display: block; margin: 0 0 24px; }
.pic img { width: 100%; }

/* Warning box */
.warn { background: var(--band); padding: 32px; margin: 30px auto; border-radius: 3px; }
.warn-inner { background: #fff; padding: 32px; }
.warn h2 { font-size: 26px; font-weight: 400; color: var(--h2); line-height: 1.25; margin: 0 0 22px; }
.warn p { font-size: 15px; line-height: 1.5; margin-bottom: 22px; }
.warn p:last-child { margin-bottom: 0; }
.warn a { font-weight: 700; color: var(--lav-deep); }

/* CTA */
.cta { display: block; text-align: center; text-decoration: none; text-transform: uppercase; letter-spacing: .1em; font-size: 18px; font-weight: 500; color: var(--lav-deep); background: var(--lav-soft); border: 1px solid var(--lav-deep); border-radius: 30px; padding: 18px 20px; margin: 0 auto 32px; transition: background .2s, color .2s; }
.cta:hover { background: var(--lav-deep); color: #fff; }

/* Footer */
.footer { background: var(--plum); color: #fff; padding: 46px 0 110px; }
.footer .logo { justify-content: flex-start; padding: 0 0 36px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px 0; font-size: 9px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.footer-links li { display: flex; align-items: center; }
.footer-links li + li::before { content: "/"; margin: 0 12px; opacity: .45; }
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.footer-links .copy { color: #b8acd9; }
.disclaimer { padding: 24px 0 120px; }
.disclaimer h6 { margin: 0; font-size: 10.7px; font-weight: 700; line-height: 1.25; color: #000; }

/* Sticky bar */
.sticky { position: fixed; left: 14px; right: 14px; bottom: 16px; z-index: 50; height: 60px; border-radius: 40px; background: var(--band); border: 1px solid rgba(255, 255, 255, .35); display: flex; align-items: center; justify-content: space-between; padding: 0 12px 0 36px; box-shadow: 0 10px 30px -10px rgba(46, 33, 82, .6); transform: translateY(140%); transition: transform .35s; }
.sticky.show { transform: none; }
.sticky .logo { padding: 0; }
.sticky-btn { background: #fff; color: var(--lav-deep); text-decoration: none; font-size: 15px; border-radius: 30px; padding: 10px 24px; white-space: nowrap; }
.sticky-btn:hover { background: var(--lav-soft); }

/* Subpages */
.page-body { padding: 34px 0 20px; }
.page-body h2 { font-size: 22px; font-weight: 400; color: var(--h2); margin: 28px 0 14px; }
.page-body ul, .page-body ol { padding-left: 1.2em; margin: 0 0 20px; }
.page-body li { margin-bottom: 8px; line-height: 24px; }
.updated { color: #666; font-size: 13px; }
.note { background: var(--lav-soft); border-left: 4px solid var(--lav); padding: 14px 18px; margin: 0 0 22px; }
.note p:last-child { margin: 0; }
.contact-list { display: grid; gap: 14px; margin: 0 0 24px; }
.contact-list div { border: 1px solid #e3dcf6; border-radius: 8px; padding: 16px 18px; overflow-wrap: anywhere; }
.contact-list h3 { margin: 0 0 6px; font-size: 17px; }
.contact-list p { margin: 0; }

@media (max-width: 640px) {
  .wide, .col { width: calc(100% - 32px); }
  .top::before { height: 540px; }
  .top h1 { font-size: 24px; }
  body { font-size: 17px; }
  p { line-height: 1.45; }
  .hero-img { margin-inline: -16px; }
  .article h2, .warn h2 { font-size: 22px; }
  .warn { padding: 14px; margin-inline: 0; width: 100%; }
  .warn-inner { padding: 22px 18px; }
  .cta { font-size: 15px; padding: 16px 12px; }
  .sticky { left: 10px; right: 10px; bottom: 10px; padding-left: 18px; height: 56px; }
  .sticky .logo .word { font-size: 1rem; white-space: nowrap; }
  .sticky .logo svg { width: 28px; height: 28px; }
  .sticky-btn { font-size: 14px; padding: 9px 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .sticky, .cta { transition: none; }
}
