/* sudostudios.org: one stylesheet. Same dark look as owencosta.diy, with SudoStudios green as the one accent. */
:root {
  --bg: #07080a;
  --surface: #12151a;
  --surface-2: #1b1f26;
  --line: #262b33;
  --text: #f1f3f6;
  --sub: #8b93a0;
  --dim: #5f636e;
  --accent: #4ade80;
  --accent-soft: rgba(74, 222, 128, 0.55);
  --sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 10px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 15.5px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { max-width: 100%; }
a { color: var(--text); text-decoration-color: var(--accent-soft); text-underline-offset: 3px; }
a:hover { color: #fff; }
h1, h2, h3 { line-height: 1.2; margin: 0; font-weight: 600; letter-spacing: -0.02em; }
p { margin: 0 0 12px; }
b, strong { font-weight: 600; }
.wrap { width: 100%; max-width: 1040px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--sub); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #07080a; padding: 8px 12px; border-radius: 8px; z-index: 10; }
.skip:focus { left: 8px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Header */
.top { position: sticky; top: 0; z-index: 5; background: rgba(7, 8, 10, 0.92); backdrop-filter: blur(6px); }
.top .wrap { display: flex; align-items: center; gap: 16px; min-height: 60px; }
.brand { color: var(--text); text-decoration: none; font-weight: 700; font-size: 17px; letter-spacing: -0.02em; white-space: nowrap; margin-right: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { color: var(--sub); text-decoration: none; font-size: 14px; padding: 8px 9px; border-radius: 8px; white-space: nowrap; }
.nav a:hover { color: var(--text); }
.pill { display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px; border-radius: 8px; background: var(--surface-2);
        color: var(--text); text-decoration: none; font-size: 13px; font-weight: 600; white-space: nowrap; }
.pill:hover { background: rgba(255, 255, 255, 0.14); color: #fff; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--text); border-radius: 8px;
            padding: 7px 12px; font: 600 14px var(--sans); cursor: pointer; }
@media (max-width: 760px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch;
         gap: 0; padding: 8px 20px 14px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a { padding: 12px 10px; font-size: 16px; }
  .top .pill { display: none; }
}

/* Buttons: white for the main action, glass for the rest */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; padding: 10px 20px; border-radius: 8px; border: 0;
       background: rgba(255, 255, 255, 0.12); color: var(--text); text-decoration: none; font: 600 14px/1.2 var(--sans); white-space: nowrap; cursor: pointer; }
.btn:hover { background: rgba(255, 255, 255, 0.2); color: var(--text); }
.btn.primary { background: var(--text); color: #08090b; }
.btn.primary:hover { background: #fff; color: #08090b; }
.row { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }

/* Sections run on without rules between them */
section { padding: 44px 0; }
.head { margin-bottom: 24px; }
.head h2 { font-size: 22px; }
.head p { color: var(--sub); max-width: 46em; margin: 10px 0 0; }

/* Intro */
.intro { padding-top: 72px; padding-bottom: 40px; }
.intro h1 { font-size: clamp(40px, 7vw, 60px); letter-spacing: -0.03em; margin: 10px 0 18px; }
.intro p { font-size: 17px; color: #c9d0d8; max-width: 38em; }
.intro p strong { color: var(--text); }
.intro .row { margin-top: 26px; }

/* The game */
.feature { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.shot { display: block; border: 1px solid rgba(255, 255, 255, 0.06); border-radius: 12px; overflow: hidden; background: #000; }
.shot img { display: block; width: 100%; height: auto; }
.feature h3 { font-size: 28px; margin: 4px 0 12px; }
.feature p { color: var(--sub); }
.kind { color: var(--sub); font-size: 14px; margin-bottom: 4px; }
.facts { display: flex; flex-wrap: wrap; gap: 6px 8px; margin: 16px 0 22px; padding: 0; list-style: none; }
.facts li { font-size: 12.5px; line-height: 1.4; color: var(--sub); border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; white-space: nowrap; }
.facts b { color: var(--text); }
@media (max-width: 820px) { .feature { grid-template-columns: minmax(0, 1fr); gap: 22px; } }

/* How it plays */
.job { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 24px; padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, 0.05); }
.job:first-of-type { border-top: 0; padding-top: 0; }
.job h3 { font-size: 18px; }
.job p { color: var(--sub); margin: 0; max-width: 40em; }
@media (max-width: 640px) { .job { grid-template-columns: minmax(0, 1fr); gap: 4px; } }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.shots figure { margin: 0; }
.shots figcaption { color: var(--sub); font-size: 13.5px; margin-top: 8px; }
@media (max-width: 820px) { .shots { grid-template-columns: minmax(0, 1fr); } }

/* Community */
.callout { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
           background: var(--surface); border: 1px solid rgba(255, 255, 255, 0.06); border-radius: var(--radius); padding: 26px; }
.callout h2 { font-size: 22px; margin-bottom: 6px; }
.callout p { color: var(--sub); margin: 0; max-width: 40em; }
.callout + .callout { margin-top: 16px; }

/* Footer */
footer { border-top: 1px solid rgba(255, 255, 255, 0.05); padding: 28px 0 44px; color: var(--dim); font-size: 13px; }
footer .wrap { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 18px; }
footer a { color: var(--sub); text-decoration: none; }
footer a:hover { color: var(--text); }
footer p { margin: 0; max-width: 46em; }

/* 404 */
.lost { padding-top: 110px; padding-bottom: 110px; }
.lost h1 { font-size: 40px; margin-bottom: 12px; }
.lost p { color: var(--sub); }
