/* Self-hosted fonts (SIL Open Font License, see fonts/LICENSE-*.txt). No requests to Google. */
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 500; src: url(/family-memory-magnets/fonts/dm-sans-latin-ext-500-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 500; src: url(/family-memory-magnets/fonts/dm-sans-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 700; src: url(/family-memory-magnets/fonts/dm-sans-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 700; src: url(/family-memory-magnets/fonts/dm-sans-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 800; src: url(/family-memory-magnets/fonts/dm-sans-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'DM Sans'; font-style: normal; font-display: swap; font-weight: 800; src: url(/family-memory-magnets/fonts/dm-sans-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-display: swap; font-weight: 700; src: url(/family-memory-magnets/fonts/playfair-display-latin-ext-700-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-display: swap; font-weight: 700; src: url(/family-memory-magnets/fonts/playfair-display-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-display: swap; font-weight: 800; src: url(/family-memory-magnets/fonts/playfair-display-latin-ext-800-normal.woff2) format('woff2'); unicode-range: U+0100-02AF,U+0304,U+0308,U+0329,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-display: swap; font-weight: 800; src: url(/family-memory-magnets/fonts/playfair-display-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* Family Memory Magnets — shared styles (mobile-first, navy + gold to match CustomSongMe / CustomGiftMe) */
:root {
  --ink: #00247f; --navy: #001a66; --gold: #fcd42a; --cream: #f6f7fb; --paper: #fff;
  --muted: #5b6478; --border: #dde3f2; --ok: #1f7a4d; --err: #b42318; --warm: #fff7e0;
  --display: 'Playfair Display', Georgia, serif; --body: 'DM Sans', system-ui, -apple-system, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { font-family: var(--body); background: var(--cream); color: #1b1f2a; font-size: 18px; line-height: 1.5; min-height: 100vh; }
.hidden { display: none !important; }
.wrap { max-width: 560px; margin: 0 auto; padding: 0 16px 48px; }
.wide { max-width: 1000px; margin: 0 auto; padding: 0 18px; }
a { color: var(--ink); }
h1, h2, h3 { font-family: var(--display); color: var(--navy); line-height: 1.2; }
h1 { font-size: 2rem; } h2 { font-size: 1.55rem; margin-bottom: 10px; } h3 { font-size: 1.15rem; }
.center { text-align: center; }
.muted { color: var(--muted); font-size: .95rem; }
.topbar { background: var(--navy); color: #fff; text-align: center; padding: 10px 14px; font-weight: 700; letter-spacing: .06em; font-size: .85rem; }
.topbar b { color: var(--gold); }

.card { background: var(--paper); border: 1px solid var(--border); border-radius: 20px; padding: 20px; margin: 14px 0; box-shadow: 0 6px 22px rgba(0,20,60,.07); }
.btn { display: inline-block; width: 100%; background: var(--gold); color: var(--navy); border: 0; border-radius: 16px; padding: 16px 18px; font: 800 1.1rem var(--body); text-align: center; text-decoration: none; cursor: pointer; box-shadow: 0 4px 0 #c9a600; }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 #c9a600; }
.btn.alt { background: #fff; border: 2px solid var(--ink); color: var(--ink); box-shadow: none; }
.btn.red { background: #d92d20; color: #fff; box-shadow: 0 4px 0 #912018; }
.btn.small { width: auto; padding: 9px 14px; font-size: .95rem; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.row { display: flex; gap: 10px; flex-wrap: wrap; } .row > * { flex: 1 1 140px; }
label { display: block; font-weight: 700; margin: 12px 0 4px; color: var(--navy); }
input[type=text], input[type=email], input[type=tel], input[type=password], input[type=number], textarea, select {
  width: 100%; font: inherit; padding: 13px 14px; border: 2px solid var(--border); border-radius: 14px; background: #fff;
}
input:focus, textarea:focus, select:focus { outline: 3px solid rgba(0,36,127,.25); border-color: var(--ink); }
.check { display: flex; gap: 12px; align-items: flex-start; font-weight: 500; margin: 14px 0; }
.check input { width: 26px; height: 26px; flex: none; margin-top: 2px; }
.msg { padding: 12px 14px; border-radius: 12px; margin: 12px 0; font-weight: 600; }
.msg.err { background: #fee4e2; color: var(--err); } .msg.ok { background: #dcfae6; color: var(--ok); } .msg.info { background: var(--warm); color: #7a5b00; }

/* sales page */
.hero { background: radial-gradient(circle at 30% 20%, #22396f, #142554 55%, #0a1430); color: #fff; text-align: center; padding: 46px 18px 54px; }
.hero h1 { color: #fff; font-size: clamp(2rem, 7vw, 3.1rem); max-width: 760px; margin: 0 auto 12px; }
.hero h1 em { color: var(--gold); font-style: normal; }
.hero p { max-width: 640px; margin: 0 auto 22px; font-size: 1.15rem; opacity: .95; }
.hero .btn { max-width: 340px; }
.video { max-width: 760px; margin: -24px auto 0; padding: 0 14px; }
.video-box { background: #000; border-radius: 18px; overflow: hidden; box-shadow: 0 14px 40px rgba(0,20,60,.35); aspect-ratio: 16/9; }
.video-box iframe, .video-box video { width: 100%; height: 100%; border: 0; display: block; }
.steps { display: grid; gap: 14px; counter-reset: s; margin-top: 16px; }
.step { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 16px 16px 16px 64px; position: relative; }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 16px; top: 14px; width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: var(--gold); font: 800 1rem var(--body); display: grid; place-items: center; }
.step b { color: var(--navy); }
.pkgs { display: grid; gap: 16px; margin: 18px 0; }
@media (min-width: 720px) { .pkgs { grid-template-columns: 1fr 1fr; } .steps { grid-template-columns: 1fr 1fr; } }
@media (min-width: 980px) { .pkgs3 { grid-template-columns: 1fr 1fr 1fr; } }
.pkg { background: #fff; border: 3px solid var(--border); border-radius: 22px; padding: 22px; text-align: center; cursor: pointer; }
.pkg.sel { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(252,212,42,.55); }
.pkg .price { font: 800 2.4rem var(--display); color: var(--navy); margin: 6px 0; }
.pkg ul { list-style: none; text-align: center; margin: 12px 0 0; padding: 0; font-size: 1rem; }
.pkg ul li { padding: 3px 0; } .pkg ul li::before { content: '✓ '; color: var(--gold); font-weight: 800; }
section { padding: 38px 0; }
section.alt { background: #fff; }
.foot { text-align: center; color: var(--muted); font-size: .9rem; padding: 26px 16px 60px; }

/* app */
.apphead { text-align: center; padding: 18px 0 6px; }
.apphead small { display: block; color: var(--muted); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; font-size: .75rem; }
.chapter { margin: 14px 0; }
.chapter h3 { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.chapter h3 span { color: var(--muted); font: 600 .9rem var(--body); }
.dots { display: flex; gap: 8px; margin-top: 8px; }
.dot { flex: 1; height: 14px; border-radius: 8px; background: var(--border); }
.dot.done { background: var(--ok); } .dot.now { background: var(--gold); box-shadow: 0 0 0 3px rgba(252,212,42,.45); }
.bar { height: 12px; background: var(--border); border-radius: 8px; overflow: hidden; margin: 10px 0; }
.bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--ink), var(--gold)); }
.choice { display: block; width: 100%; text-align: left; background: #fff; border: 3px solid var(--border); border-radius: 18px; padding: 16px; margin: 10px 0; font: 600 1.05rem var(--body); color: #1b1f2a; cursor: pointer; }
.choice:hover, .choice.sel { border-color: var(--ink); background: var(--warm); }
.choice small { display: block; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .06em; font-size: .7rem; margin-bottom: 4px; }
.qbox { background: var(--navy); color: #fff; border-radius: 18px; padding: 18px; font: 600 1.25rem var(--display); margin: 12px 0; text-align: center; }
.rec { text-align: center; }
.timer { font: 800 3.2rem var(--body); color: var(--navy); margin: 8px 0; font-variant-numeric: tabular-nums; }
.timer.warn { color: #d92d20; animation: pulse 1s infinite; }
@keyframes pulse { 50% { opacity: .55; } }
.recbtn { width: 108px; height: 108px; border-radius: 50%; background: #d92d20; border: 6px solid #fff; box-shadow: 0 0 0 4px #d92d20, 0 8px 22px rgba(0,0,0,.25); color: #fff; font: 800 1rem var(--body); cursor: pointer; margin: 10px auto; display: block; }
.recbtn.on { background: #fff; color: #d92d20; }
audio { width: 100%; margin: 10px 0; }
.stage { font-weight: 700; color: var(--muted); text-align: center; text-transform: uppercase; letter-spacing: .07em; font-size: .8rem; }
.toast { position: fixed; left: 12px; right: 12px; bottom: 14px; background: var(--navy); color: #fff; padding: 12px 16px; border-radius: 14px; font-weight: 600; text-align: center; z-index: 20; }

/* admin */
table { width: 100%; border-collapse: collapse; font-size: .95rem; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--border); vertical-align: top; }
code.link { display: block; word-break: break-all; background: #f1f4fb; padding: 10px; border-radius: 10px; font-size: .85rem; margin: 6px 0; }

/* teleprompter ("Write It First") */
.tele-wrap { background: #0b1330; border-radius: 18px; padding: 12px; margin: 10px 0; }
.tele { background: #0b1330; color: #fff; font-family: var(--body); font-weight: 700; line-height: 1.35; height: 38vh; min-height: 180px; max-height: 340px; overflow-y: auto; padding: 6px 8px; white-space: pre-wrap; -webkit-overflow-scrolling: touch; scroll-behavior: auto; }
.tele-ctl { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 8px; color: #cdd6f6; font-size: .9rem; }
.tele-ctl button { background: #1d2c66; color: #fff; border: 0; border-radius: 10px; padding: 8px 12px; font: 800 1rem var(--body); cursor: pointer; }
.tele-ctl label { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #cdd6f6; font-weight: 600; }
.tele-ctl input[type=range] { width: 110px; }
textarea.draft { min-height: 170px; font-size: 1.1rem; }
.pickrow { display: grid; gap: 10px; margin-top: 10px; }
.badge { display: inline-block; background: #d92d20; color: #fff; border-radius: 10px; padding: 1px 8px; font: 800 .75rem var(--body); margin-left: 6px; vertical-align: middle; }
.hello { border-left: 6px solid var(--gold); background: #fffdf2; border-radius: 14px; padding: 12px 14px; margin: 10px 0; }
.hello small { color: var(--muted); display: block; font-weight: 700; margin-bottom: 4px; }
.hellochoice { display: block; width: 100%; text-align: left; border: 3px solid var(--border); background: #fff; border-radius: 16px; padding: 14px; margin: 10px 0; font: 600 1.05rem var(--body); cursor: pointer; color: #1b1f2a; }
.hellochoice:hover { border-color: var(--ink); background: var(--warm); }
.hellochoice small { display: block; color: var(--muted); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .7rem; margin-bottom: 4px; }
.conv { border-top: 1px solid var(--border); padding: 10px 0; }
.conv .row { margin-top: 6px; }

/* four-package grid (sales page) */
.pk4 { grid-template-columns: 1fr; }
@media (min-width: 720px) { .pk4 { grid-template-columns: 1fr 1fr; } }
.pkg .who { font-weight: 800; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.pkg .conv { font-weight: 700; color: var(--ink); margin-top: 2px; }
.pkg .tag { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 800; font-size: .75rem; border-radius: 999px; padding: 3px 10px; margin-bottom: 6px; }
.steps.three { grid-template-columns: 1fr; }
select { width: 100%; padding: 12px; border: 2px solid var(--border); border-radius: 12px; font: 500 1rem var(--body); background: #fff; }

/* ---- sales page v3 ---- */
.hero .eyebrow { color: var(--gold); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; margin-bottom: 10px; }
.lead { max-width: 720px; margin: 0 auto 18px; font-size: 1.1rem; }
/* six chapters: centered, symmetrical boxes (3 + 3 on wide screens, 2 + 2 + 2 on tablets, stacked on phones) */
.why .wide { max-width: 1040px; text-align: center; }
.chapters { display: grid; gap: 16px; grid-template-columns: 1fr; max-width: 980px; margin: 22px auto 0; }
@media (min-width: 560px) { .chapters { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .chapters { grid-template-columns: 1fr 1fr 1fr; } }
.ch { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 22px 18px 20px; text-align: center; box-shadow: 0 6px 22px rgba(0,20,60,.07); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.ch span { width: 40px; height: 40px; font-size: 1.1rem; margin-bottom: 4px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; display: grid; place-items: center; }
.ch b { display: block; color: var(--navy); font-family: var(--display); font-size: 1.2rem; line-height: 1.25; } .ch small { color: var(--muted); font-size: .95rem; }
.pkg { position: relative; overflow: hidden; background: linear-gradient(160deg, #fffaf0 0%, #fff 55%); }
.pkg.big { background: linear-gradient(160deg, #eef2fb 0%, #fff 60%); }
.pkg > *:not(.sil) { position: relative; z-index: 1; }
.pkg .sil { position: absolute; right: -6px; bottom: -6px; width: 58%; max-width: 210px; fill: var(--navy); opacity: .09; z-index: 0; pointer-events: none; }
.pkg.sel .sil { opacity: .16; fill: var(--ink); }
.steps4 { list-style: none; counter-reset: s4; display: grid; gap: 12px; grid-template-columns: 1fr; padding: 0; margin: 14px 0; }
@media (min-width: 860px) { .steps4 { grid-template-columns: repeat(4, 1fr); } }
.steps4 li { counter-increment: s4; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 64px 16px 18px; position: relative; text-align: center; }
.steps4 li::before { content: counter(s4); position: absolute; left: 50%; transform: translateX(-50%); top: 16px; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: var(--navy); font-weight: 800; display: grid; place-items: center; }
.steps4 b { display: block; color: var(--navy); font-family: var(--display); font-size: 1.1rem; } .steps4 span { color: var(--muted); font-size: .95rem; }
.next { background: var(--warm); border-color: #f1e2a8; }
fieldset.addr { border: 1px solid var(--border); border-radius: 14px; padding: 10px 14px 14px; margin: 10px 0; }
fieldset.addr legend { font-weight: 700; color: var(--navy); padding: 0 6px; }
fieldset.addr .row { margin-top: 8px; } fieldset.addr input { margin: 0; }
.setlist { margin: 10px 0 0 20px; }
/* centered checklists (Private by design) */
.centerlist { list-style: none; margin: 0; padding: 0; text-align: center; }
.centerlist li { padding: 7px 0; border-bottom: 1px solid var(--border); } .centerlist li:last-child { border-bottom: 0; }
.centerlist li::before { content: '✓ '; color: var(--gold); font-weight: 800; }
.next { text-align: center; } .faq summary { text-align: left; }
.waiver { background: var(--warm); border: 1px solid #f1e2a8; border-radius: 14px; padding: 12px 14px; margin-top: 16px; }
.pace { display: grid; gap: 14px; } .pace table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.pace th, .pace td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--border); vertical-align: top; } .pace th { color: var(--muted); font-weight: 700; }
.faqs { margin-top: 10px; }
.faq { background: #fff; border: 1px solid var(--border); border-radius: 14px; margin: 10px 0; padding: 0 16px; }
.faq summary { cursor: pointer; padding: 14px 24px 14px 0; font-weight: 700; color: var(--navy); list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 0; top: 10px; font-size: 1.4rem; color: var(--ink); }
.faq[open] summary::after { content: '−'; }
.faq p { padding: 0 0 14px; margin: 0; }

/* order form v4: numbered sections, profiles */
.fs { display: flex; align-items: center; gap: 10px; margin-top: 22px; font-size: 1.3rem; }
.fs span { width: 30px; height: 30px; border-radius: 50%; background: var(--navy); color: var(--gold); font: 800 1rem var(--body); display: grid; place-items: center; flex: none; }
.prof { border: 1px solid var(--border); border-radius: 14px; padding: 12px 14px; margin: 10px 0; }
.prof > b { color: var(--navy); }
details.pre { margin-top: 10px; } details.pre summary { cursor: pointer; color: var(--ink); font-weight: 700; }
.pqs { margin-top: 6px; } label.pq { font-weight: 600; font-size: .92rem; margin: 10px 0 0; } label.pq select { margin-top: 4px; }

/* the two magnets on the order page (symmetrical) */
.mags { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; margin: 12px 0; }
@media (max-width: 420px) { .mags { grid-template-columns: 1fr; } }
.mag { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.magc { width: 100%; max-width: 230px; aspect-ratio: 1; border-radius: 12px; box-shadow: 0 8px 22px rgba(0,20,60,.25); background: var(--navy); }
.magt { color: var(--navy); font-size: .95rem; }
.seg { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.seg .btn.small { width: auto; padding: 7px 12px; font-size: .9rem; }
.upl { cursor: pointer; margin: 0; }

/* ---- "Your Family Story" panel (chapters) ---- */
.story-panel { max-width: 1000px; margin: 22px auto 0; background: radial-gradient(circle at 50% 0%, #2a4aa0, #13286a 60%, #0b1a4d); border-radius: 28px; padding: 26px 18px 20px; box-shadow: 0 18px 50px rgba(0,20,60,.35); border: 3px solid #f5d76e; text-align: center; color: #fff; }
.sp-head h3 { color: #fff; font-family: var(--display); font-style: italic; font-size: clamp(1.8rem, 5vw, 2.6rem); line-height: 1.1; text-shadow: 0 3px 10px rgba(0,0,0,.35); }
.swoosh { width: 220px; max-width: 70%; height: 18px; display: block; margin: 4px auto 6px; }
.sp-sub { opacity: .9; font-size: 1rem; }
.sp-pill { display: inline-block; margin: 12px 0 18px; background: var(--gold); color: var(--navy); font-weight: 800; border-radius: 999px; padding: 7px 18px; box-shadow: 0 4px 0 #c9a600; }
.tiles { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .tiles { grid-template-columns: 1fr 1fr 1fr; } }
.tile { position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 16 / 10; border: 3px solid rgba(255,255,255,.85); box-shadow: 0 8px 18px rgba(0,0,0,.3); background: #fff; }
.tile .scene { position: absolute; inset: 0; width: 100%; height: 100%; }
.tile .cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 10px 10px; background: linear-gradient(180deg, rgba(10,20,60,0), rgba(10,20,60,.82)); text-align: center; }
.tile .cap small { display: block; color: var(--gold); font-weight: 800; letter-spacing: .06em; text-transform: uppercase; font-size: .72rem; }
.tile .cap b { display: block; color: #fff; font-family: var(--display); font-size: 1.15rem; line-height: 1.2; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.tile .cap span { display: block; color: rgba(255,255,255,.9); font-size: .85rem; line-height: 1.3; }
.badge { position: absolute; top: 10px; left: 10px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; border: 2px solid #fff; z-index: 1; }
.badge.ok { background: #22a34a; color: #fff; } .badge.lock { background: rgba(20,30,60,.75); color: #fff; }
.sp-progress { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; background: rgba(255,255,255,.95); color: var(--navy); border-radius: 999px; padding: 8px 16px; font-weight: 800; font-size: .9rem; }
.segs { display: grid; grid-template-columns: repeat(30, 1fr); gap: 3px; flex: 1 1 220px; max-width: 420px; }
.segs i { height: 10px; border-radius: 6px; background: #dfe4ef; } .segs i.on { background: linear-gradient(90deg, #2fbf5a, #22a34a); }
.sp-note { margin-top: 10px; font-size: .85rem; opacity: .85; }

/* ---- a little more love ---- */
.trust { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 18px auto 0; padding: 0; max-width: 760px; }
.trust li { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: 6px 14px; font-size: .9rem; font-weight: 700; }
.trust li::before { content: '✓ '; color: var(--gold); }
.pkg { transition: transform .15s ease, box-shadow .15s ease; }
.pkg:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,20,60,.14); }
.closer-band { background: radial-gradient(circle at 50% 0%, #22396f, #142554 60%, #0a1430); color: #fff; padding: 46px 0 40px; }
.closer-band h2 { color: #fff; font-size: clamp(1.6rem, 5vw, 2.3rem); margin: 8px 0; }
.closer-band p { max-width: 560px; margin: 0 auto; opacity: .92; }

/* ---- watch page (published movie on the magnet) ---- */
.watch-hero { padding: 36px 18px 64px; } .watch-hero h1 { margin-bottom: 6px; }
.watch-body { margin-top: -44px; }
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: #000; box-shadow: 0 16px 40px rgba(0,20,60,.35); border: 3px solid #f5d76e; }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.poster { position: absolute; inset: 0; border: 0; padding: 0; background: #000; cursor: pointer; }
.poster img { width: 100%; height: 100%; object-fit: cover; opacity: .9; }
.playbig { position: absolute; left: 50%; top: 50%; width: 92px; height: 92px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--gold); box-shadow: 0 6px 24px rgba(0,0,0,.4); }
.playbig::after { content: ''; position: absolute; left: 36px; top: 26px; border-left: 30px solid var(--navy); border-top: 20px solid transparent; border-bottom: 20px solid transparent; }
.watch-body .btn { max-width: 340px; }
@media (min-width: 720px) { #watch .wrap { max-width: 820px; } }

#watch { padding: 0; }

/* =========================================================
   Sales page: bottom half in blues and gold (stylish bands)
   ========================================================= */
/* gold-and-navy frame around the whole screen edge */
body:has(#packages)::before, body.fmm-theme::before { content: ''; position: fixed; inset: 0; border: 6px solid var(--gold); box-shadow: inset 0 0 0 3px var(--navy); pointer-events: none; z-index: 50; }
@media (max-width: 480px) { body:has(#packages)::before, body.fmm-theme::before { border-width: 4px; box-shadow: inset 0 0 0 2px var(--navy); } }

/* deep navy bands with gold accents */
section.band-navy { background: radial-gradient(circle at 50% 0%, #22408f, #132a6b 55%, #0b1a4d); color: #fff; border-top: 4px solid var(--gold); border-bottom: 4px solid var(--gold); }
.band-navy h2 { color: #fff; }
.band-navy h2::after, .band-sky h2.center::after { content: ''; display: block; width: 90px; height: 4px; border-radius: 4px; background: var(--gold); margin: 10px auto 0; }
/* soft sky-blue bands */
section.band-sky { background: linear-gradient(180deg, #e8eefc 0%, #f4f7ff 100%); border-top: 3px solid #c9d6f5; }

/* How to order: white cards with gold borders on navy */
#how .steps4 li { border: 3px solid var(--gold); box-shadow: 0 10px 24px rgba(0,0,0,.25); }
#how .steps4 li::before { background: var(--navy); color: var(--gold); box-shadow: 0 0 0 3px var(--gold); }
#how .next { background: #fff7d6; border: 3px solid var(--gold); color: var(--navy); }

/* Order form: framed card, navy section bars */
#order .card, #waitlist .card { border: 3px solid var(--gold); box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--navy), 0 18px 40px rgba(0,20,60,.25); margin-top: 24px; }
#order .fs { background: var(--navy); color: #fff; border-radius: 14px; padding: 10px 14px; border-left: 6px solid var(--gold); }
#order .fs span { background: var(--gold); color: var(--navy); }
#order .prof, #order fieldset.addr { border: 2px solid #c9d6f5; background: #f7f9ff; }
#order input:focus, #order select:focus, #order textarea:focus, #waitlist input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(252,212,42,.45); }
#order .waiver { border: 3px solid var(--gold); background: #fff7d6; }
#order .mags { background: linear-gradient(180deg, #13286a, #0b1a4d); border: 3px solid var(--gold); border-radius: 18px; padding: 16px 10px; }
#order .magt { color: #fff; }

/* Suggested pace: navy-headed tables in gold-trimmed cards */
#pace .card { border: 3px solid var(--gold); padding: 0; overflow: hidden; }
#pace .card h3 { background: var(--navy); color: #fff; margin: 0; padding: 14px; text-align: center; border-bottom: 4px solid var(--gold); }
#pace table { margin: 0; } #pace th { background: #eef3ff; color: var(--navy); text-align: center; } #pace td { text-align: center; }
#pace td:first-child { font-weight: 800; color: var(--ink); white-space: nowrap; }
#pace tr:nth-child(odd) td { background: #f7f9ff; }

/* Private by design: navy card with gold checks */
#private .card { background: rgba(255,255,255,.06); border: 3px solid var(--gold); color: #fff; box-shadow: none; }
#private .centerlist li { border-bottom-color: rgba(255,255,255,.18); }

/* FAQ: gold-trimmed cards, navy question bar when open */
#faq .faq { border: 2px solid #c9d6f5; border-left: 6px solid var(--gold); box-shadow: 0 4px 14px rgba(0,20,60,.06); }
#faq .faq[open] { border-color: var(--gold); }
#faq .faq[open] summary { color: var(--navy); }
#faq .faq summary::after { content: '+'; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: var(--gold); display: grid; place-items: center; font-size: 1.1rem; top: 12px; }
#faq .faq[open] summary::after { content: '−'; background: var(--gold); color: var(--navy); }

/* closing band + footer */
.closer-band { border-top: 4px solid var(--gold); }
body:has(#packages) .foot, body.fmm-theme .foot { background: var(--navy); color: rgba(255,255,255,.85); border-top: 4px solid var(--gold); padding-bottom: 40px; }
body:has(#packages) .foot a, body.fmm-theme .foot a { color: var(--gold); }

/* =========================================================
   Shared navy & gold theme for every Family Memory Magnets page
   ========================================================= */
body.fmm-theme { background: linear-gradient(180deg, #e8eefc 0%, #f4f7ff 40%, #f4f7ff 100%); }
.page-hero { background: radial-gradient(circle at 50% 0%, #22408f, #132a6b 55%, #0b1a4d); color: #fff; text-align: center; padding: 34px 18px 30px; border-bottom: 4px solid var(--gold); }
.page-hero .eyebrow { color: var(--gold); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; font-size: .8rem; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 6vw, 2.6rem); margin: 6px 0 8px; }
.page-hero p { max-width: 620px; margin: 0 auto 10px; opacity: .92; }
body.fmm-theme main .card { border: 3px solid var(--gold); box-shadow: 0 0 0 5px #fff, 0 0 0 7px #c9d6f5, 0 14px 34px rgba(0,20,60,.14); }
body.fmm-theme .pol h2, body.fmm-theme main .card > h2 { text-align: center; }
body.fmm-theme .pol h2::after, body.fmm-theme main .card > h2::after { content: ''; display: block; width: 70px; height: 4px; border-radius: 4px; background: var(--gold); margin: 8px auto 0; }
body.fmm-theme .foot { margin-top: 30px; padding-bottom: 40px; }
/* magnet status page: a centered card on a navy band */
body.q-page { background: radial-gradient(circle at 50% 0%, #22408f, #132a6b 55%, #0b1a4d); min-height: 100vh; }
.status-card { background: #fff; border: 3px solid var(--gold); border-radius: 24px; margin: 50px auto 30px !important; width: calc(100% - 32px); padding: 34px 22px !important; box-shadow: 0 18px 50px rgba(0,0,0,.35); max-width: 520px; }
.status-card h1 { color: var(--navy); }
/* the family app: navy progress header and gold-trimmed cards */
body.app-page .apphead { background: radial-gradient(circle at 50% 0%, #22408f, #132a6b 60%, #0b1a4d); color: #fff; border: 3px solid var(--gold); border-radius: 22px; padding: 18px 16px 14px; margin: 16px 0 6px; box-shadow: 0 12px 30px rgba(0,20,60,.25); }
body.app-page .apphead small { color: var(--gold); } body.app-page .apphead h1 { color: #fff; } body.app-page .apphead .muted { color: rgba(255,255,255,.85); }
body.app-page .apphead .bar { background: rgba(255,255,255,.2); }
body.app-page main .card { border-width: 2px; border-color: #f1d97a; box-shadow: 0 8px 22px rgba(0,20,60,.08); }
body.app-page .card h2, body.app-page .card h3 { text-align: center; }
body.app-page .stage { color: #a07c00; }
/* admin: framed, lighter trim (it is a work tool) */
body.admin-page main .card { border: 2px solid #f1d97a; box-shadow: 0 6px 18px rgba(0,20,60,.08); }
@media print { body.fmm-theme::before, .noprint { display: none !important; } body.fmm-theme { background: #fff; } }
body.q-page .watch-body .muted { color: rgba(255,255,255,.85); } body.q-page .watch-body a:not(.btn) { color: var(--gold); }
body.q-page #watch .watch-hero { background: transparent; }

/* ---- grandparent help page: big, simple, centered ---- */
body.help-page { font-size: 20px; }
.help-page .card p { line-height: 1.6; }
.help-call { text-align: center; background: #fff7d6 !important; }
.help-call .btn { max-width: 360px; font-size: 1.2rem; }
.big-steps { list-style: none; counter-reset: bs; padding: 0; margin: 8px 0; }
.big-steps li { counter-increment: bs; position: relative; padding: 12px 6px 12px 56px; border-bottom: 1px solid var(--border); line-height: 1.5; }
.big-steps li:last-child { border-bottom: 0; }
.big-steps li::before { content: counter(bs); position: absolute; left: 6px; top: 12px; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: var(--gold); font-weight: 800; display: grid; place-items: center; }
.tip { background: #eef3ff; border: 2px solid #c9d6f5; border-radius: 14px; padding: 12px 14px; margin-top: 12px; }
.two-col { display: grid; gap: 12px; grid-template-columns: 1fr; } @media (min-width: 600px) { .two-col { grid-template-columns: 1fr 1fr; } }
.mini { background: #f7f9ff; border: 2px solid #c9d6f5; border-radius: 14px; padding: 12px 14px; text-align: center; }
.mini ol { text-align: left; margin: 8px 0 0 22px; }
