:root {
  color-scheme: dark;
  font-family: "DM Sans", system-ui, sans-serif;
  background: #090405;
  color: #fff8f6;
  --red: #ff3b33;
  --muted: #b9a9a7;
  --line: rgba(255,255,255,.12);
  --panel: rgba(27,15,17,.72);
}
* { box-sizing: border-box; }
html { min-height: 100%; background: #090405; }
body { min-height: 100vh; margin: 0; background: radial-gradient(circle at 50% -10%, #5d1617 0, #1a080a 38%, #090405 72%); }
button, input, textarea { font: inherit; }
a { color: inherit; text-decoration: none; }
.ambient { position: fixed; inset: 0; pointer-events: none; opacity: .55; background: radial-gradient(circle at 75% 75%, rgba(255,55,45,.14), transparent 28%), radial-gradient(circle at 10% 35%, rgba(150,20,28,.16), transparent 26%); }
.topbar { position: relative; z-index: 3; max-width: 1180px; margin: auto; padding: 24px 28px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; gap: 11px; align-items: center; font-weight: 650; letter-spacing: -.02em; }
.brand img { width: 34px; height: 34px; object-fit: contain; border-radius: 9px; }
nav { display: flex; gap: 20px; color: var(--muted); font-size: 14px; }
nav a:hover, footer a:hover { color: white; }
.call-link, .icon-button { display: inline-flex; align-items: center; gap: 7px; }
.call-link svg, .icon-button svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
main { position: relative; z-index: 1; min-height: calc(100vh - 150px); display: grid; place-items: center; padding: 42px 24px 72px; }
.screen { width: min(100%, 920px); animation: enter .42s cubic-bezier(.2,.8,.2,1); }
.screen.narrow { width: min(100%, 680px); text-align: center; }
@keyframes enter { from { opacity: 0; transform: translateY(10px); } }
.eyebrow { color: #ff8b83; font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
h1 { max-width: 780px; margin: 16px auto 14px; font-size: clamp(42px, 7vw, 76px); line-height: .98; letter-spacing: -.055em; }
h2 { margin: 12px 0; font-size: clamp(30px, 4.5vw, 50px); line-height: 1.02; letter-spacing: -.04em; }
p { color: var(--muted); font-size: 17px; line-height: 1.6; }
.lede { max-width: 650px; margin: 0 auto 30px; }
.truth { display: inline-flex; gap: 8px; align-items: center; margin: 0 auto 32px; padding: 9px 13px; border: 1px solid rgba(255,116,105,.25); border-radius: 999px; color: #ffd3d0; background: rgba(109,24,25,.25); font-size: 13px; }
.primary, .secondary { border: 0; border-radius: 13px; padding: 14px 19px; cursor: pointer; font-weight: 700; transition: transform .15s, background .15s, opacity .15s; }
.primary { color: white; background: linear-gradient(135deg, #ff4b42, #c41421); box-shadow: 0 12px 38px rgba(217,24,35,.28); }
.secondary { color: #fff8f6; background: rgba(255,255,255,.07); border: 1px solid var(--line); }
.primary:hover, .secondary:hover { transform: translateY(-1px); }
.primary:focus-visible, .secondary:focus-visible, input:focus-visible, textarea:focus-visible, .choice:focus-visible, .prompt:focus-visible { outline: 3px solid rgba(255,112,102,.55); outline-offset: 3px; }
.question-card, .course-card, .search-shell { background: var(--panel); border: 1px solid var(--line); border-radius: 24px; box-shadow: 0 24px 80px rgba(0,0,0,.35); backdrop-filter: blur(18px); }
.question-card { padding: clamp(25px, 5vw, 48px); text-align: left; }
.question-card .step-count { color: #957f7d; font-size: 13px; }
.question-icon, .prompt-icon { display: grid; place-items: center; color: #ff8279; background: rgba(255,74,65,.1); border: 1px solid rgba(255,109,99,.18); }
.question-icon { width: 44px; height: 44px; margin-bottom: 18px; border-radius: 13px; }
.question-icon svg, .prompt-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.question-icon svg path:first-child:last-child, .prompt-icon svg path:first-child:last-child { fill: none; }
label { display: block; margin: 26px 0 9px; color: #e7d9d7; font-size: 14px; }
input[type="text"], textarea { width: 100%; color: white; background: rgba(0,0,0,.24); border: 1px solid var(--line); border-radius: 13px; padding: 15px 16px; resize: vertical; }
.choices { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 24px; }
.choice { padding: 14px 16px; text-align: left; color: #eaddda; background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.choice:hover, .choice.selected { border-color: rgba(255,85,75,.72); background: rgba(255,70,61,.11); }
.actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 28px; }
.status { min-height: 18px; color: #ffaaa4; font-size: 13px; }
.search-shell { padding: 22px; margin: 28px 0 16px; }
.search-box { display: flex; align-items: center; gap: 10px; }
.search-box input { border: 0; background: transparent; padding: 9px 4px; font-size: 17px; outline: 0; }
.search-icon { display: grid; place-items: center; color: #ff8178; }
.search-icon svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.prompts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.prompt { min-height: 104px; padding: 16px; display: flex; gap: 13px; align-items: flex-start; text-align: left; color: #eadcda; background: rgba(255,255,255,.035); border: 1px solid var(--line); border-radius: 15px; cursor: pointer; }
.prompt-icon { width: 36px; height: 36px; flex: 0 0 36px; border-radius: 10px; }
.prompt-icon svg { width: 18px; height: 18px; }
.prompt b { display: block; margin-bottom: 6px; color: white; }
.results { margin-top: 16px; text-align: left; }
.result { display: flex; justify-content: space-between; gap: 16px; padding: 16px 4px; border-top: 1px solid var(--line); cursor: pointer; }
.result span { color: var(--muted); font-size: 14px; }
.course-card { overflow: hidden; }
.course-top { padding: 25px 27px 18px; }
.progress-row { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }
.progress { height: 4px; margin-top: 13px; border-radius: 99px; background: rgba(255,255,255,.08); overflow: hidden; }
.progress div { height: 100%; background: linear-gradient(90deg, #fa3d36, #ff8278); transition: width .35s ease; }
.video { aspect-ratio: 16 / 9; background: #030303; }
.video iframe { display: block; width: 100%; height: 100%; border: 0; }
.lesson-visual { min-height: 240px; display: grid; place-items: center; align-content: center; gap: 16px; color: #ff8a82; background: radial-gradient(circle, rgba(197,31,38,.2), rgba(3,3,3,.92) 66%); font-weight: 700; }
.lesson-visual svg { width: 48px; height: 48px; fill: none; stroke: currentColor; stroke-width: 1.35; stroke-linecap: round; stroke-linejoin: round; }
.course-copy { padding: 24px 27px 27px; }
.course-copy h2 { font-size: clamp(28px, 4vw, 43px); }
.title-warning { display: inline-grid; place-items: center; width: 38px; height: 38px; margin-right: 10px; vertical-align: -5px; color: #ffd35a; }
.title-warning svg, .notice-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.lesson-notice { margin: 18px 0; padding: 15px 16px; display: flex; align-items: flex-start; gap: 11px; border: 1px solid rgba(255,183,77,.25); border-radius: 13px; color: #ffe7b0; background: rgba(103,65,10,.22); font-size: 14px; line-height: 1.5; }
.lesson-notice.warning { border-color: rgba(255,202,54,.38); background: rgba(116,77,0,.28); }
.notice-icon { width: 22px; height: 22px; flex: 0 0 22px; color: #ffd35a; }
.lesson-checklist { display: grid; gap: 9px; margin: 20px 0; }
.lesson-checklist label { margin: 0; padding: 14px; display: flex; gap: 11px; align-items: flex-start; border: 1px solid var(--line); border-radius: 12px; color: #eee1df; background: rgba(255,255,255,.035); font-size: 14px; line-height: 1.45; }
.lesson-checklist input { margin-top: 3px; accent-color: var(--red); }
.lesson-links { margin-top: 16px; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 18px; }
.lesson-links a { color: var(--muted); font-size: 13px; }
.lesson-links a:hover { color: white; }
.tip { margin-top: 18px; padding: 14px 16px; display: flex; align-items: center; gap: 12px; border-left: 2px solid #ff5149; border-radius: 0 10px 10px 0; background: rgba(255,69,61,.07); color: #e7d9d7; font-size: 14px; line-height: 1.5; }
.tip img { width: 42px; height: 42px; flex: 0 0 42px; border-radius: 50%; object-fit: cover; border: 1px solid rgba(255,255,255,.2); }
.tip b, .tip span { display: block; }
.tip b { margin-bottom: 2px; color: white; }
.course-actions { display: flex; justify-content: space-between; gap: 12px; margin-top: 22px; }
.check { display: flex; gap: 12px; align-items: flex-start; margin: 20px 0; padding: 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.035); text-align: left; }
.check input { margin-top: 4px; accent-color: var(--red); }
.completion-links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin-top: 28px; }
.completion-links a { padding: 17px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.04); }
.completion-links a:hover { border-color: rgba(255,95,85,.6); }
footer { position: relative; z-index: 1; max-width: 1180px; margin: auto; padding: 24px 28px 34px; display: flex; justify-content: space-between; gap: 16px; color: #806e6d; font-size: 12px; }
footer a { color: #aa9997; }
@media (max-width: 680px) {
  .topbar { padding: 18px; }
  nav a:not(:first-child) { display: none; }
  main { padding: 28px 16px 56px; }
  .choices, .prompts, .completion-links { grid-template-columns: 1fr; }
  .prompts { gap: 8px; }
  .prompt { min-height: auto; }
  footer { padding: 20px 18px 28px; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; transition-duration: .01ms !important; } }
