@font-face{font-family:'Source Sans 3';src:url('source_sans_regular.ttf') format('truetype');font-weight:400;font-display:swap}@font-face{font-family:'Source Sans 3';src:url('source_sans_semibold.ttf') format('truetype');font-weight:600;font-display:swap}@font-face{font-family:'Source Sans 3';src:url('source_sans_bold.ttf') format('truetype');font-weight:700;font-display:swap}@font-face{font-family:'Source Sans 3';src:url('source_sans_black.ttf') format('truetype');font-weight:900;font-display:swap}
/* eFit watch manual (watch/index.html, watch/start.html). Tokens from dashboard/modules-online/coursera-DESIGN.md. */
:root {
  --primary: #004BB5; --primary-hover: #00368A; --cobalt: #2864F0; --cyan: #19CFFC; --teal: #0E7490;
  --hero: linear-gradient(135deg, #0B2E93 0%, #163FC0 46%, #2864F0 100%);
  --ink: #1F1F1F; --muted: #444444; --subdued: #545454;
  --canvas: #FFFFFF; --canvas-2: #F5F7F9; --border: #D6DBDF; --tint: #EAF1FF;
  --pass: #0A5E33; --pass-bg: #E8F5EE; --warn: #7A4B00; --warn-bg: #FFF4DE; --fail: #A4231F;
  --radius: 16px; --shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 8px 24px rgba(16, 24, 40, .08);
  color-scheme: light;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--canvas); color: var(--ink); font: 400 18px/1.6 'Source Sans 3', 'Segoe UI', system-ui, -apple-system, Arial, sans-serif; }
img, svg, video { max-width: 100%; }
a { color: var(--primary); text-underline-offset: 2px; }
a:hover { color: var(--primary-hover); }
:focus-visible { outline: 3px solid var(--cobalt); outline-offset: 2px; border-radius: 6px; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0; }
b, strong { font-weight: 700; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--primary); color: #fff; padding: 10px 16px; border-radius: 10px; z-index: 50; }
.skip:focus { top: 12px; color: #fff; }

/* top bar */
.topbar { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px max(16px, calc((100vw - 1240px) / 2)); background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--border); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-size: 19px; }
.brand svg { width: 34px; height: 34px; color: #fff; background: var(--hero); border-radius: 10px; padding: 4px; }
.brand b { font-weight: 700; }
.topbar nav { display: flex; align-items: center; gap: 4px; }
.topbar nav a { padding: 8px 12px; border-radius: 10px; color: var(--muted); text-decoration: none; font-weight: 600; font-size: 16px; }
.topbar nav a:hover { background: var(--canvas-2); color: var(--ink); }
.topbar nav a[aria-current="page"] { color: var(--primary); background: var(--tint); }
.btn-pdf { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--border); }
.btn-pdf svg { width: 18px; height: 18px; fill: currentColor; }
@media (max-width: 640px) { .brand span { display: none; } .topbar nav a { padding: 8px 9px; font-size: 15px; } }

