:root {
  --ink: #07110f;
  --paper: #f2f0e8;
  --acid: #c8ff36;
  --mint: #8fe6c1;
  --line: rgba(7, 17, 15, .16);
  --muted: #63706c;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --sans: Inter, "Noto Sans SC", "Microsoft YaHei", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; left: 16px; top: -60px; z-index: 20; padding: 10px 16px; background: var(--acid); transition: top .2s; }
.skip-link:focus { top: 16px; }
.site-header { height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 0 clamp(20px, 5vw, 72px); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.brand, .footer-brand { display: flex; align-items: center; gap: 12px; font-weight: 850; letter-spacing: .06em; }
.brand-mark { width: 26px; height: 26px; display: grid; grid-template-columns: 1fr 1fr; gap: 3px; transform: rotate(45deg); }
.brand-mark i { display: block; background: var(--ink); border-radius: 50% 50% 8% 50%; }
.site-header nav { display: flex; gap: 36px; font-size: 14px; }
.site-header nav a { color: #48514e; transition: color .2s; }
.site-header nav a:hover { color: var(--ink); }
.header-cta { padding: 10px 18px; border: 1px solid var(--ink); font-size: 13px; font-weight: 700; }
.hero { min-height: 690px; display: grid; grid-template-columns: 1.06fr .94fr; overflow: hidden; border-bottom: 1px solid var(--line); }
.hero-copy { padding: clamp(70px, 8vw, 118px) clamp(24px, 6vw, 94px) 58px; position: relative; }
.eyebrow { margin: 0 0 26px; font: 700 12px/1 var(--mono); letter-spacing: .14em; color: var(--muted); }
.eyebrow span { width: 24px; height: 2px; display: inline-block; vertical-align: middle; margin-right: 8px; background: currentColor; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; max-width: 790px; font-size: clamp(55px, 6.5vw, 98px); line-height: .98; letter-spacing: -.06em; font-weight: 800; }
h1 em { font-style: normal; font-weight: 400; color: #53605c; }
.hero-lead { max-width: 600px; margin-bottom: 34px; color: #596561; font-size: clamp(16px, 1.4vw, 20px); }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 0 24px; font-size: 14px; font-weight: 750; border: 1px solid var(--ink); transition: transform .2s, box-shadow .2s; }
.button:hover { transform: translateY(-2px); box-shadow: 4px 4px 0 var(--ink); }
.button-primary { background: var(--ink); color: white; }
.button-ghost { background: transparent; }
.hero-stats { margin: 64px 0 0; display: flex; gap: clamp(35px, 6vw, 82px); }
.hero-stats div { display: grid; gap: 2px; }
.hero-stats dt { font: 700 25px/1 var(--mono); }
.hero-stats dd { margin: 0; color: var(--muted); font-size: 12px; }
.hero-visual { position: relative; display: grid; place-items: center; min-height: 560px; background-color: var(--ink); background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 38px 38px; overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; width: 460px; height: 460px; border-radius: 50%; background: var(--acid); filter: blur(90px); opacity: .13; }
.sequence-card { width: min(78%, 470px); min-height: 430px; position: relative; z-index: 2; padding: 25px; color: white; border: 1px solid rgba(255,255,255,.2); background: rgba(4, 14, 12, .78); box-shadow: 22px 22px 0 rgba(200,255,54,.12); backdrop-filter: blur(8px); }
.sequence-head { display: flex; justify-content: space-between; padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.12); color: #92a09c; font: 11px var(--mono); }
.sequence { display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; padding: 28px 0 20px; }
.base { aspect-ratio: 1; display: grid; place-items: center; border: 1px solid; font: 700 clamp(13px, 1.3vw, 18px) var(--mono); }
.base.a { color: var(--acid); }.base.u { color: #8fe6c1; }.base.g { color: #ffb971; }.base.c { color: #95b9ff; }
.coverage { height: 135px; display: flex; align-items: end; gap: 5px; border-bottom: 1px solid rgba(255,255,255,.2); }
.coverage i { height: var(--h); flex: 1; background: linear-gradient(to top, var(--acid), var(--mint)); opacity: .8; animation: rise .8s ease both; }
@keyframes rise { from { height: 0; } }
.sequence-foot { display: grid; grid-template-columns: 1fr auto; align-items: end; margin-top: 22px; color: #91a09b; font: 10px var(--mono); letter-spacing: .08em; }
.sequence-foot strong { color: white; font-size: 30px; letter-spacing: -.04em; }.sequence-foot small { grid-column: 2; text-align: right; }
.orbit { position: absolute; z-index: 1; border: 1px solid rgba(200,255,54,.35); border-radius: 50%; }
.orbit-one { width: 600px; height: 230px; transform: rotate(58deg); }.orbit-two { width: 520px; height: 520px; border-color: rgba(255,255,255,.1); }
.section { padding: 105px clamp(24px, 6vw, 94px); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 70px; margin-bottom: 58px; }
.section-heading h2, .note-lead h2 { margin: 0; font-size: clamp(38px, 4vw, 62px); line-height: 1.05; letter-spacing: -.045em; }
.section-heading > p { max-width: 470px; margin: 0 0 4px; color: var(--muted); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.steps article { min-height: 320px; padding: 26px; border-right: 1px solid var(--line); position: relative; }
.steps article:last-child { border: 0; }
.step-no { position: absolute; right: 20px; top: 18px; color: #8e9995; font: 11px var(--mono); }
.step-icon { width: 58px; height: 58px; display: grid; place-items: center; margin: 20px 0 48px; background: var(--ink); color: var(--acid); font: 700 16px var(--mono); border-radius: 50%; }
.steps h3 { margin-bottom: 10px; font-size: 20px; }.steps p { color: var(--muted); font-size: 14px; }
.steps code { position: absolute; bottom: 24px; left: 26px; color: #78837f; font: 11px var(--mono); }
.code-section { background: var(--ink); color: #eef1ed; }
.section-heading.light .eyebrow, .section-heading.light > p { color: #91a09b; }
.code-window { overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: #0b1815; box-shadow: 14px 14px 0 rgba(200,255,54,.1); }
.code-toolbar { min-height: 62px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 20px; border-bottom: 1px solid rgba(255,255,255,.12); }
.window-dots { display: flex; gap: 7px; }.window-dots i { width: 8px; height: 8px; border: 1px solid #63716c; border-radius: 50%; }
.tabs { height: 100%; display: flex; gap: 28px; }
.tabs button, .copy-button { border: 0; color: #84918d; background: transparent; cursor: pointer; font: 12px var(--mono); }
.tabs button[aria-selected="true"] { color: var(--acid); box-shadow: inset 0 -2px var(--acid); }
.copy-button { justify-self: end; padding: 8px 12px; border: 1px solid rgba(255,255,255,.16); }
.copy-button:hover { color: white; }.copy-button.copied { color: var(--acid); }
.code-panel { min-height: 410px; margin: 0; padding: 34px clamp(18px, 4vw, 54px); overflow: auto; color: #e7ece9; font: 13px/1.85 var(--mono); tab-size: 2; }
.code-panel code { font: inherit; }.code-panel .comment { color: #71807a; }
.notes { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(50px, 9vw, 150px); }
.note-grid { display: grid; gap: 0; }
.note-grid article { display: grid; grid-template-columns: 50px 180px 1fr; gap: 22px; align-items: baseline; padding: 27px 0; border-top: 1px solid var(--line); }
.note-grid article:last-child { border-bottom: 1px solid var(--line); }
.note-grid span { color: #84908c; font: 11px var(--mono); }.note-grid h3 { font-size: 17px; }.note-grid p { margin: 0; color: var(--muted); font-size: 14px; }
footer { min-height: 120px; display: flex; align-items: center; gap: 40px; padding: 30px clamp(24px, 6vw, 94px); background: #dce1d8; border-top: 1px solid var(--line); font-size: 13px; }
footer p { margin: 0 auto 0 0; color: var(--muted); } footer > a { color: #4f5b57; } footer > a:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .site-header nav { display: none; }
  .hero { grid-template-columns: 1fr; }.hero-visual { min-height: 600px; }
  .steps { grid-template-columns: 1fr 1fr; }.steps article:nth-child(2) { border-right: 0; }.steps article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .notes { grid-template-columns: 1fr; }.section-heading { align-items: start; flex-direction: column; gap: 24px; }
}
@media (max-width: 600px) {
  .site-header { height: 68px; }.header-cta { display: none; }
  .hero-copy { padding-top: 65px; }.hero-stats { gap: 26px; justify-content: space-between; }
  .hero-visual { min-height: 480px; }.sequence-card { width: 86%; min-height: 390px; padding: 18px; }
  .steps { grid-template-columns: 1fr; }.steps article { border-right: 0; border-bottom: 1px solid var(--line); }.steps article:last-child { border-bottom: 0; }
  .code-toolbar { grid-template-columns: 1fr auto; }.window-dots { display: none; }.tabs { gap: 6px; }.tabs button { padding: 0 8px; }
  .copy-button { grid-column: 2; grid-row: 1; }.code-panel { font-size: 11px; }
  .note-grid article { grid-template-columns: 35px 1fr; }.note-grid p { grid-column: 2; }
  footer { align-items: flex-start; flex-direction: column; gap: 16px; } footer p { margin: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
