/* PRISM 官方網站｜樣式
   色彩：深黑／深灰底，青藍與冷白為光，深橘只做少量重點。字體全用系統字，不載入外部字型。 */

:root {
  --bg: #06080b;
  --bg-2: #0a0d12;
  --panel: #0d1218;
  --line: rgba(170, 205, 222, .12);
  --line-2: rgba(170, 205, 222, .22);
  --ink: #e8eef2;
  --ink-2: #a9b6bf;
  --ink-3: #7c8a94;
  --cyan: #6fe3ee;
  --cyan-2: #3fc6d2;
  --white: #f4fbff;
  --orange: #e8742a;
  --sans: "SF Pro Text", "SF Pro Display", -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Microsoft JhengHei", "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.7 var(--sans);
  letter-spacing: .01em; -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; padding: 0; }
ol, ul { list-style: none; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(111, 227, 238, .3); color: #fff; }

.wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--ink-3); }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--white); color: #000; border-radius: 8px; font-weight: 600; }
.skip:focus { top: 12px; }

.dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 8px rgba(111, 227, 238, .8); flex: none; }
.dot--orange { background: var(--orange); box-shadow: 0 0 8px rgba(232, 116, 42, .7); }
.dot--dim { background: var(--ink-3); box-shadow: none; }

/* ───────── 導覽列 ───────── */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.is-solid { background: rgba(6, 8, 11, .82); -webkit-backdrop-filter: blur(14px) saturate(140%); backdrop-filter: blur(14px) saturate(140%); border-bottom-color: var(--line); }
.nav__in { display: flex; align-items: center; height: 72px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
/* 左上 LOGO：Nick 提供的 PRISM 標誌（去背）；字改成亮色才看得到 */
.brand__mark { width: auto; height: 32px; }
.brand__name { width: auto; height: 17px; }
.nav__menu { display: flex; align-items: center; flex: 1; gap: 28px; }
.nav__menu ul { display: flex; gap: 28px; margin-left: auto; }
.nav__menu a { position: relative; font-size: 14px; color: var(--ink-2); transition: color .2s; padding: 6px 0; }
.nav__menu a:hover, .nav__menu a.is-current { color: var(--white); }
.nav__menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--cyan); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav__menu a:hover::after, .nav__menu a.is-current::after { transform: scaleX(1); }
.nav__side { display: flex; align-items: center; gap: 16px; }
.lang { display: flex; align-items: center; gap: 2px; font-size: 12px; border: 1px solid var(--line-2); border-radius: 999px; padding: 3px; }
.lang > span { padding: 3px 10px; border-radius: 999px; }
.lang__cur { background: rgba(255, 255, 255, .08); color: var(--white); }
.lang__soon { color: var(--ink-3); display: flex; align-items: baseline; gap: 6px; cursor: default; }
.lang__soon small { font-size: 10px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; color: var(--ink-2); padding: 5px 12px; border-radius: 999px; border: 1px solid rgba(232, 116, 42, .35); }
.pill .dot { background: var(--orange); box-shadow: 0 0 8px rgba(232, 116, 42, .7); }
.nav__toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: none; color: var(--white); cursor: pointer; position: relative; border-radius: 10px; }
.nav__toggle i { position: absolute; left: 12px; right: 12px; height: 1.5px; background: currentColor; transition: transform .3s var(--ease), top .3s var(--ease); }
.nav__toggle i:nth-of-type(1) { top: 17px; }
.nav__toggle i:nth-of-type(2) { top: 26px; }
.nav__toggle[aria-expanded="true"] i:nth-of-type(1) { top: 21.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:nth-of-type(2) { top: 21.5px; transform: rotate(-45deg); }

/* ───────── Hero ───────── */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 120px 0 96px; overflow: hidden; isolation: isolate; }
.hero__sky { position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(60% 50% at 72% 46%, rgba(63, 198, 210, .10), transparent 70%),
    radial-gradient(40% 40% at 18% 20%, rgba(120, 140, 255, .05), transparent 70%),
    linear-gradient(180deg, #05070a 0%, #070a0e 60%, var(--bg) 100%); }
.hero__sky::before, .hero__sky::after { content: ""; position: absolute; inset: 0; pointer-events: none; }
/* 細格線：只在畫面中段淡淡出現 */
.hero__sky::before {
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px; opacity: .35;
  -webkit-mask-image: radial-gradient(70% 60% at 65% 50%, #000, transparent 75%); mask-image: radial-gradient(70% 60% at 65% 50%, #000, transparent 75%); }
/* 星點 */
.hero__sky::after {
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255,255,255,.7), transparent 60%),
    radial-gradient(1px 1px at 28% 68%, rgba(255,255,255,.45), transparent 60%),
    radial-gradient(1.2px 1.2px at 44% 14%, rgba(200,240,255,.6), transparent 60%),
    radial-gradient(1px 1px at 58% 82%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 76% 12%, rgba(255,255,255,.55), transparent 60%),
    radial-gradient(1.2px 1.2px at 88% 58%, rgba(200,240,255,.5), transparent 60%),
    radial-gradient(1px 1px at 94% 30%, rgba(255,255,255,.4), transparent 60%),
    radial-gradient(1px 1px at 6% 86%, rgba(255,255,255,.35), transparent 60%);
  opacity: .8; }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: 40px; }
.eyebrow { font-family: var(--mono); font-size: 12px; letter-spacing: .32em; color: var(--cyan); display: flex; align-items: center; gap: 16px; }
.eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--cyan); box-shadow: 0 0 6px rgba(111, 227, 238, .8); }
.hero__title { margin-top: 28px; }
.hero__word { width: clamp(230px, 32vw, 420px); height: auto; filter: drop-shadow(0 0 24px rgba(111, 227, 238, .18)); }
.hero__lead { margin-top: 32px; font-size: clamp(22px, 2.4vw, 30px); line-height: 1.45; font-weight: 500; color: var(--white); letter-spacing: .02em; }
.hero__sub { margin-top: 18px; max-width: 34em; color: var(--ink-2); font-size: 16px; }
.hero__cta { margin-top: 40px; display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; }
.btn { display: inline-flex; align-items: center; gap: 12px; height: 52px; padding: 0 26px; border-radius: 12px; font-weight: 600; font-size: 15px; letter-spacing: .04em; transition: background .25s, color .25s, transform .25s var(--ease), box-shadow .25s; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: transform .25s var(--ease); }
.btn--primary { background: var(--white); color: #061016; box-shadow: 0 0 0 1px rgba(255,255,255,.2), 0 10px 30px rgba(111, 227, 238, .14); }
.btn--primary:hover { background: #fff; box-shadow: 0 0 0 1px rgba(255,255,255,.4), 0 12px 40px rgba(111, 227, 238, .28); }
.btn--primary:hover svg { transform: translateX(3px); }
.status { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }

/* 首頁主視覺：Nick 提供的稜鏡圖；四周淡出到頁面底色，與背景融成一片 */
.hero__art { display: grid; place-items: center; }
.hero__img { width: min(100%, 470px); height: auto; user-select: none; -webkit-user-drag: none;
  -webkit-mask-image: radial-gradient(closest-side at 50% 50%, #000 58%, rgba(0,0,0,.6) 78%, transparent 100%); mask-image: radial-gradient(closest-side at 50% 50%, #000 58%, rgba(0,0,0,.6) 78%, transparent 100%); }
.hero__lead .nb { display: inline-block; }

/* 動態：主視覺緩慢上下浮動 */
@media (prefers-reduced-motion: no-preference) {
  .hero__art { animation: float 12s ease-in-out infinite; }
}
@keyframes core { 0%, 100% { opacity: .55; transform: scale(.92); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.hero__scroll { position: absolute; left: 50%; bottom: 28px; width: 22px; height: 36px; margin-left: -11px; border: 1px solid var(--line-2); border-radius: 12px; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 6px; margin-left: -1px; border-radius: 2px; background: var(--ink-2); }
@media (prefers-reduced-motion: no-preference) { .hero__scroll span { animation: scroll 2.2s ease-in-out infinite; } }
@keyframes scroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ───────── 區塊共用 ───────── */
.sec { position: relative; padding: clamp(96px, 12vw, 160px) 0; border-top: 1px solid var(--line); }
.sec--alt { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.sec__hd { max-width: 760px; }
.kicker { display: flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .28em; color: var(--ink-2); text-transform: uppercase; }
.kicker__n { color: var(--orange); }
.kicker::after { content: ""; flex: 0 0 48px; height: 1px; background: var(--line-2); }
.sec h2 { margin-top: 20px; font-size: clamp(30px, 4vw, 48px); line-height: 1.25; font-weight: 600; letter-spacing: .01em; color: var(--white); }
.sec__lead { margin-top: 20px; font-size: 17px; color: var(--ink-2); max-width: 40em; }
.note { margin-top: 24px; display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--ink-2); padding: 14px 16px; border: 1px solid var(--line); border-left: 2px solid var(--orange); border-radius: 4px 10px 10px 4px; background: rgba(232, 116, 42, .03); }
.tag { flex: none; font-family: var(--mono); font-size: 11px; letter-spacing: .12em; padding: 2px 8px; border-radius: 4px; border: 1px solid rgba(232, 116, 42, .45); color: #f0a26c; }

/* 產品介紹：三欄敘述，以細線分隔 */
.trio { margin-top: 72px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.trio__item { padding: 36px 32px 8px 0; }
.trio__item + .trio__item { padding-left: 32px; border-left: 1px solid var(--line); }
.trio h3 { display: flex; align-items: baseline; gap: 14px; font-size: 21px; font-weight: 600; color: var(--white); }
.ix { font-family: var(--mono); font-size: 12px; color: var(--cyan); letter-spacing: .1em; }
.trio p { margin-top: 14px; color: var(--ink-2); }

/* 核心能力：格線排列（共用框線，不做一張張卡片） */
.caps { margin-top: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.cap { position: relative; padding: 36px 32px 40px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .35s; }
.cap::before { content: ""; position: absolute; left: -1px; top: -1px; width: 28px; height: 1px; background: var(--cyan); opacity: 0; transition: opacity .35s, width .5s var(--ease); }
.cap:hover { background: linear-gradient(160deg, rgba(111, 227, 238, .045), transparent 60%); }
.cap:hover::before { opacity: 1; width: 64px; }
.cap__ic { width: 36px; height: 36px; fill: none; stroke: var(--cyan); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.cap__n { position: absolute; top: 36px; right: 32px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); }
.cap h3 { margin-top: 28px; font-size: 19px; font-weight: 600; color: var(--white); }
.cap p { margin-top: 10px; font-size: 15px; color: var(--ink-2); }

/* 產品介面：概念示意 */
.showcase { margin-top: 64px; }
.showcase__frame { position: relative; padding: 14px; border-radius: 22px; border: 1px solid var(--line-2); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); box-shadow: 0 40px 120px rgba(0,0,0,.55), 0 0 0 1px rgba(0,0,0,.4) inset; }
.concept { position: absolute; z-index: 2; top: -13px; left: 28px; font-family: var(--mono); font-size: 11px; letter-spacing: .14em; padding: 4px 12px; border-radius: 6px; background: #1a120c; border: 1px solid rgba(232, 116, 42, .55); color: #f0a26c; }
.showcase figcaption { margin-top: 18px; font-size: 13px; color: var(--ink-3); }
.console { border-radius: 12px; overflow: hidden; background: #070a0e; border: 1px solid var(--line); font-size: 13px; }
.console__bar { display: flex; align-items: center; gap: 16px; height: 40px; padding: 0 16px; border-bottom: 1px solid var(--line); }
.console__dots { display: flex; gap: 6px; }
.console__dots i { width: 9px; height: 9px; border-radius: 50%; background: rgba(255,255,255,.12); }
.console__ttl { font-family: var(--mono); font-size: 12px; letter-spacing: .3em; color: var(--ink); }
.console__live { margin-left: auto; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--cyan); }
.console__body { display: grid; grid-template-columns: 220px 1fr 240px; min-height: 420px; }
.console__rail, .console__tasks { padding: 22px 20px; display: flex; flex-direction: column; gap: 14px; }
.console__rail { border-right: 1px solid var(--line); }
.console__tasks { border-left: 1px solid var(--line); }
.meter { display: grid; gap: 6px; color: var(--ink-2); font-size: 12px; }
.meter__bar { display: block; height: 4px; border-radius: 4px; background: rgba(255,255,255,.07); overflow: hidden; }
.meter__bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan-2), var(--cyan)); }
.meter__bar .w20 { width: 20%; } .meter__bar .w55 { width: 55%; }
.route { display: grid; gap: 8px; color: var(--ink-2); font-size: 12px; }
.route li { display: flex; align-items: center; gap: 10px; }
.console__core { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 22px; padding: 32px; background: radial-gradient(50% 50% at 50% 45%, rgba(63, 198, 210, .08), transparent 70%); }
.orb { position: relative; width: 150px; height: 150px; }
.orb i { position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(111, 227, 238, .35); }
.orb i:nth-child(2) { inset: 18px; border-color: rgba(111, 227, 238, .22); border-style: dashed; }
.orb i:nth-child(3) { inset: 46px; border: 0; background: radial-gradient(circle, rgba(244,251,255,.85), rgba(111,227,238,.25) 45%, transparent 70%); }
@media (prefers-reduced-motion: no-preference) {
  .orb i:nth-child(1) { animation: spin 30s linear infinite; border-top-color: var(--cyan); }
  .orb i:nth-child(2) { animation: spin 18s linear infinite reverse; }
  .orb i:nth-child(3) { animation: core 5s ease-in-out infinite; }
}
@keyframes spin { to { transform: rotate(360deg); } }
.console__state { color: var(--cyan); }
.console__input { width: min(100%, 420px); display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px; border-radius: 10px; border: 1px solid var(--line-2); color: var(--ink-3); background: rgba(255,255,255,.02); }
.console__input b { width: 22px; height: 22px; border-radius: 6px; background: rgba(111, 227, 238, .18); flex: none; }
.steps { display: grid; gap: 2px; }
.steps li { display: flex; justify-content: space-between; align-items: center; padding: 9px 12px; border-radius: 8px; color: var(--ink-3); background: rgba(255,255,255,.02); }
.steps em { font-style: normal; font-family: var(--mono); font-size: 12px; }
.steps .is-done { color: var(--ink-2); } .steps .is-done em { color: var(--cyan); }
.steps .is-wait { color: var(--white); background: rgba(232, 116, 42, .08); box-shadow: inset 2px 0 0 var(--orange); }
.steps .is-wait em { color: var(--orange); }
.cost { font-family: var(--mono); color: var(--ink-2); }

/* 安全與控制 */
.ctl__grid { margin-top: 64px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 64px; align-items: start; }
.principles { border-top: 1px solid var(--line); }
.principles li { display: grid; grid-template-columns: 1fr 1.2fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.principles h3 { font-size: 17px; font-weight: 600; color: var(--white); }
.principles p { color: var(--ink-2); font-size: 15px; }
.flow { position: relative; display: grid; gap: 14px; padding: 28px; border-radius: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.015); }
.flow::before { content: ""; position: absolute; left: 49px; top: 52px; bottom: 52px; width: 1px; background: linear-gradient(var(--cyan), rgba(111, 227, 238, .15)); }
.flow__step { position: relative; display: grid; grid-template-columns: 44px 1fr; align-items: center; column-gap: 14px; padding: 14px 16px 14px 0; }
.flow__step .mono { position: relative; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--bg); border: 1px solid var(--line-2); color: var(--cyan); letter-spacing: .05em; }
.flow__step b { font-weight: 500; color: var(--ink); }
.flow__step small { grid-column: 2; color: #f0a26c; font-size: 13px; }
.flow__step--gate { border-radius: 12px; background: rgba(232, 116, 42, .06); border: 1px solid rgba(232, 116, 42, .28); padding-left: 0; }
.flow__step--gate .mono { border-color: rgba(232, 116, 42, .7); color: var(--orange); }

/* 開發進度 */
.timeline { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line-2); }
.tl { position: relative; padding: 36px 28px 0 0; }
.tl__mark { position: absolute; top: 0; left: 0; width: 15px; height: 15px; border-radius: 50%; border: 1px solid var(--line-2); background: var(--bg); }
.tl--active .tl__mark { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(111, 227, 238, .1), 0 0 12px rgba(111, 227, 238, .5); }
.tl--active .tl__mark::after { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: var(--cyan); }
.tl__state { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--ink-3); }
.tl--active .tl__state { color: var(--cyan); }
.tl h3 { margin-top: 12px; font-size: 18px; font-weight: 600; color: var(--white); }
.tl p:last-child { margin-top: 10px; font-size: 14px; color: var(--ink-2); }

/* 常見問題 */
.faq { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.faq .sec__hd { position: sticky; top: 120px; }
.faq__list { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 26px 0; font-size: 18px; font-weight: 500; color: var(--white); }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 14px; height: 14px; }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 0; right: 0; top: 6.5px; height: 1.2px; background: var(--ink-2); transition: transform .3s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i::after { transform: rotate(0); }
.qa summary:hover i::before, .qa summary:hover i::after { background: var(--cyan); }
.qa p { padding: 0 48px 28px 0; color: var(--ink-2); }

/* 頁尾 */
.foot { border-top: 1px solid var(--line); padding: 64px 0 48px; background: #040507; }
.foot__in { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px 64px; }
.foot__brand { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px 14px; color: var(--white); }
.foot__mark { width: auto; height: 30px; }
.foot__word { width: auto; height: 16px; }
.foot__brand p { grid-column: 1 / -1; color: var(--ink-3); font-size: 14px; }
.foot__meta { display: grid; gap: 18px; }
.foot__meta > div { display: grid; grid-template-columns: 96px 1fr; gap: 16px; font-size: 14px; }
.foot__meta dt { color: var(--ink-3); }
.foot__meta dd { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 20px; color: var(--ink-2); }
.foot__legal > span { color: var(--ink-3); cursor: default; display: inline-flex; gap: 6px; align-items: baseline; }
.foot__legal small { font-size: 11px; padding: 1px 6px; border-radius: 4px; border: 1px solid var(--line-2); }
.foot__copy { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }

/* 進場：只有在 JS 執行且未要求減少動態時才隱藏，避免沒有 JS 時內容看不到 */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ───────── 響應式 ───────── */
@media (max-width: 1080px) {
  .nav__menu ul { gap: 20px; }
  .lang__soon small { display: none; }
  .console__body { grid-template-columns: 180px 1fr 200px; }
}
@media (max-width: 920px) {
  .nav__toggle { display: block; }
  .nav__menu { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gutter) 28px; background: rgba(6, 8, 11, .97); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .25s, transform .25s var(--ease), visibility 0s .25s; }
  .nav.is-open .nav__menu { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s var(--ease); }
  .nav.is-open { background: rgba(6, 8, 11, .97); }
  .nav__menu ul { flex-direction: column; gap: 0; margin: 0; }
  .nav__menu ul a { display: block; padding: 16px 0; font-size: 17px; border-bottom: 1px solid var(--line); }
  .nav__menu a::after { display: none; }
  .nav__side { padding-top: 20px; justify-content: space-between; }
  .lang__soon small { display: inline; }

  .hero { padding-top: 104px; }
  .hero__in { grid-template-columns: 1fr; gap: 24px; }
  .hero__art { order: -1; margin: 0 auto; width: 100%; }
  .hero__img { width: min(84vw, 380px); aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 45%; }
  .trio { grid-template-columns: 1fr; }
  .trio__item, .trio__item + .trio__item { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .caps { grid-template-columns: repeat(2, 1fr); }
  .console__body { grid-template-columns: 1fr; }
  .console__rail, .console__tasks { border: 0; border-top: 1px solid var(--line); flex-direction: row; flex-wrap: wrap; align-items: flex-start; }
  .console__rail { order: 2; } .console__tasks { order: 3; }
  .console__rail > *, .console__tasks > * { flex: 1 1 160px; }
  .console__rail .mono, .console__tasks .mono { flex-basis: 100%; }
  .ctl__grid, .faq { grid-template-columns: 1fr; gap: 40px; }
  .faq .sec__hd { position: static; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 48px; }
  .timeline::before { display: none; }
  .foot__in { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  body { font-size: 15px; }
  .hero__cta { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; }
  .caps { grid-template-columns: 1fr; }
  .principles li { grid-template-columns: 1fr; gap: 6px; }
  .timeline { grid-template-columns: 1fr; padding-left: 28px; row-gap: 36px; }
  .timeline::before { display: block; left: 7px; right: auto; top: 8px; bottom: 8px; width: 1px; height: auto; }
  .tl { padding: 0; }
  .tl__mark { left: -28px; top: 2px; }
  .tl h3 { margin-top: 6px; }
  .qa summary { font-size: 16px; padding: 22px 0; }
  .qa p { padding-right: 0; }
  .foot__meta > div { grid-template-columns: 1fr; gap: 6px; }
  .flow { padding: 20px 16px; }
  .flow::before { left: 37px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}

/* 404 */
.notfound { margin-top: 24px; font-size: clamp(30px, 4vw, 48px); font-weight: 600; color: var(--white); }
