/* Converzent Academy styles. Colours and fonts match converzent.com. */
:root {
  --red: #c41e3a; --red-dark: #9d1530; --pink: #fdecef; --mango: #ff5c74;
  --ink: #111113; --ink-2: #2a2a2f; --body: #4a4a51; --muted: #6f6f77;
  --line: #e7e7ea; --paper: #f8f6f6; --white: #fff;
  --teal: #12b5a6; --teal-tint: #e3f7f4; --teal-dark: #0b6b62;
  --yellow: #ffc145; --yellow-tint: #fff3d6;
  --display: "Sora", system-ui, sans-serif;
  --text: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font-family: var(--text); font-size: 17px; line-height: 1.6; color: var(--body); background: var(--paper); }
h1, h2, h3 { font-family: var(--display); color: var(--ink); line-height: 1.15; margin: 0 0 12px; letter-spacing: -0.02em; }
h1 { font-size: clamp(28px, 4.5vw, 44px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.5vw, 34px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 12px; }
a { color: var(--red-dark); }
a:hover { color: var(--red); }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 520px; padding-top: 48px; padding-bottom: 64px; }
.stack { display: flex; flex-direction: column; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; }
.muted { color: var(--muted); }
.center { text-align: center; }
.inline { display: inline; margin: 0; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 10; }

