/* Hallmark · genre: modern-minimal · macrostructure: Split Studio · theme: O88 Cobalt
   nav: N1b (in-flow navigation) · footer: product directory · enrichment: orbital signet
   pre-emit critique: Philosophy 5 · Hierarchy 5 · Execution 4 · Specificity 5 · Restraint 5 · Variety 4 */
/* Shared product colours mirror frontend/src/styles/o88-tokens.css. */
:root {
  color-scheme: light;
  --o88-canvas: #f7f8fa;
  --o88-surface: #ffffff;
  --o88-surface-muted: #f3f5f9;
  --o88-ink: #152238;
  --o88-ink-soft: #34425a;
  --o88-muted: #647187;
  --o88-border: #e0e5ed;
  --o88-brand: #345af6;
  --o88-brand-strong: #345af6;
  --o88-brand-hover: #2847d5;
  --o88-brand-soft: #edf2ff;
  --o88-on-brand: #ffffff;
  --o88-focus: #345af6;
  --o88-logo-ink: #151719;
  --o88-logo-mark: #064bff;
  --bg: var(--o88-canvas);
  --text: var(--o88-ink);
  --muted: var(--o88-muted);
  --line: var(--o88-border);
  --accent: var(--o88-brand);
  --button: var(--o88-brand-strong);
  --button-text: var(--o88-on-brand);
  --button-hover: var(--o88-brand-hover);
  --panel: var(--o88-surface-muted);
  --panel-warm: var(--o88-surface-muted);
  --panel-cool: var(--o88-brand-soft);
  --tile: var(--o88-surface);
  --diagram: var(--o88-muted);
  --diagram-strong: var(--o88-ink-soft);
  --diagram-line: var(--o88-border);
  --band: var(--o88-surface);
  --orbit: var(--o88-border);
  --focus: var(--o88-focus);
  --shadow: #1522381f;
  --mark: var(--o88-logo-mark);
  --brand-ink: var(--o88-logo-ink);
  --font: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --display: var(--font);
  --page-width: 1248px;
  --gutter: clamp(24px, 5.55vw, 80px);
  --radius-control: 8px;
  --radius-panel: 14px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --ease: 150ms ease;
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --o88-canvas: #0d1625;
  --o88-surface: #131e30;
  --o88-surface-muted: #1a283c;
  --o88-ink: #e8eef8;
  --o88-ink-soft: #becbe0;
  --o88-muted: #97a8c2;
  --o88-border: #2b3b52;
  --o88-brand: #a4b6ff;
  --o88-brand-strong: #4565ed;
  --o88-brand-hover: #3a58d7;
  --o88-brand-soft: #1e2d50;
  --o88-focus: #a4b6ff;
  --o88-logo-ink: #f1f4ff;
  --o88-logo-mark: #a4b8ff;
  --shadow: #00000052;
}
* { box-sizing: border-box; }
html, body { overflow-x: clip; }
html { scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.75 var(--font); -webkit-font-smoothing: antialiased; }
::selection { background: var(--accent); color: var(--bg); }
a { color: inherit; text-decoration: none; }
button, select { font: inherit; color: inherit; }
button, summary, select { -webkit-tap-highlight-color: transparent; }
button, select, summary, a { touch-action: manipulation; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 5px; border-radius: 2px; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-family: var(--display); font-style: normal; min-width: 0; overflow-wrap: anywhere; }
h2 { font-size: clamp(32px, 3.15vw, 48px); font-weight: 550; letter-spacing: -.045em; line-height: 1.35; }
h3 { font-size: clamp(26px, 2.4vw, 36px); font-weight: 550; line-height: 1.4; letter-spacing: -.035em; }
.wrap { width: min(var(--page-width), calc(100% - var(--gutter) * 2)); margin-inline: auto; }
.svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 22px; height: 22px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; left: 24px; top: -90px; z-index: 20; background: var(--text); color: var(--bg); padding: 12px 20px; }
.skip-link:focus { top: 12px; }
.site-header { height: 100px; display: flex; align-items: center; justify-content: space-between; gap: 32px; position: relative; z-index: 5; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand-symbol { width: 48px; height: 48px; color: var(--mark); }
.brand-text { display: flex; align-items: center; gap: 20px; }
.wordmark { display: block; width: 104px; height: 33px; color: var(--brand-ink); }
.brand-name { font-size: 12px; line-height: 1.4; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: clamp(24px, 2.6vw, 40px); font-size: 14px; }
.main-nav a, .text-link, .back-top { white-space: nowrap; }
.main-nav a { padding-block: 10px; }
.main-nav a:hover { color: var(--accent); }
.preferences { display: flex; align-items: center; gap: 12px; }
.language-control { position: relative; display: flex; align-items: center; gap: 9px; }
.language-control > .icon { width: 18px; height: 18px; pointer-events: none; }
.language-control select { appearance: none; cursor: pointer; background: transparent; border: 0; border-radius: 0; padding: 10px 23px 10px 0; font-size: 13px; width: 82px; }
.language-control .chevron { position: absolute; right: 0; width: 16px; height: 16px; }

.control-divider { width: 1px; height: 16px; background: var(--line); margin-inline: 2px; }
.theme-control { position: relative; }
.theme-control summary { width: 38px; height: 42px; display: flex; align-items: center; justify-content: center; list-style: none; cursor: pointer; }
.theme-control summary::-webkit-details-marker { display: none; }
.theme-control summary:hover { color: var(--accent); }
.theme-options { position: absolute; z-index: 10; top: 48px; right: 0; width: 195px; padding: 8px; background: var(--tile); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 32px var(--shadow); }
.theme-options button { display: flex; align-items: center; gap: 12px; padding: 9px 10px; width: 100%; background: transparent; border: 0; border-radius: 4px; font-size: 14px; text-align: left; white-space: nowrap; }
.theme-options button:hover { background: var(--panel); }
.selected-dot { margin-left: auto; width: 5px; height: 5px; border-radius: 50%; }
[aria-pressed="true"] .selected-dot { background: var(--accent); }
.hero { display: grid; grid-template-columns: 1.06fr 1fr; align-items: center; column-gap: 24px; position: relative; }
.hero-copy { padding-block: 72px 80px; z-index: 1; }
.eyebrow { font-size: 12px; letter-spacing: .1em; font-weight: 500; display: flex; align-items: center; gap: 10px; line-height: 1.6; }
.small-mark { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.hero-copy > .eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .06em; }
h1 { font-size: clamp(60px, 6.1vw, 92px); line-height: 1.16; letter-spacing: -.06em; font-weight: 550; margin-block: 26px 28px; }
h1 > span, .approach h2 > span, .about-belief > span { display: block; }
.hero-description { font-size: 17px; color: var(--muted); max-width: 29em; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 32px; margin-top: 34px; }
.button { display: inline-flex; align-items: center; gap: 32px; padding: 15px 24px; background: var(--button); color: var(--button-text); font-size: 14px; font-weight: 550; border-radius: 3px; white-space: nowrap; }
.button:hover { background: var(--button-hover); }
.button .icon { width: 23px; }
.text-link { display: inline-flex; gap: 12px; align-items: center; padding-block: 8px; font-size: 13px; border-bottom: 1px solid var(--line); }
.text-link:hover { color: var(--accent); border-color: var(--accent); }
.hero-visual { position: relative; align-self: stretch; display: flex; align-items: center; justify-content: center; min-width: 0; min-height: 0; }
.hero-emblem { width: 100%; max-width: none; height: calc(100% - 52px); fill: currentColor; color: var(--mark); position: absolute; top: 0; z-index: 1; margin: 0;  }
.orbit { border: 1px solid var(--orbit); border-radius: 50%; position: absolute; width: 86%; aspect-ratio: 1; pointer-events: none; }
.orbit-two { width: 84%; transform: rotate(-30deg) scaleY(.76); opacity: .65; }
.hero-visual figcaption { position: absolute; left: 50%; bottom: 21px; display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; letter-spacing: .06em; white-space: nowrap; z-index: 2; }
.visual-line { width: 24px; height: 1px; background: var(--muted); }
.hero-index { grid-column: 1/-1; border-block: 1px solid var(--line); padding-block: 21px; display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 13px; }
.hero-index-label { color: var(--muted); font-size: 12px; }
.hero-index > div { display: flex; gap: 48px; }
.hero-index a { display: flex; align-items: center; gap: 16px; white-space: nowrap; }
.hero-index a > span:first-child { color: var(--accent); }
.hero-index a:hover { color: var(--accent); }
.section-space { padding-block: 112px; }
.section-heading { margin-bottom: 56px; }
.section-heading h2 { margin-top: 17px; }
.section-intro { color: var(--muted); font-size: 16px; margin-top: 20px; max-width: 44em; }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 106px); align-items: center; padding-block: 32px; }
.service-row + .service-row { margin-top: 24px; }
.service-row.reverse .service-copy { order: -1; }
.service-row.reverse { padding-left: 56px; }
.service-copy { padding-right: 36px; }
.service-category { font-size: 12px; color: var(--accent); margin-bottom: 16px; letter-spacing: .04em; }
.service-copy > p:not(.service-category) { color: var(--muted); margin-top: 22px; line-height: 1.9; max-width: 29em; }
.service-note { display: block; border-top: 1px solid var(--line); color: var(--muted); margin-top: 28px; padding-top: 16px; font-size: 12px; max-width: 38em; }
.service-visual { min-height: 310px; background: var(--panel); border-radius: var(--radius-panel); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px; padding: 28px; min-width: 0; }
.service-visual > p { color: var(--diagram-strong); font-size: 12px; letter-spacing: .04em; text-align: center; }
.model-network { width: min(380px, 100%); height: 200px; position: relative; }
.network-lines { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--diagram-line); stroke-width: 1.4; }
.network-node { position: absolute; left: 12%; width: 42px; height: 42px; border: 1px solid var(--diagram-line); background: var(--tile); border-radius: 10px; display: grid; place-items: center; z-index: 1; }
.node-one { top: 8%; }.node-two { top: 39.5%; }.node-three { top: 71%; }
.network-node > span { width: 15px; height: 15px; border: 1px solid var(--diagram); border-radius: 50%; }
.node-two > span { border-radius: 3px; transform: rotate(45deg); }
.node-three > span { border-radius: 4px; width: 17px; height: 13px; }
.network-center { position: absolute; width: 70px; height: 70px; border-radius: 50%; background: var(--tile); border: 1px solid var(--diagram-line); left: 33%; top: 32.5%; display: grid; place-items: center; z-index: 1; }
.network-center svg { width: 44px; height: 44px; color: var(--accent); }
.network-output { position: absolute; right: 9%; top: 35%; width: 54px; height: 60px; background: var(--tile); border: 1px solid var(--diagram-line); border-radius: 3px; padding: 13px 11px; display: flex; flex-direction: column; gap: 7px; }
.network-output > span { height: 2px; width: 100%; background: var(--diagram-line); }.network-output > span:last-child { width: 65%; }
.desktop-visual { background: var(--panel-warm); }
.desktop-stack { position: relative; width: 270px; height: 204px; margin-top: 12px; }
.desktop-layer { position: absolute; width: 238px; height: 156px; border: 1px solid var(--diagram-line); border-radius: 6px; }
.layer-back { top: 0; left: 32px; background: var(--panel-warm); }
.layer-middle { top: 17px; left: 16px; background: var(--panel-warm); }
.layer-front { top: 34px; left: 0; background: var(--tile); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.desktop-symbol { width: 62px; height: 62px; fill: none; stroke: var(--diagram-strong); stroke-width: 1.4; }
.desktop-cursor { fill: var(--accent); stroke: none; }
.desktop-persistent { font-size: 12px; color: var(--diagram-strong); }
.agent-visual { background: var(--panel-cool); gap: 22px; }
.agent-flow { display: flex; align-items: center; justify-content: center; width: 100%; margin-top: 30px; }
.flow-input { display: flex; flex-direction: column; gap: 6px; }
.flow-input > span { width: 45px; height: 16px; background: var(--tile); border: 1px solid var(--diagram-line); border-radius: 2px; }
.flow-connector { width: 46px; height: 1px; background: var(--diagram-line); }
.flow-core { width: 82px; height: 82px; border: 1px solid var(--diagram-line); background: var(--tile); display: grid; place-items: center; border-radius: 20px; }
.flow-core > svg { width: 48px; height: 48px; color: var(--accent); }
.flow-result { width: 44px; height: 44px; border: 1px solid var(--diagram-line); background: var(--tile); border-radius: 50%; display: grid; place-items: center; }
.flow-result > svg { width: 24px; height: 24px; stroke: var(--diagram-strong); fill: none; stroke-width: 1.6; }
.agent-tasks { display: flex; gap: 12px; color: var(--diagram-strong); font-size: 12px; margin-block: 6px 14px; flex-wrap: wrap; justify-content: center; }
.agent-tasks > span { border: 1px solid var(--diagram-line); border-radius: 3px; padding: 3px 10px; }
.approach { background: var(--band); }
.approach-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 96px; }
.approach h2 { margin-top: 22px; }
.approach-heading > p:last-child { color: var(--muted); margin-top: 24px; font-size: 14px; max-width: 29em; }
.steps { list-style: none; padding: 0; margin: 0; }
.steps li { display: flex; align-items: flex-start; gap: 28px; padding-block: 25px; border-bottom: 1px solid var(--line); }
.steps li:first-child { padding-top: 0; }
.steps li:last-child { border: 0; padding-bottom: 0; }
.step-number { color: var(--accent); font-size: 12px; line-height: 2.4; font-variant-numeric: tabular-nums; }
.steps h3 { font-size: 20px; letter-spacing: -.02em; }
.steps p { color: var(--muted); font-size: 14px; line-height: 1.85; margin-top: 10px; max-width: 32em; }
.about-top h2 { margin-top: 18px; }
.name-equation { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-block: 56px 48px; border-block: 1px solid var(--line); padding-block: 34px 32px; }
.name-unit { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; }
.name-letter { font-size: clamp(66px, 7vw, 106px); font-weight: 500; line-height: 1.2; letter-spacing: -.07em; }
.name-reading { font-size: 12px; color: var(--muted); margin-top: 6px; }
.equation-plus, .equation-equals { font-size: 28px; color: var(--muted); margin-top: -26px; font-weight: 300; }
.equation-domain { font-size: clamp(60px, 7.6vw, 116px); font-weight: 550; letter-spacing: -.065em; color: var(--accent); line-height: 1.2; margin-top: -24px; }
.about-bottom { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 112px; }
.about-bottom > p:first-child { color: var(--muted); font-size: 14px; line-height: 1.95; max-width: 40em; }
.about-belief { font-size: 22px; line-height: 1.7; letter-spacing: -.02em; }
.footer { padding-block: 28px 36px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 24px; font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 9px; font-size: 23px; letter-spacing: -.05em; font-weight: 650; }
.footer-brand svg { width: 30px; height: 30px; color: var(--mark); }
.footer-brand .footer-wordmark { width: 104px; height: 31px; color: var(--brand-ink); }
.footer p { color: var(--muted); }
.back-top { display: flex; align-items: center; gap: 20px; }.back-top:hover { color: var(--accent); }

