/* ==========================================================================
   SETFO — Luminous Digital Public Service Portal
   Self-contained static stylesheet (file:// safe, zero build required)
   Palette anchored strictly to SETFO official brand tokens:
   Primary #1F60C1 · Hover #4C80CE · Navy #072441 · Tints #D0DAEC / #D6E4FB
   Surface #F5F8FD · Ink #171717 · Muted #4B5563 · Line #E3E8F0
   ========================================================================== */

/* ---- Self-hosted variable fonts (offline / file:// safe) ---- */
@font-face {
  font-family: "Kantumruy Pro";
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url("/fonts/kantumruy-pro-khmer-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+1780-17FF, U+19E0-19FF, U+200C-200D, U+25CC;
}
@font-face {
  font-family: "Kantumruy Pro";
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url("/fonts/kantumruy-pro-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Kantumruy Pro";
  font-style: normal;
  font-display: swap;
  font-weight: 100 700;
  src: url("/fonts/kantumruy-pro-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("/fonts/inter-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---- Design Tokens ---- */
:root {
  --primary: #1F60C1;
  --primary-hover: #4C80CE;
  --primary-strong: #174B9A;
  --primary-tint: #D0DAEC;
  --primary-tint-strong: #D6E4FB;
  --primary-light: #9FC0F0;
  --ice: #EEF3FC;
  --surface: #F5F8FD;
  --white: #FFFFFF;
  --navy: #072441;
  --navy-deep: #061E36;
  --navy-mid: #0C3159;
  --ink: #171717;
  --ink-muted: #4B5563;
  --line: #E3E8F0;
  --line-strong: #9FB3D6;
  --sample-amber: #F5C26B;

  --grad-brand: linear-gradient(115deg, #1F60C1 0%, #3170CE 55%, #4C80CE 100%);
  --grad-brand-deep: linear-gradient(140deg, #1F60C1 0%, #164C9E 60%, #0E3777 100%);
  --grad-accent-text: linear-gradient(95deg, #1F60C1 0%, #3474D4 55%, #4C80CE 100%);

  --font-display: "Kantumruy Pro", "Inter", system-ui, -apple-system, sans-serif;
  --font-en: "Inter", "Kantumruy Pro", system-ui, -apple-system, sans-serif;
  --font-km: "Kantumruy Pro", "Inter", system-ui, -apple-system, sans-serif;

  --radius-sm: 10px;
  --radius-control: 12px;
  --radius-card: 18px;
  --radius-lg: 22px;
  --radius-xl: 26px;

  --shadow-soft: 0 18px 42px -24px rgba(31, 96, 193, 0.26);
  --shadow-elevated: 0 26px 56px -26px rgba(31, 96, 193, 0.36);
  --shadow-navy: 0 28px 60px -30px rgba(7, 36, 65, 0.55);

  --ease-out-soft: cubic-bezier(0.22, 0.61, 0.36, 1);
  --container-max: 1200px;
  --header-h: 80px;
  --scroll-offset: 96px;
}

/* ---- Reset & Base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color: var(--ink);
  background: var(--white);
  -webkit-text-size-adjust: 100%;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-en);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

html[lang="km"] body {
  font-family: var(--font-km);
  line-height: 1.82;
}

::selection {
  background: var(--primary-tint-strong);
  color: var(--navy);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--primary);
  transition: color 0.18s var(--ease-out-soft);
}

a:hover {
  color: var(--navy);
}

button {
  font: inherit;
}

h1, h2, h3, h4, p, ul, ol {
  margin: 0;
}

ul, ol {
  padding: 0;
  list-style: none;
}

:focus-visible {
  outline: 3px solid var(--primary-hover);
  outline-offset: 2px;
  border-radius: 6px;
}

section[id] {
  scroll-margin-top: var(--scroll-offset);
}

/* ---- Skip Link & Screen Reader ---- */
.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 200;
  background: var(--navy);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  box-shadow: var(--shadow-navy);
  transition: top 0.2s var(--ease-out-soft);
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ---- Layout Container & Shared Typography ---- */
.wrap {
  width: min(var(--container-max), 100% - 48px);
  margin-inline: auto;
}

.wrap--narrow {
  width: min(1000px, 100% - 48px);
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(68px, 7.5vw, 104px);
  position: relative;
}

.section-surface {
  background: var(--surface);
}

.section-white {
  background: var(--white);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.01em;
}

html[lang="km"] .eyebrow {
  letter-spacing: 0;
  font-size: 13.5px;
}

.eyebrow__diamond {
  width: 7px;
  height: 7px;
  border-radius: 1.5px;
  background: var(--primary);
  transform: rotate(45deg);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(31, 96, 193, 0.14);
}

.eyebrow--light {
  color: var(--primary-light);
}

.eyebrow--light .eyebrow__diamond {
  background: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(159, 192, 240, 0.2);
}

.section-title {
  margin-top: 10px;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 700;
  line-height: 1.24;
  color: var(--navy);
  letter-spacing: -0.015em;
}

html[lang="km"] .section-title {
  letter-spacing: 0;
  line-height: 1.42;
}

.section-head--center {
  text-align: center;
}

.section-head--row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 16px;
}

.accent-word {
  color: var(--primary);
  background: var(--grad-accent-text);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  /* Generous vertical breathing room prevents Khmer vowel/subscript clipping */
  padding-block: 0.14em;
  margin-block: -0.14em;
}

.tabular {
  font-variant-numeric: tabular-nums;
}

/* ---- Buttons & Links ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  padding: 13px 22px;
  text-decoration: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition:
    transform 0.18s var(--ease-out-soft),
    background-color 0.18s var(--ease-out-soft),
    border-color 0.18s var(--ease-out-soft),
    box-shadow 0.22s var(--ease-out-soft),
    color 0.18s var(--ease-out-soft);
}

.btn:hover {
  transform: translateY(-1.5px);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 12px 26px -14px rgba(31, 96, 193, 0.7);
}

.btn--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg, transparent 28%, rgba(255, 255, 255, 0.28) 50%, transparent 72%);
  transform: translateX(-120%);
  transition: transform 0.65s var(--ease-out-soft);
  pointer-events: none;
}

.btn--primary:hover {
  background: var(--primary-strong);
  color: var(--white);
  box-shadow: 0 16px 32px -14px rgba(7, 36, 65, 0.55);
}

.btn--primary:hover::after {
  transform: translateX(120%);
}

.btn--outline {
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--line-strong);
  padding: 12px 22px;
}

.btn--outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: #FAFBFD;
  box-shadow: 0 10px 24px -16px rgba(31, 96, 193, 0.35);
}

.btn--white {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 12px 26px -14px rgba(0, 0, 0, 0.45);
}

.btn--white:hover {
  background: var(--ice);
  color: var(--navy);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.52);
  padding: 11px 20px;
}

.btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.85);
  color: var(--white);
}

.btn--compact {
  padding: 10px 19px;
}

.btn .btn-ic {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform 0.2s var(--ease-out-soft);
}

.btn:hover .btn-ic--diag {
  transform: translate(2px, -2px);
}

.btn:hover .btn-ic--right {
  transform: translateX(3px);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  font-size: 15px;
}

.text-link .arrow {
  display: inline-block;
  transition: transform 0.2s var(--ease-out-soft);
}

.text-link:hover {
  color: var(--navy);
}

.text-link:hover .arrow {
  transform: translateX(4px);
}

/* ---- Original Subtle Architectural Patterns ---- */
/* Whisper-quiet rotated diamond & coordinate lattice (original SETFO motif) */
.pattern-lattice {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='56' viewBox='0 0 56 56'%3E%3Cg fill='none' stroke='%231F60C1' stroke-opacity='0.065' stroke-width='1'%3E%3Cpath d='M0 28h56M28 0v56'/%3E%3Cpath d='M28 24l4 4-4 4-4-4z' fill='%231F60C1' fill-opacity='0.08' stroke='none'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, #000 18%, transparent 82%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 42%, #000 18%, transparent 82%);
}

.pattern-dots {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(rgba(31, 96, 193, 0.12) 1px, transparent 1px);
  background-size: 26px 26px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0.1) 60%, transparent 100%);
}

.parallax-layer {
  will-change: transform;
  transform: translate3d(0, var(--py, 0px), 0);
}

/* ---- Announcement Bar ---- */
.topbar {
  background: linear-gradient(90deg, #164C9E 0%, #1F60C1 48%, #2B6FD2 100%);
  color: var(--white);
  font-size: 13px;
  position: relative;
  z-index: 60;
}

.topbar__inner {
  min-height: 44px;
  padding-block: 6px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  flex-wrap: wrap;
}

.topbar__news {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  min-width: 0;
}

.topbar__pill {
  background: var(--white);
  color: var(--primary);
  font-weight: 700;
  font-size: 11.5px;
  padding: 2px 11px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(7, 36, 65, 0.18);
}

.topbar__link {
  color: var(--white);
  font-weight: 600;
  text-underline-offset: 3px;
}

.topbar__link:hover {
  color: var(--primary-tint-strong);
}

.topbar__utils {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-left: auto;
}

.topbar__util {
  color: rgba(255, 255, 255, 0.94);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 500;
}

.topbar__util:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.topbar__sep {
  width: 1px;
  height: 14px;
  background: rgba(255, 255, 255, 0.36);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background-color 0.18s var(--ease-out-soft), border-color 0.18s var(--ease-out-soft);
}

.lang-switch:hover {
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.6);
}

.lang-switch:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

.lang-switch__label {
  font-family: var(--font-km);
  line-height: 1.4;
}

/* ---- Sticky Site Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s var(--ease-out-soft), background-color 0.25s var(--ease-out-soft);
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 2px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--primary) 50%, var(--primary-hover) 100%);
  opacity: 0;
  transition: opacity 0.25s var(--ease-out-soft);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 14px 36px -24px rgba(7, 36, 65, 0.26);
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.brand__emblem {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 10px rgba(7, 36, 65, 0.1));
}

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  padding-left: 14px;
  border-left: 1px solid var(--line);
  min-width: 0;
}

.brand__title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-display);
}

html[lang="km"] .brand__title {
  font-size: 13.5px;
  line-height: 1.42;
  max-width: 280px;
}

html[lang="km"] .site-header__inner {
  gap: 14px;
}

html[lang="km"] .main-nav__link {
  padding: 8px 9px;
  font-size: 14px;
}

html[lang="km"] .intro__headline {
  max-width: 960px;
}

.brand__sub {
  font-size: 12px;
  color: var(--ink-muted);
  margin-top: 1px;
}

.main-nav {
  display: flex;
  align-items: center;
}

.main-nav__list {
  display: flex;
  align-items: center;
  gap: 2px;
  font-size: 14.5px;
}

.main-nav__item {
  position: relative;
}

.main-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 9px 12px;
  border-radius: 10px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  transition: color 0.16s, background-color 0.16s;
}

.main-nav__link:hover {
  color: var(--primary);
  background: var(--surface);
}

.main-nav__link.is-active {
  color: var(--primary);
  font-weight: 600;
}

.main-nav__link.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 5px;
  height: 5px;
  border-radius: 1px;
  background: var(--primary);
  transform: translateX(-50%) rotate(45deg);
}

.main-nav__chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.2s var(--ease-out-soft);
}

.main-nav__item.is-open .main-nav__chevron,
html:not(.js-ready) .main-nav__item:hover .main-nav__chevron,
html:not(.js-ready) .main-nav__item:focus-within .main-nav__chevron {
  transform: rotate(180deg);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 224px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 22px 44px -18px rgba(7, 36, 65, 0.25);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.18s var(--ease-out-soft), transform 0.18s var(--ease-out-soft), visibility 0.18s;
  z-index: 80;
}

.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

html:not(.js-ready) .main-nav__item:hover .nav-dropdown,
html:not(.js-ready) .main-nav__item:focus-within .nav-dropdown,
.main-nav__item.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 12px;
  border-radius: 9px;
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.15s, color 0.15s;
}

.nav-dropdown a:hover {
  background: var(--ice);
  color: var(--primary);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 11px;
  border: 1px solid var(--primary-tint);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background-color 0.15s, border-color 0.15s;
}

.menu-toggle:hover {
  background: var(--surface);
  border-color: var(--primary);
  color: var(--primary);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 26px 48px -22px rgba(7, 36, 65, 0.28);
  padding: 16px 24px 24px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-drawer__group-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin: 14px 0 6px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html[lang="km"] .mobile-drawer__group-title {
  text-transform: none;
  letter-spacing: 0;
}

.mobile-drawer__links {
  display: grid;
  gap: 2px;
}

.mobile-drawer__links a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  font-size: 15px;
}

.mobile-drawer__links a:hover {
  background: var(--ice);
  color: var(--primary);
}

.mobile-drawer__footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

/* ==========================================================================
   SECTION 1: #intro — Luminous Centred Hub (Variant 1A)
   ========================================================================== */
.sec-intro {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(960px 440px at 50% -40px, rgba(31, 96, 193, 0.13), transparent 72%),
    radial-gradient(560px 380px at 12% 76%, rgba(76, 128, 206, 0.1), transparent 70%),
    radial-gradient(560px 380px at 88% 72%, rgba(31, 96, 193, 0.09), transparent 70%),
    var(--surface);
  padding: clamp(64px, 7vw, 88px) 0 clamp(72px, 8vw, 96px);
  border-bottom: 1px solid var(--line);
}

.intro-mosaic {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.intro-mosaic svg {
  width: 100%;
  height: 100%;
}

.intro__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.intro__headline {
  margin-top: 16px;
  max-width: 880px;
  font-family: var(--font-display);
  font-size: clamp(32px, 4.4vw, 52px);
  line-height: 1.18;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.02em;
}

html[lang="km"] .intro__headline {
  font-size: clamp(28px, 3.8vw, 46px);
  line-height: 1.38;
  letter-spacing: 0;
}

.intro__lead {
  margin-top: 18px;
  max-width: 650px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--ink-muted);
}

.intro__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
}

/* Interactive Luminous Hub Diagram */
.hub-stage {
  position: relative;
  width: 100%;
  max-width: 1020px;
  margin-top: 52px;
  text-align: left;
}

.hub-canvas {
  position: relative;
  width: 100%;
  height: 444px;
}

.hub-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: visible;
}

.hub-wire {
  fill: none;
  stroke: #8DA6CF;
  stroke-width: 1.9;
  stroke-dasharray: 5 5;
  stroke-linecap: round;
  transition: stroke 0.25s var(--ease-out-soft), stroke-width 0.25s var(--ease-out-soft), opacity 0.25s;
}

.hub-wire.is-active {
  stroke: var(--primary);
  stroke-width: 2.5;
  stroke-dasharray: none;
  filter: drop-shadow(0 0 6px rgba(31, 96, 193, 0.45));
}

.hub-wire.is-dimmed {
  opacity: 0.35;
}

.hub-pulse {
  fill: none;
  stroke: var(--primary);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 18 320;
  opacity: 0.92;
  filter: drop-shadow(0 0 5px rgba(76, 128, 206, 0.75));
  animation: hubPulseFlow 3.4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.hub-pulse--reverse {
  animation-name: hubPulseFlowReverse;
}

.hub-pulse--d1 { animation-delay: 0s; }
.hub-pulse--d2 { animation-delay: 0.55s; }
.hub-pulse--d3 { animation-delay: 1.1s; }
.hub-pulse--d4 { animation-delay: 1.65s; }
.hub-pulse--d5 { animation-delay: 2.2s; }
.hub-pulse--d6 { animation-delay: 2.75s; }

@keyframes hubPulseFlow {
  0% { stroke-dashoffset: 338; opacity: 0; }
  12% { opacity: 0.95; }
  85% { opacity: 0.95; }
  100% { stroke-dashoffset: 0; opacity: 0; }
}

@keyframes hubPulseFlowReverse {
  0% { stroke-dashoffset: 0; opacity: 0; }
  12% { opacity: 0.95; }
  85% { opacity: 0.95; }
  100% { stroke-dashoffset: 338; opacity: 0; }
}

.hub-core {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 244px;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border: 1.5px solid var(--primary-tint);
  border-radius: 20px;
  padding: 24px 20px;
  text-align: center;
  z-index: 4;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 24px 48px -20px rgba(31, 96, 193, 0.36);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.hub-core::before,
.hub-core::after {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 28px;
  border: 1.5px solid rgba(31, 96, 193, 0.22);
  pointer-events: none;
  animation: hubRingBreath 3.6s ease-out infinite;
}

.hub-core::after {
  animation-delay: 1.8s;
}

@keyframes hubRingBreath {
  0% {
    opacity: 0.65;
    transform: scale(0.95);
  }
  100% {
    opacity: 0;
    transform: scale(1.16);
  }
}

.hub-core.is-pinged {
  border-color: var(--primary);
  box-shadow:
    0 0 0 6px rgba(31, 96, 193, 0.14),
    0 26px 52px -18px rgba(31, 96, 193, 0.48);
}

.hub-core__emblem {
  width: 48px;
  height: 48px;
  margin: 0 auto;
  object-fit: contain;
}

.hub-core__title {
  margin-top: 8px;
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.01em;
}

.hub-core__sub {
  margin-top: 2px;
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.45;
}

.hub-node {
  position: absolute;
  width: 244px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 15px;
  padding: 13px 15px;
  text-align: left;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 18px 38px -26px rgba(31, 96, 193, 0.38);
  transition:
    transform 0.22s var(--ease-out-soft),
    border-color 0.2s var(--ease-out-soft),
    box-shadow 0.22s var(--ease-out-soft),
    background-color 0.2s;
}

.hub-node[data-side="left"] { left: 0; }
.hub-node[data-side="right"] { right: 0; }
.hub-node[data-row="0"] { top: 8px; }
.hub-node[data-row="1"] { top: 174px; }
.hub-node[data-row="2"] { top: 340px; }

.hub-node:hover,
.hub-node.is-active {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow:
    0 0 0 3px rgba(31, 96, 193, 0.12),
    0 22px 44px -24px rgba(31, 96, 193, 0.45);
}

.hub-node__head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
}

.hub-node__num {
  width: 23px;
  height: 23px;
  border-radius: 7px;
  background: var(--ice);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  flex-shrink: 0;
  transition: background-color 0.2s, color 0.2s;
}

.hub-node:hover .hub-node__num,
.hub-node.is-active .hub-node__num {
  background: var(--primary);
  color: var(--white);
}

.hub-node__badge {
  margin-top: 7px;
  display: inline-block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
  background: var(--ice);
  padding: 3px 10px;
  border-radius: 7px;
  line-height: 1.4;
}

.hub-status {
  margin: 18px auto 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--primary-tint);
  font-size: 13.5px;
  color: var(--navy);
  box-shadow: 0 10px 24px -18px rgba(31, 96, 193, 0.35);
  max-width: 100%;
}

.hub-status__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 0 4px rgba(31, 96, 193, 0.16);
  flex-shrink: 0;
}

/* ==========================================================================
   SECTION 2: #what — Statement + Three Columns (Variant 2B)
   ========================================================================== */
.sec-what {
  background: var(--white);
  position: relative;
}

.what-quote {
  margin: 18px auto 0;
  max-width: 900px;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.32;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: -0.015em;
}

html[lang="km"] .what-quote {
  line-height: 1.54;
  letter-spacing: 0;
}

.what-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin-top: 56px;
}

