/* /course/ only (loads after site.css). Zars, 2026-10-29: blurred course preview -> white title + big countdown + price
   -> Paano mag-enroll (steps + QR | form) -> module titles -> Para kanino (2 columns) -> DM. */
:root { --paper: #F6F6F4; --ink: #121214; } /* the white section (site.css has no light tokens) */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* the preview fades from the dark course into the white section below it (one block, no gap) */
.intro { display: grid; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.intro > * { min-width: 0; } /* the 1280-wide preview picture must not widen the column on a phone */
.preview picture { display: block; height: 100%; }
.preview { position: relative; display: block; height: min(64vh, 560px); overflow: hidden; color: var(--fg); text-decoration: none; }
.preview img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.preview::after { content: ""; position: absolute; inset: auto 0 0 0; height: 55%; background: linear-gradient(to bottom, rgba(10, 10, 11, 0), var(--paper)); }
.lock-card { position: absolute; z-index: 1; left: 50%; top: 38%; transform: translate(-50%, -50%); display: grid; gap: 10px; justify-items: center; text-align: center; width: min(86%, 380px); padding: 22px 18px; background: var(--panel); border: 1px solid var(--amber); border-radius: 18px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6); /* taste-skill-ignore: lock card over the blurred preview */ }
.lock-card .ic { font-size: 36px; line-height: 1; }
.lock-card b { font-family: var(--display); font-weight: 900; font-stretch: 112%; font-size: 1.5rem; line-height: 1.1; }
.lock-card .go { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--amber); color: var(--on-amber); font-family: var(--display); font-weight: 800; }
.preview:focus-visible { outline: 3px solid var(--cyan); outline-offset: -3px; }

/* the white block: only the title (Zars, 2026-10-29), dark text for contrast with the dark site */
.light { background: var(--paper); color: var(--ink); display: grid; gap: 12px; justify-items: center; text-align: center; padding: clamp(24px, 4vw, 44px) clamp(16px, 4vw, 48px) clamp(28px, 4.5vw, 52px); }
.light .kicker { color: #0B6B68; }
.light h1 { font-size: clamp(2rem, 5.2vw, 3.8rem); font-weight: 900; font-stretch: 120%; line-height: 0.98; letter-spacing: -0.02em; max-width: 22ch; }
.light h1 .amber { color: #9A5B00; }

/* back on dark: the disclosure, then the price in one card like the site's other cards */
.price-sec { justify-items: center; text-align: center; }
.price-sec .disc { max-width: 52ch; font-size: clamp(1.02rem, 2.2vw, 1.2rem); font-weight: 600; }
.price-card { width: min(100%, 520px); display: grid; gap: 10px; justify-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: clamp(18px, 4vw, 28px); }
.big-cd { display: grid; gap: 8px; justify-items: center; }
.big-cd .lbl { font: 600 12px/1.2 var(--mono); text-transform: uppercase; letter-spacing: 0.08em; color: var(--muted); }
/* compact countdown: 4 small number boxes close together */
.units { display: flex; gap: 6px; justify-content: center; }
.units span { display: inline-flex; align-items: baseline; gap: 2px; padding: 6px 9px; background: var(--panel-2); border: 1px solid var(--line); border-radius: 10px; }
.units b { font: 700 clamp(1.5rem, 6vw, 2.2rem)/1 var(--mono); font-variant-numeric: tabular-nums; color: var(--fg); }
.units i { font: 600 12px/1 var(--mono); font-style: normal; color: var(--muted); }
.price-big { margin: 0; font-family: var(--display); font-weight: 900; font-stretch: 115%; font-size: clamp(2.4rem, 8vw, 3.6rem); line-height: 1; color: var(--amber); }
.price-big s { font-size: 0.5em; color: var(--muted); text-decoration-thickness: 3px; margin-right: 6px; }
.price-card .slots { color: var(--amber); font-weight: 600; margin: 0; }
.price-card .once { margin: 0; font-weight: 600; }

/* enroll: steps + QR | form */
.enroll-grid { display: grid; gap: 18px; align-items: start; }
.enroll-grid .enroll { grid-template-columns: minmax(0, 1fr); }
.qr-box { display: grid; gap: 10px; justify-items: start; }
.qr-box .qr { max-width: 300px; }
.form-col { display: grid; gap: 16px; min-width: 0; }
@media (min-width: 900px) { .enroll-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }

/* contents: module names (2 columns on phone too), bonus chips, one link */
.contents { gap: 14px; }
.contents .modnames { margin: 0; max-width: none; }
.contents .sub { display: grid; gap: 4px; margin-top: 10px; }
.contents .more { margin-top: 4px; }
.contents .more a { display: inline-block; padding: 10px 0; font-weight: 600; }

/* Para kanino: window by window, 2 per row on every screen */
.offer { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.offer .box.promise, .offer .box.warn { grid-column: auto; }

@media (max-width: 620px) {
  .contents .modnames { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 12px; }
  .contents .modnames li { font-size: 14px; }
  .offer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .offer .box { padding: 12px 10px; }
  .offer .box p, .offer .box q { font-size: 13.5px; line-height: 1.45; }
  .offer .box.promise q { font-size: 15px; }
  .lock-card b { font-size: 1.25rem; }
}
