/* =========================================================
   沐耀科技 Mu Yao Technology — Site stylesheet (v2 · engineering)
   Palette
     Paper     #F4F5F3   背景（冷調灰白）
     Ink       #14181B   主要文字
     沐青 Mu   #2E7D6F   品牌主色
     耀橙 Yao  #E57A44   強調色
     Terminal  #0E1416   終端機 / 深色區塊
     Signal    #5FD3A8   終端機綠
   ========================================================= */

:root {
  --paper: #F4F5F3;
  --paper-2: #EBEDEA;
  --surface: #FFFFFF;
  --ink: #14181B;
  --ink-soft: #59636B;
  --line: #DCE0DD;
  --grid: rgba(20, 24, 27, .055);
  --mu: #2E7D6F;
  --mu-deep: #0E1416;
  --yao: #E57A44;
  --yao-light: #F4A57A;
  --yao-soft: #FBE3D5;
  --term-bg: #0E1416;
  --term-bar: #172024;
  --term-ink: #D5E2DE;
  --term-dim: #6E8580;
  --term-green: #5FD3A8;
  --term-blue: #7CC4FA;
  --on-deep: #E8EEEC;
  --shadow: 0 1px 2px rgba(20, 24, 27, .05), 0 16px 40px -16px rgba(20, 24, 27, .22);

  --font-sans: "Inter", "Noto Sans TC", system-ui, -apple-system, "PingFang TC", "Microsoft JhengHei", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, "Noto Sans TC", monospace;

  --radius: 14px;
  --gutter: 24px;
  --max: 1160px;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0C1012;
    --paper-2: #11171A;
    --surface: #151C1F;
    --ink: #E6ECEA;
    --ink-soft: #95A19D;
    --line: #232E32;
    --grid: rgba(150, 200, 190, .06);
    --mu: #5CC8B0;
    --mu-deep: #080C0E;
    --yao: #F09A6A;
    --yao-light: #F6BE9C;
    --yao-soft: #3A2419;
    --term-bg: #080C0E;
    --term-bar: #10171A;
    --on-deep: #E6ECEA;
    --shadow: 0 1px 2px rgba(0, 0, 0, .4), 0 16px 40px -16px rgba(0, 0, 0, .7);
    color-scheme: dark;
  }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 3px; }
a:hover { color: var(--mu); }
:focus-visible { outline: 2px solid var(--yao); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { font-family: var(--font-sans); font-weight: 700; line-height: 1.25; letter-spacing: -.01em; margin: 0 0 .6em; }
h1 { font-size: clamp(2.4rem, 5.8vw, 4.2rem); line-height: 1.12; letter-spacing: -.02em; }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
code, .mono { font-family: var(--font-mono); }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: var(--paper); padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip-link:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand:hover { color: var(--ink); }
.brand .mark { width: 36px; height: 36px; flex: none; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-zh { font-weight: 700; font-size: 1.06rem; letter-spacing: .14em; }
.brand-en { font-family: var(--font-mono); font-size: .62rem; letter-spacing: .14em; color: var(--ink-soft); }

.mark-sun { fill: var(--yao); }
.mark-m { fill: none; stroke: var(--mu); stroke-width: 14; stroke-linecap: round; stroke-linejoin: round; }

.site-nav { display: flex; align-items: center; gap: 2px; }
.site-nav a {
  text-decoration: none; font-size: .94rem; padding: 7px 13px; border-radius: 8px;
  color: var(--ink-soft); transition: color .2s, background .2s;
}
.site-nav a:hover { color: var(--ink); background: var(--paper-2); }
.site-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; background: var(--paper-2); }
.site-nav .lang-switch {
  margin-left: 10px; border: 1px solid var(--line); font-family: var(--font-mono); font-size: .78rem; color: var(--ink);
}
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; padding: 0 11px; border: 1px solid var(--line); border-radius: 10px;
    background: transparent; cursor: pointer;
  }
  .nav-toggle span { display: block; height: 1.6px; background: var(--ink); border-radius: 2px; transition: transform .25s; }
  .nav-toggle[aria-expanded="true"] span:first-child { transform: translateY(3.8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:last-child { transform: translateY(-3.8px) rotate(-45deg); }
  .site-nav {
    position: absolute; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 2px;
    padding: 12px var(--gutter) 20px; background: var(--paper); border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 12px 14px; font-size: 1.02rem; }
  .site-nav .lang-switch { margin: 8px 0 0; text-align: center; }
}

/* ---------- Buttons & small parts ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none;
  padding: 12px 22px; border-radius: 10px; font-weight: 600; font-size: .96rem;
  border: 1px solid var(--ink); transition: transform .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary:hover { background: var(--mu); border-color: var(--mu); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn .arrow { font-family: var(--font-mono); transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .04em; color: var(--mu); font-weight: 500;
  margin-bottom: 16px;
}
.eyebrow::before { content: "//"; color: var(--yao); }
.lead { font-size: 1.1rem; color: var(--ink-soft); max-width: 36em; }
.muted { color: var(--ink-soft); }
.accent { color: var(--yao); }
.tag-mono { font-family: var(--font-mono); font-size: .78rem; color: var(--ink-soft); font-weight: 400; letter-spacing: 0; }

.cursor {
  display: inline-block; width: .5em; height: .9em; margin-left: .12em; vertical-align: -.04em;
  background: var(--yao); animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 112px) 0; }
.section-head { max-width: 660px; margin-bottom: 44px; }
.section-alt { background: var(--paper-2); }
.grid-bg {
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
}

/* ---------- Hero ---------- */
.hero { padding-top: clamp(40px, 7vw, 88px); position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
}
.hero::after {
  content: ""; position: absolute; width: 520px; aspect-ratio: 1; right: -120px; top: -80px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--yao) 28%, transparent), transparent 65%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.hero .lead { margin-bottom: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 28px; font-family: var(--font-mono); font-size: .8rem; color: var(--ink-soft); }
