/* SynLearns 3D pages: welcome, credits, login. One look with the main site: every value comes from brand/tokens.css (the site's own), nothing is invented here. Arial for text, system monospace for labels, no web fonts, no external requests, no inline styles. */
:root { color-scheme: dark; --bg: var(--brand-bg); --surface: var(--brand-surface); --line: var(--brand-line); --ink: var(--brand-ink); --muted: var(--brand-muted); --cyan: var(--brand-cyan); --gold: var(--brand-gold); --ease: var(--brand-ease); --py: 0px;
  /* side padding that keeps text in the site's column but lets every band run edge to edge */
  --gx: max(6%, calc((100% - 1266px) / 2));
  --hx: max(6%, calc((100% - 1440px) / 2 + 86.4px)); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--brand-text); font: var(--brand-body) var(--brand-font); padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left); overflow-x: clip; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; }
a { color: var(--cyan); text-underline-offset: 3px; }
a:focus-visible, .nav-check:focus-visible + .menu-toggle { outline: var(--brand-focus-width) solid var(--cyan); outline-offset: 3px; }
.skip { position: absolute; left: 8px; top: -60px; z-index: 10; padding: 12px 16px; background: var(--gold); color: var(--brand-on-gold); font-weight: 800; }
.skip:focus { top: 8px; }

/* header: the site's, same bar, wordmark and nav (full width, content in the same column) */
.top { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: var(--brand-header-pad-y) var(--hx); background: var(--brand-header-bg); border-bottom: 1px solid var(--brand-header-line); }
.top a { text-decoration: none; }
.top :is(a, label) { min-height: var(--brand-tap); display: inline-flex; align-items: center; }
/* WEB-W1 R1 (BS 1.3 L1, 1.7): one-line SYNLEARNS lockup; gap 1X, cap height 1.25X, hexagon 48 / 40 visible (the crop file is tight, so box = visible; see components/brand/brand.css 7b) */
.wordmark { gap: var(--brand-logo-x); font-size: calc(1.25 * var(--brand-logo-x) / var(--brand-cap-ratio)); font-weight: var(--brand-w-semibold); letter-spacing: var(--brand-tr-wordmark); line-height: 1; color: var(--brand-text); align-items: center; }
.wordmark { flex: none; }
.wordmark img { width: auto; height: var(--brand-logo-h); object-fit: contain; flex: none; }
.top nav { display: flex; gap: var(--brand-nav-gap); align-items: center; font-size: var(--brand-nav-size); font-weight: var(--brand-nav-weight); letter-spacing: var(--brand-nav-tracking); color: var(--brand-text); }
.top nav a { color: var(--brand-text); }
.top nav a:hover { color: var(--cyan); }
.top nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.top nav a.nav-login { color: var(--brand-ink); font-size: var(--brand-login-size); font-weight: var(--brand-login-weight); border-left: 1px solid var(--brand-login-line); padding-left: 28px; }
.nav-check { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip-path: inset(50%); opacity: 0; }
.top .menu-toggle, .nav-check { display: none; }
@media (max-width: 1000px) { .top nav { gap: 0 22px; flex-wrap: wrap; justify-content: flex-end; } .top nav a.nav-login { border-left: 0; padding-left: 0; } }
@media (max-width: 760px) {
  .top { padding-top: var(--brand-header-pad-y-phone); padding-bottom: var(--brand-header-pad-y-phone); flex-wrap: wrap; }
  .wordmark { gap: var(--brand-logo-x-phone); font-size: calc(1.25 * var(--brand-logo-x-phone) / var(--brand-cap-ratio)); }
  .wordmark img { height: var(--brand-logo-h-phone); }
  .top .menu-toggle { display: inline-flex; justify-content: center; cursor: pointer; background: transparent; border: 1px solid var(--brand-menu-line); border-radius: 0; color: var(--brand-text); padding: 7px 14px; font-size: var(--brand-nav-size); font-weight: var(--brand-nav-weight); }
  .nav-check { display: block; }
  .top nav { display: none; flex-basis: 100%; padding-top: 20px; gap: 6px; flex-direction: column; align-items: flex-start; justify-content: flex-start; }
  .nav-check:checked ~ nav { display: flex; }
  .top nav a.nav-login { font-size: var(--brand-nav-size); }
}

