/* ThirtySix Studios. One accent color, system type, no framework. */
:root {
  --ink: #0A0A0B;
  --ink-2: #141416;
  --ink-3: #1E1E22;
  --line-dark: rgba(255, 255, 255, 0.10);
  --paper: #F6F6F3;
  --paper-2: #FFFFFF;
  --line-light: rgba(10, 10, 11, 0.10);
  --text-dark: #F5F5F4;
  --muted-dark: #A1A1A8;
  --text-light: #0A0A0B;
  --muted-light: #5E5E66;
  --accent: #C9FF3C;
  --accent-ink: #0A0A0B;
  --radius: 14px;
  --radius-sm: 8px;
  --font: -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --wrap: 1120px;
  --gutter: 20px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.55;
  color: var(--text-light);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p, dl, dd { margin: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.section--light :focus-visible, .legal :focus-visible, .site-header--light :focus-visible, .section--accent :focus-visible, .skip:focus-visible { outline-color: var(--ink); }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--accent); color: var(--accent-ink); padding: 10px 14px; border-radius: var(--radius-sm);
  font-weight: 700; text-decoration: none;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }
.wrap--narrow { max-width: 760px; }

/* Header */
.site-header { position: relative; z-index: 10; }
.site-header--dark { background: var(--ink); color: var(--text-dark); }
.site-header--light { background: var(--paper); color: var(--text-light); border-bottom: 1px solid var(--line-light); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: -0.01em; color: inherit; }
.brand-mark { flex: none; color: var(--accent); --logo-ink: var(--accent-ink); }
.brand-name { font-size: 17px; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 15px; padding: 8px 12px; border-radius: 999px; color: inherit; opacity: 0.85; }
.site-nav a:hover { opacity: 1; background: rgba(127, 127, 127, 0.12); }
.site-nav .nav-cta { opacity: 1; background: var(--accent); color: var(--accent-ink); margin-left: 6px; }
.site-nav .nav-cta:hover { background: #d8ff6e; }
@media (max-width: 640px) {
  .brand-name { display: none; }
  .site-nav { gap: 0; }
  .site-nav a { font-size: 14px; padding: 8px 9px; }
  .site-nav .nav-cta { margin-left: 4px; padding: 8px 12px; }
}
@media (max-width: 400px) {
  .header-inner { flex-wrap: wrap; height: auto; padding: 12px 0; row-gap: 4px; }
  .site-nav { flex-basis: 100%; justify-content: space-between; }
  .site-nav a { padding: 8px 6px; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 22px; border-radius: 999px; font-weight: 700; font-size: 16px; text-decoration: none;
  border: 1.5px solid transparent; transition: transform 0.2s var(--ease), background 0.2s var(--ease), border-color 0.2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn--accent { background: var(--accent); color: var(--accent-ink); }
.btn--accent:hover { background: #d8ff6e; }
.btn--ghost { color: var(--text-dark); border-color: rgba(255, 255, 255, 0.25); }
.btn--ghost:hover { border-color: rgba(255, 255, 255, 0.6); }
.btn--dark { background: var(--ink); color: var(--text-dark); }
.btn--dark:hover { background: var(--ink-3); }

/* Type */
.eyebrow {
  font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600; color: var(--accent); margin-bottom: 18px;
}
.section--light .eyebrow, .legal .eyebrow { color: var(--muted-light); }
.eyebrow--dark, .section--accent .eyebrow { color: rgba(10, 10, 11, 0.7); }
.section-title { font-size: clamp(1.75rem, 3.6vw, 2.75rem); line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; max-width: 20ch; }
.section-lede { margin-top: 18px; font-size: 1.125rem; max-width: 56ch; color: var(--muted-light); }
.section--dark .section-lede { color: var(--muted-dark); }

/* Hero */
.hero { background: var(--ink); color: var(--text-dark); padding: 48px 0 72px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 30%, rgba(201, 255, 60, 0.10), transparent 70%),
    linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.25));
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.hero-title { font-size: clamp(2.75rem, 8vw, 5.75rem); line-height: 0.98; letter-spacing: -0.035em; font-weight: 800; max-width: 12ch; }
.hero-sub { margin-top: 24px; font-size: clamp(1.125rem, 2vw, 1.375rem); color: var(--muted-dark); max-width: 36ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.hero-legend { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 36px; font-size: 13px; color: var(--muted-dark); }
.legend { display: inline-flex; align-items: center; gap: 8px; }
.legend::before { content: ""; width: 12px; height: 12px; border-radius: 3px; }
.legend--live::before { background: var(--accent); }
.legend--dev::before { border: 1.5px dashed rgba(255, 255, 255, 0.55); }
.legend--empty::before { border: 1px solid rgba(255, 255, 255, 0.18); }

.hero-slots { width: 100%; max-width: 480px; margin: 0 auto; }
.slots {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: clamp(5px, 1.4vw, 10px);
  aspect-ratio: 1; width: 100%;
}
.slot { position: relative; aspect-ratio: 1; }
.slot-inner {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  border-radius: clamp(6px, 1.6vw, 12px); text-decoration: none; color: inherit;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), border-color 0.25s var(--ease);
}
.slot--empty .slot-inner { border: 1px solid rgba(255, 255, 255, 0.12); background: rgba(255, 255, 255, 0.015); }
.slot--empty .slot-inner::after {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.28); opacity: 0;
}
.slot--live .slot-inner { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px rgba(201, 255, 60, 0.18); }
.slot--live .slot-inner:hover { transform: translateY(-3px) scale(1.03); background: #d8ff6e; }
.slot--dev .slot-inner { border: 1.5px dashed rgba(255, 255, 255, 0.45); color: var(--text-dark); background: rgba(255, 255, 255, 0.03); }
.slot--dev .slot-inner:hover { border-color: rgba(255, 255, 255, 0.9); transform: translateY(-2px); }
.slot-letter { font-weight: 800; font-size: clamp(16px, 3.6vw, 26px); letter-spacing: -0.04em; line-height: 1; }
.slot-dot {
  position: absolute; top: 14%; right: 14%; width: 14%; height: 14%; border-radius: 50%;
  background: var(--accent); animation: blink 2.4s ease-in-out infinite;
}
.slots-caption { margin-top: 16px; text-align: center; font-family: var(--mono); font-size: 13px; color: var(--muted-dark); letter-spacing: 0.04em; }

/* Entrance animation runs once, only when the page is visible when it loads (site.js adds has-entrance).
   Idle animations animate opacity only, which stays off the main thread. */
.has-entrance .slot { animation: slot-in 0.6s var(--ease) backwards; animation-delay: calc(var(--i, 0) * 28ms + 120ms); }
.js .slot--empty .slot-inner::after { animation: breathe 6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -170ms); }
@keyframes slot-in { from { opacity: 0; transform: scale(0.8); } }
@keyframes breathe { 0%, 100% { opacity: 0; } 50% { opacity: 1; } }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
@media (prefers-reduced-motion: reduce) {
  .has-entrance .slot, .js .slot--empty .slot-inner::after, .slot-dot { animation: none; }
  .btn:hover, .slot-inner:hover { transform: none; }
}

@media (min-width: 880px) {
  .hero { padding: 72px 0 104px; }
  .hero-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); gap: 64px; }
  .hero-slots { margin: 0 0 0 auto; }
}

