/* PlateWiz Pro page. Builds on home.css (tokens, top bar, store buttons, FAQ, footer).
   The Wiz's magic comes from the app itself: the rune sigil, the four-point sparkle, the sealed note and
   the spell circle. Deep emerald and the spell lime carry the page; gold is only a small accent. */
:root { --night: #0b2e23; --mint-l: #7df0d4; --gold-s: #e9b93a; --gold: #f2c84b; --on-gold: #3a2600; }
.links a[aria-current="page"] { background: var(--ground-2); }

/* The sigil, drawn by pro.js from the app's runes ------------------------------- */
.psig .sig > svg, .psig[data-sig="mini"] > svg { width: 100%; height: 100%; overflow: visible; }
.psig .turn, .psig .inner, .psig .sparks, .psig .elder, .psig .star { transform-origin: 60px 60px; }
.psig .turn { animation: spin 90s linear infinite; }
.psig .elder, .psig .star { transition: opacity 0.6s, transform 0.9s var(--spring); }
.psig .elder { opacity: 0.55; }
.psig .star { opacity: 0; transform: scale(0.86) rotate(-20deg); }
.psig .starring { opacity: 0; transition: opacity 0.8s 0.2s; }
.psig .inner { opacity: 0; animation: spin 16s linear infinite reverse; transition: opacity 0.6s; }
.psig .sparks { opacity: 0; animation: spin 7s linear infinite; transition: opacity 0.6s; }
.psig .arc { transition: stroke-dashoffset 1.4s var(--ease); }
.psig .ms circle { transition: fill 0.4s, stroke 0.4s, opacity 0.4s; }
.psig .ms .ring { stroke: rgba(255, 255, 255, 0.3); }
.psig .ms .dot { opacity: 0.45; }
.psig .ms.on .ring { stroke: var(--lime); }
.psig .ms.on .dot { opacity: 1; fill: var(--lime); }
.psig.is-pro .elder { opacity: 0; transform: scale(1.1) rotate(20deg); }
.psig.is-pro .star { opacity: 0.95; transform: none; }
.psig.is-pro .starring { opacity: 0.7; }
.psig.is-pro .inner { opacity: 0.5; }
.psig.is-pro .sparks { opacity: 1; }
.psig.is-pro .ms.on .ring { stroke: var(--lime); }
.psig.is-pro .ms.on .dot { fill: var(--gold-s); }
.psig.flare .turn { animation-duration: 6s; }

.spk { z-index: 6; }
.tw { position: absolute; left: var(--x); top: var(--y); width: var(--s); height: var(--s); fill: var(--c, var(--mint)); pointer-events: none; animation: twinkle 2.8s ease-in-out var(--d, 0s) infinite; }
@keyframes twinkle { 0%, 100% { opacity: 0.3; transform: scale(0.55) rotate(0deg); } 50% { opacity: 1; transform: scale(1) rotate(25deg); } }

/* Hero: two weeks of plates become what the Wiz learned, then your next plan -------- */
.p-hero { position: relative; overflow: clip; background: var(--night); color: #fff; }
.p-hero-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); column-gap: clamp(32px, 5vw, 80px); align-items: center; min-height: calc(100svh - 72px); padding-block: 48px 72px; }
.p-copy { position: relative; z-index: 2; }
.p-copy h1 { font-size: clamp(2.75rem, 5.8vw, 5.5rem); margin-bottom: 28px; }
.p-copy h1 .ln { display: block; overflow: clip; padding-bottom: 0.08em; margin-bottom: -0.08em; white-space: nowrap; }
.p-copy h1 .ln > span { display: block; animation: line-up 1s var(--ease) both; }
.p-copy h1 .ln:nth-child(2) > span { animation-delay: 0.09s; }
.p-copy .lede { max-width: 23em; }
.price { font-size: var(--s-body); margin-bottom: 28px; animation: rise 0.9s var(--ease) 0.3s both; }
.price b { color: var(--gold); font-weight: 800; }
.p-hero .stores { animation: rise 0.9s var(--ease) 0.36s both; }
.p-hero .store { background: #fff; color: var(--ink); }
.p-hero .store:hover { background: var(--gold); }
.stays { margin-top: 20px; font-size: 1rem; animation: rise 0.9s var(--ease) 0.44s both; }

.learn { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; width: min(100%, 500px); justify-self: end; }
.learn::before { content: ""; position: absolute; left: 50%; top: 50%; width: 132%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--emerald); animation: halo-in 1.3s var(--ease) both; }
@keyframes halo-in { from { transform: translate(-50%, -50%) scale(0.86); opacity: 0; } }
.learn > * { position: relative; }
.learn .tws { position: absolute; inset: -8%; pointer-events: none; }

