/* RichTech Digital Berhad — site styles. Tokens mirror richtech.my.lib.pen variables. */
:root {
  --cyan: #00F4DF;
  --blue: #1444FF;
  --ink: #191919;
  --ink-2: #2B2B2B;
  --text: #444444;
  --muted: #686868; /* design #7A7A7A, darkened for WCAG AA on lavender and mint */
  --line: #DCDDE8;
  --mint: #D2F1E3;
  --mint-soft: #EAF8F1;
  --lav: #EFEFF7;
  --white: #FFFFFF;
  --green: #4CAF50;
  --green-deep: #2A7530; /* design #2E7D32, darkened for WCAG AA on mint */
  --ink-8: #19191914;
  --grad: linear-gradient(90deg, var(--cyan), var(--blue));
  --sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;
  --gutter: clamp(16px, 5.6vw, 80px);
  --section-y: clamp(64px, 7.2vw, 104px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--white); color: var(--text); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: var(--white); padding: 10px 16px; border-radius: 999px; }
.skip:focus { left: 16px; }

.wrap { width: 100%; max-width: calc(1280px + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }
.bg-lav { background: var(--lav); }
.bg-mint-soft { background: var(--mint-soft); }
.bg-white { background: var(--white); }

/* Icons (assets/icons.svg sprite) */
.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Type */
.eyebrow { font: 400 12px/1.3 var(--mono); letter-spacing: 1px; text-transform: uppercase; color: var(--green-deep); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: 1px; text-transform: uppercase; }
.h2 { font-size: clamp(32px, 3.4vw, 48px); font-weight: 300; letter-spacing: -0.0375em; line-height: 1.15; color: var(--ink); }
.h2--lg { font-size: clamp(36px, 3.9vw, 56px); letter-spacing: -0.04em; line-height: 1.06; }
.h2--sm { font-size: clamp(30px, 3.1vw, 44px); letter-spacing: -0.036em; }
.lead { font-size: 17px; line-height: 27px; color: var(--text); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 48px; }
.section-head .heading { display: flex; flex-direction: column; gap: 14px; }
.section-head .note { max-width: 400px; text-align: right; font-size: 15px; line-height: 23px; }

/* Buttons & links */
.btn { display: inline-flex; align-items: center; gap: 10px; padding: 16px 26px; border-radius: 999px; font-weight: 600; font-size: 16px; line-height: 1.2; white-space: nowrap; transition: transform .2s, box-shadow .2s, background-color .2s; }
.btn .i { width: 18px; height: 18px; }
.btn--dark { background: var(--ink); color: var(--white); }
.btn--dark .i { color: var(--cyan); }
.btn--dark:hover { background: var(--ink-2); transform: translateY(-1px); box-shadow: 0 10px 24px #19191926; }
.btn--ghost { background: #FFFFFF99; color: var(--ink); box-shadow: inset 0 0 0 1.2px var(--ink); }
.btn--ghost:hover { background: var(--white); }
.btn--sm { padding: 13px 20px; font-size: 14px; gap: 8px; }
.btn--sm .i { width: 15px; height: 15px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--ink); white-space: nowrap; }
.link-arrow .i { width: 16px; height: 16px; transition: transform .2s; }
.link-arrow:hover .i { transform: translateX(3px); }

/* Utility bar */
.utility { background: var(--mint-soft); border-bottom: 1px solid var(--line); font-size: 13px; }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 36px; padding-block: 9px; }
.utility__contacts { display: flex; gap: 28px; }
.utility__contacts a { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.utility__contacts .i { width: 14px; height: 14px; color: var(--green-deep); }
.utility__stock { display: inline-flex; align-items: center; gap: 8px; font: 400 11px var(--mono); letter-spacing: 1px; }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--green-deep); flex: none; }
.utility__stock .dot { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 50% { box-shadow: 0 0 0 4px #2E7D3226; } }

/* Nav */
.nav { position: sticky; top: 0; z-index: 50; background: #FFFFFFE6; backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; }
.nav__logo img { width: 150px; height: 50px; object-fit: contain; }
.nav__links { display: flex; align-items: center; gap: clamp(20px, 2.5vw, 36px); font-size: 15px; }
.nav__links a { color: var(--text); white-space: nowrap; position: relative; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--grad); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav__links a:hover::after, .nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__cta { padding: 12px 22px; font-size: 14px; gap: 8px; }
.nav__cta .i { width: 15px; height: 15px; }
.nav__toggle { display: none; width: 44px; height: 44px; border-radius: 12px; align-items: center; justify-content: center; color: var(--ink); }
.nav__toggle .i { width: 24px; height: 24px; }
.nav__toggle .i-close { display: none; }

/* Hero */
.hero { background-color: var(--mint); background-image: radial-gradient(ellipse 35% 50% at 2% 100%, #00F4DF40, #00F4DF00), radial-gradient(ellipse 40% 60% at 78% 45%, #FFFFFFE6, #FFFFFF00); overflow: hidden; }
.hero .wrap { display: flex; align-items: center; gap: 16px; padding-top: 72px; padding-bottom: 80px; }
.hero__copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 28px; min-width: 0; }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: #FFFFFFCC; box-shadow: inset 0 0 0 1px var(--white); font: 400 11px var(--mono); letter-spacing: 1px; color: var(--ink); }
.pill .dot { width: 7px; height: 7px; background: var(--green); }
.hero h1 { font-size: clamp(40px, 4.3vw, 62px); font-weight: 300; letter-spacing: -0.042em; line-height: 1.02; color: var(--ink); }
.hero__sub { max-width: 540px; font-size: 19px; line-height: 29px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__features { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 16px; }
.feature { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 16px; background: var(--white); box-shadow: 0 8px 24px #1919191A; font-size: 14px; font-weight: 500; color: var(--ink); }
.feature img { width: 40px; height: 40px; object-fit: contain; }

.stage { position: relative; width: min(620px, 100%); aspect-ratio: 620 / 560; flex: none; }
.stage > * { position: absolute; }
.stage__ring { left: 6.45%; top: 1.79%; width: 87.1%; height: 96.43%; overflow: visible; animation: spin 60s linear infinite; }
.stage__mid { left: 17.74%; top: 14.29%; width: 64.52%; height: 71.43%; border-radius: 50%; background: #FFFFFF66; box-shadow: inset 0 0 0 1.5px var(--white); }
.stage__glow { left: 29.03%; top: 26.79%; width: 41.94%; height: 46.43%; border-radius: 50%; background: #00F4DF59; filter: blur(30px); }
.stage__photo { left: 1.61%; top: 8.93%; width: 96.77%; height: 81.79%; object-fit: contain; animation: float 7s ease-in-out infinite; }
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: #FFFFFFE6; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); box-shadow: inset 0 0 0 1px var(--white), 0 8px 24px #1919191F; font: 400 11px var(--mono); letter-spacing: 1px; color: var(--ink); white-space: nowrap; }
.chip .i { width: 15px; height: 15px; color: var(--blue); }
.chip--tap { left: 0; top: 12.5%; }
.chip--qr { left: 70.97%; top: 6.43%; }
.chip--print { left: 67.74%; top: 85.71%; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-8px); } }

/* Cards (generic) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { background: var(--white); border-radius: 20px; padding: 32px; }

/* Key assets */
.asset { display: flex; flex-direction: column; gap: 28px; transition: transform .25s, box-shadow .25s; }
.asset:hover { transform: translateY(-4px); box-shadow: 0 16px 40px #1919190F; }
.asset__top { display: flex; justify-content: space-between; }
.asset__ring { width: 84px; height: 84px; border-radius: 50%; background: var(--mint-soft); display: grid; place-items: center; }
.asset__ring img { width: 52px; height: 52px; object-fit: contain; }
.asset__no { font: 400 12px var(--mono); letter-spacing: 1px; color: var(--muted); }
.asset h3 { font-size: 26px; font-weight: 500; letter-spacing: -0.6px; color: var(--ink); line-height: 1.25; margin-bottom: 10px; }
.asset p { line-height: 25px; }

/* Services */
.services { display: grid; grid-template-columns: 1fr 420px; gap: 20px; min-height: 500px; }
.srs { display: flex; gap: 32px; padding: 40px 0 0 40px; border-radius: 24px; overflow: hidden; background-color: var(--mint); background-image: radial-gradient(ellipse 60% 70% at 100% 100%, #00F4DF59, #00F4DF00); }
.srs__copy { flex: 1; display: flex; flex-direction: column; gap: 24px; padding-bottom: 40px; min-width: 0; }
.srs__tag { font: 400 11px var(--mono); letter-spacing: 1px; color: var(--green-deep); }
.srs__name { font-size: 56px; font-weight: 500; letter-spacing: -2.4px; line-height: 1; color: var(--ink); margin: 12px 0; }
.srs__desc { font-size: 17px; line-height: 26px; }
.srs__lists { display: flex; gap: 24px; }
.srs__lists > div { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.list-head { font: 400 10px var(--mono); letter-spacing: 1px; color: var(--ink); }
.check { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink); }
.check .i { width: 14px; height: 14px; color: var(--green-deep); stroke-width: 2.5; }
.srs__phone { width: 250px; height: 460px; object-fit: contain; align-self: flex-end; flex: none; }
.services__side { display: flex; flex-direction: column; gap: 20px; }
.svc { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; padding: 32px; border-radius: 24px; background: var(--lav); transition: background-color .25s; }
.svc:hover { background: #E6E6F3; }
.svc__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.svc__icon { width: 48px; height: 48px; border-radius: 14px; background: var(--white); display: grid; place-items: center; color: var(--blue); }
.svc__icon .i { width: 22px; height: 22px; }
.svc__tag { font: 400 11px var(--mono); letter-spacing: 1px; color: var(--muted); text-align: right; }
.svc h3 { font-size: 30px; font-weight: 500; letter-spacing: -0.9px; color: var(--ink); line-height: 1.2; margin-bottom: 8px; }
.svc p { line-height: 24px; }

/* Partners */
.logos { display: grid; grid-template-columns: repeat(7, 1fr); gap: 14px; }
.logo-tile { height: 96px; border-radius: 16px; background: var(--white); display: grid; place-items: center; padding: 12px; transition: transform .2s, box-shadow .2s; }
.logo-tile:hover { transform: translateY(-2px); box-shadow: 0 10px 24px #1919190F; }
.logo-tile img { width: 124px; height: 56px; object-fit: contain; }
.partners-note { margin-top: 40px; font-size: 14px; }

/* Corporate profile */
.profile { background-color: var(--mint-soft); background-image: radial-gradient(ellipse 50% 35% at 100% 0%, #00F4DF33, #00F4DF00); }
.profile__head { display: flex; align-items: flex-end; gap: 80px; margin-bottom: 56px; }
.profile__head .heading { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.profile__head .lead { max-width: 480px; }
.fact { background: var(--white); border-radius: 20px; overflow: hidden; }
.fact::before { content: ""; display: block; height: 4px; background: var(--grad); }
.fact__body { padding: 24px 28px 28px; display: flex; flex-direction: column; gap: 8px; }
.fact__value { font-size: clamp(30px, 2.65vw, 38px); letter-spacing: -1.4px; color: var(--ink); line-height: 1.2; }
.fact__label { font-size: 14px; line-height: 20px; }
.panels { display: grid; grid-template-columns: 1fr 520px; gap: 20px; margin-block: 20px; }
.panel { background: var(--white); border-radius: 24px; padding: 36px; display: flex; flex-direction: column; gap: 28px; }
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.panel__head h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); }
.panel__head .mono { color: var(--muted); }
.panel--structure { justify-content: space-between; }

.tree { display: flex; flex-direction: column; align-items: center; }
.node { border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 8px; width: 100%; }
.node--holding { width: min(420px, 100%); background: var(--ink); align-items: center; text-align: center; gap: 6px; padding: 22px 24px; }
.node--holding strong { color: var(--white); font-size: 20px; font-weight: 600; }
.node--holding span { color: var(--cyan); font: 400 10px var(--mono); letter-spacing: 1px; }
.vline { width: 2px; height: 20px; background: var(--grad); }
.vline--stub { height: 18px; }
.owned { padding: 5px 12px; border-radius: 999px; background: var(--mint); box-shadow: inset 0 0 0 1px var(--green); font: 400 10px var(--mono); letter-spacing: 1px; color: var(--green-deep); }
.branch-bar { width: calc(50% + 8px); height: 2px; background: var(--grad); }
.subs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; width: 100%; }
.subs > div { display: flex; flex-direction: column; align-items: center; }
.node--rcsb { background: var(--mint); box-shadow: inset 0 0 0 1px var(--green); }
.node--rclsb { background: var(--lav); box-shadow: inset 0 0 0 1px var(--blue); }
.node__tag { font: 400 10px var(--mono); letter-spacing: 1px; color: var(--green-deep); }
.node--rclsb .node__tag { color: var(--blue); }
.node__name { font-size: 18px; font-weight: 600; line-height: 22px; color: var(--ink); }
.node__desc { font-size: 14px; line-height: 20px; }

.timeline li { display: grid; grid-template-columns: 48px 14px 1fr; gap: 18px; min-height: 92px; }
.timeline li:last-child { min-height: 0; }
.timeline__year { font: 600 15px var(--mono); color: var(--ink); }
.timeline li:last-child .timeline__year { color: var(--blue); }
.timeline__rail { display: flex; flex-direction: column; align-items: center; gap: 4px; padding-top: 3px; }
.timeline__rail::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2.5px solid var(--green); background: var(--white); flex: none; }
.timeline__rail::after { content: ""; width: 2px; flex: 1; background: var(--line); }
.timeline li:last-child .timeline__rail::before { border-color: transparent; background: var(--grad) border-box; }
.timeline li:last-child .timeline__rail::after { display: none; }
.timeline h4 { font-size: 17px; font-weight: 600; color: var(--ink); margin-bottom: 5px; line-height: 1.3; }
.timeline p { font-size: 14px; line-height: 20px; padding-bottom: 20px; }

.vm { display: grid; grid-template-columns: 1fr 520px; gap: 20px; }
.vm .panel { gap: 18px; }
.vm__head { display: flex; align-items: center; gap: 10px; font: 400 11px var(--mono); letter-spacing: 1px; color: var(--ink); }
.vm__head .i { width: 18px; height: 18px; color: var(--green); }
.vm p { font-size: 20px; font-weight: 300; letter-spacing: -0.2px; line-height: 30px; color: var(--ink); }

/* Chairman */
.chairman .wrap { display: flex; gap: 80px; }
.chairman__card { width: 340px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.avatar { border-radius: 50%; background: var(--grad); display: grid; place-items: center; flex: none; }
.avatar span { border-radius: 50%; display: grid; place-items: center; color: var(--ink); }
.avatar--xl { width: 112px; height: 112px; }
.avatar--xl span { width: 104px; height: 104px; background: var(--mint-soft); font-size: 32px; font-weight: 500; }
.chairman__name strong { display: block; font-size: 26px; font-weight: 500; letter-spacing: -0.6px; color: var(--ink); margin-bottom: 6px; }
.chairman__name p { font-size: 15px; line-height: 21px; margin-bottom: 6px; }
.chairman__name .mono { color: var(--muted); }
.chairman__msg { flex: 1; display: flex; flex-direction: column; gap: 44px; min-width: 0; }
.chairman blockquote { font-size: clamp(34px, 3.9vw, 56px); font-weight: 300; letter-spacing: -0.04em; line-height: 1.07; color: var(--ink); }
.excerpts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.excerpts > div { border-top: 1.5px solid var(--ink); padding-top: 18px; display: flex; flex-direction: column; gap: 12px; }
.excerpts .mono { color: var(--ink); }
.excerpts p { line-height: 26px; }

/* Financial highlights */
.figure { background: var(--white); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 28px; }
.figure .mono { color: var(--ink); }
.figure__value { display: flex; align-items: flex-end; flex-wrap: wrap; gap: 10px; }
.figure__value strong { font-size: clamp(48px, 4.7vw, 68px); font-weight: 300; letter-spacing: -0.044em; line-height: .96; color: var(--ink); font-variant-numeric: tabular-nums; }
.figure__value span { font-size: 18px; color: var(--muted); }
.figure p { font-size: 14px; line-height: 20px; }
.figure--dark { background: var(--ink); background-image: radial-gradient(ellipse 70% 60% at 100% 0%, #00F4DF1F, #00F4DF00); }
.figure--dark .mono { color: var(--cyan); }
.figure--dark .figure__value strong { color: var(--white); }
.figure--dark .figure__value span, .figure--dark p { color: #FFFFFFB3; }
.supporting { margin-top: 20px; background: var(--white); border-radius: 24px; display: grid; grid-template-columns: repeat(4, 1fr); }
.supporting > div { padding: 28px; display: flex; flex-direction: column; gap: 8px; }
.supporting > div + div { border-left: 1px solid var(--line); }
.supporting .mono { font-size: 10px; color: var(--muted); }
.supporting strong { font-size: 28px; font-weight: 400; letter-spacing: -0.8px; color: var(--ink); line-height: 1.2; }
.supporting p { font-size: 13px; line-height: 18px; }
.fin-foot { margin-top: 48px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 14px; }
.fin-foot .btn { padding: 14px 22px; font-size: 15px; }
.fin-foot .btn .i { width: 16px; height: 16px; }

/* Board */
.board-summary { display: flex; gap: 32px; }
.board-summary div { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.board-summary strong { font-size: 36px; font-weight: 400; letter-spacing: -1.2px; color: var(--ink); line-height: 1.1; }
.board-summary span { font: 400 10px var(--mono); letter-spacing: 1px; color: var(--muted); }
.directors { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.director { background: var(--lav); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 24px; }
.director--ind { background: var(--mint-soft); }
.director__top { display: flex; justify-content: space-between; align-items: flex-start; }
.avatar--md { width: 64px; height: 64px; }
.avatar--md span { width: 58px; height: 58px; background: var(--white); font-size: 19px; font-weight: 600; letter-spacing: .5px; }
.tag { padding: 6px 12px; border-radius: 999px; background: var(--white); font: 400 10px var(--mono); letter-spacing: 1px; color: var(--ink); }
.director--ind .tag { color: var(--green-deep); }
.director h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); line-height: 1.25; margin-bottom: 6px; }
.director__role { font-size: 15px; line-height: 21px; }
.director__meta { margin-top: auto; border-top: 1px solid var(--ink-8); padding-top: 18px; display: flex; flex-direction: column; gap: 8px; }
.director__meta li { display: flex; gap: 10px; font-size: 13px; line-height: 18px; }
.director__meta .i { width: 15px; height: 15px; color: var(--blue); margin-top: 1px; }

/* Corporate information */
.info { background: var(--white); border-radius: 24px; overflow: hidden; display: grid; grid-template-columns: repeat(3, 1fr); }
.info > div { padding: 32px; display: flex; flex-direction: column; gap: 14px; min-height: 196px; }
.info > div:not(:nth-child(3n+1)) { border-left: 1px solid var(--line); }
.info > div:nth-child(n+4) { border-top: 1px solid var(--line); }
.info__key { display: flex; align-items: center; gap: 10px; font: 400 11px var(--mono); letter-spacing: 1px; color: var(--ink); }
.info__key .i { width: 18px; height: 18px; color: var(--green); }
.info p { font-size: 16px; line-height: 25px; color: var(--ink); }
.strip { margin-top: 20px; background: var(--white); border-radius: 16px; padding: 20px 32px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.strip .mono { font-size: 10px; color: var(--muted); display: block; margin-bottom: 4px; }
.strip strong { font-size: 15px; font-weight: 500; color: var(--ink); }

/* Corporate updates */
.update { background: var(--mint-soft); border-radius: 20px; padding: 28px; display: flex; flex-direction: column; gap: 36px; transition: transform .25s, box-shadow .25s; }
.update:hover { transform: translateY(-4px); box-shadow: 0 16px 40px #1919190F; }
.update__top { display: flex; align-items: center; justify-content: space-between; }
.update__top .mono { color: var(--ink); }
.update .tag { padding: 5px 10px; color: var(--green-deep); }
.update h3 { font-size: 20px; font-weight: 400; letter-spacing: -0.3px; line-height: 27px; color: var(--ink); }
.update__link { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; color: var(--blue); }
.update__link .i { width: 14px; height: 14px; }

/* Investor relations CTA band */
.ir { background-color: var(--mint); background-image: radial-gradient(ellipse 35% 60% at 0% 100%, #00F4DF4D, #00F4DF00), radial-gradient(ellipse 45% 80% at 90% 50%, #FFFFFFD9, #FFFFFF00); }
.ir .wrap { display: flex; align-items: center; gap: 64px; }
.ir__copy { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 24px; }
.ir__copy .btn--ghost .i { color: var(--ink); }
.ir__copy .hero__ctas { padding-top: 8px; }
.docs { width: 520px; flex: none; background: var(--white); border-radius: 24px; padding: 8px 28px; box-shadow: 0 16px 48px #19191914; }
.docs a { display: flex; align-items: center; gap: 16px; padding: 20px 0; font-size: 17px; font-weight: 500; color: var(--ink); }
.docs a + a { border-top: 1px solid var(--line); }
.docs a > .i { width: 20px; height: 20px; color: var(--green); }
.docs a span:not(.mono) { flex: 1; }
.docs .mono { font-size: 10px; color: var(--muted); }
.docs a > .i:last-child { width: 16px; height: 16px; color: var(--ink); transition: transform .2s; }
.docs a:hover > .i:last-child { transform: translate(2px, -2px); }

/* Footer */
.footer { background: var(--lav); border-top: 1px solid var(--line); padding: 64px 0 32px; font-size: 14px; }
.footer__top { display: flex; gap: 40px; }
.footer__brand { flex: 1; display: flex; flex-direction: column; gap: 16px; }
.footer__brand img { width: 150px; height: 50px; object-fit: contain; }
.footer__brand address { font-style: normal; color: var(--muted); line-height: 22px; max-width: 340px; }
.footer__brand p { color: var(--ink); font-weight: 500; }
.footer__col { width: 220px; display: flex; flex-direction: column; gap: 14px; }
.footer__col h2 { font: 400 11px var(--mono); letter-spacing: 1px; color: var(--green-deep); }
.footer__col a:hover, .footer__bottom a:hover, .footer__brand p a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.footer__disclaimer { margin-top: 32px; font-size: 12px; line-height: 19px; color: var(--muted); }
.footer__bottom { margin-top: 32px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--muted); }

/* Sub-page header */
.page-head { background-color: var(--mint); background-image: radial-gradient(ellipse 35% 70% at 0% 100%, #00F4DF40, #00F4DF00), radial-gradient(ellipse 45% 80% at 85% 30%, #FFFFFFD9, #FFFFFF00); padding: clamp(56px, 6vw, 88px) 0; }
.page-head .wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.page-head h1 { font-size: clamp(38px, 4.3vw, 62px); font-weight: 300; letter-spacing: -0.042em; line-height: 1.04; color: var(--ink); max-width: 900px; }
.page-head .lead { max-width: 640px; font-size: 18px; line-height: 28px; }
.subnav { position: sticky; top: 86px; z-index: 40; background: #FFFFFFF2; border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.subnav .wrap { display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.subnav .wrap::-webkit-scrollbar { display: none; }
.subnav a { flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14px; color: var(--text); white-space: nowrap; }
.subnav a:hover { background: var(--lav); color: var(--ink); }

/* Document lists (investor centre) */
.doc-group { background: var(--white); border-radius: 24px; padding: 8px 28px; }
.doc-group a { display: flex; align-items: center; gap: 16px; padding: 18px 0; color: var(--ink); font-weight: 500; }
.doc-group a + a { border-top: 1px solid var(--line); }
.doc-group a > .i { width: 20px; height: 20px; color: var(--green); }
.doc-group a span:not(.mono) { flex: 1; }
.doc-group .mono { font-size: 10px; color: var(--muted); }
.doc-group a > .i:last-child { width: 16px; height: 16px; color: var(--ink); }
.doc-group a:hover span:not(.mono) { text-decoration: underline; text-underline-offset: 3px; }
.ir-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.ir-block h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin: 0 0 16px; }
.embed { background: var(--white); border-radius: 24px; padding: 8px; overflow: hidden; }
.embed iframe { display: block; width: 100%; border: 0; border-radius: 18px; }

.doc-group--tint { background: var(--lav); }
.quote { justify-content: space-between; }
.quote .figure__value span { font: 400 18px var(--mono); letter-spacing: 1px; color: var(--cyan); }
.btn--light { background: var(--white); color: var(--ink); }
.btn--light:hover { background: var(--mint); }
.btn--outline-light { color: var(--white); box-shadow: inset 0 0 0 1.2px #FFFFFF66; }
.btn--outline-light:hover { box-shadow: inset 0 0 0 1.2px var(--white); }
.btn--outline-light .i { color: var(--cyan); }
.kv-card { display: flex; flex-direction: column; justify-content: space-between; gap: 24px; background: var(--lav); }
.kv div { display: grid; grid-template-columns: 140px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.kv div:first-child { padding-top: 0; }
.kv dt { font: 400 11px/22px var(--mono); letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }
.kv dd { color: var(--ink); font-weight: 500; }
.info small { font-size: 14px; color: var(--muted); }
.info--bordered { background: var(--lav); }
.info--bordered > div:not(:nth-child(3n+1)) { border-left-color: #D5D6E6; }
html:has(.subnav) { scroll-padding-top: 150px; }
.highlight-link { display: flex; align-items: center; justify-content: space-between; gap: 32px; background: var(--white); border-radius: 24px; padding: 32px 36px; transition: box-shadow .25s; }
.highlight-link:hover { box-shadow: 0 16px 40px #1919190F; }
.highlight-link__title { font-size: clamp(20px, 1.9vw, 26px); font-weight: 400; letter-spacing: -0.5px; color: var(--ink); margin: 12px 0 8px; line-height: 1.3; }
.highlight-link p:last-child { font-size: 14px; }
.alerts { padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.alerts h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); line-height: 1.25; }
.alerts .form .btn { padding: 15px 24px; }
.form-msg { font-size: 14px; color: var(--green-deep); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

.section:not([class*="bg-"]):not(.ir):not(.profile) .logo-tile { background: var(--lav); }
.logos--4 { grid-template-columns: repeat(4, 1fr); }
.logo-tile--lg { height: 120px; }
.logo-tile--lg img { width: 160px; height: 72px; }
.jompay { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.jompay .kv div:last-child { border-bottom: 0; padding-bottom: 0; }
.faq h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); margin-bottom: 20px; }
.services--page { grid-template-columns: 1fr; min-height: 0; }
.services--page .srs { min-height: 500px; }
.story { align-items: start; }
.panel.bg-lav, .panel.bg-mint-soft { box-shadow: none; }
.bio { display: grid; grid-template-columns: 340px 1fr; gap: 48px; padding: 40px; border-radius: 24px; background: var(--white); }
.bio + .bio { margin-top: 20px; }
.bio__who { display: flex; gap: 20px; align-items: flex-start; }
.bio__who .tag { display: inline-block; margin-bottom: 12px; background: var(--lav); }
.bio--ind .bio__who .tag { background: var(--mint-soft); color: var(--green-deep); }
.bio__who h3 { font-size: 24px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); line-height: 1.25; margin-bottom: 6px; }
.bio__who .avatar--md span { background: var(--lav); }
.bio__text { display: flex; flex-direction: column; gap: 14px; line-height: 1.7; }
.contact-cards { display: flex; flex-direction: column; gap: 20px; }
.contact-cards .card { display: flex; flex-direction: column; gap: 12px; }
.contact-cards h2 { font-size: 22px; font-weight: 500; letter-spacing: -0.4px; color: var(--ink); }
.contact-cards address { font-style: normal; line-height: 1.6; }
.text-link { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.map { padding: 0; min-height: 420px; background: var(--lav); }
.map iframe { height: 100%; min-height: 420px; border-radius: 24px; }

/* Forms */
.form { display: flex; flex-wrap: wrap; gap: 12px; }
.form input[type="email"], .form input[type="text"] { flex: 1 1 240px; min-width: 0; padding: 15px 20px; border-radius: 999px; border: 1px solid var(--line); background: var(--white); font: inherit; color: var(--ink); }
.form input:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: transparent; }
.form small { flex-basis: 100%; font-size: 12px; color: var(--muted); }

/* Prose (policy / terms pages) */
.prose { max-width: 820px; color: var(--text); line-height: 1.75; }
.prose h2 { font-size: 28px; font-weight: 400; letter-spacing: -0.6px; color: var(--ink); margin: 40px 0 12px; line-height: 1.25; }
.prose h3 { font-size: 20px; font-weight: 500; color: var(--ink); margin: 28px 0 8px; }
.prose p, .prose ul, .prose ol { margin: 0 0 14px; }
.prose ul { list-style: disc; padding-left: 22px; }
.prose ol { list-style: decimal; padding-left: 22px; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }
.prose table { width: 100%; border-collapse: collapse; margin: 0 0 16px; font-size: 14px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }

/* FAQ */
.faq details { background: var(--white); border-radius: 16px; padding: 0 24px; }
.faq details + details { margin-top: 10px; }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-weight: 500; color: var(--ink); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 300 24px/1 var(--sans); color: var(--green-deep); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding-bottom: 20px; line-height: 1.7; }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* Responsive */
@media (max-width: 1200px) {
  .nav__links { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__cta { margin-left: auto; }
  .nav.open .nav__links { display: flex; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px #19191914; }
  .nav.open .nav__links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav.open .nav__links a::after { display: none; }
  .nav.open .i-menu { display: none; }
  .nav.open .i-close { display: block; }
  .services { grid-template-columns: 1fr; }
  .services__side { flex-direction: row; }
  .logos { grid-template-columns: repeat(5, 1fr); }
  .panels, .vm { grid-template-columns: 1fr; }
}

@media (max-width: 1024px) {
  .hero .wrap { flex-direction: column; align-items: stretch; }
  .stage { margin: 0 auto; }
  .grid-3, .directors { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .profile__head, .section-head { flex-direction: column; align-items: flex-start; gap: 24px; }
  .section-head .note { text-align: left; }
  .chairman .wrap { flex-direction: column; gap: 48px; }
  .chairman__card { width: auto; }
  .supporting { grid-template-columns: repeat(2, 1fr); }
  .supporting > div:nth-child(3) { border-left: 0; }
  .supporting > div:nth-child(n+3) { border-top: 1px solid var(--line); }
  .info { grid-template-columns: repeat(2, 1fr); }
  .info > div { border: 0 !important; }
  .info > div:nth-child(even) { border-left: 1px solid var(--line) !important; }
  .info > div:nth-child(n+3) { border-top: 1px solid var(--line) !important; }
  .strip { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .ir .wrap { flex-direction: column; align-items: stretch; }
  .docs { width: 100%; }
  .footer__top { flex-wrap: wrap; }
  .footer__brand { flex-basis: 100%; }
  .ir-grid { grid-template-columns: 1fr; }
  .bio { grid-template-columns: 1fr; gap: 24px; padding: 28px; }
}

@media (max-width: 768px) {
  .utility__contacts a:last-child { display: none; }
  .nav .wrap { min-height: 72px; }
  .nav__logo img { width: 120px; height: 40px; }
  .nav__cta { display: none; }
  .subnav { top: 72px; }
  .services__side { flex-direction: column; }
  .srs { flex-direction: column; padding: 32px 24px 0; }
  .srs__phone { align-self: center; width: 200px; height: 368px; }
  .logos { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .logo-tile { height: 80px; }
  .excerpts { grid-template-columns: 1fr; gap: 24px; }
  .fin-foot { flex-direction: column; align-items: flex-start; }
  .section-head { margin-bottom: 32px; }
  .board-summary { gap: 24px; }
  .board-summary div { align-items: flex-start; }
  .footer__col { width: calc(50% - 20px); }
}

@media (max-width: 640px) {
  .hide-sm { display: none; }
  .grid-3, .grid-4, .directors, .supporting, .info, .strip, .subs { grid-template-columns: 1fr; }
  .supporting > div, .info > div { border-left: 0 !important; }
  .supporting > div + div, .info > div + div { border-top: 1px solid var(--line) !important; }
  .branch-bar { display: none; }
  .subs .vline--stub { display: none; }
  .subs > div + div { margin-top: 0; }
  .tree .owned + .vline { margin-bottom: 16px; }
  .timeline li { grid-template-columns: 44px 14px 1fr; gap: 12px; }
  .panel { padding: 24px; }
  .chip { font-size: 9px; padding: 7px 10px; }
  .chip .i { width: 12px; height: 12px; }
  .hero h1 br { display: none; }
  .hero__sub { font-size: 17px; line-height: 27px; }
  .srs__lists { flex-direction: column; }
  .footer__bottom { flex-direction: column; }
  .docs { padding: 4px 20px; }
  .docs.alerts { padding: 24px; }
  .docs a { font-size: 15px; gap: 12px; }
}

/* Link cards (privacy page) */
.highlight-card { display: flex; flex-direction: column; gap: 12px; transition: transform .25s, box-shadow .25s; }
.highlight-card:hover { transform: translateY(-3px); box-shadow: 0 16px 40px #1919190F; }
.highlight-card h2 { font-size: 24px; font-weight: 500; letter-spacing: -0.5px; color: var(--ink); }

/* Six-logo grid (partners: telcos & billers) */
.logos--6 { grid-template-columns: repeat(6, 1fr); }
@media (max-width: 1200px) { .logos--6 { grid-template-columns: repeat(3, 1fr); } }
