@font-face {
  font-family: "Taowao";
  src: url("/assets/kantumruy-pro.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: light dark;
  --page: #faf9f5; --surface: #fffefa; --ink: #193237;
  --muted: #5d7068; --accent: #0d6470; --accent-hover: #084e59;
  --on-accent: #ffffff; --line: #dce2d7; --section: #eef1e9;
  --halo: #e2eee4; --orbit: #cbdccc; --closing: #0f5863;
  --closing-ink: #f9faf6; --closing-muted: #d0e2de;
  --note-shadow: #153f3010;
}
* { box-sizing: border-box; }
html { scroll-padding-top: 1.5rem; }
body { margin: 0; }
.landing-page { background: var(--page); color: var(--ink); font-family: "Taowao", "Avenir Next", sans-serif; font-size: 1rem; line-height: 1.7; -webkit-font-smoothing: antialiased; }
.landing-page h1, .landing-page h2, .landing-page h3, .landing-page p { margin: 0; }
.landing-page img { display: block; max-width: 100%; height: auto; }
.landing-page picture { display: block; }
.landing-page a { color: inherit; text-decoration: none; }
.landing-page a:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; border-radius: 5px; }
.landing-page a:hover { text-decoration: underline; text-underline-offset: 5px; }
.landing-page .shell { width: min(100% - 3rem, 70rem); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link:focus { position: absolute; z-index: 10; top: 1rem; left: 1rem; padding: .75rem 1rem; background: var(--surface); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .6rem 1rem; padding-block: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; max-width: 100%; font-size: 1.55rem; font-weight: 750; letter-spacing: -.04em; flex-shrink: 0; }
.brand picture { width: 2.75rem; flex-shrink: 0; }
.main-nav { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; align-items: center; max-width: 100%; min-width: 0; color: var(--muted); font-size: .9rem; }
.main-nav a, .language-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; max-width: 100%; text-align: center; overflow-wrap: anywhere; }
.language-nav { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; max-width: 100%; font-size: .85rem; flex-shrink: 0; }
.language-nav a { min-width: 44px; color: var(--muted); }
.language-nav a[aria-current="page"] { color: var(--accent); font-weight: 700; text-decoration: underline; text-underline-offset: 6px; }
.language-nav > span { width: 1px; height: .8rem; background: var(--line); }
.hero { display: grid; gap: 1.25rem; padding-block: 2.5rem 2rem; }
.hero-copy, .hero-actions, .category > div, .steps li > div { min-width: 0; overflow-wrap: anywhere; }
.eyebrow { color: var(--accent); font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 650; }
.hero h1 { margin-top: .9rem; font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.23; letter-spacing: -.045em; font-weight: 750; overflow-wrap: anywhere; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-intro { max-width: 30rem; margin-top: 1.1rem !important; font-size: .95rem; color: var(--muted); }
:lang(km) .eyebrow { letter-spacing: 0; font-size: .8rem; }
:lang(km) h1 { font-size: clamp(1.85rem, 4vw, 3rem); line-height: 1.7; letter-spacing: 0; }
:lang(km) h2, :lang(km) h3 { letter-spacing: 0; }
.hero-art { position: relative; isolation: isolate; overflow: hidden; overflow: clip; width: 100%; min-width: 0; height: 17rem; display: flex; align-items: center; justify-content: center; }
.art-halo { position: absolute; width: 15rem; height: 15rem; border-radius: 50%; background: var(--halo); z-index: -1; }
.art-orbit { position: absolute; width: min(95%, 20rem); height: 13rem; border: 1px solid var(--orbit); border-radius: 50%; transform: rotate(-25deg); z-index: -1; }
.hero-mascot { width: 15rem; max-width: 72%; }
.art-note { position: absolute; max-width: 50%; padding: .6rem .85rem; font-size: .75rem; line-height: 1.6; font-weight: 600; border: 1px solid var(--line); background: var(--surface); border-radius: .8rem; box-shadow: 0 5px 14px var(--note-shadow); }
.note-first { left: .5rem; top: .7rem; transform: rotate(-6deg); }
.note-second { right: .5rem; bottom: .4rem; transform: rotate(5deg); }
.art-dot { position: absolute; width: .5rem; height: .5rem; top: 35%; right: 4%; border-radius: 50%; background: #d5a446; }
.hero-actions { align-self: start; }
.primary-link { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 3.25rem; padding: .75rem 1.1rem; border-radius: .85rem; background: var(--accent); color: var(--on-accent) !important; font-weight: 650; font-size: .95rem; text-align: center; }
.primary-link:hover { background: var(--accent-hover); text-decoration: none !important; }
.link-arrow { margin-inline-start: .8rem; font-size: 1.5rem; font-weight: 400; line-height: 1; }
.availability { color: var(--muted); text-align: center; font-size: .75rem; margin-top: .65rem !important; }
.explore-section { background: var(--section); border-block: 1px solid var(--line); padding-block: 2.3rem; }
.section-heading h2 { font-size: clamp(1.4rem, 3vw, 2rem); line-height: 1.5; letter-spacing: -.025em; margin-top: .4rem; font-weight: 700; }
.categories { margin-top: 1.5rem; display: grid; gap: 0; }
.category { display: flex; align-items: baseline; gap: .85rem; border-top: 1px solid var(--line); padding-block: 1.2rem; }
.category:last-child { padding-bottom: 0; }
.category-number { flex-shrink: 0; color: var(--muted); font-size: .75rem; font-variant-numeric: tabular-nums; }
.category h3 { font-size: 1.05rem; font-weight: 650; }
.category p { color: var(--muted); font-size: .9rem; margin-top: .3rem; }
.how-section { padding-block: 2.5rem; }
.steps { display: grid; gap: 1.35rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.steps li { display: flex; gap: .9rem; }
.step-number { display: flex; flex-shrink: 0; align-items: center; justify-content: center; width: 1.8rem; height: 1.8rem; margin-top: .1rem; border-radius: 50%; border: 1px solid var(--orbit); color: var(--accent); font-size: .75rem; }
.steps h3 { font-size: .95rem; font-weight: 650; }
.steps p { margin-top: .25rem; font-size: .85rem; color: var(--muted); }
.closing-section { padding-bottom: 2.5rem; }
.closing-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1.5rem; border-radius: 1.2rem; background: var(--closing); color: var(--closing-ink); }
.closing-card img { width: 4.5rem; flex-shrink: 0; }
.closing-card > div { flex: 1; min-width: min(100%, 12rem); overflow-wrap: anywhere; }
.closing-card h2 { font-size: 1.2rem; line-height: 1.5; font-weight: 650; }
.closing-card p { font-size: .8rem; color: var(--closing-muted); margin-top: .35rem; }
.support-link { display: inline-flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; padding: .4rem .8rem; border: 1px solid var(--closing-muted); border-radius: .6rem; font-size: .8rem; }
.closing-card a:focus-visible { outline-color: var(--closing-ink); }
.site-footer { border-top: 1px solid var(--line); padding-block: 1.5rem max(1.5rem, env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; align-items: center; }
.footer-inner > div { max-width: 100%; overflow-wrap: anywhere; }
.footer-brand { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; font-size: 1rem; font-weight: 750; letter-spacing: -.03em; }
.copyright { color: var(--muted); font-size: .7rem; margin-top: .4rem !important; }
.footer-nav { display: flex; flex-wrap: wrap; gap: .2rem 1.3rem; align-items: center; max-width: 100%; min-width: 0; }
.footer-nav a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; max-width: 100%; overflow-wrap: anywhere; color: var(--muted); font-size: .8rem; }
@media (min-width: 800px) {
  .hero { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); column-gap: 3rem; row-gap: 1.8rem; padding-block: 4.5rem; }
  .hero-copy { grid-column: 1; }
  .hero-art { grid-column: 2; grid-row: 1 / 3; height: 100%; min-height: 24rem; }
  .hero-mascot { width: 22rem; }
  .art-halo { width: 22rem; height: 22rem; }
  .art-orbit { width: min(95%, 27rem); height: 19rem; }
  .art-note { font-size: .85rem; }
  .note-first { top: 7%; }
  .note-second { bottom: 7%; }
  .hero-actions { grid-column: 1; width: min(100%, 20rem); }
  .explore-section, .how-section { padding-block: 3.25rem; }
  .categories, .steps { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2.2rem; }
  .category:last-child { padding-bottom: 1.2rem; }
  .closing-card { padding: 2rem 2.5rem; gap: 1.5rem; }
  .closing-card img { width: 5.25rem; }
  .closing-card h2 { font-size: 1.5rem; }
}
@media (max-width: 650px) { .main-nav { display: none; } }
@media (max-width: 359px) {
  .landing-page .shell { width: calc(100% - 2rem); }
  .brand { font-size: 1.3rem; gap: .35rem; }
  .brand picture { width: 2.2rem; }
  .language-nav { gap: .1rem; }
  .hero h1 { font-size: 1.9rem; }
  :lang(km) .hero h1 { font-size: 1.7rem; }
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #142125; --surface: #203337; --ink: #f0f4ee;
    --muted: #b5c8be; --accent: #8bd0d0; --accent-hover: #b2e1dc;
    --on-accent: #14292d; --line: #344741; --section: #1b2d2c;
    --halo: #243d39; --orbit: #3b5a4f; --closing: #204a50;
    --closing-ink: #f0f4ee; --closing-muted: #d0e2de;
    --note-shadow: #00000025;
  }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
  .hero-copy, .hero-actions { animation: arrive .5s ease-out both; }
  .hero-art { animation: arrive .65s .08s ease-out both; }
  @keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
}
