/* ==========================================================================
   Skillpath Academy - shared styles for every page
   --------------------------------------------------------------------------
   REBRANDING: change the custom properties below.
   - --sun / --sun-soft     main yellow and its pale tint (hero, highlights)
   - --sky / --sky-ink      sky blue fill and the darker blue used for links/text
   - --ink / --ink-soft     charcoal text colors
   - --paper / --surface    page and card backgrounds
   - --font-display / --font-body   headings and body text. If you change them,
     also update the Google Fonts <link> in the <head> of every page.
   Text on --sun should stay charcoal (--ink) for contrast.
   ========================================================================== */
:root {
  --sun: #f6c445;
  --sun-deep: #e9a91c;
  --sun-soft: #fff3cc;
  --sky: #74b9e3;
  --sky-ink: #1b6694;
  --sky-soft: #e3f1fa;
  --rose: #ee9e8f;
  --leaf: #8cc49a;
  --ink: #24272c;
  --ink-soft: #565b64;
  --paper: #fffdf8;
  --surface: #ffffff;
  --line: #e7e2d6;
  --error: #b42318;
  --success: #1f7a45;

  --font-display: "Outfit", "Avenir Next", "Century Gothic", "Segoe UI", system-ui, sans-serif;
  --font-body: "Figtree", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 18px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(36, 39, 44, .06), 0 10px 30px -12px rgba(36, 39, 44, .18);
  --container: 1160px;
  --gutter: clamp(1rem, 4vw, 2rem);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5.5rem; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.6; overflow-wrap: break-word; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.015em; font-weight: 700; }
