:root {
  color-scheme: light;
  --cream: #fbf7ee;
  --ink: #282037;
  --muted: #554760;
  --purple: #553286;
  --line: #dfd5e4;
  --white: #fffdf8;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 1rem/1.65 system-ui, sans-serif; }
a { color: var(--purple); text-underline-offset: .24em; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { opacity: .65; cursor: wait; }
:focus-visible { outline: 3px solid #854dc0; outline-offset: 4px; }
.wrap { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; top: 8px; left: 8px; z-index: 2; background: var(--white); padding: .6rem; transform: translateY(-150%); }
.skip:focus { transform: none; }
.header, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 24px; }
.header { border-bottom: 1px solid var(--line); }
.header nav { display: flex; align-items: center; gap: clamp(.75rem, 3vw, 2rem); }
.header nav > a { text-decoration: none; font-weight: 650; }
.brand { color: var(--ink); text-decoration: none; font-size: clamp(1.15rem, 3vw, 1.55rem); font-weight: 850; line-height: 1.15; letter-spacing: -.05em; }
.brand span { color: var(--purple); margin-right: .18em; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .67rem 1.18rem; border: 1px solid var(--purple); border-radius: 99px; background: var(--purple); color: white; text-decoration: none; font-weight: 750; line-height: 1.35; }
.button:hover { background: #402363; color: white; }
.button.secondary { background: var(--white); color: var(--purple); }
.button.secondary:hover { background: #ece1fc; }
.button.small { padding: .54rem .88rem; }
.hero { display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: clamp(26px, 5vw, 75px); padding-block: clamp(48px, 7vw, 100px); }
.eyebrow { color: var(--purple); font-size: .75rem; font-weight: 850; letter-spacing: .15em; margin: 0 0 13px; }
.eyebrow span { margin-right: .45em; }
h1, h2, h3 { line-height: 1.04; margin: 0; }
h1, h2 { font-family: Georgia, serif; font-weight: 700; letter-spacing: -.06em; }
h1 { font-size: clamp(3.45rem, 6vw, 6rem); }
h1 em { color: var(--purple); }
h2 { font-size: clamp(2.5rem, 5.2vw, 4.2rem); }
h3 { font-size: clamp(1.3rem, 3vw, 1.7rem); letter-spacing: -.035em; }
.intro, .section-copy { color: var(--muted); max-width: 45ch; }
.intro { font-size: clamp(1.05rem, 2.1vw, 1.25rem); margin: 22px 0 25px; }
.hero-art svg { display: block; width: 100%; height: auto; }
.collection { padding-block: 55px 64px; background: #f3ebfb; }
.cards, .private-lessons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.cards { margin-top: 25px; }
.card, .lesson { border: 1px solid var(--line); border-radius: 24px; background: var(--white); overflow: hidden; }
.card-art { display: grid; place-content: center; height: 155px; overflow: hidden; }
.flower-art { display: flex; align-items: center; justify-content: center; gap: .12em; background: #e3f0d8; color: #643c91; font-size: clamp(3.1rem, 8vw, 5.2rem); line-height: 1; }
.flower-art span:first-child { color: #ae3b73; transform: rotate(-20deg) translateY(.15em); }
.flower-art span:last-child { color: #8b5c19; transform: rotate(17deg) translateY(.17em); }
.bow-art { background: #f9e3df; }
.bow-art svg { width: 180px; }
.card-content, .lesson { padding: clamp(18px, 3.5vw, 29px); }
.card-content > p:not(.tag), .lesson > p, .lesson li { color: var(--muted); }
.card-content a { font-weight: 750; }
.tag { font-size: .72rem; font-weight: 800; letter-spacing: .11em; color: var(--purple); margin: 0 0 .85rem; }
.tag span { padding-inline: .25em; }
.sample, .parent-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 5vw, 66px); }
.sample, .parent-section, .faq { padding-block: clamp(42px, 7vw, 72px); }
.steps { padding-left: 1.55em; margin-block: 0; }
.steps li { padding: .45rem 0 .45rem .25rem; }
.steps li::marker { color: var(--purple); font-weight: 800; }
.parent-section { background: #eaf0dc; }
.account { align-self: start; border: 1px solid var(--line); background: var(--white); border-radius: 24px; padding: clamp(18px, 4vw, 30px); }
.account p { margin: 0; overflow-wrap: anywhere; }
.account form { display: grid; gap: .7rem; margin-top: 1rem; justify-items: start; }
.account label { font-weight: 700; }
.account input { border: 1px solid #8c7d98; border-radius: 8px; padding: .65rem .75rem; width: 100%; background: white; color: var(--ink); }
.link-button { border: 0; background: transparent; color: var(--purple); padding: .45em 0; text-decoration: underline; text-underline-offset: .22em; }
#account-actions { display: flex; gap: .8rem; flex-wrap: wrap; margin-top: 1rem; }
.private-lessons { margin-top: 24px; }
.catalog { margin-top: 55px; }
.catalog-filters { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.catalog-filters label { font-weight: 700; }
.catalog-filters input, .catalog-filters select { display: block; width: 100%; padding: .75rem; border: 1px solid #8c7d98; border-radius: 8px; color: var(--ink); background: var(--white); font: inherit; margin-top: 6px; }
.video-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.video-card { background: var(--white); border: 1px solid var(--line); border-radius: 18px; padding: 20px; min-width: 0; }
.video-card h3 { font-size: 1.2rem; }
.video-card .filename { color: var(--muted); font-size: .8rem; overflow-wrap: anywhere; }
.video-card iframe { border: 0; width: 100%; aspect-ratio: 3 / 4; border-radius: 10px; margin-top: 12px; }
.video-card a { font-size: .88rem; }
.pagination { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 22px; flex-wrap: wrap; }
.lesson iframe { display: block; border: 0; width: 100%; aspect-ratio: 4 / 3; background: #1a1426; border-radius: 12px; margin-block: 1rem; }
.lesson ol { padding-left: 1.2rem; }
.faq h2 { margin-bottom: 20px; }
.faq details { border-top: 1px solid var(--line); padding: .9rem 0; max-width: 700px; }
.faq summary { cursor: pointer; font-weight: 720; }
.faq details p { margin: .6rem 0 0; color: var(--muted); }
.footer { border-top: 1px solid var(--line); }
@media (max-width: 720px) {
  .wrap { width: calc(100% - 36px); }
  .hero, .sample, .parent-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-art { max-width: 520px; }
}
@media (max-width: 490px) {
  .cards, .private-lessons { grid-template-columns: 1fr; }
  .video-grid, .catalog-filters { grid-template-columns: 1fr; }
  .header { gap: .5rem; }
  .header nav a:first-child { display: none; }
  .footer { flex-wrap: wrap; }
}

.dashboard { background: #fff5f2; }
.dashboard .account, .dashboard .lesson, .dashboard .video-card { background: white; border: 1px solid #eedbd9; }
.dashboard .button.secondary { color: #a31d38; border-color: #d3a1a7; }
.dashboard h2, .dashboard h3, .dashboard h4, .guide-page h1, .guide-page h2, #project-view h2 {
  color: #29202a;
  font-family: system-ui, sans-serif;
  letter-spacing: -.025em;
}
.dashboard-nav { display: flex; flex-wrap: wrap; gap: .6rem; margin-block: 1.3rem; }
.dashboard-nav a { padding: .55rem .95rem; border-radius: 99px; background: white; color: #a31d38; text-decoration: none; font-weight: 650; }
.dashboard .private-lessons:not([hidden]) { display: block; }
.dashboard .lesson { margin-block: 1rem; }
.dashboard .video-card { overflow: hidden; display: flex; flex-direction: column; align-items: flex-start; }
.dashboard .video-card h3 { margin-block: .3rem .8rem; }
.dashboard .video-card p { margin-block: .65rem 0; color: #76545b; font-size: .84rem; }
.dashboard .video-card .button { margin-top: auto; }
.video-thumbnail, .dashboard .video-card img { width: 100%; aspect-ratio: 172 / 116; background-color: #31232b; border-radius: 12px; }
.video-thumbnail { background-size: 600% 800%; }
.dashboard .video-card img { object-fit: cover; }
.featured-layout { display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); align-items: start; }
.featured-layout > div:only-child { max-width: 42rem; }
.dashboard .lesson iframe { aspect-ratio: 16 / 10; margin-block: .35rem; }
#project-view { width: min(92vw, 860px); max-height: 91dvh; overflow: auto; border: 1px solid #eedbd9; border-radius: 18px; padding: clamp(.8rem, 4vw, 1.8rem); background: white; color: #29202a; }
#project-view::backdrop { background: #21151b9c; }
.project-heading { display: flex; align-items: start; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.project-heading h2 { margin: 0; font-size: clamp(1.25rem, 4vw, 2.1rem); }
#project-view iframe { display: block; border: 0; background: #21151b; border-radius: 12px; width: 100%; aspect-ratio: 16 / 10; margin-bottom: .8rem; }
.guide-page { max-width: 760px; padding-block: 2rem; }
.guide-page h1 { font-size: clamp(1.8rem, 6vw, 3.3rem); }
.guide-sheet { display: block; max-width: 100%; height: auto; margin: 1rem auto; }
@media print {
  body:has(#project-view[open]) > :not(#project-view), #project-view button, .free-guide header, .free-guide button { display: none !important; }
  #project-view[open] { display: block; position: static; width: 100%; max-width: none; max-height: none; overflow: visible; margin: 0; padding: 0; border: 0; }
  #project-view::backdrop { display: none; }
  .guide-page { padding: 0; }
  .guide-sheet { width: auto; max-height: 225mm; break-inside: avoid; }
}

.dashboard { padding-block: 1.5rem 2.5rem; }
.dashboard h1 { margin: 0 0 .45rem; font: 750 clamp(1.85rem, 4vw, 2.8rem)/1.12 system-ui, sans-serif; letter-spacing: -.035em; }
.dashboard .catalog { margin-top: 1.35rem; }
.member-library .parent-grid { display: flex; flex-wrap: wrap; gap: .6rem 1.25rem; align-items: baseline; justify-content: space-between; }
.member-library .account { background: transparent; border: 0; padding: 0; }
.member-library #account-status { margin: 0 0 .25rem; font-size: .84rem; }
#account-actions summary, .free-activity summary { cursor: pointer; font-weight: 650; }
#account-actions summary { color: #76545b; font-size: .9rem; }
#account-email { margin: .4rem 0; overflow-wrap: anywhere; }
.dashboard .dashboard-nav { margin-block: .85rem 1.15rem; }
.free-activity { margin-block: 1.4rem; }
.free-activity .sample { padding-block: 1rem; }

.dashboard-nav a[aria-current="page"] { background: #a31d38; color: white; }
.featured-pick { display: flex; align-items: center; gap: .8rem; padding: .55rem .8rem; border: 1px solid #eedbd9; border-radius: 15px; background: white; }
.featured-pick img { width: 68px; height: 49px; object-fit: cover; border-radius: 8px; }
.featured-pick p { margin: 0; color: #76545b; font-size: .8rem; }
.featured-pick a { margin-left: auto; text-align: center; }
.dashboard .video-card { position: relative; padding: .75rem; }
.dashboard .video-card h3 { margin-bottom: .45rem; font-size: clamp(1rem, 2.2vw, 1.2rem); }
.dashboard .video-thumbnail { aspect-ratio: 172 / 190; background-color: #f3e6e6; }
.dashboard .video-card img { aspect-ratio: 3 / 2; }
.card-open, .card-save { border: 0; background: transparent; color: #a31d38; font: inherit; font-weight: 700; cursor: pointer; }
.card-open { margin-top: auto; padding: .55rem .05rem; text-decoration: none; }
.card-open::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.video-card:focus-within { outline: 2px solid #a31d38; outline-offset: 2px; }
.card-save { position: relative; z-index: 1; min-height: 44px; padding: .55rem .45rem; font-size: .9rem; }
.card-save[aria-pressed="true"] { color: #702838; background: #f9e9e9; border-radius: 8px; }
.step-viewer { margin-block: 1rem; padding: 1rem; border-radius: 14px; background: #fff2ee; }
.step-viewer p { font-size: 1.12rem; }
.step-viewer button + button, #project-content > button + button { margin-left: .5rem; }
.print-steps { display: none; }
.parent-help { margin-top: .5rem; max-width: 30rem; }
.parent-help details { margin-block: .35rem; }
@media (min-width: 950px) { .dashboard .video-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 550px) {
  .dashboard .video-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .featured-pick { flex-wrap: wrap; }
  .featured-pick a { margin-left: 0; }
}
@media print {
  .step-viewer { display: none; }
  .print-steps { display: block; }
}