.what-col {
  position: relative;
  padding-top: 20px;
}

.what-col::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  border-radius: 2px;
  background: var(--primary-tint);
  transform-origin: left center;
}

.what-col--navy::before { background: var(--navy); }
.what-col--primary::before { background: var(--grad-brand); }
.what-col--tint::before { background: var(--primary-tint); }

.what-col__num {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
}

.what-col__title {
  margin-top: 5px;
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-display);
}

.what-col__body {
  margin-top: 9px;
  font-size: 15px;
  color: var(--ink-muted);
}

/* Elegant First-to-File Priority Sequence Ledger */
.priority-ledger {
  margin-top: 48px;
  background: linear-gradient(180deg, #F8FAFE 0%, var(--surface) 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 22px 26px;
  box-shadow: var(--shadow-soft);
}

.priority-ledger__top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 16px;
  margin-bottom: 16px;
}

.priority-ledger__kicker {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.priority-ledger__caption {
  font-size: 13.5px;
  color: var(--ink-muted);
}

.priority-track {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.priority-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  border-radius: 14px;
  padding: 15px 18px;
  border: 1px solid var(--primary-tint);
}

.priority-card--first {
  border: 1.5px solid var(--primary);
  box-shadow: 0 14px 32px -20px rgba(31, 96, 193, 0.45);
}

.priority-badge {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.priority-card--first .priority-badge {
  background: var(--grad-brand);
  color: var(--white);
  box-shadow: 0 8px 18px -8px rgba(31, 96, 193, 0.7);
}

.priority-card--second .priority-badge {
  background: var(--ice);
  color: var(--primary);
}

.priority-card__title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
}

.priority-card__note {
  font-size: 13.5px;
  color: var(--ink-muted);
  margin-top: 2px;
}

.priority-arrow {
  display: grid;
  place-items: center;
  color: var(--primary);
}

/* ==========================================================================
   SECTION 3: #services — Numbered Cards + Follow-up Actions (Variant 3A)
   ========================================================================== */
.sec-services {
  background:
    radial-gradient(900px 360px at 50% 0, rgba(31, 96, 193, 0.08), transparent 72%),
    var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
  position: relative;
  z-index: 2;
}

.svc-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border-radius: 20px;
  border: 1px solid var(--line);
  overflow: hidden;
  box-shadow: 0 18px 40px -30px rgba(7, 36, 65, 0.22);
  transition:
    transform 0.25s var(--ease-out-soft),
    border-color 0.22s var(--ease-out-soft),
    box-shadow 0.25s var(--ease-out-soft);
}

