@charset "UTF-8";
:root { color-scheme: dark; --ink: #11120f; --paper: #eeede5; --orange: #ff4c23; --muted: #b0b0a6; --line: #eeede529; }
* { box-sizing: border-box; }
html { background: var(--ink); scroll-behavior: smooth; scroll-padding-top: 32px; }
body { margin: 0; color: var(--paper); font: 16px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
a:hover { color: var(--orange); }
a:focus-visible { outline: 2px solid var(--orange); outline-offset: 5px; }
code { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .87em; }
p { margin: 0 0 20px; }
h1, h2, h3 { line-height: 1.08; letter-spacing: -.04em; }
.skip-link { position: absolute; z-index: 2; top: -80px; left: 16px; padding: 8px 16px; background: var(--paper); color: var(--ink); }
.skip-link:focus { top: 16px; }
.creator-header, main, .creator-footer { width: min(1160px, calc(100% - 80px)); margin-inline: auto; }
.creator-header { display: flex; justify-content: space-between; align-items: center; min-height: 128px; border-bottom: 1px solid var(--line); gap: 24px; }
.creator-brand { display: block; width: 108px; flex-shrink: 0; }
.creator-brand img { display: block; width: 100%; height: auto; }
.creator-header nav { display: flex; align-items: center; gap: 28px; font-size: 13px; font-weight: 650; }
.creator-header nav a { text-decoration: none; }
.small-button { padding: 10px 16px; border: 1px solid var(--line); border-radius: 4px; }
.small-button span { margin-left: 10px; }
.creator-hero { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 70px; align-items: center; padding: 84px 0 100px; }
.eyebrow, .card-label, .section-number { color: var(--orange); font-size: 11px; font-weight: 800; letter-spacing: .12em; line-height: 1.5; }
.creator-hero h1 { margin: 0 0 26px; font-size: clamp(50px, 5.6vw, 76px); font-weight: 800; }
.creator-hero h1 span { color: var(--orange); }
.hero-copy { color: var(--muted); font-size: 18px; max-width: 520px; }
.hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 30px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 20px; padding: 13px 19px; border: 1px solid var(--orange); border-radius: 4px; background: var(--orange); color: var(--ink); font-size: 14px; font-weight: 750; text-decoration: none; line-height: 1.4; }
.button:hover { color: var(--ink); background: #ff734f; }
.text-link { font-size: 13px; font-weight: 650; }
.text-link span { margin-left: 7px; }
.fairness-card { position: relative; padding: 32px 24px 20px; background: var(--paper); color: var(--ink); border-radius: 8px; box-shadow: 12px 12px 0 #ff4c232e; text-align: center; }
.card-label { color: #ac3218; margin-bottom: 24px; }
.seed-token { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 11px 20px; border: 1px solid #11120f30; background: #fffef6; border-radius: 4px; }
.seed-token > span { color: var(--orange); font-size: 24px; line-height: 1; }
.seed-token code { font-size: 14px; font-weight: 750; }
.course-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 30px 0 20px; padding-top: 24px; border-top: 1px dashed #11120f4a; }
.course-pair > div > span { display: block; margin-top: 12px; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.mini-course { position: relative; height: 124px; overflow: hidden; border: 2px solid var(--ink); border-radius: 5px; background: repeating-linear-gradient(90deg, transparent 0, transparent calc(33.33% - 1px), #11120f20 calc(33.33% - 1px), #11120f20 33.33%); }
.mini-course i { position: absolute; width: 24%; height: 15px; border-radius: 3px; background: var(--ink); }
.mini-course i:nth-child(1) { top: 15px; left: 4%; }
.mini-course i:nth-child(2) { top: 15px; right: 4%; }
.mini-course i:nth-child(3) { top: 52px; left: 38%; }
.mini-course i:nth-child(4) { top: 89px; right: 4%; }
.mini-course b { position: absolute; height: 17px; width: 17px; bottom: 12px; left: 10%; border-radius: 50%; background: var(--orange); border: 2px solid var(--ink); }
.fairness-card > p:last-child { font-size: 14px; font-weight: 650; line-height: 1.5; }
.guide-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 80px; }
.guide-index { align-self: start; position: sticky; top: 32px; padding-top: 4px; }
.guide-index nav { display: grid; gap: 15px; margin-top: 25px; }
.guide-index nav a { font-size: 13px; font-weight: 550; text-decoration: none; }
.guide-index nav span { margin-right: 12px; color: #77786e; font-size: 11px; }
.manifest-link { display: inline-block; padding-top: 22px; margin-top: 28px; border-top: 1px solid var(--line); font-size: 12px; font-weight: 650; }
.manifest-link span { margin-left: 14px; }
.guide-section { padding-bottom: 58px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.section-number { margin-bottom: 16px; }
.guide-section h2 { margin: 0 0 25px; font-size: clamp(30px, 3.1vw, 41px); font-weight: 750; }
.guide-section > p:not(.section-number), .guide-section li { color: var(--muted); }
.guide-section > p a, .inline-note a { color: var(--paper); }
.guide-section p code { padding: 2px 4px; color: var(--paper); background: #eeede511; border-radius: 2px; }
.resource-grid, .polish-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 28px 0; }
.resource { padding: 20px; border: 1px solid var(--line); border-radius: 4px; text-decoration: none; }
.resource:hover { border-color: var(--orange); }
.resource > span { display: block; font-size: 9px; font-weight: 750; letter-spacing: .1em; color: var(--muted); }
.resource strong { display: flex; justify-content: space-between; gap: 10px; margin: 6px 0 10px; font-size: 15px; }
.resource strong span { color: var(--orange); }
.resource p { color: var(--muted); margin: 0; font-size: 12px; line-height: 1.5; }
.local-setup { margin: 25px 0; border: 1px solid var(--line); border-radius: 4px; padding: 16px 20px; }
.local-setup summary { cursor: pointer; font-size: 13px; font-weight: 650; }
.local-setup summary::marker { color: var(--orange); }
.local-setup summary:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.local-setup[open] summary { margin-bottom: 18px; }
.local-setup p { color: var(--muted); font-size: 13px; }
.local-setup p:last-child { margin-bottom: 0; }
.table-scroll { overflow-x: auto; margin: 28px 0; }
table { width: 100%; text-align: left; border-collapse: collapse; font-size: 13px; line-height: 1.6; }
caption { text-align: left; font-size: 11px; font-weight: 650; margin-bottom: 12px; color: var(--muted); }
thead th { padding: 12px; background: #eeede50d; border-top: 1px solid var(--line); }
tbody th, tbody td { border-bottom: 1px solid var(--line); padding: 13px 12px; vertical-align: top; }
tbody th { white-space: nowrap; }
tbody td { color: var(--muted); }
table code { font-size: 12px; }
.inline-note { border-left: 3px solid var(--orange); background: #eeede509; padding: 17px 20px; margin: 26px 0; border-radius: 0 4px 4px 0; }
.inline-note strong { font-size: 13px; }
.inline-note p { margin: 6px 0 0; color: var(--muted); font-size: 13px; }
pre { margin: 26px 0; padding: 22px; background: #eeede50b; border: 1px solid var(--line); border-radius: 4px; overflow-x: auto; font-size: 13px; line-height: 1.75; }
pre code { font-size: inherit; }
.checklist { list-style: none; padding: 0; margin: 26px 0; }
.checklist li { position: relative; padding-left: 25px; margin-bottom: 12px; }
.checklist li::before { content: "+"; position: absolute; left: 0; color: var(--orange); font-weight: 750; }
.polish-grid > div { border: 1px solid var(--line); border-radius: 4px; padding: 20px; }
.polish-grid h3 { font-size: 17px; margin: 0 0 12px; letter-spacing: -.02em; }
.polish-grid p { font-size: 13px; color: var(--muted); margin: 0; }
.prompt-block { color: var(--paper); border-color: #ff4c2357; }
.submission-section { margin-bottom: 0; border-bottom: 0; }
.submission-steps { padding-left: 22px; margin: 28px 0; }
.submission-steps li { padding-left: 8px; margin-bottom: 15px; }
.submission-steps li::marker { color: var(--orange); font-weight: 750; }
.submission-steps strong { color: var(--paper); }
.submission-note { font-size: 13px; }
.repository-submission { padding: 26px; margin: 30px 0; border: 1px solid #ff4c2366; border-radius: 6px; background: #eeede509; }
.repository-submission h3 { margin: 0 0 22px; font-size: 24px; }
.repository-submission label { display: block; margin-bottom: 8px; font-size: 13px; font-weight: 650; }
.repository-submission input[type="url"] { display: block; width: 100%; min-width: 0; padding: 13px 14px; border: 1px solid var(--line); border-radius: 4px; background: var(--ink); color: var(--paper); font: inherit; font-size: 16px; }
.repository-submission input:focus-visible, .repository-submission button:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.repository-submission > p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }
.repository-feedback { min-height: 28px; margin: 14px 0 16px; font-size: 13px; overflow-wrap: anywhere; }
.repository-feedback[data-state="error"] { color: #ffbba8; }
.repository-feedback[data-state="success"] { color: #d6ef67; }
.repository-feedback a { color: var(--paper); font-weight: 650; }
.repository-submission button { min-height: 44px; font-family: inherit; cursor: pointer; }
.repository-submission button:disabled { opacity: .65; cursor: wait; }
.manifest-example pre { margin-bottom: 0; }
.creator-footer { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; padding: 26px 0 36px; border-top: 1px solid var(--line); font-size: 11px; color: var(--muted); }
.creator-footer > span { margin-right: auto; }
.starter-preview { max-width: 700px; margin: 40px auto; padding: 0 20px; }
.starter-preview h1 { margin-bottom: 18px; }
.starter-preview canvas { display: block; width: min(100%, 540px); height: auto; aspect-ratio: 3 / 4; margin: 24px auto; border: 1px solid var(--line); border-radius: 6px; touch-action: none; background: #211f32; }
.starter-preview form { display: flex; flex-wrap: wrap; gap: 14px; align-items: end; margin: 24px 0; }
.starter-preview label { display: grid; gap: 5px; font-size: 13px; }
.starter-preview input { border: 1px solid var(--line); border-radius: 4px; background: #eeede509; color: var(--paper); padding: 10px 12px; font: inherit; max-width: 100%; }
.starter-preview button { border: 1px solid var(--orange); border-radius: 4px; background: var(--orange); color: var(--ink); font: 750 14px/1.4 system-ui, sans-serif; padding: 11px 17px; cursor: pointer; }
.starter-preview button:focus-visible, .starter-preview input:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
@media (min-width: 761px) {
  .starter-preview { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(0, 1fr); column-gap: 32px; align-items: start; max-width: 1080px; margin-block: 24px; }
  .starter-preview > :not(canvas) { grid-column: 1; }
  .starter-preview canvas { grid-column: 2; grid-row: 1 / 7; width: min(100%, calc((100svh - 48px) * .75)); margin: 0 auto; }
}
@media (max-width: 1000px) {
  .creator-hero { gap: 38px; }
  .guide-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 40px; }
  .fairness-card { padding: 26px 18px 16px; }
  .course-pair { gap: 14px; }
}
@media (max-width: 760px) {
  .creator-header, main, .creator-footer { width: min(100% - 40px, 580px); }
  .creator-header { min-height: 96px; gap: 16px; }
  .creator-brand { width: 80px; }
  .creator-header nav { gap: 16px; font-size: 11px; }
  .creator-header nav > a:first-child { display: none; }
  .creator-header nav > a:nth-child(2) { display: none; }
  .small-button { padding: 9px 11px; }
  .creator-hero { grid-template-columns: minmax(0, 1fr); gap: 38px; padding: 48px 0 65px; }
  .creator-hero h1 { font-size: clamp(48px, 10vw, 68px); }
  .hero-copy { font-size: 16px; }
  .hero-actions { gap: 18px; margin-top: 25px; }
  .fairness-card { max-width: 360px; padding: 26px; width: 100%; justify-self: center; }
  .course-pair { gap: 24px; }
  .guide-layout { display: block; }
  .guide-index { position: static; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 25px 0; margin-bottom: 45px; }
  .guide-index nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 12px; margin-top: 20px; }
  .guide-index nav a { font-size: 12px; }
  .guide-index nav span { margin-right: 7px; }
  .manifest-link { margin-top: 18px; padding-top: 0; border: 0; }
  .guide-section { margin-bottom: 36px; padding-bottom: 32px; }
  .guide-section h2 { font-size: 31px; }
  .guide-section p, .guide-section li { font-size: 15px; }
  .resource-grid, .polish-grid { gap: 12px; }
  .resource, .polish-grid > div { padding: 15px; }
  .resource strong { font-size: 12px; }
  .resource p, .polish-grid p, .inline-note p { font-size: 12px; }
  .polish-grid h3 { font-size: 15px; }
  pre { padding: 16px; font-size: 11px; }
  tbody th, tbody td, thead th { padding-inline: 8px; }
  table code { font-size: 10px; }
  .creator-footer { gap: 18px; font-size: 10px; }
  .creator-footer > span { width: 100%; }
  .repository-submission { padding: 20px 16px; }
  .repository-submission .button { width: 100%; }
}
@media (max-width: 370px) {
  .creator-header, main, .creator-footer { width: calc(100% - 32px); }
  .resource-grid, .polish-grid { grid-template-columns: minmax(0, 1fr); }
  .resource strong { font-size: 14px; }
  .guide-index nav { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
