/* Scormly public site */
@font-face { font-family: 'Lato'; font-weight: 400; font-display: swap; src: url(/player-fonts/lato-latin-400-normal.woff2) format('woff2'); }
@font-face { font-family: 'Lato'; font-weight: 700; font-display: swap; src: url(/player-fonts/lato-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Kantumruy Pro'; font-weight: 400; font-display: swap; src: url(/player-fonts/kantumruy-pro-khmer-400-normal.woff2) format('woff2'); unicode-range: U+1780-17FF, U+19E0-19FF, U+200B-200D, U+25CC; }

:root {
  --brand: #1f4f8f; --brand-2: #2f6fc0; --brand-soft: #e8f0fb; --accent: #f5a524;
  --ink: #142235; --ink-2: #4a5a6e; --line: #e3e8ef; --bg: #ffffff; --bg-2: #f5f8fc;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Lato, 'Kantumruy Pro', system-ui, -apple-system, 'Segoe UI', sans-serif; color: var(--ink); background: var(--bg); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: var(--brand-2); }
h1, h2, h3 { line-height: 1.2; letter-spacing: -.02em; margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 780px; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; font-weight: 700; border-radius: 12px; background: var(--brand); color: #fff; padding: 12px 20px; transition: transform .25s var(--ease), box-shadow .25s, background .2s; box-shadow: 0 8px 20px -10px rgba(31,79,143,.7); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px -12px rgba(31,79,143,.75); background: #1a4580; }
.btn-small { padding: 9px 16px; font-size: 15px; }
.btn-big { padding: 15px 26px; font-size: 17px; }
.btn-ghost { background: transparent; color: var(--brand); box-shadow: inset 0 0 0 2px #c9d8ee; }
.btn-ghost:hover { background: var(--brand-soft); box-shadow: inset 0 0 0 2px var(--brand-2); }
.btn.full { width: 100%; }
.btn.light { background: #fff; color: var(--brand); box-shadow: 0 10px 30px -12px rgba(0,0,0,.45); }
.btn.light:hover { background: #f2f6fc; }

/* nav */
.nav { position: sticky; top: 0; z-index: 20; background: rgba(255,255,255,.86); backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid rgba(227,232,239,.7); }
.nav-in { display: flex; align-items: center; gap: 28px; height: 66px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 21px; color: var(--ink); text-decoration: none; letter-spacing: -.02em; }
.logo-mark { width: 34px; height: 34px; border-radius: 10px; background: linear-gradient(135deg, var(--brand-2), var(--brand)); display: grid; place-items: center; box-shadow: 0 6px 14px -6px rgba(31,79,143,.8); }
.logo-mark svg { width: 22px; height: 22px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.logo.small { font-size: 18px; }
.logo.small .logo-mark { width: 28px; height: 28px; }
.nav-links { display: flex; gap: 26px; margin-left: auto; }
.nav-links a { color: var(--ink-2); text-decoration: none; font-weight: 700; font-size: 15px; }
.nav-links a:hover { color: var(--ink); }

/* hero */
.hero { position: relative; overflow: hidden; padding: 72px 0 84px; background:
  radial-gradient(900px 500px at 85% 10%, #e3edfb 0%, rgba(227,237,251,0) 60%),
  radial-gradient(700px 400px at 0% 100%, #fff4df 0%, rgba(255,244,223,0) 60%); }
.hero-in { display: grid; grid-template-columns: 1.02fr 1fr; gap: 56px; align-items: center; }
.pill { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 18px; padding: 7px 14px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: 14px; font-weight: 700; color: var(--ink-2); box-shadow: 0 4px 14px -8px rgba(20,34,53,.25); }
.pill .dot { width: 8px; height: 8px; border-radius: 50%; background: #22b573; box-shadow: 0 0 0 4px rgba(34,181,115,.18); }
.hero h1 { font-size: clamp(36px, 5.2vw, 60px); font-weight: 700; }
.hl { background: linear-gradient(120deg, var(--brand-2), #6b5cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 19px; color: var(--ink-2); margin: 20px 0 30px; max-width: 560px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 9px; }
.checks li { position: relative; padding-left: 30px; color: var(--ink-2); font-weight: 700; font-size: 15px; }
.checks li::before { content: ''; position: absolute; left: 0; top: 2px; width: 20px; height: 20px; border-radius: 50%; background: #e3f6ec 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-6.5' fill='none' stroke='%2322a06b' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }

/* hero illustration */
.hero-art { position: relative; height: 470px; }
.device { position: absolute; inset: 10px 10px 30px 0; background: #fff; border-radius: 18px; box-shadow: 0 40px 80px -30px rgba(20,34,53,.45), 0 0 0 1px rgba(20,34,53,.06); overflow: hidden; animation: rise 1s var(--ease) both; }
.dev-bar { height: 36px; background: #f3f6fa; display: flex; align-items: center; gap: 7px; padding: 0 14px; border-bottom: 1px solid var(--line); }
.dev-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d8dee7; }
.dev-bar span { margin-left: auto; font-size: 11px; color: #8a97a8; font-weight: 700; letter-spacing: .04em; }
.dev-body { display: grid; grid-template-columns: 34% 1fr; height: calc(100% - 36px); }
.dev-side { border-right: 1px solid var(--line); background: #fbfcfe; }
.dev-side-head { height: 92px; padding: 16px; background: linear-gradient(135deg, var(--brand), #10294d); position: relative; overflow: hidden; }
.dev-side-head::after { content: ''; position: absolute; right: -30px; top: -20px; width: 130px; height: 130px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.18); box-shadow: 0 0 0 16px rgba(255,255,255,.05), 0 0 0 32px rgba(255,255,255,.04); }
.dev-side-head b { display: block; width: 70%; height: 10px; border-radius: 6px; background: rgba(255,255,255,.9); }
.dev-side-head small { display: block; margin-top: 30px; width: 60%; height: 4px; border-radius: 4px; background: rgba(255,255,255,.35); }
.row { display: flex; align-items: center; gap: 8px; margin: 0; padding: 11px 14px; }
.row i { width: 10px; height: 10px; border-radius: 3px; background: #cfd7e2; }
.row b { flex: 1; height: 7px; border-radius: 5px; background: #dfe5ed; }
.row s { width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #c7d0db; }
.row.done s { background: var(--brand-2); border-color: var(--brand-2); }
.row.on { background: var(--brand-soft); box-shadow: inset 3px 0 0 var(--brand-2); }
.dev-main { padding: 22px 26px; }
.dev-title { width: 62%; height: 18px; border-radius: 8px; background: var(--ink); opacity: .85; }
.dev-rule { width: 64px; height: 4px; border-radius: 3px; background: var(--brand-2); margin: 14px 0 20px; }
.blk { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; opacity: 0; animation: blockIn 7s var(--ease) infinite; }
.blk .n { width: 24px; height: 24px; border-radius: 50%; background: var(--brand-2); color: #fff; font-size: 12px; font-weight: 700; display: grid; place-items: center; }
.blk i { flex: 1; height: 8px; border-radius: 5px; background: #e1e7ef; }
.b2 { animation-delay: .25s; } .b3 { animation-delay: .5s; }
.b2 i { margin-right: 18%; } .b3 i { margin-right: 32%; }
.dev-video { margin-top: 16px; height: 120px; border-radius: 12px; background: linear-gradient(135deg, #2b3d55, #18263a); display: grid; place-items: center; opacity: 0; animation: blockIn 7s var(--ease) infinite .75s; }
.play { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.95); position: relative; }
.play::after { content: ''; position: absolute; left: 18px; top: 13px; border-left: 13px solid var(--brand-2); border-top: 9px solid transparent; border-bottom: 9px solid transparent; }
.dev-btn { margin-top: 16px; height: 36px; border-radius: 6px; background: var(--brand-2); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .1em; display: grid; place-items: center; opacity: 0; animation: blockIn 7s var(--ease) infinite 1s; }
@keyframes blockIn { 0% { opacity: 0; transform: translateY(14px); } 10%, 82% { opacity: 1; transform: none; } 92%, 100% { opacity: 0; transform: translateY(-6px); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.float { position: absolute; background: #fff; border-radius: 14px; box-shadow: 0 20px 40px -18px rgba(20,34,53,.45), 0 0 0 1px rgba(20,34,53,.05); animation: bob 6s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-10px); } }
.card-quiz { right: -14px; top: 34px; padding: 12px 14px; display: grid; grid-template-columns: auto auto; gap: 2px 12px; align-items: center; font-size: 13px; }
.card-quiz b { grid-column: 1; }
.card-quiz small { grid-column: 1; color: #22a06b; font-weight: 700; }
.ring { grid-row: 1 / span 2; grid-column: 2; position: relative; width: 46px; height: 46px; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring circle { fill: none; stroke: #e6ebf2; stroke-width: 4; }
.ring .fg { stroke: #22b573; stroke-linecap: round; stroke-dasharray: 95; stroke-dashoffset: 95; animation: fill 7s var(--ease) infinite 1.2s; }
@keyframes fill { 0% { stroke-dashoffset: 95; } 20%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 95; } }
.ring em { position: absolute; inset: 0; display: grid; place-items: center; font-style: normal; font-size: 10px; font-weight: 700; }
.card-flip { left: -26px; bottom: 54px; width: 128px; height: 92px; perspective: 600px; background: none; box-shadow: none; animation-delay: -2s; }
.flip-in { position: relative; width: 100%; height: 100%; transform-style: preserve-3d; animation: flip 7s var(--ease) infinite; }
.flip-in .f { position: absolute; inset: 0; border-radius: 14px; display: grid; place-items: center; font-weight: 700; backface-visibility: hidden; box-shadow: 0 20px 40px -18px rgba(20,34,53,.45), 0 0 0 1px rgba(20,34,53,.05); }
.flip-in .front { background: #fff; }
.flip-in .back { background: var(--brand-2); color: #fff; transform: rotateY(180deg); }
@keyframes flip { 0%, 35% { transform: none; } 45%, 80% { transform: rotateY(180deg); } 90%, 100% { transform: none; } }
.card-scorm { right: 34px; bottom: 0; padding: 12px 16px; display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; animation-delay: -4s; }
.card-scorm svg { width: 20px; height: 20px; fill: none; stroke: var(--brand-2); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }

/* strip */
.strip { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #fff; }
.strip-in { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 14px 34px; padding: 22px 24px; color: #8593a6; font-size: 15px; }
.strip-in b { color: #5b6b80; font-size: 17px; letter-spacing: -.01em; }

/* sections */
.section { padding: 92px 0; }
.section.alt { background: var(--bg-2); }
.eyebrow { margin: 0 0 10px; color: var(--brand-2); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: 13px; }
.section h2 { font-size: clamp(28px, 3.6vw, 42px); max-width: 720px; }
.sub { color: var(--ink-2); font-size: 18px; margin: 14px 0 0; max-width: 640px; }
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 46px; }
.feat { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; transition: transform .3s var(--ease), box-shadow .3s; }
.feat:hover { transform: translateY(-4px); box-shadow: 0 24px 40px -26px rgba(20,34,53,.4); }
.ic { width: 46px; height: 46px; border-radius: 13px; background: var(--brand-soft); color: var(--brand-2); display: grid; place-items: center; font-size: 22px; font-weight: 700; }
.feat h3 { font-size: 20px; margin: 18px 0 8px; }
.feat p { margin: 0; color: var(--ink-2); }
.steps { list-style: none; padding: 0; margin: 46px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: s; }
.steps li { background: #fff; border-radius: 18px; padding: 28px; border: 1px solid var(--line); position: relative; }
.num { width: 40px; height: 40px; border-radius: 50%; background: var(--brand); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: 18px; }
.steps h3 { font-size: 20px; margin: 18px 0 8px; }
.steps p { margin: 0; color: var(--ink-2); }
.free { display: grid; grid-template-columns: 1fr 420px; gap: 56px; align-items: center; }
.price-card { background: #fff; border-radius: 22px; padding: 32px; border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(20,34,53,.45); }
.price { margin: 0 0 6px; color: var(--ink-2); font-weight: 700; }
.price span { font-size: 54px; color: var(--ink); letter-spacing: -.03em; margin-right: 6px; }
.price-card .checks { margin: 18px 0 26px; }
details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-top: 12px; padding: 0 22px; transition: box-shadow .2s; }
details[open] { box-shadow: 0 16px 30px -24px rgba(20,34,53,.4); }
summary { cursor: pointer; list-style: none; font-weight: 700; font-size: 17px; padding: 18px 30px 18px 0; position: relative; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 0; top: 14px; font-size: 24px; color: var(--brand-2); transition: transform .3s var(--ease); }
details[open] summary::after { transform: rotate(45deg); }
details p { margin: 0 0 18px; color: var(--ink-2); }
#faq h2 { margin-bottom: 26px; }
.final { background: linear-gradient(135deg, var(--brand), #10294d); color: #fff; position: relative; overflow: hidden; }
.final::before { content: ''; position: absolute; right: -120px; top: -160px; width: 520px; height: 520px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.14); box-shadow: 0 0 0 50px rgba(255,255,255,.04), 0 0 0 100px rgba(255,255,255,.03); }
.final-in { position: relative; text-align: center; padding: 84px 24px; }
.final h2 { font-size: clamp(28px, 3.6vw, 42px); }
.final p { color: rgba(255,255,255,.8); font-size: 18px; margin: 12px 0 28px; }
.foot { background: #0d1b2e; color: #9fb0c6; }
.foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 30px; padding: 34px 24px; font-size: 15px; }
.foot .logo { color: #fff; }
.foot p { margin: 0; }
.foot nav { display: flex; gap: 20px; margin-left: auto; }
.foot a { color: #c9d6e6; text-decoration: none; }
.foot a:hover { color: #fff; }
.copy { width: 100%; font-size: 13px; color: #6f8099; }

/* scroll reveal (only when JS runs) */
.js .feat, .js .steps li, .js .price-card, .js details, .js .section h2 { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.js .in { opacity: 1 !important; transform: none !important; }

/* privacy page */
.doc { padding: 60px 0 90px; }
.doc h1 { font-size: 40px; margin-bottom: 8px; }
.doc h2 { font-size: 22px; margin: 32px 0 8px; }
.doc p, .doc li { color: var(--ink-2); }

@media (max-width: 980px) {
  .hero-in, .free { grid-template-columns: 1fr; }
  .hero-art { height: 420px; max-width: 560px; margin: 10px auto 0; width: 100%; }
  .grid, .steps { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .wrap { padding: 0 16px; }
  .nav-links { display: none; }
  .nav-in { justify-content: space-between; }
  .hero { padding: 44px 0 56px; }
  .lead { font-size: 17px; }
  .hero-art { height: 340px; }
  .card-flip { left: -6px; width: 104px; height: 76px; }
  .card-quiz { right: -4px; }
  .grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .foot nav { margin-left: 0; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } .blk, .dev-video, .dev-btn { opacity: 1; } }
