/* PUBLIC WELLNESS PAGES (Wellness plan, Step 6): programs, one program, and
 * the page Stripe sends a buyer back to. Not drawn by Chris, so built from
 * the drawn pages' own parts — the same nav, hero, glass, cards, pills, the
 * page-to-page bar and the dunes footer, copied from Wellness.html's sheet
 * and the build's shared additions (scripts/build-v2-site.py MENU) — rather
 * than a look of their own. The only new pieces are the ones those pages
 * never needed: a program card, a class row, the buy sheet and the waits.
 */

/* ── The drawn site's sheet (Wellness.html) ─────────────────────────────── */
body{margin:0;background:#e8e4df}
a{color:inherit;text-decoration:none}a:hover{color:inherit}
.pg{font-family:'Inter Tight','Helvetica Neue',Arial,sans-serif;color:#1b1410;background:#e8e4df;-webkit-font-smoothing:antialiased}
.wrap{max-width:1240px;margin:0 auto;padding:0 40px;box-sizing:border-box}
.hero{position:relative;color:#fff;background-size:cover;background-position:center}
.glass{background:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(22px) saturate(140%);backdrop-filter:blur(22px) saturate(140%);border:1px solid rgba(255,255,255,.3);box-shadow:inset 0 1px 0 rgba(255,255,255,.32)}
.nav{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:28px 40px}
.mark{display:inline-flex;align-items:center;gap:12px;font-size:13px;letter-spacing:.32em;font-weight:500}
.mark b{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-family:'Cormorant Garamond',Georgia,serif;font-style:italic;font-weight:500;font-size:24px;letter-spacing:0}
.links{display:flex;gap:2px;padding:5px;border-radius:999px}
.links a{height:42px;padding:0 18px;border-radius:999px;display:inline-flex;align-items:center;font-size:14px}
.links a.on{background:rgba(255,255,255,.26)}
.pill{display:inline-flex;align-items:center;gap:8px;height:36px;padding:0 16px;border-radius:999px;font-size:12.5px}
.dt{width:7px;height:7px;border-radius:50%;flex:none;display:inline-block}
.bw{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:60px;padding:0 32px;border-radius:999px;background:#fff;color:#1b1410;font-size:16px;font-weight:500;box-shadow:0 18px 40px -18px rgba(0,0,0,.5)}
.bg{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:56px;padding:0 28px;border-radius:999px;color:#fff;font-size:15px}
.h1{margin:0;font-weight:400;letter-spacing:-.045em;line-height:.98;font-size:clamp(46px,6.2vw,92px)}
.h2{margin:0;font-weight:400;letter-spacing:-.04em;line-height:1.02;font-size:clamp(36px,4.2vw,60px)}
.m{opacity:.55}
.ml{color:rgba(27,20,16,.42)}
.p{font-size:16px;line-height:1.65;color:#4a423b;margin:0}
.eb{font-size:12px;letter-spacing:.14em;text-transform:uppercase;color:#8a6a34}
.foot{position:relative;color:#fff;background-image:linear-gradient(180deg,rgba(20,10,8,.55),rgba(20,10,8,.85)),url(/atlas-v2/site/images/bd4f1a58b168c119058324d2e2b8a796.jpg);background-size:cover;background-position:center}
.fcols{display:grid;grid-template-columns:1.4fr repeat(3,minmax(0,1fr));gap:40px;padding:48px;border-radius:40px}
.fcols h4{margin:0 0 16px;font-size:12px;letter-spacing:.14em;text-transform:uppercase;font-weight:500;color:rgba(255,255,255,.65)}
.fcols a{display:flex;align-items:center;gap:8px;font-size:15px;padding:6px 0}
.legal{display:flex;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:28px 8px 40px;font-size:13px;color:rgba(255,255,255,.7)}
.card{background:rgba(255,255,255,.62);border:1px solid rgba(255,255,255,.95);border-radius:32px;box-shadow:0 14px 30px -22px rgba(60,40,20,.4);padding:32px;box-sizing:border-box}
.g2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.g3{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.g4{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.split{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:64px;align-items:start}
.k{font-size:12px;color:#6e655c}
.ct{font-size:22px;letter-spacing:-.02em;margin:0;font-weight:400}
.tag{display:inline-flex;align-items:center;gap:6px;height:30px;padding:0 12px;border-radius:999px;font-size:12px;background:rgba(27,20,16,.06);color:#4a423b}
.nxt{display:flex;justify-content:space-between;align-items:center;gap:16px;flex-wrap:wrap;padding:28px 32px;border-radius:999px;background:#1b1410;color:#f4efe8}
.nxt a{display:inline-flex;align-items:center;gap:10px;font-size:18px;letter-spacing:-.01em}
.inp{width:100%;height:56px;padding:0 22px;border-radius:999px;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.12);color:#fff;font-family:inherit;font-size:15px;box-sizing:border-box}
.inp::placeholder{color:rgba(255,255,255,.6)}
.hx-w{background-image:linear-gradient(180deg,rgba(140,82,56,.55) 0%,rgba(14,10,8,.15) 35%,rgba(14,10,8,.4) 65%,rgba(14,10,8,.82) 100%),url(/atlas-v2/site/images/dae3016fded735cd15408cf1fc8d3339.jpg)}
@media(max-width:900px){.links{display:none}.g4{grid-template-columns:repeat(2,minmax(0,1fr))}.fcols{grid-template-columns:repeat(2,minmax(0,1fr));padding:32px}.g3,.g2,.split{grid-template-columns:minmax(0,1fr)}.split{gap:32px}}
@media(max-width:600px){.wrap{padding:0 16px}.nav{padding:20px 16px}.g4{grid-template-columns:minmax(0,1fr)}.fcols{grid-template-columns:minmax(0,1fr)}}

/* ── The build's shared additions (build-v2-site.py MENU) ───────────────── */
@view-transition{navigation:auto}
::view-transition-old(root),::view-transition-new(root){animation-duration:.45s;animation-timing-function:cubic-bezier(.4,0,.2,1)}
@media (prefers-reduced-motion:reduce){::view-transition-old(root),::view-transition-new(root){animation:none}}
html{background:#1b1410;overflow-x:clip}body{min-height:100vh;overflow-x:clip}
.v2m-btn{display:none}
a.bw{box-sizing:border-box;text-decoration:none}
a.bw,a.bw:hover,a.bw:focus-visible,button.bw:hover{color:#1b1410}
.mark b{position:relative;border-color:transparent!important;background:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;box-shadow:none!important;font-weight:300!important;font-style:normal!important}
.mark b::before{content:"";position:absolute;inset:0;border-radius:50%;pointer-events:none;
  background:conic-gradient(transparent 0 4deg,#2c5a4a 4deg 86deg,transparent 86deg 94deg,#8c5238 94deg 176deg,transparent 176deg 184deg,#6e2a35 184deg 266deg,transparent 266deg 274deg,#4b5d6e 274deg 356deg,transparent 356deg);
  -webkit-mask:radial-gradient(farthest-side,transparent calc(100% - clamp(2px,13.6%,3px)),#000 calc(100% - clamp(2px,13.6%,3px) + .5px));mask:radial-gradient(farthest-side,transparent calc(100% - clamp(2px,13.6%,3px)),#000 calc(100% - clamp(2px,13.6%,3px) + .5px))}
@media(max-width:900px){.nav>a[href="/login"]{margin-left:auto}}
@media(max-width:900px){
  .nav{position:relative}
  .v2m-btn{display:inline-grid;place-items:center;width:44px;height:44px;margin-left:4px;padding:0;color:#fff;cursor:pointer;background:none;border:0}
  .v2m-btn span{display:block;width:20px;height:1.5px;background:currentColor;box-shadow:0 -6px 0 currentColor,0 6px 0 currentColor}
  .nav.v2m-open .links{display:flex!important;position:absolute;top:calc(100% + 10px);right:16px;left:auto;flex-direction:column;align-items:stretch;
    padding:8px;border-radius:24px;z-index:20;min-width:200px;background:rgba(27,20,16,.72)}
  .nav.v2m-open .links a{padding:12px 16px}
}

/* ── Wellness: what the drawn pages never needed ────────────────────────── */
[hidden]{display:none!important}
.wl-hero{min-height:620px;display:flex;flex-direction:column}
.wl-hero .wrap{width:100%;flex-grow:1;display:flex;flex-direction:column;justify-content:flex-end;gap:22px;padding-bottom:72px}
.wl-lede{margin:0;max-width:640px;font-size:18px;line-height:1.55;font-weight:300;color:rgba(255,255,255,.88)}
.wl-stat{padding:18px 22px;border-radius:24px}
.wl-stat .l{font-size:12px;color:rgba(255,255,255,.72)}
.wl-stat .v{margin-top:6px;font-size:17px;line-height:1.35}
.wl-sec{padding:120px 0}
.wl-sec-top{display:flex;justify-content:space-between;align-items:flex-end;gap:24px;flex-wrap:wrap;margin-bottom:40px}

/* A program, as a card on the list. */
.wl-prog{display:flex;flex-direction:column;gap:18px;min-height:320px;transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s}
.wl-prog:hover{transform:translateY(-3px);box-shadow:0 26px 44px -26px rgba(60,40,20,.5)}
.wl-prog:focus-visible{outline:2px solid #8c5238;outline-offset:4px}
.wl-prog h3{margin:0;font-size:28px;line-height:1.08;letter-spacing:-.03em;font-weight:400}
.wl-prog .sum{margin:0;font-size:15px;line-height:1.6;color:#4a423b}
.wl-prog .bot{margin-top:auto;display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap}
.wl-where{display:inline-flex;align-items:flex-start;gap:8px;font-size:13.5px;line-height:1.45;color:#4a423b}
.wl-where .dt{margin-top:6px;background:#8c5238}
.wl-price{font-size:22px;letter-spacing:-.02em}
.wl-price small{font-size:13px;color:#6e655c;letter-spacing:0;margin-right:4px}
.wl-go{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:#1b1410;color:#f4efe8;font-size:18px;flex:none}

/* A class, as a row in the program's schedule (on the dark section). */
.wl-rows{display:flex;flex-direction:column;gap:12px}
.wl-row{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1.6fr) auto auto;gap:24px;align-items:center;padding:22px 26px;border-radius:28px}
.wl-row .when{font-size:17px;letter-spacing:-.01em}
.wl-row .sub{margin-top:4px;font-size:13px;color:rgba(255,255,255,.72)}
.wl-row .where{font-size:14px;line-height:1.45}
.wl-row .left{font-size:13px;color:rgba(255,255,255,.8);white-space:nowrap}
.wl-row .left.low{color:#f0b48e}
.wl-row .buy{display:inline-flex;align-items:center;gap:10px;height:48px;padding:0 22px;border-radius:999px;border:0;background:#fff;color:#1b1410;font:inherit;font-size:15px;font-weight:500;cursor:pointer;white-space:nowrap}
.wl-row .buy[disabled]{background:rgba(255,255,255,.18);color:rgba(255,255,255,.7);cursor:default}
@media(max-width:900px){
  .wl-row{grid-template-columns:minmax(0,1fr) auto;gap:12px 16px}
  .wl-row .where{grid-column:1/-1;grid-row:2}
  .wl-row .left{grid-column:1;grid-row:3}
  .wl-row .buy{grid-column:2;grid-row:3}
}

/* The whole-program offer, beside the details. */
.wl-offer{display:flex;flex-direction:column;gap:16px}
.wl-offer .big{font-size:44px;letter-spacing:-.035em;line-height:1}
.wl-offer .bw{border:0;font-family:inherit;cursor:pointer;width:100%}
.wl-offer .bw[disabled]{opacity:.55;cursor:default}
.wl-details{white-space:pre-line}

/* Waiting: shimmering stand-ins in the shape of what is coming. */
.wl-skel{position:relative;overflow:hidden;background:rgba(27,20,16,.06);border-radius:12px}
.hero .wl-skel,.wl-dark .wl-skel{background:rgba(255,255,255,.12)}
.wl-skel::after{content:"";position:absolute;inset:0;transform:translateX(-100%);background:linear-gradient(90deg,transparent,rgba(255,255,255,.45),transparent);animation:wl-sh 1.4s ease-in-out infinite}
.hero .wl-skel::after,.wl-dark .wl-skel::after{background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent)}
@keyframes wl-sh{to{transform:translateX(100%)}}
@media(prefers-reduced-motion:reduce){.wl-skel::after{animation:none}}
.wl-in{animation:wl-in .5s cubic-bezier(.2,.8,.2,1) both}
@keyframes wl-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
@media(prefers-reduced-motion:reduce){.wl-in{animation:none}}

/* Empty and error, in the card's voice. */
.wl-note{display:flex;flex-direction:column;align-items:flex-start;gap:18px}
.wl-note .ct{font-size:26px}
.wl-note button{border:0;font-family:inherit;cursor:pointer}

/* The buy sheet: the drawn menu's smoked glass, over a dimmed page. */
.wl-scrim{position:fixed;inset:0;z-index:50;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(14,10,8,.55);opacity:0;transition:opacity .3s}
.wl-scrim.open{opacity:1}
.wl-sheet{position:relative;width:min(560px,100%);max-height:calc(100vh - 48px);overflow:auto;box-sizing:border-box;padding:36px;border-radius:36px;color:#fff;
  font-family:'Inter Tight','Helvetica Neue',Arial,sans-serif;background:rgba(27,20,16,.78);-webkit-backdrop-filter:blur(26px) saturate(140%);backdrop-filter:blur(26px) saturate(140%);
  border:1px solid rgba(255,255,255,.22);box-shadow:0 40px 80px -30px rgba(0,0,0,.7);transform:translateY(16px) scale(.98);transition:transform .4s cubic-bezier(.2,.8,.2,1)}
.wl-scrim.open .wl-sheet{transform:none}
@media(prefers-reduced-motion:reduce){.wl-scrim,.wl-sheet{transition:none}}
.wl-sheet h2{margin:0;font-size:32px;line-height:1.05;letter-spacing:-.035em;font-weight:400}
.wl-sheet .what{margin:18px 0 22px;padding:18px 20px;border-radius:24px;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 16px}
.wl-sheet .what .t{font-size:15px}
.wl-sheet .what .s{font-size:13px;color:rgba(255,255,255,.72);grid-column:1}
.wl-sheet .what .pr{grid-column:2;grid-row:1/span 2;align-self:center;font-size:24px;letter-spacing:-.02em}
.wl-x{position:absolute;top:18px;right:18px;width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.12);color:#fff;font-size:20px;cursor:pointer}
.wl-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.wl-form label{display:flex;flex-direction:column;gap:6px;font-size:12.5px;color:rgba(255,255,255,.75)}
.wl-form .wide{grid-column:1/-1}
.wl-form .inp{height:52px}
.wl-form .inp[aria-invalid="true"]{border-color:#f0b48e}
.wl-consent{grid-column:1/-1;display:flex!important;flex-direction:row!important;gap:12px;align-items:flex-start;margin-top:6px;font-size:13px!important;line-height:1.55;color:rgba(255,255,255,.8)!important}
.wl-consent input{margin-top:3px;flex:none;width:18px;height:18px;accent-color:#f0b48e}
.wl-consent a{text-decoration:underline;text-underline-offset:3px}
.wl-pay{margin-top:22px;width:100%;border:0;font-family:inherit;cursor:pointer}
.wl-pay[disabled]{cursor:progress;opacity:.85}
.wl-spin{width:16px;height:16px;border-radius:50%;border:2px solid rgba(27,20,16,.2);border-top-color:#1b1410;animation:wl-rot .8s linear infinite;flex:none}
@keyframes wl-rot{to{transform:rotate(360deg)}}
.wl-err{margin:14px 0 0;padding:12px 16px;border-radius:18px;font-size:14px;line-height:1.5;background:rgba(240,180,142,.16);color:#ffd9c2}
.wl-fine{margin:14px 0 0;font-size:12.5px;line-height:1.55;color:rgba(255,255,255,.62);text-align:center}
@media(max-width:600px){
  .wl-scrim{align-items:flex-end;padding:0}
  .wl-sheet{width:100%;border-radius:32px 32px 0 0;padding:28px 20px calc(24px + env(safe-area-inset-bottom));max-height:92vh}
  .wl-form{grid-template-columns:minmax(0,1fr)}
}

/* The page Stripe sends them back to. */
.wl-done{min-height:100vh;display:flex;flex-direction:column}
.wl-done .wrap{flex-grow:1;display:flex;flex-direction:column;justify-content:center;gap:22px;padding-bottom:96px;max-width:860px}
.wl-done .seal{width:72px;height:72px;border-radius:50%;display:grid;place-items:center;font-size:30px}
.wl-done .resend{margin:0;font-size:14px;color:rgba(255,255,255,.75)}
.wl-done .resend button{border:0;background:none;padding:0;color:#fff;font:inherit;text-decoration:underline;text-underline-offset:3px;cursor:pointer}
