/* =========================================================
   Hong Kong F&Q — dedicated remote machine rental (Singapore)
   Spacing scale: 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 · 96
   ========================================================= */

:root {
  --bg: #f4f6fa;
  --bg-tint: #edf1f7;
  --surface: #ffffff;
  --surface-2: #f7f9fc;
  --ink: #0f1b2d;
  --ink-2: #33415a;
  --muted: #6b778c;
  --line: #e1e6ee;
  --line-strong: #cfd6e2;
  --primary: #1546c7;
  --primary-hover: #0f39a8;
  --primary-soft: #eaf0ff;
  --accent: #d9703a;
  --ok: #1f9d55;
  --ok-soft: rgba(31, 157, 85, .12);
  --grad: linear-gradient(90deg, #1546c7 0%, #3a6cf0 55%, #6b8cff 100%);
  --shadow-sm: 0 1px 2px rgba(15, 27, 45, .05);
  --shadow-md: 0 14px 36px -16px rgba(15, 27, 45, .22);
  --shadow-lg: 0 30px 60px -28px rgba(15, 27, 45, .35);
  --radius: 16px;
  --radius-sm: 10px;
  --header-h: 72px;
  --font: "Inter", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color-scheme: light;
}
:root:lang(zh-Hant) { --font: "Inter", "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0b111b; --bg-tint: #0f1724; --surface: #131c2a; --surface-2: #182233;
    --ink: #e8edf5; --ink-2: #c3ccda; --muted: #8b97ab; --line: #233044; --line-strong: #33415a;
    --primary: #5b86f5; --primary-hover: #7a9cf7; --primary-soft: rgba(91, 134, 245, .14);
    --ok: #3ccf7a; --ok-soft: rgba(60, 207, 122, .14);
    --grad: linear-gradient(90deg, #6b8cff 0%, #8fb0ff 60%, #b6c8ff 100%);
    --shadow-md: 0 14px 36px -16px rgba(0, 0, 0, .6); --shadow-lg: 0 30px 60px -28px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0b111b; --bg-tint: #0f1724; --surface: #131c2a; --surface-2: #182233;
  --ink: #e8edf5; --ink-2: #c3ccda; --muted: #8b97ab; --line: #233044; --line-strong: #33415a;
  --primary: #5b86f5; --primary-hover: #7a9cf7; --primary-soft: rgba(91, 134, 245, .14);
  --ok: #3ccf7a; --ok-soft: rgba(60, 207, 122, .14);
  --grad: linear-gradient(90deg, #6b8cff 0%, #8fb0ff 60%, #b6c8ff 100%);
  --shadow-md: 0 14px 36px -16px rgba(0, 0, 0, .6); --shadow-lg: 0 30px 60px -28px rgba(0, 0, 0, .7);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); font-size: 16px; line-height: 1.7;
  color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--primary); color: #fff; padding: 8px 16px; border-radius: 8px; }
.skip:focus { left: 16px; }
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.mono { font-family: var(--mono); font-feature-settings: "tnum"; }
.muted { color: var(--muted); }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.c-mute { color: #8a94a6; }
.c-ok { color: #2fbf71; }
.c-acc { color: #7fb0ff; }
.tbd-inline { color: #c2622f; font-family: var(--mono); font-size: .9em; font-weight: 500; }
:root[data-theme="dark"] .tbd-inline { color: #f2b48e; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .tbd-inline { color: #f2b48e; } }
.text-link { color: var(--primary); font-weight: 600; border-bottom: 1.5px solid currentColor; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 0 20px; border-radius: 10px;
  font-weight: 600; font-size: 15px; line-height: 1.2; white-space: nowrap;
  border: 1px solid transparent; cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn--primary { background: var(--primary); color: #fff; box-shadow: 0 8px 20px -8px rgba(21, 70, 199, .6); }
.btn--primary:hover { background: var(--primary-hover); transform: translateY(-1px); }
.btn--ghost { background: var(--surface); border-color: var(--line-strong); color: var(--ink); }
.btn--ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn--lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn--flow {
  color: #fff; border-radius: 999px; background: rgba(21, 70, 199, .28);
  border: 1px solid rgba(143, 176, 255, .55); box-shadow: 0 0 0 4px rgba(91, 134, 245, .12), 0 10px 40px -10px rgba(91, 134, 245, .8);
}
.btn--flow:hover { background: rgba(21, 70, 199, .5); transform: translateY(-1px); }

.icon-btn {
  width: 40px; height: 40px; display: inline-grid; place-items: center; flex-shrink: 0;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  color: var(--ink-2); transition: border-color .2s, color .2s;
}
.icon-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.i-sun, .i-play { display: none; }
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: block; }
  :root:not([data-theme="light"]) .i-moon { display: none; }
}
.anim-paused .i-pause { display: none; }
.anim-paused .i-play { display: block; }

/* ---------- Language ---------- */
.lang { position: relative; }
.lang-btn {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 14px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 10px; cursor: pointer;
  font-size: 14px; font-weight: 500; color: var(--ink-2);
}
.lang-btn:hover { border-color: var(--line-strong); color: var(--ink); }
.lang-caret { opacity: .6; transition: transform .2s; }
.lang-btn[aria-expanded="true"] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 60; min-width: 148px; margin: 0; padding: 6px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-md);
}
.lang-menu button {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 10px 12px; border: 0; border-radius: 8px; background: none; cursor: pointer;
  font-size: 14px; color: var(--ink-2); text-align: left;
}
.lang-menu button:hover, .lang-menu button:focus-visible { background: var(--surface-2); color: var(--ink); outline: none; }
.lang-menu button[aria-checked="true"] { color: var(--primary); font-weight: 600; }
.lang-menu button[aria-checked="true"]::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

/* ---------- Header ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 90%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header__inner { height: var(--header-h); display: flex; align-items: center; gap: 20px; }
.header__left { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__zh { font-weight: 700; font-size: 15.5px; letter-spacing: .04em; font-family: "Inter", "Noto Sans TC", "PingFang TC", sans-serif; }
.brand__en { font-size: 10px; font-weight: 600; letter-spacing: .16em; color: var(--muted); }
.header__contact { font-size: 13.5px; color: var(--muted); padding-left: 14px; border-left: 1px solid var(--line); }
.header__contact:hover { color: var(--primary); }
.nav { display: flex; gap: 2px; margin: 0 auto; }
.nav a { padding: 8px 12px; border-radius: 8px; font-size: 14.5px; color: var(--ink-2); white-space: nowrap; transition: color .2s, background-color .2s; }
.nav a:hover { color: var(--primary); background: var(--primary-soft); }
.nav__extra, .nav__cta-mobile { display: none !important; }
.header__actions { display: flex; align-items: center; gap: 10px; }
.burger { display: none; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.burger span { display: block; width: 18px; height: 1.8px; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.8px) rotate(-45deg); }

/* ---------- Shared type ---------- */
.kicker { font-family: var(--mono); font-size: 12.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--primary); margin-bottom: 18px; }
.kicker--light { color: #8fb0ff; }
.h2 { font-size: clamp(30px, 4.4vw, 58px); line-height: 1.14; font-weight: 800; letter-spacing: -.02em; }
.h2--center { text-align: center; }
.h2--light { color: #fff; }
.lead { margin-top: 22px; font-size: 18px; color: var(--muted); max-width: 40em; line-height: 1.75; }
.sec { padding: 112px 0; background: var(--bg); }
.sec--white { background: var(--surface); }
.price-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* ---------- Mac mini (CSS 3D slice stack) ---------- */
.mini3d { --s: 240px; --h: 60px; --r: 22%; position: relative; width: var(--s); height: var(--s); perspective: 1600px; }
.mini3d__rot {
  position: absolute; inset: 0; transform-style: preserve-3d;
  transform: rotateX(60deg) rotateZ(-38deg);
  animation: mini-spin 36s linear infinite;
}
.mini3d--static .mini3d__rot { animation: mini-sway 14s ease-in-out infinite alternate; }
.mini3d__rot > i, .mini3d__top { position: absolute; inset: 0; border-radius: var(--r); }
.mini3d__rot > i { background: #a9b2c0; }
.mini3d__rot > i:nth-child(1)  { transform: translateZ(calc(var(--h) * 0 / 19)); background: #7d8696; }
.mini3d__rot > i:nth-child(2)  { transform: translateZ(calc(var(--h) * 1 / 19)); background: #8c95a4; }
.mini3d__rot > i:nth-child(3)  { transform: translateZ(calc(var(--h) * 2 / 19)); background: #98a1af; }
.mini3d__rot > i:nth-child(4)  { transform: translateZ(calc(var(--h) * 3 / 19)); background: #a0a9b7; }
.mini3d__rot > i:nth-child(5)  { transform: translateZ(calc(var(--h) * 4 / 19)); }
.mini3d__rot > i:nth-child(6)  { transform: translateZ(calc(var(--h) * 5 / 19)); }
.mini3d__rot > i:nth-child(7)  { transform: translateZ(calc(var(--h) * 6 / 19)); background: #adb6c3; }
.mini3d__rot > i:nth-child(8)  { transform: translateZ(calc(var(--h) * 7 / 19)); background: #b0b8c5; }
.mini3d__rot > i:nth-child(9)  { transform: translateZ(calc(var(--h) * 8 / 19)); background: #b3bbc8; }
.mini3d__rot > i:nth-child(10) { transform: translateZ(calc(var(--h) * 9 / 19)); background: #b6becb; }
.mini3d__rot > i:nth-child(11) { transform: translateZ(calc(var(--h) * 10 / 19)); background: #b9c1cd; }
.mini3d__rot > i:nth-child(12) { transform: translateZ(calc(var(--h) * 11 / 19)); background: #bcc4d0; }
.mini3d__rot > i:nth-child(13) { transform: translateZ(calc(var(--h) * 12 / 19)); background: #bfc7d2; }
.mini3d__rot > i:nth-child(14) { transform: translateZ(calc(var(--h) * 13 / 19)); background: #c2c9d4; }
.mini3d__rot > i:nth-child(15) { transform: translateZ(calc(var(--h) * 14 / 19)); background: #c5ccd6; }
.mini3d__rot > i:nth-child(16) { transform: translateZ(calc(var(--h) * 15 / 19)); background: #c8cfd9; }
.mini3d__rot > i:nth-child(17) { transform: translateZ(calc(var(--h) * 16 / 19)); background: #cbd2db; }
.mini3d__rot > i:nth-child(18) { transform: translateZ(calc(var(--h) * 17 / 19)); background: #ced4dd; }
.mini3d__rot > i:nth-child(19) { transform: translateZ(calc(var(--h) * 18 / 19)); background: #d1d7e0; }
.mini3d__rot > i:nth-child(20) { transform: translateZ(calc(var(--h) * 19 / 19)); background: #d4dae2; }
.mini3d__top {
  transform: translateZ(calc(var(--h) + .6px));
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, .0) 0 13%, rgba(15, 27, 45, .07) 13.5% 14.5%, transparent 15%),
    linear-gradient(135deg, #f7f9fc 0%, #e6eaf0 45%, #d6dce5 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .7);
}
.mini3d__ports {
  position: absolute; left: 24%; width: 52%; height: var(--h); top: calc(100% - var(--h));
  transform-origin: bottom center; transform: rotateX(-90deg) translateZ(1px);
  display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding-left: 6px;
  backface-visibility: hidden;
}
.mini3d__ports s { display: block; width: 18px; height: 6px; border-radius: 3px; background: #4b5363; }
.mini3d__ports s:nth-child(3) { width: 6px; height: 6px; border-radius: 50%; }
.mini3d__ports u { margin-left: auto; margin-right: 10px; width: 4px; height: 4px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 6px #2fbf71; }
.mini3d__shadow {
  position: absolute; left: 50%; top: 66%; width: 135%; height: 60%; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(0, 0, 0, .38), transparent); filter: blur(10px); z-index: -1;
}
@keyframes mini-spin { from { transform: rotateX(60deg) rotateZ(-38deg); } to { transform: rotateX(60deg) rotateZ(322deg); } }
@keyframes mini-sway { from { transform: rotateX(58deg) rotateZ(-52deg); } to { transform: rotateX(62deg) rotateZ(-28deg); } }

/* ---------- 01 Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #e8edf5;
  background:
    radial-gradient(60% 50% at 50% 58%, rgba(41, 88, 214, .32), transparent 70%),
    linear-gradient(180deg, #04070d 0%, #070c16 60%, #0a1120 100%);
  min-height: clamp(720px, calc(100svh - var(--header-h)), 920px);
  display: flex;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(70% 60% at 50% 55%, #000 30%, transparent 80%); mask-image: radial-gradient(70% 60% at 50% 55%, #000 30%, transparent 80%);
}
.hero__frame i { position: absolute; width: 14px; height: 14px; border: 1.5px solid rgba(255, 255, 255, .35); }
.hero__frame i:nth-child(1) { left: 16px; top: 16px; border-right: 0; border-bottom: 0; }
.hero__frame i:nth-child(2) { right: 16px; top: 16px; border-left: 0; border-bottom: 0; }
.hero__frame i:nth-child(3) { left: 16px; bottom: 16px; border-right: 0; border-top: 0; }
.hero__frame i:nth-child(4) { right: 16px; bottom: 16px; border-left: 0; border-top: 0; }
.hero__inner { position: relative; display: flex; flex-direction: column; align-items: center; padding-top: 44px; padding-bottom: 32px; }
.hero__head { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .04); font-size: 13.5px; color: #9aa6bb;
}
.pill b { color: #fff; font-weight: 600; }
.pill__dot { width: 7px; height: 7px; border-radius: 50%; background: #4fd1ff; box-shadow: 0 0 0 3px rgba(79, 209, 255, .2); animation: blink 2.4s ease-in-out infinite; }
.hero__title { margin-top: 22px; font-size: clamp(36px, 5.6vw, 72px); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; }
.hero__t1 { display: block; color: #8a93a5; }
.hero__t2 { display: block; background: linear-gradient(90deg, #ffffff 0%, #ffffff 40%, #9ec0ff 75%, #c3b6ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__sub { margin-top: 22px; font-size: 18px; line-height: 1.7; color: #a7b1c2; max-width: 34em; }
.hero__sub b { color: #fff; }
:root:lang(en) .hero__sub { max-width: 46em; }
.hero__ctas { margin-top: 30px; display: flex; align-items: center; gap: 28px; }
.hero__more { color: #e8edf5; font-size: 16px; padding-bottom: 3px; border-bottom: 1px solid rgba(255, 255, 255, .4); }
.hero__more:hover { color: #fff; border-color: #fff; }

.stage { position: relative; flex: 1; width: 100%; min-height: 300px; display: grid; place-items: center; margin: 12px 0 8px; }
.stage__orbit {
  position: absolute; left: 50%; top: 50%; width: 560px; height: 200px; transform: translate(-50%, -38%);
  border: 1px dashed rgba(143, 176, 255, .28); border-radius: 50%;
}
.stage__orbit::after {
  content: ""; position: absolute; left: 50%; top: -4px; width: 8px; height: 8px; margin-left: -4px; border-radius: 50%;
  background: #8fb0ff; box-shadow: 0 0 12px #8fb0ff; offset-path: ellipse(280px 100px at 50% 50%);
}
.stage__tag {
  position: absolute; padding: 5px 12px; border-radius: 999px; font-family: var(--mono); font-size: 12px; color: #cdd6e6;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14); backdrop-filter: blur(6px);
  animation: floaty 6s ease-in-out infinite;
}
.stage__tag.t1 { left: calc(50% - 330px); top: 22%; }
.stage__tag.t2 { left: calc(50% + 220px); top: 16%; animation-delay: -1.5s; }
.stage__tag.t3 { left: calc(50% - 290px); top: 70%; animation-delay: -3s; }
.stage__tag.t4 { left: calc(50% + 250px); top: 66%; animation-delay: -4.5s; }

.hero__base { width: 100%; display: grid; grid-template-columns: 1fr auto 1fr; align-items: end; gap: 24px; }
.hero__cap { font-family: var(--mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: #6f7a8e; }
.hero__cap b { color: #cdd6e6; font-weight: 500; margin: 0 4px; }
.hero__cap--r { text-align: right; }
.hero__mid { text-align: center; }
.hero__facts { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 6px 10px; font-size: 15px; color: #a7b1c2; }
.hero__price { font-size: 24px; color: #fff; font-weight: 700; letter-spacing: -.01em; }
.hero__dot { width: 6px; height: 6px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 8px #2fbf71; align-self: center; margin-left: 10px; }
.hero__fit { margin-top: 12px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 20px; font-size: 13.5px; color: #8a94a6; }
.hero__fitk { padding-right: 18px; border-right: 1px solid rgba(255, 255, 255, .2); }

/* ---------- Scroll hint ---------- */
.hint {
  display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 14px 0 12px;
  background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  font-size: 11.5px; letter-spacing: .12em; color: var(--muted);
}
.hint__line { position: relative; width: 1px; height: 22px; background: var(--line-strong); overflow: hidden; }
.hint__line::after { content: ""; position: absolute; left: -1px; top: -6px; width: 3px; height: 6px; border-radius: 2px; background: var(--primary); animation: drip 1.8s ease-in infinite; }
.hint__next { display: inline-flex; align-items: baseline; gap: 8px; letter-spacing: .04em; color: var(--ink); font-size: 13px; }
.hint__next small { font-family: var(--mono); font-size: 10px; color: var(--muted); }
.hint:hover .hint__next { color: var(--primary); }

/* ---------- 02 Statement ---------- */
.statement { padding: 104px 0 96px; background: var(--bg); }
.st__a { font-size: clamp(26px, 3.4vw, 44px); line-height: 1.3; font-weight: 700; letter-spacing: -.015em; max-width: 26em; }
.st__b { margin-top: 28px; font-size: clamp(26px, 3.4vw, 44px); line-height: 1.3; font-weight: 700; letter-spacing: -.015em; max-width: 26em; }
.log { margin-top: 56px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md); overflow: hidden; }
.log__head { display: flex; align-items: center; gap: 24px; padding: 18px 24px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.log__title { font-weight: 700; font-size: 15px; display: flex; align-items: center; gap: 10px; }
.log__title small { font-weight: 500; font-size: 11.5px; color: var(--muted); padding: 1px 8px; border: 1px solid var(--line); border-radius: 999px; }
.log__stats { display: flex; gap: 20px; margin-left: auto; font-size: 13px; color: var(--muted); }
.log__stats b { margin-left: 6px; color: var(--ink); font-family: var(--mono); }
.log__state { display: inline-flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: 999px; background: var(--ok-soft); color: var(--ok); font-size: 13px; font-weight: 600; }
.log__state i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; animation: blink 2s ease-in-out infinite; }
.log__cols, .log__rows li { display: grid; grid-template-columns: 1fr 1.3fr 1fr 1fr .9fr; gap: 16px; align-items: center; padding: 0 24px; }
.log__cols { padding-top: 12px; padding-bottom: 12px; font-size: 12px; letter-spacing: .08em; color: var(--muted); background: var(--surface-2); border-bottom: 1px solid var(--line); }
.log__view { height: 264px; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); mask-image: linear-gradient(180deg, transparent, #000 14%, #000 86%, transparent); }
.log__rows { animation: log-scroll 24s linear infinite; }
.log__rows li { height: 52px; font-size: 14px; color: var(--ink-2); border-bottom: 1px dashed var(--line); }
.log__rows .mono { font-size: 13px; color: var(--muted); }
.log__rows em { justify-self: start; font-style: normal; font-size: 12px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.chip-ok { background: var(--ok-soft); color: var(--ok); }
.chip-idle { background: var(--primary-soft); color: var(--primary); }
@keyframes log-scroll { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.trio { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.trio .n { font-family: var(--mono); font-size: 12px; letter-spacing: .2em; color: var(--primary); }
.trio h3 { margin-top: 14px; font-size: 21px; font-weight: 700; }
.trio p { margin-top: 10px; color: var(--muted); font-size: 15.5px; }
.disclaim { margin-top: 40px; font-size: 13px; color: var(--muted); }

/* ---------- 03 Machine ---------- */
#machine .h2 { font-size: clamp(36px, 6vw, 80px); line-height: 1.05; letter-spacing: -.03em; }
.mstage { position: relative; max-width: 1200px; height: 620px; margin: 40px auto 24px; padding: 0 24px; }
.mstage__wires { position: absolute; inset: 0; width: 100%; height: 100%; fill: none; stroke: var(--line-strong); stroke-width: 1.4; stroke-dasharray: 3 7; }
.mstage__wires path { animation: dash 3s linear infinite; }
.mstage__machine { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -46%); }
.mstage .mini3d { --s: 300px; --h: 76px; }
.mcard {
  position: absolute; width: 300px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px;
  box-shadow: var(--shadow-lg); overflow: hidden; animation: floaty 7s ease-in-out infinite;
}
.mcard--a { left: 6%; top: 24px; }
.mcard--b { right: 6%; top: 40px; animation-delay: -2.3s; }
.mcard--c { right: 10%; bottom: 0; animation-delay: -4.6s; }
.mcard__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; color: var(--muted); }
.mcard__bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: .75; }
.mcard__bar span { margin-left: 6px; }
.mcard__term { padding: 14px 14px 10px; font-size: 12px; line-height: 1.8; color: var(--ink-2); min-height: 96px; }
.mcard__foot { display: flex; gap: 8px; align-items: baseline; padding: 9px 12px; border-top: 1px solid var(--line); font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mcard__foot b { color: var(--ink); }
.mcard__tl { position: relative; height: 96px; padding: 16px 14px; display: grid; grid-template-rows: repeat(3, 14px); row-gap: 10px; }
.mcard__tl span { height: 14px; border-radius: 4px; }
.tl1 { width: 62%; background: #7fb0ff; }
.tl2 { width: 40%; margin-left: 18%; background: #f2a679; }
.tl3 { width: 74%; margin-left: 8%; background: #b9a4ff; }
.tl4, .tl5 { display: none; }
.tl__head { position: absolute; top: 10px; bottom: 10px; left: 20%; width: 2px; background: #e5484d; animation: playhead 6s linear infinite; }
.typing { display: inline-block; vertical-align: bottom; overflow: hidden; white-space: nowrap; width: 0; animation: type 5s steps(16, end) infinite; }
.caret { display: inline-block; width: 7px; height: 1.05em; vertical-align: -2px; margin-left: 2px; background: currentColor; opacity: .75; animation: blink 1s steps(1) infinite; }
@keyframes type { 0%, 10% { width: 0; } 55%, 100% { width: 16ch; } }
@keyframes playhead { from { left: 6%; } to { left: 92%; } }

.specs { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-strong); }
.spec { padding: 32px 8px 30px; border-bottom: 1px solid var(--line-strong); }
.spec + .spec { padding-left: 28px; }
.spec:nth-child(3n + 1) { padding-left: 8px; }
.spec:not(:nth-child(3n)) { border-right: 1px solid var(--line); }
.spec b { display: block; font-size: clamp(34px, 4.4vw, 60px); line-height: 1.05; font-weight: 800; letter-spacing: -.03em; }
.spec b small { font-size: .4em; letter-spacing: 0; margin-left: 4px; font-weight: 700; }
.spec span { display: block; margin-top: 10px; font-size: 15px; color: var(--muted); }
.detail { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 40px; }
.detail div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.detail dt { color: var(--muted); font-size: 15px; }
.detail dd { font-size: 15.5px; color: var(--ink-2); }

/* ---------- 04 Highlights (orbit) ---------- */
.orbit {
  margin-top: 56px; display: grid; grid-template-columns: 1fr minmax(320px, 1.25fr) 1fr; column-gap: 40px; row-gap: 32px;
  grid-template-areas: "top top top" "left fig right" "bottom bottom bottom"; align-items: center;
}
.onode h3 { margin-top: 10px; font-size: 24px; line-height: 1.35; font-weight: 700; letter-spacing: -.01em; }
.onode p { margin-top: 12px; color: var(--muted); font-size: 15.5px; line-height: 1.75; }
.otag { font-size: 13.5px; font-weight: 600; color: var(--primary); }
.onode--top { grid-area: top; text-align: center; max-width: 620px; margin: 0 auto; }
.onode--left { grid-area: left; }
.onode--right { grid-area: right; }
.ofig { grid-area: fig; position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.ofig__ring { position: absolute; border-radius: 50%; border: 1px solid var(--line); }
.ofig__ring.r1 { inset: 0; border-color: color-mix(in srgb, var(--primary) 18%, var(--line)); }
.ofig__ring.r2 { inset: 5%; border-style: dashed; border-color: color-mix(in srgb, var(--primary) 30%, var(--line)); animation: rot 60s linear infinite; }
.ofig__ring.r3 { inset: 12%; background: radial-gradient(closest-side, var(--surface-2), transparent); }
.ofig__box {
  position: relative; width: 62%; aspect-ratio: 1; border-radius: 22%;
  background: linear-gradient(145deg, #f8fafc 0%, #e4e8ee 55%, #cfd5de 100%);
  box-shadow: 0 2px 0 #fff inset, 0 -10px 0 #b5bdc9 inset, 0 30px 50px -20px rgba(15, 27, 45, .45);
  animation: floaty 8s ease-in-out infinite;
}
.ofig__box i { position: absolute; right: 9%; bottom: 7%; width: 6px; height: 6px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 8px #2fbf71; animation: blink 2.6s ease-in-out infinite; }
.oterm { width: 100%; max-width: 280px; margin-bottom: 22px; padding: 12px 16px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow-md); font-size: 12px; line-height: 1.9; color: var(--ink-2); }
.oterm__dots { display: flex; gap: 6px; margin-bottom: 6px; }
.oterm__dots i { width: 8px; height: 8px; border-radius: 50%; background: var(--ink); opacity: .7; }
.oradar { position: relative; width: 76px; height: 76px; margin-bottom: 22px; }
.oradar i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--primary) 35%, transparent); animation: ping 2.8s ease-out infinite; }
.oradar i + i { animation-delay: -1.4s; }
.oradar b { position: absolute; left: 50%; top: 50%; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); }
.orbit__bottom { grid-area: bottom; display: grid; grid-template-columns: 1fr 1fr; gap: 48px; max-width: 760px; margin: 0 auto; }
.otiers { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.otiers span { font-family: var(--mono); font-size: 12px; color: var(--ink-2); padding: 3px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface-2); }

/* ---------- 05 Plans ---------- */
.seg { margin-top: 48px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 6px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-sm); }
.tab {
  display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center;
  padding: 16px 14px; border-radius: 12px; border: 1px solid transparent; background: transparent; cursor: pointer;
  transition: background-color .2s, border-color .2s;
}
.tab strong { font-size: 16.5px; font-weight: 600; line-height: 1.35; }
.tab small { font-size: 13px; color: var(--muted); }
.tab:hover { background: var(--surface-2); }
.tab.is-active { border-color: var(--primary); background: var(--primary-soft); }
.tab.is-active strong { color: var(--primary); }
.plans { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.plans[hidden] { display: none; }
.pcard {
  position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; border-radius: 22px;
  background: var(--surface); border: 1px solid var(--line); transition: box-shadow .25s, transform .25s;
}
.pcard:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.pcard--rec { border-color: color-mix(in srgb, var(--primary) 55%, var(--line)); background: linear-gradient(180deg, var(--primary-soft), var(--surface) 60%); }
.pcard__badge { position: absolute; top: 22px; right: 22px; padding: 2px 10px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 600; }
.pcard h3 { font-size: 22px; font-weight: 700; }
.pcard__d { margin-top: 8px; font-size: 14px; color: var(--muted); min-height: 2.6em; }
.pcard__amt { margin-top: 18px; font-size: 40px; line-height: 1.1; font-weight: 800; letter-spacing: -.02em; font-feature-settings: "tnum"; }
.pcard__amt small { font-size: .42em; font-weight: 700; margin-right: 3px; color: var(--muted); }
.pcard__amt span { display: block; margin-top: 6px; font-size: 14px; font-weight: 500; color: var(--muted); letter-spacing: 0; }
.pcard--rec .pcard__amt { color: var(--primary); }
.pcard__eq { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--accent); }
.pcard__btn { margin-top: auto; width: 100%; }
.pcard__eq + .pcard__btn { margin-top: 26px; }
.pinc { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px 32px; padding: 22px 26px; border-radius: 16px; background: var(--surface-2); border: 1px dashed var(--line-strong); }
.pinc li { position: relative; padding-left: 22px; font-size: 14.5px; color: var(--ink-2); }
.pinc li::before { content: ""; position: absolute; left: 3px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 0 3px var(--primary-soft); }
.ent {
  margin-top: 32px; display: flex; align-items: center; gap: 24px; padding: 22px 26px; border-radius: 16px;
  background: var(--surface); border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s;
}
.ent:hover { border-color: var(--primary); box-shadow: var(--shadow-md); }
.ent__text strong { display: block; font-size: 16px; }
.ent__text span { display: block; margin-top: 4px; font-size: 14.5px; color: var(--muted); }
.ent__go { margin-left: auto; flex-shrink: 0; color: var(--primary); font-weight: 600; font-size: 15px; }

/* ---------- 06 Relay ---------- */
#delivery .h2 { font-size: clamp(28px, 3.6vw, 48px); }
.relay { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; position: relative; }
.relay::before { content: ""; position: absolute; left: 4px; right: 0; top: 4px; height: 1px; background: var(--line-strong); }
.relay::after {
  content: ""; position: absolute; left: 0; top: 2px; width: 120px; height: 5px; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--primary)); animation: relay-run 6s linear infinite;
}
.relay__step { position: relative; padding-top: 40px; }
.relay__step::before {
  content: ""; position: absolute; left: 0; top: 0; width: 9px; height: 9px; border-radius: 50%;
  background: var(--surface); border: 1.5px solid var(--muted); animation: relay-node 6s linear infinite;
}
.relay__step:nth-child(2)::before { animation-delay: 1.5s; }
.relay__step:nth-child(3)::before { animation-delay: 3s; }
.relay__step:nth-child(4)::before { animation-delay: 4.5s; }
.who { font-family: var(--mono); font-size: 12px; letter-spacing: .14em; color: var(--muted); }
.relay__step--you .who { color: var(--primary); }
.relay__step h3 { margin-top: 16px; font-size: 22px; line-height: 1.4; font-weight: 700; }
.relay__step p { margin-top: 12px; font-size: 15px; color: var(--muted); line-height: 1.75; }
@keyframes relay-run { from { left: 0; opacity: 0; } 8% { opacity: 1; } 92% { opacity: 1; } to { left: 100%; opacity: 0; } }
@keyframes relay-node { 0%, 4% { background: var(--surface); border-color: var(--muted); box-shadow: none; } 8%, 30% { background: var(--primary); border-color: var(--primary); box-shadow: 0 0 0 5px var(--primary-soft); } 36%, 100% { background: var(--surface); border-color: var(--muted); box-shadow: none; } }

/* ---------- 07 FAQ ---------- */
.faq { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.faq__side { position: sticky; top: calc(var(--header-h) + 40px); }
#faq .h2 { font-size: clamp(32px, 4.6vw, 64px); }
.faq__card { background: var(--surface); border: 1px solid var(--line); border-radius: 28px; padding: 16px 34px 18px; box-shadow: var(--shadow-sm); }
.faq__group h3 { padding: 22px 0 14px; font-size: 14px; font-weight: 600; letter-spacing: .08em; color: var(--muted); border-bottom: 1px solid var(--line); }
.faq__group + .faq__group { margin-top: 8px; }
.faq__card details { border-bottom: 1px solid var(--line); }
.faq__group:last-child details:last-child { border-bottom: 0; }
.faq__card summary { list-style: none; cursor: pointer; position: relative; padding: 20px 40px 20px 0; font-size: 16.5px; font-weight: 500; }
.faq__card summary::-webkit-details-marker { display: none; }
.faq__card summary::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; margin-top: -7px;
  border-right: 1.6px solid var(--muted); border-bottom: 1.6px solid var(--muted); transform: rotate(45deg); transition: transform .25s, margin-top .25s;
}
.faq__card details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__card details[open] summary { color: var(--primary); }
.faq__card details p { padding: 0 8px 20px 0; color: var(--ink-2); font-size: 15px; line-height: 1.8; }

/* ---------- 08 Rules ---------- */
#terms .h2 { font-size: clamp(28px, 3.8vw, 50px); }
.rules { margin-top: 40px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.rule { padding: 26px 28px; border-radius: 18px; background: var(--surface-2); border: 1px solid var(--line); }
.rule h3 { font-size: 18px; font-weight: 700; }
.rule p { margin-top: 8px; font-size: 15px; color: var(--muted); line-height: 1.75; }
.formula { margin-top: 12px !important; padding: 10px 14px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); font-family: var(--mono); font-size: 14px !important; color: var(--ink) !important; }
.rule__eg { font-size: 13.5px !important; }
.ctas { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 10px; }
.ctas .btn { border-width: 2px; }

/* ---------- 09 Finale ---------- */
.finale {
  position: relative; overflow: hidden; padding: 112px 0 120px; text-align: center; background: var(--bg-tint);
}
.finale::after {
  content: ""; position: absolute; left: 50%; bottom: -260px; width: 900px; height: 520px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgba(91, 134, 245, .32), transparent); pointer-events: none;
}
.finale .container { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.finale__icon { width: 96px; height: 96px; display: grid; place-items: center; border-radius: 28px; background: radial-gradient(closest-side, rgba(91, 134, 245, .25), transparent); }
.finale__box { position: relative; width: 64px; height: 64px; border-radius: 16px; background: linear-gradient(145deg, #f8fafc, #cfd5de); box-shadow: 0 -5px 0 #b5bdc9 inset, 0 18px 30px -12px rgba(15, 27, 45, .5); animation: floaty 6s ease-in-out infinite; }
.finale__box i { position: absolute; right: 8px; bottom: 8px; width: 5px; height: 5px; border-radius: 50%; background: #2fbf71; box-shadow: 0 0 6px #2fbf71; }
.pal { margin-top: 26px; padding: 10px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--surface); font-size: 16px; color: var(--ink); }
.pal__type { display: inline-block; vertical-align: bottom; overflow: hidden; white-space: nowrap; width: 0; animation: type-short 4s steps(7, end) infinite; color: var(--primary); }
.pal .caret { background: var(--accent); }
@keyframes type-short { 0%, 15% { width: 0; } 50%, 100% { width: 7ch; } }
.finale__h { margin-top: 34px; font-size: clamp(34px, 5.6vw, 76px); line-height: 1.12; font-weight: 800; letter-spacing: -.025em; }
.finale__p { margin-top: 26px; max-width: 34em; font-size: 18px; color: var(--muted); }
.finale__ctas { margin-top: 34px; display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 28px; }
.more { color: var(--primary); font-size: 17px; font-weight: 500; }
.more:hover { text-decoration: underline; }

/* ---------- Company ---------- */
#company .h2, #contact .h2 { font-size: clamp(28px, 3.4vw, 44px); }
.registry { margin-top: 40px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 8px 32px; box-shadow: var(--shadow-sm); }
.registry__list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.registry__list > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.registry__list > div.wide { grid-column: 1 / -1; border-bottom: 0; }
.registry__list > div:nth-last-child(2) { border-bottom: 0; }
.registry__list dt { color: var(--muted); font-size: 14px; }
.registry__list dd { font-weight: 600; font-size: 15.5px; line-height: 1.6; font-family: "Inter", "Noto Sans TC", "Noto Sans SC", sans-serif; }
.en { color: var(--muted); font-size: .92em; }

/* ---------- Contact ---------- */
.contact { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; padding: 56px; border-radius: 28px; background: #0b1220; color: #e8edf5; }
.contact__lead { margin-top: 16px; color: #aeb9cc; }
.contact__list li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.contact__list li:last-child { border-bottom: 0; }
.contact__list .k { font-size: 13.5px; color: #8b97ab; }
.contact__list .v { font-weight: 500; overflow-wrap: anywhere; }
.tbd { color: #f2b48e !important; font-family: var(--mono); font-size: 14px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); background: var(--surface); padding-top: 64px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.3fr; gap: 40px; padding-bottom: 48px; }
.footer__tag { margin-top: 16px; font-size: 14.5px; color: var(--muted); max-width: 22em; }
.footer__legal { margin-top: 16px; font-size: 13.5px; color: var(--ink-2); font-family: "Inter", "Noto Sans TC", sans-serif; }
.footer__ids { margin-top: 6px; font-size: 13px; color: var(--muted); }
.footer__col h4 { font-size: 14px; font-weight: 700; margin-bottom: 18px; }
.footer__col a { display: block; font-size: 14.5px; color: var(--ink-2); padding: 5px 0; }
.footer__col a:hover { color: var(--primary); }
.footer__contact p { display: grid; grid-template-columns: 72px 1fr; gap: 8px; padding: 5px 0; font-size: 14px; }
.footer__contact .k { color: var(--muted); font-size: 13px; }
.footer__legalstrip { padding-top: 24px; padding-bottom: 36px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted); line-height: 1.8; }
.footer__legalstrip p + p { margin-top: 6px; }
.footer__copy { margin-top: 18px !important; }

/* ---------- Floating contact ---------- */
.cfloat {
  position: fixed; right: 22px; bottom: 22px; z-index: 45; display: grid; gap: 4px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow-lg);
}
.cfloat__btn { display: flex; align-items: center; gap: 12px; padding: 8px 12px 8px 8px; border-radius: 12px; border: 0; background: none; cursor: pointer; text-align: left; }
.cfloat__btn:hover { background: var(--surface-2); }
.cfloat__ico { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 50%; color: #fff; flex-shrink: 0; }
.cfloat__ico--tg { background: #2a9fe0; }
.cfloat__ico--wx { background: #22b35e; }
.cfloat__txt b { display: block; font-size: 14px; }
.cfloat__txt small { display: block; font-size: 11px; }
.wxmodal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; background: rgba(8, 12, 20, .55); backdrop-filter: blur(4px); }
.wxmodal[hidden] { display: none; }
.wxmodal__dialog { position: relative; width: min(340px, 100%); padding: 28px 24px 24px; border-radius: 20px; background: var(--surface); text-align: center; box-shadow: var(--shadow-lg); }
.wxmodal__close { position: absolute; right: 10px; top: 8px; width: 36px; height: 36px; border: 0; background: none; font-size: 24px; color: var(--muted); cursor: pointer; }
.wxmodal__qr { width: 200px; height: 200px; margin: 0 auto 16px; display: grid; place-items: center; padding: 12px; border: 1px dashed var(--line-strong); border-radius: 12px; }
.wxmodal__dialog p { margin-top: 6px; font-size: 13.5px; color: var(--muted); }

/* ---------- Motion ---------- */
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes rot { to { transform: rotate(360deg); } }
@keyframes ping { 0% { transform: scale(.3); opacity: 1; } 100% { transform: scale(1); opacity: 0; } }
@keyframes drip { 0% { top: -6px; } 100% { top: 24px; } }
@keyframes dash { to { stroke-dashoffset: -20; } }
@keyframes orbit-dot { to { offset-distance: 100%; } }
.stage__orbit::after { animation: orbit-dot 9s linear infinite; }
.anim-paused *, .anim-paused *::before, .anim-paused *::after { animation-play-state: paused !important; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-play-state: paused !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .typing { width: 16ch; } .pal__type { width: 7ch; }
}

/* =================== Responsive =================== */
@media (max-width: 1200px) {
  .container { padding: 0 32px; }
  .header__contact { display: none; }
  .nav a { padding: 8px 9px; font-size: 14px; }
  .plans { grid-template-columns: repeat(2, 1fr); }
  .mcard { width: 270px; }
  .mcard--a { left: 2%; } .mcard--b { right: 2%; } .mcard--c { right: 4%; }
}
@media (max-width: 1040px) {
  .header__cta { display: none; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .orbit { grid-template-columns: 1fr 1fr; grid-template-areas: "top top" "fig fig" "left right" "bottom bottom"; }
  .ofig { max-width: 360px; width: 100%; margin: 0 auto; }
}
@media (max-width: 900px) {
  :root { --header-h: 60px; }
  .container { padding: 0 20px; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; left: 0; right: 0; top: var(--header-h); height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); margin: 0;
    flex-direction: column; gap: 0; padding: 12px 20px 32px; background: var(--surface); border-top: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); visibility: hidden; transition: opacity .25s ease, transform .25s ease, visibility .25s; overflow-y: auto;
  }
  .nav.is-open { opacity: 1; transform: none; visibility: visible; }
  .nav a { padding: 16px 4px; font-size: 17px; border-radius: 0; border-bottom: 1px solid var(--line); }
  .nav a:hover { background: transparent; }
  .nav .nav__extra { display: block !important; }
  .nav .nav__cta-mobile { display: inline-flex !important; margin-top: 24px; border-bottom: 0; color: #fff; border-radius: 10px; min-height: 52px; }
  .header__inner { gap: 8px; }
  .header__left { gap: 8px; }
  .header__actions { margin-left: auto; gap: 8px; }
  body.nav-open { overflow: hidden; }

  .hero { min-height: 0; }
  .hero__inner { padding-top: 36px; padding-bottom: 28px; }
  .hero__sub { font-size: 16px; }
  .hero__sub br { display: none; }
  .stage { min-height: 250px; margin: 20px 0 12px; }
  .stage .mini3d { --s: 190px; --h: 48px; }
  .stage__orbit { width: 340px; height: 130px; }
  .stage__orbit::after { offset-path: ellipse(170px 65px at 50% 50%); }
  .stage__tag.t1 { left: 4%; top: 6%; } .stage__tag.t2 { left: auto; right: 4%; top: 2%; }
  .stage__tag.t3 { left: 2%; top: 80%; } .stage__tag.t4 { left: auto; right: 2%; top: 76%; }
  .hero__base { grid-template-columns: 1fr; gap: 14px; text-align: center; }
  .hero__cap--l { order: 2; } .hero__cap--r { order: 3; text-align: center; }

  .sec { padding: 72px 0; }
  .statement { padding: 72px 0 64px; }
  .log__head { gap: 12px; padding: 14px 16px; }
  .log__stats { margin-left: 0; }
  .log__cols, .log__rows li { grid-template-columns: .9fr 1.2fr 1fr; padding: 0 16px; gap: 10px; }
  .log__cols span:nth-child(3), .log__cols span:nth-child(4), .log__rows li > span:nth-child(3), .log__rows li > span:nth-child(4) { display: none; }
  .trio { grid-template-columns: 1fr; gap: 28px; margin-top: 48px; }

  .mstage { height: auto; margin: 32px 0 8px; padding: 0 20px; display: grid; gap: 16px; justify-items: center; }
  .mstage__wires { display: none; }
  .mstage__machine { position: relative; left: auto; top: auto; transform: none; padding: 24px 0 36px; }
  .mstage .mini3d { --s: 220px; --h: 56px; }
  .mcard { position: relative; left: auto !important; right: auto !important; top: auto !important; bottom: auto !important; width: 100%; max-width: 420px; animation: none; }
  .specs { grid-template-columns: 1fr 1fr; }
  .spec, .spec + .spec, .spec:nth-child(3n + 1) { padding: 24px 0 22px 0; border-right: 0 !important; }
  .spec:nth-child(odd) { padding-right: 16px; border-right: 1px solid var(--line) !important; }
  .spec:nth-child(even) { padding-left: 16px; }
  .detail { grid-template-columns: 1fr; }
  .detail div { grid-template-columns: 72px 1fr; }

  .orbit { grid-template-columns: 1fr; grid-template-areas: "top" "fig" "left" "right" "bottom"; row-gap: 40px; }
  .onode--top { text-align: left; }
  .orbit__bottom { grid-template-columns: 1fr; gap: 40px; }
  .ofig { max-width: 280px; }

  .seg { grid-template-columns: 1fr; }
  .tab { align-items: flex-start; text-align: left; padding: 14px 16px; }
  .pinc { grid-template-columns: 1fr; }
  .ent { flex-direction: column; align-items: flex-start; gap: 12px; }
  .ent__go { margin-left: 0; }

  .relay { grid-template-columns: 1fr; gap: 0; margin-top: 40px; padding-left: 28px; }
  .relay::before { left: 4px; right: auto; top: 6px; bottom: 6px; width: 1px; height: auto; }
  .relay::after { display: none; }
  .relay__step { padding: 0 0 32px; }
  .relay__step::before { left: -28px; top: 6px; }
  .relay__step h3 { margin-top: 6px; }

  .faq { grid-template-columns: 1fr; gap: 28px; }
  .faq__side { position: static; }
  .faq__card { padding: 4px 20px 8px; border-radius: 20px; }

  .rules { grid-template-columns: 1fr; }
  .finale { padding: 80px 0 88px; }
  .finale__p { font-size: 16px; }

  .registry { padding: 4px 20px; }
  .registry__list { grid-template-columns: 1fr; }
  .registry__list > div { grid-template-columns: 1fr; gap: 4px; padding: 16px 0; }
  .registry__list > div:nth-last-child(2) { border-bottom: 1px solid var(--line); }
  .contact { grid-template-columns: 1fr; padding: 36px 22px; gap: 20px; border-radius: 22px; }
  .contact__list li { grid-template-columns: 92px 1fr; }
}
@media (max-width: 560px) {
  .header .brand__text { display: none; }
  .lang-btn { padding: 0 10px; }
  .hero__ctas { flex-direction: column; gap: 16px; width: 100%; }
  .hero__ctas .btn { width: 100%; }
  .stage__orbit { width: 300px; }
  .stage__tag { font-size: 11px; padding: 4px 9px; }
  .hero__fit { gap: 4px 14px; }
  .hero__fitk { flex-basis: 100%; border-right: 0; padding-right: 0; }
  .plans { grid-template-columns: 1fr; gap: 14px; }
  .pcard { padding: 24px 22px 22px; }
  .pcard__d { min-height: 0; }
  .footer__inner { grid-template-columns: 1fr 1fr; gap: 32px 20px; }
  .footer__brand, .footer__contact { grid-column: 1 / -1; }
  .cfloat { right: 12px; bottom: 12px; padding: 6px; border-radius: 16px; grid-auto-flow: column; }
  .cfloat__txt { display: none; }
  .cfloat__btn { padding: 4px; }
}