@media (min-width: 1700px) { .hero-copy { padding-block: 100px; } }
@media (max-width: 1279px) {
  .brand-name { display: none; }
  .hero-copy { padding-block: 56px 64px; }
  .hero-actions { gap: 24px; }
  .button { gap: 20px; padding-inline: 20px; }
  .hero-visual figcaption { left: 35%; }
  .service-row.reverse { padding-left: 0; }
  .service-copy { padding-right: 0; }
  .approach-layout { gap: 64px; }
}
@media (max-width: 1000px) {
  .site-header { height: auto; flex-wrap: wrap; padding-block: 20px 12px; gap: 12px 20px; }
  .main-nav { order: 3; flex-basis: 100%; gap: 28px; font-size: 12px; border-top: 1px solid var(--line); padding-top: 6px; }
  .hero { column-gap: 0; }
  h1 { font-size: clamp(48px, 7vw, 70px); }
  .hero-description { font-size: 15px; }
  .hero-actions { flex-wrap: wrap; gap: 12px 24px; margin-top: 26px; }
  .hero-emblem { width: 100%; }
  .hero-index > div { gap: 28px; }
  .section-space { padding-block: 80px; }
  .service-row { gap: 40px; }
  .service-visual { min-height: 300px; padding: 20px; }
  .service-copy > p:not(.service-category) { font-size: 14px; margin-top: 16px; }
  .service-note { margin-top: 20px; }
  .about-bottom { gap: 64px; }
  .name-equation { gap: 12px; }.name-reading { font-size: 12px; }
}
@media (max-width: 760px) {
  :root { --gutter: 24px; }
  .site-header { height: auto; min-height: 90px; flex-wrap: wrap; gap: 12px 8px; padding-block: 20px 14px; }
  .brand-symbol { width: 36px; height: 36px; }.brand { gap: 7px; }.wordmark { width: 92px; height: 30px; }
  .main-nav { order: 3; flex-basis: 100%; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 7px; font-size: 12px; gap: 12px; }
  .main-nav a { padding-block: 6px; }
  .preferences { gap: 5px; }.language-control { gap: 6px; }.control-divider { margin-inline: 4px; }.language-control select { font-size: 12px; width: 80px; }

  .theme-control summary { width: 30px; }
  .hero { grid-template-columns: minmax(0, 1fr); }
  .hero-copy { padding-block: 42px 0; }
  .eyebrow { font-size: 12px; }
  .hero-copy > .eyebrow { font-size: 13px; }
  h1 { font-size: clamp(48px, 11.8vw, 80px); line-height: 1.18; margin-block: 20px 22px; letter-spacing: -.055em; }
  .hero-description { font-size: 14px; max-width: 33em; }
  .hero-actions { flex-wrap: nowrap; justify-content: flex-start; gap: 22px; margin-top: 26px; }
  .button { padding: 13px 16px; gap: 20px; font-size: 12px; }
  .button .icon { width: 18px; }.text-link { font-size: 12px; gap: 6px; }
  .hero-visual { margin-block: 6px 12px; height: min(88vw, 430px); }
  .hero-emblem { width: min(100%, 480px); height: calc(100% - 40px); }
  .orbit-one { width: 78%; }.orbit-two { width: 90%; }
  .hero-visual figcaption { bottom: 8px; left: auto; right: 0; font-size: 12px; gap: 8px; }
  .hero-index { padding-block: 16px; display: block; }.hero-index-label { font-size: 12px; display: block; margin-bottom: 10px; }.hero-index > div { justify-content: space-between; gap: 16px; font-size: 12px; }.hero-index a { gap: 7px; }
  .section-space { padding-block: 64px; }
  h2 { font-size: 30px; letter-spacing: -.035em; } h3 { font-size: 27px; }
  .section-heading { margin-bottom: 28px; }.section-heading h2 { margin-top: 15px; }.section-intro { font-size: 14px; margin-top: 16px; }
  .service-row { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 18px 28px; }
  .service-row + .service-row { margin-top: 10px; }
  .service-row.reverse .service-copy { order: initial; }
  .service-visual { min-height: 270px; padding: 18px; gap: 18px; }
  .model-network { width: 320px; max-width: 100%; height: 180px; }
  .network-lines { height: 180px; }.network-node { width: 36px; height: 36px; }.network-center { width: 60px; height: 60px; }.network-center svg { width: 38px; height: 38px; }.network-output { width: 46px; height: 54px; }
  .desktop-stack { transform: scale(.88); margin-top: 0; height: 184px; }
  .agent-flow { margin-top: 18px; }.flow-connector { width: 36px; }.flow-core { width: 72px; height: 72px; }.agent-tasks { margin-bottom: 8px; }
  .service-category { margin-bottom: 10px; font-size: 12px; }.service-copy > p:not(.service-category) { margin-top: 14px; }.service-note { margin-top: 20px; padding-top: 13px; font-size: 12px; }
  .approach-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }.approach h2 { margin-top: 18px; }.approach-heading > p:last-child { margin-top: 20px; font-size: 13px; }
  .steps li { gap: 24px; padding-block: 22px; }.steps h3 { font-size: 19px; }.steps p { font-size: 13px; }
  .name-equation { flex-wrap: wrap; justify-content: space-around; row-gap: 24px; padding-block: 26px; margin-block: 32px 28px; }
  .name-letter { font-size: 68px; }.equation-plus { font-size: 22px; }.name-reading { font-size: 12px; }.unit-si { min-width: 90px; }
  .equation-equals { display: none; }.equation-domain { flex-basis: 100%; text-align: center; font-size: 76px; margin: 4px 0 0; padding-top: 20px; border-top: 1px solid var(--line); }
  .about-bottom { grid-template-columns: minmax(0, 1fr); gap: 26px; }.about-bottom > p:first-child { font-size: 13px; }.about-belief { font-size: 20px; }
  .footer { flex-wrap: wrap; padding-block: 22px 28px; gap: 18px; }.footer-brand { font-size: 22px; }.footer-brand svg { width: 28px; height: 28px; }.footer p { order: 3; flex-basis: 100%; font-size: 12px; }.back-top { font-size: 12px; gap: 12px; }
}
@media (max-width: 374px) {
  :root { --gutter: 20px; }.brand-symbol { width: 30px; height: 30px; }.wordmark { width: 82px; height: 27px; }.language-control > .icon:first-child { display: none; }.preferences { gap: 3px; }.control-divider { margin-inline: 1px; }
  .hero-actions { gap: 12px; flex-wrap: wrap; }.button { gap: 12px; padding-inline: 12px; }.text-link { font-size: 12px; }.hero-index > div { font-size: 12px; gap: 10px; }.hero-index a { gap: 5px; }
  .name-letter { font-size: 58px; }.unit-si { min-width: 78px; }.name-equation { gap: 8px; }.equation-domain { font-size: 66px; }
}
/* Latin spacing follows the letterforms rather than the tighter Chinese display setting.
   Keep these overrides after the responsive rules so mobile headings use them too. */
