:root {
    color-scheme: light;
    --page: #f8f9fc;
    --surface: #fff;
    --ink: #242138;
    --muted: #626276;
    --subtle: #717184;
    --line: #e7e7ee;
    --primary: #6d28d9;
    --primary-hover: #5b21b6;
    --primary-soft: #f0eafa;
    --success: #246442;
    --success-soft: #edf7f0;
    --radius: 24px;
    font-family: 'Anuphan', 'Thonburi', system-ui, sans-serif;
    font-size: 16px;
    font-synthesis: none;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--page); color: var(--ink); line-height: 1.65; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button { font: inherit; }
a, button { -webkit-tap-highlight-color: rgb(109 40 217 / 12%); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 5px; border-radius: 5px; }
#main-content:focus { outline: none; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
h1, h2, h3 { line-height: 1.4; }
.icon { width: 22px; height: 22px; flex: 0 0 auto; }
.page-shell { max-width: 1168px; margin-inline: auto; padding-inline: 32px; }
.skip-link { position: fixed; z-index: 10; top: 12px; left: 16px; padding: 12px 20px; background: var(--surface); border: 1px solid var(--primary); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { min-height: 104px; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; font-size: 21px; font-weight: 700; letter-spacing: -.5px; }
.wordmark img { display: block; flex-shrink: 0; }
.wordmark-label { color: var(--subtle); font-size: 15px; font-weight: 400; letter-spacing: 0; margin-left: 4px; }
.web-link { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; gap: 8px; font-size: 15px; font-weight: 500; color: var(--muted); transition: color 160ms ease; }
.web-link .icon { width: 18px; height: 18px; }
.web-link:hover { color: var(--primary); }
.hero { display: grid; grid-template-columns: minmax(0,1.15fr) minmax(0,1fr); align-items: center; gap: 64px; padding-block: 76px 80px; }
.eyebrow { color: var(--primary); font-size: 13px; font-weight: 600; letter-spacing: 1.6px; margin-bottom: 16px; }
h1 { font-size: clamp(36px,4.1vw,50px); font-weight: 600; letter-spacing: -.8px; text-wrap: balance; }
h1 span { display: block; color: var(--primary); }
.hero-description { margin-top: 24px; font-size: 17px; line-height: 1.9; color: var(--muted); }
.feature-list { display: flex; flex-wrap: wrap; gap: 12px 20px; list-style: none; padding: 0; margin-top: 28px; color: var(--muted); font-size: 14px; }
.feature-list li { display: inline-flex; align-items: center; gap: 7px; }
.feature-list .icon { width: 18px; height: 18px; color: var(--primary); }
.download-panel { background: var(--surface); padding: 32px; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 32px rgb(36 33 56 / 3%); }
.app-heading { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.app-icon { display: block; flex-shrink: 0; }
.app-heading h2 { font-size: 25px; font-weight: 600; letter-spacing: -.5px; }
.platform { color: var(--muted); font-size: 14px; display: flex; align-items: center; gap: 5px; margin-top: 2px; }
.platform .icon { width: 16px; height: 16px; }
.available { display: inline-flex; align-items: center; gap: 6px; margin-left: auto; padding: 5px 9px; border-radius: 6px; background: var(--success-soft); color: var(--success); font-size: 12px; font-weight: 500; white-space: nowrap; }
.status-dot { width: 5px; height: 5px; background: var(--success); border-radius: 50%; }
.release-info { display: grid; grid-template-columns: .8fr .9fr 1.3fr; gap: 12px; padding-block: 24px; margin-top: 24px; border-top: 1px solid var(--line); }
.release-info div { min-width: 0; }
.release-info dt { color: var(--subtle); font-size: 13px; margin-bottom: 6px; }
.release-info dd { font-size: 15px; font-weight: 500; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.download-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 56px; padding: 14px 16px; border: 1px solid transparent; border-radius: 12px; background: var(--primary); color: #fff; font-size: 17px; font-weight: 600; line-height: 1.6; text-align: center; cursor: pointer; transition: background 160ms ease, box-shadow 160ms ease; }
.download-button:hover { background: var(--primary-hover); box-shadow: 0 3px 10px rgb(109 40 217 / 14%); }
.download-button:active { background: #4c1d95; box-shadow: none; }
.download-button:disabled { background: #e9e8ee; color: var(--muted); cursor: not-allowed; box-shadow: none; }
.download-caption { margin-top: 12px; text-align: center; font-size: 12px; color: var(--subtle); }
.install-link { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; width: fit-content; margin: 8px auto -8px; color: var(--muted); font-size: 14px; }
.install-link:hover { color: var(--primary); }
.install-link .icon { width: 16px; height: 16px; }
.unavailable { margin-block: 24px; color: var(--ink); font-weight: 500; }
.unavailable span { color: var(--muted); font-size: 15px; font-weight: 400; }
.installation { border-top: 1px solid var(--line); padding-block: 48px 56px; scroll-margin-top: 24px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 32px; }
.section-heading .eyebrow { letter-spacing: 0; font-size: 14px; margin-bottom: 8px; }
.section-heading h2 { font-size: 27px; font-weight: 600; letter-spacing: -.5px; text-wrap: balance; }
.section-heading > p { color: var(--subtle); font-size: 14px; padding-bottom: 3px; }
.installation-steps { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 64px; row-gap: 32px; list-style: none; padding: 0; }
.installation-steps li { display: flex; gap: 16px; align-items: start; }
.step-number { width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; background: var(--primary-soft); color: var(--primary); border-radius: 11px; font-size: 13px; font-weight: 600; font-variant-numeric: tabular-nums; margin-top: 1px; }
.installation-steps h3 { font-size: 17px; font-weight: 600; margin-bottom: 7px; }
.installation-steps p { font-size: 15px; line-height: 1.85; color: var(--muted); }
.account-note { display: flex; align-items: start; gap: 12px; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; margin-top: 36px; background: #f1f2f7; }
.account-note > .icon { margin-top: 2px; color: var(--muted); }
.account-note h3 { font-size: 15px; font-weight: 500; margin-bottom: 3px; }
.account-note p { color: var(--muted); font-size: 14px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1px solid var(--line); padding-block: 28px 32px; color: var(--subtle); }
.institution { display: flex; align-items: center; gap: 14px; }
.institution img { display: block; object-fit: contain; flex-shrink: 0; }
.institution p { font-size: 12px; }
.institution span { display: block; }
.footer-note { font-size: 12px; }
@media (max-width: 1050px) {
    .hero { gap: 36px; }
    .download-panel { padding: 28px; }
    .available { margin-left: 0; }
    .app-heading { column-gap: 12px; row-gap: 14px; }
    .app-icon { width: 64px; height: 64px; }
    .installation-steps { column-gap: 36px; }
}
@media (max-width: 760px) {
    .page-shell { padding-inline: 24px; }
    .site-header { min-height: 88px; gap: 16px; }
    .wordmark-label { display: none; }
    .web-link { font-size: 14px; }
    .hero { grid-template-columns: minmax(0,1fr); gap: 32px; padding-block: 40px 48px; }
    .hero-copy { max-width: 560px; }
    h1 { font-size: clamp(34px,6.5vw,44px); }
    .hero-description { font-size: 16px; margin-top: 18px; line-height: 1.85; }
    .desktop-break { display: none; }
    .feature-list { margin-top: 20px; gap: 10px 18px; }
    .download-panel { max-width: 560px; width: 100%; padding: 24px; }
    .available { margin-left: auto; }
    .release-info { margin-top: 20px; padding-block: 20px; }
    .section-heading { display: block; margin-bottom: 28px; }
    .section-heading > p { margin-top: 12px; }
    .section-heading h2 { font-size: 25px; }
    .installation { padding-block: 36px 40px; }
    .installation-steps { grid-template-columns: minmax(0,1fr); gap: 28px; }
    .installation-steps p { font-size: 16px; }
    .account-note { padding: 18px; margin-top: 28px; }
    .site-footer { flex-wrap: wrap; padding-block: 24px; gap: 20px; }
}
@media (max-width: 390px) {
    .page-shell { padding-inline: 20px; }
    .wordmark { font-size: 19px; gap: 6px; }
    .wordmark img { width: 34px; height: 34px; }
    .web-link { font-size: 13px; gap: 4px; }
    .download-panel { padding: 22px; }
    .app-heading { gap: 12px; }
    .app-heading h2 { font-size: 23px; }
    .available { margin-left: 0; }
    .app-icon { width: 56px; height: 56px; }
    .release-info { gap: 10px; }
    .release-info dt { font-size: 12px; }
    .release-info dd { font-size: 14px; }
    .download-button { font-size: 16px; padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media (max-height: 500px) {
    .site-header { min-height: 72px; }
    .hero { padding-block: 32px 40px; }
}