.svc-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-elevated);
}

.svc-card--featured {
  border: 2px solid var(--primary);
  box-shadow: 0 26px 52px -26px rgba(31, 96, 193, 0.44);
}

.svc-card--featured:hover {
  border-color: var(--primary);
  box-shadow: 0 32px 62px -26px rgba(31, 96, 193, 0.56);
}

.svc-card__top {
  position: relative;
  height: 112px;
  background:
    radial-gradient(190px 130px at 88% 0, rgba(255, 255, 255, 0.72), transparent 70%),
    linear-gradient(135deg, #E8F0FD 0%, #EEF4FE 58%, #F4F8FE 100%);
  overflow: hidden;
}

.svc-card--featured .svc-card__top {
  background:
    radial-gradient(190px 130px at 88% 0, rgba(255, 255, 255, 0.78), transparent 70%),
    linear-gradient(135deg, #D6E4FB 0%, #E5EFFD 58%, #EEF4FE 100%);
}

.svc-card__top::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(31, 96, 193, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(31, 96, 193, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
  -webkit-mask-image: linear-gradient(205deg, #000 10%, transparent 72%);
  mask-image: linear-gradient(205deg, #000 10%, transparent 72%);
}

.svc-card__num {
  position: absolute;
  right: 16px;
  top: -8px;
  font-family: var(--font-en);
  font-size: 94px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.04em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(31, 96, 193, 0.24);
  pointer-events: none;
  transition: transform 0.38s var(--ease-out-soft);
}

.svc-card:hover .svc-card__num {
  transform: translateY(5px);
}

.svc-card__icon {
  position: absolute;
  left: 24px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: var(--white);
  color: var(--primary);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 24px -12px rgba(31, 96, 193, 0.45);
}

.svc-card__body {
  padding: 22px 24px 0;
  flex-grow: 1;
}

.svc-card__eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary);
}

.svc-card__title {
  margin-top: 3px;
  font-size: 21px;
  font-weight: 700;
  color: var(--navy);
  font-family: var(--font-display);
}

.svc-steps {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.svc-steps li {
  position: relative;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  font-size: 14.5px;
  color: var(--ink);
}

.svc-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 11px;
  top: 26px;
  bottom: -10px;
  width: 2px;
  background: linear-gradient(var(--primary-tint), var(--ice));
}

.svc-steps__dot {
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--ice);
  border: 1px solid var(--primary-tint);
  color: var(--primary);
  font-size: 12px;
  font-weight: 700;
  display: grid;
  place-items: center;
  position: relative;
  z-index: 1;
}

.svc-card--featured .svc-steps__dot {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.svc-card__foot {
  padding: 24px;
}

.svc-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  text-decoration: none;
  background: var(--surface);
  color: var(--primary);
  border: 1px solid var(--line);
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.svc-cta .arrow {
  transition: transform 0.2s var(--ease-out-soft);
}

.svc-cta:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.svc-cta:hover .arrow {
  transform: translateX(4px);
}

.svc-card--featured .svc-cta {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
}

.svc-card--featured .svc-cta:hover {
  background: var(--primary-strong);
  border-color: var(--primary-strong);
}

/* Follow-up actions bar */
.followup-bar {
  position: relative;
  z-index: 2;
  margin-top: 28px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px;
  box-shadow: var(--shadow-soft);
}

.followup-bar__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 14px;
}

.followup-bar__label {
  font-weight: 700;
  color: var(--navy);
  margin-right: 8px;
}

.action-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--primary-tint);
  color: var(--navy);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.18s, border-color 0.18s, box-shadow 0.18s, color 0.18s;
}