:is(:lang(en), :lang(ms)) h1 { letter-spacing: -.025em; font-weight: 500; line-height: 1.14; }
:is(:lang(en), :lang(ms)) h2 { letter-spacing: -.015em; font-weight: 500; line-height: 1.3; }
:is(:lang(en), :lang(ms)) h3 { letter-spacing: -.015em; font-weight: 500; line-height: 1.35; }
:is(:lang(en), :lang(ms)) .name-letter { letter-spacing: -.025em; }
:is(:lang(en), :lang(ms)) .equation-domain { letter-spacing: -.035em; }
:is(:lang(en), :lang(ms)) .about-belief { letter-spacing: 0; }
:is(:lang(en), :lang(ms)) .eyebrow { letter-spacing: .035em; }
:is(:lang(en), :lang(ms)) .hero-copy > .eyebrow { letter-spacing: .02em; }
:is(:lang(en), :lang(ms)) .hero-visual figcaption { left: auto; right: 0; max-width: 90%; white-space: normal; }
:is(:lang(en), :lang(ms)) .visual-line { flex-shrink: 0; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition: none !important; } }

/* Entry points and content notices use the same product tokens as both consoles. */
button, summary, select, .button, .portal-link, .main-nav a, .footer-links a, .back-top { min-height: 44px; }
a, button, summary, select { transition: color var(--ease), background-color var(--ease), border-color var(--ease); }
.button { border-radius: var(--radius-control); border: 1px solid var(--button); white-space: nowrap; min-width: 0; }
.button:active { transform: translateY(1px); }
.button-secondary { background: var(--tile); color: var(--text); border-color: var(--line); }
.button-secondary:hover { background: var(--panel); color: var(--accent); border-color: var(--accent); }
.hero-entry-note { color: var(--muted); font-size: 12px; line-height: 1.7; margin-top: var(--space-md); max-width: 36em; }
.brand-story-link { width: fit-content; margin-top: var(--space-sm); font-size: 12px; min-height: 44px; }
.theme-control summary { width: 44px; height: 44px; border-radius: var(--radius-control); }
.language-control select { min-height: 44px; }
.theme-options { border-radius: var(--radius-panel); }
.theme-options button { border-radius: var(--radius-control); }
.portal-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-lg); }
.portal-card { display: flex; flex-direction: column; min-width: 0; padding: var(--space-xl); border: 1px solid var(--line); border-radius: var(--radius-panel); background: var(--tile); }
.portal-top { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: var(--space-sm); margin-bottom: var(--space-lg); font-size: 12px; }
.portal-role { color: var(--accent); font-weight: 600; }
.portal-domain { color: var(--muted); font-variant-numeric: tabular-nums; }
.portal-card h3 { font-size: clamp(24px, 2.1vw, 30px); line-height: 1.4; }
.portal-card > p { margin-block: var(--space-md) var(--space-lg); color: var(--muted); font-size: 15px; line-height: 1.85; }
.portal-link { display: flex; align-items: center; justify-content: space-between; gap: var(--space-lg); margin-top: auto; padding-top: var(--space-md); border-top: 1px solid var(--line); color: var(--accent); font-size: 14px; font-weight: 600; white-space: nowrap; }
.portal-link:hover { color: var(--text); }
.portal-note { margin: var(--space-lg) 0 var(--space-3xl); max-width: 68em; font-size: 13px; color: var(--muted); }
.faq { padding-bottom: 0; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary, .site-notice summary { display: flex; justify-content: space-between; align-items: center; gap: var(--space-lg); padding-block: var(--space-lg); list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker, .site-notice summary::-webkit-details-marker { display: none; }
.faq-list summary { font-size: 16px; font-weight: 550; }
.faq-list summary .icon, .site-notice summary .icon { transition: transform var(--ease); }
.faq-list details[open] summary .icon, .site-notice details[open] summary .icon { transform: rotate(180deg); }
.faq-list details > p { padding: 0 48px var(--space-lg) 0; max-width: 64em; color: var(--muted); font-size: 15px; line-height: 1.9; }
.name-letter { ruby-position: under; }
.name-reading { font: 400 12px/1.7 var(--font); letter-spacing: 0; }
.site-notice { padding-bottom: var(--space-xl); }
.site-notice details { border-top: 1px solid var(--line); }
.site-notice summary { color: var(--muted); font-size: 13px; }
.notice-copy { max-width: 72em; color: var(--muted); font-size: 13px; line-height: 1.85; }
.notice-copy > p + p { margin-top: var(--space-sm); }
.footer-links { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-lg); }
.footer-links a { display: inline-flex; align-items: center; white-space: nowrap; }
.footer-links a:hover { color: var(--accent); }
@media (max-width: 760px) {
  .brand, .footer-brand { min-height: 44px; }
  .hero-actions { display: grid; grid-template-columns: minmax(0, 1fr); width: min(100%, 390px); gap: var(--space-sm); }
  .hero-actions .button { justify-content: space-between; font-size: 14px; padding: 12px var(--space-md); min-height: 48px; }
  .hero-entry-note { font-size: 12px; }
  .hero-visual { height: min(76vw, 320px); margin-top: var(--space-md); }
  .hero-index > div { flex-wrap: wrap; font-size: 12px; gap: var(--space-sm); }
  .hero-index a { min-height: 44px; }
  .brand-symbol { width: 32px; height: 32px; }
  .wordmark { width: 86px; height: 28px; }
  .language-control select { width: 76px; }
  .control-divider { display: none; }
  .language-control > .icon:first-child { display: none; }
  .portal-grid { grid-template-columns: minmax(0, 1fr); gap: var(--space-md); }
  .portal-card { padding: var(--space-lg); }
  .portal-card > p, .service-copy > p:not(.service-category), .steps p, .about-bottom > p:first-child { font-size: 14px; }
  .portal-note { margin-bottom: var(--space-xl); }
  .faq-list summary { font-size: 15px; gap: var(--space-md); }
  .faq-list details > p { padding-right: 0; font-size: 14px; }
  .name-reading { font-size: 12px; }
  .footer-links { order: 3; flex-basis: 100%; gap: var(--space-lg); }
  .footer p { order: 4; font-size: 12px; }
}