.lw { background: var(--emerald-d); border-radius: var(--r); padding: 18px 20px 16px; }
.lw-h { font-weight: 600; font-size: var(--s-small); margin-bottom: 12px; }
.lw-plates { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.lw-plates li { display: grid; justify-items: center; gap: 6px; font-size: 0.8125rem; font-weight: 600; transition: opacity 0.5s, transform 0.6s var(--spring); transition-delay: calc(var(--k) * 90ms); }
.lw-plates img { width: 100%; aspect-ratio: 1; height: auto; object-fit: cover; border-radius: 50%; outline: 3px solid transparent; outline-offset: 3px; transition: outline-color 0.25s, transform 0.4s var(--spring); }
.lw-plates li.read img { outline-color: var(--lime); transform: scale(1.08); }
.js .learn:not(.s1) .lw-plates li { opacity: 0; transform: translateY(12px) scale(0.6); }

.lcard { border-radius: var(--r); padding: 20px 22px; color: var(--ink); transition: opacity 0.6s, transform 0.8s var(--ease); }
.learned { background: var(--pale); width: 92%; }
.lc-h { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.0625rem; letter-spacing: -0.03em; line-height: 1.2; margin-bottom: 12px; }
.lc-h img { width: 26px; height: 26px; border-radius: 50%; flex: none; }
.lc-list { display: grid; gap: 8px; }
.lc-list li { position: relative; padding-left: 26px; font-size: 1rem; line-height: 1.35; transition: opacity 0.45s, transform 0.55s var(--ease); }
.lc-list li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 15px; height: 15px; background: var(--teal); -webkit-mask: var(--spark) center / contain no-repeat; mask: var(--spark) center / contain no-repeat; transition: transform 0.5s var(--spring) 0.1s; }
.js .learn:not(.s2) .learned { opacity: 0; transform: translateY(20px); }
.js .learn .lc-list li:not(.on) { opacity: 0; transform: translateX(-10px); }
.js .learn .lc-list li:not(.on)::before { transform: scale(0) rotate(-90deg); }

.next { background: var(--card); width: 82%; justify-self: end; margin-top: -34px; }
.nx-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.nx-h b { font-weight: 800; font-size: 1.125rem; letter-spacing: -0.03em; }
.nx-h span { background: var(--gold); color: var(--on-gold); font-weight: 800; font-size: var(--s-small); padding: 4px 12px; border-radius: 999px; }
.nx-list { display: grid; gap: 8px; }
.nx-list li { display: flex; align-items: center; gap: 12px; font-size: var(--s-small); line-height: 1.25; transition: opacity 0.45s, transform 0.55s var(--spring); }
.nx-list li:nth-child(2) { transition-delay: 0.12s; }
.nx-list li:nth-child(3) { transition-delay: 0.24s; }
.nx-list img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; flex: none; }
.nx-list b { display: block; font-weight: 600; font-size: 1rem; }
.nx-f { margin-top: 12px; font-size: var(--s-small); color: var(--muted); }
.learn-note { position: relative; font-size: var(--s-small); font-weight: 600; text-align: center; }
.js .learn:not(.s3) .next { opacity: 0; transform: translateY(24px) scale(0.97); }
.js .learn:not(.s3) .nx-list li { opacity: 0; transform: translateX(14px); }