.hero-meta span::before { content: "▸ "; color: var(--mu); }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

/* ---------- Terminal ---------- */
.terminal {
  background: var(--term-bg); color: var(--term-ink); border-radius: 14px; overflow: hidden;
  font-family: var(--font-mono); font-size: .86rem; line-height: 1.75;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, .04) inset;
  border: 1px solid color-mix(in srgb, var(--term-bg) 70%, var(--line));
  min-width: 0;
}
.terminal-bar { display: flex; align-items: center; gap: 8px; padding: 12px 16px; background: var(--term-bar); }
.terminal-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3A474B; display: block; }
.terminal-bar i:nth-child(1) { background: #F0715F; }
.terminal-bar i:nth-child(2) { background: #F3BF4F; }
.terminal-bar i:nth-child(3) { background: #58C46A; }
.terminal-bar span { margin-left: 10px; font-size: .75rem; color: var(--term-dim); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.terminal-body { padding: 18px 20px 22px; min-height: 300px; overflow-x: auto; }
.terminal-body .ln { white-space: pre-wrap; word-break: break-word; }
.terminal-body .p { color: var(--term-green); }
.terminal-body .p b { color: var(--term-blue); font-weight: 400; }
.terminal-body .ok { color: var(--term-green); }
.terminal-body .dim { color: var(--term-dim); }
.terminal-body .hl { color: var(--yao-light); }
.terminal-body .caret { display: inline-block; width: .6em; height: 1.1em; vertical-align: -.2em; background: var(--term-green); animation: blink 1.1s steps(1) infinite; }
.js .terminal.typing .ln { display: none; }
.js .terminal.typing .ln.on { display: block; }
.terminal.compact .terminal-body { min-height: 0; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 960px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--mu) 45%, var(--line)); }
.card h3 { margin-bottom: .4em; }
.card p { color: var(--ink-soft); margin: 0; font-size: .95rem; }
.card .icon {
  width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; margin-bottom: 18px;
  background: color-mix(in srgb, var(--mu) 12%, transparent); color: var(--mu);
  border: 1px solid color-mix(in srgb, var(--mu) 22%, transparent);
}
.card:nth-child(3n+2) .icon { background: color-mix(in srgb, var(--yao) 14%, transparent); color: var(--yao); border-color: color-mix(in srgb, var(--yao) 25%, transparent); }
.card .icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.card .en { display: block; font-family: var(--font-mono); font-size: .74rem; color: var(--ink-soft); margin-bottom: 6px; }
.card .en::before { content: "> "; color: var(--mu); }
.card .idx { position: absolute; top: 22px; right: 22px; font-family: var(--font-mono); font-size: .74rem; color: color-mix(in srgb, var(--ink-soft) 70%, transparent); }
.card ul { list-style: none; padding: 14px 0 0; margin: 18px 0 0; border-top: 1px dashed var(--line); }
.card li { position: relative; padding-left: 20px; font-size: .92rem; color: var(--ink-soft); margin: 4px 0; }
.card li::before { content: "✓"; position: absolute; left: 0; top: 0; font-family: var(--font-mono); font-size: .82rem; color: var(--mu); }
a.card { text-decoration: none; color: inherit; display: block; }
.card.featured { border-color: color-mix(in srgb, var(--yao) 50%, var(--line)); }
.card .badge {
  display: inline-block; font-family: var(--font-mono); font-size: .68rem; padding: 2px 8px; border-radius: 6px;
  background: var(--yao); color: #fff; margin-left: 8px; vertical-align: 2px; letter-spacing: .04em;
}

/* ---------- Dark band ---------- */
.band { background: var(--mu-deep); color: var(--on-deep); position: relative; overflow: hidden; }
.band::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .6;
  background-image:
    linear-gradient(rgba(150, 220, 200, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(150, 220, 200, .06) 1px, transparent 1px);
  background-size: 44px 44px;
}
.band .container { position: relative; z-index: 1; }
.band .eyebrow { color: var(--term-green); }
.band blockquote { margin: 0; }
.band .quote { font-size: clamp(1.9rem, 4.6vw, 3.2rem); font-weight: 700; line-height: 1.3; letter-spacing: -.01em; margin-bottom: .6em; }
.band .quote .prompt { font-family: var(--font-mono); color: var(--term-green); font-weight: 400; margin-right: .3em; }
.band .sub { max-width: 34em; color: color-mix(in srgb, var(--on-deep) 75%, transparent); font-size: 1.05rem; }
.band .code-note { font-family: var(--font-mono); font-size: .82rem; color: var(--term-dim); margin-top: 24px; }

/* ---------- Cloud section ---------- */
.cloud-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .cloud-grid { grid-template-columns: 1fr; gap: 32px; } }
.spec-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.spec-list li { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.spec-list .k { font-family: var(--font-mono); font-size: .76rem; color: var(--mu); padding-top: 3px; min-width: 2.2em; }
.spec-list strong { display: block; margin-bottom: 2px; }
.spec-list span.d { color: var(--ink-soft); font-size: .93rem; }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; background: var(--surface); position: relative; }
.step .num { font-family: var(--font-mono); font-size: .8rem; color: var(--yao); display: block; margin-bottom: 14px; }
.step h3 { margin-bottom: .3em; }
.step p { color: var(--ink-soft); font-size: .94rem; margin: 0; }
.step:not(:last-child)::after {
  content: "→"; position: absolute; right: -14px; top: 50%; transform: translateY(-50%);
  font-family: var(--font-mono); color: var(--mu); background: var(--paper); padding: 2px 0; z-index: 1;
}
@media (max-width: 960px) { .step::after { display: none; } }

/* ---------- Page hero ---------- */
.page-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(32px, 5vw, 56px); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(var(--grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 60%);
  mask-image: linear-gradient(90deg, transparent, #000 60%);
}
.page-hero .container { position: relative; }
.page-hero h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
.path { font-family: var(--font-mono); font-size: .8rem; color: var(--ink-soft); margin-bottom: 14px; }
.path b { color: var(--mu); font-weight: 500; }

/* ---------- Facts table ---------- */
.facts { display: grid; grid-template-columns: 180px 1fr; margin: 0; border-top: 1px solid var(--line); }
.facts dt, .facts dd { padding: 15px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { color: var(--ink-soft); font-size: .9rem; font-family: var(--font-mono); }
.facts dd { font-weight: 500; overflow-wrap: anywhere; }
.facts dd .sub { display: block; font-weight: 400; color: var(--ink-soft); font-size: .9rem; }
@media (max-width: 560px) {
  .facts { grid-template-columns: 1fr; }
  .facts dt { border-bottom: 0; padding-bottom: 0; }
  .facts dd { padding-top: 4px; }
}

.split { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 28px; } }

.tags { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0; }
.tags li { padding: 5px 12px; border: 1px solid var(--line); border-radius: 8px; font-family: var(--font-mono); font-size: .82rem; background: var(--surface); }

/* ---------- Highlight ---------- */
.highlight {
  border-radius: var(--radius); padding: clamp(28px, 5vw, 48px);
  background: var(--term-bg); color: var(--on-deep);
  display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: center;
  position: relative; overflow: hidden;
}
.highlight::after {
  content: ""; position: absolute; width: 360px; aspect-ratio: 1; right: -100px; top: -160px; border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--yao) 45%, transparent), transparent 65%); pointer-events: none;
}
.highlight > * { position: relative; z-index: 1; }
.highlight .eyebrow { color: var(--term-green); }
.highlight h2 { margin-bottom: .3em; }
.highlight p { margin: 0; color: color-mix(in srgb, var(--on-deep) 72%, transparent); }
.highlight .btn-primary { background: var(--on-deep); color: var(--term-bg); border-color: var(--on-deep); }
.highlight .btn-primary:hover { background: var(--term-green); border-color: var(--term-green); color: var(--term-bg); }
@media (max-width: 720px) { .highlight { grid-template-columns: 1fr; } }