/* Sections */
.section { padding: 88px 0; }
.section--light { background: var(--paper); color: var(--text-light); }
.section--dark { background: var(--ink); color: var(--text-dark); }
.section--accent { background: var(--accent); color: var(--accent-ink); }
.section-head { margin-bottom: 44px; }
@media (min-width: 880px) { .section { padding: 112px 0; } }

/* Cards */
.cards { display: grid; grid-template-columns: 1fr; gap: 16px; }
.card {
  background: var(--paper-2); border: 1px solid var(--line-light); border-radius: var(--radius);
  padding: 26px 26px 24px; display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.card:hover { transform: translateY(-2px); box-shadow: 0 16px 40px rgba(10, 10, 11, 0.08); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.slot-no { font-family: var(--mono); font-size: 13px; color: var(--muted-light); letter-spacing: 0.06em; }
.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; padding: 5px 10px 5px 8px; border-radius: 999px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; }
.status--live { background: rgba(201, 255, 60, 0.28); color: #2b4d00; }
.status--live .status-dot { background: #5aa800; }
.status--development { background: rgba(10, 10, 11, 0.06); color: var(--muted-light); }
.status--development .status-dot { border: 1.5px dashed var(--muted-light); }
.card-title { font-size: 1.5rem; letter-spacing: -0.02em; font-weight: 800; margin-top: 10px; }
.card-text { color: var(--muted-light); flex: 1; }
.card-links { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.card-link {
  text-decoration: none; font-weight: 600; font-size: 14px; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--ink); color: var(--ink); transition: background 0.2s var(--ease), color 0.2s var(--ease);
}
.card-link:hover { background: var(--ink); color: var(--text-dark); }
.card-note { font-size: 14px; color: var(--muted-light); margin-top: 8px; }
@media (min-width: 640px) { .cards { grid-template-columns: repeat(2, 1fr); gap: 20px; } }

/* Steps */
.steps { display: grid; grid-template-columns: 1fr; gap: 20px; counter-reset: step; }
.step { border-top: 1px solid var(--line-dark); padding-top: 24px; }
.step-no { font-family: var(--mono); font-size: 13px; color: var(--accent); letter-spacing: 0.08em; }
.step-title { font-size: 1.375rem; font-weight: 800; letter-spacing: -0.02em; margin-top: 14px; }
.step-text { margin-top: 10px; color: var(--muted-dark); max-width: 36ch; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); gap: 40px; } }

/* Numbers */
.section--numbers { padding: 56px 0; border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: end; }
.number { display: flex; flex-direction: column; justify-content: flex-end; }
.number dt { font-family: var(--mono); font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); }
.number dd { font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 800; letter-spacing: -0.04em; line-height: 1; margin-top: 10px; font-variant-numeric: tabular-nums; }
.number-of { font-size: 0.4em; font-weight: 600; color: var(--muted-light); letter-spacing: 0; margin-left: 4px; }
@media (max-width: 480px) {
  .numbers { gap: 12px; }
  .number dt { font-size: 10.5px; letter-spacing: 0.04em; white-space: nowrap; }
}