.site-header { background: var(--ink); padding: 14px 0; }
.brand { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--white); text-decoration: none; }
.brand span { color: var(--mango); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; font-size: 16px; font-weight: 500; }
.nav a { color: #d6d6db; text-decoration: none; padding: 10px 0; }
.nav a:hover { color: var(--white); }
.link-button { background: none; border: 0; padding: 10px 0; font: inherit; color: #d6d6db; cursor: pointer; }
.link-button:hover { color: var(--white); }
.site-footer { background: var(--ink); color: #d6d6db; font-size: 15px; padding: 28px 0; margin-top: 40px; }
.site-footer a { color: #d6d6db; }

.btn { display: inline-block; font: inherit; font-weight: 700; text-align: center; text-decoration: none; padding: 14px 26px; min-height: 48px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; }
.btn-primary, .nav a.btn-primary { background: var(--red); color: var(--white); }
.btn-primary:hover { background: var(--red-dark); color: var(--white); }
.btn-ghost { background: var(--white); color: var(--ink); border-color: var(--line); }
.btn-small { padding: 9px 18px; min-height: 44px; font-size: 15px; }
.btn-block { display: block; width: 100%; margin-top: 20px; }

.card { background: var(--white); border: 2px solid var(--ink); border-radius: 22px; padding: 28px; }
form label { display: block; font-weight: 700; color: var(--ink); margin: 16px 0 6px; font-size: 15px; }
form input[type=text], form input[type=email], form input[type=password] {
  width: 100%; font: inherit; padding: 13px 14px; min-height: 48px; border: 2px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink);
}
form input:focus { border-color: var(--ink); outline: none; }
.hint { font-size: 14px; color: var(--muted); margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }

.flash { padding: 12px 16px; border-radius: 12px; font-weight: 500; margin: 16px 0 0; }
.flash ul { margin: 0; padding-left: 20px; }
.flash-success { background: var(--teal-tint); color: var(--teal-dark); }
.flash-error { background: var(--pink); color: var(--red-dark); }
.flash-info { background: var(--yellow-tint); color: #6b4a00; }
.notice { background: var(--yellow-tint); border-radius: 16px; padding: 16px 20px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; }
.notice p { margin: 0; color: var(--ink); }

.hero { background: var(--ink); color: #d6d6db; padding: 72px 0; }
.hero h1 { color: var(--white); font-size: clamp(36px, 6vw, 64px); max-width: 760px; }
.hero h1 span { color: var(--mango); }
.hero .lead { font-size: 19px; max-width: 560px; margin-bottom: 24px; }
.pill { display: inline-block; background: var(--ink-2); color: var(--white); font-weight: 700; font-size: 14px; padding: 7px 14px; border-radius: 999px; }
.eyebrow { font-size: 14px; font-weight: 700; color: var(--mango); margin-bottom: 6px; }

.hero-card { background: var(--ink); color: #d6d6db; border-radius: 22px; padding: 32px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.hero-card h1 { color: var(--white); font-size: clamp(24px, 3.4vw, 36px); }
.hero-card p { margin: 0; }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }
.track-open { box-shadow: 8px 8px 0 var(--red); }
.tag { display: inline-block; background: #f5f5f6; color: var(--body); font-family: var(--text); font-size: 13px; font-weight: 700; letter-spacing: 0; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.tag-open { background: var(--red); color: var(--white); }
.plan ul { margin: 0; padding-left: 20px; font-size: 15px; }
.plan li { margin-bottom: 6px; }
.price { font-family: var(--display); font-weight: 800; font-size: 34px; color: var(--ink); }
.price small { font-family: var(--text); font-weight: 500; font-size: 15px; color: var(--body); }

.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 16px; }
.stat { border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 2px; }
.stat-label { font-size: 14px; font-weight: 700; color: var(--ink); }
.stat-value { font-family: var(--display); font-weight: 800; font-size: 30px; color: var(--ink); }
.stat-pink { background: var(--pink); } .stat-yellow { background: var(--yellow-tint); } .stat-teal { background: var(--teal-tint); }
.stat-plain { background: var(--white); border: 2px solid var(--ink); }

/* Landing page (added 2026-11-26) */
.hero-grid { display: flex; flex-wrap: wrap; align-items: center; gap: 40px; }
.hero-grid > div { flex: 1 1 420px; min-width: 0; }
.hero-art { flex: 1 1 380px; min-width: 0; max-width: 560px; height: auto; }
.ticks { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 22px 0 0; font-size: 15px; }
.ticks li::before { content: "✓ "; color: var(--teal); font-weight: 700; }
.banner { background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 15px; padding: 12px 0; text-align: center; }
.feature { border-radius: 22px; padding: 24px; }
.feature p { margin: 0; font-size: 16px; }
.f-pink { background: var(--pink); } .f-teal { background: var(--teal-tint); } .f-yellow { background: var(--yellow-tint); }
.f-dark { background: var(--ink); color: #d6d6db; } .f-dark h3 { color: var(--white); }
.track { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.track-art { display: block; width: 100%; height: auto; }
.track-body { padding: 22px 24px 26px; }
.track-body ul { margin: 0 0 12px; padding-left: 20px; font-size: 16px; }
.track-body p { font-size: 16px; }
.label { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--red-dark); margin: 14px 0 4px; }
.band { background: var(--white); border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink); margin: 24px 0; }
.modules { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 16px; }
.modules li { display: flex; gap: 14px; background: var(--paper); border-radius: 18px; padding: 18px; }
.modules h3 { font-size: 18px; margin-bottom: 4px; }
.modules p { margin: 0; font-size: 15px; }
.modules .project { color: var(--red-dark); font-weight: 700; margin-top: 6px; }
.num { flex: none; width: 36px; height: 36px; border-radius: 999px; background: var(--ink); color: var(--white); font-family: var(--display); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.plan-pro { background: var(--pink); border-color: var(--red); }
.plan .price { margin-bottom: 12px; }
.table-scroll { overflow-x: auto; background: var(--white); border: 2px solid var(--ink); border-radius: 22px; }
.compare { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 640px; }
.compare th, .compare td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); }
.compare thead th { font-family: var(--display); color: var(--ink); background: var(--paper); }
.compare tbody th { font-weight: 700; color: var(--ink); }
.compare tr:last-child th, .compare tr:last-child td { border-bottom: 0; }
.faq { max-width: 820px; }
.faq details { background: var(--white); border: 2px solid var(--ink); border-radius: 16px; padding: 16px 20px; }
.faq summary { font-weight: 700; color: var(--ink); cursor: pointer; }
.faq details p { margin: 10px 0 0; font-size: 16px; }
.cta { background: var(--red); color: var(--white); padding: 48px 0; margin-top: 24px; }
.cta h2 { color: var(--white); margin-bottom: 6px; } .cta p { margin: 0; }
.btn-light { background: var(--white); color: var(--ink); }
.site-footer { margin-top: 0; }

/* Landing page polish (added 2026-11-26, v2) */
html { scroll-behavior: smooth; }
section[id] { scroll-margin-top: 80px; }
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(17, 17, 19, 0.92); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid #2a2a2f; }
.hero { position: relative; overflow: hidden; padding: 88px 0 96px; background: radial-gradient(900px 520px at 88% -12%, rgba(196, 30, 58, 0.38), transparent 62%), radial-gradient(700px 420px at -8% 112%, rgba(18, 181, 166, 0.22), transparent 62%), var(--ink); }
.hero h1 { font-size: clamp(40px, 6.4vw, 72px); letter-spacing: -0.035em; line-height: 1.04; }
.hero .lead { font-size: 20px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { box-shadow: 0 10px 24px rgba(196, 30, 58, 0.32); }
.btn-outline { background: transparent; color: var(--white); border-color: #6f6f77; }
.btn-outline:hover { color: var(--white); border-color: var(--white); }
.btn-light:hover { color: var(--ink); }
.banner { font-size: 14px; }
.stats-strip { background: var(--white); border-bottom: 1px solid var(--line); }
.stats-strip .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 24px; padding-top: 26px; padding-bottom: 26px; }
.stats-strip div div, .stats-strip .wrap > div { display: flex; flex-direction: column; }
.stats-strip strong { font-family: var(--display); font-weight: 800; font-size: 38px; line-height: 1.1; color: var(--ink); }
.stats-strip span { font-size: 15px; color: var(--muted); }
.stack { gap: 28px; padding-top: 64px; padding-bottom: 64px; }
.stack > div > p, .stack > p { font-size: 18px; max-width: 640px; }
.feature, .track, .plan, .modules li { transition: transform 0.2s ease, box-shadow 0.2s ease; }
.feature:hover, .modules li:hover { transform: translateY(-4px); }
.track:hover, .plan:hover { transform: translateY(-4px); box-shadow: 8px 8px 0 var(--ink); }
.track-open:hover { box-shadow: 10px 10px 0 var(--red); }
.demo { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.demo > div { border-radius: 22px; padding: 28px; }
.demo-code { background: var(--ink); color: #e7e7ea; }
.demo-quiz { background: var(--white); border: 2px solid var(--ink); }
.demo-step { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--mango); margin-bottom: 14px; }
.demo-quiz .demo-step { color: var(--red-dark); }
.demo pre { margin: 0 0 16px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 16px; line-height: 1.7; white-space: pre-wrap; }
.demo .k { color: #ff8fa0; } .demo .n { color: #5eead4; }
.demo-out { margin: 16px 0 0 !important; padding: 14px 16px; background: #1d1d21; border-radius: 12px; color: #5eead4; }
.demo-q { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--ink); }
.demo-options { display: grid; gap: 10px; margin-bottom: 14px; }
.demo-options button { font: inherit; font-weight: 600; text-align: left; padding: 13px 16px; min-height: 48px; border-radius: 12px; border: 2px solid var(--line); background: var(--white); color: var(--ink); cursor: pointer; transition: border-color 0.15s ease, background-color 0.15s ease; }
.demo-options button:hover { border-color: var(--ink); }
.demo-options .right { border-color: var(--teal); background: var(--teal-tint); }
.demo-options .wrong { border-color: var(--red); background: var(--pink); }
.demo-msg { font-weight: 700; min-height: 26px; }
.demo-msg.ok { color: var(--teal-dark); } .demo-msg.no { color: var(--red-dark); }
.plan { display: flex; flex-direction: column; }
.plan h3 { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.plan h3 .tag { margin: 0; }
.plan-for { font-size: 15px; min-height: 46px; }
.plan .btn, .plan > .tag { margin-top: auto; align-self: flex-start; }
.compare tbody tr:hover { background: var(--paper); }
.compare td:nth-child(3), .compare th:nth-child(3) { background: rgba(253, 236, 239, 0.6); }
.faq summary { list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1; color: var(--red); }
.faq details[open] summary::after { content: "−"; }
.cta { background: radial-gradient(600px 300px at 90% 0%, rgba(255, 255, 255, 0.16), transparent 60%), var(--red); padding: 64px 0; }
.js .reveal { opacity: 0; transform: translateY(18px); }
.js .reveal.in { opacity: 1; transform: none; transition: opacity 0.5s ease, transform 0.5s ease; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; }
  .btn, .feature, .track, .plan, .modules li { transition: none; }
}

/* Hero product preview (added 2026-11-26, v3) */
.hero-mock { flex: 1 1 420px; min-width: 0; position: relative; padding: 20px 0 56px 0; }
.mock-window { background: #1b1b1f; border: 1px solid #34343a; border-radius: 18px; box-shadow: 0 40px 80px rgba(0, 0, 0, 0.55); overflow: hidden; transform: rotate(-1.5deg); max-width: 520px; margin-left: auto; }
.mock-bar { display: flex; align-items: center; gap: 7px; padding: 13px 16px; background: #232328; border-bottom: 1px solid #34343a; }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: #ff5c74; }
.mock-bar span:nth-child(2) { background: #ffc145; } .mock-bar span:nth-child(3) { background: #12b5a6; }
.mock-bar em { font-style: normal; font-size: 13px; color: #a9a9b2; margin-left: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mock-body { padding: 20px 22px 22px; }
.mock-label { font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #5eead4; margin: 0 0 10px; }
.hero-mock pre { margin: 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; line-height: 1.7; color: #e7e7ea; white-space: pre-wrap; }
.hero-mock .k { color: #ff8fa0; } .hero-mock .n { color: #5eead4; }
.mock-run { display: flex; align-items: center; gap: 12px; margin: 16px 0 10px; }
.mock-run b { background: var(--white); color: var(--ink); font-size: 13px; padding: 8px 16px; border-radius: 999px; }
.mock-run i { font-style: normal; font-size: 12px; color: #a9a9b2; text-transform: uppercase; letter-spacing: 0.08em; }
.mock-out { background: #111113; border-radius: 10px; padding: 12px 14px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; line-height: 1.6; color: #5eead4; }
.mock-progress { height: 8px; background: #34343a; border-radius: 999px; margin-top: 18px; }
.mock-progress i { display: block; width: 46%; height: 8px; background: var(--teal); border-radius: 999px; }
.mock-foot { display: flex; justify-content: space-between; font-size: 12px; color: #a9a9b2; margin: 8px 0 0; }
.mock-float { position: absolute; background: var(--white); color: var(--ink); border-radius: 16px; box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45); font-size: 14px; }
.mock-quiz { left: 0; bottom: 0; width: 230px; padding: 16px; display: flex; flex-direction: column; gap: 8px; transform: rotate(2deg); }
.mock-quiz b { font-family: var(--display); font-size: 13px; color: var(--red-dark); text-transform: uppercase; letter-spacing: 0.06em; }
.mock-quiz .opt { border: 2px solid var(--line); border-radius: 10px; padding: 7px 10px; font-weight: 600; display: flex; justify-content: space-between; }
.mock-quiz .ok { border-color: var(--teal); background: var(--teal-tint); }
.mock-quiz .ok em { font-style: normal; color: var(--teal-dark); font-size: 12px; }
.mock-streak { right: -6px; top: 0; padding: 10px 16px; border-radius: 999px; font-weight: 700; display: flex; align-items: center; gap: 6px; }
.mock-points { right: 24px; bottom: 18px; padding: 10px 16px; border-radius: 999px; font-weight: 700; background: var(--yellow); }
@media (max-width: 720px) { .mock-quiz { position: static; width: auto; margin-top: 16px; transform: none; } .mock-points { display: none; } .hero-mock { padding-bottom: 0; } .mock-window { transform: none; } }

/* Light brand theme and reference-style sections (added 2026-11-26, v4) */
.site-header { background: rgba(250, 248, 248, 0.92); border-bottom: 1px solid var(--line); }
.brand { color: var(--red); font-size: 22px; } .brand span { color: var(--ink); }
.nav a, .link-button { color: var(--ink); } .nav a:hover, .link-button:hover { color: var(--red); }
.nav a.btn-primary, .nav a.btn-primary:hover { color: var(--white); }
.announce { background: var(--ink); color: var(--white); font-size: 14px; font-weight: 500; text-align: center; padding: 10px 0; }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red); margin: 0 0 10px; }
.lp-head { max-width: 760px; } .lp-head h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; }
.hero-light { color: var(--body); padding: 72px 0 80px; background: radial-gradient(520px 520px at 92% 8%, rgba(196, 30, 58, 0.14), transparent 70%), radial-gradient(420px 420px at 70% 110%, rgba(255, 92, 116, 0.12), transparent 70%), var(--paper); }
.hero-light h1 { color: var(--ink); font-size: clamp(38px, 5.4vw, 64px); max-width: 640px; }
.hero-light h1 span { color: var(--red); }
.hero-light .lead { color: var(--body); margin-bottom: 18px; }
.hero-points { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-weight: 500; color: var(--ink); }
.hero-points li { padding-left: 32px; position: relative; }
.hero-points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.500l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.hero-note { font-size: 14px; color: var(--muted); margin: 16px 0 0; }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.hero-light .mock-window { box-shadow: 0 30px 70px rgba(17, 17, 19, 0.28); }
.hero-light .mock-float { box-shadow: 0 16px 36px rgba(17, 17, 19, 0.18); border: 1px solid var(--line); }
.lp .card { border: 1px solid var(--line); box-shadow: 0 1px 2px rgba(17, 17, 19, 0.04); }
.lp .track:hover, .lp .plan:hover { box-shadow: 0 22px 44px rgba(17, 17, 19, 0.12); border-color: #cfcfd4; }
.lp .track-open { border: 2px solid var(--red); box-shadow: none; }
.lp .track-open:hover { box-shadow: 0 22px 44px rgba(196, 30, 58, 0.18); }
.lp .plan-pro { border: 2px solid var(--red); }
.lp .table-scroll, .lp .faq details { border: 1px solid var(--line); }
.band { margin: 0; border: 0; }
.band-mist { background: #f1eeee; }
.band-ink { background: var(--ink); }
.band-ink .lp-head h2 { color: var(--white); } .band-ink .lp-head p { color: #d6d6db; } .band-ink .kicker { color: var(--mango); }
.band-ink .demo-code { background: #1d1d21; border: 1px solid #34343a; }
.band-ink .demo-quiz { border: 0; }
.frow { display: flex; flex-wrap: wrap; align-items: center; gap: 24px 56px; }
.frow-flip { flex-direction: row-reverse; }
.ftext { flex: 1 1 360px; min-width: 0; } .ftext h3 { font-size: 26px; } .ftext p { font-size: 17px; margin: 0; }
.fnum { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: var(--red); color: var(--white); font-family: var(--display); font-weight: 800; margin-bottom: 14px; }
.fvis { flex: 1 1 360px; min-width: 0; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 28px; }
.m-card p { margin: 0; }
.m-list p { padding: 11px 14px 11px 44px; border-radius: 12px; position: relative; font-weight: 500; color: var(--body); }
.m-list p + p { margin-top: 6px; }
.m-list p::before { content: ""; position: absolute; left: 14px; top: 13px; width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); box-sizing: border-box; }
.m-list .done { color: var(--ink); } .m-list .done::before { background: var(--teal); border-color: var(--teal); }
.m-list .now { background: var(--ink); color: var(--white); font-weight: 700; } .m-list .now::before { border-color: var(--red); background: var(--red); }
.m-list .proj { background: var(--yellow-tint); color: var(--ink); } .m-list .proj::before { border-radius: 4px; border-color: var(--yellow); background: var(--yellow); }
.m-code { background: var(--ink); border-radius: 14px; padding: 20px 22px; }
.m-code pre { margin: 0; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 15px; line-height: 1.7; color: #e7e7ea; white-space: pre-wrap; }
.m-code .n { color: #5eead4; }
.m-out { margin: 14px 0 0 !important; padding: 12px 14px; background: #1d1d21; border-radius: 10px; font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 14px; color: #5eead4; }
.m-feedback .pass { font-family: var(--display); font-weight: 700; font-size: 20px; color: var(--teal-dark); background: var(--teal-tint); padding: 12px 16px; border-radius: 12px; margin-bottom: 12px; }
.m-feedback .pts { display: inline-block; margin-top: 14px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: 14px; padding: 6px 14px; border-radius: 999px; }
.m-chat p { max-width: 86%; padding: 12px 16px; border-radius: 16px; font-size: 15px; }
.m-chat .me { margin-left: auto; background: var(--red); color: var(--white); border-bottom-right-radius: 4px; }
.m-chat .bot { margin-top: 10px; background: #f1eeee; color: var(--ink); border-bottom-left-radius: 4px; }
.modules li { background: var(--white); border: 1px solid var(--line); }
.fit { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 20px; }
.fit > div { background: var(--white); border-radius: 22px; padding: 28px; border: 1px solid var(--line); }
.fit ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.fit li { padding-left: 30px; position: relative; }
.fit li::before { position: absolute; left: 0; top: 0; font-weight: 800; }
.fit-yes { border-top: 4px solid var(--teal) !important; } .fit-yes li::before { content: "✓"; color: var(--teal-dark); }
.fit-no { border-top: 4px solid var(--muted) !important; } .fit-no li::before { content: "×"; color: var(--muted); }
.closing { background: var(--ink); color: #d6d6db; padding: 88px 0; text-align: center; }
.closing-lines { font-family: var(--display); font-weight: 800; font-size: clamp(36px, 6vw, 68px); line-height: 1.08; letter-spacing: -0.035em; color: var(--white); margin: 0 0 32px; }
.closing-lines span { color: var(--mango); }
.closing-note { font-size: 14px; margin: 28px 0 0; color: #a9a9b2; }
.frow.reveal { transition-delay: 0.05s; }
@media (max-width: 720px) { .hero-light { padding: 48px 0 56px; } .frow-flip { flex-direction: row; } }

/* v4.1 fixes */
.hero-mock { padding-bottom: 150px; }
.mock-quiz { width: 250px; }
.mock-points { bottom: 60px; }
@media (max-width: 720px) { .hero-mock { padding-bottom: 0; } }

/* v4.2 mobile */
@media (max-width: 720px) { .mock-streak { top: -8px; right: 0; } .mock-bar em { max-width: 55%; } .site-header { padding: 10px 0; } .nav { gap: 4px 16px; font-size: 15px; } }

/* v4.3 header button */
.nav { gap: 8px 28px; }
.nav a.btn { display: inline-flex; align-items: center; justify-content: center; padding: 0 24px; height: 44px; min-height: 0; font-size: 15px; line-height: 1; box-shadow: none; white-space: nowrap; }
.nav a.btn:hover { transform: none; background: var(--red-dark); }
.site-header { padding: 12px 0; }
.site-header .bar { flex-wrap: nowrap; }
@media (max-width: 720px) { .site-header .bar { flex-wrap: wrap; } .nav a.btn { height: 40px; padding: 0 18px; } }

/* v4.4 mobile header */
@media (max-width: 720px) {
  .site-header .bar { flex-wrap: nowrap; gap: 12px; }
  .brand { font-size: 18px; white-space: nowrap; }
  .nav { flex-wrap: nowrap; gap: 14px; }
  .nav a[href$="#courses"], .nav a[href$="#plans"] { display: none; }
  .nav a, .link-button { white-space: nowrap; }
  .nav a.btn { height: 40px; padding: 0 16px; font-size: 14px; }
}
@media (max-width: 380px) { .brand span { display: none; } }

/* v4.5 footer and fixes */
[hidden] { display: none !important; }
.site-footer { padding: 56px 0 0; font-size: 15px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px 40px; padding-bottom: 40px; }
.foot-about p { margin: 14px 0 0; max-width: 340px; color: #a9a9b2; }
.site-footer .brand { color: var(--mango); } .site-footer .brand span { color: var(--white); }
.site-footer nav { display: flex; flex-direction: column; gap: 10px; }
.site-footer h2 { font-family: var(--text); font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--white); margin: 0 0 6px; }
.site-footer nav a { color: #d6d6db; text-decoration: none; } .site-footer nav a:hover { color: var(--white); text-decoration: underline; }
.foot-base { border-top: 1px solid #2a2a2f; padding-top: 20px; padding-bottom: 24px; font-size: 14px; color: #a9a9b2; }
.closing { border-bottom: 1px solid #2a2a2f; }
.demo-code { display: flex; flex-direction: column; align-items: flex-start; }
.demo-code pre { width: 100%; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-about { grid-column: 1 / -1; } }

/* v5 plans section */
.lp-center { margin-left: auto; margin-right: auto; text-align: center; }
.lp-center p { margin-left: auto; margin-right: auto; }
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; padding-top: 14px; }
.pcard { position: relative; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 30px 26px 28px; transition: transform 0.2s ease, box-shadow 0.2s ease; }
.pcard:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(17, 17, 19, 0.10); }
.pcard h3 { font-size: 24px; margin-bottom: 6px; }
.pcard .plan-for { font-size: 15px; min-height: 48px; margin: 0 0 14px; }
.pcard .price { font-size: 42px; line-height: 1; margin: 0 0 20px; letter-spacing: -0.03em; }
.pcard .price small { font-size: 15px; letter-spacing: 0; }
.pcard .btn-block { margin-top: 0; }
.pcard-pro { border: 2px solid var(--red); box-shadow: 0 24px 50px rgba(196, 30, 58, 0.16); transform: translateY(-10px); }
.pcard-pro:hover { transform: translateY(-14px); box-shadow: 0 30px 60px rgba(196, 30, 58, 0.22); }
.pcard-flag { position: absolute; top: -15px; left: 50%; transform: translateX(-50%); margin: 0; background: var(--red); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: 0.04em; padding: 5px 16px; border-radius: 999px; white-space: nowrap; }
.btn-soon { background: #f1eeee; color: var(--muted); cursor: default; box-shadow: none; }
.btn-soon:hover { transform: none; color: var(--muted); }
.pcard-list { list-style: none; margin: 24px 0 0; padding: 22px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; font-size: 15px; color: var(--ink); }
.pcard-list li { position: relative; padding-left: 30px; }
.pcard-list li::before, .compare .yes { content: ""; background: var(--teal-tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.6 10.4l3 3 5.8-6.8' fill='none' stroke='%230b6b62' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; border-radius: 50%; }
.pcard-list li::before { position: absolute; left: 0; top: 1px; width: 20px; height: 20px; }
.compare-title { text-align: center; font-size: 22px; margin: 28px 0 0; }
.compare-v2 { font-size: 15px; }
.compare-v2 th, .compare-v2 td { padding: 15px 18px; }
.compare-v2 thead th { background: var(--white); font-size: 18px; border-bottom: 2px solid var(--ink); vertical-align: bottom; }
.compare-v2 thead th small { display: block; font-family: var(--text); font-weight: 500; font-size: 13px; color: var(--muted); margin-top: 2px; }
.compare-v2 th:not(:first-child), .compare-v2 td { text-align: center; width: 17%; }
.compare-v2 tbody th { font-weight: 500; }
.compare-v2 tbody tr:nth-child(even) { background: #fbf9f9; }
.compare-v2 td { color: var(--ink); font-weight: 500; }
.compare .col-pro, .compare td:nth-child(3), .compare th:nth-child(3) { background: rgba(253, 236, 239, 0.75); }
.compare-v2 thead .col-pro { color: var(--red-dark); border-bottom-color: var(--red); }
.compare .yes, .compare .no { display: inline-block; width: 22px; height: 22px; vertical-align: middle; }
.compare .no { position: relative; }
.compare .no::before { content: ""; position: absolute; left: 5px; right: 5px; top: 10px; height: 2px; border-radius: 2px; background: #c4c4ca; }
.plans-note { text-align: center; font-size: 14px !important; color: var(--muted); margin: 0 auto !important; }
@media (max-width: 1000px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 30px; } .pcard-pro, .pcard-pro:hover { transform: none; } }
@media (max-width: 560px) { .plans { grid-template-columns: 1fr; } }

/* v6 section colours and motion */
body { overflow-x: clip; }
.lp section.wrap { position: relative; clip-path: inset(0 -100vmax); }
#courses { background: var(--white); box-shadow: 0 0 0 100vmax var(--white); }
#python { background: #eef9f7; box-shadow: 0 0 0 100vmax #eef9f7; }
#plans { background: var(--white); box-shadow: 0 0 0 100vmax var(--white); }
#faq { background: #f4f1f1; box-shadow: 0 0 0 100vmax #f4f1f1; }
#how.band-mist { background: linear-gradient(180deg, #fdf1f3 0%, #fbf6f6 100%); }
.band-mist:not(#how) { background: #fff8e8; }
.stats-strip { background: var(--ink); border: 0; }
.stats-strip strong { color: var(--white); } .stats-strip span { color: #b9b9c1; }
.stats-strip .wrap > div { padding-left: 18px; border-left: 3px solid var(--red); }
#python .modules li { border-color: #d5efea; }
#python .num { background: var(--teal-dark); }
.band-mist:not(#how) .fit > div { border-color: #f1e3bf; }
.band-ink, .closing { position: relative; overflow: hidden; }
.band-ink::before, .closing::before { content: ""; position: absolute; width: 620px; height: 620px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 30, 58, 0.34), transparent 65%); top: -260px; right: -160px; animation: drift 14s ease-in-out infinite alternate; pointer-events: none; }
.band-ink::after, .closing::after { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 181, 166, 0.22), transparent 65%); bottom: -260px; left: -140px; animation: drift 18s ease-in-out infinite alternate-reverse; pointer-events: none; }
.band-ink > .wrap, .closing > .wrap { position: relative; z-index: 1; }
.hero-light { position: relative; overflow: hidden; }
.hero-light::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: radial-gradient(circle, rgba(196, 30, 58, 0.16), transparent 68%); top: -120px; right: 6%; animation: drift 16s ease-in-out infinite alternate; pointer-events: none; }
.hero-light::after { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 181, 166, 0.14), transparent 68%); bottom: -140px; left: 38%; animation: drift 20s ease-in-out infinite alternate-reverse; pointer-events: none; }
.hero-light > .wrap { position: relative; z-index: 1; }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(-60px, 40px) scale(1.12); } }
@keyframes bob { 0%, 100% { translate: 0 0; } 50% { translate: 0 -10px; } }
@keyframes fill { from { width: 0; } to { width: 46%; } }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.mock-window { animation: bob 7s ease-in-out infinite; }
.mock-quiz { animation: bob 6s ease-in-out -2s infinite; }
.mock-streak { animation: bob 5s ease-in-out -1s infinite; }
.mock-points { animation: bob 5.5s ease-in-out -3s infinite; }
.mock-progress i { animation: fill 1.6s 0.5s ease-out both; }
.hero-light .kicker, .hero-light h1, .hero-light .lead, .hero-points, .hero-actions, .hero-note { animation: rise 0.7s ease-out both; }
.hero-light h1 { animation-delay: 0.08s; } .hero-light .lead { animation-delay: 0.16s; } .hero-points { animation-delay: 0.24s; } .hero-actions { animation-delay: 0.32s; } .hero-note { animation-delay: 0.4s; }
.hero-mock { animation: rise 0.9s 0.2s ease-out both; }
.js .reveal { transform: translateY(26px); }
.js .frow.reveal { transform: translateX(-40px); } .js .frow-flip.reveal { transform: translateX(40px); }
.js .reveal.in { transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1); }
.grid > .reveal:nth-child(3n+2), .modules > .reveal:nth-child(4n+2), .plans > .reveal:nth-child(2), .fit > .reveal:nth-child(2), .demo > .reveal:nth-child(2) { transition-delay: 0.1s; }
.grid > .reveal:nth-child(3n), .modules > .reveal:nth-child(4n+3), .plans > .reveal:nth-child(3) { transition-delay: 0.2s; }
.modules > .reveal:nth-child(4n), .plans > .reveal:nth-child(4) { transition-delay: 0.3s; }
.track { overflow: hidden; } .track-art { transition: transform 0.5s ease; } .track:hover .track-art { transform: scale(1.05); }
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after { content: ""; position: absolute; top: 0; bottom: 0; left: -60%; width: 40%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.35), transparent); transform: skewX(-20deg); transition: left 0.6s ease; }
.btn-primary:hover::after { left: 120%; }
.fnum { box-shadow: 0 0 0 8px rgba(196, 30, 58, 0.12); }
.closing-lines span { background: linear-gradient(90deg, #ff5c74, #ffc145, #ff5c74); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { from { background-position: 0% 0; } to { background-position: 200% 0; } }
@media (prefers-reduced-motion: reduce) {
  .mock-window, .mock-float, .mock-progress i, .hero-light *, .hero-mock, .band-ink::before, .band-ink::after, .closing::before, .closing::after, .hero-light::before, .hero-light::after, .closing-lines span { animation: none !important; }
  .js .reveal, .js .frow.reveal, .js .frow-flip.reveal { transform: none; }
}
@media (max-width: 720px) { .js .frow.reveal, .js .frow-flip.reveal { transform: translateY(26px); } .mock-window { animation: none; } }

/* v6.1 table borders */
.lp .table-scroll { border: 2px solid var(--ink); border-radius: 18px; }
.compare-v2 th, .compare-v2 td { border-bottom: 1px solid #d9d6d6; border-right: 1px solid #d9d6d6; }
.compare-v2 th:last-child, .compare-v2 td:last-child { border-right: 0; }
.compare-v2 tbody tr:last-child th, .compare-v2 tbody tr:last-child td { border-bottom: 0; }
.compare-v2 thead th { border-bottom: 2px solid var(--ink); }
.compare-v2 thead .col-pro { border-bottom: 2px solid var(--red); box-shadow: inset 0 3px 0 var(--red); }
.compare-v2 .col-pro { border-left: 2px solid var(--red); border-right: 2px solid var(--red); }
.compare-v2 tbody tr:last-child .col-pro { box-shadow: inset 0 -3px 0 var(--red); }
.compare-v2 tbody th { border-right: 2px solid var(--ink); }
.compare-v2 thead th:first-child { border-right: 2px solid var(--ink); }

/* v7 header */
.site-header { padding: 0; box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(17, 17, 19, 0.05); border-bottom: 0; }
.site-header .bar { min-height: 76px; }
.brand-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-logo img { width: 40px; height: 40px; display: block; }
.brand-logo .brand-text { display: flex !important; flex-direction: column; line-height: 1; color: inherit; }
.brand-text b { font-family: var(--display); font-weight: 700; font-size: 25px; letter-spacing: -0.03em; color: var(--red); }
.brand-text i { font-style: normal; font-family: var(--text); font-size: 10px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; color: var(--ink); align-self: flex-end; margin-top: 4px; }
.nav { gap: 6px 30px; font-size: 16px; }
.nav .nav-link { position: relative; padding: 10px 0; font-weight: 500; color: var(--ink); }
.nav .nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 2px; border-radius: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.nav .nav-link:hover { color: var(--ink); } .nav .nav-link:hover::after { transform: scaleX(1); }
.nav a.nav-login { display: inline-flex; align-items: center; height: 44px; padding: 0 22px; border: 2px solid var(--line); border-radius: 999px; font-weight: 700; color: var(--ink); background: var(--white); transition: border-color 0.15s ease; }
.nav a.nav-login:hover { border-color: var(--ink); color: var(--ink); }
.nav a.btn { margin-left: -14px; }
@media (max-width: 980px) { .nav .nav-extra { display: none; } }
@media (max-width: 720px) {
  .site-header .bar { min-height: 62px; }
  .brand-logo img { width: 32px; height: 32px; } .brand-text b { font-size: 19px; } .brand-text i { font-size: 8px; margin-top: 3px; }
  .nav .nav-link { display: none; }
  .nav a.nav-login { height: 40px; padding: 0 14px; border: 0; background: transparent; }
  .nav a.btn { margin-left: 0; padding: 0 14px; }
}

/* v7.1 mobile header fit */
@media (max-width: 720px) {
  .site-header .wrap { padding: 0 16px; }
  .site-header .bar { gap: 8px; }
  .nav { gap: 4px; }
  .nav a.nav-login { padding: 0 10px; font-size: 14px; }
  .nav a.btn { padding: 0 14px; font-size: 14px; }
  .brand-logo { gap: 8px; min-width: 0; }
}
@media (max-width: 360px) { .brand-text i { display: none; } .brand-text b { font-size: 17px; } }

/* v8 certificate section */
.band-cert { background: linear-gradient(180deg, #fff8e8 0%, #fdf1f3 100%); }
.band-cert h2 { font-size: clamp(28px, 4vw, 44px); letter-spacing: -0.03em; }
.cert-points { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.cert-points li { position: relative; padding-left: 32px; }
.cert-points li::before { content: ""; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--red) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat; }
.cert-points strong { color: var(--ink); }
.cert-note { font-size: 14px !important; color: var(--muted); margin-top: 18px !important; }
.cert-wrap { background: transparent; border: 0; padding: 0; }
.cert { position: relative; background: var(--white); border: 2px solid var(--ink); border-radius: 14px; padding: 38px 32px 28px; text-align: center; box-shadow: 14px 14px 0 var(--red); outline: 1px solid #d9d6d6; outline-offset: -12px; transform: rotate(1.2deg); transition: transform 0.4s ease; }
.cert:hover { transform: rotate(0deg) scale(1.02); }
.cert p { margin: 0; }
.cert-sample { position: absolute; top: 20px; right: 22px; font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; background: var(--white); }
.cert-brand { font-family: var(--display); font-weight: 700; font-size: 16px; color: var(--ink); }
.cert-brand b { color: var(--red); }
.cert-title { font-family: var(--display); font-weight: 800; font-size: clamp(22px, 2.6vw, 30px); letter-spacing: -0.02em; color: var(--ink); margin: 14px 0 16px !important; }
.cert-small { font-size: 14px; color: var(--muted); }
.cert-name { font-family: var(--display); font-weight: 700; font-size: clamp(26px, 3vw, 36px); color: var(--red); margin: 6px 0 8px !important; padding-bottom: 8px; border-bottom: 2px solid var(--ink); display: inline-block; }
.cert-course { font-family: var(--display); font-weight: 700; font-size: 22px; color: var(--ink); margin: 6px 0 4px !important; }
.cert-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 24px; font-size: 13px; font-weight: 700; color: var(--ink); }
.cert-foot span { display: flex; flex-direction: column; gap: 2px; text-align: left; }
.cert-foot span:last-child { text-align: right; }
.cert-foot i { font-style: normal; font-weight: 500; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.cert-seal { animation: bob 5s ease-in-out infinite; }
@media (max-width: 720px) { .cert { transform: none; box-shadow: 8px 8px 0 var(--red); padding: 34px 20px 22px; } }
@media (prefers-reduced-motion: reduce) { .cert-seal { animation: none; } .cert { transition: none; } }

/* v8.1 cert mobile */
@media (max-width: 720px) { .cert { padding-top: 52px; } .cert-sample { top: 14px; right: 50%; transform: translateX(50%); } .cert-foot { font-size: 12px; } }

/* v9 monthly / yearly toggle */
.bill-toggle { display: inline-flex; align-self: center; gap: 4px; padding: 5px; background: #f1eeee; border: 1px solid var(--line); border-radius: 999px; margin-bottom: 6px; }
.bill-toggle button { font: inherit; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 22px; border: 0; border-radius: 999px; background: transparent; color: var(--body); cursor: pointer; transition: background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease; }
.bill-toggle button[aria-pressed="true"] { background: var(--ink); color: var(--white); box-shadow: 0 6px 16px rgba(17, 17, 19, 0.2); }
.bill-toggle button span { font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: var(--teal-tint); color: var(--teal-dark); }
.bill-toggle button[aria-pressed="true"] span { background: var(--yellow); color: var(--ink); }
.pcard .price { margin-bottom: 8px; }
.bill-note { font-size: 13px; font-weight: 500; color: var(--teal-dark); min-height: 20px; margin: 0 0 18px !important; }
.pcard:first-child .bill-note { color: var(--muted); }
@media (max-width: 420px) { .bill-toggle button { padding: 0 14px; font-size: 14px; } }

/* v9.1 */
.bill-note { min-height: 40px; line-height: 1.5; }

/* v10 track photos */
.track-photo { aspect-ratio: 16 / 10; object-fit: cover; background: #f1eeee; }

/* v11 footer: five columns */
.foot-grid { grid-template-columns: 1.7fr repeat(4, 1fr); gap: 32px 28px; }
@media (max-width: 1040px) { .foot-grid { grid-template-columns: repeat(3, 1fr); } .foot-about { grid-column: 1 / -1; } }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* v12 hero photo (replaces the drawn preview when the image is present) */
.hero-photo { display: block; width: 100%; max-width: 540px; height: auto; aspect-ratio: 1 / 1; justify-self: center; margin: 0 auto; border-radius: 32px; box-shadow: 0 30px 70px rgba(196, 30, 58, 0.18), 0 6px 18px rgba(17, 17, 19, 0.08); animation: heroFloat 7s ease-in-out infinite alternate; }
.hero-photo + .hero-mock { display: none; }
@keyframes heroFloat { from { transform: translateY(0); } to { transform: translateY(-12px); } }
@media (max-width: 900px) { .hero-photo { max-width: 420px; border-radius: 24px; } }
@media (prefers-reduced-motion: reduce) { .hero-photo { animation: none; } }

/* v13 closing photo */
.closing-grid { display: flex; align-items: center; justify-content: center; gap: 56px; text-align: left; }
.closing-photo { flex: 0 1 380px; width: 100%; max-width: 380px; height: auto; aspect-ratio: 1 / 1; border-radius: 28px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.08); }
.closing-grid .closing-text { flex: 0 1 560px; min-width: 0; }
@media (max-width: 900px) { .closing-grid { flex-direction: column; text-align: center; gap: 32px; } .closing-photo { max-width: 300px; flex-basis: auto; } .closing-grid .closing-text { flex-basis: auto; } }

/* v14: menu for signed-in learners */
.nav .nav-link.is-current { color: var(--red); }
.nav .nav-link.is-current::after { transform: scaleX(1); }
.nav a.nav-admin { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; background: #fdecef; border: 1px solid #f6cdd5; color: var(--red-dark, #9c1830); font-size: 14px; font-weight: 700; }
.nav a.nav-admin:hover { background: #fbdde3; color: var(--red-dark, #9c1830); }
.nav .nav-logout-form { display: inline-flex; margin: 0; }
.nav .link-button.nav-logout { display: inline-flex; align-items: center; height: 40px; padding: 0 18px; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; text-decoration: none; transition: border-color 0.15s ease; }
.nav .link-button.nav-logout:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 720px) { .nav .nav-link.nav-keep { display: inline-flex; font-size: 15px; } .nav { gap: 4px 14px; } .nav .link-button.nav-logout { height: 36px; padding: 0 14px; font-size: 14px; } }