.action-chip strong {
  color: var(--primary);
}

.action-chip:hover,
.action-chip[aria-expanded="true"] {
  background: var(--ice);
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(31, 96, 193, 0.1);
}

.followup-detail {
  margin-top: 14px;
  padding: 14px 18px;
  border-radius: 12px;
  background: var(--surface);
  border-left: 3px solid var(--primary);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px 20px;
  font-size: 14.5px;
  color: var(--navy);
}

.followup-detail[hidden] {
  display: none;
}

.followup-detail__fee {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--primary);
  background: var(--white);
  border: 1px solid var(--primary-tint);
  padding: 3px 12px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ==========================================================================
   SECTION 4: #fees — Price Cards (Variant 4B)
   ========================================================================== */
.fees-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
  align-items: stretch;
}

.fee-card {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 34px 32px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--navy);
  border: 1px solid var(--primary-tint);
  box-shadow: 0 18px 40px -30px rgba(7, 36, 65, 0.22);
  transition: transform 0.24s var(--ease-out-soft), box-shadow 0.24s var(--ease-out-soft), border-color 0.22s;
}

.fee-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-elevated);
}

.fee-card--featured {
  background: var(--grad-brand-deep);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 28px 54px -26px rgba(31, 96, 193, 0.6);
}

.fee-card--featured::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(280px 180px at 95% 5%, rgba(159, 192, 240, 0.28), transparent 70%),
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: auto, 24px 24px, 24px 24px;
  pointer-events: none;
}

.fee-card--featured:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 34px 62px -24px rgba(31, 96, 193, 0.72);
}

.fee-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.fee-card__label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-muted);
}

.fee-card--featured .fee-card__label {
  color: rgba(255, 255, 255, 0.88);
}

.fee-card__amount {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: clamp(36px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

html[lang="km"] .fee-card__amount {
  letter-spacing: 0;
  line-height: 1.2;
}

.fee-card__unit {
  margin-top: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--ink-muted);
}

.fee-card--featured .fee-card__unit {
  color: rgba(255, 255, 255, 0.84);
}

.fee-card__covers {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--ink-muted);
}

.fee-card--featured .fee-card__covers {
  border-top-color: rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.9);
}

.fees-payline {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 10px;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.pay-badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 12px;
  border-radius: 8px;
  background: var(--surface);
  border: 1px solid var(--primary-tint);
  color: var(--navy);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* ==========================================================================
   SECTION 5: #how — Filing and Searching Side by Side (Variant 5B)
   ========================================================================== */
.sec-how {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.how-grid {
  display: grid;
  grid-template-columns: 1.32fr 1fr;
  gap: 24px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}

.how-panel {
  border-radius: 22px;
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.how-panel--light {
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}

.how-panel--navy {
  background:
    radial-gradient(340px 260px at 92% 8%, rgba(76, 128, 206, 0.3), transparent 70%),
    radial-gradient(280px 220px at 8% 92%, rgba(31, 96, 193, 0.25), transparent 70%),
    var(--navy);
  color: var(--white);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-navy);
}

.how-panel__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.how-panel__title {
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-display);
}

.how-panel--light .how-panel__title {
  color: var(--navy);
}

.how-badge {
  font-size: 13px;
  font-weight: 700;
  padding: 4px 13px;
  border-radius: 999px;
  white-space: nowrap;
}

.how-badge--ice {
  background: var(--ice);
  color: var(--navy);
}

.how-badge--white {
  background: var(--white);
  color: var(--navy);
}

.filing-steps {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.filing-step {
  display: flex;
  gap: 12px;
  padding: 13px;
  border-radius: 13px;
  background: var(--surface);
  border: 1px solid transparent;
  transition: border-color 0.18s, background-color 0.18s, transform 0.2s var(--ease-out-soft);
}

.filing-step:hover {
  background: var(--white);
  border-color: var(--primary-tint);
  transform: translateY(-2px);
}

.step-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--primary);
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  display: grid;
  place-items: center;
}

.filing-step__title {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
}

.filing-step__body {
  display: block;
  font-size: 13.5px;
  color: var(--ink-muted);
  line-height: 1.48;
  margin-top: 2px;
}

.search-steps {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  position: relative;
}

.search-step {
  position: relative;
  display: flex;
  gap: 13px;
  padding: 15px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.065);
  border: 1px solid rgba(255, 255, 255, 0.13);
  transition: background-color 0.2s, border-color 0.2s;
}

.search-step:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(159, 192, 240, 0.42);
}

.search-step__title {
  display: block;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--white);
}

.search-step__body {
  display: block;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin-top: 2px;
}

.how-panel__cta {
  margin-top: auto;
  padding-top: 24px;
}

/* ==========================================================================
   SECTION 6: #who — Interactive Picker + Luminous Detail Card (Variant 6C)
   ========================================================================== */
.who-split {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.55fr);
  gap: 24px;
  margin-top: 40px;
  align-items: stretch;
}

.who-tabs {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.who-tab {
  width: 100%;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15.5px;
  font-weight: 500;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink-muted);
  transition:
    background-color 0.18s,
    border-color 0.18s,
    color 0.18s,
    transform 0.18s var(--ease-out-soft),
    box-shadow 0.18s;
}

.who-tab:hover {
  border-color: var(--primary-tint);
  background: var(--surface);
  color: var(--navy);
}

.who-tab[aria-selected="true"] {
  background: var(--ice);
  border-color: var(--primary);
  color: var(--navy);
  font-weight: 600;
  box-shadow: 0 10px 24px -18px rgba(31, 96, 193, 0.5);
}

.who-tab__arrow {
  color: var(--line-strong);
  transition: transform 0.2s var(--ease-out-soft), color 0.18s;
  flex-shrink: 0;
}

.who-tab[aria-selected="true"] .who-tab__arrow {
  color: var(--primary);
  transform: translateX(3px);
}

.who-panel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(420px 300px at 96% 10%, rgba(76, 128, 206, 0.3), transparent 70%),
    radial-gradient(360px 260px at 5% 95%, rgba(31, 96, 193, 0.22), transparent 70%),
    var(--navy);
  color: var(--white);
  border-radius: 24px;
  padding: clamp(28px, 4vw, 44px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-navy);
}

.who-mosaic {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.who-mosaic svg {
  width: 100%;
  height: 100%;
}

.who-panel__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.who-panel__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
}

.who-panel__counter {
  font-size: 13px;
  font-weight: 700;
  color: var(--primary-light);
}

.who-schematic {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(159, 192, 240, 0.24);
  display: grid;
  place-items: center;
  color: var(--primary-light);
  flex-shrink: 0;
}

.who-panel__title {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.24;
  color: var(--white);
}

html[lang="km"] .who-panel__title {
  line-height: 1.44;
}

.who-panel__gain {
  margin-top: 14px;
  font-size: clamp(16px, 1.4vw, 18px);
  color: rgba(255, 255, 255, 0.88);
  max-width: 540px;
}

.who-panel__uses-label {
  margin-top: 32px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.72);
}

