/* ══════════════════════════════════════════════════════════
   DESIGN TOKENS  (mirrors portfolio design system)
══════════════════════════════════════════════════════════ */
:root {
  --bg:            #000000;
  --on-bg:         #ffffff;
  --muted:         #888888;
  --surface-bg:    rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.07);
  --surface-border:rgba(255,255,255,0.09);

  --green-accent:      #66bb6a;
  --green-bg:          rgba(27, 94, 32, 0.22);
  --shared-cursor-accent: var(--green-accent);

  --font:   'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-w:  1240px;
  --nav-h:  68px;
  --pad-h:  44px;

  --r-pill: 9999px;
  --r-xl:   32px;
  --r-lg:   22px;
  --r-md:   14px;
  --r-sm:    8px;
}

[data-theme="light"] {
  --bg:            #ffffff;
  --on-bg:         #000000;
  --muted:         #555555;
  --surface-bg:    rgba(0,0,0,0.03);
  --surface-hover: rgba(0,0,0,0.05);
  --surface-border:rgba(0,0,0,0.08);

  --green-accent:  #2e7d32;
  --green-bg:      rgba(165, 214, 167, 0.22);
}

/* ══════════════════════════════════════════════════════════
   RESET
══════════════════════════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 16px);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--on-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

img  { max-width:100%; height:auto; display:block; }
a    { color:inherit; text-decoration:none; }
ul   { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; color:inherit; }

/* Shared nav/footer styles live in nav-footer.css. */
.nav-logo-icon { --nav-logo-bg: var(--green-accent); }

/* ══════════════════════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════════════════════ */
.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

/* ══════════════════════════════════════════════════════════
   SURFACE CARD
══════════════════════════════════════════════════════════ */
.card {
  background: var(--surface-bg);
  border: 1px solid var(--surface-border);
  border-radius: var(--r-xl);
  padding: 28px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.2s, border-color 0.2s;
}
.card:hover { background: var(--surface-hover); }
.card--no-hover:hover { background: var(--surface-bg); }

/* ══════════════════════════════════════════════════════════
   STATUS PILL
══════════════════════════════════════════════════════════ */
.pill {
  display: inline-block;
  padding: 5px 13px;
  border-radius: var(--r-pill);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pill-green {
  color: var(--green-accent);
  background: color-mix(in srgb, var(--green-accent) 14%, transparent);
}
.pill-muted {
  color: var(--muted);
  background: color-mix(in srgb, var(--on-bg) 8%, transparent);
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 11px 20px;
  border-radius: var(--r-pill);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: opacity 0.18s, transform 0.12s;
  text-decoration: none;
  user-select: none;
}
.btn:hover  { opacity: 0.82; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-filled  { background: var(--on-bg); color: var(--bg); }
.btn-outline {
  background: var(--surface-bg);
  color: var(--on-bg);
  border: 1px solid var(--surface-border);
}
.btn-outline:hover { background: var(--surface-hover); }

.is-release-disabled {
  opacity: 0.34;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(0.25);
}

/* ══════════════════════════════════════════════════════════
   TYPOGRAPHY
══════════════════════════════════════════════════════════ */
.display   { font-size: 64px; font-weight: 800; letter-spacing: -0.03em; line-height: 1.06; }
.title-lg  { font-size: 36px; font-weight: 700; letter-spacing: -0.02em; line-height: 1.15; }
.title-md  { font-size: 24px; font-weight: 700; letter-spacing: -0.01em; }
.body-lg   { font-size: 17px; line-height: 1.65; }
.body-md   { font-size: 15px; line-height: 1.7; }
.body-sm   { font-size: 13px; line-height: 1.6; }
.muted     { color: var(--muted); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════ */
@media (max-width: 1119px) {
  :root { --pad-h: 30px; }
  .display { font-size: 52px; }
}

@media (max-width: 759px) {
  :root { --nav-h: 60px; --pad-h: 20px; }
  .display { font-size: 40px; }
  .title-lg { font-size: 28px; }
}

::selection { background: color-mix(in srgb, var(--on-bg) 15%, transparent); }