/* buttons: the site's gold notched button */
.button-primary { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: var(--brand-tap); min-width: var(--brand-tap); padding: var(--brand-button-pad); background: var(--gold); color: var(--brand-on-gold); font: var(--brand-button-weight) var(--brand-button-size)/1.25 var(--brand-font); letter-spacing: var(--brand-button-tracking); text-decoration: none; border: 0; border-radius: 0; clip-path: var(--brand-button-notch); box-shadow: var(--brand-button-glow); transition: transform .2s var(--ease), background .2s, box-shadow .2s; position: relative; }
.button-primary:hover { background: var(--brand-gold-hover); transform: translateY(-3px); }
.button-primary:focus-visible { clip-path: none; outline: var(--brand-focus-width) solid var(--cyan); outline-offset: var(--brand-focus-offset); }
.button-outline, .button-ghost { display: inline-flex; align-items: center; justify-content: center; text-align: center; min-height: var(--brand-tap); min-width: var(--brand-tap); padding: 0 24px; border: 1px solid var(--brand-outline-line); border-radius: 0; color: var(--brand-lead-ink); background: transparent; font: 700 var(--brand-label-size)/1.3 var(--brand-font); letter-spacing: var(--brand-button-tracking); text-decoration: none; transition: background .2s, color .2s; }
.button-outline:hover, .button-ghost:hover { background: var(--brand-surface); color: var(--brand-ink); }
.link-secondary { display: inline-flex; align-items: center; min-height: var(--brand-tap); padding: 0 4px; font-size: 16px; line-height: 1.35; color: var(--cyan); }

/* type: the site's eyebrow, h1 and h2 */
.eyebrow { margin: 0 0 20px; font: var(--brand-eyebrow-weight) var(--brand-label-size)/1.5 var(--brand-mono); letter-spacing: var(--brand-eyebrow-tracking); text-transform: uppercase; color: var(--brand-eyebrow); }
h1 { margin: 0 0 24px; font-size: var(--brand-h1-size); line-height: 1; font-weight: var(--brand-h1-weight); letter-spacing: var(--brand-h1-tracking); text-shadow: var(--brand-h1-shadow); color: var(--brand-ink); overflow-wrap: anywhere; }
h1 em { display: inline-block; font-style: normal; position: relative; background: var(--brand-gold-text); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
h1 em::after { content: ""; display: block; height: 2px; width: 52%; margin-top: 14px; background: var(--brand-h1-rule); }
h2 { margin: 0 0 24px; font-size: var(--brand-h2-size); line-height: var(--brand-h2-leading); font-weight: var(--brand-h2-weight); letter-spacing: var(--brand-h2-tracking); color: var(--brand-ink); overflow-wrap: anywhere; }
h3 { margin: 0 0 14px; font-size: var(--brand-h3-size); line-height: 1.4; font-weight: var(--brand-h3-weight); letter-spacing: var(--brand-h3-tracking); color: var(--brand-ink); }
.lead { font-size: var(--brand-lead-size); line-height: 1.5; max-width: 52ch; color: var(--brand-lead-ink); margin: 0 0 8px; }
.fine { font-size: var(--brand-floor-size); color: var(--muted); margin: 0; }
.muted { color: var(--muted); font-size: 14px; }
.cta-row { margin: 28px 0 14px; }
.cta-note { max-width: 52ch; font-size: 14px; }
@media (max-width: 760px) { h2 { font-size: var(--brand-h2-size-phone); line-height: var(--brand-h2-leading-phone); letter-spacing: var(--brand-h2-tracking-phone); } }
@media (max-width: 430px) { h1 { font-size: var(--brand-h1-size-phone); } }

/* bands: full width, the same padding rhythm as the site's sections */
.act { position: relative; padding: var(--brand-section-y) var(--gx); }
.act-close { margin: 20px 0 0; color: var(--muted); max-width: 60ch; }
.hero { isolation: isolate; display: grid; gap: 32px; align-items: center; min-height: var(--brand-hero-min); padding: var(--brand-hero-pad-top) var(--hx) var(--brand-hero-pad-bottom); overflow: clip; }
.hero-copy { position: relative; z-index: 1; }
.hero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero-bg::before { content: ""; position: absolute; inset: 0; opacity: var(--brand-grid-opacity); background-image: linear-gradient(var(--brand-grid-line) 1px, transparent 1px), linear-gradient(90deg, var(--brand-grid-line) 1px, transparent 1px); background-size: var(--brand-grid) var(--brand-grid); -webkit-mask-image: var(--brand-grid-mask); mask-image: var(--brand-grid-mask); }
.hero-bg .glow { position: absolute; inset: 0; background: var(--brand-glow); }
/* the pictures are cut-outs with a real transparent edge: nothing to frame, mask or shade, so the object sits straight on the page */
.hero-media, .heart-media { position: relative; z-index: 1; margin: 0; justify-self: center; width: min(100%, 440px); }
.still, .loop { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: contain; background: none; }
.hero-media .loop, .heart-media .loop { position: absolute; inset: 0; height: 100%; }
.hero-media .loop[hidden], .heart-media .loop[hidden] { display: none; }
@media (min-width: 761px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; }
  .hero-media { width: min(100%, 520px); }
}
@media (min-width: 900px) {
  .hero { gap: 48px; }
  .heart { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); align-items: center; gap: 56px; }
}
@media (max-width: 899px) { .heart { display: grid; gap: 24px; } }
@media (max-width: 760px) {
  .hero { min-height: 0; padding-top: var(--brand-hero-pad-top-phone); padding-bottom: var(--brand-hero-pad-bottom-phone); padding-left: var(--brand-section-gutter-phone); padding-right: var(--brand-section-gutter-phone); }
  .act { padding-top: var(--brand-section-y-phone); padding-bottom: var(--brand-section-y-phone); }
}