.who-panel__uses {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 10px;
}

.who-chip {
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: rgba(255, 255, 255, 0.11);
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 5px 15px;
  border-radius: 999px;
}

.who-progress {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  gap: 6px;
}

.who-progress__seg {
  height: 3px;
  flex: 1;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  transition: background-color 0.25s var(--ease-out-soft);
}

.who-progress__seg.is-active {
  background: var(--primary-light);
}

.who-panel__animate {
  animation: panelFadeIn 0.28s var(--ease-out-soft);
}

@keyframes panelFadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   SECTION 7: #collateral — Icon Grid + Intro (Variant 7A)
   ========================================================================== */
.sec-collateral {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.collateral-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.45fr);
  gap: 48px;
  align-items: center;
}

.collateral-intro__body {
  margin-top: 16px;
  font-size: 17px;
  color: var(--ink-muted);
}

.collateral-intro__link {
  margin-top: 22px;
}

.collateral-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.collateral-card {
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 14px 30px -24px rgba(31, 96, 193, 0.28);
  transition: transform 0.22s var(--ease-out-soft), border-color 0.2s, box-shadow 0.22s;
}

.collateral-card:hover {
  transform: translateY(-3px);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-soft);
}

.collateral-card__icon {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--ice), var(--primary-tint-strong));
  color: var(--primary);
  display: grid;
  place-items: center;
  transition: background 0.2s, color 0.2s;
}

.collateral-card:hover .collateral-card__icon {
  background: var(--grad-brand);
  color: var(--white);
}

.collateral-card__name {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
}

.collateral-card__eg {
  margin-top: 3px;
  font-size: 14px;
  color: var(--ink-muted);
}

/* ==========================================================================
   SECTION 8: #journey — Centred Alternating Timeline (Variant 8A)
   ========================================================================== */
.timeline-wrap {
  position: relative;
  margin-top: 52px;
}

.timeline-spine {
  position: absolute;
  left: 50%;
  top: 8px;
  bottom: 8px;
  width: 2px;
  transform: translateX(-50%);
  background: var(--primary-tint);
  border-radius: 2px;
  overflow: hidden;
}

.timeline-spine__fill {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, var(--primary) 0%, var(--primary-hover) 100%);
  transform-origin: top center;
  transform: scaleY(var(--timeline-progress, 1));
  will-change: transform;
}

.timeline-list {
  position: relative;
}

.timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 56px minmax(0, 1fr);
  align-items: center;
  padding: 12px 0;
}

.timeline-col--left {
  text-align: right;
  padding-right: 12px;
}

.timeline-col--right {
  text-align: left;
  padding-left: 12px;
}

.timeline-col--empty {
  visibility: hidden;
}

.timeline-card {
  display: inline-block;
  max-width: 100%;
  padding: 12px 16px;
  border-radius: 14px;
  transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.timeline-item:hover .timeline-card {
  background: var(--surface);
}

.timeline-item--highlight .timeline-card {
  background: linear-gradient(135deg, var(--ice), #F7FAFF);
  border: 1.5px solid var(--primary);
  box-shadow: 0 18px 36px -22px rgba(31, 96, 193, 0.4);
  padding: 16px 20px;
}

.timeline-date {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary);
}

.timeline-text {
  margin-top: 3px;
  font-size: 15px;
  color: var(--navy);
}

.timeline-item--highlight .timeline-text {
  font-weight: 600;
}

.timeline-node {
  justify-self: center;
  position: relative;
  z-index: 2;
  width: 13px;
  height: 13px;
  border-radius: 3px;
  transform: rotate(45deg);
  background: var(--white);
  border: 2px solid var(--primary);
  transition: background-color 0.25s, box-shadow 0.25s, transform 0.25s;
}

.timeline-item.is-lit .timeline-node {
  background: var(--primary);
  box-shadow: 0 0 0 5px rgba(31, 96, 193, 0.16);
}

.timeline-item--highlight .timeline-node {
  width: 19px;
  height: 19px;
  background: var(--primary);
  box-shadow: 0 0 0 6px rgba(31, 96, 193, 0.24);
}

/* ==========================================================================
   SECTION 9: #stats — Luminous Hero Stat + Interactive Trend Graphic (Variant 9B)
   ========================================================================== */
.sec-stats {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(680px 420px at 50% 0%, rgba(76, 128, 206, 0.26), transparent 72%),
    radial-gradient(460px 360px at 8% 85%, rgba(31, 96, 193, 0.28), transparent 70%),
    radial-gradient(460px 360px at 92% 85%, rgba(31, 96, 193, 0.24), transparent 70%),
    var(--navy);
  color: var(--white);
  padding-block: clamp(76px, 8.5vw, 112px);
}

.stats-mosaic {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.stats-mosaic svg {
  width: 100%;
  height: 100%;
}

.stats-inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.stats-kicker {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary-light);
}

.stats-hero-number {
  margin-top: 14px;
  font-family: var(--font-en);
  font-size: clamp(54px, 9.5vw, 118px);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.025em;
  background: linear-gradient(180deg, #FFFFFF 30%, #C6DCF8 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stats-desc {
  margin: 18px auto 0;
  max-width: 630px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.82);
}

.stats-pair {
  display: inline-grid;
  grid-template-columns: repeat(2, minmax(170px, 1fr));
  margin-top: 38px;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 18px;
  overflow: hidden;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.stats-pair__cell {
  padding: 20px 38px;
}

.stats-pair__cell:first-child {
  border-right: 1px solid rgba(255, 255, 255, 0.18);
}

.stats-pair__val {
  font-size: clamp(24px, 2.8vw, 32px);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
}

.stats-pair__lbl {
  margin-top: 3px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.76);
}

/* Luminous SVG Monthly Trend Panel */
.stats-chart-card {
  margin: 34px auto 0;
  max-width: 820px;
  text-align: left;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 22px 24px 18px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}

.stats-chart-card__head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.stats-chart-card__title {
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
}

.sample-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--navy);
  background: var(--sample-amber);
  padding: 2px 10px;
  border-radius: 999px;
}

.stats-chart-readout {
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--primary-light);
  min-height: 20px;
}

.stats-chart-svg-wrap {
  margin-top: 10px;
  position: relative;
}

.stats-chart-svg {
  width: 100%;
  height: 152px;
  display: block;
  overflow: visible;
}

.chart-bar-hit {
  cursor: pointer;
  outline: none;
}

.chart-bar-rect {
  transition: opacity 0.2s, fill 0.2s, transform 0.65s var(--ease-out-soft);
  transform-box: fill-box;
  transform-origin: bottom center;
}

.chart-bar-hit:hover .chart-bar-rect,
.chart-bar-hit:focus .chart-bar-rect,
.chart-bar-hit.is-selected .chart-bar-rect {
  fill: #C6DCF8;
  opacity: 1;
}

.stats-chart-axis {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.72);
}

.stats-asof {
  margin-top: 22px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.75);
}

.stats-asof a {
  color: var(--white);
  font-weight: 600;
  text-underline-offset: 3px;
}

.stats-asof a:hover {
  color: var(--primary-light);
}

/* ==========================================================================
   SECTION 10: #resources — Document Cards (Variant 10A)
   ========================================================================== */
.docs-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.doc-card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 14px 30px -24px rgba(7, 36, 65, 0.22);
  transition: transform 0.24s var(--ease-out-soft), border-color 0.2s, box-shadow 0.24s;
}

.doc-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-soft);
}

.doc-card__stage {
  position: relative;
  height: 154px;
  background:
    radial-gradient(180px 120px at 50% 0%, rgba(31, 96, 193, 0.1), transparent 72%),
    var(--surface);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-top: 20px;
  overflow: hidden;
}

.doc-folio {
  width: 114px;
  height: 130px;
  background: var(--white);
  border: 1px solid var(--primary-tint);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  padding: 15px 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-shadow: 0 -6px 22px -12px rgba(31, 96, 193, 0.35);
  transition: transform 0.3s var(--ease-out-soft);
}

.doc-card:hover .doc-folio {
  transform: translateY(-5px);
}

.doc-folio__crest {
  height: 6px;
  width: 58%;
  background: var(--grad-brand);
  border-radius: 2px;
  align-self: center;
  margin-bottom: 4px;
}

