/* RIF Essentials Light sales page. HOM palette (heartofmarriage.org globals): plum #642B6C, rose #CA6B99,
   ink #281135, background #FBF7FF. Headings Playfair Display (not thin), text Source Sans 3. */
:root {
  --plum: #642B6C; --plum-deep: #3E1645; --rose: #CA6B99; --ink: #281135; --muted: #5E4A66;
  --bg: #FFFFFF; --tint: #FBF7FF; --line: #E9DDF0; --gold: #C9A45C;
  --radius: 18px; --shadow: 0 10px 30px rgba(62, 22, 69, .08);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 18px/1.65 "Source Sans 3", Tahoma, sans-serif; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 600; line-height: 1.2; margin: 0 0 .6em; color: var(--plum-deep); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1em; }
a { color: var(--plum); }
.wrap { width: min(1100px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(720px, 100% - 32px); }
.center { text-align: center; }
.soft { color: var(--muted); }
.small { font-size: .9rem; color: var(--muted); margin-top: 1em; }
.section { padding: clamp(56px, 8vw, 96px) 0; }
.tint { background: var(--tint); }

/* buttons */
.btn { display: inline-block; border: 0; cursor: pointer; text-decoration: none; text-align: center;
  background: var(--plum); color: #fff; font: 700 1.05rem/1 "Source Sans 3", sans-serif; padding: 18px 34px;
  border-radius: 999px; box-shadow: 0 6px 18px rgba(100, 43, 108, .28); transition: transform .15s, background .15s; }
.btn:hover { background: var(--plum-deep); transform: translateY(-1px); }
.btn:focus-visible, .panel-close:focus-visible, summary:focus-visible { outline: 3px solid var(--rose); outline-offset: 3px; }
.btn-light { background: #fff; color: var(--plum-deep); }
.btn-light:hover { background: #F6ECF8; }
.btn-small { padding: 11px 20px; font-size: .95rem; box-shadow: none; }
.btn-wide { display: block; width: 100%; }
.btn-ghost { background: transparent; color: var(--plum); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: var(--tint); }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255, 255, 255, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; gap: 24px; height: 68px; }
.nav-logo img { width: 70px; }
.nav-links { display: flex; gap: 24px; margin-left: auto; }
.nav-links a { color: var(--ink); text-decoration: none; font-weight: 600; font-size: .95rem; }
.nav-links a:hover { color: var(--plum); }

/* hero */
.hero { background: radial-gradient(1200px 500px at 80% -10%, #8C4A93 0%, transparent 60%), linear-gradient(160deg, var(--plum-deep), var(--plum)); color: #fff; text-align: center; padding: clamp(80px, 12vw, 140px) 0; }
.hero h1 { color: #fff; font-size: clamp(2.6rem, 7vw, 4.6rem); font-weight: 700; margin-bottom: .3em; }
.hero-in { max-width: 820px; }
.hero-sub { font-size: clamp(1.2rem, 2.4vw, 1.5rem); margin-bottom: .8em; }
.hero-note { color: #EBD9EE; max-width: 600px; margin: 0 auto 2.2em; }
.eyebrow { display: inline-block; font-weight: 700; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: rgba(255, 255, 255, .14); padding: 7px 16px; border-radius: 999px; margin-bottom: 1.4em; }
.eyebrow.dark { color: var(--plum); background: #F4E8F6; }

/* opening */
.prose .big { font-family: "Playfair Display", Georgia, serif; font-size: 1.5rem; color: var(--plum-deep); }
.prose .turn { font-family: "Playfair Display", Georgia, serif; font-style: italic; font-size: 1.6rem; color: var(--rose); margin: 1.4em 0; }
.pull { margin: 1.6em 0; padding: 28px 32px; background: var(--tint); border-radius: var(--radius); font-family: "Playfair Display", Georgia, serif; font-size: 1.25rem; line-height: 1.5; color: var(--plum-deep); }

/* outcomes */
.outcomes { list-style: none; padding: 0; margin: 2em auto 0; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.outcomes li { background: #fff; border-radius: var(--radius); padding: 28px 26px 28px 66px; position: relative; box-shadow: var(--shadow); font-weight: 600; }
.outcomes li::before { content: ""; position: absolute; left: 24px; top: 30px; width: 26px; height: 26px; border-radius: 50%;
  background: var(--plum) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/16px no-repeat; }

/* topics */
.topics { list-style: none; padding: 0; margin: 2em 0 2.5em; display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.topics li { display: flex; gap: 18px; padding: 26px; border-radius: var(--radius); background: var(--tint); }
.topics .num { flex: none; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--plum);
  font: 700 1.2rem/1 "Playfair Display", serif; box-shadow: 0 2px 8px rgba(62, 22, 69, .1); }
.topics h3 { margin-bottom: .35em; }
.topics p { margin: 0; color: var(--muted); }

/* steps */
.steps { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 2em 0 1.5em; }
.step { background: #fff; border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow); }
.step p { margin: 0; color: var(--muted); }

/* gifts */
.gifts { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 2em 0; }
.gift { border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.gift p { margin: 0; color: var(--muted); }
.he { font-weight: 500; font-style: italic; color: var(--rose); }
.highlight { background: linear-gradient(135deg, #F7E9F1, #F1E6F7); border-radius: var(--radius); padding: 26px 30px; text-align: center; font-size: 1.15rem; color: var(--plum-deep); }

/* about */
.about { display: grid; gap: 40px; grid-template-columns: 1fr 1.1fr; align-items: center; }
.about-img { border-radius: var(--radius); box-shadow: var(--shadow); }
.endorse { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 48px; }
figure { margin: 0; }
.endorse figure, .quotes figure { background: #fff; border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
blockquote { margin: 0 0 1.2em; font-style: italic; }
figcaption { margin-top: auto; font-weight: 700; color: var(--plum-deep); }
figcaption span { display: block; font-weight: 400; color: var(--muted); font-size: .92rem; }

/* testimonials */
.quotes { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 2em; }
.quotes figure { background: var(--tint); box-shadow: none; }

/* price */
.price-sec { background: linear-gradient(180deg, #fff, var(--tint)); }
.price-card { background: #fff; border-radius: 24px; padding: clamp(32px, 5vw, 52px); text-align: center; box-shadow: 0 18px 50px rgba(62, 22, 69, .12); }
.price-card .was { color: var(--muted); }
.amount { font: 700 clamp(3.4rem, 9vw, 4.6rem)/1 "Playfair Display", serif; color: var(--plum-deep); margin: .1em 0 .3em; }

/* questions */
details { background: #fff; border-radius: 14px; padding: 4px 24px; margin-bottom: 12px; box-shadow: 0 2px 10px rgba(62, 22, 69, .05); }
summary { cursor: pointer; font-weight: 700; padding: 18px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--plum); font-size: 1.4rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { color: var(--muted); }

.foot { background: var(--plum-deep); color: #E3D2E7; text-align: center; padding: 28px 0; font-size: .95rem; }

/* premium panel: slides in from the right on desktop, up from the bottom on phones */
.overlay { position: fixed; inset: 0; background: rgba(40, 17, 53, .45); opacity: 0; transition: opacity .3s; z-index: 40; }
.overlay.open { opacity: 1; }
.panel { position: fixed; z-index: 50; top: 0; right: 0; height: 100%; width: min(460px, 100%); background: #fff; overflow-y: auto;
  padding: 44px 36px 36px; box-shadow: -10px 0 40px rgba(40, 17, 53, .2); transform: translateX(100%); transition: transform .3s ease; }
.panel.open { transform: none; }
.panel h2 { font-size: 1.9rem; }
.panel-close { position: absolute; top: 14px; right: 16px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: var(--tint);
  font-size: 1.6rem; line-height: 1; color: var(--plum-deep); cursor: pointer; }
.checks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.checks li { position: relative; padding: 8px 0 8px 32px; border-bottom: 1px solid var(--line); }
.checks li::before { content: ""; position: absolute; left: 0; top: 13px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--rose) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }
.panel-price { font: 600 1.25rem/1.3 "Playfair Display", serif; color: var(--plum-deep); }
.panel-alt { display: block; text-align: center; margin: 14px 0 0; font-weight: 600; }
.panel hr { border: 0; border-top: 1px solid var(--line); margin: 26px 0; }

/* ---- decoration (Hendy 2026-11-18: "no deco/images") ---- */
.hero { background: linear-gradient(180deg, rgba(48, 14, 56, .62), rgba(62, 22, 69, .82)), url("/img/hero-flowers.jpg") center/cover; }
.flame { width: 1.05em; height: 1.05em; vertical-align: -.15em; margin-right: .45em; color: #F3C46B; }
.big-flame { display: block; width: 34px; height: 34px; margin: 0 auto 10px; color: #E0A43C; }
.section h2.center::after, .about-text h2::after { content: ""; display: block; width: 240px; max-width: 70%; height: 14px; margin: 16px auto 0;
  background: url("/img/heartline.png") center/contain no-repeat; }
.about-text h2::after { margin-left: 0; }
.band { background: linear-gradient(90deg, rgba(28, 10, 34, .82) 0%, rgba(28, 10, 34, .55) 100%), url("/img/rose.jpg") center/cover;
  color: #fff; padding: clamp(70px, 10vw, 120px) 0; }
.band blockquote { margin: 0; font: italic 500 clamp(1.4rem, 3vw, 2rem)/1.45 "Playfair Display", Georgia, serif; text-align: center; }
.ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: #F4E8F6; color: var(--plum); margin-bottom: 16px; }
.ico svg { width: 26px; height: 26px; }
.ico.rose { background: #FBE9F1; color: var(--rose); }
.gift { background: #fff; }
.price-sec { background: linear-gradient(rgba(255, 255, 255, .35), rgba(255, 255, 255, .35)), url("/img/soft-roses.jpg") center/cover; }
.price-card { background: rgba(255, 255, 255, .94); }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
  .about { grid-template-columns: 1fr; }
  .panel { top: auto; bottom: 0; height: auto; max-height: 90vh; width: 100%; border-radius: 22px 22px 0 0; transform: translateY(100%); padding: 40px 22px 28px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
