/* ==========================================================================
   CustomSoftware.my — Enterprise & factory software (ERP, WMS, MES, IoT, AI)
   ========================================================================== */
:root {
  --bg: #f4f5f7;
  --paper: #ffffff;
  --ink: #0e1116;
  --ink-2: #454c57;
  --ink-3: #868d98;
  --line: #e1e4e9;
  --steel: #0e1116;
  --steel-2: #161b22;
  --steel-3: #1f2630;
  --steel-line: #2a323d;
  --orange: #ff6a13;
  --orange-d: #e05500;
  --yellow: #ffc21a;
  --teal: #19c2a0;
  --radius: 14px;
  --shadow: 0 30px 60px -30px rgba(14, 17, 22, .45);
  --max: 1220px;
  --font: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--ink-2); }
h1, h2, h3, h4 { margin: 0 0 1rem; line-height: 1.05; letter-spacing: -0.025em; font-weight: 800; }
h1 { font-size: clamp(2.6rem, 5.8vw, 4.8rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
h3 { font-size: 1.2rem; letter-spacing: -0.01em; font-weight: 700; line-height: 1.25; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section--paper { background: var(--paper); }
.section--dark { background: var(--steel); color: #e6e9ee; }
.section--dark p { color: #9aa3af; }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 780px; margin: 0 0 56px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { font-size: 1.12rem; }
.label { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 16px; }
.label::before { content: ""; width: 22px; height: 4px; background: repeating-linear-gradient(90deg, var(--orange) 0 6px, transparent 6px 9px); }
.section--dark .label { color: var(--orange); }
.accent { color: var(--orange); }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--orange); color: #fff; padding: 8px 14px; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 24px; border-radius: 6px; font-weight: 700; font-size: 1rem; border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; font-family: inherit; white-space: nowrap; }
.btn svg { width: 19px; height: 19px; }
.btn--accent { background: var(--orange); color: #fff; }
.btn--accent:hover { background: var(--orange-d); transform: translateY(-2px); }
.btn--ghost { border-color: currentColor; background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover, .cta .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.btn--wa { background: #25d366; color: #fff; }
.btn--wa:hover { background: #1fbd5a; transform: translateY(-2px); }
.btn--sm { padding: 10px 16px; font-size: .9rem; }

/* Header */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff; transition: background .3s, color .3s, box-shadow .3s; }
.site-header.is-scrolled { background: rgba(14, 17, 22, .94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); box-shadow: 0 1px 0 var(--steel-line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 18px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 1.15rem; letter-spacing: -0.02em; white-space: nowrap; }
.logo b { color: var(--orange); font-weight: 900; }
.logo-mark { width: 38px; height: 38px; border-radius: 8px; background: var(--orange); color: #fff; display: grid; place-items: center; }
.logo-mark svg { width: 22px; height: 22px; }
.nav-links { display: flex; align-items: center; gap: 26px; list-style: none; margin: 0; padding: 0; }
.nav-links a { font-weight: 600; font-size: .95rem; color: #c3c9d2; white-space: nowrap; transition: color .15s; }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; box-shadow: inset 0 -3px 0 var(--orange); }
.nav-links .lang-switch { font-family: var(--mono); font-size: .82rem; padding: 6px 12px; border: 1px solid #4a5361; border-radius: 6px; color: #fff; box-shadow: none !important; }
.nav-links .lang-switch:hover { border-color: var(--orange); }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 6px; border: 1px solid #4a5361; background: transparent; color: #fff; cursor: pointer; }
.nav-toggle svg { width: 22px; height: 22px; margin: auto; }
@media (max-width: 1100px) {
  .nav-toggle { display: grid; place-items: center; }
  .nav-links { position: fixed; top: 76px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--steel); padding: 8px 16px 18px; border-bottom: 3px solid var(--orange); transform: translateY(-10px); opacity: 0; pointer-events: none; transition: .2s; }
  .nav-links.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav-links a { display: block; padding: 14px 8px; border-bottom: 1px solid var(--steel-line); font-size: 1.05rem; box-shadow: none !important; }
  .nav-links .lang-switch { border: 0; border-bottom: 1px solid var(--steel-line); border-radius: 0; padding: 14px 8px; }
}
@media (max-width: 520px) { .nav-cta .btn { display: none; } .logo { font-size: 1.02rem; } }

/* Hero */
.hero { position: relative; padding: 150px 0 100px; background: var(--steel); color: #fff; overflow: hidden; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--steel-line) 1px, transparent 1px), linear-gradient(90deg, var(--steel-line) 1px, transparent 1px); background-size: 56px 56px; opacity: .45; mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000 20%, transparent 75%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 700px; height: 700px; right: -200px; top: -200px; background: radial-gradient(circle, rgba(255,106,19,.22), transparent 65%); }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-grid > * { min-width: 0; }
.hero p.lead { font-size: 1.2rem; color: #b6bdc8; max-width: 580px; margin-bottom: 32px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.mods { display: flex; flex-wrap: wrap; gap: 8px; }
.mods span { font-family: var(--mono); font-size: .8rem; font-weight: 600; padding: 7px 12px; border-radius: 4px; background: var(--steel-3); border: 1px solid var(--steel-line); color: #dfe3e8; }
.mods span b { color: var(--orange); font-weight: 600; }

/* Plant schematic */
.plant { position: relative; background: rgba(22,27,34,.85); border: 1px solid var(--steel-line); border-radius: 16px; padding: 18px; box-shadow: var(--shadow); }
.plant-top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: .75rem; color: #8b94a1; margin-bottom: 10px; }
.plant-top .ok { color: var(--teal); }
.plant-top .ok::before { content: "● "; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .3; } }
.plant svg { width: 100%; height: auto; }
.plant .node rect { fill: #1f2630; stroke: #3a4452; stroke-width: 1.5; }
.plant .node.hub rect { fill: var(--orange); stroke: var(--orange); }
.plant .node text { fill: #e6e9ee; font-family: var(--font); font-size: 13px; font-weight: 700; }
.plant .node text.sub { fill: #8b94a1; font-family: var(--mono); font-size: 10px; font-weight: 400; }
.plant .node.hub text, .plant .node.hub text.sub { fill: #fff; }
.plant .wire { stroke: #3a4452; stroke-width: 2; fill: none; }
.plant .pulse { fill: var(--orange); }
.plant .pulse.t { fill: var(--teal); }
.plant-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.plant-stats div { background: var(--steel-3); border-radius: 8px; padding: 9px 12px; }
.plant-stats small { display: block; font-family: var(--mono); font-size: .66rem; color: #8b94a1; text-transform: uppercase; }
.plant-stats b { font-size: 1.1rem; }
.plant-stats em { font-style: normal; color: var(--teal); font-size: .75rem; margin-left: 4px; }
@media (max-width: 1000px) { .hero-grid { grid-template-columns: 1fr; } .plant { max-width: 620px; } }
@media (max-width: 560px) { .hero { padding: 120px 0 70px; } .plant { padding: 12px; } .plant-stats b { font-size: .95rem; } }

/* Strip */
.strip { background: var(--orange); color: #fff; }
.strip ul { list-style: none; margin: 0; padding: 18px 0; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; font-weight: 700; }
.strip li { display: inline-flex; align-items: center; gap: 8px; }
.strip li svg { width: 20px; height: 20px; }

/* Before / after */
.ba { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.ba > div { padding: 36px 34px; }
.ba .before { background: #fafbfc; border-right: 1px solid var(--line); }
.ba h3 { font-family: var(--mono); font-size: .85rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.ba .before h3 { color: #b42318; }
.ba .after h3 { color: #067a63; }
.ba ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ba li { display: flex; gap: 12px; font-weight: 600; }
.ba li svg { flex: none; width: 20px; height: 20px; margin-top: 3px; }
.ba .before li svg { color: #d92d20; }
.ba .after li svg { color: var(--teal); }
.ba li span { display: block; font-weight: 400; color: var(--ink-2); font-size: .94rem; }
@media (max-width: 860px) { .ba { grid-template-columns: 1fr; } .ba .before { border-right: 0; border-bottom: 1px solid var(--line); } .ba > div { padding: 28px 22px; } }

/* Suite */
.suite { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.mod { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); display: flex; flex-direction: column; transition: border-color .2s, transform .2s, box-shadow .2s; }
.mod:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: var(--shadow); }
.mod .code { position: absolute; top: 24px; right: 24px; font-family: var(--mono); font-size: .78rem; font-weight: 600; color: var(--ink-3); }
.mod .ic { width: 50px; height: 50px; border-radius: 10px; display: grid; place-items: center; background: var(--steel); color: var(--orange); margin-bottom: 20px; }
.mod .ic svg { width: 24px; height: 24px; }
.mod h3 { font-size: 1.3rem; margin-bottom: 8px; }
.mod p { font-size: .96rem; }
.mod ul { list-style: none; padding: 0; margin: 0 0 20px; display: flex; flex-wrap: wrap; gap: 6px; }
.mod li { font-family: var(--mono); font-size: .74rem; padding: 4px 8px; border-radius: 4px; background: var(--bg); color: var(--ink-2); }
.mod .more { margin-top: auto; font-weight: 700; color: var(--orange-d); }
@media (max-width: 1000px) { .suite { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .suite { grid-template-columns: 1fr; } }

/* Factory map */
.flow-tabs { display: flex; gap: 0; overflow-x: auto; border: 1px solid var(--steel-line); border-radius: 12px 12px 0 0; background: var(--steel-2); scrollbar-width: thin; }
.flow-tabs button { flex: 1 0 auto; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 18px 16px; background: none; border: 0; border-right: 1px solid var(--steel-line); color: #9aa3af; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; position: relative; transition: color .15s, background .15s; min-width: 120px; }
.flow-tabs button:last-child { border-right: 0; }
.flow-tabs button svg { width: 24px; height: 24px; }
.flow-tabs button small { font-family: var(--mono); font-size: .68rem; font-weight: 400; color: #6b7480; }
.flow-tabs button:hover { color: #fff; }
.flow-tabs button[aria-selected="true"] { color: #fff; background: var(--steel-3); box-shadow: inset 0 -4px 0 var(--orange); }
.flow-tabs button[aria-selected="true"] svg { color: var(--orange); }
.flow-panel { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0; border: 1px solid var(--steel-line); border-top: 0; border-radius: 0 0 12px 12px; background: var(--steel-3); }
.flow-panel[hidden] { display: none; }
.flow-panel > div { padding: 30px 28px; border-right: 1px solid var(--steel-line); }
.flow-panel > div:last-child { border-right: 0; }
.flow-panel h4 { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 12px; font-weight: 600; }
.flow-panel .pain h4 { color: #ff8a80; }
.flow-panel .fix h4 { color: var(--orange); }
.flow-panel .gain h4 { color: var(--teal); }
.flow-panel p { color: #d3d8df; margin: 0 0 12px; }
.flow-panel ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.flow-panel li { color: #d3d8df; font-size: .95rem; display: flex; gap: 8px; }
.flow-panel li::before { content: "›"; color: var(--orange); font-weight: 800; }
.flow-panel .sys { display: inline-block; margin-top: 6px; font-family: var(--mono); font-size: .75rem; padding: 4px 10px; border-radius: 4px; background: var(--orange); color: #fff; }
@media (max-width: 900px) { .flow-panel { grid-template-columns: 1fr; } .flow-panel > div { border-right: 0; border-bottom: 1px solid var(--steel-line); padding: 24px 20px; } .flow-panel > div:last-child { border-bottom: 0; } }

/* Roadmap */
.roadmap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: st; }
.stage { position: relative; padding: 28px 24px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); border-top: 5px solid var(--ink); }
.stage:nth-child(2) { border-top-color: #57606c; }
.stage:nth-child(3) { border-top-color: var(--orange-d); }
.stage:nth-child(4) { border-top-color: var(--orange); }
.stage .n { font-family: var(--mono); font-size: .8rem; color: var(--ink-3); }
.stage h3 { margin: 8px 0 4px; font-size: 1.15rem; }
.stage small { display: block; font-family: var(--mono); font-size: .75rem; color: var(--orange-d); margin-bottom: 10px; }
.stage p { font-size: .93rem; }
.stage ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 5px; }
.stage li { font-size: .88rem; color: var(--ink-2); display: flex; gap: 8px; }
.stage li::before { content: "+"; color: var(--orange-d); font-weight: 800; }
@media (max-width: 1000px) { .roadmap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .roadmap { grid-template-columns: 1fr; } }

/* Deploy */
.deploy { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.dep { padding: 30px 26px; border-radius: var(--radius); background: var(--steel-2); border: 1px solid var(--steel-line); }
.dep .ic { width: 46px; height: 46px; border-radius: 10px; display: grid; place-items: center; background: var(--steel-3); color: var(--orange); margin-bottom: 18px; }
.dep .ic svg { width: 22px; height: 22px; }
.dep ul { list-style: none; padding: 0; margin: 12px 0 0; display: grid; gap: 7px; }
.dep li { color: #c3c9d2; font-size: .93rem; display: flex; gap: 8px; }
.dep li svg { flex: none; width: 17px; height: 17px; color: var(--teal); margin-top: 4px; }
@media (max-width: 900px) { .deploy { grid-template-columns: 1fr; } }

/* Why + industries */
.why { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.why div { padding: 26px; border-radius: var(--radius); background: var(--paper); border: 1px solid var(--line); }
.why svg { width: 26px; height: 26px; color: var(--orange-d); margin-bottom: 14px; }
.why h3 { font-size: 1.06rem; margin-bottom: 6px; }
.why p { font-size: .93rem; margin: 0; }
@media (max-width: 900px) { .why { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .why { grid-template-columns: 1fr; } }
.inds { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 50px; }
.inds span { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 6px; background: var(--paper); border: 1px solid var(--line); font-weight: 700; font-size: .95rem; }
.inds svg { width: 18px; height: 18px; color: var(--orange-d); }

/* Network band */
.network { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 30px; }
.network a { display: block; padding: 22px; border-radius: 12px; background: var(--steel-2); border: 1px solid var(--steel-line); transition: border-color .2s; }
.network a:hover { border-color: var(--orange); }
.network b { display: block; color: #fff; margin-bottom: 4px; }
.network span { color: #9aa3af; font-size: .92rem; }
.network small { display: block; margin-top: 10px; font-family: var(--mono); color: var(--orange); font-size: .78rem; }
@media (max-width: 860px) { .network { grid-template-columns: 1fr; } }
.award { display: grid; grid-template-columns: auto 1fr; gap: 24px; align-items: center; }
.award .medal { width: 70px; height: 70px; border-radius: 12px; background: var(--orange); color: #fff; display: grid; place-items: center; }
.award .medal svg { width: 34px; height: 34px; }
.award h3 { font-size: 1.4rem; margin-bottom: 6px; }
.award p { margin: 0; }
@media (max-width: 600px) { .award { grid-template-columns: 1fr; } }

/* FAQ */
.faq { max-width: 900px; display: grid; gap: 10px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: 8px; }
.faq details[open] { border-left-color: var(--orange); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 24px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); font-size: 1.3rem; color: var(--orange-d); flex: none; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 24px 20px; }
.faq details p { margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 40px; align-items: start; }
.contact ul { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.contact li { display: flex; gap: 10px; color: #c3c9d2; }
.contact li svg { flex: none; width: 20px; height: 20px; color: var(--orange); margin-top: 3px; }
form.lead { background: var(--paper); color: var(--ink); border-radius: 14px; padding: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; border-top: 5px solid var(--orange); }
form.lead .full { grid-column: 1 / -1; }
form.lead label { display: block; font-size: .85rem; font-weight: 700; margin-bottom: 6px; }
form.lead input, form.lead select, form.lead textarea { width: 100%; padding: 13px 14px; border-radius: 6px; border: 1px solid #cdd2d9; background: var(--bg); color: var(--ink); font: inherit; font-size: .95rem; }
form.lead textarea { min-height: 110px; resize: vertical; }
form.lead input:focus, form.lead select:focus, form.lead textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(255,106,19,.18); }
form.lead .btn { width: 100%; }
form.lead .note { font-size: .8rem; color: var(--ink-3); margin: 0; text-align: center; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 560px) { form.lead { grid-template-columns: 1fr; padding: 24px 18px; } }

/* CTA */
.cta { padding: 60px 44px; border-radius: 16px; background: var(--steel); color: #fff; position: relative; overflow: hidden; }
.cta::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; background: radial-gradient(circle, rgba(255,106,19,.35), transparent 65%); }
.cta > * { position: relative; z-index: 1; }
.cta h2 { color: #fff; }
.cta p { color: #b6bdc8; max-width: 640px; font-size: 1.1rem; margin-bottom: 28px; }
.cta .hero-actions { margin: 0; }
@media (max-width: 560px) { .cta { padding: 40px 22px; } }

/* Sub pages */
.page-hero { position: relative; padding: 150px 0 70px; background: var(--steel); color: #fff; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(var(--steel-line) 1px, transparent 1px), linear-gradient(90deg, var(--steel-line) 1px, transparent 1px); background-size: 56px 56px; opacity: .35; mask-image: linear-gradient(90deg, transparent, #000 60%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%); }
.page-hero .lead { font-size: 1.2rem; color: #b6bdc8; max-width: 780px; }
.crumbs { font-family: var(--mono); font-size: .8rem; color: #8b94a1; margin-bottom: 20px; }
.crumbs a:hover { color: #fff; }
.crumbs span { margin: 0 8px; }
.jump { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.jump a { font-family: var(--mono); font-size: .8rem; padding: 8px 12px; border-radius: 4px; border: 1px solid #3a4452; color: #dfe3e8; }
.jump a:hover { border-color: var(--orange); color: #fff; }
.sol { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; padding: 64px 0; border-top: 1px solid var(--line); scroll-margin-top: 80px; }
.sol:first-child { border-top: 0; padding-top: 20px; }
.sol .head { display: flex; gap: 16px; align-items: center; margin-bottom: 18px; }
.sol .head .ic { width: 56px; height: 56px; border-radius: 12px; display: grid; place-items: center; background: var(--steel); color: var(--orange); flex: none; }
.sol .head .ic svg { width: 28px; height: 28px; }
.sol .head small { display: block; font-family: var(--mono); font-size: .78rem; color: var(--orange-d); }
.sol h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 24px; }
.chips span { font-family: var(--mono); font-size: .8rem; padding: 6px 10px; border-radius: 4px; background: var(--paper); border: 1px solid var(--line); }
.box { border-radius: 12px; background: var(--paper); border: 1px solid var(--line); padding: 26px; }
.box h4 { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; color: var(--ink-3); margin: 0 0 10px; font-weight: 600; }
.box ul { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; }
.box ul:last-child { margin-bottom: 0; }
.box li { display: flex; gap: 10px; font-size: .95rem; color: var(--ink-2); }
.box li svg { flex: none; width: 18px; height: 18px; color: var(--teal); margin-top: 3px; }
.box .feat li svg { color: var(--orange-d); }
@media (max-width: 900px) { .sol { grid-template-columns: 1fr; gap: 26px; } }

.article { display: grid; grid-template-columns: 250px 1fr; gap: 56px; align-items: start; }
.article > * { min-width: 0; }
.toc { position: sticky; top: 100px; font-size: .9rem; padding: 20px; border-radius: 10px; background: var(--paper); border: 1px solid var(--line); border-top: 4px solid var(--orange); }
.toc h4 { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; color: var(--ink-3); margin-bottom: 10px; font-weight: 600; }
.toc ol { margin: 0; padding-left: 1.1rem; display: grid; gap: 7px; }
.toc a:hover { color: var(--orange-d); }
.prose { max-width: 780px; }
.prose h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-top: 54px; scroll-margin-top: 100px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 28px; }
.prose p, .prose li { font-size: 1.05rem; color: var(--ink-2); }
.prose li { margin-bottom: 8px; }
.prose strong { color: var(--ink); }
.prose a { color: var(--orange-d); text-decoration: underline; text-underline-offset: 3px; }
.table-wrap { overflow-x: auto; margin: 24px 0; border-radius: 10px; border: 1px solid var(--line); background: var(--paper); }
table { width: 100%; border-collapse: collapse; min-width: 600px; font-size: .95rem; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-family: var(--mono); font-size: .76rem; text-transform: uppercase; letter-spacing: .06em; background: var(--steel); color: #fff; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 700; white-space: nowrap; }
.note-box { border-left: 4px solid var(--orange); background: var(--paper); padding: 18px 22px; border-radius: 0 10px 10px 0; margin: 24px 0; }
.note-box p:last-child { margin: 0; }
@media (max-width: 960px) { .article { grid-template-columns: 1fr; gap: 30px; } .toc { position: static; } }

/* Footer */
.site-footer { background: var(--steel); color: #c3c9d2; padding: 80px 0 30px; border-top: 4px solid var(--orange); }
.site-footer .logo { color: #fff; margin-bottom: 18px; }
.site-footer p { color: #8b94a1; font-size: .95rem; }
.site-footer p a { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; margin-bottom: 50px; }
.footer-grid h4 { font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: #6b7480; margin-bottom: 16px; font-weight: 600; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-grid a { color: #c3c9d2; font-size: .95rem; }
.footer-grid a:hover { color: var(--orange); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 26px; border-top: 1px solid var(--steel-line); font-size: .85rem; color: #6b7480; }
.footer-bottom a { color: #c3c9d2; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 12px 26px -8px rgba(37,211,102,.6); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .plant .pulse { display: none; }
}

/* Chinese pages */
html[lang^="zh"] { --font: "Archivo", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif; }
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3 { letter-spacing: 0; line-height: 1.28; }
html[lang^="zh"] h1 { font-size: clamp(2.3rem, 5vw, 4rem); }
html[lang^="zh"] body { line-height: 1.8; }

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .section-head { margin-bottom: 40px; }
}
