/* FerPatel AI V2 design system. One stylesheet for every V2 page: tokens, then shared components (header, footer,
   buttons, chips, cards, logos, guide covers), then page sections. Pages not yet on V2 still load style.css. */

/* ---------------------------------------------------------------- tokens */
:root{
  --bg:#FBF8F3;--surface:#FFFFFF;--sand:#F3EEE6;--ink:#1F1A2E;--muted:#625C70;--line:#E8E2D8;--line-strong:#D9D2C6;
  --accent:#5530F0;--accent-hover:#4524D6;--accent-ink:#4B2FD0;
  --lavender:#D9CFFF;--sky:#BFE3FF;--peach:#FFD3B0;--pink:#FFC9E0;--lime:#DDF28C;--lime-ink:#3F6212;
  --mint:#C6EEDB;--butter:#FFE8A3; /* 3D and Games, in the same pastel family */
  --font-head:"Bricolage Grotesque",ui-sans-serif,system-ui,sans-serif;
  --font-body:"Geist",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
  --font-mono:"Geist Mono",ui-monospace,SFMono-Regular,Menlo,monospace;
  --container:1200px;--gutter:24px;--section:104px;
  --r-card:22px;--r-panel:30px;--r-input:12px;--r-pill:999px;
  --tile-shadow:0 10px 24px -12px rgba(31,26,46,.28);
}
/* Category and level tints. One class sets --tint; components read it. */
.t-product{--tint:var(--lavender)}.t-explain{--tint:var(--sky)}.t-music{--tint:var(--peach)}.t-story{--tint:var(--pink)}
.t-3d{--tint:var(--mint)}.t-games{--tint:var(--butter)}.t-free,.t-beginner{--tint:var(--lime)}.t-intermediate{--tint:var(--peach)}.t-cowork{--tint:var(--lavender)}

/* ---------------------------------------------------------------- base */
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px;-webkit-text-size-adjust:100%}
body{margin:0;background:var(--bg);color:var(--ink);font-family:var(--font-body);font-size:16px;line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img,video,svg{max-width:100%}
img,video{display:block;height:auto}
a{color:var(--accent)}
a:hover{color:var(--accent-hover)}
h1,h2,h3,h4{font-family:var(--font-head);font-weight:700;letter-spacing:-.04em;line-height:1.04;margin:0;color:var(--ink)}
h1{font-size:clamp(44px,6.4vw,84px)}
h2{font-size:clamp(34px,4.4vw,56px)}
h3{font-size:clamp(20px,2vw,24px);letter-spacing:-.025em;line-height:1.2}
h4{font-size:17px;letter-spacing:-.015em;line-height:1.3}
p{margin:0 0 1em}
code,kbd{font-family:var(--font-mono);font-size:.9em}
.hl{color:var(--accent)}
.muted{color:var(--muted)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.skip{position:absolute;left:16px;top:-80px;z-index:50;background:var(--ink);color:#fff;padding:12px 18px;border-radius:var(--r-pill);text-decoration:none}
.skip:focus{top:12px;color:#fff}
:focus-visible{outline:3px solid var(--accent);outline-offset:3px;border-radius:6px}
.container{width:100%;max-width:calc(var(--container) + 2 * var(--gutter));margin:0 auto;padding:0 var(--gutter)}
.section{padding:var(--section) 0}
.section-sand{background:var(--sand)}
.eyebrow{font-family:var(--font-mono);font-size:12px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);margin:0 0 18px;display:flex;align-items:center;gap:10px}
.eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--accent);flex:none}
.section-head{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:48px}
.section-head>p,.section-head .lede{max-width:440px;color:var(--muted);margin:0}
.lede{font-size:19px;color:var(--muted);max-width:560px}
@media(max-width:800px){.section-head{display:block}.section-head>p{margin-top:18px}}

/* ---------------------------------------------------------------- buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:0 24px;border-radius:var(--r-pill);border:1px solid transparent;
  font:600 15px/1 var(--font-body);text-decoration:none;cursor:pointer;white-space:nowrap;transition:background .15s,border-color .15s,color .15s}
.btn-primary{background:var(--accent);color:#fff}.btn-primary:hover{background:var(--accent-hover);color:#fff}
.btn-dark{background:var(--ink);color:#fff}.btn-dark:hover{background:#352d4a;color:#fff}
.btn-secondary{background:var(--surface);color:var(--ink);border-color:var(--line-strong)}.btn-secondary:hover{border-color:var(--ink);color:var(--ink)}
.btn-lime{background:var(--lime);color:var(--ink)}.btn-lime:hover{background:#cfe873;color:var(--ink)}
.btn-sm{min-height:44px;padding:0 18px;font-size:14px}
.btn-block{width:100%}
.btn[aria-disabled="true"]{background:var(--sand);color:var(--muted);cursor:default}
.text-link{font-weight:600;color:var(--accent);text-decoration:none;display:inline-flex;align-items:center;gap:6px;min-height:44px}
.text-link:hover{text-decoration:underline;text-underline-offset:4px}
button.text-link{background:none;border:0;padding:0;font:inherit;font-weight:600;cursor:pointer}

/* ---------------------------------------------------------------- chips, tags, badges */
.chip{display:inline-flex;align-items:center;gap:8px;min-height:44px;padding:0 18px;border-radius:var(--r-pill);background:var(--tint,var(--sand));color:var(--ink);
  font-weight:600;font-size:15px;text-decoration:none;border:1px solid transparent}
.chip:hover{border-color:var(--ink);color:var(--ink)}
.chip .count{font-family:var(--font-mono);font-size:12px;font-weight:500;color:var(--muted)}
.tag{display:inline-flex;align-items:center;gap:6px;padding:4px 10px;border-radius:var(--r-pill);background:var(--tint,var(--sand));font-family:var(--font-mono);font-size:11px;font-weight:500;letter-spacing:.06em;text-transform:uppercase;color:var(--ink)}
.tag-free{background:var(--lime);color:var(--lime-ink)}
.badge{position:absolute;left:14px;top:14px;z-index:1;padding:5px 12px;border-radius:var(--r-pill);background:var(--surface);font:500 12px/1.2 var(--font-mono);letter-spacing:.04em;color:var(--ink);box-shadow:var(--tile-shadow)}

/* ---------------------------------------------------------------- logos (one size scale; width follows the file) */
.logo{display:inline-block;width:auto;vertical-align:middle;object-fit:contain}
.logo-sm{height:20px}.logo-md{height:28px}.logo-lg{height:40px}
.logo-text{font-weight:600;color:var(--ink)} /* brand name in plain text where we do not have the official file yet */
.logo-row{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin:0;padding:0;list-style:none}
.logo-row li{display:flex;align-items:center;gap:8px;font-weight:600;font-size:15px}
.icon-tile{display:inline-grid;place-items:center;width:52px;height:52px;border-radius:16px;background:var(--surface);box-shadow:var(--tile-shadow)}
.icon-tile img{width:30px;height:30px;object-fit:contain}

/* ---------------------------------------------------------------- cards */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card)}
.panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-panel)}

