@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --ink: #171923;
  --muted: #737887;
  --line: #dfe1e8;
  --paper: #f7f7f4;
  --white: #ffffff;
  --blue: #2857eb;
  --blue-deep: #1641c4;
  --pink: #ff5e7c;
  --yellow: #f4d35e;
  --mono: 'DM Mono', 'SFMono-Regular', Consolas, monospace;
  --sans: 'Manrope', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 4px; }

.page-shell { width: min(1240px, calc(100% - 72px)); margin: 0 auto; }
.topbar { height: 106px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; gap: 3px; background: var(--ink); transform: rotate(-8deg); }
.brand-mark span { width: 4px; height: 19px; display: block; background: var(--pink); transform: skew(-20deg); }
.brand-mark span:nth-child(2) { height: 25px; background: var(--blue); }
.brand-mark span:nth-child(3) { height: 14px; background: var(--yellow); }
.brand strong { display: block; font-size: 18px; letter-spacing: -.06em; line-height: 1; }
.brand strong span { color: var(--blue); }
.brand small, .eyebrow, .section-kicker, .tiny-label, .live-indicator, .file-meta, .recommended, .file-size { font-family: var(--mono); }
.brand small { display: block; margin-top: 6px; color: var(--muted); font-size: 8px; letter-spacing: .18em; }
.topnav { display: flex; gap: 34px; color: var(--muted); font-size: 12px; font-weight: 700; }
.topnav a { transition: color .2s ease; }
.topnav a:hover { color: var(--blue); }

