/* Course page */
.c-hero { padding: 28px 0 56px; }
.c-hero-grid { display: grid; gap: 32px; }
.c-hero-grid > * { min-width: 0; }
.crumbs { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; color: var(--mute-d); margin-bottom: 20px; }
.crumbs a:hover { color: var(--paper); }
.crumbs i { font-size: .7rem; opacity: .6; }
.c-title {
  font-family: var(--f-display); font-weight: 800; line-height: .9; letter-spacing: -.02em;
  font-size: clamp(2.6rem, 9vw, 5.4rem); font-variation-settings: "wdth" 60; max-width: 14ch;
}
.ficha { margin: 32px 0 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line-d); }
.ficha div { padding: 14px 12px 14px 0; border-bottom: 1px solid var(--line-d); }
.ficha dt { color: var(--mute-d); margin-bottom: 4px; }
.ficha dd { margin: 0; font-weight: 600; line-height: 1.35; }
.c-shot { position: relative; margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--paper); }
.c-shot img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 980px) {
  .c-hero { padding: 48px 0 72px; }
  .c-hero-grid { grid-template-columns: 1fr 1fr; gap: 56px; align-items: end; }
  .ficha { grid-template-columns: repeat(3, 1fr); }
  .c-shot { aspect-ratio: 4 / 5; }
}

.c-body { padding: 0 0 96px; }
.c-grid { display: grid; gap: 0; }
.c-grid > * { min-width: 0; }
.c-side { order: -1; padding-top: 24px; }
@media (min-width: 980px) {
  .c-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
  .c-side { order: 0; position: sticky; top: calc(var(--head) + 24px); padding-top: 40px; }
}

.c-nav {
  position: sticky; top: var(--head); z-index: var(--z-sticky); background: rgba(244,244,240,.94);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  margin-inline: calc(var(--gut) * -1); padding: 0 var(--gut); border-bottom: 1px solid var(--line-l);
  margin-top: 24px;
}
.c-nav div { display: flex; gap: 22px; overflow-x: auto; scrollbar-width: none; }
.c-nav div::-webkit-scrollbar { display: none; }
.c-nav a { flex-shrink: 0; padding: 16px 0 14px; font-size: .92rem; font-weight: 500; color: var(--mute-l); border-bottom: 2px solid transparent; transition: color .2s, border-color .2s; }
.c-nav a:hover { color: var(--ink); }
.c-nav a.on { color: var(--ink); border-bottom-color: var(--ink); }
@media (min-width: 980px) { .c-nav { margin-inline: 0; padding: 0; margin-top: 16px; } }

.c-sec { padding: 48px 0 8px; }
.c-sec h2 {
  font-family: var(--f-display); font-weight: 760; font-size: clamp(1.9rem, 4vw, 2.6rem); line-height: 1;
  font-variation-settings: "wdth" 68; letter-spacing: -.015em; margin-bottom: 22px;
}
.c-sec p { max-width: 64ch; margin-bottom: 14px; color: #2c2c28; }
.c-lead { font-size: 1.2rem; line-height: 1.5; color: var(--ink) !important; font-weight: 500; }
.checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; line-height: 1.45; }
.checks i { font-size: 1.2rem; margin-top: 1px; }
.mod { border-top: 1.5px solid var(--ink); }
.mod:last-of-type { border-bottom: 1.5px solid var(--ink); }
.mod summary { list-style: none; display: grid; grid-template-columns: 78px 1fr 28px; gap: 12px; align-items: center; padding: 20px 0; cursor: pointer; }
.mod summary::-webkit-details-marker, .faq summary::-webkit-details-marker { display: none; }
.mod-h { font-family: var(--f-display); font-weight: 800; font-size: 2.2rem; line-height: 1; font-variation-settings: "wdth" 60; }
.mod-t { font-weight: 650; font-size: 1.15rem; line-height: 1.25; }
.mod-t small { display: block; font-weight: 400; font-size: .88rem; color: var(--mute-l); margin-top: 2px; }
.mod summary i, .faq summary i { font-size: 1.2rem; transition: transform .3s var(--ease-out); justify-self: end; flex-shrink: 0; }
.mod[open] summary i, .faq[open] summary i { transform: rotate(45deg); }
.mod ul { margin: 0 0 22px 90px; padding: 0; list-style: none; display: grid; gap: 8px; }
.mod li { position: relative; padding-left: 16px; line-height: 1.45; }
.mod li::before { content: ""; position: absolute; left: 0; top: .62em; width: 6px; height: 6px; background: var(--ink); }
@media (max-width: 559px) { .mod ul { margin-left: 0; } .mod summary { grid-template-columns: 64px 1fr 24px; } }

