:root {
  --ink: #0e1014;
  --panel: #15181e;
  --panel-2: #1c2027;
  --paper: #f1f0eb;
  --paper-2: #e6e4dc;
  --red: #ff3448;
  --red-dark: #b81027;
  --mint: #bfffdc;
  --line: rgba(14, 16, 20, .17);
  --muted: #686966;
  --ease: cubic-bezier(.2, .8, .2, 1);
  font-family: Inter, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, figure, dl, dd { margin-top: 0; }

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 78px;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4.2vw, 72px);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.13);
  background: var(--ink);
}
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 800; letter-spacing: .11em; }
.brand-mark { display: grid; width: 35px; height: 35px; place-items: center; color: #fff; border-radius: 5px; background: var(--red); letter-spacing: 0; }
.site-header nav { display: flex; align-items: center; gap: clamp(16px, 2.6vw, 38px); font-size: 12px; font-weight: 700; }
.site-header nav a { padding: 11px 0; color: #b8bbc2; transition: color .2s ease; }
.site-header nav a:hover { color: #fff; }
.site-header .header-download { padding: 11px 16px; color: #fff; border: 1px solid var(--red); border-radius: 99px; background: rgba(255,52,72,.1); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(360px, .82fr) minmax(560px, 1.18fr);
  min-height: calc(100vh - 78px);
  align-items: center;
  gap: clamp(46px, 6vw, 105px);
  padding: clamp(74px, 8vw, 124px) clamp(20px, 4.2vw, 72px) clamp(92px, 10vw, 150px);
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    radial-gradient(circle at 72% 24%, rgba(255,52,72,.18), transparent 29%),
    var(--ink);
  background-size: 30px 30px, 30px 30px, auto, auto;
}
.hero::before { content: "R"; position: absolute; right: -2vw; bottom: -16vw; color: rgba(255,52,72,.065); font: 900 min(52vw, 760px)/1 Georgia, serif; pointer-events: none; }
.hero-copy, .hero-product { position: relative; z-index: 1; }
.kicker { margin-bottom: 24px; color: var(--red); font: 800 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .19em; }
.product-name { display: flex; align-items: center; gap: 14px; margin-bottom: 27px; }
.product-name img { width: 46px; border-radius: 10px; box-shadow: 0 12px 28px rgba(0,0,0,.28); }
.product-name span { font-size: 25px; font-weight: 800; letter-spacing: -.03em; }
.product-name small { align-self: flex-start; padding: 5px 8px; color: #ff9eaa; border: 1px solid rgba(255,52,72,.42); border-radius: 99px; font: 700 9px/1 monospace; }
.hero h1 { max-width: 820px; margin-bottom: 30px; font-size: clamp(58px, 7.1vw, 112px); line-height: .93; letter-spacing: -.075em; }
.hero h1 em { color: var(--red); font-family: Georgia, "Songti SC", serif; font-weight: 500; }
.lead { max-width: 670px; margin-bottom: 34px; color: #b9bdc5; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.9; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.button { display: inline-flex; min-height: 56px; align-items: center; justify-content: space-between; gap: 30px; padding: 0 22px; border: 1px solid #fff; font-size: 13px; font-weight: 800; transition: transform .25s var(--ease), box-shadow .25s var(--ease); }
.button:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(0,0,0,.24); }
.button-primary { border-color: var(--red); background: var(--red); }
.button-secondary { color: #fff; border-color: #4b4e56; background: rgba(255,255,255,.03); }
.hero-note { margin: 16px 0 0; color: #737780; font: 11px/1.6 ui-monospace, SFMono-Regular, Consolas, monospace; }
.hero-product { padding: 42px 0 40px 22px; }
.window-frame { overflow: hidden; border: 1px solid #474a52; border-radius: 13px; background: #111318; box-shadow: 0 42px 110px rgba(0,0,0,.52); transform: rotate(1deg); }
.window-frame > img { width: 100%; }
.window-bar { display: flex; height: 38px; align-items: center; gap: 6px; padding: 0 13px; color: #7e828b; border-bottom: 1px solid #2a2d34; background: #1b1e24; font: 9px/1 monospace; letter-spacing: .08em; }
.window-bar i { width: 7px; height: 7px; border-radius: 50%; background: #454951; }
.window-bar i:first-child { background: var(--red); }
.window-bar span { margin-left: 8px; }
.source-stamp { position: absolute; right: -20px; bottom: 0; display: flex; flex-direction: column; gap: 4px; padding: 16px 19px; color: var(--ink); border: 1px solid #111; background: var(--mint); box-shadow: 8px 8px 0 var(--red); transform: rotate(-2deg); }
.source-stamp b { font: 900 13px/1 monospace; letter-spacing: .08em; }
.source-stamp span { font-size: 11px; }

.signal-strip { display: grid; grid-template-columns: repeat(3, 1fr); color: #fff; background: var(--red); }
.signal-strip div { display: flex; min-height: 112px; align-items: center; gap: 22px; padding: 0 clamp(20px, 4.2vw, 72px); border-right: 1px solid rgba(255,255,255,.25); }
.signal-strip div:last-child { border-right: 0; }
.signal-strip span, .section-label { font: 800 10px/1.4 ui-monospace, SFMono-Regular, Consolas, monospace; letter-spacing: .1em; }
.signal-strip span { color: #ffd4d9; }
.signal-strip strong { font-size: 14px; }

.section-grid { display: grid; grid-template-columns: minmax(90px, 150px) minmax(0, 1fr); gap: clamp(28px, 5vw, 86px); }
.section-label { padding-top: 8px; color: var(--muted); }
.problem { grid-template-columns: minmax(90px, 150px) minmax(0, 1fr) minmax(280px, 360px); align-items: end; padding: clamp(90px, 11vw, 170px) clamp(20px, 4.2vw, 72px); }
.problem h2, .workflow h2, .formats h2, .evidence h2, .architecture h2, .boundary h2, .download-section h2 { margin-bottom: 0; font-size: clamp(48px, 6.1vw, 96px); line-height: .96; letter-spacing: -.07em; }
.problem-copy > p:last-child { max-width: 730px; margin: 36px 0 0; color: var(--muted); font-size: 17px; line-height: 1.95; }
.principle-card { padding: 30px; color: #fff; border-top: 7px solid var(--red); background: var(--ink); box-shadow: 14px 14px 0 #c9c7bd; }
.principle-card > span { color: #ff97a3; font: 700 10px/1 monospace; letter-spacing: .13em; }
.principle-card strong { display: block; margin: 54px 0 24px; font-size: clamp(28px, 2.6vw, 42px); line-height: 1.2; letter-spacing: -.05em; }
.principle-card p { margin: 0; color: #aaaeb6; font-size: 13px; line-height: 1.8; }

.workflow { padding: clamp(92px, 10vw, 150px) clamp(20px, 4.2vw, 72px); color: #fff; background: var(--ink); }
.workflow .section-label { color: #777b84; }
.workflow-heading { margin-bottom: 78px; }
.workflow-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #ffffff2b; border-left: 1px solid #ffffff2b; }
.workflow-grid article { position: relative; min-height: 590px; padding: 28px; border-right: 1px solid #ffffff2b; border-bottom: 1px solid #ffffff2b; }
.step-number { color: #777b84; font: 700 10px/1 monospace; }
.step-visual { position: relative; display: grid; height: 250px; margin: 58px 0 38px; place-items: center; overflow: hidden; border: 1px solid #383c45; background: #15181e; }
.open-visual { grid-template-columns: repeat(2, 74px); grid-template-rows: repeat(2, 74px); gap: 8px; }
.open-visual i { display: grid; width: 74px; height: 74px; place-items: center; color: #c7cad0; border: 1px solid #3b3f47; background: #1f232a; font: 800 10px/1 monospace; font-style: normal; }
.open-visual i:first-child { color: #fff; border-color: var(--red); background: var(--red-dark); transform: rotate(-4deg); }
.mark-visual span { position: absolute; top: 45px; left: 36px; z-index: 2; padding: 10px 13px; color: #fff; border-radius: 4px; background: var(--red); font-size: 11px; }
.mark-visual b { width: 63%; height: 44%; border: 4px solid var(--red); transform: rotate(-3deg); }
.mark-visual i { position: absolute; right: 32px; bottom: 38px; width: 82px; height: 2px; background: var(--red); transform: rotate(-34deg); }
.mark-visual i::after { content: ""; position: absolute; right: -2px; top: -5px; width: 10px; height: 10px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); transform: rotate(45deg); }
.compare-visual { grid-template-columns: 1fr 62px 1fr; gap: 0; padding: 28px; }
.compare-visual i { display: grid; width: 100%; height: 154px; place-items: center; color: #747881; border: 1px solid #3b3f47; font: 800 42px/1 Georgia; font-style: normal; }
.compare-visual i:last-child { color: #fff; border-color: rgba(191,255,220,.48); background: rgba(191,255,220,.08); }
.compare-visual span { z-index: 1; display: grid; width: 58px; height: 58px; place-items: center; justify-self: center; color: #fff; border-radius: 50%; background: var(--red); font: 900 11px/1 monospace; }
.step-label { margin-bottom: 14px; color: var(--red); font: 800 10px/1 monospace; letter-spacing: .16em; }
.workflow-grid h3 { margin-bottom: 17px; font-size: clamp(26px, 2.3vw, 38px); letter-spacing: -.04em; }
.workflow-grid article > p:last-child { margin: 0; color: #9da1aa; font-size: 14px; line-height: 1.85; }

.formats { padding: clamp(94px, 11vw, 170px) clamp(20px, 4.2vw, 72px); background: var(--mint); }
.formats-heading { margin-bottom: 76px; }
.formats .kicker { color: #12633d; }
.format-board { border-top: 1px solid rgba(14,16,20,.4); }
.format-row { display: grid; grid-template-columns: minmax(120px, .38fr) minmax(320px, 1.4fr) minmax(180px, .5fr); gap: 26px; align-items: center; min-height: 110px; border-bottom: 1px solid rgba(14,16,20,.4); }
.format-row span { font: 800 11px/1 monospace; letter-spacing: .08em; }
.format-row p { margin: 0; font-size: clamp(17px, 2vw, 27px); font-weight: 750; letter-spacing: -.035em; }
.format-row b { justify-self: end; color: #306348; font-size: 11px; }
.format-note { max-width: 920px; margin: 38px 0 0 auto; color: #315841; font-size: 13px; line-height: 1.9; }

.evidence { padding: clamp(94px, 11vw, 170px) clamp(20px, 4.2vw, 72px); background: var(--paper-2); }
.evidence-heading { margin-bottom: 76px; }
.evidence-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr); gap: clamp(30px, 5vw, 78px); align-items: start; }
.product-shot { overflow: hidden; border: 1px solid var(--ink); background: var(--ink); box-shadow: 14px 14px 0 var(--red); }
.product-shot img { width: 100%; }
.product-shot figcaption { display: grid; grid-template-columns: 110px 1fr; gap: 20px; padding: 20px 22px; color: #adb1ba; font-size: 12px; line-height: 1.7; }
.product-shot figcaption span { color: var(--red); font: 800 10px/1.5 monospace; letter-spacing: .12em; }
.mode-list { border-top: 1px solid var(--line); }
.mode-list article { padding: 25px 0; border-bottom: 1px solid var(--line); }
.mode-list span { color: var(--red-dark); font: 800 10px/1 monospace; letter-spacing: .13em; }
.mode-list h3 { margin: 13px 0 10px; font-size: 27px; letter-spacing: -.04em; }
.mode-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.architecture { padding: clamp(94px, 11vw, 170px) clamp(20px, 4.2vw, 72px); color: #fff; background: var(--red); }
.architecture .section-label, .architecture .kicker { color: #ffd0d6; }
.architecture-heading { margin-bottom: 76px; }
.architecture dl { border-top: 1px solid rgba(255,255,255,.38); }
.architecture dl div { display: grid; grid-template-columns: minmax(90px, .35fr) minmax(260px, .85fr) minmax(300px, 1.2fr); gap: 25px; align-items: baseline; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.38); }
.architecture dt { color: #ffd0d6; font: 800 10px/1 monospace; letter-spacing: .1em; }
.architecture dd { margin: 0; font-size: clamp(22px, 2.4vw, 38px); font-weight: 780; letter-spacing: -.04em; }
.architecture dl span { color: rgba(255,255,255,.76); font-size: 13px; line-height: 1.7; }

.boundary { grid-template-columns: minmax(90px, 150px) minmax(280px, .8fr) minmax(320px, 1fr); align-items: start; padding: clamp(94px, 11vw, 170px) clamp(20px, 4.2vw, 72px); }
.boundary-list { border-top: 1px solid var(--line); }
.boundary-list div { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.boundary-list span { color: var(--red-dark); font: 800 10px/1 monospace; letter-spacing: .12em; }
.boundary-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.8; }

.download-section { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(44px, 8vw, 130px); padding: clamp(94px, 11vw, 170px) clamp(20px, 4.2vw, 72px) 72px; color: #fff; background: var(--ink); }
.download-copy > p:last-child { max-width: 670px; margin: 35px 0 0; color: #aeb2ba; font-size: 16px; line-height: 1.9; }
.download-card { display: grid; grid-template-columns: 82px 1fr; gap: 22px; align-content: start; padding: clamp(26px, 3vw, 44px); color: var(--ink); background: #fff; box-shadow: 18px 18px 0 var(--red); }
.download-card img { width: 82px; border-radius: 18px; }
.file-meta { align-self: center; }
.file-meta span { color: var(--red-dark); font: 800 10px/1 monospace; letter-spacing: .12em; }
.file-meta strong { display: block; margin: 9px 0 7px; font-size: 21px; }
.file-meta p { margin: 0; color: var(--muted); font-size: 12px; }
.download-card > a { display: flex; grid-column: 1 / -1; min-height: 62px; align-items: center; justify-content: space-between; margin-top: 14px; padding: 0 20px; color: #fff; background: var(--red); font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.download-card > a:hover { transform: translateY(-3px); box-shadow: 0 11px 28px rgba(184,16,39,.28); }
.hash-row { display: grid; grid-column: 1 / -1; grid-template-columns: 100px 1fr; gap: 20px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.22); }
.hash-row span { color: #ff8795; font: 800 10px/1.5 monospace; }
.hash-row code { overflow-wrap: anywhere; color: #8f939c; font-size: 11px; line-height: 1.7; }
.download-note { grid-column: 1 / -1; margin: 8px 0 0; color: #8f939c; font-size: 12px; line-height: 1.7; }

footer { display: flex; min-height: 118px; align-items: center; justify-content: space-between; gap: 30px; padding: 0 clamp(20px, 4.2vw, 72px); color: #777b84; border-top: 1px solid #2b2e35; background: var(--ink); font-size: 11px; }
footer .brand { color: #fff; }
footer > a:last-child { color: #fff; font-weight: 700; }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 4px; }

@media (max-width: 1050px) {
  .hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-copy { max-width: 800px; }
  .hero-product { width: min(95%, 900px); justify-self: end; }
  .problem { grid-template-columns: 110px 1fr; }
  .principle-card { grid-column: 2; margin-top: 28px; }
  .evidence-grid { grid-template-columns: 1fr; }
  .mode-list { display: grid; grid-template-columns: repeat(3, 1fr); }
  .mode-list article { padding-right: 24px; }
  .boundary { grid-template-columns: 110px 1fr; }
  .boundary-list { grid-column: 2; margin-top: 28px; }
}

@media (max-width: 760px) {
  .site-header { min-height: 67px; }
  .site-header nav a:not(.header-download) { display: none; }
  .brand { font-size: 9px; letter-spacing: .07em; }
  .hero { padding: 74px 5vw 88px; }
  .hero h1 { font-size: clamp(48px, 14vw, 72px); }
  .lead { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .button { width: 100%; }
  .hero-product { width: 98%; padding-left: 0; }
  .source-stamp { right: -8px; }
  .signal-strip { grid-template-columns: 1fr; }
  .signal-strip div { min-height: 72px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.25); }
  .section-grid, .problem, .boundary { grid-template-columns: 1fr; gap: 28px; }
  .problem, .workflow, .formats, .evidence, .architecture, .boundary, .download-section { padding-top: 80px; padding-bottom: 80px; }
  .principle-card, .boundary-list { grid-column: auto; margin-top: 10px; }
  .workflow-grid { grid-template-columns: 1fr; }
  .workflow-grid article { min-height: auto; }
  .format-row { grid-template-columns: 1fr; gap: 10px; padding: 24px 0; }
  .format-row b { justify-self: start; }
  .mode-list { grid-template-columns: 1fr; }
  .architecture dl div { grid-template-columns: 1fr; gap: 9px; }
  .boundary-list div { grid-template-columns: 1fr; gap: 9px; }
  .download-section { grid-template-columns: 1fr; }
  .download-card { grid-template-columns: 62px 1fr; box-shadow: 11px 11px 0 var(--red); }
  .download-card img { width: 62px; border-radius: 13px; }
  .hash-row { grid-template-columns: 1fr; }
  footer { flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 34px; }
}

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