/* =========================================================
   iPersist premium layer
   Shared by the sales, product, library and gift pages (and the
   home and apply pages through style.css). Soft shapes, frosted
   glass, quiet motion. Every animation switches off for people
   who ask their device to reduce motion.
   ========================================================= */
:root {
  --ease: cubic-bezier(.22,.61,.36,1);
  --r-card: 20px;
  --r-pill: 999px;
  --shadow-soft: 0 1px 2px rgba(46,37,28,.04), 0 12px 32px -12px rgba(46,37,28,.14);
  --shadow-lift: 0 1px 2px rgba(46,37,28,.04), 0 22px 44px -18px rgba(46,37,28,.22);
}

/* ---------- masthead: frosted glass ---------- */
.masthead {
  position: sticky; top: 0; z-index: 30;
  background: rgba(250,247,244,.72) !important;
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  backdrop-filter: saturate(180%) blur(18px);
}

/* ---------- hero: a slow breathing glow ---------- */
header.hero { position: relative; overflow: hidden; }
header.hero::before {
  content: ""; position: absolute; left: 50%; top: -30%; width: 900px; height: 620px;
  transform: translateX(-50%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(149,120,93,.26), rgba(149,120,93,0));
  animation: p-breathe 9s var(--ease) infinite;
}
header.hero > .wrap { position: relative; }
.herocover { border-radius: 18px !important; animation: p-float 7s ease-in-out infinite; }
.productshot, .price-cover { border-radius: 18px !important; }
@keyframes p-breathe {
  0%,100% { opacity: .55; transform: translateX(-50%) scale(.94); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}
@keyframes p-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* ---------- buttons: pills with a gentle lift ---------- */
.btn {
  border-radius: var(--r-pill) !important;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s !important;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -10px rgba(92,74,58,.45); }
.btn:active { transform: translateY(0) scale(.98); }
.buybar { border-radius: var(--r-pill) !important; left: 14px !important; right: 14px !important;
  bottom: 14px !important; width: auto !important; box-shadow: 0 16px 36px -12px rgba(46,37,28,.5) !important; }

/* ---------- inputs ---------- */
input.f, input.t, .order input.t { border-radius: 14px !important; transition: border-color .25s, box-shadow .25s; }
input.f:focus, input.t:focus { box-shadow: 0 0 0 4px rgba(149,120,93,.16); }

/* ---------- cards and boxes: rounder and softer ---------- */
.guarantee, .path, .dcard, .compare, .stack, .acct, .codebox, .opt, .card, .skel, .savecard,
.clientproof .shot, .proof .shot, .shotbox img, .vsl video, .author img, .bump, .upsell, .player,
main .prog .rule, main .prog .track, main .prog .progress, main .prog .day {
  border-radius: var(--r-card) !important;
}
.guarantee, .path, .dcard, .acct, .opt, .card, .savecard, .bump,
main .prog .rule, main .prog .track, main .prog .day {
  box-shadow: var(--shadow-soft);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), background .4s var(--ease), border-color .4s var(--ease);
}
.clientproof .shot img, .proof .shot img { border-radius: 14px !important; }
.card { overflow: hidden; }
.card:hover, .dcard:hover, main .prog .day:hover, main .prog .track:hover {
  transform: translateY(-2px); box-shadow: var(--shadow-lift);
}
.sheet { border-radius: 26px 26px 0 0 !important; }
@media (min-width: 560px) { .sheet { border-radius: 26px !important; } }
.bump { border-radius: 18px !important; }
.bump img, .opt img, .sh img { border-radius: 12px !important; }
.author img { border-radius: 16px !important; }
.guarantee { border-left-width: 1px !important; position: relative; overflow: hidden; }
.guarantee::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--brown); }

/* ---------- section labels and tags: rounded chips ---------- */
.eyebrow { display: inline-block; }