/* hero */
.hero { background: var(--hero); color: #fff; }
.hero-in { max-width: 1240px; margin: 0 auto; padding: 56px 16px 72px; display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; align-items: center; }
.eyebrow { margin: 0 0 10px; font-weight: 700; letter-spacing: .02em; color: #DDE8FF; }
.hero h1 { font-size: clamp(36px, 5.4vw, 60px); font-weight: 900; letter-spacing: -.01em; }
.hero h1 span { display: block; font-weight: 600; color: #DDE8FF; font-size: .62em; margin-top: 6px; }
.hero p { font-size: 20px; max-width: 34em; color: #F2F6FF; }
.hero-art { display: flex; justify-content: center; }
.hero-art img { width: min(330px, 80%); height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .35)); background: #fff; border-radius: 28px; padding: 14px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 20px; border-radius: 12px; font-weight: 700; text-decoration: none; font-size: 17px; min-height: 48px; }
.btn svg { width: 20px; height: 20px; fill: currentColor; }
.btn.primary { background: #fff; color: var(--primary); }
.hero .btn.primary:hover { background: #EAF1FF; color: var(--primary-hover); }
.btn.ghost { color: #fff; border: 2px solid rgba(255, 255, 255, .7); }
.btn.ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn.ghost.dark { color: var(--primary); border-color: var(--primary); }
.btn.ghost.dark:hover { background: var(--tint); color: var(--primary-hover); }
@media (max-width: 820px) { .hero-in { grid-template-columns: 1fr; padding: 36px 16px 56px; } .hero-art { display: none; } .hero p { font-size: 18px; } }

/* quick cards */
.quick { max-width: 1240px; margin: -36px auto 0; padding: 0 16px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; position: relative; }
.qcard { display: flex; flex-direction: column; gap: 4px; padding: 18px 20px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  box-shadow: var(--shadow); text-decoration: none; color: var(--muted); }
.qcard strong { color: var(--primary); font-size: 19px; }
.qcard:hover { border-color: var(--primary); }
@media (max-width: 820px) { .quick { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .quick { grid-template-columns: 1fr; } }

/* layout */
.layout { max-width: 1240px; margin: 0 auto; padding: 36px 16px 64px; display: grid; grid-template-columns: 270px minmax(0, 1fr); gap: 48px; }
.toc-in { position: sticky; top: 84px; max-height: calc(100vh - 100px); overflow: auto; padding-right: 6px; }
.toc ol { list-style: none; margin: 8px 0 0; padding: 0; }
.toc li a { display: block; padding: 7px 12px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 16px; line-height: 1.3; }
.toc li a span { display: block; font-size: 13px; font-weight: 600; color: var(--subdued); }
.toc li a:hover { background: var(--canvas-2); }
.toc li a.active { background: var(--tint); color: var(--primary); box-shadow: inset 3px 0 0 var(--primary); }
.toc li.hide { display: none; }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--border); border-radius: 12px; padding: 0 12px; background: #fff; }
.search svg { width: 20px; height: 20px; fill: var(--subdued); flex: none; }
.search input { border: 0; outline: 0; font: inherit; font-size: 16px; padding: 11px 0; width: 100%; background: transparent; color: var(--ink); }
.search:focus-within { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 75, 181, .18); }
.search-status { font-size: 14px; color: var(--subdued); margin: 6px 4px 0; min-height: 1em; }
.toc-toggle { display: none; }
@media (max-width: 980px) {
  .layout { grid-template-columns: 1fr; gap: 16px; padding-top: 24px; }
  .toc-in { position: static; max-height: none; }
  .toc-toggle { display: flex; width: 100%; justify-content: space-between; margin-top: 10px; padding: 12px 14px; border: 1px solid var(--border);
    border-radius: 12px; background: var(--canvas-2); font: inherit; font-weight: 700; color: var(--ink); cursor: pointer; }
  .toc-toggle::after { content: "+"; font-size: 22px; line-height: 1; }
  .toc-toggle[aria-expanded="true"]::after { content: "–"; }
  #toc-list { display: none; }
  #toc-list.open { display: block; }
}

/* chapters */
.content { min-width: 0; }
.chapter { padding: 8px 0 40px; border-bottom: 1px solid var(--border); margin-bottom: 40px; }
.chapter.hide { display: none; }
.kicker { margin: 0 0 6px; color: var(--primary); font-weight: 700; font-size: 15px; letter-spacing: .03em; text-transform: uppercase; }
.chapter h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 800; }
.lead { font-size: 20px; color: var(--muted); max-width: 44em; margin: 12px 0 22px; }
.chapter h3 { font-size: 23px; margin: 30px 0 10px; }
.chapter p { max-width: 46em; }
.bullets { padding-left: 1.2em; max-width: 46em; }
.bullets li { margin: 6px 0; }
.bullets li::marker { color: var(--primary); }

/* steps */
.steps { list-style: none; counter-reset: s; padding: 0; margin: 18px 0; display: grid; gap: 16px; }
.steps > li { counter-increment: s; display: grid; grid-template-columns: 1fr; gap: 18px; padding: 20px 22px 20px 72px; position: relative;
  background: var(--canvas-2); border-radius: var(--radius); border: 1px solid #E6EAEE; }
.steps > li::before { content: counter(s); position: absolute; left: 20px; top: 18px; width: 36px; height: 36px; border-radius: 50%;
  background: var(--hero); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 18px; }
.steps > li.has-media { grid-template-columns: minmax(0, 1fr) 210px; align-items: start; }
.steps h4 { font-size: 20px; margin: 4px 0 6px; }
.steps p { margin: 0; color: var(--muted); }
@media (max-width: 640px) { .steps > li { padding: 18px 16px 18px 62px; } .steps > li::before { left: 14px; }
  .steps > li.has-media { grid-template-columns: 1fr; } .steps > li.has-media .phone { max-width: 230px; } }

/* phone screenshots */
.phone { border-radius: 26px; padding: 7px; background: #111418; box-shadow: var(--shadow); overflow: hidden; line-height: 0; }
.phone img { width: 100%; height: auto; border-radius: 20px; display: block; background: #fff; }
.phone.small { border-radius: 22px; padding: 6px; }
.phone.small img { border-radius: 17px; }
.fig-one { margin: 22px 0; max-width: 300px; }
.fig-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 240px)); gap: 22px; margin: 22px 0; }
figure { margin: 0; }
figcaption { font-size: 15px; color: var(--subdued); margin-top: 10px; line-height: 1.4; }
.svg-row { display: grid; grid-template-columns: 0.8fr 1fr; gap: 24px; margin: 18px 0 8px; align-items: end; }
.svg-row img.svg, .o-media img.svg { width: 100%; height: auto; }
@media (max-width: 720px) { .svg-row { grid-template-columns: 1fr; } }

/* videos */
.video { margin: 22px 0; max-width: 340px; }
.video-frame { border-radius: 26px; padding: 7px; background: #111418; box-shadow: var(--shadow); line-height: 0; }
.video video { width: 100%; height: auto; border-radius: 20px; background: #000; aspect-ratio: 540 / 1130; }
.video figcaption strong { display: inline-flex; align-items: center; gap: 4px; color: var(--ink); }
.video figcaption svg { width: 18px; height: 18px; fill: var(--primary); }

/* callouts */
.callout { display: flex; gap: 14px; padding: 16px 18px; border-radius: 14px; margin: 20px 0; max-width: 48em; border: 1px solid; }
.callout svg { width: 24px; height: 24px; flex: none; margin-top: 2px; }
.callout p { margin: 2px 0 0; }
.callout.tip { background: var(--tint); border-color: #C7D8FF; } .callout.tip svg { fill: var(--primary); }
.callout.note { background: var(--canvas-2); border-color: var(--border); } .callout.note svg { fill: var(--teal); }
.callout.warn { background: var(--warn-bg); border-color: #F1D49A; } .callout.warn svg { fill: #9A5B00; }
.callout.warn strong { color: var(--warn); }

/* tables */
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--border); border-radius: 14px; }
table { border-collapse: collapse; width: 100%; font-size: 16px; }
th, td { text-align: left; vertical-align: top; padding: 12px 16px; border-bottom: 1px solid #E6EAEE; }
thead th { background: var(--canvas-2); font-size: 14px; text-transform: uppercase; letter-spacing: .03em; color: var(--subdued); }
tbody th { font-weight: 700; color: var(--ink); width: 34%; }
tr:last-child th, tr:last-child td { border-bottom: 0; }

/* FAQ */
.faq details { border: 1px solid var(--border); border-radius: 14px; margin: 10px 0; background: #fff; }
.faq summary { cursor: pointer; padding: 15px 48px 15px 18px; font-weight: 700; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 18px; top: 10px; font-size: 26px; color: var(--primary); }
.faq details[open] summary::after { content: "–"; }
.faq details[open] { border-color: var(--primary); box-shadow: var(--shadow); }
.faq details p { margin: 0; padding: 0 18px 16px; color: var(--muted); }

/* sports, faces */
.chips { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { padding: 6px 12px; border-radius: 999px; background: var(--canvas-2); border: 1px solid var(--border); font-size: 15px; font-weight: 600; }
.faces { display: flex; flex-wrap: wrap; gap: 22px; margin: 18px 0; }
.faces figure { text-align: center; }
.faces img { width: 108px; height: 216px; border-radius: 18px; image-rendering: pixelated; box-shadow: var(--shadow); border: 6px solid #111418; box-sizing: content-box; }
.faces figcaption { font-weight: 700; color: var(--ink); font-size: 16px; }
mark { background: #FFE58A; color: inherit; border-radius: 3px; }
.foot { color: var(--subdued); font-size: 15px; padding-top: 8px; }

/* orientation */
.o-hero { background: var(--hero); color: #fff; }
.o-hero-in { max-width: 1240px; margin: 0 auto; padding: 44px 16px 52px; display: grid; grid-template-columns: 1fr 1.25fr; gap: 36px; align-items: center; }
.o-hero h1 { font-size: clamp(32px, 4.6vw, 52px); font-weight: 900; }
.o-hero p { font-size: 19px; color: #F2F6FF; }
.o-video video { width: 100%; border-radius: 18px; box-shadow: 0 24px 48px rgba(0, 0, 0, .35); background: #000; aspect-ratio: 16 / 9; }
.o-video figcaption { color: #DDE8FF; }
.o-video figcaption a { color: #fff; }
@media (max-width: 900px) { .o-hero-in { grid-template-columns: 1fr; } }
.o-progress { position: sticky; top: 61px; z-index: 10; max-width: 1240px; margin: 0 auto; padding: 14px 16px; display: flex; align-items: center; gap: 16px;
  background: #fff; border-bottom: 1px solid var(--border); }
.o-progress .bar { flex: 1; height: 12px; background: var(--canvas-2); border-radius: 99px; overflow: hidden; border: 1px solid var(--border); }
.o-progress .bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, #19CFFC, #2864F0); transition: width .3s; }
.o-progress p { margin: 0; font-weight: 700; white-space: nowrap; }
.link { background: none; border: 0; color: var(--primary); font: inherit; font-weight: 600; text-decoration: underline; cursor: pointer; padding: 6px; }
.o-list { max-width: 1040px; margin: 0 auto; padding: 28px 16px; display: grid; gap: 20px; }
.o-card { display: grid; grid-template-columns: 1fr 240px; gap: 28px; align-items: center; padding: 28px; border: 1px solid var(--border); border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.o-card.o-plain { grid-template-columns: 1fr; background: var(--canvas-2); box-shadow: none; }
.o-card.done { border-color: var(--pass); background: linear-gradient(0deg, #fff, #fff) padding-box; }
.o-card.done .o-num { background: var(--pass); }
.o-card.done .o-num::after { content: "✓"; }
.o-card.done .o-num { font-size: 0; }
.o-card.done .o-num::after { font-size: 20px; }
.o-num { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--hero); color: #fff; font-weight: 800; font-size: 19px; margin-bottom: 10px; }
.o-card h2 { font-size: 26px; font-weight: 800; }
.o-card p { color: var(--muted); font-size: 19px; }
.o-media { width: 100%; max-width: 240px; justify-self: center; }
.check { display: inline-flex; align-items: center; gap: 12px; padding: 12px 18px 12px 14px; border-radius: 12px; border: 2px solid var(--primary); cursor: pointer; font-weight: 700; color: var(--primary); min-height: 48px; }
.check input { width: 24px; height: 24px; accent-color: var(--pass); margin: 0; }
.check:has(input:checked) { border-color: var(--pass); color: var(--pass); background: var(--pass-bg); }
@media (max-width: 720px) { .o-card { grid-template-columns: 1fr; padding: 22px 18px; } .o-media { max-width: 220px; } }
.o-more, .transcript { max-width: 1040px; margin: 0 auto; padding: 12px 16px 40px; }
.o-more h2, .transcript h2 { font-size: 28px; margin-bottom: 10px; }
.o-more .btn.primary { background: var(--primary); color: #fff; }
.o-more .btn.primary:hover { background: var(--primary-hover); color: #fff; }
.o-more ul { columns: 2; padding-left: 1.2em; } @media (max-width: 600px) { .o-more ul { columns: 1; } }
.transcript p { color: var(--muted); max-width: 46em; }