/* scrubbed acts: the pinned scrub layout (.is-scrub) is in the markup, so the page is as tall at first paint as it will ever be (no shift when the footage list arrives).
   Plain stills, one after another, for reduced motion and for a browser with scripts off (the media query below); welcome.js only sets the active step and draws frames. */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.step figure { margin: 0; }
.step figcaption { margin-top: 10px; font-weight: 700; max-width: 40ch; }
.seq { display: none; }

.is-scrub { height: 440vh; padding: 0; }
.is-scrub .scrub-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: grid; grid-template-rows: auto minmax(0, 1fr) auto; gap: 8px; padding: 16px var(--gx); overflow: hidden; }
.is-scrub h2 { margin: 0; font-size: clamp(26px, 4vw, 48px); }
.is-scrub .scrub-stage { display: grid; min-height: 0; grid-template-rows: minmax(0, 1fr) auto; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.is-scrub .steps, .is-scrub .step, .is-scrub .step figure { display: contents; }
.is-scrub .step img, .is-scrub .seq { grid-area: 1 / 1; justify-self: center; align-self: stretch; height: 100%; width: auto; max-width: 100%; aspect-ratio: 4 / 5; }
.is-scrub .seq { display: block; }
.is-scrub .seq[hidden] { display: none; }
.is-scrub .step img { opacity: 0; transition: opacity .35s var(--ease); object-fit: contain; }
.is-scrub .step[data-active] img { opacity: 1; }
.is-scrub.has-frames .step img { opacity: 0 !important; }
.is-scrub .step figcaption { grid-area: 2 / 1; margin: 0; align-self: end; text-align: center; justify-self: center; font-size: clamp(17px, 2.4vw, 22px); opacity: 0; transition: opacity .35s var(--ease); }
.is-scrub .step[data-active] figcaption { opacity: 1; }
.is-scrub .act-close { margin: 0; font-size: 14px; }
.is-scrub .eyebrow { margin-bottom: 8px; }
@media (min-width: 900px) {
  .is-scrub .scrub-stage { grid-template-rows: minmax(0, 1fr); grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; }
  .is-scrub .step img, .is-scrub .seq { grid-area: 1 / 2; justify-self: start; }
  .is-scrub .step figcaption { grid-area: 1 / 1; align-self: center; text-align: left; justify-self: end; max-width: 22ch; font-size: clamp(22px, 2.6vw, 34px); line-height: 1.15; font-weight: 800; letter-spacing: -.5px; }
}

/* heart */
.heart-copy .lead { margin-bottom: 8px; }

/* what you can do: cards in the site's card gradient and hairline */
.buy { max-width: none; }
.buy > * { max-width: 760px; }
.gets { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 10px; }
.gets li { position: relative; padding: 14px 16px 14px 46px; background: var(--brand-card-dist); border: 1px solid var(--line); border-radius: 0; }
.gets li::before { content: ""; position: absolute; left: 16px; top: 19px; width: 14px; height: 14px; background: var(--gold); clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%); }
.faq { margin: 40px 0 0; }
.faq dt { margin-top: 0; padding-top: 18px; border-top: 1px solid var(--line); font-weight: 700; }
.faq dd { margin: 4px 0 18px; color: var(--muted); }