/* A week with your coach ------------------------------------------------------------ */
.wk-head { align-items: end; margin-bottom: 40px; }
.wk-head h2 { grid-column: 1 / 7; }
.wk-head p { grid-column: 8 / 13; }
.wk { display: grid; grid-template-columns: minmax(0, 540px) auto; justify-content: space-evenly; column-gap: clamp(32px, 6vw, 120px); }
.beats { grid-column: 1; grid-row: 1; }
.beat { min-height: 66svh; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; }
.beat-b { position: relative; text-align: left; border-radius: 16px; padding-left: 0; transition: padding-left 0.4s var(--ease); }
.beat-b { font: inherit; letter-spacing: inherit; color: inherit; }
.beat-b .day { display: block; font-size: 1rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 8px; color: var(--ink); }
.beat h3 { font-size: clamp(1.75rem, 3vw, 2.75rem); color: var(--muted); transition: color 0.3s; }
.beat-b::before { content: ""; position: absolute; left: 0; top: 2.35rem; width: 14px; height: 14px; background: var(--gold-s); -webkit-mask: var(--spark) center / contain no-repeat; mask: var(--spark) center / contain no-repeat; transform: scale(0) rotate(-90deg); transition: transform 0.45s var(--spring); }
.beat.on .beat-b { padding-left: 1.6rem; }
.beat.on .beat-b::before { transform: none; }
.beat.on h3 { color: var(--ink); }
.beat > p { margin-top: 16px; max-width: 34ch; }
:root { --spark: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M10 0c.6 5.2 4.8 9.4 10 10-5.2.6-9.4 4.8-10 10-.6-5.2-4.8-9.4-10-10C5.2 9.4 9.4 5.2 10 0Z'/%3E%3C/svg%3E"); }

.wk-phone { --pw: clamp(250px, 22vw, 300px); grid-column: 2; grid-row: 1; position: sticky; top: calc(50svh - var(--pw) * 0.95 + 36px); align-self: start; display: grid; justify-items: center; padding-block: 24px; }
.wk-phone::before { content: ""; position: absolute; left: 50%; top: 50%; width: calc(var(--pw) * 1.42); aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: var(--pale); }
.wk-phone .phone { container-type: inline-size; }
.pills, .wk-nav { display: none; }
.scr { position: absolute; inset: 0; padding: 52px 16px 20px; display: grid; grid-template-columns: minmax(0, 1fr); align-content: center; opacity: 0; visibility: hidden; transform: translateY(16px); transition: opacity 0.3s, transform 0.5s var(--ease), visibility 0s 0.3s; }
.scr.on { opacity: 1; visibility: visible; transform: none; transition: opacity 0.45s 0.1s, transform 0.6s var(--ease) 0.1s, visibility 0s; }

/* Monday: the sealed note */
.mnote { display: grid; min-height: 380px; align-items: center; }
.seal, .mnote-body { grid-area: 1 / 1; }
.seal { display: grid; justify-items: center; gap: 8px; text-align: center; color: #fff; padding: 12px; border-radius: 24px; transition: opacity 0.35s, transform 0.5s var(--ease), visibility 0s 0.35s; }
.seal-ring { position: relative; width: 108px; height: 108px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin-bottom: 20px; transition: transform 0.5s var(--spring); }
.seal-ring::before { content: ""; position: absolute; inset: -13px; border-radius: 50%; border: 2px dashed var(--gold); animation: spin 14s linear infinite; }
.seal-ring img { width: 64px; height: 64px; border-radius: 50%; }
.seal:hover .seal-ring { transform: rotate(-10deg) scale(1.06); }
.seal b { font-size: 1.25rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; }
.seal span { font-size: var(--s-small); }
.mnote.open .seal { opacity: 0; visibility: hidden; transform: scale(1.12); }
.mnote-body { background: #fff; color: var(--ink); border-radius: 22px; padding: 20px 18px; display: grid; gap: 14px; transform-origin: 50% 0; opacity: 0; visibility: hidden; transform: scaleY(0.55); transition: opacity 0.3s, transform 0.6s var(--ease), visibility 0s 0.3s; }
.mnote.open .mnote-body { opacity: 1; visibility: visible; transform: none; transition: opacity 0.4s 0.15s, transform 0.7s var(--ease) 0.1s, visibility 0s; }
.mn-h { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: var(--s-small); }
.mn-h img { width: 24px; height: 24px; border-radius: 50%; }
.mn-t { font-size: 1.0625rem; font-weight: 600; line-height: 1.3; letter-spacing: -0.02em; }
.mn-acts { display: grid; gap: 6px; }
.mn-acts button { height: 46px; border-radius: 999px; font-weight: 600; font-size: 1rem; background: var(--ground); transition: background-color 0.2s, transform 0.3s var(--spring); }
.mn-acts button:first-child { background: var(--ink); color: #fff; }
.mn-acts button:hover { background: var(--ground-2); }
.mn-acts button:first-child:hover { background: var(--teal-d); }
.mn-acts button:active { transform: scale(0.96); }
.mn-done { font-weight: 600; font-size: 1rem; color: var(--teal-d); }
.mn-done:empty { display: none; }
.mnote.answered .mn-acts { display: none; }

/* Wednesday: plans change */
.sc-h { font-weight: 800; font-size: 1.125rem; letter-spacing: -0.03em; margin-bottom: 10px; }
.plan { display: grid; grid-template-columns: minmax(0, 1fr); gap: 6px; }
.plan li { display: flex; align-items: center; gap: 10px; padding: 6px; border-radius: 26px; background: var(--emerald-2); }
.th { width: 40px; height: 40px; border-radius: 50%; flex: none; overflow: hidden; display: grid; place-items: center; background: var(--emerald-3); transition: transform 0.45s var(--ease); }
.th img { width: 100%; height: 100%; object-fit: cover; }
.th .pg { width: 26px; height: 26px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.th .pg::after { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--ground-2); }
.plan li > span:not(.th) { flex: 1; min-width: 0; transition: opacity 0.3s; }
.plan b { display: block; font-weight: 600; font-size: var(--s-small); line-height: 1.2; }
.plan small { font-size: 0.8125rem; }
.plan em { font-style: normal; font-size: 0.8125rem; font-weight: 600; padding: 3px 9px; border-radius: 999px; margin-right: 2px; flex: none; }
.plan em:empty { display: none; }
.plan .logged em { background: var(--emerald-3); }
.plan .changed em { background: var(--lime); color: var(--on-lime); animation: pop 0.4s var(--spring); }
.plan li.spin .th { transform: rotate(-200deg) scale(0.5); }
.plan li.spin > span:not(.th) { opacity: 0; }
.chips2 { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.chips2 button { padding: 9px 8px; border-radius: 16px; background: #fff; color: var(--ink); font-weight: 600; font-size: 0.8125rem; line-height: 1.2; transition: background-color 0.2s, transform 0.3s var(--spring); }
.chips2 button:hover { background: var(--ground-2); }
.chips2 button:active { transform: scale(0.95); }
.chips2 button[aria-pressed="true"] { background: var(--lime); color: var(--on-lime); }
.sc-h2 { font-weight: 600; font-size: var(--s-small); margin: 14px 0 8px; }
.summon { min-height: 1.5em; margin-top: 10px; font-size: var(--s-small); font-weight: 600; color: var(--lime); text-align: center; }
.summon.swap { animation: rise 0.35s var(--ease); }

/* Thursday: ask how it's going */
.tchat { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; }
.tchat .me { justify-self: end; max-width: 85%; background: var(--lime); color: var(--on-lime); padding: 10px 14px; border-radius: 20px 20px 6px 20px; font-weight: 600; font-size: 0.9375rem; }
.tchat .bot { display: flex; gap: 8px; align-items: flex-start; background: #fff; color: var(--ink); padding: 12px 14px; border-radius: 20px 20px 20px 6px; font-size: 0.9375rem; line-height: 1.4; }
.tchat .bot img { width: 22px; height: 22px; border-radius: 50%; flex: none; margin-top: 1px; }
.tchat .ghost { opacity: 0; }
.dots3 { display: none; gap: 4px; padding: 6px 0; }
.dots3 i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: pulse 0.9s infinite; }
.dots3 i:nth-child(2) { animation-delay: 0.15s; } .dots3 i:nth-child(3) { animation-delay: 0.3s; }
.tchat.thinking .dots3 { display: flex; }
.tchat.thinking .bt { display: none; }

/* Friday: full nutrition */
.meal-h { display: flex; align-items: center; gap: 10px; }
.meal-h img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex: none; }
.meal-h b { display: block; font-weight: 800; font-size: 1rem; letter-spacing: -0.02em; }
.meal-h small { font-size: 0.8125rem; }
.nut-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 6px; margin-top: 20px; }
.nut { display: grid; justify-items: center; gap: 6px; text-align: center; }
.ring { position: relative; width: min(100%, 66px); aspect-ratio: 1; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke-width: 3.4; }
.ring .tr { stroke: var(--emerald-2); }
.ring .fg { stroke: var(--lime); stroke-linecap: round; stroke-dasharray: var(--v) 100; transition: stroke-dasharray 1.1s var(--ease); }
.nut:nth-child(even) .fg { stroke: var(--mint); }
.scr:not(.on) .ring .fg { stroke-dasharray: 0 100; transition: none; }
.ring b { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 800; font-size: var(--s-small); }
.nut .nl { font-size: 0.8125rem; font-weight: 600; line-height: 1.15; }
.nut-note { font-size: 0.8125rem; margin-top: 16px; text-align: center; }

/* Sunday: a milestone */
.mile { position: relative; display: grid; justify-items: center; gap: 10px; text-align: center; }
.mile-sig { position: relative; width: 170px; aspect-ratio: 1; margin-bottom: 6px; }
.mile-sig .sig { position: absolute; inset: 0; }
.mile-q { position: absolute; inset: 0; display: grid; place-items: center; color: var(--gold); font-size: 2rem; font-weight: 800; letter-spacing: -0.05em; }
.mile-k { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.04em; line-height: 1.1; }
.mile-b { font-size: 0.9375rem; line-height: 1.4; }

@container (max-width: 300px) {
  .scr { padding-top: 44px; padding-bottom: 14px; }
  .sc-h { display: none; }
  .th { width: 34px; height: 34px; }
  .plan small { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .plan em { padding: 2px 7px; }
  .chips2 button { padding: 8px 6px; }
  .sc-h { font-size: 1rem; margin-bottom: 8px; }
  .plan { gap: 4px; }
  .plan li { padding: 4px; }
  .plan b { font-size: 0.8125rem; }
  .sc-h2 { margin: 10px 0 6px; }
  .summon { font-size: 0.8125rem; margin-top: 8px; }
  .tchat .bot, .tchat .me { font-size: 0.875rem; }
}
@container (max-width: 268px) {
  .scr { padding-inline: 12px; }
  .chips2 button { padding: 8px 6px; }
  .plan li { gap: 8px; }
  .th { width: 34px; height: 34px; }
  .mile-sig { width: 140px; }
}

/* It remembers what matters ------------------------------------------------------------ */
.mem { margin-top: var(--sec); padding-block: clamp(80px, 10vw, 150px); background: var(--pale); }
.mem-copy { grid-column: 1 / 6; align-self: center; }
.mem-copy p { margin-top: 20px; max-width: 30em; }
.mem-copy p:first-of-type { font-size: var(--s-lead); line-height: 1.3; }
.book { grid-column: 7 / -1; background: var(--card); border-radius: var(--r); padding: clamp(22px, 3vw, 36px); }
.book-h { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.25rem; letter-spacing: -0.03em; margin-bottom: 18px; }
.book-h svg { width: 20px; height: 20px; fill: var(--teal); flex: none; animation: twinkle 3s ease-in-out infinite; }
.book-h span { white-space: nowrap; margin-left: auto; font-size: var(--s-small); font-weight: 600; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.facts { display: grid; gap: 8px; margin-bottom: 14px; }
.facts li { display: flex; align-items: center; gap: 12px; padding: 8px 8px 8px 18px; border-radius: 999px; background: var(--ground); font-weight: 600; font-size: 1rem; line-height: 1.25; animation: fact-in 0.55s var(--spring); transition: opacity 0.3s, transform 0.35s var(--ease); }
.facts li > span { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.facts li.out { opacity: 0; transform: translateX(24px) scale(0.96); }
@keyframes fact-in { from { opacity: 0; transform: translateY(10px) scale(0.96); } }
.forget { position: relative; width: 36px; height: 36px; border-radius: 50%; background: #fff; flex: none; transition: background-color 0.2s, transform 0.3s var(--spring); }
.forget::before, .forget::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 3px; margin: -1.5px -7px; border-radius: 3px; background: var(--ink); transform: rotate(45deg); }
.forget::after { transform: rotate(-45deg); }
.forget:hover { background: var(--ground-2); transform: rotate(90deg); }
.addf { display: flex; gap: 8px; }
.addf input { flex: 1; min-width: 0; font: inherit; font-size: 1rem; padding: 14px 20px; border: 0; border-radius: 999px; background: var(--ground); color: var(--ink); }
.addf input::placeholder { color: var(--muted); }
.addf input:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }
.addf button { flex: none; padding: 0 22px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 1rem; transition: background-color 0.2s, transform 0.3s var(--spring); }
.addf button:hover { background: var(--teal-d); }
.addf button:active { transform: scale(0.96); }
.book-note { margin-top: 14px; font-size: var(--s-small); color: var(--muted); }
.book-msg { margin-top: 8px; font-size: var(--s-small); font-weight: 600; color: var(--teal-d); min-height: 1.4em; }

/* Kind, quiet and on your side ------------------------------------------------------------ */
.rules2 { padding-block: clamp(80px, 10vw, 150px); background: var(--emerald); color: #fff; }
.rules2 h2 { grid-column: 1 / 6; align-self: start; position: sticky; top: 112px; }
.rules2 ul { grid-column: 7 / -1; display: grid; gap: clamp(20px, 3vw, 36px); }
.rules2 li { display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 22px; align-items: start; }
.rune { width: 34px; height: 46px; overflow: visible; }
.rune path { fill: none; stroke: var(--lime); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; transition: stroke-dashoffset 1.1s var(--ease) 0.2s; }
.js .rules2 li:not(.in) .rune path { stroke-dashoffset: 1; }
.rules2 p { font-size: clamp(1.25rem, 1.9vw, 1.75rem); font-weight: 600; letter-spacing: -0.025em; line-height: 1.25; }

/* Free to start, Pro to keep going ---------------------------------------------------------- */
.cmp-h { margin-bottom: 48px; }
.cmp2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; align-items: start; }
.side { border-radius: var(--r); padding: clamp(26px, 3.4vw, 44px); }
.side.free { background: var(--card); }
.side.pro { background: var(--night); color: #fff; position: relative; overflow: clip; }
.side-h { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 26px; }
.side h3 { font-size: clamp(2rem, 3.4vw, 3rem); }
.side h3 small { display: block; font-size: 1rem; font-weight: 600; letter-spacing: 0; margin-top: 10px; }
.mini { width: 72px; height: 72px; flex: none; }
.side ul { display: grid; gap: 14px; }
.side li { position: relative; padding-left: 30px; font-size: 1rem; line-height: 1.4; }
.side.free li::before { content: ""; position: absolute; left: 2px; top: 0.4em; width: 12px; height: 12px; border-radius: 50%; background: var(--teal); }
.side.pro li::before { content: ""; position: absolute; left: 0; top: 0.2em; width: 17px; height: 17px; background: var(--gold); -webkit-mask: var(--spark) center / contain no-repeat; mask: var(--spark) center / contain no-repeat; }
.side.pro h3 { color: var(--gold); }
.cmp-note { margin-top: 20px; color: var(--muted); font-size: 1rem; max-width: 60ch; }

/* Price and questions --------------------------------------------------------------------------- */
.price-side { grid-column: 1 / 5; align-self: start; }
.faqs .price-side h2 { position: static; margin-bottom: 32px; }
.plans { list-style: none; margin: 24px 0 16px; padding: 0; }
.plans li { display: flex; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid rgba(20, 150, 122, 0.25); }
.plans b { font-weight: 800; }
.pcoin { position: relative; width: min(100%, 300px); aspect-ratio: 1; margin-bottom: 28px; }
.pcoin svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.pc-out { animation: spin 40s linear infinite; }
.pc-in { animation: spin 22s linear infinite reverse; }
.pc-c { position: absolute; inset: 17%; border-radius: 50%; background: var(--emerald); color: #fff; display: grid; place-content: center; text-align: center; font-weight: 600; font-size: 1rem; }
.pc-c b { color: var(--gold); display: block; font-size: clamp(2.5rem, 4vw, 3.25rem); font-weight: 800; letter-spacing: -0.06em; line-height: 1; }
.fine { color: var(--muted); font-size: 1rem; }
.fine a { color: var(--teal-d); font-weight: 600; }

/* Make the Wiz your coach ---------------------------------------------------------------------------- */
.pcta { position: relative; margin-top: var(--sec); padding-block: clamp(64px, 7vw, 104px); background: var(--night); color: #fff; overflow: clip; }
.pcta-in { position: relative; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.pcta-copy { grid-column: 2 / 12; position: relative; z-index: 2; display: grid; justify-items: center; text-align: center; }
.pcta-seal { position: relative; width: 92px; height: 92px; border-radius: 50%; background: var(--gold); display: grid; place-items: center; margin-bottom: 34px; }
.pcta-seal::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px dashed var(--gold); animation: spin 18s linear infinite; }
.pcta-seal img { width: 62px; height: 62px; border-radius: 50%; }
.pcta h2 { font-size: clamp(2.75rem, 6vw, 6rem); line-height: 0.9; }
.pcta-copy p:not(.pcta-seal) { font-size: var(--s-lead); font-weight: 600; margin: 24px 0 28px; }
.pcta .stores { justify-content: center; }
.pcta .store { background: #fff; color: var(--ink); }
.pcta .store:hover { background: var(--gold); }
.cta-plates { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(10px, 1.6vw, 22px); width: min(100%, 1100px); margin-top: clamp(40px, 5vw, 64px); }
.cta-plates li { transition: transform 0.6s var(--spring); }
.cta-plates li:nth-child(odd) { transform: translateY(14px); }
.cta-plates img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 50%; transition: transform 0.5s var(--spring); }
.cta-plates li:hover img { transform: rotate(18deg) scale(1.06); }
.js .cta-plates:not(.in) li { transform: translateY(40px) scale(0.8); opacity: 0; }
.cta-plates li { transition: transform 0.7s var(--spring), opacity 0.5s; }
.cta-plates li:nth-child(2) { transition-delay: 0.06s; } .cta-plates li:nth-child(3) { transition-delay: 0.12s; } .cta-plates li:nth-child(4) { transition-delay: 0.18s; }
.cta-plates li:nth-child(5) { transition-delay: 0.24s; } .cta-plates li:nth-child(6) { transition-delay: 0.3s; } .cta-plates li:nth-child(7) { transition-delay: 0.36s; }

/* Narrower screens ------------------------------------------------------------------------------ */
@media (max-width: 1099px) {
  .p-hero-in { grid-template-columns: minmax(0, 1fr); row-gap: 64px; min-height: 0; padding-block: 40px 80px; }
  .p-copy h1 { font-size: clamp(2.5rem, 11vw, 5rem); }
  .p-copy .lede { max-width: 30em; }
  .learn { justify-self: center; }
  .pcta-copy { grid-column: 1 / -1; }
}
@media (max-width: 959px) {
  .wk-head h2, .wk-head p { grid-column: 1 / -1; }
  .wk-head { row-gap: 20px; }
  .wk { grid-template-columns: minmax(0, 1fr); justify-items: center; row-gap: 20px; }
  .pills { display: flex; justify-content: center; gap: 6px; grid-row: 1; flex-wrap: wrap; }
  .pills button { padding: 10px 14px; border-radius: 999px; background: var(--card); font-weight: 600; font-size: 1rem; transition: background-color 0.2s, color 0.2s; }
  .pills button[aria-selected="true"] { background: var(--emerald); color: #fff; }
  .wk-phone .phone { height: calc(var(--pw) * 2.02); }
  .wk-phone { --pw: clamp(240px, 70vw, 290px); grid-column: 1; grid-row: 2; position: relative; top: auto; padding-block: 16px; }
  .wk-phone::before { width: min(calc(var(--pw) * 1.42), 96vw); }
  .beats { grid-column: 1; grid-row: 3; width: 100%; max-width: 32rem; text-align: center; }
  .beat { min-height: 0; padding: 0; }
  .js .beat:not(.on) { display: none; }
  .js .beat.on { animation: rise 0.45s var(--ease); }
  .beat + .beat { margin-top: 32px; }
  .js .beat + .beat { margin-top: 0; }
  .beat-b, .beat.on .beat-b { padding-left: 0; text-align: center; width: 100%; pointer-events: none; }
  .beat-b::before { display: none; }
  .beat h3 { color: var(--ink); font-size: clamp(1.75rem, 7vw, 2.25rem); }
  .beat > p { margin-inline: auto; }

  .mem-copy, .book { grid-column: 1 / -1; }
  .book { margin-top: 40px; }
  .rules2 h2 { grid-column: 1 / -1; position: static; margin-bottom: 40px; }
  .rules2 ul { grid-column: 1 / -1; }
  .cmp2 { grid-template-columns: minmax(0, 1fr); }
  .price-side { grid-column: 1 / -1; position: static; margin-bottom: 40px; }
  .faqs .price-side h2 { margin-bottom: 24px; }
  .pcoin { width: 240px; }
}
@media (max-width: 600px) {
  .cta-plates { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .cta-plates li:nth-child(n + 4) { display: none; }
}
@media (max-width: 420px) {
  .lw { padding: 14px 14px 12px; }
  .lw-plates { gap: 5px; }
  .learned, .next { width: 100%; }
  .next { margin-top: 0; }
  .lcard { padding: 18px; }
  .rules2 li { grid-template-columns: 26px minmax(0, 1fr); column-gap: 16px; }
  .rune { width: 26px; height: 36px; }
  .addf { flex-direction: column; }
  .addf button { height: 50px; }
  .facts li { font-size: var(--s-small); }
  .pills { gap: 4px; flex-wrap: nowrap; }
  .pills button { padding: 9px 11px; font-size: 0.9375rem; }
}
@media (prefers-reduced-motion: reduce) {
  .psig .turn, .psig .inner, .psig .sparks, .tw, .pc-out, .pc-in, .seal-ring::before, .pcta-seal::before, .book-h svg { animation: none; }
}
