:root {
  --bg: #07111f;
  --bg-deep: #050c17;
  --surface: #0b192b;
  --surface-2: #10243a;
  --line: rgba(139, 185, 232, 0.18);
  --line-bright: rgba(64, 179, 255, 0.58);
  --text: #f5f8fc;
  --muted: #9dafc4;
  --muted-2: #71849b;
  --cyan: #36d1dc;
  --blue: #2474e8;
  --purple: #a9a8f1;
  --container: 1180px;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; line-height: 1.6; }
body::selection { background: rgba(54, 209, 220, .35); color: #fff; }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
.site-noise { position: fixed; inset: 0; pointer-events: none; opacity: .035; z-index: 10; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }
.container { width: min(var(--container), calc(100% - 64px)); margin: 0 auto; }
.section-rule { border-top: 1px solid var(--line); }

.site-header { position: sticky; top: 0; z-index: 20; background: rgba(5, 12, 23, .88); border-bottom: 1px solid var(--line); backdrop-filter: blur(18px); }
.header-inner { height: 76px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 22px; font-weight: 760; letter-spacing: -.04em; }
.brand img { display: block; border-radius: 9px; }
.desktop-nav { display: flex; gap: 40px; margin-left: 80px; color: var(--muted); font-size: 14px; }
.desktop-nav a, .footer-links a { transition: color .2s ease; }
.desktop-nav a:hover, .footer-links a:hover { color: var(--text); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 0 20px; border-radius: 7px; border: 1px solid transparent; font-size: 14px; font-weight: 680; transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease; }
.button:hover { transform: translateY(-2px); }
.button svg { width: 19px; height: 19px; fill: currentColor; stroke: currentColor; stroke-width: 1.2; }
.button-quiet { min-height: 38px; padding: 0 15px; border-color: rgba(205, 227, 249, .45); }
.button-quiet:hover { border-color: var(--cyan); color: var(--cyan); }
.language-toggle { min-width: 42px; min-height: 38px; padding: 0 10px; border: 1px solid rgba(205, 227, 249, .45); border-radius: 7px; background: transparent; color: var(--muted); font-size: 12px; font-weight: 760; letter-spacing: .04em; cursor: pointer; transition: color .2s ease, border-color .2s ease, background .2s ease; }
.language-toggle:hover { border-color: var(--cyan); color: var(--cyan); background: rgba(54, 209, 220, .06); }
.button-primary { background: linear-gradient(135deg, #2594f5, #176ae0); box-shadow: 0 12px 30px rgba(21, 115, 229, .25); }
.button-primary:hover { box-shadow: 0 16px 38px rgba(21, 115, 229, .38); }
.button-outline { border-color: var(--line-bright); color: #d9eeff; }
.button-outline:hover { border-color: var(--cyan); background: rgba(54, 209, 220, .08); }
.menu-toggle { display: none; border: 0; background: transparent; padding: 8px 0 8px 8px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; margin: 4px 0; border-radius: 2px; background: var(--text); }
.mobile-nav { display: none; }

.hero { min-height: 650px; display: grid; grid-template-columns: .95fr 1.05fr; align-items: center; gap: 30px; padding-top: 52px; padding-bottom: 64px; overflow: hidden; }
.hero-copy { position: relative; z-index: 1; }
.eyebrow, .section-index { margin: 0 0 22px; color: var(--cyan); font-size: 11px; font-weight: 800; letter-spacing: .18em; }
.hero h1 { max-width: 610px; margin: 0; font-size: clamp(54px, 7vw, 96px); line-height: .99; letter-spacing: -.078em; font-weight: 820; }
.hero h1 span, h2 span { color: #84e5ec; }
.hero h1 .hero-heading-main, h2 .heading-main { color: var(--text); }
.hero-lede { max-width: 530px; margin: 32px 0 0; color: var(--muted); font-size: 17px; line-height: 1.9; }
.hero-actions { display: flex; gap: 14px; margin-top: 34px; }
.hero-note { display: flex; align-items: center; gap: 9px; margin: 27px 0 0; color: var(--muted-2); font-size: 13px; }
.status-dot { width: 8px; height: 8px; display: inline-block; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 5px rgba(54, 209, 220, .1), 0 0 18px rgba(54, 209, 220, .65); }
.hero-art { position: relative; height: 500px; min-width: 0; }
.hero-grid { position: absolute; inset: 25px 0 30px 12px; opacity: .52; background-image: linear-gradient(rgba(45, 129, 203, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(45, 129, 203, .13) 1px, transparent 1px); background-size: 36px 36px; mask-image: radial-gradient(ellipse at 50% 50%, black 25%, transparent 75%); }
.folder-shadow { position: absolute; width: 360px; height: 68px; right: 60px; bottom: 86px; background: rgba(0, 0, 0, .48); filter: blur(24px); transform: rotate(-9deg); }
.folder-back { position: absolute; width: 356px; height: 252px; right: 74px; top: 108px; border: 1px solid #258df2; border-radius: 20px 20px 28px 28px; background: linear-gradient(150deg, #1682ed, #125bbd); box-shadow: inset 0 1px rgba(255,255,255,.22), 0 30px 60px rgba(8, 85, 188, .22); transform: skewY(1deg); }
.folder-back::before { content: ""; position: absolute; left: 0; top: -32px; width: 152px; height: 48px; border-radius: 18px 18px 0 0; background: #1f9bf0; border: 1px solid #3eb4ff; border-bottom: 0; }
.folder-back span { display: block; width: 178px; height: 2px; margin: 54px auto 0; opacity: .6; background: #9cdbff; }
.folder-back span + span { margin-top: 20px; width: 128px; opacity: .4; }
.folder-back span + span + span { margin-top: 20px; width: 158px; opacity: .3; }
.folder-front { position: absolute; width: 320px; height: 214px; right: 93px; top: 175px; display: grid; place-items: center; border-radius: 18px 18px 26px 26px; border: 1px solid #73c8ff; background: linear-gradient(145deg, #32adfa, #1165d4 70%); box-shadow: inset 0 1px rgba(255,255,255,.28), 0 26px 45px rgba(4, 48, 117, .34); transform: skewY(1deg); }
.folder-front::before { content: ""; position: absolute; left: -1px; top: -25px; width: 128px; height: 41px; border-radius: 15px 15px 0 0; background: #35aaf6; border: 1px solid #73c8ff; border-bottom: 0; }
.folder-z { width: 95px; height: 95px; display: grid; place-items: center; color: #0e55b7; font-size: 74px; font-weight: 900; line-height: 1; border-radius: 19px; background: linear-gradient(145deg, #eaf7ff, #b8dbfc); text-shadow: 2px 3px 0 rgba(66, 140, 220, .25); box-shadow: 0 10px 18px rgba(1, 36, 100, .25); }
.hero-file { position: absolute; width: 130px; height: 167px; right: 410px; top: 64px; border: 1px solid #36b9f4; background: linear-gradient(145deg, rgba(19, 54, 92, .8), rgba(5, 16, 31, .4)); clip-path: polygon(0 0, 70% 0, 100% 22%, 100% 100%, 0 100%); transform: rotate(1deg); }
.hero-file::after { content: ""; position: absolute; right: -1px; top: -1px; width: 40px; height: 40px; border-left: 1px solid #36b9f4; border-bottom: 1px solid #36b9f4; background: var(--bg); }
.hero-file span { display: block; width: 72px; height: 2px; margin: 54px 0 0 25px; background: #2f8ed9; }
.hero-file span + span { margin-top: 13px; width: 52px; opacity: .7; }
.hero-file span + span + span { margin-top: 13px; width: 67px; opacity: .5; }
.hero-file span + span + span + span { margin-top: 13px; width: 46px; opacity: .4; }
.hero-line { position: absolute; height: 1px; background: linear-gradient(90deg, #1f75cc, transparent); transform-origin: left center; }
.hero-line-one { width: 190px; right: 5px; top: 326px; transform: rotate(24deg); }
.hero-line-two { width: 125px; right: 22px; top: 387px; transform: rotate(-31deg); }

.preview-section, .safety-section, .formats-section, .roadmap-section { padding: 105px 0 112px; }
.section-heading { margin-bottom: 52px; }
.section-heading h2 { margin: 0; font-size: clamp(42px, 5.4vw, 70px); line-height: 1.03; letter-spacing: -.065em; }
.split-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; }
.split-heading > p { max-width: 410px; margin: 0 0 3px; color: var(--muted); font-size: 16px; line-height: 1.9; }

.app-window { overflow: hidden; border: 1px solid rgba(115, 194, 243, .42); border-radius: 11px; background: #101c2b; box-shadow: 0 28px 80px rgba(0, 0, 0, .34), 0 0 0 7px rgba(53, 116, 177, .04); }
.window-titlebar { height: 47px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 16px; border-bottom: 1px solid rgba(154, 199, 229, .16); background: #162537; color: #d8e5f1; font-size: 12px; }
.window-brand, .window-tab, .window-controls { display: flex; align-items: center; }
.window-brand { gap: 6px; font-weight: 700; }
.window-brand img { width: 17px; height: 17px; border-radius: 4px; }
.window-tab { height: 32px; gap: 8px; min-width: 170px; padding: 0 11px; border: 1px solid rgba(163, 203, 230, .22); border-radius: 5px 5px 0 0; background: #1f3448; }
.window-tab button { margin-left: auto; border: 0; background: none; color: var(--muted); cursor: pointer; }
.tab-dot { width: 7px; height: 7px; border-radius: 2px; background: var(--cyan); }
.window-controls { justify-content: end; gap: 18px; color: #879caf; font-size: 15px; }
.window-toolbar { height: 56px; display: flex; align-items: center; gap: 7px; padding: 0 15px; border-bottom: 1px solid rgba(154, 199, 229, .12); background: #132235; }
.window-toolbar button { border: 0; background: transparent; padding: 8px 9px; color: #dce8f3; font-size: 12px; cursor: pointer; border-radius: 5px; }
.window-toolbar button:hover { background: rgba(56, 162, 231, .14); color: #7ce8ee; }
.tool-icon { margin-right: 5px; color: #6ed8f5; font-size: 15px; }
.toolbar-spacer { flex: 1; }
.search-field { display: flex; align-items: center; gap: 5px; width: 170px; height: 31px; padding: 0 8px; border: 1px solid rgba(143, 183, 214, .32); border-radius: 5px; color: var(--muted); }
.search-field input { width: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font-size: 11px; }
.search-field input::placeholder { color: #8195aa; }
.window-breadcrumb { display: flex; align-items: center; gap: 14px; height: 45px; padding: 0 19px; color: #9db1c7; font-size: 11px; border-bottom: 1px solid rgba(154, 199, 229, .1); }
.window-breadcrumb b { color: #4f7394; }
.window-content { min-height: 280px; padding: 4px 0 12px; }
.file-row { display: grid; grid-template-columns: 2.3fr 1fr 1.15fr 1.2fr 1.35fr; align-items: center; min-height: 37px; padding: 0 20px; color: #c0cfde; font-size: 11px; }
.file-row > span:not(:first-child) { color: #90a6ba; }
.file-header { min-height: 34px; color: #7d95aa; border-bottom: 1px solid rgba(154, 199, 229, .1); font-size: 10px; }
.file-row:not(.file-header):hover { background: rgba(55, 167, 237, .08); }
.file-row > span:first-child { display: flex; align-items: center; gap: 8px; }
.file-icon { display: inline-block; position: relative; width: 13px; height: 15px; border: 1px solid currentColor; border-radius: 2px; color: #79c9ef; }
.folder-icon { width: 15px; height: 11px; border-radius: 2px; background: rgba(76, 185, 237, .18); }
.folder-icon::before { content: ""; position: absolute; left: 1px; top: -4px; width: 7px; height: 4px; border: 1px solid currentColor; border-bottom: 0; border-radius: 2px 2px 0 0; background: rgba(76, 185, 237, .18); }
.rust-icon { color: #f0a263; }
.doc-icon { color: #94a9fa; }
.json-icon { color: #6fd4ca; }
.window-status { display: flex; gap: 27px; align-items: center; min-height: 39px; padding: 0 20px; border-top: 1px solid rgba(154, 199, 229, .14); color: #7f95aa; font-size: 10px; }
.window-status b { color: #bfeafe; }
.status-message { margin-left: auto; color: #54d3c0; }
.preview-controls { display: flex; align-items: center; justify-content: center; gap: 9px; margin-top: 25px; color: var(--muted-2); font-size: 12px; }
.format-switch { border: 1px solid var(--line); border-radius: 5px; padding: 6px 15px; background: transparent; color: var(--muted); cursor: pointer; }
.format-switch:hover, .format-switch.is-active { border-color: var(--cyan); color: var(--cyan); background: rgba(54, 209, 220, .07); }

.principles-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.principle { min-height: 245px; padding: 32px 28px 34px 0; border-right: 1px solid var(--line); }
.principle + .principle { padding-left: 27px; }
.principle:last-child { border-right: 0; }
.principle-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 25px; border: 1px solid rgba(50, 185, 243, .5); border-radius: 9px; color: #54d9ed; background: rgba(40, 152, 231, .09); }
.principle-icon svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.5; }
.principle h3 { margin: 0; font-size: 18px; letter-spacing: -.03em; }
.principle p { max-width: 210px; margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.formats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.format-card { display: grid; grid-template-columns: 92px 1fr; align-items: center; min-height: 190px; padding: 25px; border: 1px solid rgba(64, 178, 255, .38); border-radius: 9px; background: linear-gradient(140deg, rgba(21, 107, 192, .23), rgba(9, 29, 53, .64)); }
.format-blue { border-color: rgba(48, 150, 245, .55); }
.format-cyan { border-color: rgba(54, 209, 220, .46); background: linear-gradient(140deg, rgba(15, 134, 153, .2), rgba(9, 29, 53, .64)); }
.format-purple { border-color: rgba(151, 149, 242, .48); background: linear-gradient(140deg, rgba(83, 77, 152, .2), rgba(9, 29, 53, .64)); }
.format-mark { width: 70px; height: 86px; display: grid; place-items: center; border: 2px solid currentColor; border-radius: 7px; color: #68cfff; font-size: 15px; font-weight: 790; letter-spacing: -.06em; clip-path: polygon(0 0, 70% 0, 100% 23%, 100% 100%, 0 100%); }
.format-cyan .format-mark { color: #5ce1ea; }
.format-purple .format-mark { color: #b3b2ff; }
.format-card h3 { margin: 0; font-size: 21px; }
.format-card ul { margin: 10px 0 0; padding-left: 16px; color: var(--muted); font-size: 12px; line-height: 1.9; }
.format-note { display: flex; align-items: center; gap: 13px; margin-top: 19px; padding: 15px 20px; border: 1px solid var(--line); border-radius: 8px; color: var(--muted-2); }
.format-note > span { color: #6bcef3; font-size: 22px; }
.format-note p { margin: 0; font-size: 12px; }

.roadmap-track { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; }
.roadmap-track::before { content: ""; position: absolute; z-index: 0; left: 30px; right: 30px; top: 29px; border-top: 1px dashed rgba(68, 174, 241, .52); }
.stage { position: relative; z-index: 1; min-height: 250px; padding: 25px 25px 22px; border: 1px solid rgba(163, 192, 216, .25); border-radius: 8px; background: linear-gradient(150deg, rgba(24, 39, 55, .78), rgba(7, 17, 31, .9)); }
.stage::before { content: ""; position: absolute; left: 25px; top: 21px; width: 13px; height: 13px; border: 2px solid #2d94ee; border-radius: 50%; background: var(--bg); }
.stage-current { border-color: #2999ed; background: linear-gradient(150deg, rgba(17, 79, 126, .35), rgba(7, 17, 31, .9)); box-shadow: 0 12px 34px rgba(16, 113, 198, .14); }
.stage-current::after { content: ""; position: absolute; left: 40px; top: 27px; width: 5px; height: 5px; border-radius: 50%; background: #5fe1e9; }
.stage-head { display: flex; flex-direction: column; min-height: 58px; padding-left: 34px; }
.stage-head span { color: #59c8ee; font-size: 12px; }
.stage-head strong { margin-top: 1px; font-size: 20px; letter-spacing: -.03em; }
.stage:not(.stage-current) .stage-head span { color: var(--muted); }
.stage ul { margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); list-style: none; color: var(--muted); font-size: 12px; line-height: 2; }
.stage li::before { content: "○"; margin-right: 8px; color: #608198; }
.stage-current li::before { content: "✓"; color: #59dce7; }
.roadmap-footer { display: flex; align-items: center; gap: 12px; margin-top: 24px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.roadmap-footer p { margin: 0; }
.roadmap-footer strong { color: #60dfe9; }
.roadmap-footer a { margin-left: auto; color: #73d7eb; }
.roadmap-footer a span { display: inline-block; margin-left: 6px; transition: transform .2s ease; }
.roadmap-footer a:hover span { transform: translate(2px, -2px); }

.site-footer { padding: 27px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; color: var(--muted-2); font-size: 12px; }
.footer-inner .brand { color: var(--text); font-size: 17px; }
.footer-inner p { margin: 0; }
.footer-links { display: flex; gap: 22px; }

@media (max-width: 900px) {
  .container { width: min(var(--container), calc(100% - 40px)); }
  .desktop-nav { gap: 24px; margin-left: 30px; }
  .hero { grid-template-columns: 1fr; min-height: auto; padding-top: 85px; }
  .hero-copy { max-width: 690px; }
  .hero-art { height: 420px; margin-top: -10px; }
  .folder-back { right: 18%; }
  .folder-front { right: 21%; }
  .hero-file { right: 60%; }
  .principles-grid { grid-template-columns: repeat(2, 1fr); }
  .principle:nth-child(2) { border-right: 0; }
  .principle:nth-child(n+3) { border-top: 1px solid var(--line); }
  .principle:nth-child(3) { padding-left: 0; }
  .formats-grid, .roadmap-track { grid-template-columns: 1fr; }
  .roadmap-track::before { display: none; }
  .stage { min-height: auto; }
}

@media (max-width: 620px) {
  .container { width: min(var(--container), calc(100% - 32px)); }
  .header-inner { height: 68px; }
  .desktop-nav, .header-actions .button-quiet { display: none; }
  .menu-toggle { display: block; }
  .mobile-nav { display: none; flex-direction: column; gap: 0; padding: 4px 16px 15px; border-top: 1px solid var(--line); background: rgba(5, 12, 23, .97); }
  .mobile-nav.is-open { display: flex; }
  .mobile-nav a { padding: 11px 0; color: var(--muted); font-size: 14px; }
  .hero { padding-top: 64px; padding-bottom: 44px; }
  .eyebrow { font-size: 10px; }
  .hero h1 { font-size: clamp(48px, 15vw, 73px); }
  .hero-lede { margin-top: 24px; font-size: 15px; line-height: 1.8; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .hero-art { height: 300px; margin-top: 16px; transform: scale(.76); transform-origin: center top; }
  .folder-back { right: 5%; top: 60px; }
  .folder-front { right: 10%; top: 127px; }
  .hero-file { right: 62%; top: 30px; }
  .preview-section, .safety-section, .formats-section, .roadmap-section { padding: 76px 0 78px; }
  .split-heading { display: block; }
  .split-heading > p { margin-top: 24px; font-size: 14px; }
  .section-heading { margin-bottom: 33px; }
  .section-heading h2 { font-size: 49px; }
  .app-window { overflow-x: auto; }
  .window-titlebar, .window-toolbar, .window-breadcrumb, .window-content, .window-status { min-width: 720px; }
  .preview-controls { flex-wrap: wrap; }
  .principles-grid { grid-template-columns: 1fr; }
  .principle, .principle + .principle, .principle:nth-child(3) { min-height: auto; padding: 28px 0; border-right: 0; }
  .principle:nth-child(2) { border-top: 1px solid var(--line); }
  .principle p { max-width: 100%; }
  .format-card { grid-template-columns: 74px 1fr; padding: 20px; min-height: 160px; }
  .format-mark { width: 56px; height: 70px; font-size: 12px; }
  .roadmap-footer { align-items: flex-start; flex-wrap: wrap; }
  .roadmap-footer a { width: 100%; margin-left: 20px; }
  .footer-inner { align-items: flex-start; flex-wrap: wrap; gap: 17px; }
  .footer-inner p { order: 3; width: 100%; }
}

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