@font-face { font-family: 'Inter'; font-weight: 400; font-display: swap; src: url(/fonts/inter-latin-400-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 500; font-display: swap; src: url(/fonts/inter-latin-500-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 600; font-display: swap; src: url(/fonts/inter-latin-600-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 700; font-display: swap; src: url(/fonts/inter-latin-700-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Inter'; font-weight: 800; font-display: swap; src: url(/fonts/inter-latin-800-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Noto Sans Khmer'; font-weight: 400; font-display: swap; src: url(/fonts/noto-sans-khmer-khmer-400-normal.woff2) format('woff2'); unicode-range: U+1780-17FF, U+19E0-19FF, U+200C-200D, U+25CC; }
@font-face { font-family: 'Noto Sans Khmer'; font-weight: 500; font-display: swap; src: url(/fonts/noto-sans-khmer-khmer-500-normal.woff2) format('woff2'); unicode-range: U+1780-17FF, U+19E0-19FF, U+200C-200D, U+25CC; }
@font-face { font-family: 'Noto Sans Khmer'; font-weight: 600; font-display: swap; src: url(/fonts/noto-sans-khmer-khmer-600-normal.woff2) format('woff2'); unicode-range: U+1780-17FF, U+19E0-19FF, U+200C-200D, U+25CC; }
@font-face { font-family: 'Noto Sans Khmer'; font-weight: 700; font-display: swap; src: url(/fonts/noto-sans-khmer-khmer-700-normal.woff2) format('woff2'); unicode-range: U+1780-17FF, U+19E0-19FF, U+200C-200D, U+25CC; }

/* The palette is the app's own: its side bar navy and its brand blue, so the page and the
   product look like one thing. One border color, one radius for frames, none for sections. */
:root {
  --navy: #0c2340;
  --navy-2: #163456;
  --blue: #0175c2;
  --blue-dark: #015f9e;
  --ink: #16212c;
  --slate: #56677a;
  --muted: #8494a5;
  --line: #dde4ec;
  --line-strong: #c9d3de;
  --mist: #f4f7fa;
  --bg: #ffffff;
  --font: 'Inter', 'Noto Sans Khmer', system-ui, -apple-system, 'Segoe UI', Roboto, 'Khmer OS', sans-serif;
  --max: 1120px;
  --r: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--bg); }
body.lang-km { line-height: 1.9; }
body.modal-open { overflow: hidden; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; line-height: 1.2; letter-spacing: -0.015em; }
.lang-km h1, .lang-km h2, .lang-km h3, .lang-km h4 { line-height: 1.5; letter-spacing: 0; }
h1 { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0; }
a { color: var(--blue-dark); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { max-width: 100%; height: auto; display: block; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 760px; }
.section { padding: 88px 0; border-top: 1px solid var(--line); }
.section-head { max-width: 640px; margin-bottom: 48px; }
.section-head p { margin-top: 12px; color: var(--slate); font-size: 1.1rem; }
.split { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; align-items: start; }
.split-head h2 { max-width: 14em; }
.icon { width: 20px; height: 20px; flex: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 18px; border-radius: 8px; border: 1px solid transparent; font-weight: 600; font-size: 0.95rem; line-height: 1.4; cursor: pointer; white-space: nowrap; text-decoration: none; }
.btn:hover { text-decoration: none; }
.btn-sm { padding: 8px 14px; font-size: 0.9rem; }
.btn-lg { padding: 14px 24px; font-size: 1.02rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { background: #fff; color: var(--ink); border-color: var(--line-strong); }
.btn-outline:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .3); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #e9eff6; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .08); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--navy); color: #fff; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 20px; }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.15rem; color: inherit; letter-spacing: -0.02em; }
.logo:hover { text-decoration: none; }
.logo img { width: 28px; height: 28px; border-radius: 6px; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a:not(.btn) { color: rgba(255, 255, 255, .8); font-weight: 500; }
.nav-links > a:not(.btn):hover { color: #fff; text-decoration: none; }
.nav-links .lang-switch { padding: 5px 10px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; font-size: 0.88rem; }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; color: #fff; cursor: pointer; }
.nav-toggle .icon { width: 24px; height: 24px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* Hero: the one bold element on the page is the real product, large, in a dark frame. */
.hero { background: var(--navy); color: #fff; padding: 80px 0 0; overflow: hidden; }
.hero-copy { max-width: 760px; }
.hero h1 { color: #fff; }
.lead { margin-top: 22px; font-size: 1.2rem; color: rgba(255, 255, 255, .78); max-width: 620px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-note { margin-top: 16px; font-size: 0.92rem; color: rgba(255, 255, 255, .6); }
.hero-shot { position: relative; margin-top: 64px; padding-bottom: 0; }
.hero-shot .window { margin-bottom: -2px; border-bottom-left-radius: 0; border-bottom-right-radius: 0; box-shadow: 0 -1px 0 rgba(255, 255, 255, .08), 0 30px 80px rgba(0, 0, 0, .45); }
.hero-shot .window img { border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.hero-phone { position: absolute; right: 24px; bottom: 0; width: 17%; max-width: 230px; border-radius: 22px; border: 5px solid #0a1627; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }

/* A browser window frame around every app screenshot, so the pictures read as the product. */
.window { background: #0a1627; border-radius: var(--r); overflow: hidden; border: 1px solid rgba(0, 0, 0, .35); }
.window-bar { display: flex; gap: 6px; padding: 10px 12px; }
.window-bar i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .18); }
.window img { width: 100%; }

/* Facts under the hero: concrete terms, not icons. */
.facts { border-bottom: 1px solid var(--line); background: var(--mist); }
.facts-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.facts-grid > div { padding: 26px 24px 26px 0; }
.facts-grid > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.facts dt { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; color: var(--navy); line-height: 1.2; }
.lang-km .facts dt { line-height: 1.5; letter-spacing: 0; }
.facts dd { margin: 4px 0 0; color: var(--slate); font-size: 0.95rem; }

/* Features */
.feature { display: grid; grid-template-columns: 5fr 7fr; gap: 64px; align-items: center; padding: 56px 0; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature-flip .feature-copy { order: 2; }
.feature-copy h3 { font-size: 1.5rem; color: var(--navy); }
.feature-copy p { margin-top: 14px; color: var(--slate); font-size: 1.05rem; }
.checks { margin-top: 22px; display: grid; gap: 10px; }
.checks li { display: flex; align-items: flex-start; gap: 10px; }
.checks .icon { color: var(--blue); margin-top: 3px; }
.feature-shot { position: relative; }
.feature-shot .window { box-shadow: 0 20px 50px rgba(12, 35, 64, .18); }
.shot-phone { position: absolute; right: -12px; bottom: -24px; width: 24%; border-radius: 18px; border: 4px solid #0a1627; box-shadow: 0 20px 50px rgba(12, 35, 64, .3); background: #fff; }

/* "More" list and the maker note */
.list-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; }
.list-2 li { display: flex; gap: 14px; }
.list-2 .icon { color: var(--blue); margin-top: 4px; }
.list-2 h3 { font-size: 1.05rem; }
.list-2 p { margin-top: 4px; color: var(--slate); font-size: 0.97rem; }
.maker { background: var(--mist); }
.maker-text { font-size: 1.1rem; color: var(--ink); max-width: 620px; }

/* Add-ons */
.addon-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.addon-grid li { padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.addon-grid h3 { font-size: 1.05rem; color: var(--navy); }
.addon-grid p { margin-top: 6px; color: var(--slate); font-size: 0.95rem; }

/* Pricing: two plans side by side, the Plus plan marked by a navy header, not a glow. */
.plans { display: grid; grid-template-columns: repeat(2, minmax(0, 460px)); gap: 24px; }
.plan { position: relative; padding: 32px; border: 1px solid var(--line-strong); border-radius: var(--r); background: #fff; }
.plan-featured { border-color: var(--navy); }
.plan-badge { position: absolute; top: 0; right: 24px; transform: translateY(-50%); padding: 3px 10px; border-radius: 6px; background: var(--navy); color: #fff; font-size: 0.8rem; font-weight: 600; }
.plan h3 { font-size: 1.3rem; }
.plan-tagline { margin-top: 6px; color: var(--slate); min-height: 2.8em; }
.plan-price { margin-top: 20px; display: flex; align-items: baseline; gap: 6px; }
.plan-amount { font-size: 2.8rem; font-weight: 800; letter-spacing: -0.03em; color: var(--navy); line-height: 1; }
.plan-per { color: var(--muted); font-weight: 500; }
.plan-annual { margin-top: 6px; color: var(--muted); font-size: 0.92rem; }
.plan .checks { margin: 24px 0 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.pricing-annual { margin-top: 32px; font-weight: 600; color: var(--navy); }
.pricing-note { margin-top: 8px; color: var(--slate); font-size: 0.95rem; max-width: 720px; }

/* Steps: a real sequence, so numbers are earned here. */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.steps li { padding-top: 20px; border-top: 2px solid var(--navy); }
.step-n { display: block; font-weight: 700; color: var(--blue); margin-bottom: 8px; }
.steps h3 { font-size: 1.15rem; }
.steps p { margin-top: 8px; color: var(--slate); }

/* FAQ */
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 0; cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--muted); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding: 0 0 22px; color: var(--slate); max-width: 680px; }

/* Closing CTA, the same navy as the header and hero */
.cta { background: var(--navy); color: #fff; border-top: 0; }
.cta h2 { color: #fff; }
.cta p { margin-top: 12px; color: rgba(255, 255, 255, .78); font-size: 1.1rem; max-width: 560px; }

/* Footer */
.site-footer { padding: 56px 0 28px; color: var(--slate); font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
.footer-grid .logo { color: var(--ink); }
.footer-grid p { margin-top: 12px; max-width: 360px; }
.footer-grid h4 { margin-bottom: 12px; color: var(--ink); font-size: 0.95rem; }
.footer-grid a { display: block; color: var(--slate); margin-bottom: 8px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 0.88rem; color: var(--muted); }

/* Video modal */
.video-modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.video-modal[hidden] { display: none; }
.video-backdrop { position: absolute; inset: 0; background: rgba(6, 15, 28, .85); }
.video-dialog { position: relative; width: min(1100px, 100%); background: #000; border-radius: var(--r); overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.video-dialog video { width: 100%; aspect-ratio: 16 / 9; }
.video-close { position: absolute; top: 10px; right: 10px; z-index: 1; width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .9); color: var(--ink); cursor: pointer; display: flex; align-items: center; justify-content: center; }

/* Responsive */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; gap: 24px; }
  .feature { grid-template-columns: 1fr; gap: 32px; padding: 44px 0; }
  .feature-flip .feature-copy { order: 0; }
  .feature-shot { margin-bottom: 24px; }
  .list-2 { grid-template-columns: 1fr; gap: 24px; }
  .addon-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .plans { grid-template-columns: 1fr; }
  .facts-grid { grid-template-columns: 1fr 1fr; }
  .facts-grid > div { padding: 20px 24px 20px 0; }
  .facts-grid > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-grid > div:nth-child(n + 3) { border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .section { padding: 60px 0; }
  .hero { padding-top: 48px; }
  .hero-shot { margin-top: 40px; }
  .hero-phone { width: 26%; right: 8px; }
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; left: 0; right: 0; top: 64px; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .12); }
  .nav-links.open { display: flex; }
  .nav-links > a:not(.btn) { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav-links .lang-switch { border: 0; border-radius: 0; padding: 14px 0; font-size: 1rem; }
  .nav-links .btn { margin-top: 16px; }
  .hero-actions .btn { width: 100%; }
  .addon-grid { grid-template-columns: 1fr; }
  .shot-phone { width: 28%; right: -4px; bottom: -16px; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