.doc-folio__line {
  height: 4px;
  background: var(--line);
  border-radius: 2px;
}

.doc-folio__line--80 { width: 80%; }
.doc-folio__line--70 { width: 70%; }

.doc-format {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 11px;
  font-weight: 700;
  color: var(--white);
  background: var(--primary);
  padding: 2px 9px;
  border-radius: 6px;
  letter-spacing: 0.04em;
}

.doc-format--web {
  background: var(--navy);
}

.doc-card__body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex-grow: 1;
}

.doc-kind {
  align-self: flex-start;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: var(--ice);
  padding: 2px 10px;
  border-radius: 999px;
}

.doc-card__title {
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.42;
}

.doc-card__meta {
  font-size: 13px;
  color: var(--ink-muted);
}

.doc-card__action {
  margin-top: auto;
  padding-top: 8px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.doc-card__action:hover {
  color: var(--navy);
}

.resources-disclaimer {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--ink-muted);
}

/* ==========================================================================
   SECTION 11: #news — Three Cards (Variant 11A)
   ========================================================================== */
.sec-news {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  padding: 0;
  box-shadow: 0 14px 30px -24px rgba(7, 36, 65, 0.2);
  transition: transform 0.24s var(--ease-out-soft), border-color 0.2s, box-shadow 0.24s;
}

.news-card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-hover);
  box-shadow: var(--shadow-soft);
}

.news-card__cover {
  position: relative;
  height: 184px;
  overflow: hidden;
  background: linear-gradient(135deg, #E8F0FD 0%, #EEF4FE 55%, #F6F9FE 100%);
  width: 100%;
}

.news-card__cover--dark {
  background:
    radial-gradient(240px 160px at 85% 20%, rgba(76, 128, 206, 0.35), transparent 72%),
    var(--navy);
}

.news-card__cover svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.news-card__cat {
  position: absolute;
  left: 16px;
  bottom: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.94);
  padding: 3px 11px;
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(7, 36, 65, 0.14);
}

.news-card__sample {
  position: absolute;
  right: 16px;
  top: 14px;
}

.news-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 22px 24px;
}

.news-card__date {
  font-size: 13px;
  color: var(--ink-muted);
}

.news-card__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.38;
  font-family: var(--font-display);
}

.news-card:hover .news-card__title {
  color: var(--primary);
}

.news-card__summary {
  font-size: 14.5px;
  color: var(--ink-muted);
}

/* ==========================================================================
   SECTION 12: #faq — Categories + Accordion (Variant 12A)
   ========================================================================== */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(0, 1fr);
  gap: 44px;
  align-items: start;
}

.faq-side {
  position: sticky;
  top: 104px;
}

.faq-cats {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-top: 24px;
}

.faq-cat {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--ink-muted);
  font-size: 15px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  transition: background-color 0.16s, color 0.16s, border-color 0.16s;
}

.faq-cat:hover {
  background: var(--surface);
  color: var(--navy);
}

.faq-cat[aria-selected="true"] {
  background: var(--ice);
  border-color: var(--primary-tint);
  color: var(--navy);
  font-weight: 600;
}

.faq-cat__count {
  font-size: 12px;
  font-weight: 700;
  padding: 2px 9px;
  border-radius: 999px;
  background: var(--surface);
  color: var(--ink-muted);
}

.faq-cat[aria-selected="true"] .faq-cat__count {
  background: var(--primary);
  color: var(--white);
}

.faq-help {
  margin-top: 22px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
}

.faq-help__title {
  font-weight: 700;
  color: var(--navy);
  font-size: 15.5px;
}

.faq-help__body {
  margin-top: 5px;
  font-size: 14px;
  color: var(--ink-muted);
}

.faq-help__body a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.faq-help__body a:hover {
  text-decoration: underline;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  border-radius: 15px;
  background: var(--white);
  border: 1px solid var(--line);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.faq-item.is-open {
  border-color: var(--primary);
  box-shadow: 0 16px 34px -24px rgba(31, 96, 193, 0.45);
}

.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.16s;
}

.faq-trigger:hover {
  color: var(--primary);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 17px;
  font-weight: 600;
  line-height: 1;
  transition: background-color 0.2s, color 0.2s, transform 0.22s var(--ease-out-soft);
}

.faq-item.is-open .faq-icon {
  background: var(--primary);
  color: var(--white);
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.28s var(--ease-out-soft);
}

.faq-item.is-open .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel__inner {
  overflow: hidden;
}

.faq-answer {
  padding: 0 20px 18px;
  font-size: 15px;
  color: var(--ink-muted);
}

.faq-all-btn {
  margin-top: 6px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-radius: 14px;
  border: 1px solid var(--primary-tint);
  background: var(--ice);
  color: var(--navy);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.18s, border-color 0.18s;
}

.faq-all-btn:hover {
  background: var(--primary-tint-strong);
  border-color: var(--primary);
  color: var(--navy);
}

/* ==========================================================================
   FOOTER: Help Strip + Luminous Navy Footer + Architectural Skyline
   ========================================================================== */
.footer-cta {
  background:
    radial-gradient(460px 200px at 85% 50%, rgba(159, 192, 240, 0.24), transparent 72%),
    linear-gradient(108deg, #174B9A 0%, #1F60C1 55%, #2C6FD1 100%);
  color: var(--white);
}

.footer-cta__inner {
  padding-block: 30px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-cta__sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.86);
}

.footer-cta__title {
  margin-top: 2px;
  font-family: var(--font-display);
  font-size: clamp(21px, 2.4vw, 26px);
  font-weight: 700;
}

.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-main {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(520px 340px at 100% 0%, rgba(76, 128, 206, 0.24), transparent 72%),
    radial-gradient(460px 300px at 0% 90%, rgba(31, 96, 193, 0.22), transparent 70%),
    var(--navy);
  color: var(--white);
}

.footer-main__inner {
  position: relative;
  z-index: 2;
  padding: 64px 0 132px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 48px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand__emblem {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.footer-brand__name {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.2;
}

.footer-brand__dept {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.74);
  margin-top: 2px;
}

.footer-about {
  margin-top: 18px;
  max-width: 450px;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
}

.footer-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 24px;
  margin-top: 30px;
}

.contact-row {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.contact-row__ic {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  color: var(--primary-light);
}

.contact-row__label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.contact-row__value {
  margin-top: 2px;
  font-size: 14px;
  line-height: 1.5;
  white-space: pre-line;
  color: var(--white);
}

.contact-row__value a {
  color: var(--white);
  text-decoration: none;
}

.contact-row__value a:hover {
  text-decoration: underline;
  color: var(--primary-light);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
}

.footer-col__title {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
}

.footer-col__list {
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.footer-col__list a {
  color: rgba(255, 255, 255, 0.84);
  text-decoration: none;
}

.footer-col__list a:hover {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-skyline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 52px;
  height: 112px;
  pointer-events: none;
  z-index: 1;
}

.footer-skyline svg {
  width: 100%;
  height: 100%;
  display: block;
}

.footer-legal {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: var(--navy-deep);
}

.footer-legal__inner {
  padding-block: 16px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px 24px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.74);
}

/* ---- News Article Preview Modal ---- */
.modal-dialog::backdrop {
  background: rgba(7, 36, 65, 0.56);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.modal-dialog {
  width: min(560px, calc(100% - 40px));
  color: var(--ink);
  background: var(--white);
  border-radius: 22px;
  border: 1px solid var(--primary-tint);
  padding: 28px;
  box-shadow: var(--shadow-navy);
  margin: auto;
}

.modal-dialog__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--ink-muted);
}

.modal-dialog__cat {
  font-weight: 600;
  color: var(--primary);
  background: var(--ice);
  padding: 2px 10px;
  border-radius: 999px;
}

.modal-dialog__title {
  margin-top: 14px;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.32;
}

.modal-dialog__body {
  margin-top: 12px;
  font-size: 15.5px;
  color: var(--ink-muted);
}

