:root {
  /* design C · personal story: warm cream, deep brown text, orange accent, green for money */
  --bg: #fffaf3; --bg2: #fff1df; --card: #ffffff; --line: #f0e2cf; --text: #1f1408; --muted: #6f5c46;
  --orange: #ea580c; --orange2: #c2410c; --green: #15803d; --green2: #16a34a; --red: #dc2626; --radius: 18px;
  --input: #fffdf9;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; line-height: 1.6; font-size: 17px; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.center { text-align: center; }
h1, h2, h3 { line-height: 1.12; margin: 0 0 14px; letter-spacing: -0.02em; }
h1, h2 { font-family: "Fraunces", Georgia, serif; }
h1 { font-size: clamp(34px, 5.4vw, 58px); font-weight: 800; }
h2 { font-size: clamp(28px, 3.6vw, 40px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
.kicker { color: var(--orange); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; margin-bottom: 12px; display: block; }
.hl { color: var(--orange); }
.hlg { color: var(--green); }

/* nav */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(255,250,243,.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 66px; gap: 16px; }
.logo { font-weight: 800; font-size: 21px; text-decoration: none; letter-spacing: -0.02em; white-space: nowrap; }
.logo b { color: var(--orange); }
.nav .links { display: flex; gap: 22px; align-items: center; }
.nav .links a { text-decoration: none; color: var(--muted); font-size: 15px; font-weight: 500; }
.nav .links a:hover { color: var(--text); }
@media (max-width: 860px) { .nav .links .hide-m { display: none; } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 24px; border-radius: 14px; font-weight: 700; font-size: 16px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: transform .15s, box-shadow .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 10px 26px rgba(234,88,12,.28); }
.btn-primary:hover { background: var(--orange2); }
.btn-wa { background: #25d366; color: #fff; }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-green { background: var(--green2); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 14px; border-radius: 11px; }
.btn[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

/* sections */
section { padding: 88px 0; }
section.alt { background: var(--bg2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead { font-size: 19px; color: var(--muted); max-width: 720px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 900px) { .grid2, .grid3 { grid-template-columns: 1fr; } .grid4 { grid-template-columns: 1fr 1fr; } section { padding: 64px 0; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.card p { margin: 6px 0 0; color: var(--muted); }
.icon { width: 46px; height: 46px; border-radius: 13px; display: inline-flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 12px; background: rgba(251,146,60,.14); }
.icon.g { background: rgba(74,222,128,.14); }
.shot { border-radius: 14px; border: 1px solid var(--line); box-shadow: 0 20px 50px rgba(80,45,10,.14); }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 11px; border-radius: 999px; font-size: 13px; font-weight: 600; background: rgba(74,222,128,.13); color: var(--green); }
.badge.o { background: rgba(251,146,60,.14); color: var(--orange); }

/* hero */
.hero { padding: 72px 0 80px; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: -40% -20% auto auto; width: 900px; height: 900px; background: radial-gradient(closest-side, rgba(234,88,12,.10), transparent); pointer-events: none; }
.hero .grid2 { grid-template-columns: 1.05fr 1fr; }
.hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 28px 0 18px; }
.ticks { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--muted); font-size: 15px; }
.ticks li::before { content: "✓ "; color: var(--green); font-weight: 800; }
@media (max-width: 900px) { .hero .grid2 { grid-template-columns: 1fr; } }

/* stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: -40px; position: relative; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-align: center; }
.stat b { display: block; font-size: 28px; font-weight: 800; }
.stat span { color: var(--muted); font-size: 14px; }
@media (max-width: 900px) { .stats { grid-template-columns: 1fr 1fr; margin-top: 0; } }

/* proof */
.proof-num { font-size: 15px; color: var(--muted); }
.proof-num b { color: var(--green); font-size: 22px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* curriculum */
.mission { background: var(--card); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 12px; overflow: hidden; }
.mission summary { list-style: none; cursor: pointer; padding: 18px 22px; display: flex; align-items: center; gap: 16px; }
.mission summary::-webkit-details-marker { display: none; }
.mission .mnum { flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(251,146,60,.14); color: var(--orange); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.mission .mt { flex: 1; font-weight: 700; font-size: 18px; }
.mission .mm { color: var(--muted); font-size: 14px; white-space: nowrap; }
.mission .chev { transition: transform .2s; color: var(--muted); }
.mission[open] .chev { transform: rotate(180deg); }
.lessons { list-style: none; margin: 0; padding: 0 22px 14px 84px; }
.lessons li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 15px; }
@media (max-width: 600px) { .lessons { padding-left: 22px; } .mission .mm { display: none; } }

/* pricing */
.price-card { max-width: 560px; margin: 0 auto; background: var(--card); border: 2px solid var(--orange); border-radius: 24px; padding: 34px; text-align: center; box-shadow: 0 30px 80px rgba(80,45,10,.12); }
.price { font-size: 56px; font-weight: 800; letter-spacing: -0.03em; margin: 6px 0 2px; }
.price-card ul { text-align: left; list-style: none; padding: 0; margin: 22px 0 26px; }
.price-card li { padding: 7px 0 7px 30px; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.steps .card { text-align: left; }
.steps .n { color: var(--orange); font-weight: 800; }
@media (max-width: 800px) { .steps { grid-template-columns: 1fr; } }

/* faq */
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; color: var(--orange); font-size: 22px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq p { color: var(--muted); margin: 10px 0 0; }

footer { padding: 40px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
footer a { color: var(--muted); margin-right: 16px; }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

/* app pages (auth, pay, course, lesson, admin) */
.app-main { min-height: calc(100vh - 66px); padding: 40px 0 80px; }
.form-card { max-width: 460px; margin: 30px auto; }
label { display: block; font-size: 14px; font-weight: 600; margin: 14px 0 6px; color: var(--muted); }
input, select, textarea { width: 100%; padding: 13px 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--input); color: var(--text); font: inherit; font-size: 16px; }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(251,146,60,.5); border-color: transparent; }
.tabs { display: flex; gap: 6px; background: var(--input); padding: 5px; border-radius: 14px; margin-bottom: 8px; }
.tabs button { flex: 1; padding: 10px; border-radius: 10px; border: 0; background: transparent; color: var(--muted); font: inherit; font-weight: 700; cursor: pointer; }
.tabs button.on { background: var(--card); color: var(--text); }
.msg { margin-top: 14px; padding: 12px 14px; border-radius: 12px; font-size: 15px; display: none; }
.msg.err { display: block; background: #fdecec; color: #b91c1c; }
.msg.ok { display: block; background: #e9f7ee; color: #166534; }
.or { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 13px; margin: 18px 0; }
.or::before, .or::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.pay-box { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.pay-opt { border: 1px solid var(--line); border-radius: 14px; padding: 16px; background: var(--input); }
.pay-opt b { display: block; font-size: 18px; }
@media (max-width: 600px) { .pay-box { grid-template-columns: 1fr; } }
.status { display: inline-flex; padding: 6px 12px; border-radius: 999px; font-weight: 700; font-size: 14px; }
.status.pending { background: #fef3c7; color: #92400e; }
.status.approved { background: rgba(74,222,128,.14); color: var(--green); }
.status.rejected { background: rgba(248,113,113,.14); color: var(--red); }

.progress-bar { height: 10px; border-radius: 99px; background: var(--input); overflow: hidden; border: 1px solid var(--line); }
.progress-bar div { height: 100%; background: linear-gradient(90deg, var(--green2), var(--green)); width: 0; }
.lessons.app li a { text-decoration: none; display: flex; gap: 10px; align-items: center; color: var(--text); }
.lessons.app li a:hover { color: var(--orange); }
.dot { width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--line); flex: none; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; }
.dot.done { background: var(--green2); border-color: var(--green2); color: #fff; }

.player-layout { display: grid; grid-template-columns: 1fr 340px; gap: 24px; align-items: start; }
@media (max-width: 1000px) { .player-layout { grid-template-columns: 1fr; } }
.player { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.player iframe, .player video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.player .wm { position: absolute; z-index: 3; pointer-events: none; user-select: none; color: rgba(255,255,255,.3); font-size: 13px; font-weight: 600; text-shadow: 0 1px 2px rgba(0,0,0,.5); transition: left 1.2s ease, top 1.2s ease; white-space: nowrap; }
.player .empty { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; text-align: center; color: var(--muted); padding: 20px; }
.side { max-height: 78vh; overflow: auto; }
.side .lessons { padding: 0; }
.side .lessons li.cur a { color: var(--orange); font-weight: 700; }
.side h4 { margin: 14px 0 4px; font-size: 14px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
table.admin { width: 100%; border-collapse: collapse; font-size: 15px; }
table.admin th, table.admin td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.admin th { color: var(--muted); font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: .06em; }
.hidden { display: none !important; }

/* design C extras */
.status.new, .status.rejected { background: #f3ece2; color: var(--muted); }
.status.rejected { background: #fdecec; color: #b91c1c; }
.video { position: relative; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 26px 70px rgba(80,45,10,.2); aspect-ratio: 16 / 9; background: #0b1020; cursor: pointer; }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.video .play { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.video .play span { width: 84px; height: 84px; border-radius: 50%; background: var(--orange); display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 40px rgba(0,0,0,.35); }
.video .play span::after { content: ""; border-left: 26px solid #fff; border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 6px; }
.video .vcap { position: absolute; left: 14px; bottom: 12px; background: rgba(0,0,0,.66); color: #fff; font-size: 13px; padding: 6px 11px; border-radius: 9px; }
.inc { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; }
.inc .l { font-size: 13px; color: var(--muted); } .inc .v { font-size: 26px; font-weight: 800; color: var(--green); } .inc img { width: 28px; height: 28px; margin-bottom: 8px; object-fit: contain; }
.total { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 14px; padding: 18px 22px; border-radius: 16px; background: #fde7d3; border: 1px solid var(--line); }
.total b { font-size: 34px; color: var(--green); }
.cred { display: flex; gap: 14px; align-items: center; } .cred .n { font-size: 30px; font-weight: 800; color: var(--orange); font-family: "Fraunces", Georgia, serif; }
.wk .d { font-weight: 800; color: var(--orange); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
table.cost { width: 100%; border-collapse: collapse; } table.cost td { padding: 11px 6px; border-bottom: 1px solid var(--line); } table.cost td:last-child { text-align: right; font-weight: 700; }
.guar { display: flex; gap: 14px; align-items: center; text-align: left; margin-top: 18px; padding: 14px 16px; border-radius: 14px; background: #fde7d3; }
.guar .i { font-size: 30px; }
.grid5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
@media (max-width: 900px) { .grid5 { grid-template-columns: 1fr 1fr; } }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 34px; align-items: center; }
.mob-only { display: none; } .mob-only .video { margin: 18px 0 8px; }
.quote { font-size: clamp(32px, 4.6vw, 54px); }
.sticky-cta { display: none; }
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(20,12,4,.86); display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.on { display: flex; } .lightbox img { max-height: 90vh; border-radius: 12px; }
.lightbox .x { position: absolute; top: 16px; right: 20px; color: #fff; font-size: 34px; background: none; border: 0; cursor: pointer; }
.thumbs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.thumbs img { cursor: zoom-in; border-radius: 12px; border: 1px solid var(--line); aspect-ratio: 16 / 10; object-fit: cover; object-position: top; width: 100%; }
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; } .mob-only { display: block; } .desk-only { display: none; }
  .thumbs { grid-template-columns: 1fr 1fr; }
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: var(--card); border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(80,45,10,.12); }
  .sticky-cta .btn-primary { flex: 1; } body.has-sticky { padding-bottom: 76px; } body.has-sticky .wa-float { display: none; }
}
.copy { margin-left: 8px; padding: 4px 10px; border-radius: 8px; border: 1px solid var(--line); background: var(--card); font: inherit; font-size: 13px; cursor: pointer; color: var(--text); }
.section-title { max-width: 760px; }
.nav .links a.btn { color: #fff; } .nav .links a.btn:hover { color: #fff; }
@media (max-width: 900px) { .grid5 > :last-child { grid-column: span 2; } }

/* ---- layout fixes (phone first) ---- */
.co-grid { display: grid; grid-template-columns: 1.25fr .75fr; align-items: start; gap: 28px; }
.co-grid aside { position: sticky; top: 90px; }
.dash-head { display: grid; grid-template-columns: 1.4fr 1fr; align-items: end; gap: 28px; }
@media (max-width: 900px) {
  .co-grid, .dash-head { grid-template-columns: 1fr; gap: 18px; }
  .co-grid aside { position: static; order: -1; }
  .co-grid aside .ticks { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px !important; font-size: 15px; }
  .co-grid aside .price { font-size: 34px !important; margin-top: 10px !important; }
}
@media (max-width: 600px) {
  .nav .wrap { height: 58px; }
  .logo { font-size: 19px; }
  .logo .muted { display: none; }
  .nav .links { gap: 14px; }
  .nav .links a { font-size: 14px; }
  .app-main { padding: 24px 0 64px; }
  .card { padding: 20px; }
  .co-grid h1, .dash-head h1 { font-size: 28px !important; }
  .tabs { overflow-x: auto; }
  .tabs button { flex: 0 0 auto; white-space: nowrap; padding: 10px 14px; }
  #vlist > div { grid-template-columns: 1fr !important; }
  footer .wrap { flex-direction: column; gap: 8px; }
}
#list table, #src table { min-width: 620px; }
.site-foot .wrap > div:last-child a:last-child { margin-right: 0; }
.err-page { min-height: calc(100vh - 66px); display: grid; place-items: center; padding: 60px 0; text-align: center; }
.err-page .big { font-family: "Fraunces", Georgia, serif; font-size: clamp(96px, 18vw, 180px); font-weight: 800; line-height: 1; color: var(--orange); letter-spacing: -.04em; }
