.z-progress { position: fixed; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, var(--blue), var(--red-hot)); transform: scaleX(0); transform-origin: left; z-index: 120; pointer-events: none; }

.z-nav { position: fixed; top: 16px; left: 50%; z-index: 100; display: flex; align-items: center; gap: 4px; background: rgba(2, 4, 12, 0.88); backdrop-filter: blur(12px); border: 1px solid var(--line); border-radius: 14px; padding: 8px 8px 8px 18px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(225, 29, 46, 0.15); transform: translate(-50%, -190%); transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); max-width: calc(100vw - 24px); }
.z-nav.show { transform: translate(-50%, 0); }
.z-nav-logo { height: 26px; width: auto; display: block; margin-right: 12px; }
.z-link { color: var(--text-soft); text-decoration: none; font-size: 14px; font-weight: 500; padding: 9px 12px; border-radius: 8px; white-space: nowrap; transition: background 0.15s ease, color 0.15s ease; }
.z-link:hover, .z-link.active { color: #ffffff; background: var(--surface-2); }
.z-nav-btn { margin-left: 6px; background: var(--red); color: #ffffff; border-radius: 10px; padding: 11px 16px; font-size: 14px; font-weight: 700; text-decoration: none; white-space: nowrap; line-height: 1; box-shadow: 0 0 20px rgba(225, 29, 46, 0.4); }

.z-site { display: flex; flex-direction: column; gap: var(--gap); margin-top: var(--gap); width: 100%; }
.z-sec { position: relative; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: clamp(32px, 5vw, 80px) clamp(20px, 4vw, 56px); scroll-margin-top: 84px; }
.z-sec::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(var(--dot) 1.2px, transparent 1.4px); background-size: 26px 26px; background-position: 13px 13px; pointer-events: none; z-index: 0; }
.z-sec > * { position: relative; z-index: 1; }
.z-sec--soft { background: var(--surface-2); }
.z-sec--dark { background: var(--ink); border-color: #3a0f17; }
.z-sec--dark::before { background-image: radial-gradient(rgba(225, 29, 46, 0.16) 1.2px, transparent 1.4px); }

.z-head { max-width: 820px; margin-bottom: clamp(28px, 4vw, 56px); }
.z-kicker { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 16px; font-family: var(--font-geist-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--red-hot); }
.z-kicker::before { content: ""; width: 22px; height: 2px; background: var(--red); }
.z-h2 { font-size: clamp(30px, 4.4vw, 60px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.05; color: #ffffff; }
.z-h2 em { font-style: normal; color: var(--blue-soft); }
.z-lead { margin-top: 18px; max-width: 62ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.55; color: var(--text-soft); }

.z-btn { display: inline-flex; align-items: center; justify-content: center; background: var(--red); color: #ffffff; border: 1px solid var(--red); border-radius: 10px; padding: 15px 26px; font-family: var(--font-geist); font-size: 16px; font-weight: 700; line-height: 1; text-decoration: none; white-space: nowrap; box-shadow: 0 0 28px rgba(225, 29, 46, 0.4); transition: transform 0.15s ease, box-shadow 0.15s ease; }
.z-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 34px rgba(225, 29, 46, 0.55); }
.z-btn--ghost { background: transparent; border-color: var(--blue); color: #ffffff; box-shadow: none; }
.z-btn--ghost:hover { background: rgba(91, 140, 255, 0.14); box-shadow: none; }

.z-grid { display: grid; gap: var(--gap); }
.z-grid-2 { grid-template-columns: repeat(2, 1fr); }
.z-grid-3 { grid-template-columns: repeat(3, 1fr); }
.z-grid-4 { grid-template-columns: repeat(4, 1fr); }

.z-card { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 12px; transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }
.z-card h3 { font-size: 22px; letter-spacing: -0.02em; line-height: 1.15; color: #ffffff; }
.z-card p { color: var(--text-soft); line-height: 1.55; font-size: 16px; }
.z-card code, .z-faq code { font-family: var(--font-geist-mono); font-size: 0.88em; background: var(--ink); border: 1px solid var(--line); border-radius: 5px; padding: 1px 6px; color: var(--blue-soft); }
.z-card--accent { background: var(--ink); border-color: var(--red); }
.z-card:hover, .js .z-card.shown:hover { transform: translateY(-3px); border-color: var(--red); box-shadow: 0 12px 40px rgba(225, 29, 46, 0.18); }
.z-big { font-family: var(--font-geist-mono); font-size: clamp(36px, 4vw, 56px); font-weight: 700; letter-spacing: -0.05em; line-height: 1; color: var(--red-hot); }
.z-tag { font-family: var(--font-geist-mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-hot); }

.z-st { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 6px; font-family: var(--font-geist-mono); font-weight: 700; font-size: 13px; }
.z-st--m { background: rgba(91, 140, 255, 0.18); color: var(--blue-soft); }
.z-st--a { background: rgba(94, 224, 138, 0.16); color: var(--term-add); }
.z-st--r { background: rgba(255, 190, 80, 0.16); color: #ffc361; }
.z-st--d { background: rgba(255, 107, 120, 0.16); color: var(--term-del); }

.z-ticks { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 24px; color: var(--text-main); font-size: 17px; line-height: 1.4; }
.z-ticks li::before { content: "✓  "; color: var(--term-add); font-weight: 700; }

.z-table-wrap { margin-top: clamp(24px, 3vw, 40px); overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--ink); }
.z-table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: 15px; line-height: 1.45; }
.z-table th, .z-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--line); }
.z-table tr:last-child td { border-bottom: 0; }
.z-table th { font-family: var(--font-geist-mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); font-weight: 600; }
.z-table td { color: var(--text-soft); }
.z-table td:first-child { color: #ffffff; font-weight: 700; }
.z-table th:last-child, .z-table td:last-child { background: rgba(225, 29, 46, 0.09); color: #ffffff; }
.z-table th:last-child { color: var(--red-hot); }

.z-tabs { display: flex; flex-wrap: wrap; gap: 8px; border-bottom: 1px solid var(--line); }
.z-tab { appearance: none; flex: 1 1 140px; text-align: left; border: 1px solid var(--line); border-bottom: 0; border-radius: 12px 12px 0 0; padding: 16px 14px; background: var(--surface); color: var(--text-soft); font-family: var(--font-geist); font-size: clamp(15px, 1.6vw, 20px); font-weight: 700; letter-spacing: -0.01em; cursor: pointer; transition: color 0.15s ease, background 0.15s ease; }
.z-tab small { display: block; margin-bottom: 4px; font-family: var(--font-geist-mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }
.z-tab:hover { color: #ffffff; }
.z-tab[aria-selected="true"] { background: var(--ink); color: #ffffff; border-color: var(--red); box-shadow: inset 0 3px 0 var(--red); }
.z-panels { padding-top: clamp(28px, 4vw, 56px); }
.z-panel { display: grid; grid-template-columns: 0.9fr 1.3fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.js .z-panel { display: none; }
.js .z-panel.on { display: grid; animation: z-pop 0.4s cubic-bezier(0.2, 0.8, 0.2, 1); }
@keyframes z-pop { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.z-copy { font-size: clamp(18px, 1.7vw, 22px); line-height: 1.45; color: #ffffff; }
.z-copy p + p, .z-copy ul + p { margin-top: 24px; }
.z-copy ul { list-style: none; margin-top: 22px; display: flex; flex-direction: column; gap: 10px; }
.z-copy li { display: flex; gap: 12px; align-items: baseline; font-weight: 600; }
.z-copy li::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 2px; background: var(--red); transform: translateY(-2px); }
.z-copy .quiet { color: var(--text-soft); font-weight: 400; }

.z-split { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }

.z-terminal { background: var(--ink); color: #e6edf3; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 0 0 1px rgba(225, 29, 46, 0.12), 0 24px 60px rgba(0, 0, 0, 0.5); overflow: hidden; font-family: var(--font-geist-mono); font-size: 13.5px; line-height: 1.75; min-width: 0; }
.z-bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid #141c3d; color: var(--term-dim); font-size: 12px; }
.z-bar i { width: 10px; height: 10px; border-radius: 50%; background: #2a3566; }
.z-bar i:first-child { background: var(--red); }
.z-bar span { margin-left: 8px; }
.z-body { padding: 18px 20px 22px; overflow-x: auto; }
.t-line { white-space: pre; }
.js .z-terminal .t-line { opacity: 0; transform: translateY(6px); }
.js .z-terminal.in .t-line { animation: z-line 0.35s ease forwards; animation-delay: calc(var(--i, 0) * 0.28s); }
@keyframes z-line { to { opacity: 1; transform: none; } }
.t-add { color: var(--term-add); }
.t-del { color: var(--term-del); }
.t-dim { color: var(--term-dim); }
.t-hl { color: #ffffff; font-weight: 700; }
.z-caret { display: inline-block; width: 8px; height: 1.05em; background: #e6edf3; vertical-align: text-bottom; animation: z-blink 1s steps(1) infinite; }
@keyframes z-blink { 50% { opacity: 0; } }

.z-cmds { display: flex; flex-direction: column; border: 1px solid var(--red); border-radius: var(--radius); overflow: hidden; }
.z-cmd { display: grid; grid-template-columns: minmax(180px, 340px) 1fr auto; align-items: center; gap: 16px; padding: 16px 20px; border-bottom: 1px solid #141c3d; transition: background 0.15s ease; }
.z-cmd:last-child { border-bottom: 0; }
.z-cmd:hover { background: #0a1128; }
.z-cmd code { font-family: var(--font-geist-mono); font-size: 15px; color: var(--term-add); overflow-wrap: anywhere; }
.z-cmd span { color: var(--text-soft); line-height: 1.4; }
.z-copybtn { background: transparent; color: #ffffff; border: 1px solid var(--line); border-radius: 8px; padding: 7px 12px; font-family: var(--font-geist-mono); font-size: 12px; cursor: pointer; min-width: 64px; transition: background 0.15s ease, color 0.15s ease; }
.z-copybtn:hover, .z-copybtn[data-state="done"] { background: var(--red); border-color: var(--red); color: #ffffff; }
.z-hint { margin-top: 16px; font-size: 14px; color: var(--text-muted); }
.z-hint kbd { font-family: var(--font-geist-mono); border: 1px solid var(--line); border-radius: 5px; padding: 1px 7px; color: #ffffff; }

.z-faq { display: flex; flex-direction: column; border-top: 1px solid var(--red); max-width: 980px; }
.z-faq details { border-bottom: 1px solid var(--line); }
.z-faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 4px; font-size: clamp(18px, 2vw, 24px); font-weight: 700; letter-spacing: -0.02em; color: #ffffff; transition: padding 0.2s ease; }
.z-faq summary:hover { padding-left: 12px; }
.z-faq summary::-webkit-details-marker { display: none; }
.z-faq summary::after { content: "+"; font-family: var(--font-geist-mono); font-size: 28px; line-height: 1; color: var(--red-hot); transition: transform 0.2s ease; }
.z-faq details[open] summary::after { transform: rotate(45deg); }
.z-faq details p { padding: 0 4px 26px; max-width: 70ch; line-height: 1.6; font-size: 17px; color: var(--text-soft); }

.z-cta { text-align: center; display: flex; flex-direction: column; align-items: center; padding-top: clamp(64px, 9vw, 130px); padding-bottom: clamp(64px, 9vw, 130px); }
.z-cta .z-h2 { font-size: clamp(34px, 6vw, 88px); }
.z-cta .z-lead { margin-left: auto; margin-right: auto; }
.z-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 32px; }
.z-flow { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; margin-top: 38px; font-family: var(--font-geist-mono); font-size: 14px; color: var(--text-muted); }
.z-flow span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; color: #ffffff; }

.z-footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 8px 40px; font-size: 14px; color: var(--text-muted); }
.z-footer img { height: 26px; width: auto; background: var(--ink); border-radius: 8px; padding: 6px 10px; display: block; }
.z-footer nav { display: flex; flex-wrap: wrap; gap: 20px; }
.z-footer a { text-decoration: none; }
.z-footer a:hover { color: #ffffff; }
:root { --font-geist: "Geist Sans", "Geist", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; --font-geist-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; --ink: #02040c; --surface: #08112b; --surface-2: #0c1838; --line: #1a2a5c; --red: #e11d2e; --red-hot: #ff3b4e; --blue: #5b8cff; --blue-soft: #9db8ff; --accent: #e11d2e; --bg-canvas: #050a1c; --text-main: #e9eefc; --text-soft: #a7b3d4; --text-muted: #7684ab; --border-card: #1a2a5c; --badge-bg: #02040c; --btn-border: #1a2a5c; --border-w: 1px; --radius: 12px; --gap: 16px; --dot: rgba(120, 150, 255, 0.1); --term-add: #5ee08a; --term-del: #ff6b78; --term-dim: #7c89b0; }
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { background-color: #050a1c; color: var(--text-main); font-family: var(--font-geist); min-height: 100dvh; padding: 16px; display: flex; flex-direction: column; -webkit-font-smoothing: antialiased; }
hero-card { display: flex; width: 100%; }
a { color: inherit; }
::selection { background: #e11d2e; color: #ffffff; }
.z-kicker { display: flex; width: fit-content; }
.z-st { align-self: flex-start; flex: none; }

.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease var(--d, 0ms), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) var(--d, 0ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal.shown { transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease; }

@media (max-width: 1000px) {
  .z-split, .z-panel { grid-template-columns: 1fr; }
  .z-grid-3, .z-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .z-cmd { grid-template-columns: 1fr auto; }
  .z-cmd span { grid-column: 1 / -1; order: 3; }
}

@media (max-width: 680px) {
  .z-grid-2, .z-grid-3, .z-grid-4 { grid-template-columns: 1fr; }
  .z-sec { padding: 30px 18px; }
  .z-nav { top: 10px; padding: 6px 6px 6px 14px; }
  .z-link { display: none; }
  .z-btn { width: 100%; }
  .z-terminal { font-size: 12px; }
  .z-tab { flex: 1 1 45%; }
  .z-footer { justify-content: center; text-align: center; }
}