.modal-dialog__foot {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

/* ---- Floating Back-to-Top Button (UBR touch) ---- */
.back-top {
  position: fixed;
  right: 22px;
  bottom: 24px;
  z-index: 45;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: var(--grad-brand);
  color: var(--white);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 14px 28px -10px rgba(31, 96, 193, 0.72);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.92);
  transition: opacity 0.22s, transform 0.22s var(--ease-out-soft), visibility 0.22s;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.back-top:hover {
  transform: translateY(-2px);
}

/* ---- Scroll Reveal Motion (Progressive Enhancement) ---- */
html.js-motion .reveal {
  opacity: 0;
  transform: translateY(18px);
  will-change: opacity, transform;
}

html.js-motion .reveal.is-revealed {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s var(--ease-out-soft) var(--delay, 0s),
    transform 0.5s var(--ease-out-soft) var(--delay, 0s);
}

html.js-motion .reveal.is-revealed--instant {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1180px) {
  .main-nav {
    display: none;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .docs-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .services-grid .svc-card:last-child {
    grid-column: 1 / -1;
  }
  .fees-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fees-grid .fee-card:first-child {
    grid-column: 1 / -1;
  }
  .how-grid {
    grid-template-columns: 1fr;
  }
  .collateral-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-main__inner {
    grid-template-columns: 1fr;
    padding-bottom: 120px;
  }
}

@media (max-width: 960px) {
  /* Responsive Hub Diagram: Core centered above 2-column participant grid */
  .hub-canvas {
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #hub-nodes {
    display: contents;
  }
  .hub-svg {
    display: none;
  }
  .hub-core {
    position: static;
    transform: none;
    grid-column: 1 / -1;
    width: min(290px, 100%);
    margin: 0 auto 10px;
  }
  .hub-node {
    position: static;
    width: 100%;
  }
  .what-cols {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .priority-track {
    grid-template-columns: 1fr;
  }
  .priority-arrow svg {
    transform: rotate(90deg);
  }
  .who-split {
    grid-template-columns: 1fr;
  }
  .news-grid {
    grid-template-columns: 1fr;
  }
  .faq-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .faq-side {
    position: static;
  }
  .faq-cats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }
  .faq-cat {
    width: auto;
    border: 1px solid var(--line);
    padding: 8px 14px;
  }
}

@media (max-width: 768px) {
  .wrap,
  .wrap--narrow {
    width: min(var(--container-max), 100% - 32px);
  }
  .topbar__utils .topbar__hide-sm {
    display: none;
  }
  .header-actions .btn--header-cta {
    display: none;
  }
  .services-grid,
  .fees-grid,
  .filing-steps,
  .collateral-grid,
  .docs-grid,
  .footer-contacts,
  .footer-links {
    grid-template-columns: 1fr;
  }
  .services-grid .svc-card:last-child,
  .fees-grid .fee-card:first-child {
    grid-column: auto;
  }
  /* Mobile left-spine timeline */
  .timeline-spine {
    left: 16px;
    transform: none;
  }
  .timeline-item {
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 10px 0;
  }
  .timeline-col--empty {
    display: none;
  }
  .timeline-node {
    grid-column: 1;
    grid-row: 1;
    margin-top: 16px;
  }
  .timeline-col--left,
  .timeline-col--right {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding: 0;
  }
  .stats-pair {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 340px;
    margin-inline: auto;
  }
  .stats-pair__cell:first-child {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  }
  .stats-pair__cell {
    padding: 18px 24px;
  }
}

@media (max-width: 560px) {
  .topbar__inner {
    row-gap: 6px;
    padding-block: 8px;
  }
  .topbar__news {
    display: contents;
  }
  .topbar__pill {
    order: 1;
  }
  .topbar__utils {
    order: 2;
    margin-left: auto;
  }
  .topbar__news > span:not(.topbar__pill),
  .topbar__link {
    order: 3;
    font-size: 12.5px;
  }
  .brand__emblem {
    width: 40px;
    height: 40px;
  }
  .brand__text {
    padding-left: 10px;
  }
  .brand__title {
    font-size: 14.5px;
  }
  .hub-canvas {
    grid-template-columns: 1fr;
  }
  .how-panel {
    padding: 24px 20px;
  }
  .stats-chart-card {
    padding: 18px 16px;
  }
  .back-top {
    right: 14px;
    bottom: 16px;
    width: 42px;
    height: 42px;
  }
}

/* ==========================================================================
   REDUCED MOTION — Strict Accessibility Safety
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .parallax-layer {
    transform: none !important;
  }
  .hub-pulse,
  .hub-core::before,
  .hub-core::after {
    animation: none !important;
    opacity: 0 !important;
  }
  html.js-motion .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .timeline-spine__fill {
    transform: scaleY(1) !important;
  }
}

/* ==========================================================================
   PRINT STYLES (Fee clarity & clean archival output)
   ========================================================================== */
@media print {
  .topbar,
  .site-header,
  .back-top,
  .modal-dialog,
  .intro-mosaic,
  .stats-mosaic,
  .footer-skyline {
    display: none !important;
  }
  body {
    background: #FFFFFF;
    color: #000000;
  }
  .sec-stats,
  .how-panel--navy,
  .who-panel,
  .footer-main {
    background: #FFFFFF !important;
    color: #000000 !important;
    border: 1px solid #CCCCCC !important;
  }
}

/* ==========================================================================
   MERGED DESIGN — Neon base with picks from Opus (30 Nov 2026)
   Everything below overrides the Neon rules above. Kept in one block so
   the merge is easy to review and port into the Next.js build.
   ========================================================================== */

/* ---- Header: two-line portal title ---- */
.brand__title {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand__kicker {
  font-family: var(--font-en);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.brand__name {
  font-size: 19px;
  font-weight: 700;
  color: var(--navy);
}

html[lang="km"] .brand__title {
  font-size: inherit;
  line-height: inherit;
  max-width: none;
}

html[lang="km"] .brand__kicker {
  font-family: var(--font-km);
  font-size: 13px;
  line-height: 1.5;
}

html[lang="km"] .brand__name {
  max-width: 320px;
  font-size: 15px;
  line-height: 1.42;
  text-wrap: balance;
}

/* ---- Intro headline: Opus scale with the drawn "online" swash ---- */
.intro__headline {
  max-width: 15.5ch;
  font-size: clamp(2.45rem, 1rem + 4.6vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

html[lang="km"] .intro__headline {
  max-width: 19ch;
  font-size: clamp(2rem, 0.9rem + 3.2vw, 3.6rem);
  line-height: 1.42;
  letter-spacing: 0;
}

.accent-swash {
  position: relative;
  display: inline-block;
  white-space: nowrap;
}

.intro__headline .accent-word {
  color: var(--primary);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.swash {
  position: absolute;
  left: -2%;
  bottom: -0.12em;
  width: 104%;
  height: 0.32em;
  color: var(--primary);
  overflow: visible;
  pointer-events: none;
}

html[lang="km"] .swash {
  bottom: -0.2em;
  height: 0.26em;
}

.swash path {
  fill: none;
  stroke: currentColor;
  stroke-width: 5;
  stroke-linecap: round;
  stroke-dasharray: 340;
  stroke-dashoffset: 0;
}

html.js-motion .swash path {
  stroke-dashoffset: 340;
  animation: swashDraw 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.7s forwards;
}

@keyframes swashDraw {
  to {
    stroke-dashoffset: 0;
  }
}

/* ---- Hub: rotating bilingual seal around the SETFO card (Opus) ----
   Neon's wires and travelling pulses are unchanged; their bends moved out
   to x=300 / x=720 so they clear the seal. */
.hub-center {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 344px;
  height: 344px;
  transform: translate(-50%, -50%);
  z-index: 4;
  pointer-events: none;
}

.hub-center .hub-core {
  pointer-events: auto;
}

.hub-seal {
  position: absolute;
  inset: 0;
  color: var(--primary);
}

.hub-seal__layer {
  width: 100%;
  height: 100%;
}

.hub-seal svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.hub-seal__ring {
  fill: none;
  stroke: var(--line-strong);
}

.hub-seal__text {
  font: 600 12.5px var(--font-display);
  letter-spacing: 0.32em;
  word-spacing: 5px;
  fill: var(--primary);
  opacity: 0.62;
}

.hub-seal__km {
  font-family: var(--font-km);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
}

.hub-seal__spin {
  transform-origin: 180px 180px;
}

html.js-motion .hub-seal__spin {
  animation: sealSpin 120s linear infinite;
}

@keyframes sealSpin {
  to {
    transform: rotate(360deg);
  }
}

/* ---- Services: card heads use the gradient + grid of the primary cards ---- */
.svc-card__top {
  background:
    radial-gradient(260px 170px at 92% 0%, rgba(159, 192, 240, 0.34), transparent 70%),
    var(--grad-brand-deep);
}

.svc-card--featured .svc-card__top {
  background:
    radial-gradient(320px 210px at 92% 6%, rgba(76, 128, 206, 0.42), transparent 70%),
    radial-gradient(240px 180px at 6% 100%, rgba(31, 96, 193, 0.32), transparent 70%),
    var(--navy);
}

.svc-card__top::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 24px 24px;
  -webkit-mask-image: none;
  mask-image: none;
}

.svc-card__num {
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.34);
}

.svc-card__icon {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 28px -12px rgba(3, 18, 40, 0.6);
}

/* ---- Fees: bank logos instead of text badges ---- */
.fees-payline {
  margin-top: 30px;
  gap: 12px 16px;
}

.fees-payline__label {
  font-size: 14.5px;
  color: var(--ink-muted);
}

.pay-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pay-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 16px 0 8px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 12px 26px -22px rgba(31, 96, 193, 0.5);
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  transition:
    transform 0.2s var(--ease-out-soft),
    border-color 0.2s,
    box-shadow 0.2s;
}

.pay-logo:hover {
  transform: translateY(-2px);
  border-color: var(--primary-tint);
  box-shadow: var(--shadow-soft);
}

.pay-logo img {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: contain;
}

.pay-logo--khqr {
  padding: 0 8px;
}

.pay-logo--khqr img {
  width: auto;
  height: 34px;
  border-radius: 7px;
}

/* ---- Who uses SETFO: auto-advancing timer ---- */
.who-timer {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.who-timer .who-progress {
  flex: 1;
  margin-top: 0;
  padding-top: 0;
}

.who-progress__seg {
  position: relative;
  overflow: hidden;
  height: 4px;
}

.who-progress__seg.is-done {
  background: rgba(159, 192, 240, 0.5);
}

.who-progress__seg.is-active {
  background: rgba(255, 255, 255, 0.16);
}

.who-progress__fill {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--primary-light);
  transform-origin: left center;
}

/* The duration is restated with !important so the global reduced-motion
   rule can't shrink it to 0.01ms if someone turns auto-play back on. */
.who-progress.is-timed .who-progress__fill {
  animation: whoFill var(--who-interval, 6500ms) linear forwards;
  animation-duration: var(--who-interval, 6500ms) !important;
}

.who-progress.is-paused .who-progress__fill {
  animation-play-state: paused;
}

@keyframes whoFill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.who-autoplay {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  color: var(--white);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.24);
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}

.who-autoplay:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.42);
}

.who-autoplay:focus-visible {
  outline: 2px solid var(--primary-light);
  outline-offset: 3px;
}

.who-autoplay__icon--play,
.who-autoplay.is-stopped .who-autoplay__icon--pause {
  display: none;
}

.who-autoplay.is-stopped .who-autoplay__icon--play {
  display: block;
}

/* ---- Collateral: wider set from Article 6, four-up grid ---- */
.collateral-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px 48px;
  align-items: end;
}