.hero { min-height: 555px; display: grid; grid-template-columns: 1fr 440px; align-items: center; gap: 100px; padding: 66px 36px 70px; }
.eyebrow, .section-kicker { margin: 0; color: var(--blue); font-size: 10px; font-weight: 500; letter-spacing: .18em; }
.pulse-dot { width: 7px; height: 7px; display: inline-block; margin: 0 8px 1px 0; border-radius: 50%; background: var(--pink); box-shadow: 0 0 0 4px rgba(255, 94, 124, .13); }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 690px; margin: 22px 0 25px; font-size: clamp(50px, 6vw, 78px); line-height: .99; letter-spacing: -.075em; font-weight: 800; }
h1 em { color: var(--blue); font-style: normal; position: relative; }
h1 em::after { content: ''; position: absolute; right: -8px; bottom: -6px; left: 2px; height: 8px; background: var(--yellow); z-index: -1; transform: rotate(-2deg); }
.hero-intro { max-width: 480px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-actions { display: flex; align-items: center; gap: 27px; margin-top: 36px; }
.button { display: inline-flex; align-items: center; gap: 22px; min-height: 51px; padding: 0 17px 0 23px; font-size: 12px; font-weight: 800; transition: transform .2s ease, box-shadow .2s ease; }
.button:hover, .download-button:hover { transform: translateY(-3px); }
.button-primary { color: var(--white); background: var(--blue); box-shadow: 5px 5px 0 var(--ink); }
.button-primary:hover { box-shadow: 8px 8px 0 var(--ink); }
.button-arrow { display: inline-flex; width: 26px; height: 26px; align-items: center; justify-content: center; color: var(--ink); background: var(--yellow); font-size: 18px; }
.text-link { color: var(--muted); font-size: 11px; font-weight: 700; }
.text-link span { display: inline-block; margin-left: 7px; color: var(--blue); font-size: 17px; transition: transform .2s ease; }
.text-link:hover span { transform: translateX(4px); }

.hero-art { position: relative; height: 370px; display: flex; align-items: center; justify-content: center; }
.art-card { position: relative; width: 285px; height: 345px; padding: 23px 24px; overflow: hidden; color: var(--white); background: var(--ink); box-shadow: 15px 15px 0 var(--yellow); transform: rotate(5deg); }
.art-card::before { content: ''; position: absolute; width: 230px; height: 230px; right: -100px; bottom: -95px; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; box-shadow: 0 0 0 25px rgba(255,255,255,.04), 0 0 0 50px rgba(255,255,255,.03); }
.art-card-top, .art-footer { display: flex; align-items: center; justify-content: space-between; }
.tiny-label, .live-indicator, .art-footer { font-size: 8px; letter-spacing: .12em; }
.live-indicator { color: var(--yellow); }
.live-indicator i { width: 5px; height: 5px; display: inline-block; margin-right: 5px; border-radius: 50%; background: var(--yellow); }
.art-logo { height: 194px; display: flex; align-items: center; justify-content: center; gap: 7px; }
.slash { width: 33px; height: 136px; display: block; transform: skew(-26deg) rotate(14deg); }
.slash-blue { background: var(--blue); }
.slash-pink { height: 170px; background: var(--pink); }
.slash.short { height: 83px; align-self: flex-end; margin-bottom: 35px; }
.art-version { display: flex; align-items: flex-end; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.35); padding-bottom: 11px; }
.art-version span { color: #9da1b1; font: 8px var(--mono); letter-spacing: .15em; }
.art-version strong { font: 23px var(--mono); letter-spacing: -.12em; }
.art-rule { width: 43px; height: 4px; margin: 20px 0 17px; background: var(--pink); }
.art-footer { position: absolute; right: 24px; bottom: 22px; left: 24px; color: #9da1b1; }
.art-orbit { position: absolute; border: 1px solid var(--blue); border-radius: 50%; opacity: .55; }
.orbit-one { width: 390px; height: 170px; transform: rotate(-26deg); }
.orbit-two { width: 420px; height: 250px; border-color: var(--pink); transform: rotate(25deg); }
.art-note { position: absolute; padding: 6px 10px; color: var(--ink); background: var(--white); font: 9px var(--mono); box-shadow: 3px 3px 0 var(--pink); }
.note-one { top: 27px; right: 9px; transform: rotate(9deg); }
.note-two { bottom: 27px; left: 1px; background: var(--yellow); box-shadow: 3px 3px 0 var(--ink); transform: rotate(-7deg); }

.signal-row { display: grid; grid-template-columns: repeat(3, 1fr) 1.55fr; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.signal { min-height: 105px; display: flex; align-items: center; gap: 12px; padding: 0 25px; border-right: 1px solid var(--line); }
.signal strong { color: var(--blue); font: 500 25px var(--mono); letter-spacing: -.12em; }
.signal span { color: var(--muted); font-size: 11px; line-height: 1.5; }
.signal-note { justify-content: space-between; border-right: 0; }
.signal-note span:first-child { color: var(--ink); font-size: 12px; font-weight: 700; }
.signal-mark { color: var(--pink) !important; font: 25px var(--mono) !important; }

.download-section { padding: 115px 36px 125px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 39px; }
h2 { margin: 13px 0 0; font-size: clamp(29px, 3vw, 42px); line-height: 1; letter-spacing: -.065em; }
.section-description { max-width: 270px; margin: 0 0 2px; color: var(--muted); font-size: 12px; line-height: 1.8; }
.download-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 19px; }
.download-card { min-height: 365px; display: flex; flex-direction: column; padding: 27px 28px 24px; border: 1px solid var(--line); background: var(--white); transition: transform .25s ease, box-shadow .25s ease; }
.download-card:hover { transform: translateY(-5px); box-shadow: 8px 8px 0 var(--line); }
.featured-card { border-color: var(--blue); background: var(--blue); color: var(--white); }
.card-topline, .card-bottom { display: flex; align-items: center; justify-content: space-between; }
.file-type { display: inline-flex; width: 39px; height: 39px; align-items: center; justify-content: center; font: 11px var(--mono); font-weight: 500; }
.type-script { color: var(--ink); background: var(--yellow); }
.type-crx { color: var(--white); background: var(--ink); }
.recommended, .file-size { font-size: 9px; letter-spacing: .08em; }
.recommended { color: var(--yellow); }
.file-size { color: var(--muted); }
.file-info { margin-top: 35px; }
.file-info h3 { margin: 0 0 9px; font-size: 27px; letter-spacing: -.06em; }
.file-info p { margin: 0; color: rgba(255,255,255,.68); font-size: 12px; }
.extension-card .file-info p { color: var(--muted); }
.feature-list { display: grid; gap: 12px; margin: 29px 0 30px; padding: 0; list-style: none; color: rgba(255,255,255,.84); font-size: 11px; }
.feature-list li::before { content: '↗'; margin-right: 9px; color: var(--yellow); font-family: var(--mono); }
.muted-list { color: var(--muted); }
.muted-list li::before { color: var(--blue); }
.card-bottom { gap: 15px; margin-top: auto; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.25); }
.extension-card .card-bottom { border-color: var(--line); }
.file-meta { overflow: hidden; color: rgba(255,255,255,.66); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.extension-card .file-meta { color: var(--muted); }
.file-meta b { color: var(--yellow); font-weight: 400; }
.download-button { display: inline-flex; flex: none; align-items: center; gap: 12px; min-height: 40px; padding: 0 13px 0 16px; color: var(--ink); background: var(--yellow); font-size: 11px; font-weight: 800; transition: transform .2s ease; }
.download-button span { font-size: 17px; line-height: 0; }
.download-button.secondary { color: var(--white); background: var(--blue); }

.guide-section { display: grid; grid-template-columns: 270px 1fr; gap: 100px; padding: 76px 36px 83px; border-top: 1px solid var(--line); }
.guide-title p:last-child { max-width: 210px; margin: 22px 0 0; color: var(--muted); font-size: 12px; line-height: 1.8; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.step { border-top: 3px solid var(--ink); padding-top: 15px; }
.step-index { display: block; margin-bottom: 32px; color: var(--blue); font: 12px var(--mono); }
.step h3 { margin: 0 0 11px; font-size: 14px; letter-spacing: -.02em; }
.step p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
code { padding: 2px 4px; color: var(--blue-deep); background: #e9edff; font-family: var(--mono); font-size: 10px; }
.tip-banner { display: flex; align-items: center; gap: 17px; min-height: 76px; margin: 0 36px 54px; padding: 0 21px; background: var(--yellow); }
.tip-icon { display: inline-flex; width: 25px; height: 25px; align-items: center; justify-content: center; border: 1px solid var(--ink); border-radius: 50%; font: 13px var(--mono); }
.tip-banner p { flex: 1; margin: 0; font-size: 11px; }
.tip-banner p strong { margin-right: 6px; }
.copy-link { padding: 9px 0; border: 0; border-bottom: 1px solid var(--ink); color: var(--ink); background: transparent; cursor: pointer; font: 10px var(--mono); white-space: nowrap; }
.copy-link span { margin-left: 5px; font-size: 15px; }
.footer { display: flex; align-items: center; justify-content: space-between; min-height: 87px; border-top: 1px solid var(--line); color: var(--muted); font: 9px var(--mono); }
.footer a { color: var(--blue); }
.toast { position: fixed; right: 22px; bottom: 22px; z-index: 5; padding: 12px 16px; color: var(--white); background: var(--ink); box-shadow: 4px 4px 0 var(--pink); font-size: 11px; opacity: 0; pointer-events: none; transform: translateY(12px); transition: opacity .2s ease, transform .2s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr 330px; gap: 40px; padding-left: 0; padding-right: 0; }
  .hero-art { transform: scale(.83); transform-origin: center right; }
  .signal { padding: 0 15px; }
  .download-section, .guide-section { padding-left: 0; padding-right: 0; }
  .guide-section { gap: 45px; }
  .tip-banner { margin-right: 0; margin-left: 0; }
}
@media (max-width: 700px) {
  .page-shell { width: min(100% - 36px, 520px); }
  .topbar { height: 82px; }
  .topnav { gap: 14px; font-size: 10px; }
  .topnav a:nth-child(2) { display: none; }
  .hero { display: block; min-height: 0; padding: 65px 0 80px; }
  h1 { font-size: clamp(47px, 14vw, 70px); }
  .hero-intro { font-size: 13px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-art { height: 335px; margin-top: 37px; transform: scale(.83); transform-origin: center; }
  .signal-row { grid-template-columns: 1fr 1fr; }
  .signal { min-height: 82px; border-bottom: 1px solid var(--line); }
  .signal:nth-child(2) { border-right: 0; }
  .signal-note { grid-column: 1 / -1; border-bottom: 0; }
  .section-heading { display: block; }
  .section-description { margin-top: 19px; }
  .download-grid, .guide-section { grid-template-columns: 1fr; }
  .download-section { padding-top: 83px; padding-bottom: 90px; }
  .download-card { min-height: 340px; }
  .guide-section { gap: 40px; padding-top: 68px; padding-bottom: 73px; }
  .guide-title p:last-child { max-width: 100%; }
  .steps { grid-template-columns: 1fr; gap: 31px; }
  .step-index { margin-bottom: 17px; }
  .tip-banner { align-items: flex-start; flex-wrap: wrap; padding: 17px 18px 19px; }
  .tip-banner p { flex-basis: calc(100% - 43px); }
  .copy-link { margin-left: 42px; }
  .footer { flex-wrap: wrap; gap: 9px; padding: 21px 0; }
  .footer span:nth-child(2) { order: 3; width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