/* final */
.final { text-align: center; }
.final .cta-row { display: flex; justify-content: center; }
.final .cta-note { margin: 0 auto; }
.decline { margin: 28px auto 0; max-width: 46ch; }
.decline-link { text-align: center; justify-content: center; padding: 10px 4px; }

/* credits band and the credits page */
.credits { padding: 40px var(--gx); }
.credits > * { max-width: 760px; }
.credits h2 { font-size: clamp(22px, 3vw, 30px); letter-spacing: -.5px; }
.credit-list { padding-left: 20px; }
.credit-list li { margin: 8px 0; }
.credit-list a { display: inline-block; padding: 10px 2px; }
main.credits { padding-top: var(--brand-section-y-phone); padding-bottom: var(--brand-section-y-phone); }
@media (min-width: 761px) { main.credits { padding-top: 80px; padding-bottom: 80px; } }

/* footer: the site's */
.premium-footer { margin-top: auto; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 15px; padding: 40px var(--hx) 24px; background: var(--brand-bg); border-top: 1px solid var(--brand-footer-line); }
.premium-footer strong { display: block; font-family: var(--brand-font); font-size: var(--brand-footer-title); line-height: 1.3; font-weight: 800; font-style: normal; letter-spacing: var(--brand-footer-title-tracking); color: var(--brand-text); }
.premium-footer p { margin: 0; color: var(--brand-footer-text); font-size: var(--brand-floor-size); }
.premium-footer a { color: var(--brand-soft); font-size: var(--brand-floor-size); text-decoration: none; min-height: var(--brand-tap); display: inline-flex; align-items: center; }
.premium-footer a:hover { color: var(--cyan); }
.premium-footer > div:nth-child(2) { display: flex; flex-wrap: wrap; gap: 4px 22px; align-items: center; font-family: var(--brand-mono); font-size: var(--brand-floor-size); }
.premium-footer .fineprint { width: 100%; margin-top: 10px; }
.premium-footer > div:nth-child(2) a { font-family: var(--brand-mono); font-size: var(--brand-t-label); text-transform: uppercase; letter-spacing: var(--brand-tr-label); color: var(--brand-muted); }
.premium-footer > div:nth-child(2) a:hover { color: var(--cyan); }
.premium-footer .wordmark.footer-lockup { margin: 0 0 var(--brand-logo-x); font-size: calc(1.25 * var(--brand-logo-x) / var(--brand-cap-ratio)); color: var(--brand-text); letter-spacing: var(--brand-tr-wordmark); }
.premium-footer .fineprint.legal { margin-top: 4px; }
@media (max-width: 760px) { .premium-footer .wordmark.footer-lockup { margin-bottom: var(--brand-logo-x-phone); font-size: calc(1.25 * var(--brand-logo-x-phone) / var(--brand-cap-ratio)); } }
@media (max-width: 760px) { .premium-footer { padding-top: 30px; padding-bottom: 20px; padding-left: var(--brand-section-gutter-phone); padding-right: var(--brand-section-gutter-phone); } .premium-footer strong { font-size: var(--brand-footer-title-phone); } .premium-footer > div:nth-child(2) { width: 100%; gap: 4px 20px; } }