.collateral-head .collateral-intro__body {
  margin-top: 0;
  max-width: 520px;
  justify-self: end;
}

.collateral-grid {
  margin-top: 40px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.collateral-card {
  gap: 14px;
  padding: 18px;
  border-radius: 16px;
}

.collateral-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
}

.collateral-card__name {
  font-size: 15.5px;
  line-height: 1.35;
}

.collateral-card__eg {
  font-size: 13.5px;
  line-height: 1.5;
}

html[lang="km"] .collateral-card__name {
  line-height: 1.55;
}

html[lang="km"] .collateral-card__eg {
  line-height: 1.7;
}

.collateral-note {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding: 16px 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
}

.collateral-note__text {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font-size: 14.5px;
  color: var(--ink-muted);
}

.collateral-note__text svg {
  flex-shrink: 0;
  color: var(--primary);
}

/* ---- Journey: "SETFO 3.0, coming soon" at the end of the line ---- */
.timeline-item--upcoming::before,
.timeline-item--upcoming::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

/* Covers the solid spine under the last item... */
.timeline-item--upcoming::after {
  top: 0;
  bottom: 0;
  width: 8px;
  background: var(--white);
}

/* ...and replaces it with a dashed lead-in to the node. */
.timeline-item--upcoming::before {
  top: 0;
  height: 50%;
  width: 2px;
  z-index: 1;
  background: repeating-linear-gradient(180deg, var(--primary-hover) 0 6px, transparent 6px 12px);
}

.timeline-item--upcoming .timeline-node,
.timeline-item--upcoming.is-lit .timeline-node {
  width: 17px;
  height: 17px;
  background: var(--ice);
  border: 2px solid var(--primary);
  box-shadow: 0 0 0 5px rgba(31, 96, 193, 0.12);
}

html.js-motion .timeline-item--upcoming .timeline-node {
  animation: soonPulse 2.4s ease-out infinite;
}

@keyframes soonPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 96, 193, 0.35);
  }
  100% {
    box-shadow: 0 0 0 12px rgba(31, 96, 193, 0);
  }
}

.timeline-item--upcoming .timeline-card {
  padding: 14px 20px;
  background: linear-gradient(135deg, #f7faff, var(--white));
  border: 1.5px dashed var(--primary-light);
}

.timeline-soon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 3px 11px;
  border-radius: 999px;
  background: var(--ice);
  color: var(--primary);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.timeline-soon__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--primary);
}

html.js-motion .timeline-soon__dot {
  animation: soonBlink 1.6s ease-in-out infinite;
}

@keyframes soonBlink {
  50% {
    opacity: 0.25;
  }
}

.timeline-item--upcoming .timeline-text {
  margin-top: 8px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

/* ---- Responsive ---- */
@media (max-width: 1100px) {
  .collateral-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .hub-center {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    grid-column: 1 / -1;
    width: min(320px, 100%);
    height: auto;
    aspect-ratio: 1;
    margin: 0 auto 8px;
  }
  .hub-center .hub-core {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    grid-column: auto;
    width: 196px;
    margin: 0;
    padding: 18px;
  }
  /* Tabs become a horizontal strip that follows the timer */
  .who-tabs {
    position: relative;
    flex-direction: row;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
  }
  .who-tabs::-webkit-scrollbar {
    display: none;
  }
  .who-tab {
    flex: 0 0 auto;
    width: auto;
    padding: 10px 16px;
    white-space: nowrap;
    scroll-snap-align: center;
  }
  .who-tab__arrow {
    display: none;
  }
}

@media (max-width: 860px) {
  .collateral-head {
    grid-template-columns: 1fr;
  }
  .collateral-head .collateral-intro__body {
    justify-self: start;
  }
  .collateral-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .timeline-item--upcoming::before,
  .timeline-item--upcoming::after {
    left: 17px;
  }
  .timeline-item--upcoming::before {
    height: 34px;
  }
}

@media (max-width: 560px) {
  .brand__kicker {
    font-size: 12px;
  }
  .brand__name {
    font-size: 15.5px;
  }
  html[lang="km"] .brand__name {
    font-size: 13.5px;
  }
  .collateral-grid {
    grid-template-columns: 1fr;
  }
  .pay-logo {
    height: 46px;
    font-size: 13px;
  }
}

/* Keep the English office name on one line when the full nav fits */
@media (min-width: 1280px) {
  html[lang="en"] .brand__name {
    white-space: nowrap;
  }
}

/* Keep a keyboard-focused control visible before its reveal animation runs. */
html.js-motion .reveal:focus-within {
  opacity: 1;
  transform: none;
}

.not-found {
  padding-block: 64px;
}

.not-found section {
  margin-block: 24px;
}

.not-found .btn {
  margin-top: 12px;
}

.who-autoplay[hidden] {
  display: none;
}
