:root {
  --green: #014e37; --green-dark: #003827; --green-soft: #e8f1ed; --green-line: #cfe1d9;
  --gold: #cc9729; --gold-dark: #9c6f12; --gold-soft: #fbf3df;
  --ink: #18241f; --ink-soft: #4b5a54; --muted: #7a8781; --line: #e3e8e5; --bg: #f5f6f3; --card: #fff;
  --danger: #a3242f; --radius: 12px; --radius-lg: 18px;
  --font-body: 'Plus Jakarta Sans', system-ui, sans-serif; --font-display: 'Fraunces', Georgia, serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-body); font-size: 15.5px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: var(--green); }
img { max-width: 100%; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; letter-spacing: -.01em; margin: 0; }
h1 { font-size: 1.75rem; } h2 { font-size: 1.3rem; } h3 { font-size: 1.1rem; }
h4, h5, h6 { margin: 0; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }

/* header */
.top { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 64px; }
.top .brand img { height: 38px; width: auto; display: block; }
.nav { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.nav a, .nav button { font: inherit; font-weight: 600; font-size: 14px; color: var(--ink-soft); text-decoration: none; padding: 8px 12px; border-radius: 999px; background: none; border: 0; cursor: pointer; }
.nav a:hover, .nav button:hover { background: var(--green-soft); color: var(--green); }
.nav a.on { background: var(--green-soft); color: var(--green); }
.nav form { display: inline; margin: 0; }
.menu-toggle { display: none; }
@media (max-width: 760px) {
  .menu-toggle { display: inline-flex; font: inherit; font-weight: 600; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 14px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 12px; flex-direction: column; align-items: stretch; }
  .nav.open { display: flex; }
}
main { padding: 24px 0 56px; min-height: 60vh; }
.footer { border-top: 1px solid var(--line); background: #fff; padding: 22px 0; font-size: 13px; color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.footer a { color: var(--muted); }

/* building blocks */
.page-head { margin-bottom: 18px; }
.page-head p { color: var(--ink-soft); margin: 4px 0 0; }
.kicker { font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 700; color: var(--gold-dark); }
.back { display: inline-block; font-size: 14px; margin-bottom: 10px; text-decoration: none; }
.back:hover { text-decoration: underline; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 14px; }
.card h3 { margin-bottom: 6px; }
.muted { color: var(--muted); } .small { font-size: 13.5px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.tile { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
a.tile:hover { box-shadow: 0 6px 20px rgba(1,78,55,.08); transform: translateY(-1px); }
.tile img { height: 52px; width: auto; max-width: 100%; object-fit: contain; display: block; margin-bottom: 10px; }
.tile h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; margin-bottom: 16px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; }
.stat b { display: block; font-size: 1.35rem; } .stat span { font-size: 12.5px; color: var(--muted); }
.sec { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-soft); margin: 22px 0 10px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spread { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; flex-wrap: wrap; }

/* buttons, badges, forms */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font: inherit; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; text-decoration: none; line-height: 1.2; }
.btn-primary { background: var(--green); color: #fff; } .btn-primary:hover { background: var(--green-dark); }
.btn-gold { background: var(--gold); color: #fff; } .btn-gold:hover { background: var(--gold-dark); }
.btn-ghost { background: #fff; color: var(--ink-soft); border-color: var(--line); } .btn-ghost:hover { border-color: var(--green); color: var(--green); }
.btn-outline { background: #fff; color: var(--green); border-color: var(--green); } .btn-outline:hover { background: var(--green-soft); }
.btn-sm { padding: 6px 12px; font-size: 13px; }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.badge { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; background: var(--green-soft); color: var(--green); vertical-align: middle; }
.badge-gold { background: var(--gold-soft); color: var(--gold-dark); } .badge-muted { background: #eef0ef; color: var(--muted); } .badge-solid { background: var(--green); color: #fff; }
label { display: block; font-weight: 600; font-size: 13.5px; margin-bottom: 5px; }
.input, input[type=text], input[type=email], input[type=password], input[type=number], input[type=tel], input[type=file], select, textarea {
  width: 100%; font: inherit; font-size: 15px; padding: 10px 12px; border: 1px solid #cdd6d2; border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(1,78,55,.12); }
.field { margin-bottom: 14px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-weight: 400; }
.check input { margin-top: 4px; }
.form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 10px 12px; align-items: end; }
.form-grid .full { grid-column: 1 / -1; }
.err { color: var(--danger); font-size: 13px; margin-top: 4px; }
.hint { color: var(--muted); font-size: 12.5px; margin-top: 4px; }
.alert { padding: 11px 14px; border-radius: 10px; margin-bottom: 14px; font-size: 14.5px; }
.alert-success { background: #e6f3ec; color: #0d4a32; border: 1px solid #c3e2d1; }
.alert-error { background: #fbeaec; color: #7a1520; border: 1px solid #f1c7cc; }
.alert-info { background: #eef3fb; color: #1d3f72; border: 1px solid #cfdcf1; }
details > summary { cursor: pointer; color: var(--green); font-weight: 600; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); font-weight: 700; }
.table-wrap { overflow-x: auto; }
.inline { display: inline; margin: 0; }

/* auth */
.auth { max-width: 440px; margin: 20px auto; }
.auth .card { padding: 26px; }
.auth h1 { margin-bottom: 6px; }

/* program & modules */
.prog-head { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 18px 20px; margin-bottom: 16px; }
.prog-head img { height: 64px; width: auto; max-width: 180px; object-fit: contain; }
.prog-head .grow { flex: 1; min-width: 220px; }
.prog-head p { margin: 4px 0 0; color: var(--ink-soft); font-size: 14.5px; }
.offer { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 12px; margin-bottom: 18px; }
.offer .card { margin: 0; }
.sub { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: #fff; border-radius: var(--radius); padding: 16px 18px; }
.sub b { font-size: 1.4rem; } .sub .small { opacity: .9; }
.sub .btn { background: #fff; color: var(--green); }
.mods { display: grid; gap: 10px; }
.mod { display: grid; grid-template-columns: 42px 1fr auto; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.mod.locked { background: #fafbfa; }
.num { width: 42px; height: 42px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 700; background: var(--green-soft); color: var(--green); }
.mod.locked .num { background: #eef0ef; color: var(--muted); }
.mod.done .num { background: var(--gold); color: #fff; }
.mod h4 { font-size: 1rem; margin-bottom: 2px; }
.mod p { margin: 0; font-size: 13.5px; color: var(--muted); }
.bar { height: 6px; background: #e4ebe8; border-radius: 99px; overflow: hidden; margin-top: 8px; max-width: 280px; }
.bar span { display: block; height: 100%; background: var(--green); }
.acts { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; align-items: center; }
.acts form { display: inline; margin: 0; }
@media (max-width: 640px) { .mod { grid-template-columns: 42px 1fr; } .acts { grid-column: 1 / -1; justify-content: flex-start; } }

/* lesson */
.learn { display: grid; grid-template-columns: 280px 1fr; gap: 16px; align-items: start; }
@media (max-width: 900px) { .learn { grid-template-columns: 1fr; } .side { order: 2; } }
.side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.side a { display: flex; gap: 10px; align-items: flex-start; padding: 8px 10px; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 14px; }
.side a:hover, .side a.on { background: var(--green-soft); } .side a.on { font-weight: 700; }
.dot { flex: none; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #c6d1cd; margin-top: 1px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; color: #fff; }
.dot.ok { background: var(--green); border-color: var(--green); }
.video { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; background: #0c1f19; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.pdf { width: 100%; height: 70vh; min-height: 420px; border: 1px solid var(--line); border-radius: var(--radius); background: #f1f3f2; }
.q { border-top: 1px solid var(--line); padding: 14px 0; } .q:first-of-type { border-top: 0; }
.q label { display: flex; gap: 10px; align-items: flex-start; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; margin: 7px 0 0; cursor: pointer; font-weight: 400; font-size: 15px; }
.q label:hover { border-color: var(--green); } .q input { margin-top: 4px; }
.body-text { white-space: pre-line; color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* events (Career Coaching Week): passport */
.pass { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 10px; margin-bottom: 18px; }
.pass .step { display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; }
.pass .step.ok { border-color: var(--green-line); background: var(--green-soft); }
.pass .step .dot { width: 26px; height: 26px; font-size: 13px; margin-top: 0; }
.pass .step b { display: block; font-size: 14.5px; }
.pass .step span { font-size: 13px; color: var(--ink-soft); }
.mod .when { font-size: 13px; color: var(--ink-soft); font-weight: 600; }
.mod.live { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.code-form { display: flex; gap: 6px; }
.code-form input { width: 120px; text-transform: uppercase; letter-spacing: .08em; padding: 6px 10px; font-size: 14px; }
.big-code { font-family: ui-monospace, Menlo, monospace; font-size: 1.15rem; letter-spacing: .15em; font-weight: 700; color: var(--green); }
/* recorded classes (tahap 2) */
.cat-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-end; flex-wrap: wrap; margin-bottom: 14px; }
.cat-search { display: flex; gap: 8px; flex: 1; max-width: 420px; min-width: 240px; }
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { font-size: 13.5px; font-weight: 600; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink-soft); text-decoration: none; }
.chip:hover { border-color: var(--green); color: var(--green); }
.chip.on { background: var(--green); border-color: var(--green); color: #fff; }
.courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.course-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: inherit; text-decoration: none; transition: box-shadow .15s, transform .15s; }
.course-card:hover { box-shadow: 0 8px 24px rgba(1,78,55,.10); transform: translateY(-2px); }
.cover { aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--green) 0%, #0b6b4d 60%, var(--gold) 140%); position: relative; overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover .ph { position: absolute; inset: 0; display: flex; align-items: flex-end; padding: 14px 16px; color: #fff; font-family: var(--font-display); font-size: 1.15rem; line-height: 1.25; }
.course-card .body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.course-card h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; line-height: 1.35; }
.course-card .meta { font-size: 13px; color: var(--muted); }
.course-card .price { margin-top: auto; padding-top: 6px; font-weight: 700; color: var(--green); }
.price-free { color: var(--gold-dark); }
.course-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 22px; align-items: start; margin-bottom: 8px; }
@media (max-width: 860px) { .course-hero { grid-template-columns: 1fr; } }
.course-hero h1 { font-size: 2rem; line-height: 1.2; margin: 4px 0 8px; }
.course-hero .lead { color: var(--ink-soft); font-size: 1.05rem; margin: 0 0 12px; }
.facts { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 14px; color: var(--ink-soft); margin: 0 0 6px; padding: 0; list-style: none; }
.facts li::before { content: "•"; color: var(--gold); margin-right: 6px; }
.buybox { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; position: sticky; top: 80px; }
@media (max-width: 860px) { .buybox { position: static; } }
.buybox .in { padding: 16px 18px 18px; display: grid; gap: 10px; }
.buybox .amount { font-size: 1.6rem; font-weight: 700; font-family: var(--font-display); }
.syllabus { list-style: none; margin: 0; padding: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.syllabus li { display: grid; grid-template-columns: 30px 1fr auto; gap: 10px; align-items: center; padding: 11px 14px; border-top: 1px solid var(--line); font-size: 14.5px; }
.syllabus li:first-child { border-top: 0; }
.syllabus .ix { color: var(--muted); font-weight: 700; font-size: 13px; }
.syllabus .ty { font-size: 12.5px; color: var(--muted); }
.prose { white-space: pre-line; color: var(--ink-soft); }
.side a.btn { justify-content: center; font-weight: 700; color: #fff; }
.side a.btn-primary:hover { background: var(--green-dark); } .side a.btn-gold:hover { background: var(--gold-dark); }
