:root {
  color-scheme: dark;
  --ink: #101010;
  --red: #f1161c;
  --white: #fff;
  --muted: #5b616b;
  --surface: #f5f6f7;
  font-family: system-ui, sans-serif;
  color: var(--white);
  background: var(--ink);
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
p, h1, h2, h3 { margin: 0; }
a:focus-visible { outline: 3px solid var(--red); outline-offset: 6px; }
.wrap { width: min(1200px, calc(100% - 96px)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; padding: 12px 20px; background: var(--white); color: var(--ink); z-index: 2; }
.skip-link:focus { top: 20px; }

.header { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding-block: 29px; border-bottom: 1px solid #ffffff26; }
.brand { font-size: 27px; font-weight: 700; letter-spacing: -.06em; white-space: nowrap; }
.brand span { color: var(--red); }
.header nav { display: flex; align-items: center; gap: 35px; font-size: 14px; font-weight: 550; }
.header nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: 5px; }
.language { border: 1px solid #ffffff55; padding: 7px 10px; font-family: ui-monospace, monospace; }
.eyebrow { font-family: ui-monospace, monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .12em; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 44px; padding-block: 76px 72px; }
.hero .eyebrow { display: flex; align-items: center; gap: 12px; color: #ffffffb3; }
.status-dot { width: 7px; height: 7px; flex: none; background: var(--red); border-radius: 50%; }
h1 { font-size: clamp(55px, 6.5vw, 88px); line-height: 1.02; font-weight: 650; letter-spacing: -.065em; margin: 30px 0 28px; }
h1 span { color: var(--red); }
.hero-description { max-width: 550px; font-size: 19px; line-height: 1.6; color: #ffffffb3; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 32px; padding: 17px 22px; color: var(--ink); background: var(--white); font-size: 14px; font-weight: 650; }
.hero .button { margin-top: 32px; }
.button:hover { background: var(--surface); }
.button span { font-size: 21px; line-height: 1; }
.hero-art { display: flex; flex-direction: column; justify-content: space-between; gap: 44px; min-height: 380px; padding: 22px; color: var(--ink); background-color: var(--white); background-image: linear-gradient(#1010100a 1px, transparent 1px), linear-gradient(90deg, #1010100a 1px, transparent 1px); background-size: 44px 44px; }
.hero-art img { width: 100%; }
.art-label, .art-caption { font-family: ui-monospace, monospace; color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.art-caption { align-self: flex-end; }
.hero-bottom { display: flex; justify-content: space-between; gap: 24px; padding-block: 23px; border-top: 1px solid #ffffff26; color: #ffffff80; font-size: 12px; }
.hero-bottom span:last-child { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .08em; }

.project { background: var(--white); color: var(--ink); padding-block: 80px 0; scroll-margin-top: 30px; }
.project-heading, .example, .ecosystem-heading { display: grid; grid-template-columns: 1fr 2fr; gap: 50px; }
.project-heading > .eyebrow, .ecosystem-heading > .eyebrow { padding-top: 12px; color: var(--muted); }
h2 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.14; font-weight: 600; letter-spacing: -.045em; }
.project-heading > div > p, .example > div > p:last-child, .ecosystem-heading > div > p, .source-link p:last-child { margin-top: 24px; max-width: 600px; font-size: 17px; line-height: 1.8; color: var(--muted); }
.topics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; margin-block: 64px 72px; }
.topics article { border-top: 1px solid var(--ink); padding-top: 20px; }
.topic-number { font-family: ui-monospace, monospace; font-size: 12px; color: var(--muted); }
h3 { font-size: 18px; line-height: 1.35; font-weight: 650; letter-spacing: -.025em; margin-block: 28px 14px; }
.topics p { color: var(--muted); font-size: 14px; line-height: 1.8; }
.formats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 60px; }
.formats > div { border: 1px solid #10101026; padding: 25px; background: var(--surface); }
.formats span { color: var(--red); font-family: ui-monospace, monospace; font-size: 32px; font-weight: 700; }
.formats h3 { margin-block: 18px 12px; }
.formats p { color: var(--muted); font-size: 14px; line-height: 1.7; }
.example { border-top: 1px solid #10101026; padding-block: 48px 60px; }
.example .eyebrow, .source-link .eyebrow { color: var(--muted); margin-bottom: 16px; }
.example > div > p:last-child a { border-bottom: 1px solid currentColor; }
.demo-visual img { width: 100%; }
.demo-visual .demo-still { display: none; }
.demo-visual p { margin-top: 12px; color: var(--muted); font-size: 12px; }
.ecosystem { border-top: 1px solid #10101026; padding-block: 54px 64px; scroll-margin-top: 30px; }
.distribution-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 42px; }
.distribution-card { display: flex; min-height: 190px; flex-direction: column; align-items: flex-start; border: 1px solid #10101026; padding: 20px; }
.distribution-card:hover { border-color: var(--red); }
.distribution-card > img, .remnux-logo { width: 64px; height: 64px; margin-bottom: 22px; }
.distribution-card > img { object-fit: contain; }
.distribution-card strong { font-size: 18px; }
.distribution-card span:last-child { margin-top: 9px; color: var(--muted); font-size: 13px; }
.remnux-logo { display: flex; width: 105px; align-items: center; justify-content: center; background: var(--ink); }
.remnux-logo img { width: 94px; height: auto; }
.evidence-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; margin-top: 48px; }
.evidence-grid article { border-top: 1px solid var(--ink); padding-top: 22px; }
.evidence-grid .eyebrow { color: var(--muted); }
.evidence-grid h3 { margin-block: 18px 12px; }
.evidence-grid article > p:not(.eyebrow) { max-width: 500px; color: var(--muted); font-size: 14px; line-height: 1.8; }
.evidence-grid a { display: inline-block; margin-top: 18px; border-bottom: 1px solid var(--ink); padding-bottom: 5px; font-size: 14px; }
.evidence-grid a:hover { border-color: var(--red); }
.source-link { border-top: 1px solid #10101026; padding-block: 42px 58px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.source-actions { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; flex: none; }
.source-actions a { font-size: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 5px; white-space: nowrap; }
.source-actions a span { padding-left: 12px; }
.source-actions a:hover { border-color: var(--red); }
.coming-soon { padding-block: 70px 0; }
.coming-panel { display: grid; grid-template-columns: 2fr 1fr; gap: 40px; border: 1px solid #ffffff30; padding: 42px; background-image: linear-gradient(#ffffff08 1px, transparent 1px), linear-gradient(90deg, #ffffff08 1px, transparent 1px); background-size: 44px 44px; }
.coming-panel .eyebrow { display: flex; align-items: center; gap: 12px; color: #ffffffb3; }
.coming-panel h2 { margin-top: 24px; }
.coming-panel > div > p:last-child { max-width: 650px; margin-top: 22px; color: #ffffffb3; font-size: 17px; line-height: 1.7; }
.coming-note { align-self: end; border-left: 2px solid var(--red); padding-left: 20px; color: #ffffffb3; font-family: ui-monospace, monospace; font-size: 13px; line-height: 1.6; }
.related { padding-block: 70px; }
.related-content { display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.related .eyebrow { color: #ffffff99; margin-bottom: 16px; }
.related p:last-child { max-width: 550px; margin-top: 20px; color: #ffffffb3; font-size: 17px; line-height: 1.7; }
.related .button { flex: none; }
.footer { display: flex; justify-content: space-between; gap: 24px; padding-block: 30px; border-top: 1px solid #ffffff26; font-size: 12px; color: #ffffff99; }

@media (max-width: 900px) {
  .wrap { width: calc(100% - 56px); }
  .hero { gap: 20px; }
  .topics { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .project-heading, .example, .ecosystem-heading { grid-template-columns: 1fr 2fr; gap: 24px; }
  .distribution-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .wrap { width: calc(100% - 40px); }
  .header { gap: 20px; padding-block: 23px; }
  .brand { font-size: 22px; }
  .header nav { gap: 15px; font-size: 12px; }
  .header nav a:first-child, .header nav a:nth-child(3) { display: none; }
  .hero { grid-template-columns: 1fr; padding-block: 48px 30px; gap: 44px; }
  h1 { font-size: clamp(50px, 12vw, 75px); margin-top: 24px; }
  .hero-description { font-size: 17px; }
  .hero-art { min-height: 230px; gap: 24px; padding: 18px; }
  .hero-bottom { font-size: 11px; line-height: 1.6; }
  .hero-bottom span:last-child { display: none; }
  .project { padding-top: 48px; }
  .project-heading, .example, .ecosystem-heading { grid-template-columns: 1fr; gap: 22px; }
  .project-heading > .eyebrow, .ecosystem-heading > .eyebrow { padding: 0; }
  .project-heading > div > p, .example > div > p:last-child, .ecosystem-heading > div > p, .source-link p:last-child { font-size: 16px; }
  .topics { gap: 30px 22px; margin-block: 38px 42px; }
  h3 { font-size: 17px; margin-top: 18px; }
  .topics p { font-size: 13px; }
  .formats { grid-template-columns: 1fr; gap: 12px; margin-bottom: 42px; }
  .formats > div { padding: 20px; }
  .example { padding-block: 36px 44px; }
  .ecosystem { padding-block: 44px 50px; }
  .distribution-grid { gap: 12px; margin-top: 32px; }
  .distribution-card { padding: 15px; min-height: 175px; }
  .distribution-card strong { font-size: 16px; }
  .distribution-card span:last-child { font-size: 12px; }
  .evidence-grid { grid-template-columns: 1fr; gap: 30px; margin-top: 40px; }
  .source-link, .related-content { align-items: flex-start; flex-direction: column; gap: 26px; }
  .source-link { padding-block: 36px 46px; }
  .source-actions a { font-size: 15px; }
  .coming-soon { padding-top: 50px; }
  .coming-panel { grid-template-columns: 1fr; gap: 28px; padding: 24px; }
  .coming-panel > div > p:last-child { font-size: 16px; }
  .related { padding-block: 50px; }
  .related p:last-child { font-size: 16px; }
  .footer { flex-direction: column; gap: 18px; font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  .demo-visual .demo-animation { display: none; }
  .demo-visual .demo-still { display: block; }
}
