/* TURNPRO CO., LTD. — turnpro.in.th
   CI: one red matched to the logo hue (#FE0000 in the logo; #E00000 on screen keeps AA contrast on white),
   a darker red only for small links, black #121212, greys, white. No gold/yellow. */

:root {
  --red: #E00000;          /* logo-hue red · white text on it 5.0:1 · on white 5.0:1 */
  --red-ink: #C00000;      /* small links only · 6.5:1 on white */
  --red-soft: #FDECEC;
  --ink: #121212;
  --g800: #2b2b2b;
  --g700: #3f3f3f;
  --g600: #555555;
  --g500: #6b6b6b;
  --g300: #d6d6d6;
  --g200: #e7e7e7;
  --g100: #f3f3f3;
  --g50: #f9f9f9;
  --bg: #ffffff;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(18,18,18,.04), 0 12px 32px -12px rgba(18,18,18,.14);
  --shadow-lg: 0 2px 4px rgba(18,18,18,.04), 0 28px 60px -24px rgba(18,18,18,.28);
  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 84px;
  --f-head: "Prompt", "Noto Sans Thai", system-ui, sans-serif;
  --f-body: "Sarabun", "Noto Sans Thai", system-ui, sans-serif;
}
html[lang="en"] { --f-head: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; --f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif; }
/* zh: system fonts only (no Google Fonts request from mainland China) */
html[lang="zh-Hans"] { --f-head: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Segoe UI", sans-serif; --f-body: -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Source Han Sans SC", "Segoe UI", sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--f-body); font-size: 17px; line-height: 1.75;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
html[lang="en"] body { font-size: 16.5px; line-height: 1.65; }
html[lang="zh-Hans"] body { font-size: 16.5px; line-height: 1.8; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red-ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--ink); }
h1, h2, h3, h4, h5 { font-family: var(--f-head); line-height: 1.25; margin: 0; color: var(--ink); text-wrap: balance; }
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3 { line-height: 1.35; }
html[lang="zh-Hans"] h1, html[lang="zh-Hans"] h2, html[lang="zh-Hans"] h3 { line-break: strict; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; }
figure { margin: 0; }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; font-family: var(--f-head); text-decoration: none; }
.skip:focus { top: 12px; color: #fff; }
.wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.nowrap { white-space: nowrap; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255,255,255,.92); backdrop-filter: saturate(160%) blur(10px); -webkit-backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s;
}
.site-header.scrolled { border-bottom-color: var(--g200); box-shadow: 0 6px 24px -18px rgba(18,18,18,.35); }
.site-header .wrap { height: 100%; display: flex; align-items: center; gap: 20px; }
.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 54px; width: auto; }
.nav { margin-left: auto; }
.nav ul { list-style: none; display: flex; gap: 2px; align-items: center; }
.nav a { display: block; padding: 8px 11px; border-radius: 8px; color: var(--g700); text-decoration: none; font-family: var(--f-head); font-size: 14.5px; font-weight: 500; white-space: nowrap; line-height: 1.4; }
.nav a:hover { color: var(--ink); background: var(--g100); }
.nav a[aria-current="true"] { color: var(--red); }
.lang { display: flex; align-items: center; border: 1px solid var(--g300); border-radius: 999px; padding: 3px; flex: none; }
.lang a { font-family: "Inter", "Noto Sans SC", "Prompt", sans-serif; font-size: 13px; font-weight: 600; text-decoration: none; color: var(--g600); padding: 5px 10px; border-radius: 999px; line-height: 1.2; min-width: 34px; text-align: center; }
html[lang="zh-Hans"] .lang a { font-family: var(--f-body); }
.lang a:hover { color: var(--ink); background: var(--g100); }
.lang a[aria-current="page"] { background: var(--ink); color: #fff; }
.menu-btn { display: none; margin-left: 4px; width: 44px; height: 44px; border: 1px solid var(--g300); border-radius: 10px; background: #fff; align-items: center; justify-content: center; cursor: pointer; flex: none; color: var(--ink); }
.menu-btn svg { width: 22px; height: 22px; }
.menu-btn .i-close { display: none; }
.menu-open .menu-btn .i-open { display: none; }
.menu-open .menu-btn .i-close { display: block; }
@media (max-width: 1140px) {
  :root { --header-h: 72px; }
  .brand img { height: 40px; }
  .menu-btn { display: inline-flex; }
  .site-header .wrap { gap: 10px; }
  .lang { margin-left: auto; padding: 2px; }
  .lang a { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: #fff; border-bottom: 1px solid var(--g200); box-shadow: 0 24px 40px -24px rgba(18,18,18,.35); padding: 8px var(--gutter) 20px; display: none; max-height: calc(100vh - var(--header-h)); overflow-y: auto; margin: 0; }
  .menu-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a { font-size: 17px; padding: 14px 4px; border-radius: 0; border-bottom: 1px solid var(--g100); }
  .nav a:hover { background: none; }
}
@media (max-width: 600px) { .brand img { height: auto; width: 140px; } }
@media (max-width: 420px) {
  .lang a { padding: 5px 7px; min-width: 30px; font-size: 12.5px; }
}

/* ---------- Buttons / chips ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 12px 24px; border-radius: 999px; font-family: var(--f-head); font-weight: 600; font-size: 16px; line-height: 1.3; text-decoration: none; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--red); color: #fff; }
.btn-primary:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: #fff; color: var(--ink); border-color: var(--g300); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.chip { display: inline-flex; align-items: center; gap: 7px; font-family: var(--f-head); font-size: 13px; font-weight: 600; line-height: 1.3; padding: 5px 11px; border-radius: 999px; white-space: nowrap; }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: none; }
.chip-live { background: var(--ink); color: #fff; }
.chip-live::before { background: var(--red); box-shadow: 0 0 0 2px rgba(224,0,0,.25); }
.chip-pilot { background: var(--red-soft); color: var(--red-ink); }
.chip-proto { background: var(--g100); color: var(--g700); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: clamp(48px, 8vw, 96px) 0 clamp(48px, 7vw, 88px); overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(var(--bg), rgba(255,255,255,0) 30%), repeating-linear-gradient(90deg, rgba(18,18,18,.035) 0 1px, transparent 1px 96px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 12px; font-family: var(--f-head); font-weight: 600; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 22px; }
html[lang="th"] .eyebrow { letter-spacing: .04em; font-size: 15px; }
html[lang="zh-Hans"] .eyebrow { text-transform: none; letter-spacing: .04em; }
.eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--red); border-radius: 2px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 60px); font-weight: 700; letter-spacing: -.015em; }
.hero h1 > span { display: block; }
html[lang="th"] .hero h1 { font-weight: 600; letter-spacing: 0; }
html[lang="en"] .hero h1 { font-size: clamp(32px, 3.3vw, 46px); }
.hero h1 .accent { color: var(--red); }
.hero .lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--g700); margin: 22px 0 0; max-width: 40em; }
.hero .legal-line { margin-top: 14px; font-size: 15px; color: var(--g500); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-art { position: relative; padding: 30px 0 64px 30px; }
.hero-art .shape { position: absolute; inset: 0; border-radius: 22px; overflow: hidden; }
.hero-art .shape::before { content: ""; position: absolute; inset: 0; background: var(--red); clip-path: polygon(0 0, 100% 0, 100% 18%, 0 78%); }
.hero-art .shape::after { content: ""; position: absolute; inset: 0; background: var(--ink); clip-path: polygon(0 78%, 100% 18%, 100% 100%, 0 100%); }
.fact-card { position: relative; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 26px 28px 22px; }
.fact-card .fc-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--g200); }
.fact-card .fc-head img { height: 30px; width: auto; }
.fact-card .fc-title { font-family: var(--f-head); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--g500); text-align: right; line-height: 1.35; }
html[lang="th"] .fact-card .fc-title, html[lang="zh-Hans"] .fact-card .fc-title { letter-spacing: 0; font-size: 14px; text-transform: none; }
.fact-card dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; }
.fact-card .fc-item { padding: 16px 0 14px; border-bottom: 1px solid var(--g100); }
.fact-card .fc-item:nth-child(odd) { padding-right: 14px; border-right: 1px solid var(--g100); }
.fact-card .fc-item:nth-child(even) { padding-left: 18px; }
.fact-card dt { font-size: 13.5px; color: var(--g500); line-height: 1.4; }
.fact-card dd { margin: 4px 0 0; font-family: var(--f-head); font-weight: 600; font-size: clamp(16.5px, 1.6vw, 20px); line-height: 1.35; font-variant-numeric: tabular-nums; word-break: keep-all; }
.fact-card .fc-note { font-size: 13px; color: var(--g500); margin: 14px 0 0; line-height: 1.5; }

/* ---------- Stats ---------- */
.stats { border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); background: var(--g50); }
.stats ul { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); }
.stats li { padding: 30px 24px 28px; border-left: 1px solid var(--g200); }
.stats li:first-child { border-left: 0; padding-left: 0; }
.stats .n { font-family: var(--f-head); font-weight: 700; font-size: clamp(30px, 3.4vw, 42px); line-height: 1.1; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.stats .n span { color: var(--red); }
.stats .l { margin-top: 6px; color: var(--g600); font-size: 15px; line-height: 1.45; }
.stats .note { padding: 0 0 18px; margin: -6px 0 0; font-size: 13px; color: var(--g500); }

/* ---------- Sections ---------- */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section.alt { background: var(--g50); border-top: 1px solid var(--g200); border-bottom: 1px solid var(--g200); }
.sec-head { max-width: 760px; margin-bottom: clamp(32px, 4.5vw, 52px); }
.kicker { display: flex; align-items: baseline; gap: 12px; font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--red); margin-bottom: 14px; letter-spacing: .1em; text-transform: uppercase; }
html[lang="th"] .kicker { letter-spacing: .03em; font-size: 15px; }
html[lang="zh-Hans"] .kicker { text-transform: none; letter-spacing: .04em; }
.kicker .k-num { font-variant-numeric: tabular-nums; color: var(--ink); }
.kicker .k-num::after { content: ""; display: inline-block; width: 22px; height: 2px; background: var(--red); margin-left: 12px; vertical-align: middle; }
.sec-head h1, .sec-head h2 { font-size: clamp(28px, 3.6vw, 42px); font-weight: 700; letter-spacing: -.01em; }
html[lang="th"] .sec-head h1, html[lang="th"] .sec-head h2 { font-weight: 600; letter-spacing: 0; }
.sec-head p { margin: 16px 0 0; color: var(--g700); font-size: 18px; }
.h3-label, .l-title { font-family: var(--f-head); font-size: 15px; font-weight: 600; color: var(--g600); margin: 0 0 14px; }
.l-title { font-size: 14px; margin: 4px 0 10px; letter-spacing: .02em; }
.small-note { font-size: 13.5px; color: var(--g500); margin: 10px 0 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
@media (min-width: 1025px) { .about-grid > :first-child { position: sticky; top: calc(var(--header-h) + 24px); } }
.about-intro { font-size: 18px; color: var(--g800); }
.about-line { font-size: 15.5px; color: var(--g700); padding: 10px 14px; background: var(--g50); border-radius: var(--radius-sm); border: 1px solid var(--g200); }
.vision { border-left: 3px solid var(--red); padding: 4px 0 4px 22px; margin: 0 0 32px; }
.vision .v-label { font-family: var(--f-head); font-weight: 600; font-size: 14px; color: var(--g500); }
.vision p { font-family: var(--f-head); font-size: clamp(19px, 1.9vw, 23px); line-height: 1.55; margin: 6px 0 0; color: var(--ink); font-weight: 500; }
html[lang="th"] .vision p { font-weight: 400; }
.missions { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; list-style: none; }
.missions li { background: #fff; border: 1px solid var(--g200); border-radius: var(--radius-sm); padding: 18px 18px 16px; }
.missions h3 { font-size: 16.5px; font-weight: 600; margin-bottom: 4px; display: flex; gap: 10px; align-items: center; }
.missions h3 .mi { width: 26px; height: 26px; border-radius: 7px; background: var(--red-soft); color: var(--red); display: inline-grid; place-items: center; font-size: 13px; font-weight: 700; flex: none; }
.missions p { margin: 0; font-size: 15.5px; color: var(--g700); line-height: 1.6; }
.timeline { list-style: none; position: relative; margin-top: 4px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--g200); }
.timeline li { position: relative; padding: 0 0 22px 36px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before { content: ""; position: absolute; left: 0; top: 6px; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--g300); }
.timeline li.legal::before { border-color: var(--ink); }
.timeline li.now::before { border-color: var(--red); background: var(--red); }
.timeline .t-date { font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--red); font-variant-numeric: tabular-nums; line-height: 1.5; }
.timeline .t-text { color: var(--g800); line-height: 1.6; }
.timeline .t-tag { display: inline-block; font-size: 12.5px; font-family: var(--f-head); color: var(--g600); background: var(--g100); border-radius: 6px; padding: 1px 8px; margin-left: 6px; vertical-align: 1px; }
.hist-intro { font-size: 17px; color: var(--g800); margin: -18px 0 26px; max-width: 860px; }
.hist-wrap { max-width: 860px; }

/* ---------- Products ---------- */
.definition { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--g200); border-radius: var(--radius); padding: 18px 22px; margin: 0 0 28px; }
.definition .d-mark { flex: none; width: 36px; height: 36px; border-radius: 10px; background: var(--ink); color: #fff; display: grid; place-items: center; font-family: "Noto Sans SC", var(--f-head); font-weight: 700; font-size: 17px; }
.definition p { margin: 0; color: var(--g800); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; }
.card { background: #fff; border: 1px solid var(--g200); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 34px); display: flex; flex-direction: column; min-width: 0; transition: box-shadow .3s, border-color .3s; }
.card:hover { box-shadow: var(--shadow); border-color: var(--g300); }
.card-hl { border-color: var(--red); box-shadow: inset 0 4px 0 var(--red); }
.span-12 { grid-column: span 12; } .span-7 { grid-column: span 7; } .span-6 { grid-column: span 6; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; }
.card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 12px; flex-wrap: wrap; }
.card .c-idx { font-family: var(--f-head); font-weight: 600; font-size: 13px; color: var(--g500); letter-spacing: .08em; font-variant-numeric: tabular-nums; }
.card h3 { font-size: clamp(21px, 2.1vw, 26px); font-weight: 700; margin: 2px 0 0; letter-spacing: -.005em; }
html[lang="th"] .card h3 { font-weight: 600; }
.card .c-sub { color: var(--g600); font-size: 15px; margin: 4px 0 0; }
.card .c-desc { color: var(--g800); margin: 8px 0 16px; }
.card-compact { padding-block: clamp(18px, 2vw, 24px); }
.card-compact .card-top { margin-bottom: 6px; }
.card-compact .c-desc { margin-bottom: 0; }
.ticks { list-style: none; display: grid; gap: 8px; margin: 0 0 18px; }
.ticks li { position: relative; padding-left: 26px; color: var(--g800); line-height: 1.6; font-size: 16px; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 12px; height: 7px; border-left: 2px solid var(--red); border-bottom: 2px solid var(--red); transform: rotate(-45deg); }
.ticks li strong { font-family: var(--f-head); font-weight: 600; color: var(--ink); }
.specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 0 0 18px; }
.specs.specs-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.specs div { border-top: 1px solid var(--g100); padding: 9px 0; }
.specs dt { font-size: 13px; color: var(--g500); line-height: 1.4; }
.specs dd { margin: 2px 0 0; font-size: 15px; color: var(--ink); line-height: 1.45; }
.steps { list-style: none; counter-reset: s; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 18px; }
.steps li { counter-increment: s; background: var(--g50); border-radius: 10px; padding: 14px 14px 12px; font-size: 14.5px; line-height: 1.5; color: var(--g700); }
.steps li strong { display: block; font-family: var(--f-head); font-size: 15px; color: var(--ink); margin-bottom: 2px; }
.steps li strong::before { content: counter(s) " · "; color: var(--red); }
.process { list-style: none; counter-reset: p; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.process li { counter-increment: p; font-family: var(--f-head); font-size: 14px; font-weight: 500; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--g50); border: 1px solid var(--g200); display: inline-flex; align-items: center; gap: 8px; }
.process li::before { content: counter(p); width: 22px; height: 22px; border-radius: 50%; background: var(--ink); color: #fff; display: inline-grid; place-items: center; font-size: 12px; font-weight: 600; }
.c-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--g200); font-size: 14px; color: var(--g600); display: flex; flex-wrap: wrap; gap: 6px 16px; align-items: center; }
.c-foot a { font-family: var(--f-head); font-weight: 600; text-decoration: none; }
.c-foot a::after { content: " →"; }
figcaption { font-size: 13px; color: var(--g500); margin-top: 8px; line-height: 1.5; }
.c-media { margin: 0 0 18px; }
.shot { border-radius: 12px; overflow: hidden; border: 1px solid var(--g200); background: #fff; }
.shot img { width: 100%; }
.photo { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--g100); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall, .split .photo { aspect-ratio: 4 / 3; }
.platform-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(24px, 3vw, 44px); }
.pf-text { display: flex; flex-direction: column; }
.split-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(24px, 3.4vw, 48px); align-items: start; }
.split-grid > div:first-child { display: flex; flex-direction: column; }
.split-media .c-media { margin: 0; }
.media-sm .split-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 300px); }
.formats { width: 100%; border-collapse: collapse; margin: 0 0 18px; font-size: 15px; }
.formats th, .formats td { text-align: left; padding: 9px 0; border-top: 1px solid var(--g100); vertical-align: top; line-height: 1.5; }
.formats th { font-family: var(--f-head); font-weight: 600; padding-right: 14px; width: 38%; color: var(--ink); }
.formats td.d { color: var(--g500); white-space: nowrap; padding-left: 12px; text-align: right; }
.note-bar { margin: 26px 0 0; display: flex; gap: 12px; align-items: flex-start; padding: 14px 18px; border-radius: 12px; background: #fff; border: 1px solid var(--g200); color: var(--g700); font-size: 15px; }
.note-bar svg { width: 20px; height: 20px; color: var(--red); flex: none; margin-top: 3px; }

/* 24 solar terms */
.terms-wrap { min-width: 0; }
.terms-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.terms-head h4 { font-size: 16px; font-weight: 600; }
.terms-head p { margin: 0; font-size: 13px; color: var(--g500); }
.seasons { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 14px; }
.terms-card .seasons { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.season .sh { margin: 0 0 8px; padding-top: 8px; border-top: 3px solid var(--red); font-family: var(--f-head); font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 8px; }
.season .sh .zh { color: var(--red); font-family: "Noto Sans SC", var(--f-head); font-weight: 700; font-size: 16px; }
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; list-style: none; }
.tiles li { border-radius: 8px; padding: 8px 4px 7px; text-align: center; background: var(--g50); border: 1px solid var(--g200); min-width: 0; }
.tiles li.jie { background: var(--ink); border-color: var(--ink); color: #fff; }
.tiles .hz { display: block; font-family: "Noto Sans SC", sans-serif; font-weight: 700; font-size: 19px; line-height: 1.25; }
html[lang="zh-Hans"] .tiles .hz { font-family: var(--f-body); }
.tiles .nm { display: block; font-size: 12px; line-height: 1.3; margin-top: 2px; color: var(--g700); overflow-wrap: anywhere; }
.tiles li.jie .nm { color: #e6e6e6; }
.tiles .dt { display: block; font-size: 12px; line-height: 1.3; margin-top: 3px; color: var(--red-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.tiles li.jie .dt { color: #ff9a9a; }
.terms-legend { margin: 10px 0 0; font-size: 12.5px; color: var(--g500); display: flex; gap: 16px; flex-wrap: wrap; }
.terms-legend span::before { content: ""; display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; background: var(--ink); }
.terms-legend span + span::before { background: var(--g50); border: 1px solid var(--g300); }

/* collapsible blocks (open on desktop; closed by main.js on phones) */
details.more > summary { display: none; }
details.more > summary::-webkit-details-marker { display: none; }

/* ---------- Technology / partnership ---------- */
.tech-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.tech-col { background: #fff; border: 1px solid var(--g200); border-radius: var(--radius); padding: clamp(22px, 2.6vw, 32px); }
.tech-col h3 { font-size: 20px; font-weight: 600; display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.tech-col h3 .ic { width: 40px; height: 40px; border-radius: 11px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.tech-col h3 .ic svg { width: 20px; height: 20px; }
.tech-col .ticks { margin: 0; gap: 12px; }
.data-box { margin-top: 20px; display: flex; gap: 18px; align-items: flex-start; background: #fff; border: 1px solid var(--g200); border-left: 4px solid var(--red); border-radius: var(--radius); padding: clamp(20px, 2.4vw, 28px); }
.data-box .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--ink); color: #fff; display: grid; place-items: center; flex: none; }
.data-box .ic svg { width: 22px; height: 22px; }
.data-box h3 { font-size: 19px; font-weight: 600; margin-bottom: 6px; }
.data-box p { margin: 0; color: var(--g800); }

/* ---------- Track record ---------- */
.track-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); align-items: start; }
.track { width: 100%; border-collapse: collapse; }
.track th { text-align: left; font-family: var(--f-head); font-size: 13.5px; font-weight: 600; color: var(--g500); padding: 0 16px 12px 0; border-bottom: 2px solid var(--ink); }
.track td { padding: 18px 16px 18px 0; border-bottom: 1px solid var(--g200); vertical-align: top; line-height: 1.55; }
.track td.d { font-family: var(--f-head); font-weight: 600; color: var(--red); white-space: nowrap; width: 150px; font-variant-numeric: tabular-nums; }
.track td.s { width: 1%; white-space: nowrap; padding-right: 0; text-align: right; }
.track-src { font-size: 13px; color: var(--g500); margin: 12px 0 0; }

/* ---------- Leadership ---------- */
.leader { display: grid; grid-template-columns: minmax(0, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.leader-sm { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
.leader .portrait { border-radius: var(--radius); overflow: hidden; background: var(--g100); aspect-ratio: 3 / 4; position: relative; }
.leader .portrait img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.leader .portrait::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: linear-gradient(90deg, var(--red) 0 60%, var(--ink) 60%); }
.leader h3 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; }
html[lang="th"] .leader h3 { font-weight: 600; }
.leader .role { font-family: var(--f-head); font-weight: 600; color: var(--red); margin: 6px 0 26px; }
.leader .alt-name { color: var(--g500); font-size: 15px; margin: 4px 0 0; }
.leader .blk { border-top: 1px solid var(--g200); padding-top: 18px; margin-top: 18px; }
.leader .blk p { color: var(--g800); }

/* ---------- Registration ---------- */
.reg-source { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; color: var(--g700); margin: 0 0 22px; }
.reg-source svg { width: 20px; height: 20px; flex: none; color: var(--red); margin-top: 3px; }
.reg-verify { margin-top: -10px; }
.reg-verify a { font-weight: 600; }
.reg { margin: 0; background: #fff; border: 1px solid var(--g200); border-radius: var(--radius); overflow: hidden; }
.reg div { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); border-top: 1px solid var(--g100); }
.reg div:first-child { border-top: 0; }
.reg dt { padding: 16px 22px; background: var(--g50); color: var(--g600); font-family: var(--f-head); font-weight: 500; font-size: 15px; line-height: 1.5; }
.reg dd { margin: 0; padding: 16px 22px; color: var(--ink); line-height: 1.6; }
.reg dd .mono { font-family: "Inter", var(--f-body); font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .01em; }
html[lang="zh-Hans"] .reg dd .mono { font-family: var(--f-body); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.c-card { background: #fff; border: 1px solid var(--g200); border-radius: var(--radius); padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; min-width: 0; }
.c-card .ic { width: 44px; height: 44px; border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-items: center; flex: none; }
.c-card .ic svg { width: 21px; height: 21px; }
.c-card .cl { font-size: 14px; color: var(--g500); line-height: 1.4; }
.c-card .cv { font-family: var(--f-head); font-weight: 600; font-size: 18px; line-height: 1.45; overflow-wrap: anywhere; }
.c-card .cv a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--g300); }
.c-card .cv a:hover { color: var(--red-ink); border-color: var(--red-ink); }
.c-card .cs { font-size: 14.5px; color: var(--g600); margin-top: 2px; line-height: 1.5; }
.map-link { display: inline-flex; align-items: center; min-height: 44px; padding-right: 8px; }
.contact-extra { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.doc-request { display: flex; gap: 12px; align-items: center; padding: 16px 20px; border-radius: var(--radius); background: #fff; border: 1px solid var(--g200); color: var(--ink); font-family: var(--f-head); font-weight: 500; font-size: 15.5px; text-decoration: none; transition: border-color .2s, box-shadow .2s; }
.doc-request:hover { border-color: var(--ink); color: var(--ink); box-shadow: var(--shadow); }
.doc-request svg { width: 20px; height: 20px; flex: none; color: var(--red); }
.doc-request .dr-arrow { margin-left: auto; color: var(--g500); }
.fraud-note { display: flex; gap: 12px; align-items: flex-start; padding: 16px 20px; border-radius: var(--radius); background: var(--g50); border: 1px solid var(--g200); border-left: 4px solid var(--ink); font-size: 14.5px; color: var(--g700); line-height: 1.6; }
.fraud-note svg { width: 20px; height: 20px; flex: none; color: var(--ink); margin-top: 2px; }
.fraud-note strong { font-family: var(--f-head); color: var(--ink); }
.fraud-note p { margin: 0; }
.contact-cta { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.contact-cta p { margin: 0 12px 0 0; color: var(--g600); font-size: 15px; }

/* ---------- Privacy ---------- */
.privacy { padding-top: clamp(40px, 6vw, 72px); }
.narrow { max-width: calc(820px + 2 * var(--gutter)); }
.prose h2 { font-size: 21px; font-weight: 600; margin: 34px 0 10px; }
.prose p { color: var(--g800); }

/* ---------- Footer ---------- */
.site-footer { background: var(--g100); border-top: 1px solid var(--g200); color: var(--g700); font-size: 14.5px; line-height: 1.65; }
.site-footer .f-main { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) minmax(0, .8fr); gap: 32px; padding: 52px var(--gutter) 36px; }
.site-footer img { height: 40px; width: auto; margin-bottom: 16px; }
.site-footer .f-legal { font-family: var(--f-head); font-weight: 600; color: var(--ink); font-size: 15.5px; }
.site-footer h2 { font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--g500); margin-bottom: 10px; }
html[lang="th"] .site-footer h2, html[lang="zh-Hans"] .site-footer h2 { letter-spacing: 0; font-size: 14px; text-transform: none; }
.site-footer ul { list-style: none; }
.site-footer a { color: var(--g800); text-decoration: none; }
.site-footer a:hover { color: var(--red-ink); text-decoration: underline; }
.f-bar { background: var(--ink); color: #cfcfcf; font-size: 13.5px; }
.f-bar .wrap { display: flex; justify-content: space-between; gap: 8px 20px; flex-wrap: wrap; padding-block: 16px; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 40; width: 48px; height: 48px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -10px rgba(18,18,18,.5); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s, transform .25s, visibility .25s; }
.to-top svg { width: 22px; height: 22px; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--red); color: #fff; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid, .about-grid, .platform-grid, .split-grid, .media-sm .split-grid, .track-grid { grid-template-columns: 1fr; }
  .hero-art { max-width: 620px; }
  .split-media { order: -1; }
  .media-sm .split-media { order: 0; max-width: 320px; }
  .span-7, .span-5, .span-4 { grid-column: span 12; }
  .terms-card .seasons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .specs.specs-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer .f-main { grid-template-columns: 1fr 1fr; }
  .site-footer .f-main > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  .stats ul { grid-template-columns: 1fr; }
  .stats li { border-left: 0; padding: 18px 0; }
  .stats li + li { border-top: 1px solid var(--g200); }
  .span-6 { grid-column: span 12; }
  .tech-grid, .contact-grid, .contact-extra, .leader, .leader-sm { grid-template-columns: 1fr; }
  .leader .portrait { max-width: 340px; }
  .leader-sm .portrait { max-width: 220px; }
  .reg div { grid-template-columns: 1fr; }
  .reg dt { padding: 12px 18px 2px; background: #fff; font-size: 13.5px; color: var(--g500); }
  .reg dd { padding: 0 18px 14px; }
  .track thead { display: none; }
  .track, .track tbody, .track tr, .track td { display: block; width: 100% !important; }
  .track tr { border-bottom: 1px solid var(--g200); padding: 16px 0; }
  .track td { border: 0; padding: 0; text-align: left !important; }
  .track td.s { margin-top: 8px; }
}
@media (max-width: 700px) {
  details.more > summary { display: flex; align-items: center; justify-content: space-between; min-height: 48px; padding: 10px 14px; margin: 4px 0 12px; border: 1px solid var(--g300); border-radius: 10px; cursor: pointer; list-style: none; font-family: var(--f-head); font-weight: 600; font-size: 15px; color: var(--ink); background: var(--g50); }
  details.more > summary::after { content: "+"; font-size: 20px; line-height: 1; color: var(--red); }
  details.more[open] > summary::after { content: "–"; }
  .section { padding-bottom: calc(clamp(64px, 9vw, 112px) + 40px); }
  .to-top { width: 40px; height: 40px; right: 12px; bottom: 12px; background: rgba(18,18,18,.55); box-shadow: none; }
  .to-top svg { width: 18px; height: 18px; }
  .site-footer li a { display: inline-flex; align-items: center; min-height: 44px; }
  .f-bar .wrap { padding-bottom: 60px; }
}
@media (max-width: 600px) {
  body { font-size: 16.5px; }
  .seasons, .terms-card .seasons, .missions, .specs, .specs.specs-4, .steps { grid-template-columns: 1fr; }
  .hero-art { padding: 16px 0 24px 16px; }
  .fact-card { padding: 20px 18px 18px; }
  .fact-card .fc-item:nth-child(even) { padding-left: 12px; }
  .fact-card .fc-item:nth-child(odd) { padding-right: 10px; }
  .hero-ctas .btn { width: 100%; }
  .site-footer .f-main { grid-template-columns: 1fr; }
  .card-top .chip { white-space: normal; }
  .data-box { flex-direction: column; }
  .formats, .formats tbody { display: block; }
  .formats tr { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 12px; border-top: 1px solid var(--g100); padding: 10px 0; }
  .formats th, .formats td { border: 0; padding: 0; width: auto; }
  .formats th { grid-column: 1; grid-row: 1; }
  .formats td.d { grid-column: 2; grid-row: 1; white-space: nowrap; }
  .formats td:not(.d) { grid-column: 1 / -1; grid-row: 2; color: var(--g700); margin-top: 2px; }
}
@media print {
  .site-header, .menu-btn, .hero-art .shape, .skip, .to-top { display: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.track-grid.track-full { grid-template-columns: 1fr; }
@media (max-width: 700px) {
  .to-top { bottom: calc(12px + env(safe-area-inset-bottom)); }
}
html[lang="zh-Hans"] .fact-card dd { word-break: normal; overflow-wrap: anywhere; }
@media (min-width: 1025px) {
  #p-training .split-media { align-self: start; position: sticky; top: calc(var(--header-h, 72px) + 24px); }
}
html[lang="en"] .tiles .nm { min-height: 2.6em; display: flex; align-items: center; justify-content: center; }