/* Skill card: tinted thumbnail, name, one line, category and price */
.skill-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:20px;margin:0;padding:0;list-style:none}
.skill-card{position:relative;display:flex;flex-direction:column;height:100%;background:var(--surface);border:1px solid var(--line);border-radius:var(--r-card);overflow:hidden;transition:border-color .15s,transform .15s}
.skill-card:hover{border-color:var(--line-strong);transform:translateY(-2px)}
.skill-thumb{aspect-ratio:4/3;background:var(--tint,var(--sand));display:grid;place-items:center;overflow:hidden;container-type:size}
.skill-thumb img{width:auto;height:auto;max-width:calc(100cqw - 36px);max-height:calc(100cqh - 36px);border-radius:12px;box-shadow:var(--tile-shadow)}
.skill-card-body{display:flex;flex-direction:column;gap:6px;padding:18px 20px 20px;flex:1}
.skill-card h3{font-size:19px}
.skill-card h3 a{color:var(--ink);text-decoration:none}
.skill-card h3 a::after{content:"";position:absolute;inset:0;border-radius:inherit} /* whole card is the link */
.skill-card p{margin:0;color:var(--muted);font-size:14px;line-height:1.5}
.skill-card-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-top:auto;padding-top:12px}
.price{font-family:var(--font-head);font-weight:700;font-size:18px;letter-spacing:-.02em}
.price-free{color:var(--lime-ink)}

/* Guide cover: one component everywhere a guide shows. Keeps the 1000:420 shape, never crops. */
.guide-cover{position:relative;display:block;aspect-ratio:1000/420;border-radius:16px;overflow:hidden;background:var(--tint,var(--sand))}
.guide-cover img{width:100%;height:100%;object-fit:contain}
.guide-cover-fallback{display:grid;place-items:center;width:100%;height:100%}
.guide-cover-thumb{width:144px;flex:none;border-radius:12px}

/* ---------------------------------------------------------------- header */
.site-header{position:sticky;top:0;z-index:30;background:rgba(251,248,243,.92);backdrop-filter:saturate(1.4) blur(10px);-webkit-backdrop-filter:saturate(1.4) blur(10px);border-bottom:1px solid var(--line)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px}
.brand{display:flex;align-items:center;flex:none}
.brand img{width:156px;height:auto}
.site-nav{display:flex;align-items:center;gap:6px}
.site-nav>a:not(.btn){display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:var(--r-pill);color:var(--ink);text-decoration:none;font-weight:500;font-size:15px}
.site-nav>a:not(.btn):hover{background:var(--sand)}
.site-nav>a[aria-current]{color:var(--accent);font-weight:600}
.site-nav .btn{margin-left:10px}
.menu-toggle{display:none;align-items:center;justify-content:center;width:48px;height:48px;border-radius:var(--r-pill);border:1px solid var(--line-strong);background:var(--surface);color:var(--ink);cursor:pointer}
.menu-toggle svg{width:22px;height:22px}
@media(max-width:920px){
  .js .menu-toggle{display:inline-flex}
  .js .site-nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;gap:4px;padding:12px var(--gutter) 22px;background:var(--bg);border-bottom:1px solid var(--line);box-shadow:0 18px 30px -24px rgba(31,26,46,.35)}
  .js .site-nav.open{display:flex}
  .js .site-nav>a:not(.btn){min-height:48px;font-size:17px}
  .js .site-nav .btn{margin:10px 0 0}
  .site-nav{flex-wrap:wrap}
}
.checkout-header .header-inner{min-height:68px}

