:root {
  color-scheme: dark;
  --page: #0d1117;
  --panel: #161b22;
  --panel-raised: #1c2129;
  --border: #30363d;
  --muted-border: #21262d;
  --text: #e6edf3;
  --muted: #9198a1;
  --subtle: #6e7681;
  --purple: #a78bfa;
  --purple-bright: #c4b5fd;
  --green: #3fb950;
  --blue: #79c0ff;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 74px; }
body { margin: 0; background: var(--page); color: var(--text); font-size: 14px; line-height: 1.6; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--purple); outline-offset: 4px; border-radius: 4px; }
.container { width: min(1120px, calc(100% - 48px)); margin-inline: auto; }
.skip-link { position: absolute; top: -50px; left: 16px; z-index: 20; padding: 8px 12px; background: var(--text); color: var(--page); }
.skip-link:focus { top: 12px; }
.site-header { position: sticky; top: 0; z-index: 10; height: 64px; border-bottom: 1px solid var(--border); background: rgba(13, 17, 23, .94); backdrop-filter: blur(12px); }
.header-inner { display: flex; align-items: center; width: min(1240px, calc(100% - 48px)); height: 100%; margin: auto; gap: 30px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-size: 16px; font-weight: 700; letter-spacing: -.3px; white-space: nowrap; }
.brand img { width: 20px; height: 30px; object-fit: contain; }
.brand-ai { color: var(--purple-bright); }
.site-nav { display: flex; align-self: stretch; gap: 22px; }
.site-nav a { position: relative; display: inline-flex; align-items: center; color: var(--muted); text-decoration: none; font-size: 13px; }
.site-nav a:hover, .site-nav a.active { color: var(--text); }
.site-nav a.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 2px; background: #f78166; content: ""; }
.header-download { display: inline-flex; min-height: 38px; align-items: center; justify-content: center; margin-left: auto; padding: 0 16px; border: 1px solid #8b78df; border-radius: 7px; background: #7259d8; color: #fff; box-shadow: 0 6px 22px rgba(114, 89, 216, .2); text-decoration: none; font-size: 12px; font-weight: 650; white-space: nowrap; transition: background .16s ease, transform .16s ease; }
.header-download:hover { transform: translateY(-1px); background: #8168e8; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(340px, .82fr); align-items: center; gap: 60px; padding-block: 74px 64px; }
.hero-copy { max-width: 610px; }
.eyebrow { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 12px; font-weight: 600; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 12px rgba(63, 185, 80, .35); }
h1 { margin: 19px 0 18px; font-size: clamp(42px, 6vw, 65px); line-height: 1.04; letter-spacing: -3.2px; font-weight: 750; }
h1 span { color: var(--purple-bright); }
.hero-lede { max-width: 570px; margin: 0; color: #aeb6c1; font-size: 16px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 12px; padding: 0 17px; border: 1px solid var(--border); border-radius: 7px; text-decoration: none; font-size: 13px; font-weight: 650; transition: transform .16s ease, border-color .16s ease, background .16s ease; }
.button:hover { transform: translateY(-1px); border-color: #8b78df; }
.button-primary { border-color: #8b78df; background: #7259d8; color: #fff; box-shadow: 0 6px 22px rgba(114, 89, 216, .2); }
.button-primary:hover { background: #8168e8; }
.button-quiet { background: var(--panel); color: var(--text); }
.hero-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 25px; color: var(--subtle); font-size: 11px; }
.hero-meta i { width: 3px; height: 3px; border-radius: 50%; background: #484f58; }
.hero-art { overflow: hidden; border: 1px solid #3b315a; border-radius: 13px; background: linear-gradient(145deg, #1d1b2b, #12161d 64%); box-shadow: 0 25px 80px rgba(0, 0, 0, .35), 0 0 55px rgba(122, 91, 220, .09); transform: rotate(1deg); }
.window-bar { display: flex; height: 42px; align-items: center; gap: 12px; padding: 0 14px; border-bottom: 1px solid #302c3f; color: #b7b2c7; font-size: 10px; }
.window-dots { display: flex; gap: 5px; }
.window-dots i { width: 7px; height: 7px; border-radius: 50%; background: #555066; }
.window-dots i:first-child { background: #ed8f8b; }
.window-dots i:nth-child(2) { background: #e3b341; }
.window-dots i:last-child { background: #3fb950; }
.window-lock { margin-left: auto; color: var(--green); font-size: 8px; }
.mock-chat { padding: 22px 24px 18px; }
.mock-brand { display: flex; align-items: center; gap: 8px; color: #dedbe8; font-size: 10px; font-weight: 650; }
.mock-brand img { width: 11px; height: 18px; object-fit: contain; }
.mock-brand small { margin-left: auto; color: #827c99; font-size: 7px; letter-spacing: 1px; }
.mock-greeting { margin-top: 22px; color: #f1eff7; font-size: 21px; font-weight: 650; letter-spacing: -.6px; }
.mock-subtitle { margin-top: 4px; color: #8e899f; font-size: 10px; }
.mock-user { width: fit-content; max-width: 80%; margin: 22px 0 19px auto; padding: 9px 12px; border: 1px solid #544576; border-radius: 10px 10px 3px 10px; background: #27213c; color: #e8e2ff; font-size: 10px; }
.mock-answer { display: flex; gap: 9px; color: #e2dfeb; font-size: 10px; }
.answer-mark { display: grid; width: 19px; height: 24px; flex: 0 0 auto; place-items: center; }
.answer-mark img { width: 11px; height: 19px; object-fit: contain; }
.mock-answer strong { font-size: 9px; }
.mock-answer p { margin: 4px 0 0; color: #b4b0bf; line-height: 1.6; }
.mock-input { display: flex; min-height: 40px; align-items: center; justify-content: space-between; margin-top: 23px; padding: 0 9px 0 12px; border: 1px solid #484257; border-radius: 8px; background: #22212b; color: #817c8c; font-size: 9px; }
.mock-input b { display: grid; width: 22px; height: 22px; place-items: center; border-radius: 6px; background: var(--purple); color: #171323; font-size: 14px; }
.mock-foot { display: flex; align-items: center; gap: 5px; padding: 10px 2px 0; color: #777383; font-size: 8px; }
.mock-foot span { color: #9c8bda; }
.repo-strip { display: flex; min-height: 61px; align-items: center; justify-content: space-between; gap: 16px; padding: 0 16px; border: 1px solid var(--border); border-radius: 8px 8px 0 0; background: #11161d; }
.repo-name, .repo-facts { display: flex; align-items: center; gap: 10px; }
.repo-name { font-size: 13px; }
.repo-icon { display: grid; width: 22px; height: 22px; place-items: center; border: 1px solid #4f407c; border-radius: 6px; background: #211b34; color: var(--purple-bright); font-size: 11px; font-weight: 750; }
.visibility { padding: 1px 7px; border: 1px solid #3d444d; border-radius: 20px; color: var(--muted); font-size: 10px; }
.repo-facts { color: var(--muted); font-size: 11px; }
.repo-facts b { color: #d29922; font-size: 10px; }
.content-grid { display: grid; grid-template-columns: minmax(0, 1fr) 285px; align-items: start; gap: 22px; margin-bottom: 64px; }
.readme, .side-card { border: 1px solid var(--border); border-radius: 7px; background: var(--page); }
.readme { overflow: hidden; }
.readme-head { display: flex; height: 49px; align-items: center; gap: 9px; padding: 0 16px; border-bottom: 1px solid var(--border); background: #11161d; font-size: 11px; }
.readme-icon { color: var(--muted); font-size: 16px; }
.readme-dots { margin-left: auto; color: var(--muted); font-size: 20px; letter-spacing: 2px; }
.readme-body { padding: 28px 32px 32px; }
.readme-kicker { color: var(--purple-bright); font-size: 9px; font-weight: 750; letter-spacing: 1.5px; }
.readme-body h2 { margin: 7px 0 9px; font-size: 25px; letter-spacing: -.7px; }
.readme-body > p { max-width: 650px; margin: 0; color: #aeb6c1; font-size: 13px; line-height: 1.8; }
.readme-body hr, .side-rule { height: 1px; margin: 25px 0; border: 0; background: var(--border); }
.readme-body h3 { margin: 0 0 15px; font-size: 17px; letter-spacing: -.25px; }
.feature-list { display: grid; gap: 8px; }
.feature-row { display: flex; gap: 12px; padding: 12px; border: 1px solid var(--muted-border); border-radius: 7px; background: #0f141a; }
.feature-icon { display: grid; width: 29px; height: 29px; flex: 0 0 auto; place-items: center; border-radius: 7px; font-size: 14px; }
.feature-icon.purple { background: #28213d; color: var(--purple-bright); }
.feature-icon.green { background: #172a21; color: #7ee787; }
.feature-icon.blue { background: #172636; color: var(--blue); }
.feature-row h4 { margin: 0; font-size: 12px; font-weight: 650; }
.feature-row p { margin: 4px 0 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.download-status { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 40px; margin-bottom: 48px; padding: 24px; border: 1px solid #44386d; border-left: 3px solid #8b78df; border-radius: 10px; background: linear-gradient(110deg, #171421, #10151c 75%); }
.download-status-main { width: 100%; max-width: none; }
.download-status-kicker { color: var(--purple-bright); font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.download-status h2 { margin: 5px 0 7px; font-size: 21px; }
.download-status p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.download-status-details { display: grid; justify-items: start; gap: 9px; color: var(--subtle); font-size: 10px; white-space: nowrap; }
.download-status-details strong { margin-left: 5px; color: var(--text); font-weight: 600; }
.download-badge { padding: 6px 9px; border: 1px solid #514572; border-radius: 999px; background: #282139; color: #d5c7ff; font-size: 10px; font-weight: 650; }
.download-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-top: 20px; }
.download-option { padding: 17px; border: 1px solid var(--border); border-radius: 8px; background: rgba(13, 17, 23, .62); }
.download-option h3 { margin: 12px 0 5px; font-size: 15px; }
.download-option > p { min-height: 42px; margin: 0; color: var(--muted); font-size: 11px; line-height: 1.65; }
.download-option > .button { margin-top: 14px; }
.linux-command-actions { display: flex; align-items: center; gap: 8px; margin-top: 12px; color: var(--subtle); font-size: 10px; }
.copy-command-button { min-height: 30px; margin-left: auto; padding: 0 10px; font: inherit; cursor: pointer; }
.copy-command-status { color: #7ee787; }
.linux-command { max-width: 100%; overflow-x: auto; margin: 12px 0; padding: 12px; border: 1px solid var(--border); border-radius: 6px; background: #0d1117; }
.linux-command code { display: block; padding: 0; border: 0; background: transparent; color: var(--text); font-size: 10px; line-height: 1.7; white-space: pre; }
.setup-list { display: grid; gap: 13px; margin: 0; padding: 0; list-style: none; }
.setup-list li { display: flex; align-items: flex-start; gap: 11px; }
.setup-list li > span { display: grid; width: 22px; height: 22px; flex: 0 0 auto; place-items: center; border: 1px solid #594990; border-radius: 50%; color: var(--purple-bright); font-size: 10px; font-weight: 700; }
.setup-list strong { font-size: 12px; }
.setup-list p { margin: 3px 0 0; color: var(--muted); font-size: 11px; line-height: 1.6; }
code { padding: 2px 5px; border: 1px solid #30363d; border-radius: 4px; background: #161b22; color: #ff9bce; font-family: ui-monospace, SFMono-Regular, Consolas, monospace; font-size: .92em; }
.callout { display: flex; gap: 10px; margin-top: 20px; padding: 12px; border: 1px solid #3b315a; border-radius: 7px; background: #171421; }
.callout-icon { display: grid; width: 18px; height: 18px; flex: 0 0 auto; place-items: center; border: 1px solid #806ad2; border-radius: 50%; color: var(--purple-bright); font-size: 10px; }
.callout p { margin: 0; color: #aaa4bd; font-size: 10px; line-height: 1.65; }
.callout strong { color: #ded7ff; }
.project-sidebar { display: grid; gap: 15px; }
.side-card { padding: 17px; }
.side-card h3 { margin: 0 0 8px; font-size: 13px; }
.side-card > p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.topic-list { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 13px; }
.topic-list span { padding: 3px 8px; border-radius: 20px; background: #1b2540; color: #8bb9ff; font-size: 9px; font-weight: 600; }
.side-rule { margin: 15px 0 12px; }
.side-item { display: flex; align-items: center; gap: 9px; margin-top: 9px; color: var(--muted); font-size: 10px; }
.side-item span:first-child { width: 14px; color: var(--subtle); text-align: center; }
.site-footer { display: flex; min-height: 72px; align-items: center; justify-content: space-between; gap: 12px; border-top: 1px solid var(--border); color: var(--subtle); font-size: 10px; }
.footer-brand { display: inline-flex; align-items: center; gap: 7px; color: #abb3bd; text-decoration: none; font-weight: 600; }
.footer-brand img { width: 11px; height: 18px; object-fit: contain; }
.site-footer > a:last-child { color: var(--muted); text-decoration: none; }
.mascot-greeting { display: flex; width: min(100% - 48px, 430px); align-items: center; gap: 8px; margin: 0 auto 24px; overflow: hidden; border: 1px solid #43366b; border-radius: 18px; background: radial-gradient(ellipse at 32% 5%, #28203f 0, #11151e 62%); }
.mascot-art { width: 168px; height: 150px; flex: 0 0 168px; margin-top: 4px; overflow: visible; }
.mascot-wave { transform-box: view-box; transform-origin: 125px 119px; animation: mascot-wave 1.8s ease-in-out infinite; }
.mascot-greeting p { display: grid; gap: 5px; margin: 0; }
.mascot-greeting strong { color: #e6ddff; font-size: 14px; }
.mascot-greeting p span { color: var(--muted); font-size: 12px; }
@keyframes mascot-wave {
  0%, 100% { transform: rotate(0); }
  20%, 55% { transform: rotate(-12deg); }
  38%, 72% { transform: rotate(9deg); }
}

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 34px; padding-block: 55px 45px; }
  .hero-art { width: min(480px, 100%); margin: 0 auto; }
  .content-grid { grid-template-columns: 1fr; }
  .project-sidebar { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .project-sidebar .side-card:last-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .container, .header-inner { width: min(100% - 30px, 1120px); }
  .header-inner { gap: 8px; }
  .brand { gap: 7px; font-size: 14px; }
  .brand img { width: 17px; height: 26px; }
  .site-nav { gap: 8px; }
  .site-nav a { font-size: 10px; }
  .header-download { min-height: 34px; padding-inline: 10px; font-size: 10px; }
  .hero { padding-block: 43px 36px; }
  h1 { font-size: clamp(39px, 12vw, 54px); letter-spacing: -2.7px; }
  .hero-lede { font-size: 14px; }
  .hero-meta { gap: 7px; font-size: 9px; }
  .repo-strip { align-items: flex-start; flex-direction: column; justify-content: center; gap: 7px; padding-block: 10px; }
  .repo-facts { flex-wrap: wrap; font-size: 9px; }
  .readme-body { padding: 22px 17px; }
  .readme-body h2 { font-size: 21px; }
  .project-sidebar { grid-template-columns: 1fr; }
  .project-sidebar .side-card:last-child { grid-column: auto; }
  .download-options { grid-template-columns: 1fr; }
  .download-option > p { min-height: 0; }
  .download-status { align-items: flex-start; flex-direction: column; gap: 16px; margin-top: 24px; padding: 18px; }
  .download-status h2 { font-size: 18px; }
  .site-footer { flex-wrap: wrap; padding-block: 15px; }
  .site-footer > span { order: 3; width: 100%; }
  .mascot-greeting { width: min(100% - 30px, 430px); margin-bottom: 18px; }
  .mascot-art { width: 132px; height: 118px; flex-basis: 132px; }
  .mascot-greeting strong { font-size: 12px; }
  .mascot-greeting p span { font-size: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