.tl { background: #fff; border-radius: 10px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line-l); }
.tl-bar { display: flex; align-items: center; margin: 4px 4px 14px; }
.tl-dot { width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 2px var(--ink); flex-shrink: 0; }
.tl-dot.end { background: var(--ink); }
.tl-line { flex: 1; height: 2px; background: var(--ink); transform-origin: left; transform: scaleX(0); transition: transform 1.2s var(--ease-io) .2s; }
.c-sec.in .tl-line { transform: none; }
.tl-row { display: flex; justify-content: space-between; gap: 16px; }
.tl-row .r { text-align: right; }
.tl-row .mono { display: block; color: var(--mute-l); }
.tl-row b { font-family: var(--f-display); font-weight: 760; font-size: 1.7rem; font-variation-settings: "wdth" 70; line-height: 1.1; }
.tl-note { margin: 16px 0 0 !important; display: flex; gap: 8px; align-items: center; font-weight: 600; color: var(--ink) !important; }
.tl-fine { font-size: .84rem; color: var(--mute-l) !important; margin: 10px 0 0 !important; }

.people { display: grid; gap: 10px; }
@media (min-width: 560px) { .people { grid-template-columns: 1fr 1fr; } }
.person { padding: 20px; background: var(--ink); color: var(--paper); border-radius: 10px; }
.person b { display: block; font-family: var(--f-display); font-weight: 740; font-size: 1.7rem; line-height: 1; font-variation-settings: "wdth" 72; margin-bottom: 8px; }
.person span { color: var(--mute-d); font-size: .92rem; }
.two-col { display: grid; gap: 24px; }
@media (min-width: 640px) { .two-col { grid-template-columns: 1fr 1fr; } }
.two-col h4 { font-size: .95rem; margin-bottom: 12px; }
.faq { border-bottom: 1px solid var(--line-l); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; font-weight: 600; font-size: 1.05rem; cursor: pointer; }
.faq p { padding-bottom: 18px; margin: 0 !important; }
.pdf { display: grid; grid-template-columns: 40px 1fr; gap: 14px; padding: 20px; background: #fff; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--line-l); }
.pdf i { font-size: 2rem; }
.pdf p { margin: 4px 0 0 !important; }
.pdf-lead { display: grid; gap: 22px; padding: 28px; background: var(--yellow); color: var(--on-yellow); border-radius: 10px; }
.pdf-lead h2 { margin-bottom: 8px !important; }
.pdf-lead p { color: var(--on-yellow) !important; margin: 0 !important; }
.pdf-lead .field input { box-shadow: inset 0 0 0 1.5px var(--on-yellow); }
@media (min-width: 760px) { .pdf-lead { grid-template-columns: 1fr 1fr; align-items: end; padding: 36px; } }

/* Buy card */
.buy { background: #fff; border-radius: 12px; padding: 22px; box-shadow: inset 0 0 0 1px var(--line-l), 0 20px 40px -28px rgba(0,0,0,.35); display: grid; gap: 12px; }
.buy-k { color: var(--ink); background: var(--yellow); justify-self: start; padding: 4px 8px; font-weight: 600; }
.buy-t { font-family: var(--f-display); font-weight: 760; font-size: 1.9rem; line-height: 1; font-variation-settings: "wdth" 72; }
.buy-s { color: var(--mute-l); font-size: .95rem; }
.plans { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; }
.plan { display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; padding: 14px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--line-l); cursor: pointer; transition: box-shadow .2s, background-color .2s; }
.plan:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.plan:has(input:checked) { box-shadow: inset 0 0 0 2px var(--ink); background: #fbfbf6; }
.plan input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.plan b { display: block; font-weight: 650; }
.plan small { color: var(--mute-l); font-size: .82rem; }
.plan strong { font-family: var(--f-display); font-weight: 780; font-size: 1.6rem; font-variation-settings: "wdth" 72; line-height: 1; text-align: right; white-space: nowrap; }
.plan strong small { font-family: var(--f-body); font-weight: 500; font-size: .8rem; color: var(--mute-l); }
.plan strong s { display: block; font-family: var(--f-body); font-weight: 400; font-size: .8rem; color: var(--mute-l); }
.buy .btn.ghost { color: var(--ink); }
.buy .btn.ghost:hover { background: var(--paper); }
.buy-perks { list-style: none; margin: 6px 0 0; padding: 12px 0 0; border-top: 1px solid var(--line-l); display: grid; gap: 8px; font-size: .9rem; }
.buy-perks li { display: flex; gap: 10px; align-items: center; }
.buy-perks i { font-size: 1.1rem; }
.buy-note { font-size: .76rem; color: var(--mute-l); }

/* Mobile buy bar */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-dock);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px var(--gut) calc(10px + env(safe-area-inset-bottom));
  background: rgba(18,18,17,.94); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-top: 1px solid var(--line-d); color: var(--paper);
  transform: translateY(110%); transition: transform .4s var(--ease-out);
}
.buybar.on { transform: none; }
.buybar small { display: block; color: var(--yellow); font-size: .62rem; }
.buybar b { font-family: var(--f-display); font-weight: 780; font-size: 1.6rem; font-variation-settings: "wdth" 72; line-height: 1.1; }
.buybar b small { display: inline; color: var(--mute-d); font-family: var(--f-body); font-size: .8rem; }
.buybar .btn { min-width: 160px; }
@media (min-width: 980px) { .buybar { display: none; } }

/* Reel */
.c-gallery { background: var(--ink); padding: 88px 0 72px; overflow: hidden; }
.c-gallery .h2 { margin-bottom: 36px; }
.reel { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; background: var(--film); padding: 26px 0 26px var(--gut); position: relative; cursor: grab; }
.reel::-webkit-scrollbar { display: none; }
.reel.drag { cursor: grabbing; scroll-snap-type: none; }
.reel-f { position: relative; margin: 0 10px 0 0; flex: 0 0 min(78vw, 420px); scroll-snap-align: start; }
.reel-f::before, .reel-f::after { content: ""; position: absolute; left: -10px; right: 0; height: 9px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='15' height='9'%3E%3Crect x='3.5' y='1' width='8' height='7' rx='1.5' fill='%233a3a36'/%3E%3C/svg%3E") repeat-x left center; }
.reel-f::before { top: -19px; } .reel-f::after { bottom: -19px; }
.reel-f .dev { aspect-ratio: 3 / 2; overflow: hidden; background: var(--paper); }
.reel-f img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; user-select: none; }
.c-related { padding-top: 32px; }
@media (min-width: 1100px) { .rel-grid { grid-template-columns: repeat(3, 1fr); } }