/* ---------------------------------------------------------------- footer */
.site-footer{background:var(--ink);color:#E7E3EF;padding:80px 0 40px;margin-top:0}
.site-footer a{color:#fff;text-decoration:none}
.site-footer a:hover{color:var(--lime);text-decoration:underline;text-underline-offset:4px}
.footer-top{display:grid;grid-template-columns:1.2fr 2fr;gap:48px;padding-bottom:48px;border-bottom:1px solid rgba(255,255,255,.14)}
.footer-tagline{font-family:var(--font-head);font-weight:700;letter-spacing:-.04em;font-size:clamp(34px,4vw,48px);line-height:1.04;color:#fff;margin:0 0 16px}
.footer-tagline .hl{color:#B9A6FF}
.footer-cols{display:grid;grid-template-columns:repeat(3,1fr);gap:32px}
.footer-cols h2{font:500 12px/1.2 var(--font-mono);letter-spacing:.12em;text-transform:uppercase;color:#B5AEC4;margin:6px 0 16px}
.footer-cols ul{list-style:none;margin:0;padding:0;display:grid;gap:4px}
.footer-cols li a{display:inline-flex;min-height:36px;align-items:center;font-size:15px}
.footer-made{display:flex;align-items:center;gap:14px;margin-top:22px;font-size:14px;color:#B5AEC4}
.footer-made img{height:22px;width:auto}
.footer-stripe{display:inline-flex;align-items:center;gap:8px;margin-top:14px;padding:8px 14px;border-radius:var(--r-pill);border:1px solid rgba(255,255,255,.2);font-size:13px;color:#E7E3EF}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px 24px;padding-top:28px;font-size:14px;color:#B5AEC4}
.footer-bottom nav{display:flex;gap:18px}
.footer-legal{margin:18px 0 0;font-size:12.5px;color:#9F98AF;max-width:900px}
@media(max-width:900px){.footer-top{grid-template-columns:1fr}.footer-cols{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.footer-cols{grid-template-columns:1fr}}

/* ---------------------------------------------------------------- shared bits */
.toast{position:fixed;left:50%;bottom:96px;transform:translateX(-50%);z-index:60;background:var(--ink);color:#fff;border-radius:var(--r-pill);padding:12px 22px;font-size:14px;opacity:0;pointer-events:none;transition:opacity .2s;max-width:calc(100% - 32px)}
.toast.show{opacity:1}
.cmd{display:flex;align-items:center;gap:8px;max-width:100%;padding:6px 6px 6px 16px;border-radius:var(--r-pill);background:var(--surface);border:1px solid var(--line-strong);width:fit-content}
.cmd code{font-size:14px;overflow-wrap:anywhere}
.copy-btn{display:inline-flex;align-items:center;justify-content:center;min-height:36px;min-width:44px;padding:0 14px;border-radius:var(--r-pill);border:0;background:var(--ink);color:#fff;font:600 13px/1 var(--font-body);cursor:pointer}
.copy-btn:hover{background:var(--accent)}
.video-frame{border-radius:var(--r-card);overflow:hidden;background:var(--tint,var(--sand));display:grid;place-items:center;padding:20px}
.video-frame video{border-radius:14px;max-height:620px;width:auto;max-width:100%;background:#000}
.video-frame.wide video{width:100%;max-height:none}

/* pack bar: fixed at the bottom while skills are picked */
.pack-bar{position:fixed;left:50%;bottom:16px;transform:translateX(-50%);z-index:40;display:flex;align-items:center;justify-content:space-between;gap:18px;
  width:min(760px,calc(100% - 24px));padding:12px 12px 12px 22px;border-radius:var(--r-pill);background:var(--ink);color:#fff;box-shadow:0 18px 40px -16px rgba(31,26,46,.55)}
.pack-bar[hidden]{display:none}
.pack-summary{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;min-width:0}
.pack-summary strong{font-family:var(--font-head);font-size:18px}
.pack-summary #pack-price{font-weight:600;color:var(--lime)}
.pack-summary small{flex-basis:100%;color:#C9C3D6;font-size:13px;line-height:1.35}
.pack-actions{display:flex;align-items:center;gap:6px;flex:none}
.pack-actions .text-link{color:#fff}
@media(max-width:560px){.pack-bar{border-radius:22px;padding:12px 12px 12px 16px}.pack-summary small{display:none}}

/* friend code */
.friend-code-wrap summary{cursor:pointer;color:var(--muted);text-decoration:underline;text-underline-offset:4px;min-height:44px;display:inline-flex;align-items:center}
.friend-code{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;margin-top:8px;padding:18px;border:1px dashed var(--line-strong);border-radius:var(--r-card);background:var(--surface)}
.friend-code label{font-weight:600}
.friend-code div{display:flex;gap:8px;flex:1;min-width:0;max-width:380px}
.friend-code p{margin:0;width:100%;font-size:14px;color:var(--muted)}
.friend-code p:empty{display:none}
.friend-code p.applied{color:var(--accent);font-weight:600}
.input{min-height:48px;padding:0 16px;border:1px solid var(--line-strong);border-radius:var(--r-input);background:var(--surface);font:inherit;color:var(--ink);width:100%}
.input:focus{border-color:var(--accent);outline:none;box-shadow:0 0 0 3px rgba(85,48,240,.18)}

/* ================================================================ home */
.hero{padding:72px 0 88px}
.hero-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:56px;align-items:center}
.hero h1{margin-bottom:24px}
.hero .lede{margin-bottom:32px}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:36px}
.works-with{display:flex;flex-wrap:wrap;align-items:center;gap:12px 18px;font-size:14px;color:var(--muted)}
.works-with .logo-row li{padding:6px 14px 6px 8px;border-radius:var(--r-pill);background:var(--surface);border:1px solid var(--line);color:var(--ink)}
.hero-art{position:relative;aspect-ratio:1/1;max-width:560px;justify-self:end;width:100%}
.hero-tile{position:absolute;border-radius:var(--r-card);background:var(--tint);padding:14px;box-shadow:var(--tile-shadow);display:flex;flex-direction:column;gap:10px}
.hero-tile img{border-radius:12px;width:100%;height:auto;object-fit:cover}
.hero-tile span{font:500 11px/1.2 var(--font-mono);letter-spacing:.08em;text-transform:uppercase}
.hero-tile-a{left:0;top:4%;width:44%;transform:rotate(-4deg)}
.hero-tile-a img{aspect-ratio:9/13;object-position:top}
.hero-tile-b{right:0;top:0;width:52%;transform:rotate(3deg)}
.hero-tile-c{right:6%;bottom:2%;width:50%;transform:rotate(-2deg)}
.hero-tile-d{left:6%;bottom:6%;width:34%;transform:rotate(5deg)}
.hero-stamp{position:absolute;left:44%;top:44%;z-index:2;display:grid;place-items:center;width:96px;height:96px;border-radius:50%;background:var(--lime);font:600 12px/1.15 var(--font-mono);text-align:center;letter-spacing:.04em;box-shadow:var(--tile-shadow);transform:rotate(-12deg)}
@media(max-width:900px){.hero{padding:48px 0 72px}.hero-grid{grid-template-columns:1fr;gap:48px}.hero-art{justify-self:center;max-width:460px}}

.cat-chips{display:flex;flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none}
.cat-strip{padding:0 0 24px}

.examples-teaser{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.example-tease{position:relative;display:flex;flex-direction:column;border-radius:var(--r-card);overflow:hidden;background:var(--surface);border:1px solid var(--line)}
.example-tease .media{background:var(--tint);aspect-ratio:4/3;display:grid;place-items:center;container-type:size}
.example-tease .media img{width:auto;height:auto;max-width:calc(100cqw - 32px);max-height:calc(100cqh - 32px);border-radius:12px;box-shadow:var(--tile-shadow)}
.example-tease .body{padding:16px 20px 20px}
.example-tease .body p{margin:0;color:var(--muted);font-size:14px}
.example-tease a{color:var(--ink);text-decoration:none}
.example-tease a::after{content:"";position:absolute;inset:0}
@media(max-width:860px){.examples-teaser{grid-template-columns:1fr}}

.steps-3{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;counter-reset:step;margin:0;padding:0;list-style:none}
.steps-3>li{padding:28px;border-radius:var(--r-card);background:var(--surface);border:1px solid var(--line)}
.step-num{display:inline-grid;place-items:center;width:44px;height:44px;border-radius:14px;background:var(--tint);font:600 15px/1 var(--font-mono);margin-bottom:20px}
.steps-3 h3{margin-bottom:10px}
.steps-3 p{color:var(--muted);font-size:15px}
.steps-3 .cmd{margin-top:8px}
@media(max-width:900px){.steps-3{grid-template-columns:1fr}}

.guide-rows{display:grid;gap:14px;margin:0;padding:0;list-style:none}
.guide-row{position:relative;display:flex;align-items:center;gap:22px;padding:14px 22px 14px 14px;border-radius:var(--r-card);background:var(--surface);border:1px solid var(--line)}
.guide-row:hover{border-color:var(--line-strong)}
.guide-row h3{font-size:19px;margin:6px 0 4px}
.guide-row h3 a{color:var(--ink);text-decoration:none}
.guide-row h3 a::after{content:"";position:absolute;inset:0}
.guide-row p{margin:0;color:var(--muted);font-size:14px}
.guide-row .arrow{margin-left:auto;font-size:20px;color:var(--accent)}
@media(max-width:600px){.guide-row{flex-direction:column;align-items:stretch;padding:12px 12px 18px}.guide-cover-thumb{width:100%}.guide-row .arrow{display:none}}
.academy-grid{display:grid;grid-template-columns:.9fr 1.3fr;gap:56px;align-items:start}
@media(max-width:900px){.academy-grid{grid-template-columns:1fr;gap:32px}}

.price-cards{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin:0;padding:0;list-style:none;align-items:stretch}
.price-card{position:relative;display:flex;flex-direction:column;gap:14px;padding:32px;border-radius:var(--r-panel);background:var(--surface);border:1px solid var(--line)}
.price-card.best{background:var(--ink);color:#fff;border-color:var(--ink)}
.price-card.best .muted,.price-card.best li{color:#D8D3E3}
.price-card.free{background:var(--lime)}
.price-card .amount{font-family:var(--font-head);font-weight:700;font-size:56px;letter-spacing:-.05em;line-height:1}
.price-card .amount small{font:500 15px/1 var(--font-body);letter-spacing:0;margin-left:6px}
.price-card ul{margin:0;padding:0;list-style:none;display:grid;gap:8px;font-size:15px}
.price-card li{display:flex;gap:10px}
.price-card li::before{content:"✓";font-weight:700;color:var(--accent)}
.price-card.best li::before{color:var(--lime)}
.price-card.free li::before{color:var(--lime-ink)}
.price-card .btn{margin-top:auto}
.price-flag{position:absolute;top:-13px;left:28px;padding:5px 12px;border-radius:var(--r-pill);background:var(--lime);color:var(--ink);font:600 12px/1.2 var(--font-mono);letter-spacing:.06em;text-transform:uppercase}
.price-card.free .muted{color:#3d4a1f}
.partner-logos{display:flex;gap:10px;align-items:center}
.partner-logos img{border-radius:10px}
.pricing-notes{margin-top:28px;display:flex;flex-wrap:wrap;gap:12px 28px;align-items:flex-start;justify-content:space-between;font-size:14px;color:var(--muted)}
@media(max-width:960px){.price-cards{grid-template-columns:1fr;max-width:520px}}

.faq-grid{display:grid;grid-template-columns:.8fr 1.4fr;gap:56px}
.faq-list details{border-bottom:1px solid var(--line)}
.faq-list summary{list-style:none;display:flex;justify-content:space-between;gap:20px;align-items:center;min-height:64px;padding:12px 0;cursor:pointer;font-family:var(--font-head);font-weight:600;font-size:19px;letter-spacing:-.02em}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list summary::after{content:"+";font:500 24px/1 var(--font-body);color:var(--accent);flex:none}
.faq-list details[open] summary::after{content:"−"}
.faq-list details>p,.faq-list details>a{color:var(--muted);margin:0 0 20px;max-width:680px}
.faq-list details>a{color:var(--accent);display:inline-block}
@media(max-width:900px){.faq-grid{grid-template-columns:1fr;gap:24px}}

.about-panel{display:grid;grid-template-columns:minmax(220px,.75fr) 1.25fr;gap:56px;align-items:center;padding:48px;border-radius:var(--r-panel);background:var(--surface);border:1px solid var(--line)}
.about-photo img{border-radius:var(--r-card);width:100%}
.about-photo figcaption{margin-top:12px;font:500 12px/1.4 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.about-copy h2{margin-bottom:22px}
.about-copy p{color:var(--muted);max-width:560px}
.about-aiu{display:flex;align-items:center;gap:14px;margin:24px 0 10px;padding-top:22px;border-top:1px solid var(--line);font-size:14px;color:var(--muted)}
.about-aiu img{height:28px;width:auto}
.about-notes{margin-top:22px;font-size:14px;color:var(--muted)}
.about-notes summary{cursor:pointer;min-height:44px;display:inline-flex;align-items:center;font-weight:600;color:var(--ink)}
@media(max-width:860px){.about-panel{grid-template-columns:1fr;padding:24px;gap:28px}.about-photo{max-width:320px}}

/* ================================================================ skills library */
.page-hero{padding:64px 0 40px}
.page-hero h1{font-size:clamp(40px,5.6vw,72px);margin-bottom:18px}
.library-tools{display:flex;flex-wrap:wrap;gap:16px;align-items:center;justify-content:space-between;margin-bottom:28px}
.search{position:relative;flex:1;min-width:240px;max-width:420px}
.search .input{padding-left:46px;border-radius:var(--r-pill)}
.search svg{position:absolute;left:16px;top:50%;transform:translateY(-50%);width:18px;height:18px;color:var(--muted);pointer-events:none}
.filters{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 28px;padding:0;list-style:none}
.filters button{font:inherit;cursor:pointer}
.filters button[aria-pressed="true"]{background:var(--ink);color:#fff}
.filters button[aria-pressed="true"] .count{color:#CFC9DB}
.library-count{font-size:14px;color:var(--muted);margin:0 0 18px}
.library-empty{padding:40px;text-align:center;border:1px dashed var(--line-strong);border-radius:var(--r-card);color:var(--muted)}
.upsell-band{display:flex;flex-wrap:wrap;gap:20px;align-items:center;justify-content:space-between;margin-top:56px;padding:32px 36px;border-radius:var(--r-panel);background:var(--ink);color:#fff}
.upsell-band h2{font-size:clamp(26px,3vw,36px);color:#fff}
.upsell-band p{margin:6px 0 0;color:#D8D3E3}
.upsell-band .hl{color:#B9A6FF}

/* ================================================================ skill detail */
.crumbs{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:14px;color:var(--muted);margin:0 0 22px;padding:0;list-style:none}
.crumbs a{color:var(--muted);text-decoration:none;min-height:44px;display:inline-flex;align-items:center}
.crumbs a:hover{color:var(--accent)}
.crumbs li+li::before{content:"/";margin-right:8px;color:var(--line-strong)}
.skill-hero{padding:32px 0 8px}
.skill-hero .tags{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.skill-hero h1{font-size:clamp(40px,5.4vw,68px);margin-bottom:14px}
.skill-hero .lede{margin-bottom:22px}
.skill-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;gap:48px;align-items:start;padding:32px 0 96px}
.skill-main>section{padding:44px 0;border-top:1px solid var(--line)}
.skill-main>section:first-child{padding-top:0;border-top:0}
.skill-main h2{font-size:clamp(28px,3vw,36px);margin-bottom:18px}
.features-list{list-style:none;margin:16px 0 0;padding:0;display:grid;gap:10px}
.features-list li{display:flex;gap:12px;align-items:flex-start}
.features-list li::before{content:"";flex:none;width:22px;height:22px;margin-top:1px;border-radius:7px;background:var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F1A2E' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center/14px no-repeat}
.bring-get{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.bring-get .card{padding:24px}
.bring-get h3{display:flex;align-items:center;gap:10px;margin-bottom:10px;font-size:19px}
.bring-get p{margin:0;color:var(--muted)}
.mini-icon{display:inline-grid;place-items:center;width:32px;height:32px;border-radius:10px;background:var(--tint)}
.mini-icon svg{width:18px;height:18px}
.chip-list{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0;list-style:none}
.chip-list li{padding:8px 14px;border-radius:var(--r-pill);background:var(--tint);font-size:14px;font-weight:500}
.workflow{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:0;padding:0;list-style:none}
.workflow li{padding:16px 18px;border-radius:16px;background:var(--surface);border:1px solid var(--line)}
.workflow b{display:block;font:500 12px/1.2 var(--font-mono);letter-spacing:.08em;color:var(--accent-ink);margin-bottom:6px}
.workflow span{font-size:14px;color:var(--muted)}
.needs{color:var(--muted)}
.services{display:grid;gap:10px;margin:16px 0 0;padding:0;list-style:none}
.services li{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;padding:12px 16px;border-radius:16px;background:var(--surface);border:1px solid var(--line);font-size:14px}
.services img{width:24px;height:24px;border-radius:6px}
.services .req{font:500 11px/1.2 var(--font-mono);letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.services .for{color:var(--muted)}
.services a{margin-left:auto}
.example-prompts{display:grid;gap:14px}
.example-prompt{padding:22px 24px;border-radius:var(--r-card);background:var(--surface);border:1px solid var(--line)}
.example-prompt h3{font:500 12px/1.2 var(--font-mono);letter-spacing:.1em;color:var(--accent-ink);margin-bottom:12px}
.example-prompt p{margin:0 0 10px;font-size:15px;color:var(--muted)}
.example-prompt p b{color:var(--ink)}
.say{display:flex;gap:12px;align-items:flex-start;justify-content:space-between;margin:0 0 12px;padding:14px 14px 14px 18px;border-radius:14px;background:var(--sand)}
.say q{font-family:var(--font-mono);font-size:13.5px;line-height:1.55;color:var(--ink);quotes:none}
.not-fit{margin-top:16px;padding:18px 22px;border-radius:var(--r-card);background:var(--peach);font-size:15px}
.not-fit strong{display:block;margin-bottom:4px}
.not-fit p{margin:0}
.made-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:14px;margin:0 0 16px;padding:0;list-style:none}
.made-grid figure{margin:0;padding:12px;border-radius:var(--r-card);background:var(--tint);display:flex;flex-direction:column;gap:10px}
.made-grid video{border-radius:12px;width:100%;background:#000}
.made-grid figcaption{font-size:13px;font-weight:500;line-height:1.4}
.buy-panel{position:sticky;top:100px;padding:28px;display:flex;flex-direction:column;gap:14px}
.buy-panel .amount{font-family:var(--font-head);font-weight:700;font-size:48px;letter-spacing:-.05em;line-height:1}
.buy-panel .amount small{font:500 14px/1 var(--font-body);letter-spacing:0;color:var(--muted);margin-left:6px}
.pack-toggle{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-height:48px;border-radius:var(--r-pill);border:1px solid var(--line-strong);background:var(--surface);font-weight:600;cursor:pointer}
.pack-toggle:hover{border-color:var(--ink)}
.pack-toggle input{position:absolute;opacity:0;width:1px;height:1px}
.pack-toggle .on{display:none}
.pack-toggle:has(input:checked){background:var(--lime);border-color:var(--lime)}
.pack-toggle:has(input:checked) .on{display:inline}.pack-toggle:has(input:checked) .off{display:none}
.pack-toggle:has(input:focus-visible){outline:3px solid var(--accent);outline-offset:3px}
.includes{list-style:none;margin:0;padding:14px 0 0;border-top:1px solid var(--line);display:grid;gap:8px;font-size:14px}
.includes li{display:flex;gap:10px}
.includes li::before{content:"✓";color:var(--accent);font-weight:700}
.buy-panel .small{font-size:13px;color:var(--muted);margin:0}
.buy-panel .small a{color:var(--muted)}
.upsell-mini{padding:16px 18px;border-radius:18px;background:var(--lavender);font-size:14px}
.upsell-mini p{margin:0 0 6px}
.upsell-mini .btn{margin-top:4px}
.partner-mini{padding:16px 18px;border-radius:18px;background:var(--lime);font-size:14px}
.partner-mini p{margin:0 0 8px}
.qs-link{display:flex;gap:12px;align-items:center;font-size:14px;text-decoration:none;color:var(--ink);font-weight:600}
.qs-link img{width:56px;border-radius:8px;border:1px solid var(--line)}
.tool-tag{display:inline-flex;align-items:center;gap:8px;padding:4px 12px 4px 6px;border-radius:var(--r-pill);background:var(--surface);border:1px solid var(--line);font-size:13px;font-weight:500}
.tool-tag img{width:20px;height:20px;border-radius:5px}
@media(max-width:980px){.skill-layout{grid-template-columns:1fr;gap:0}.buy-panel{position:static;margin-bottom:24px}.skill-aside{order:-1}}
@media(max-width:640px){.bring-get{grid-template-columns:1fr}.workflow{grid-template-columns:1fr 1fr}.say{flex-direction:column}}

@media(max-width:700px){:root{--section:72px}.section-head{margin-bottom:32px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.logo-chip{display:inline-flex;align-items:center;padding:7px 12px;border-radius:12px;background:#fff}
.site-footer .logo-text{color:#fff}
.price-card p{margin:0}
.cmd{border-radius:18px}
.about-aiu{flex-wrap:wrap}
.skill-main .skill-grid{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
@media(max-width:560px){.pack-bar{gap:8px}.pack-summary strong{font-size:16px}.pack-actions .text-link{font-size:14px;padding:0 6px}.pack-actions .btn{padding:0 14px}}
.buy-panel p{margin:0}
.guide-cover-card{border-radius:0}
.guide-cover-full{width:100%}
.guide-cover .icon-tile svg{width:26px;height:26px;color:var(--ink)}
.guide-cover .badge{left:12px;top:12px}
/* a card cover leaves a tinted strip on top for its badge, so the badge never covers the artwork */
.guide-cover-card{aspect-ratio:auto;padding:46px 14px 14px}
.guide-cover-card img{height:auto;aspect-ratio:1000/420;border-radius:10px;box-shadow:var(--tile-shadow)}
.guide-cover-card .guide-cover-fallback{aspect-ratio:1000/420;height:auto}

/* ================================================================ checkout: steps, pack, download */
.checkout-steps{display:flex;align-items:center;gap:8px;margin:0;padding:0;list-style:none;font-size:14px;font-weight:500;color:var(--muted)}
.checkout-steps li{display:flex;align-items:center;gap:8px}
.checkout-steps li+li::before{content:"";width:28px;height:1px;background:var(--line-strong);margin-right:2px}
.checkout-steps li>span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:50%;border:1px solid var(--line-strong);background:var(--surface);font:500 12px/1 var(--font-mono)}
.checkout-steps li[aria-current="step"]{color:var(--ink);font-weight:600}
.checkout-steps li[aria-current="step"]>span{background:var(--accent);border-color:var(--accent);color:#fff}
.checkout-steps li.done>span{background:var(--lime);border-color:var(--lime);color:var(--ink)}
.pack-page .checkout-steps{margin:32px 0 8px}
.checkout-header .checkout-back{min-height:44px}
@media(max-width:700px){.checkout-header .checkout-back{display:none}.checkout-header .header-inner{flex-wrap:wrap;gap:6px;padding:12px 0}.checkout-header .checkout-steps{order:3;width:100%;padding-bottom:4px}.checkout-steps li+li::before{width:14px}.checkout-steps{font-size:13px}}

.pack-head{padding:32px 0 8px}
.pack-head h1{font-size:clamp(40px,5vw,64px);margin-bottom:14px}
.pack-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:40px;align-items:start;padding:24px 0 56px}
.pack-items{list-style:none;margin:0 0 12px;padding:0;display:grid;gap:12px}
.pack-item{display:flex;align-items:center;gap:16px;padding:12px 16px 12px 12px;border-radius:var(--r-card);background:var(--surface);border:1px solid var(--line)}
.pack-thumb{flex:none;width:96px;height:60px;border-radius:12px;overflow:hidden;background:var(--sand)}
.pack-thumb img{width:100%;height:100%;object-fit:cover}
.pack-name{flex:1;min-width:0;display:flex;flex-direction:column}
.pack-name small{font:500 11px/1.3 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.pack-remove{min-height:44px;padding:0 14px;border-radius:var(--r-pill);border:1px solid var(--line-strong);background:var(--surface);font:500 14px var(--font-body);color:var(--ink);cursor:pointer}
.pack-remove:hover{border-color:var(--ink)}
.pack-empty{padding:28px;border:1px dashed var(--line-strong);border-radius:var(--r-card);margin-bottom:12px}
.pack-code-note{font-size:14px;margin:8px 0 0}
.pack-summary-card{position:sticky;top:100px;padding:28px;display:flex;flex-direction:column;gap:16px}
.pack-total{display:flex;justify-content:space-between;align-items:baseline;margin:0;font-weight:600}
.pack-total strong{font-family:var(--font-head);font-size:44px;letter-spacing:-.05em;line-height:1}
.pack-upsell{padding:18px;border-radius:20px;background:var(--lavender);display:flex;flex-direction:column;gap:10px}
.pack-upsell p{margin:0;font-weight:500}
.pack-upsell .small,.pack-summary-card .small{font-size:13px;color:var(--muted);font-weight:400;margin:0}
.pack-secure{text-align:center}
.pack-free{display:grid;grid-template-columns:1fr auto;gap:20px 32px;align-items:center;padding:32px;border-radius:var(--r-panel);background:var(--lime)}
.pack-free h2{font-size:clamp(28px,3vw,36px);margin:10px 0 8px}
.pack-free p{margin:0}
.pack-free .tag{background:var(--surface)}
.pack-free-actions{display:flex;flex-wrap:wrap;gap:10px}
.pack-free>.small{grid-column:1/-1;font-size:13px;color:#3d4a1f}
.pack-library{padding-top:72px}
.offer-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}
.offer-skill{position:relative;display:flex;flex-direction:column;border-radius:18px;background:var(--surface);border:1px solid var(--line);overflow:hidden}
.offer-skill img{width:100%;aspect-ratio:16/10;object-fit:cover;background:var(--sand)}
.offer-skill div{padding:10px 12px 12px;display:flex;flex-direction:column;gap:2px}
.offer-skill span{font:500 10px/1.3 var(--font-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.offer-skill strong{font-size:14px;line-height:1.3}
.offer-skill.picked{border-color:var(--accent);box-shadow:0 0 0 2px var(--accent)}
.offer-skill.picked::after{content:"In your pack";position:absolute;top:8px;left:8px;padding:3px 10px;border-radius:var(--r-pill);background:var(--accent);color:#fff;font:500 11px/1.4 var(--font-mono)}
@media(max-width:900px){.pack-layout{grid-template-columns:1fr}.pack-summary-card{position:static}.pack-free{grid-template-columns:1fr}}
@media(max-width:520px){.pack-item{flex-wrap:wrap}.pack-thumb{width:72px;height:46px}.pack-remove{margin-left:auto}}

.delivery-head{padding:48px 0 24px;max-width:760px}
.delivery-head h1{font-size:clamp(38px,5vw,60px);margin-bottom:18px}
.delivery-status{padding:18px 20px;border-radius:18px;background:var(--lime);font-weight:500}
.delivery [hidden]{display:none}
.delivery-skills{list-style:none;margin:16px 0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:14px}
.delivery-skill{padding:20px 22px}
.delivery-skill h2{font-size:22px;margin-bottom:14px}
.download-actions{display:flex;flex-wrap:wrap;gap:8px}
.download-actions .btn:disabled{opacity:.6;cursor:wait}
.resend-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:8px 0 40px;font-size:15px;color:var(--muted)}
.resend-row p{margin:0}
.resend-row .small{flex-basis:100%;font-size:14px;color:var(--ink)}
.delivery-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px;align-items:stretch}
.guide-note,.delivery-upsell{padding:28px}
.guide-note h2,.delivery-upsell h2{font-size:clamp(24px,2.6vw,30px);margin:10px 0 14px}
.delivery-upsell{background:var(--lavender);border-color:var(--lavender)}
.steps-mini{margin:0 0 14px;padding-left:20px;display:grid;gap:6px}
.delivery-academy{padding:72px 0 0}
.delivery-share{margin:40px 0 96px;font-weight:500}
@media(max-width:860px){.delivery-grid{grid-template-columns:1fr}.delivery-skills{grid-template-columns:1fr}}

/* ================================================================ free skills */
.partner-cards{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.partner-card{padding:28px;display:flex;flex-direction:column;gap:16px}
.partner-top{display:flex;align-items:center;gap:16px}
.partner-top h3{font-size:24px;margin-bottom:2px}
.partner-top p{margin:0}
.partner-rules{list-style:none;margin:0;padding:0;display:grid;gap:8px;font-size:15px}
.partner-rules li{display:flex;gap:10px}
.partner-rules li::before{content:"✓";color:var(--lime-ink);font-weight:700}
.partner-rules li:nth-child(2)::before{content:"×";color:#8a1c1c}
.partner-card .small{font-size:13px;color:var(--muted);margin:0}
.claim-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:56px;align-items:start}
.claim-list{margin:24px 0 0;padding-left:20px;display:grid;gap:10px;color:var(--muted)}
.claim-form{padding:28px;display:flex;flex-direction:column;gap:16px}
.claim-form label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:14px}
.claim-form label small{font-weight:400;color:var(--muted)}
.claim-form textarea.input{padding:12px 16px;min-height:96px;resize:vertical}
.claim-form .hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
#claim-status{margin:0;font-weight:500}
#claim-status.ok{color:var(--lime-ink)}#claim-status.err{color:#8a1c1c}
.rather-buy{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:24px}
.rather-buy h2{margin-bottom:12px}
.rather-actions{display:flex;flex-wrap:wrap;gap:10px}
@media(max-width:860px){.partner-cards,.claim-grid{grid-template-columns:1fr}.claim-grid{gap:28px}}

/* ================================================================ legal pages */
.policy-page .prose{max-width:760px;padding-top:56px;padding-bottom:96px}
.prose h1{font-size:clamp(40px,5vw,60px);margin-bottom:12px}
.prose h2{font-size:clamp(24px,2.6vw,30px);margin:40px 0 12px}
.prose p,.prose li{color:#3d3850}
.prose .policy-date{font:500 13px/1.4 var(--font-mono);color:var(--muted)}
.prose .policy-intro{font-size:19px;color:var(--ink)}
.prose .eyebrow{margin-bottom:14px}

/* ---------------------------------------------------------------- pages that still load the old style.css (none since the examples page moved to V2; kept for any page that
   still loads it): its element rules for header, nav and footer would otherwise reshape the shared header and footer */
.site-header{display:block;padding:0}
.site-nav{font-size:15px;font-weight:500}
footer.site-footer{display:block;padding:80px 0 40px;background:var(--ink);font-size:16px}
.site-footer .footer-cols nav{display:block}
.site-footer .footer-bottom{border-top:0;margin-top:0;padding-top:28px;font-size:14px}
.site-footer p{width:auto}
.eyebrow .dot{display:none}
@media(max-width:860px){.claim-grid{grid-template-columns:minmax(0,1fr)}}
@media(max-width:520px){.claim-form{padding:20px 18px}}

/* ================================================================ examples */
.ex-grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:20px;align-items:start}
.ex-card{display:flex;flex-direction:column;border-radius:var(--r-card);background:var(--surface);border:1px solid var(--line);overflow:hidden;scroll-margin-top:100px}
.ex-card:target{box-shadow:0 0 0 3px var(--accent)}
.ex-media{position:relative;display:grid;place-items:center;background:var(--tint,var(--sand));aspect-ratio:16/9;overflow:hidden}
.ex-vertical .ex-media{aspect-ratio:4/5}
.ex-media img{width:100%;height:100%;object-fit:cover}
.ex-fallback{font-family:var(--font-head);font-weight:700;font-size:22px;color:var(--ink)}
.ex-body{display:flex;flex-direction:column;gap:6px;padding:16px 18px 18px}
.ex-body h3{font-size:18px;line-height:1.25}
.ex-body p{margin:0;font-size:14px;color:var(--muted)}
.ex-platform{font:500 11px/1.2 var(--font-mono)!important;letter-spacing:.08em;text-transform:uppercase}
.ex-platform .logo-text{color:var(--muted);font-weight:500}
.ex-by strong{color:var(--ink)}
.ex-made a{font-weight:600}
.ex-actions{display:flex;flex-wrap:wrap;align-items:center;gap:6px 14px;margin-top:8px}
.ex-empty{padding:28px;border:1px dashed var(--line-strong);border-radius:var(--r-card);display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px}
.ex-empty p{margin:0}
.ex-empty[hidden],#featured[hidden]{display:none}
#featured{margin-bottom:56px}
.ex-made-by{margin-top:72px}
.ex-made-by .made-grid figcaption a{display:block;margin-top:6px;font-weight:600}
.ex-strip{margin:0 0 16px}
.made-links{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.claim-form .consent{flex-direction:row;align-items:flex-start;gap:10px;font-weight:400;font-size:14px}
.claim-form .consent input{margin-top:3px;width:18px;height:18px;flex:none;accent-color:var(--accent)}
.share-count{align-self:flex-end;color:var(--muted);font-weight:400}
#share-status{margin:0;font-weight:500}
#share-status.ok{color:var(--lime-ink)}#share-status.err{color:#8a1c1c}
.library-filter{font-size:15px;margin:-12px 0 24px}
.ex-media,.ex-media:hover{text-decoration:none;color:var(--ink)}
.ex-platform{display:flex;align-items:center;gap:8px}
.ex-platform .logo{height:18px;width:auto}