/* ---------- Contact ---------- */
.contact-list { display: grid; gap: 18px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-item .icon {
  flex: none; width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center;
  background: color-mix(in srgb, var(--mu) 12%, transparent); color: var(--mu); border: 1px solid color-mix(in srgb, var(--mu) 22%, transparent);
}
.contact-item .icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.contact-item .label { font-family: var(--font-mono); font-size: .76rem; color: var(--ink-soft); display: block; }
.contact-item .value { font-size: 1.06rem; font-weight: 600; overflow-wrap: anywhere; }
.contact-item .value a { text-decoration: none; }
.contact-item .value a:hover { text-decoration: underline; }
.note { font-size: .9rem; color: var(--ink-soft); margin-top: 6px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li { padding: 11px 0 11px 28px; border-bottom: 1px dashed var(--line); position: relative; }
.checklist li::before { content: "[ ]"; position: absolute; left: 0; font-family: var(--font-mono); font-size: .8rem; top: 13px; color: var(--mu); }

/* ---------- Legal ---------- */
.legal { max-width: 760px; }
.legal h2 { font-size: 1.3rem; margin-top: 2.2em; }
.legal ul { padding-left: 1.3em; }
.legal li { margin: .3em 0; }
.legal .updated { color: var(--ink-soft); font-size: .9rem; font-family: var(--font-mono); }

/* ---------- CTA ---------- */
.cta { text-align: center; }
.cta h2 { margin-bottom: .4em; }
.cta p { margin: 0 auto 28px; max-width: 32em; }
.cta .btn-row { justify-content: center; }
.cta code { display: inline-block; margin-bottom: 18px; font-size: .82rem; color: var(--ink-soft); padding: 6px 12px; border: 1px dashed var(--line); border-radius: 8px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .9rem; color: var(--ink-soft); }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr 1.6fr; gap: 40px; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-grid > :first-child { grid-column: 1 / -1; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.site-footer h4 { font-family: var(--font-mono); font-size: .76rem; color: var(--ink); margin: 0 0 14px; font-weight: 500; }
.site-footer h4::before { content: "// "; color: var(--yao); }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-brand p { margin-top: 14px; max-width: 22em; }
.footer-info li { overflow-wrap: anywhere; }
.footer-info .k { color: var(--ink); }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .82rem;
}
.footer-bottom nav { display: flex; gap: 18px; }
.status { font-family: var(--font-mono); }
.status::before { content: ""; display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #3FBF7F; margin-right: 8px; vertical-align: 1px; box-shadow: 0 0 0 3px color-mix(in srgb, #3FBF7F 25%, transparent); }

/* ---------- 404 ---------- */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.notfound .big { font-family: var(--font-mono); font-size: clamp(4rem, 16vw, 8rem); color: var(--yao); line-height: 1; margin-bottom: 10px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .cursor, .terminal-body .caret { animation: none; }
}