/* Founder */
.founder { display: grid; grid-template-columns: 1fr; gap: 36px; align-items: center; }
.founder-avatar {
  aspect-ratio: 4 / 5; width: 100%; max-width: 340px; border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(201, 255, 60, 0.18), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 15px, rgba(255, 255, 255, 0.05) 15px 16px),
    repeating-linear-gradient(90deg, transparent 0 15px, rgba(255, 255, 255, 0.05) 15px 16px),
    var(--ink);
  display: flex; align-items: flex-end; justify-content: flex-start; padding: 24px;
}
.founder-initial { font-size: clamp(3rem, 8vw, 5rem); font-weight: 800; letter-spacing: -0.05em; color: var(--accent); line-height: 1; }
.founder-role { margin-top: 10px; font-weight: 600; color: var(--muted-light); }
.founder-bio { margin-top: 22px; font-size: 1.125rem; max-width: 52ch; }
.founder-contact { margin-top: 18px; font-weight: 600; }
@media (min-width: 880px) { .founder { grid-template-columns: 340px 1fr; gap: 64px; } }

/* Investors */
.investors { display: grid; grid-template-columns: 1fr; gap: 28px; align-items: center; }
.section--accent .section-title { max-width: 24ch; }
@media (min-width: 880px) { .investors { grid-template-columns: 1fr auto; gap: 48px; } }

/* Footer */
.site-footer { background: var(--ink); color: var(--text-dark); padding: 64px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 36px; }
.footer-tag { margin-top: 16px; color: var(--muted-dark); max-width: 28ch; }
.footer-heading { font-family: var(--mono); font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted-dark); margin-bottom: 14px; font-weight: 600; }
.footer-address { font-style: normal; color: var(--muted-dark); line-height: 1.6; }
.footer-address strong { color: var(--text-dark); }
.footer-list { display: grid; gap: 8px; }
.footer-list a { color: var(--text-dark); text-decoration: none; }
.footer-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line-dark); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 13px; color: var(--muted-dark); }
@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 0.8fr; gap: 32px; } }

/* Legal pages */
.legal { padding: 56px 0 96px; background: var(--paper); }
.legal-title { font-size: clamp(2rem, 5vw, 3.25rem); letter-spacing: -0.03em; font-weight: 800; line-height: 1.05; }
.legal-meta { margin-top: 14px; color: var(--muted-light); font-size: 15px; }
.prose { margin-top: 36px; font-size: 1.0625rem; }
.prose .lede { font-size: 1.25rem; color: var(--text-light); }
.prose h2 { font-size: 1.375rem; letter-spacing: -0.02em; font-weight: 800; margin-top: 40px; }
.prose p { margin-top: 14px; }
.prose ul { list-style: disc; padding-left: 1.3em; margin-top: 12px; }
.prose li { margin-top: 6px; }
.prose a { color: var(--text-light); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(10, 10, 11, 0.35); }
.prose a:hover { text-decoration-color: var(--text-light); }
.legal-nav { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line-light); display: flex; flex-wrap: wrap; gap: 8px 24px; font-weight: 600; }
.legal-nav a { text-decoration: none; }
.legal-nav a:hover { text-decoration: underline; text-underline-offset: 3px; }
.legal .section-lede { margin-bottom: 28px; }