/* ---------- product pages: frosted, sticky day bar ---------- */
main .prog .daynav {
  position: sticky; top: 66px; z-index: 20; flex-wrap: nowrap; justify-content: flex-start;
  overflow-x: auto; scrollbar-width: none; gap: 6px; margin: 4px -10px 30px; padding: 8px 10px;
  border-radius: var(--r-pill); background: rgba(255,255,255,.66); border: 1px solid rgba(200,191,176,.55);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  box-shadow: var(--shadow-soft);
}
main .prog .daynav::-webkit-scrollbar { display: none; }
main .prog .daynav a {
  flex: 0 0 auto; font-family: 'Archivo', system-ui, sans-serif; font-size: 14px; font-weight: 500;
  letter-spacing: 0; text-transform: none; padding: 9px 16px; border-radius: var(--r-pill);
  background: transparent; border: 1px solid transparent; color: var(--dark);
  transition: background .3s var(--ease), color .3s var(--ease);
}
main .prog .daynav a:hover { background: rgba(149,120,93,.12); color: var(--dark); border-color: transparent; }
main .prog .daynav a.is-current { background: var(--dark); color: var(--beige); }
main .prog [id] { scroll-margin-top: 140px; }
main .prog .day { position: relative; overflow: hidden; border-left: 1px solid rgba(200,191,176,.7) !important; }
main .prog .day::before { content: ""; position: absolute; left: 0; top: 18px; bottom: 18px; width: 3px; border-radius: 3px; background: var(--brown); opacity: .75; }
main .prog .progress .bar { border-radius: 99px; overflow: hidden; }
main .prog .progress .bar span { position: relative; overflow: hidden; border-radius: 99px; }
main .prog .progress .bar span::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0), rgba(255,255,255,.55), rgba(255,255,255,0));
  transform: translateX(-100%); animation: p-sheen 3.2s var(--ease) infinite;
}
@keyframes p-sheen { 60%,100% { transform: translateX(100%); } }

/* ---------- guided scripts: the same flowing wave as the Full First meditation ---------- */
main .prog .med {
  position: relative; isolation: isolate; overflow: hidden;
  margin: 24px -6px 8px; padding: 34px 28px 18px; border-radius: 28px;
  background: var(--beige); border: 1px solid rgba(200,191,176,.6) !important; border-left: 1px solid rgba(200,191,176,.6) !important;
  box-shadow: 0 1px 2px rgba(46,37,28,.05), 0 30px 60px -28px rgba(92,74,58,.35), inset 0 1px 0 rgba(255,255,255,.7);
}
main .prog .med::before {
  content: ""; position: absolute; z-index: -1; left: -15%; right: -15%; top: -1100px; height: calc(100% + 2200px);
  background:
    radial-gradient(85% 42% at 50% 25%, rgba(201,160,118,.72), rgba(201,160,118,0) 100%),
    radial-gradient(80% 40% at 42% 75%, rgba(149,120,93,.64), rgba(149,120,93,0) 100%),
    linear-gradient(rgba(201,160,118,.16), rgba(201,160,118,.16));
  background-size: 100% 1100px; background-repeat: repeat-y; filter: blur(12px);
  animation: p-wave 13s linear infinite;
}
main .prog .med p { position: relative; color: var(--dark); }
@keyframes p-wave { from { transform: translateY(0); } to { transform: translateY(1100px); } }
@media (max-width: 600px) { main .prog .med { margin-left: -10px; margin-right: -10px; padding: 28px 22px 14px; border-radius: 24px; } }

/* ---------- reveal on scroll ---------- */
.p-reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.p-reveal.in { opacity: 1; transform: none; }

/* centred when the tabs fit, fully scrollable when they don't */
main .prog .daynav a:first-child { margin-left: auto; }
main .prog .daynav a:last-child { margin-right: auto; }
@media (min-width: 900px) { main .prog .daynav { margin-left: -120px; margin-right: -120px; } }
@media (max-width: 600px) { main .prog .daynav { top: 62px; margin-left: -14px; margin-right: -14px; } }

@media (prefers-reduced-motion: reduce) {
  header.hero::before, .herocover, main .prog .progress .bar span::after, main .prog .med::before { animation: none !important; }
  .p-reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover, .dcard:hover, main .prog .day:hover { transform: none; }
}

/* ---------- home and apply pages ---------- */
.apply-form, .apply-fallback, .apply-guarantee, .payoff { border-radius: var(--r-card) !important; }
.apply-form { box-shadow: var(--shadow-soft) !important; }
.apply-fallback, .apply-guarantee { border-left-width: 1px !important; position: relative; overflow: hidden; }
.apply-fallback::before, .apply-guarantee::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 3px; border-radius: 3px; background: var(--brown); }
.rung img, .rung-tile { border-radius: 16px !important; }
.proof-shot img, .portrait img { border-radius: 16px !important; }

/* ---------- questions: clear contrast between question and answer ---------- */
.faq-item .faq-q { color: var(--ink, #2E251C) !important; font-size: 26px; line-height: 1.2; margin-bottom: 12px; }
.faq-item .faq-a { color: #7A6D5E !important; font-size: 16.5px; line-height: 1.7; }
@media (max-width: 600px) { .faq-item .faq-q { font-size: 24px; } }
