:root {
  color-scheme: light;
  --navy: #07172d;
  --navy-2: #0d2340;
  --ink: #10213a;
  --muted: #657184;
  --line: #dce2e9;
  --paper: #f7f6f2;
  --white: #fff;
  --gold: #d3ad65;
  --gold-pale: #f1e8d5;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, "Noto Sans Khmer", "Khmer OS Battambang", "Noto Sans Thai", "Segoe UI", Tahoma, sans-serif;
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  --page-width: 1160px;
}
* { box-sizing: border-box; }
html[lang="km"] * { letter-spacing: normal; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-size: 16px; line-height: 1.65; }
a { color: inherit; }
button { font: inherit; }
::selection { background: var(--gold-pale); color: var(--navy); }
.skip-link { position: absolute; left: 16px; top: -100px; z-index: 20; padding: 10px 14px; background: white; color: var(--navy); border-radius: 6px; }
.skip-link:focus { top: 12px; }
.section-wrap, .nav-shell { width: min(var(--page-width), calc(100% - 64px)); margin-inline: auto; }
.site-header { position: relative; z-index: 10; background: rgba(247,246,242,.92); border-bottom: 1px solid rgba(16,33,58,.08); }
.nav-shell { min-height: 84px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { text-decoration: none; display: inline-flex; align-items: center; line-height: 1; gap: 11px; }
.brand-emblem { display: block; width: 48px; height: 48px; flex: 0 0 auto; border-radius: 50%; border: 1px solid rgba(211,173,101,.55); background: var(--navy); }
.brand-copy { display: flex; flex-direction: column; gap: 5px; }
.wordmark-name { color: var(--navy); font-size: 22px; letter-spacing: .16em; font-weight: 750; }
html[lang="km"] .wordmark-name { letter-spacing: .12em; }
.wordmark-name span { color: #927744; }
.wordmark-caption { font-size: 9px; color: #778294; font-weight: 600; }
.primary-nav { display: flex; align-items: center; gap: 38px; font-size: 13px; font-weight: 570; }
.primary-nav a { text-decoration: none; transition: color .2s ease; }
.primary-nav a:hover, .footer-links a:hover { color: #a17c3d; }
.primary-nav .nav-cta { border: 1px solid #b8a47c; padding: 10px 16px; border-radius: 4px; color: var(--navy); }
.nav-cta span { color: #a17c3d; margin-left: 8px; }
.menu-toggle { display: none; }
.hero { min-height: 630px; padding-top: 72px; padding-bottom: 74px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: center; }
.hero-copy { padding-block: 10px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 22px; color: #8b744b; font-size: 10px; letter-spacing: .19em; line-height: 1.4; font-weight: 720; }
.eyebrow-line { width: 30px; height: 1px; background: var(--gold); display: inline-block; flex: 0 0 auto; }
h1, h2, h3, p { margin-top: 0; }
h1 { color: var(--navy); font-size: clamp(42px, 5vw, 64px); line-height: 1.18; letter-spacing: -.045em; margin-bottom: 22px; font-weight: 740; }
h1 em, h2 em { font-family: var(--serif); font-weight: 400; color: #997942; letter-spacing: -.035em; }
.hero-description { max-width: 520px; color: #59677b; font-size: 16px; line-height: 1.9; margin-bottom: 30px; }
.hero-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.button { min-height: 50px; padding: 0 20px; display: inline-flex; align-items: center; justify-content: center; gap: 20px; text-decoration: none; font-size: 13px; font-weight: 650; border-radius: 3px; transition: transform .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--navy); color: white; }
.button-primary:hover { background: #17385f; }
.button-primary span { color: var(--gold); font-size: 18px; }
.text-link { color: var(--ink); text-decoration: none; font-size: 13px; font-weight: 630; }
.text-link span { color: #a17c3d; margin-left: 6px; }
.hero-proof { display: flex; align-items: center; gap: 24px; margin-top: 56px; }
.hero-proof div { display: flex; flex-direction: column; gap: 2px; }
.hero-proof strong { font-family: var(--serif); font-size: 26px; line-height: 1; color: var(--navy); font-weight: 400; letter-spacing: .03em; }
.hero-proof span { font-size: 10px; color: #738094; }
.hero-proof i { width: 1px; height: 34px; background: #d3d7dc; }
.hero-visual { position: relative; isolation: isolate; min-height: 455px; display: grid; place-items: center; background: #081a36; overflow: hidden; border-radius: 3px; box-shadow: 0 22px 60px rgba(7,23,45,.16); }
.hero-visual::before { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(211,173,101,.27); z-index: -1; }
.hero-visual::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse at 55% 48%, rgba(30,60,100,.58), transparent 60%), linear-gradient(150deg, #0c2345, #07152b 75%); }
.hero-visual img { display: block; width: min(86%, 390px); height: auto; mix-blend-mode: screen; }
.visual-orbit { position: absolute; border: 1px solid rgba(211,173,101,.12); border-radius: 50%; width: 75%; aspect-ratio: 1; z-index: -1; }
.orbit-one { transform: rotate(-28deg) scaleY(.75); }
.orbit-two { transform: rotate(28deg) scaleY(.75); }
.visual-kicker, .visual-index { position: absolute; color: rgba(245,242,232,.75); font-size: 9px; font-weight: 600; }
.visual-kicker { top: 34px; left: 38px; display: flex; align-items: center; gap: 9px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(211,173,101,.12); }
.visual-index { bottom: 32px; left: 38px; right: 38px; display: flex; justify-content: space-between; border-top: 1px solid rgba(255,255,255,.18); padding-top: 12px; }
.app-section { padding-top: 92px; padding-bottom: 98px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 35px; }
.section-heading .eyebrow { margin-bottom: 12px; }
h2 { color: var(--navy); font-size: clamp(30px, 4vw, 42px); line-height: 1.25; letter-spacing: -.035em; margin-bottom: 0; font-weight: 720; }
.section-intro { max-width: 345px; margin-bottom: 4px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.app-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 17px; }
.app-card { min-height: 435px; position: relative; display: flex; flex-direction: column; background: #fff; padding: 27px 25px 22px; border: 1px solid #e3e6e9; box-shadow: 0 8px 28px rgba(12,31,57,.035); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.app-card:hover { transform: translateY(-5px); box-shadow: 0 18px 36px rgba(12,31,57,.09); border-color: #d2bd94; }
.app-card-featured { border-top: 3px solid var(--gold); }
.card-topline { display: flex; justify-content: space-between; align-items: center; color: #8a96a5; font-size: 9px; letter-spacing: .13em; font-weight: 700; }
.app-number { color: #a0834d; font-family: var(--serif); font-size: 16px; letter-spacing: .05em; }
.app-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-top: 25px; margin-bottom: 14px; color: var(--navy); background: #f1eee7; border-radius: 50%; }
.app-icon svg { width: 31px; height: 31px; }
.icon-flow { color: #b18741; background: #f5efdf; }
.icon-label { color: #4c6680; background: #e9eff4; }
.icon-jiang { color: #32604e; background: #e9f0eb; }
.app-card h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; color: var(--navy); font-size: 23px; line-height: 1.3; letter-spacing: -.025em; margin-bottom: 3px; }
.khmer-name { font-size: 13px; font-weight: 500; color: #758194; }
.app-tagline { color: #8a7146; font-size: 12px; font-weight: 640; margin-bottom: 12px; }
.app-description { color: #687487; font-size: 12px; line-height: 1.8; margin-bottom: 15px; }
.feature-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 21px; }
.feature-chips span { border: 1px solid #e5e8eb; color: #6d7887; border-radius: 2px; padding: 3px 7px; font-size: 9px; line-height: 1.6; }
.card-link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 13px; border-top: 1px solid #e8ebee; color: var(--navy); text-decoration: none; font-size: 12px; font-weight: 700; }
.card-link span { color: #a17c3d; font-size: 17px; transition: transform .2s ease; }
.card-link:hover span { transform: translate(2px,-2px); }
.estimate-note { display: flex; gap: 9px; align-items: start; max-width: 750px; margin: 19px auto 0; color: #7b8592; font-size: 10px; line-height: 1.8; }
.estimate-note span { display: inline-grid; flex: 0 0 16px; height: 16px; place-items: center; border: 1px solid #c4ac7c; border-radius: 50%; color: #947543; font-size: 10px; font-family: var(--serif); }
.about-section { background: var(--navy); color: white; overflow: hidden; }
.about-inner { min-height: 450px; display: grid; grid-template-columns: .65fr 1.35fr .7fr; align-items: center; gap: 45px; padding-block: 76px; position: relative; }
.about-inner::before { content: ""; position: absolute; width: 460px; height: 460px; border: 1px solid rgba(211,173,101,.1); border-radius: 50%; left: -230px; top: -25px; pointer-events: none; }
.about-mark { width: 180px; height: 180px; border: 1px solid rgba(211,173,101,.35); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--gold); transform: rotate(-45deg); }
.about-mark > * { transform: rotate(45deg); }
.about-mark > span:first-child { font-family: var(--serif); font-size: 44px; line-height: 1; letter-spacing: .04em; }
.about-mark > span:last-child { font-size: 8px; letter-spacing: .18em; color: rgba(255,255,255,.58); }
.mark-rule { width: 32px; height: 1px; background: var(--gold); }
.eyebrow-light { color: #d9bd86; }
.about-copy h2 { color: white; margin-bottom: 20px; }
.about-copy h2 em { color: #d9bd86; }
.about-copy > p:not(.eyebrow) { max-width: 520px; color: rgba(255,255,255,.67); font-size: 13px; line-height: 1.9; margin-bottom: 24px; }
.about-link { display: inline-flex; align-items: center; gap: 12px; color: #e1c993; text-decoration: none; border-bottom: 1px solid rgba(211,173,101,.55); padding-bottom: 5px; font-size: 12px; font-weight: 650; }
.about-side-note { align-self: end; padding-bottom: 14px; }
.gold-rule { display: block; width: 40px; height: 2px; background: var(--gold); margin-bottom: 15px; }
.about-side-note p { color: rgba(255,255,255,.72); font-size: 11px; line-height: 1.9; }
.closing { min-height: 230px; display: flex; align-items: center; justify-content: space-between; gap: 30px; padding-block: 60px; }
.closing .eyebrow { margin-bottom: 10px; }
.closing h2 { font-size: clamp(27px, 3vw, 36px); margin-bottom: 8px; }
.closing-copy > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 12px; }
.button-dark { color: white; background: var(--navy); min-width: 190px; }
.button-dark:hover { background: #17385f; }
.button-dark span { color: var(--gold); font-size: 18px; }
.site-footer { background: #f0efeb; border-top: 1px solid #e1e2e0; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 25px; min-height: 140px; padding-block: 24px; }
.footer-wordmark .brand-emblem { width: 42px; height: 42px; }
.footer-wordmark .wordmark-name { font-size: 19px; }
.footer-main > p { color: var(--navy); font-size: 12px; font-weight: 620; line-height: 1.7; margin: 0; }
.footer-main > p span { color: #7b8490; font-size: 10px; font-weight: 400; }
.footer-links { display: flex; justify-content: end; flex-wrap: wrap; gap: 10px 18px; }
.footer-links a { color: #5f6b7b; font-size: 10px; text-decoration: none; transition: color .2s ease; }
.footer-bottom { border-top: 1px solid #dedfdd; min-height: 51px; display: flex; justify-content: space-between; align-items: center; color: #89919b; font-size: 9px; letter-spacing: .02em; }
.footer-bottom a { text-decoration: none; color: #687487; }
@media (max-width: 900px) {
  .section-wrap, .nav-shell { width: min(var(--page-width), calc(100% - 44px)); }
  .hero { min-height: auto; grid-template-columns: 1fr .85fr; gap: 32px; padding-top: 60px; padding-bottom: 62px; }
  .hero-visual { min-height: 390px; }
  .app-grid { grid-template-columns: repeat(2, 1fr); }
  .app-card:last-child { grid-column: 1 / -1; min-height: 365px; }
  .about-inner { grid-template-columns: .5fr 1.5fr; gap: 36px; }
  .about-side-note { grid-column: 2; align-self: start; }
  .about-mark { width: 145px; height: 145px; }
  .footer-main { grid-template-columns: 1fr 1fr; }
  .footer-links { grid-column: 1 / -1; justify-content: start; }
}
@media (max-width: 640px) {
  html { scroll-padding-top: 70px; }
  body { font-size: 15px; }
  .section-wrap, .nav-shell { width: calc(100% - 36px); }
  .nav-shell { min-height: 70px; }
  .wordmark-name { font-size: 19px; }
  .primary-nav { display: none; position: absolute; left: 0; right: 0; top: 70px; padding: 10px 18px 18px; flex-direction: column; align-items: stretch; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 12px 18px rgba(7,23,45,.08); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 12px 2px; }
  .primary-nav .nav-cta { text-align: center; margin-top: 6px; padding: 10px; }
  .menu-toggle { width: 42px; height: 42px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 1px solid #d9dce0; border-radius: 3px; background: transparent; color: var(--navy); cursor: pointer; }
  .menu-toggle span { width: 17px; height: 1px; background: currentColor; transition: transform .2s ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
  .hero { display: flex; flex-direction: column; align-items: stretch; gap: 36px; padding-top: 49px; padding-bottom: 53px; }
  .eyebrow { font-size: 8px; letter-spacing: .15em; margin-bottom: 17px; }
  h1 { font-size: clamp(40px, 12vw, 56px); margin-bottom: 17px; }
  .hero-description { font-size: 14px; line-height: 1.85; margin-bottom: 23px; }
  .hero-actions { gap: 20px; }
  .button { min-height: 48px; padding-inline: 15px; font-size: 12px; }
  .hero-proof { margin-top: 33px; gap: 18px; }
  .hero-visual { min-height: 340px; }
  .hero-visual img { width: min(82%, 320px); }
  .visual-kicker { top: 29px; left: 28px; font-size: 8px; }
  .visual-index { bottom: 27px; left: 28px; right: 28px; }
  .app-section { padding-top: 66px; padding-bottom: 67px; }
  .section-heading { display: block; margin-bottom: 25px; }
  .section-heading h2 { font-size: 32px; }
  .section-intro { font-size: 12px; margin-top: 12px; }
  .app-grid { grid-template-columns: 1fr; gap: 12px; }
  .app-card, .app-card:last-child { grid-column: auto; min-height: 0; padding: 23px 21px 19px; }
  .app-icon { margin-top: 20px; }
  .app-card h3 { font-size: 22px; }
  .app-description { font-size: 12px; }
  .feature-chips { margin-bottom: 18px; }
  .estimate-note { font-size: 9px; }
  .about-inner { display: grid; grid-template-columns: 1fr; gap: 25px; padding-block: 57px; }
  .about-mark { width: 100px; height: 100px; margin-left: 12px; }
  .about-mark > span:first-child { font-size: 32px; }
  .about-mark > span:last-child { font-size: 6px; }
  .about-copy h2 { font-size: 33px; }
  .about-copy > p:not(.eyebrow) { font-size: 12px; }
  .about-side-note { grid-column: auto; padding: 0; display: flex; align-items: start; gap: 12px; }
  .gold-rule { flex: 0 0 28px; margin-top: 10px; }
  .closing { min-height: 0; display: flex; flex-direction: column; align-items: stretch; padding-block: 52px; gap: 23px; }
  .closing h2 { font-size: 29px; }
  .button-dark { align-self: flex-start; }
  .footer-main { grid-template-columns: 1fr; gap: 17px; padding-block: 28px; }
  .footer-links { grid-column: auto; display: grid; grid-template-columns: 1fr 1fr; justify-content: start; gap: 12px; }
  .footer-links a { font-size: 10px; }
  .footer-bottom { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