/* login page (no form, no script) */
.login { padding: 80px var(--gx); }
.login > * { max-width: 560px; }
.login h1 em { font-style: normal; }
.sorry { padding: 14px; border: 1px solid var(--gold); border-radius: 0; background: var(--surface); }
.login .muted a, .sorry a { display: inline-flex; align-items: center; min-height: 44px; }
@media (max-width: 760px) { .login { padding-top: 48px; padding-bottom: 48px; } }

@media (forced-colors: active) { h1, h1 em { color: CanvasText; background: none; } .hero-bg { display: none; } .button-primary { border: 1px solid ButtonText; } .top, .premium-footer { border-color: CanvasText; } .menu-toggle { border-color: ButtonText; } }
@media (prefers-reduced-motion: reduce), (scripting: none) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
  .is-scrub { height: auto; padding: var(--brand-section-y-phone) var(--gx); }
  .is-scrub .scrub-pin { position: static; height: auto; display: block; overflow: visible; padding: 0; }
  .is-scrub .steps { display: grid; }
  .is-scrub .step { display: block; }
  .is-scrub .step figure { display: block; }
  .is-scrub .step img { opacity: 1 !important; height: auto; width: 100%; grid-area: auto; }
  .is-scrub .step figcaption { opacity: 1 !important; text-align: left; max-width: 40ch; font-size: 16px; font-weight: 700; margin-top: 10px; letter-spacing: 0; }
  .is-scrub .seq, .loop { display: none !important; }
  .button-primary:hover { transform: none; }
}

/* the live heart in the hero figure: same slot as the still picture, no frame; on a phone it sits above the copy so it is on the first screen */
.hero-media .hero-live { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; visibility: hidden; color-scheme: dark; }
.hero-media.is-live .hero-live { visibility: visible; }
.hero-media.is-live .still, .hero-media.is-live .loop { visibility: hidden; }
@media (max-width: 760px) {
  html[data-hero="on"] .hero-media { order: -1; width: min(100%, 240px); }
}
@media (max-width: 760px) and (max-height: 700px) {
  html[data-hero="on"] .hero-media { width: min(100%, 190px); }
}

/* the Pause / Play button under the live heart: in a strip at the foot of the figure (the heart's frame is shorter by the strip, so the button never sits on it) */
html[data-hero] .hero-media .hero-live { height: calc(100% - var(--brand-tap) - 8px); }
.hero-ctl { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); z-index: 2; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: var(--brand-tap); min-width: var(--brand-tap); max-width: 100%; padding: 0 16px; white-space: nowrap; border: 1px solid var(--brand-outline-line); border-radius: 0; background: transparent; color: var(--brand-lead-ink); font: 700 var(--brand-label-size)/1.3 var(--brand-font); letter-spacing: var(--brand-button-tracking); cursor: pointer; transition: background .2s, color .2s; }
.hero-ctl[hidden] { display: none; }
.hero-ctl:hover { background: var(--brand-surface); color: var(--brand-ink); }
.hero-ctl:focus-visible { outline: var(--brand-focus-width) solid var(--cyan); outline-offset: var(--brand-focus-offset); }
.hero-ctl::before { content: ""; flex: none; width: 12px; height: 14px; background: currentColor; clip-path: polygon(0 0, 100% 50%, 0 100%); }
.hero-ctl[data-state="playing"]::before { clip-path: none; background: linear-gradient(90deg, currentColor 0 36%, transparent 36% 64%, currentColor 64% 100%); }
@media (forced-colors: active) { .hero-ctl { border-color: ButtonText; color: ButtonText; } }