h2 { font-size: clamp(1.8rem, 4.5vw, 2.7rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1em; }
a { color: var(--sky-ink); text-underline-offset: .2em; }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky-ink); outline-offset: 3px; border-radius: 4px; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 1rem; top: -4rem; z-index: 100; padding: .6rem 1rem; background: var(--ink); color: #fff; border-radius: var(--radius-sm); font-weight: 600; }
.skip-link:focus { top: 1rem; color: #fff; }
.eyebrow { display: inline-flex; align-items: center; gap: .5rem; margin: 0 0 .9rem; font-family: var(--font-display); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; color: var(--sky-ink); }
.eyebrow::before { content: ""; width: .7rem; height: .7rem; border-radius: 50%; background: var(--sun); box-shadow: .45rem .2rem 0 -.1rem var(--sky); }
.lead { font-size: clamp(1.1rem, 2.2vw, 1.28rem); color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  min-height: 3rem; padding: .7rem 1.5rem; border-radius: 999px; border: 2px solid var(--ink);
  background: var(--ink); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1rem;
  text-decoration: none; cursor: pointer; transition: transform .15s, background-color .15s, color .15s, box-shadow .15s;
}
.btn:hover { background: var(--sun); color: var(--ink); box-shadow: 0 6px 0 -1px var(--ink); transform: translateY(-2px); }
.btn:active { transform: translateY(0); box-shadow: none; }
.btn-light { background: transparent; color: var(--ink); }
.btn-light:hover { background: #fff; }
.btn-sun { background: var(--sun); color: var(--ink); }
.btn-sun:hover { background: #fff; }
.btn-small { min-height: 2.5rem; padding: .45rem 1.1rem; font-size: .92rem; }
.btn svg { width: 1.1rem; height: 1.1rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255, 253, 248, .94); border-bottom: 1px solid var(--line); }
@supports (backdrop-filter: blur(8px)) { .site-header { background: rgba(255, 253, 248, .82); backdrop-filter: blur(10px); } }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.logo { display: inline-flex; align-items: center; gap: .6rem; color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -.02em; }
.logo:hover { color: var(--ink); }
.logo-mark { width: 2.4rem; height: 2.4rem; flex: none; }
.logo small { display: block; font-size: .7rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); line-height: 1; margin-top: .15rem; }
.nav-toggle { display: inline-flex; align-items: center; gap: .5rem; min-height: 2.75rem; padding: .4rem 1rem; border: 2px solid var(--ink); border-radius: 999px; background: #fff; font-weight: 600; cursor: pointer; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; position: relative; width: 1.05rem; height: 2px; border-radius: 2px; background: currentColor; transition: transform .2s; }
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
.site-nav { position: absolute; left: 0; right: 0; top: 100%; padding: .75rem var(--gutter) 1.25rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px -20px rgba(36,39,44,.3); }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .25rem; }
.site-nav a { display: block; padding: .7rem .9rem; border-radius: var(--radius-sm); color: var(--ink); font-weight: 600; text-decoration: none; }
.site-nav a:hover { background: var(--sun-soft); }
.site-nav a[aria-current="page"] { background: var(--sky-soft); color: var(--sky-ink); }
.site-nav .nav-cta { margin-top: .5rem; text-align: center; background: var(--ink); color: #fff; border-radius: 999px; }
.site-nav .nav-cta:hover { background: var(--sun); color: var(--ink); }
.site-nav .nav-cta[aria-current="page"] { background: var(--sun); color: var(--ink); }
@media (min-width: 880px) {
  .nav-toggle { display: none; }
  .site-nav, .js .site-nav { display: block; position: static; padding: 0; background: none; border: 0; box-shadow: none; }
  .site-nav ul { display: flex; align-items: center; gap: .25rem; }
  .site-nav a { padding: .5rem .85rem; font-size: .97rem; }
  .site-nav a[aria-current="page"] { background: none; color: var(--ink); box-shadow: inset 0 -3px 0 var(--sun); border-radius: 0; }
  .site-nav .nav-cta { margin: 0 0 0 .75rem; padding: .55rem 1.3rem; }
  .site-nav .nav-cta[aria-current="page"] { box-shadow: none; border-radius: 999px; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--sun); padding-block: clamp(2.75rem, 7vw, 5.5rem) clamp(3rem, 7vw, 5.5rem); }
.hero::before, .hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { width: 34rem; height: 34rem; right: -12rem; top: -14rem; background: radial-gradient(circle, rgba(255,255,255,.55), rgba(255,255,255,0) 65%); }
.hero::after { width: 22rem; height: 22rem; left: -9rem; bottom: -12rem; background: radial-gradient(circle, rgba(116,185,227,.45), rgba(116,185,227,0) 70%); }
.hero-grid { position: relative; z-index: 1; display: grid; gap: 2.5rem; align-items: center; }
.hero .eyebrow, .page-hero .eyebrow { color: var(--ink); }
.hero .eyebrow::before, .page-hero .eyebrow::before { background: #fff; }
.hero h1 { font-size: clamp(2.3rem, 7vw, 4.4rem); font-weight: 800; letter-spacing: -.03em; margin-bottom: .35em; }
.hero h1 .course-label { display: block; font-size: .42em; font-weight: 600; letter-spacing: 0; color: #4a3b0c; margin-bottom: .4rem; }
.hero .lead { color: #3b3a33; max-width: 34rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.75rem 0 1.5rem; }
.hero-actions .btn-light:hover { background: var(--sun-soft); }
.stat-row { display: flex; flex-wrap: wrap; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.stat-row li { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem .9rem; border-radius: 999px; background: rgba(255,255,255,.7); font-weight: 600; font-size: .92rem; }
.stat-row svg { width: 1rem; height: 1rem; color: var(--sky-ink); }
.hero-art { position: relative; max-width: 30rem; width: 100%; justify-self: center; }
.hero-art .art-card { background: #fff; border-radius: 28px; padding: 1.25rem; box-shadow: 0 30px 60px -30px rgba(60, 45, 0, .55); transform: rotate(-2deg); }
.hero-art .art-tag { position: absolute; right: -0.25rem; top: -1rem; margin: 0; padding: .55rem .95rem; background: var(--ink); color: #fff; border-radius: 999px; font-size: .85rem; font-weight: 600; transform: rotate(3deg); }
.hero-art .art-tag span { color: var(--sun); }
@media (min-width: 900px) { .hero-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 4rem; } }

/* ---------- Sections ---------- */
.section { padding-block: clamp(3.5rem, 8vw, 6rem); }
.section-alt { background: var(--sky-soft); }
.section-head { max-width: 42rem; margin-bottom: 2.5rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { color: var(--ink-soft); }

.learn-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.learn-grid li { display: grid; grid-template-columns: auto 1fr; gap: .9rem; align-items: start; padding: 1.3rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.learn-grid h3 { font-size: 1.1rem; margin-bottom: .25rem; }
.learn-grid p { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.dot-icon { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50% 46% 52% 44%; background: var(--sun-soft); color: var(--ink); }
.learn-grid li:nth-child(3n+2) .dot-icon { background: var(--sky-soft); }
.learn-grid li:nth-child(3n) .dot-icon { background: #fde6e1; }
.dot-icon svg { width: 1.3rem; height: 1.3rem; }
@media (min-width: 640px) { .learn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .learn-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Curriculum accordion ---------- */
.curriculum-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1rem; margin-bottom: 1rem; padding: 1rem 1.25rem; background: var(--ink); color: #fff; border-radius: var(--radius); }
.curriculum-bar p { margin: 0; font-weight: 600; }
.curriculum-bar strong { color: var(--sun); }
.curriculum-bar .btn { border-color: #fff; background: transparent; color: #fff; }
.curriculum-bar .btn:hover { background: var(--sun); border-color: var(--sun); color: var(--ink); box-shadow: none; transform: none; }
.modules { display: grid; gap: .75rem; }
.module { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.module h3 { margin: 0; font-size: 1rem; }
.module-btn { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 1rem; width: 100%; padding: 1.1rem 1.25rem; border: 0; background: none; text-align: left; cursor: pointer; }
.module-btn:hover { background: #fffaf0; }
.module-num { display: grid; place-items: center; width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--sun-soft); font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; }
.module-title { display: grid; gap: .1rem; font-family: var(--font-display); font-size: 1.12rem; font-weight: 600; line-height: 1.25; }
.module-title small { font-family: var(--font-body); font-size: .88rem; font-weight: 500; color: var(--ink-soft); }
.chev { width: 1.6rem; height: 1.6rem; display: grid; place-items: center; border-radius: 50%; border: 2px solid var(--line); transition: transform .2s; }
.chev svg { width: .9rem; height: .9rem; }
.module-btn[aria-expanded="true"] .chev { transform: rotate(180deg); background: var(--sun); border-color: var(--sun); }
.module-btn[aria-expanded="true"] .module-num { background: var(--sun); }
.lessons { list-style: none; margin: 0; padding: 0 1.25rem 1rem; }
.lessons li { display: flex; align-items: center; gap: .75rem; padding: .7rem 0 .7rem .25rem; border-top: 1px dashed var(--line); font-size: .98rem; }
.lessons .l-icon { flex: none; width: 1.7rem; height: 1.7rem; display: grid; place-items: center; border-radius: 50%; background: var(--sky-soft); color: var(--sky-ink); }
.lessons .l-icon svg { width: .8rem; height: .8rem; }
.lessons .l-title { flex: 1; min-width: 0; }
.lessons .l-time { flex: none; color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: .9rem; }
.badge { display: inline-block; margin-left: .4rem; padding: .1rem .55rem; border-radius: 999px; background: var(--sun); color: var(--ink); font-size: .75rem; font-weight: 700; text-decoration: none; vertical-align: middle; }
a.badge:hover { background: var(--ink); color: #fff; }
@media (max-width: 420px) { .module-btn { gap: .7rem; padding: 1rem; } .module-num { width: 2.2rem; height: 2.2rem; } .lessons { padding-inline: 1rem; } }

/* ---------- Instructor ---------- */
.instructor { display: grid; gap: 2rem; align-items: center; padding: clamp(1.5rem, 4vw, 3rem); background: var(--surface); border-radius: 28px; border: 1px solid var(--line); box-shadow: var(--shadow); }
.instructor-photo { position: relative; aspect-ratio: 1; max-width: 18rem; width: 100%; justify-self: center; border-radius: 46% 54% 50% 50% / 52% 46% 54% 48%; background: radial-gradient(circle at 30% 30%, #fff8dd, var(--sun) 55%, var(--sun-deep)); display: grid; place-items: center; }
.instructor-photo .initials { font-family: var(--font-display); font-size: 4rem; font-weight: 700; color: var(--ink); }
.instructor-photo .ph-note { position: absolute; bottom: .5rem; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: .25rem .7rem; border-radius: 999px; background: #fff; font-size: .78rem; font-weight: 600; }
.instructor h2 { margin-bottom: .2em; }
.instructor .role { font-weight: 600; color: var(--sky-ink); margin-bottom: 1rem; }
.facts { list-style: none; display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 1.25rem 0 0; padding: 0; font-weight: 600; font-size: .95rem; }
.facts li::before { content: "\2022"; color: var(--sun-deep); margin-right: .45rem; }
@media (min-width: 820px) { .instructor { grid-template-columns: 18rem minmax(0, 1fr); gap: 3.5rem; } }

/* ---------- Reviews ---------- */
.reviews { display: grid; gap: 1.25rem; }
.review { margin: 0; padding: 1.5rem; background: var(--surface); border-radius: var(--radius); border: 1px solid var(--line); display: grid; gap: .9rem; align-content: start; }
.review-label { justify-self: start; padding: .15rem .6rem; border-radius: 999px; background: var(--sky-soft); color: var(--sky-ink); font-size: .75rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.stars { display: flex; gap: .15rem; color: var(--sun-deep); }
.stars svg { width: 1.05rem; height: 1.05rem; }
.review blockquote { margin: 0; font-size: 1.05rem; }
.review figcaption { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .95rem; }
.review figcaption span { color: var(--ink-soft); font-weight: 400; font-size: .88rem; display: block; }
.mini-avatar { flex: none; display: grid; place-items: center; width: 2.4rem; height: 2.4rem; border-radius: 50%; background: var(--sun-soft); font-family: var(--font-display); font-weight: 700; font-size: .9rem; }
@media (min-width: 820px) { .reviews { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Pricing ---------- */
.pricing { display: grid; gap: 1.5rem; max-width: 56rem; margin-inline: auto; }
.plan { position: relative; display: flex; flex-direction: column; gap: 1rem; padding: 2rem; background: var(--surface); border: 2px solid var(--line); border-radius: 24px; }
.plan-featured { border-color: var(--ink); box-shadow: 10px 10px 0 var(--sun); }
.plan-flag { position: absolute; top: -.9rem; left: 2rem; padding: .25rem .8rem; border-radius: 999px; background: var(--sky); color: var(--ink); font-size: .8rem; font-weight: 700; }
.plan h3 { font-size: 1.4rem; margin: 0; }
.plan .price { margin: 0; font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; }
.plan .price span { font-size: 1rem; font-weight: 500; color: var(--ink-soft); letter-spacing: 0; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; flex: 1; }
.plan li { display: flex; gap: .6rem; align-items: flex-start; }
.plan li svg { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .2rem; color: var(--success); }
.plan .btn { width: 100%; }
.price-note { max-width: 56rem; margin: 2rem auto 0; display: flex; gap: .9rem; align-items: flex-start; padding: 1.1rem 1.3rem; background: var(--sun-soft); border-radius: var(--radius); }
.price-note svg { flex: none; width: 1.6rem; height: 1.6rem; color: var(--ink); }
.price-note p { margin: 0; }
@media (min-width: 760px) { .pricing { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- FAQ ---------- */
.faq { max-width: 46rem; margin-inline: auto; display: grid; gap: .6rem; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--surface); }
.faq-item h3 { margin: 0; font-size: 1.05rem; }
.faq-btn { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; padding: 1rem 1.2rem; border: 0; background: none; text-align: left; font-family: var(--font-display); font-weight: 600; font-size: 1.07rem; cursor: pointer; }
.faq-btn::after { content: "+"; flex: none; display: grid; place-items: center; width: 1.8rem; height: 1.8rem; border-radius: 50%; background: var(--sky-soft); color: var(--sky-ink); font-size: 1.3rem; line-height: 1; }
.faq-btn[aria-expanded="true"]::after { content: "\2212"; background: var(--sun); color: var(--ink); }
.faq-panel { padding: 0 1.2rem 1.1rem; color: var(--ink-soft); }
.faq-panel p { margin: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: #fff; border-radius: 28px; padding: clamp(2rem, 5vw, 3.5rem); display: grid; gap: 1.5rem; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -4rem; top: -4rem; width: 14rem; height: 14rem; border-radius: 50%; background: radial-gradient(circle, rgba(246,196,69,.55), rgba(246,196,69,0) 70%); }
.cta-band h2 { margin: 0 0 .3em; }
.cta-band p { margin: 0; color: #d8dbe0; }
.cta-band .btn { position: relative; z-index: 1; justify-self: start; }
@media (min-width: 760px) { .cta-band { grid-template-columns: 1fr auto; } }

/* ---------- Lesson page ---------- */
.crumbs { padding-block: 1.25rem 0; font-size: .92rem; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; margin: 0; padding: 0; color: var(--ink-soft); }
.crumbs li + li::before { content: "/"; margin-right: .35rem; color: var(--line); }
.lesson-layout { display: grid; gap: 2rem; padding-block: 1.25rem clamp(3rem, 7vw, 5rem); }
.lesson-main { min-width: 0; }
.lesson-head h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: .3em; }
.lesson-meta { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; margin: 0 0 1.5rem; padding: 0; }
.lesson-meta li { padding: .25rem .75rem; border-radius: 999px; background: var(--sky-soft); color: var(--sky-ink); font-size: .88rem; font-weight: 600; }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 20% 30%, rgba(116,185,227,.55), transparent 45%), radial-gradient(circle at 80% 70%, rgba(246,196,69,.45), transparent 50%), radial-gradient(circle at 60% 20%, rgba(238,158,143,.4), transparent 40%), #2b2f36; }
.video-label { position: absolute; left: 1rem; top: 1rem; padding: .25rem .7rem; border-radius: 999px; background: rgba(0,0,0,.45); font-size: .8rem; font-weight: 600; }
.play-btn { display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 50%; border: 0; background: var(--sun); color: var(--ink); cursor: pointer; box-shadow: 0 0 0 10px rgba(246,196,69,.25); transition: transform .15s; }
.play-btn:hover { transform: scale(1.06); }
.play-btn svg { width: 1.8rem; height: 1.8rem; margin-left: .25rem; }
.video-note { position: absolute; left: 1rem; right: 1rem; bottom: 1rem; margin: 0; padding: .75rem 1rem; border-radius: var(--radius-sm); background: #fff; color: var(--ink); font-size: .95rem; }
.video-note:empty { display: none; }
.video-note code { background: var(--sun-soft); padding: .05rem .35rem; border-radius: 4px; font-size: .88em; }
.notes { margin-top: 2rem; }
.notes h2 { font-size: 1.6rem; margin-top: 1.6em; }
.notes h2:first-child { margin-top: 0; }
.notes ul, .notes ol { padding-left: 1.3rem; }
.notes li { margin-bottom: .4rem; }
.tip { display: grid; grid-template-columns: auto 1fr; gap: .9rem; margin: 1.5rem 0; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--sun-soft); border-left: 5px solid var(--sun); }
.tip svg { width: 1.5rem; height: 1.5rem; }
.tip p { margin: 0; }
.swatches { display: grid; grid-template-columns: repeat(auto-fit, minmax(7rem, 1fr)); gap: .75rem; margin: 1.25rem 0; list-style: none; padding: 0; }
.swatches li { padding: .75rem; border-radius: var(--radius-sm); background: var(--surface); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; }
.swatches li::before { content: ""; display: block; height: 3rem; margin-bottom: .5rem; border-radius: 40% 60% 55% 45% / 55% 45% 60% 40%; background: var(--c); opacity: .85; }
.lesson-nav { display: grid; gap: .75rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.lesson-nav a { display: grid; gap: .1rem; padding: 1rem 1.2rem; border-radius: var(--radius); border: 2px solid var(--line); color: var(--ink); text-decoration: none; background: var(--surface); }
.lesson-nav a:hover { border-color: var(--ink); }
.lesson-nav small { color: var(--ink-soft); font-weight: 600; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.lesson-nav strong { font-family: var(--font-display); font-size: 1.1rem; }
.lesson-nav .next { text-align: right; }
@media (min-width: 640px) { .lesson-nav { grid-template-columns: 1fr 1fr; } }
.module-panel { align-self: start; padding: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.module-panel h2 { font-size: 1.25rem; margin-bottom: .2rem; }
.module-panel .sub { color: var(--ink-soft); font-size: .92rem; }
.progress-wrap { margin: 1rem 0 1.25rem; }
.progress-label { display: flex; justify-content: space-between; gap: .5rem; font-weight: 600; font-size: .92rem; margin-bottom: .4rem; }
.progress-track { height: .8rem; border-radius: 999px; background: var(--sky-soft); overflow: hidden; }
.progress-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--sky), var(--sun)); transition: width .3s; }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.checklist li { position: relative; }
.checklist label { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; padding: .65rem .7rem; border-radius: var(--radius-sm); cursor: pointer; font-size: .96rem; }
.checklist label:hover { background: var(--paper); }
.checklist input { width: 1.25rem; height: 1.25rem; margin: 0; accent-color: var(--sky-ink); }
.checklist .time { color: var(--ink-soft); font-size: .85rem; font-variant-numeric: tabular-nums; }
.checklist .is-current label { background: var(--sun-soft); font-weight: 600; }
.checklist .here { display: block; font-size: .75rem; font-weight: 700; color: var(--sky-ink); text-transform: uppercase; letter-spacing: .06em; }
.checklist .done-text { text-decoration: line-through; text-decoration-color: rgba(36,39,44,.4); color: var(--ink-soft); }
.complete-row { display: grid; gap: .5rem; margin-top: 1.25rem; }
.complete-row .btn { width: 100%; }
.storage-note { margin: .75rem 0 0; font-size: .85rem; color: var(--ink-soft); }
.complete-msg { margin: .5rem 0 0; font-weight: 600; color: var(--success); min-height: 1.4em; font-size: .95rem; }
@media (min-width: 980px) { .lesson-layout { grid-template-columns: minmax(0, 1fr) 21rem; gap: 3rem; } .module-panel { position: sticky; top: 6rem; } }

/* ---------- Enroll page ---------- */
.page-hero { background: var(--sun); padding-block: clamp(2.5rem, 6vw, 4rem); position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -6rem; bottom: -10rem; width: 24rem; height: 24rem; border-radius: 50%; background: radial-gradient(circle, rgba(116,185,227,.5), transparent 70%); }
.page-hero h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); font-weight: 800; position: relative; }
.page-hero p { max-width: 36rem; margin: 0; color: #3b3a33; position: relative; }
.enroll-layout { display: grid; gap: 2rem; padding-block: clamp(2.5rem, 6vw, 4rem) clamp(3rem, 7vw, 5rem); }
.form-card { padding: clamp(1.25rem, 4vw, 2.25rem); background: var(--surface); border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow); min-width: 0; }
.form-card h2 { font-size: 1.6rem; }
.form-grid { display: grid; gap: 1.1rem; }
.field { display: grid; gap: .35rem; }
.field > label, .legend { font-weight: 600; font-size: .97rem; }
.hint { font-size: .88rem; color: var(--ink-soft); margin: 0; }
.input { width: 100%; min-height: 3rem; padding: .65rem .9rem; border: 2px solid #c9c3b5; border-radius: var(--radius-sm); background: #fff; }
.input:hover { border-color: var(--ink-soft); }
.input:focus-visible { outline-offset: 1px; border-color: var(--sky-ink); }
select.input { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 1.25rem) 55%, calc(100% - .9rem) 55%; background-size: .38rem .38rem; background-repeat: no-repeat; padding-right: 2.5rem; }
.input[aria-invalid="true"] { border-color: var(--error); }
.error { margin: 0; min-height: 1.35em; font-size: .88rem; font-weight: 600; color: var(--error); }
fieldset { margin: 0; padding: 0; border: 0; min-width: 0; }
.tier-options { display: grid; gap: .75rem; margin-top: .5rem; }
.tier { position: relative; }
.tier input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tier label { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; padding: 1rem 1.1rem; border: 2px solid #c9c3b5; border-radius: var(--radius); cursor: pointer; background: #fff; }
.tier label:hover { border-color: var(--ink-soft); }
.tier .radio { width: 1.3rem; height: 1.3rem; border-radius: 50%; border: 2px solid var(--ink-soft); display: grid; place-items: center; }
.tier input:checked + label { border-color: var(--ink); background: var(--sun-soft); }
.tier input:checked + label .radio { border-color: var(--ink); }
.tier input:checked + label .radio::after { content: ""; width: .6rem; height: .6rem; border-radius: 50%; background: var(--ink); }
.tier input:focus-visible + label { outline: 3px solid var(--sky-ink); outline-offset: 3px; }
.tier strong { display: block; font-family: var(--font-display); font-size: 1.08rem; }
.tier small { color: var(--ink-soft); font-size: .88rem; }
.tier .tier-price { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; }
.tier-options.has-error label { border-color: var(--error); }
@media (min-width: 640px) { .form-grid.two { grid-template-columns: 1fr 1fr; } }
.summary { align-self: start; padding: 1.5rem; border-radius: 24px; background: var(--ink); color: #fff; }
.summary h2 { font-size: 1.3rem; }
.summary dl { margin: 0; display: grid; grid-template-columns: 1fr auto; gap: .6rem 0; }
.summary dd { padding-left: 1rem; }
.summary dt { color: #c8ccd3; }
.summary dd { margin: 0; text-align: right; font-weight: 600; }
.summary .total { padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.2); font-size: 1.15rem; color: #fff; }
.summary .total-amt { padding-top: .8rem; border-top: 1px solid rgba(255,255,255,.2); font-family: var(--font-display); font-size: 1.6rem; color: var(--sun); }
.summary p { margin: 1rem 0 0; font-size: .9rem; color: #c8ccd3; }
.success-card { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: 24px; background: #eaf7ef; border: 2px solid #9fd3b2; }
.success-card:focus { outline: 3px solid var(--sky-ink); outline-offset: 3px; }
.success-card h2 { color: #14532d; font-size: 1.7rem; }
.success-card p:last-child { margin-bottom: 0; }
@media (min-width: 940px) { .enroll-layout { grid-template-columns: minmax(0, 1fr) 20rem; gap: 2.5rem; } .summary { position: sticky; top: 6rem; } }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; padding-block: 3rem 2rem; background: #1c1f23; color: #c8ccd3; font-size: .95rem; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { color: var(--sun); text-decoration: underline; }
.footer-grid { display: grid; gap: 2rem; }
.footer-grid .logo { color: #fff; }
.footer-grid .logo small { color: #aab0b9; }
.footer-grid h2 { font-size: .85rem; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: .8rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 1rem; margin-top: 2.5rem; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .88rem; }
.footer-bottom p { margin: 0; }
.built-with { font-size: .78rem; color: #aab0b9; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
.art-swatches { margin-top: .75rem; }
.footer-tag { margin-top: 1rem; }
