:root {
  --brand-50: #fdf3f6;
  --brand-100: #fbe3ea;
  --brand-200: #f6c2d3;
  --brand-400: #e5678d;
  --brand-500: #d8456d;
  --brand-600: #bd2f56;
  --brand-700: #9c2447;
  --brand-900: #6b1e37;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--brand-50);
  color: #2b2b2b;
}
.wrap { max-width: 640px; margin: 0 auto; padding: 48px 16px 64px; }
header.top {
  text-align: center;
  padding: 20px 16px 8px;
  font-weight: 600;
  color: var(--brand-700);
  letter-spacing: 0.02em;
}
.card {
  background: #fff;
  border: 1px solid var(--brand-200);
  border-radius: 16px;
  padding: 24px;
  margin-top: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}
h1 { font-size: 26px; margin: 0 0 8px; color: var(--brand-900); }
h2 { font-size: 20px; margin: 0 0 12px; color: var(--brand-900); }
p.tagline { font-size: 15px; color: #555; margin: 0 0 16px; line-height: 1.5; }
ul.bullets { padding-left: 20px; margin: 0 0 20px; }
ul.bullets li { margin-bottom: 8px; font-size: 14px; color: #444; line-height: 1.4; }
.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 16px;
}
.price { font-size: 30px; font-weight: 700; color: var(--brand-600); }
.price-was { font-size: 16px; color: #999; text-decoration: line-through; }
label { display: block; font-size: 13px; color: #555; margin: 14px 0 4px; }
input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--brand-200);
  border-radius: 8px;
  font-size: 15px;
}
#card-element {
  padding: 12px;
  border: 1px solid var(--brand-200);
  border-radius: 8px;
  margin-top: 4px;
  background: #fff;
}
button.primary {
  width: 100%;
  margin-top: 20px;
  padding: 13px;
  background: var(--brand-600);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
button.primary:disabled { opacity: 0.6; cursor: default; }
button.secondary {
  width: 100%;
  margin-top: 10px;
  padding: 11px;
  background: transparent;
  color: #888;
  border: none;
  font-size: 14px;
  cursor: pointer;
  text-decoration: underline;
}
.error { color: #b91c1c; font-size: 13px; margin-top: 10px; display: none; }
.hidden { display: none; }
.badge {
  display: inline-block;
  background: var(--brand-100);
  color: var(--brand-700);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.trust { font-size: 12px; color: #999; text-align: center; margin-top: 16px; }
.consent { font-size: 12px; color: #888; margin-top: 12px; line-height: 1.5; }
.consent a { color: #888; }
footer.legal {
  max-width: 640px;
  margin: 0 auto;
  padding: 8px 16px 32px;
  text-align: center;
  font-size: 12px;
  color: #999;
}
footer.legal a { color: #999; margin: 0 6px; }

.fg-modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 16px; overflow-y: auto; z-index: 50;
}
.fg-modal {
  background: #fff; border-radius: 16px; padding: 24px; max-width: 420px; width: 100%;
  margin-top: 24px; position: relative; box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}
.fg-modal-close {
  position: absolute; top: 10px; right: 10px; border: none; background: transparent;
  font-size: 22px; line-height: 1; color: #888; cursor: pointer; padding: 4px 8px;
}
.fg-modal .eyebrow { font-size: 11px; text-transform: uppercase; letter-spacing: 0.05em; color: #999; margin-bottom: 4px; }
.fg-help { font-size: 12px; color: #888; margin: 2px 0 4px; }
.fg-consent-row {
  display: flex; align-items: flex-start; gap: 8px; font-size: 12px; color: #666;
  border: 1px solid var(--brand-200); border-radius: 8px; padding: 10px 12px; margin: 10px 0;
  cursor: pointer;
}
.fg-consent-row input { width: auto; margin-top: 2px; }
.fg-implicit { font-size: 12px; color: #888; text-align: center; margin-top: 14px; line-height: 1.5; }
.fg-note {
  margin-top: 14px; border: 1px solid var(--brand-200); background: var(--brand-50);
  border-radius: 10px; padding: 10px 12px; font-size: 11px; line-height: 1.5; color: #777;
}
.fg-express { min-height: 52px; margin-top: 8px; }
.fg-status { font-size: 13px; color: #888; text-align: center; margin: 10px 0; }
.fg-status.error { color: #b91c1c; }
.fg-preview-banner {
  background: #fff3cd; color: #664d03; padding: 8px 12px; border-radius: 8px;
  font-size: 13px; margin-bottom: 12px; text-align: center;
}

/* ---- rich buy/buy-express landing ---------------------------------------- */
#app.fg-landing { max-width: none; margin: 0; padding: 0 0 96px; }
.fg-hero {
  background: linear-gradient(160deg, var(--brand-900), var(--brand-600) 65%, var(--brand-700));
  padding: 48px 20px 36px;
}
.fg-hero-inner { max-width: 640px; margin: 0 auto; }
.fg-eyebrow { font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--brand-600); font-weight: 700; margin-bottom: 8px; }
.fg-eyebrow--light { color: #f6c2d3; }
.fg-h1 { font-size: 28px; line-height: 1.25; font-weight: 800; color: #fff; margin: 0 0 16px; }
.fg-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.fg-pill { font-size: 12px; color: #fff; background: rgba(255,255,255,0.14); border: 1px solid rgba(255,255,255,0.2); padding: 6px 12px; border-radius: 999px; }
.fg-hero .primary { background: #ffd24a; color: var(--brand-900); }
.fg-hero .primary:hover { background: #f5c33a; }
.fg-hero .fg-status { color: rgba(255,255,255,0.85); }
.fg-hero .fg-express { background: transparent; }
.fg-hero .secondary { color: rgba(255,255,255,0.8); }

.fg-main { max-width: 640px; margin: 0 auto; padding: 0 20px; }
.fg-section { padding: 36px 0; border-bottom: 1px solid var(--brand-100); }
.fg-section:last-child { border-bottom: none; }
.fg-h2 { font-size: 21px; font-weight: 800; color: var(--brand-900); margin: 0 0 6px; }
.fg-h2--center { text-align: center; }
.fg-section-sub { color: #777; font-size: 13.5px; margin: 0 0 18px; }

.fg-trust-box { background: var(--brand-50); border: 1px solid var(--brand-200); border-radius: 16px; padding: 22px 18px; }
.fg-trust-grid { display: grid; gap: 12px; margin-top: 16px; }
.fg-trust-card { background: #fff; border: 1px solid var(--brand-200); border-radius: 12px; padding: 14px; }
.fg-trust-title { font-weight: 700; font-size: 14px; color: var(--brand-900); margin-bottom: 4px; }
.fg-trust-body { font-size: 13px; color: #666; line-height: 1.5; }

.fg-preview-scroll { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; margin: 0 -20px; padding-left: 20px; padding-right: 20px; }
.fg-preview-thumb { flex: 0 0 auto; width: 120px; border: 1px solid var(--brand-200); border-radius: 10px; overflow: hidden; padding: 0; background: #fff; cursor: pointer; }
.fg-preview-thumb img { display: block; width: 100%; height: auto; }
.fg-preview-thumb:hover { border-color: var(--brand-600); }

.fg-offer-box { border: 2px solid var(--brand-900); border-radius: 16px; padding: 26px 20px; text-align: center; background: linear-gradient(to bottom, var(--brand-50), #fff); }
.fg-offer-badge { display: inline-block; background: var(--brand-900); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; padding: 5px 12px; border-radius: 999px; margin-bottom: 14px; }
.fg-offer-price { font-size: 36px; font-weight: 800; color: var(--brand-900); margin-bottom: 14px; }
.fg-offer-note { font-size: 12px; color: #888; margin-top: 12px; }

.fg-checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.fg-checklist li { border: 1px solid var(--brand-200); border-radius: 10px; padding: 13px 14px; font-size: 14px; color: #444; line-height: 1.4; }
.fg-checklist li::before { content: "✓"; color: var(--brand-600); font-weight: 700; margin-right: 8px; }

.fg-features-grid { display: grid; gap: 10px; }
.fg-feature { display: flex; flex-direction: column; gap: 3px; border: 1px solid var(--brand-200); border-radius: 10px; padding: 14px; }
.fg-feature-title { font-weight: 700; font-size: 14px; color: var(--brand-900); }
.fg-feature-body { font-size: 13px; color: #666; line-height: 1.45; }

.fg-toc-panel { border: 1px solid var(--brand-200); border-radius: 12px; padding: 18px; }
.fg-toc-summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; list-style: none; }
.fg-toc-summary::-webkit-details-marker { display: none; }
.fg-toc-summary .fg-h2 { margin: 0; }
.fg-toc-summary .fg-section-sub { display: block; margin: 6px 0 0; font-size: 14px; font-weight: 400; }
.fg-toc-summary::after { content: "+"; color: var(--brand-600); font-size: 26px; flex: 0 0 auto; }
.fg-toc-panel[open] .fg-toc-summary::after { content: "−"; }
.fg-toc-summary:focus-visible { outline: 2px solid var(--brand-600); outline-offset: 6px; border-radius: 4px; }
.fg-toc-panel .fg-toc { margin-top: 18px; }
.fg-toc { display: flex; flex-direction: column; gap: 6px; }
.fg-toc-row { display: flex; gap: 14px; align-items: baseline; border: 1px solid var(--brand-200); border-radius: 8px; padding: 10px 12px; }
.fg-toc-num { font-weight: 700; color: var(--brand-400); width: 24px; flex: 0 0 auto; font-size: 13px; }
.fg-toc-title { font-size: 13.5px; color: #444; }

.fg-rule-box { background: #f5f3ff; border: 1px solid #ddd6fe; border-radius: 12px; padding: 18px; }
.fg-rule-title { margin: 0 0 8px; font-size: 14px; font-weight: 700; color: var(--brand-900); }
.fg-rule-box p { margin: 0; color: #444; font-size: 14px; line-height: 1.55; }

.fg-faq { display: flex; flex-direction: column; gap: 10px; }
.fg-faq-item { border: 1px solid var(--brand-200); border-radius: 10px; padding: 14px 16px; }
.fg-faq-item h3 { font-size: 14px; margin: 0 0 6px; color: var(--brand-900); }
.fg-faq-item p { font-size: 13.5px; color: #666; margin: 0; line-height: 1.5; }

.fg-final { text-align: center; }
.fg-final-note { font-size: 11.5px; color: #999; margin-top: 14px; }

.fg-sticky {
  position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 1px solid var(--brand-200);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08); padding: 10px 16px; display: flex; align-items: center; gap: 12px; z-index: 20;
}
.fg-sticky-price { font-weight: 800; color: var(--brand-900); font-size: 16px; }
.fg-sticky-cta { margin: 0; flex: 1; }

.fg-lightbox {
  position: fixed; inset: 0; background: rgba(0,0,0,0.88); z-index: 60;
  display: flex; align-items: center; justify-content: center; padding: 24px;
}
.fg-lightbox[hidden] { display: none; }
.fg-lightbox img { max-width: 100%; max-height: 100%; border-radius: 8px; }
.fg-lightbox-close {
  position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 999px;
  background: rgba(255,255,255,0.15); color: #fff; border: none; font-size: 24px; cursor: pointer;
}

/* Launch offer hierarchy, readable at 320px and keyboard navigable. */
.fg-hero{display:flex;align-items:center;justify-content:center;gap:38px;padding:48px max(20px,calc((100vw - 1040px)/2));}
.fg-hero-inner{max-width:610px;margin:0;flex:1;min-width:0;}
.fg-hero-cover{width:240px;height:auto;border-radius:10px;box-shadow:0 18px 50px #21091855;transform:rotate(3deg);}
.fg-hero-sub{font-size:18px;line-height:1.6;color:#fff;max-width:600px;}
.fg-hero-disclosure{font-size:13px;line-height:1.6;opacity:.95;color:#fff;margin:14px 0 0;}
.fg-h1{font-size:clamp(29px,4vw,44px);}
.fg-order-confirmed{text-align:center;background:#e8f2e8;padding:12px;border-radius:10px;color:#295539;font-size:14px;}
.fg-progress{display:flex;justify-content:center;gap:18px;margin:22px 0 8px;}
.fg-progress span{display:grid;place-items:center;width:32px;height:32px;border-radius:50%;background:#fff;border:1px solid #d5b5c0;color:#71505c;}
.fg-progress .current{background:var(--brand-700);color:#fff;border-color:var(--brand-700);}
.fg-kicker{text-transform:uppercase;letter-spacing:.1em;font-size:11px;font-weight:700;color:var(--brand-700);line-height:1.5;}
.wrap>.fg-kicker{text-align:center;}
.fg-upsell{padding:30px;}.fg-upsell h1{font-size:32px;line-height:1.2;margin:12px 0 20px;}
.fg-video-demo{display:flex;align-items:center;gap:18px;padding:26px 20px;border-radius:14px;background:linear-gradient(135deg,#fae8ee,#f2cedb);margin:24px 0;}
.fg-demo-play{display:grid;place-items:center;min-width:52px;height:52px;border-radius:50%;background:#fff;color:var(--brand-700);font-size:23px;}
.fg-video-demo p{font-size:13px;line-height:1.6;margin:7px 0 0;}
.fg-benefit-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:24px 0;}.fg-benefit-grid h3{font-size:15px;line-height:1.4;}.fg-benefit-grid p{font-size:13px;line-height:1.6;color:#555;}
.fg-offer-panel{padding:20px;background:#fcf3f6;border:1px solid #f1d5df;border-radius:14px;margin-top:24px;}
.fg-billing{font-size:13px;line-height:1.6;text-align:center;color:#4d3940;}
.fg-reassurance{font-size:13px;line-height:1.6;color:#66505a;margin:20px 0 0;text-align:center;}
.fg-upsell-book{display:grid;grid-template-columns:160px 1fr;gap:24px;align-items:start;margin:24px 0;}.fg-upsell-book img{width:100%;height:auto;border-radius:5px;box-shadow:0 8px 22px #551e3022;}
.primary-link{display:block;padding:15px 20px;background:var(--brand-700);color:white!important;border-radius:10px;text-align:center;text-decoration:none;font-weight:650;margin:14px 0;}
.library-book{padding:20px 0;border-bottom:1px solid #efdae2;}.library-book h2{margin-bottom:15px;}.library-book .primary-link{display:inline-block;margin-right:8px;}
.legal{padding-bottom:100px;display:flex;justify-content:center;flex-wrap:wrap;gap:16px;}.legal span{font-size:12px;}
:focus-visible{outline:3px solid #285a88;outline-offset:4px;}button:disabled{opacity:.65;cursor:wait;}
.fg-modal{max-height:calc(100dvh - 30px);overflow-y:auto;}.fg-modal-overlay{z-index:2000;}.fg-modal p.error{line-height:1.6;font-size:14px;}
@media(max-width:650px){.fg-hero{flex-direction:column;padding:30px 20px;gap:24px;}.fg-hero-cover{width:160px;}.fg-hero-inner{text-align:left;}.fg-hero-sub{font-size:16px;}.fg-upsell{padding:22px 18px;}.fg-upsell h1{font-size:28px;}.fg-benefit-grid{grid-template-columns:1fr;gap:0;}.fg-benefit-grid h3{margin:8px 0 3px;}.fg-benefit-grid p{margin:0 0 10px;}.fg-upsell-book{grid-template-columns:110px 1fr;gap:15px;}.fg-upsell-book .bullets{grid-column:1/-1;}.fg-offer-panel{padding:16px 12px;}.wrap{padding-top:20px;}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;}}
