:root {
  --ink: #eef7e8;
  --muted: #aebbad;
  --acid: #b6f13b;
  --violet: #b376ff;
  --deep: #071114;
  --panel: rgba(11, 25, 29, 0.9);
  --line: rgba(182, 241, 59, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 80% 10%, rgba(179, 118, 255, .16), transparent 34rem),
    radial-gradient(circle at 10% 30%, rgba(182, 241, 59, .09), transparent 28rem),
    var(--deep);
  font: 16px/1.6 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

a { color: inherit; }
.wrap { width: min(1140px, calc(100% - 40px)); margin: 0 auto; }

nav {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(7, 17, 20, .84);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.nav-inner { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.brand img { width: 40px; height: 40px; border-radius: 10px; }
.nav-links { display: flex; gap: 18px; color: var(--muted); font-size: 14px; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--acid); }

.hero { position: relative; height: clamp(680px, 76vh, 860px); min-height: 680px; display: grid; align-items: end; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7,17,20,.96) 0%, rgba(7,17,20,.56) 50%, rgba(7,17,20,.12) 100%), url("assets/roly-poly-key-art.png") center/cover no-repeat;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; background: linear-gradient(transparent, var(--deep)); }
.hero-copy { position: relative; z-index: 1; max-width: 730px; padding: 110px 0 130px; }
.eyebrow { color: var(--acid); font-weight: 900; letter-spacing: .16em; text-transform: uppercase; font-size: 13px; }
h1 { margin: 8px 0 14px; font-size: clamp(64px, 11vw, 142px); line-height: .84; letter-spacing: -.07em; text-transform: uppercase; }
.lede { max-width: 660px; margin: 0 0 28px; font-size: clamp(20px, 2.5vw, 29px); line-height: 1.3; color: #f5f1ff; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 20px;
  border: 1px solid rgba(255,255,255,.2); border-radius: 999px; text-decoration: none; font-weight: 850;
  background: rgba(7,17,20,.72);
}
.button.primary { background: var(--acid); border-color: var(--acid); color: #101a09; }
.button:hover { transform: translateY(-2px); }
.button.disabled { color: #77837a; cursor: not-allowed; border-style: dashed; }

section { padding: 84px 0; }
.section-label { color: var(--violet); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; font-size: 13px; }
h2 { margin: 7px 0 28px; max-width: 820px; font-size: clamp(36px, 5vw, 66px); line-height: 1; letter-spacing: -.04em; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.card { grid-column: span 4; padding: 28px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.card h3 { margin: 0 0 8px; font-size: 21px; }
.card p { margin: 0; color: var(--muted); }
.big-copy { grid-column: span 7; font-size: 20px; color: #dce6da; }
.facts { grid-column: 9 / span 4; margin: 0; }
.facts div { display: grid; grid-template-columns: 110px 1fr; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 750; }
.trailer-frame { overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: #000; box-shadow: 0 30px 90px rgba(0,0,0,.38); }
.trailer-frame video { display: block; width: 100%; max-height: 76vh; aspect-ratio: 16 / 9; object-fit: contain; background: #000; }
.trailer-block + .trailer-block { margin-top: 72px; }
.trailer-block h3 { margin: 0 0 16px; font-size: clamp(24px, 3vw, 36px); }
.trailer-actions { display: flex; justify-content: flex-end; margin-top: 18px; }
.developer-intro { display: grid; grid-template-columns: 260px 1fr; align-items: center; gap: clamp(32px, 6vw, 78px); margin-bottom: 40px; }
.developer-intro h2 { margin-bottom: 18px; }
.developer-logo { width: 100%; max-height: 310px; object-fit: contain; filter: drop-shadow(0 24px 42px rgba(0,0,0,.45)); }
.developer-copy { max-width: 650px; margin: 0; color: #dce6da; font-size: 20px; }
.team-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin: 0 0 40px; }
.team-card { display: grid; grid-template-columns: 116px 1fr; align-items: center; gap: 22px; padding: 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: var(--panel); text-decoration: none; }
.team-card:hover { border-color: var(--acid); transform: translateY(-2px); }
.team-card img { width: 116px; height: 116px; object-fit: cover; border-radius: 16px; }
.team-card strong, .team-card span, .team-card small { display: block; }
.team-card strong { font-size: 22px; }
.team-card span { color: var(--muted); margin-top: 2px; }
.team-bio { margin: 12px 0 0; color: var(--muted); font-size: 14px; line-height: 1.6; }
.team-profile-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.team-profile-links a { color: var(--acid); font-size: 14px; font-weight: 800; text-decoration: none; }
.team-card small { color: var(--acid); margin-top: 12px; font-weight: 800; }
.links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.link-card { padding: 22px; border-radius: 18px; border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.035); text-decoration: none; }
.link-card strong { display: block; font-size: 18px; }
.link-card span { color: var(--muted); font-size: 14px; }
a.link-card:hover { border-color: var(--acid); }
.notice { margin-top: 20px; padding: 18px 20px; border-left: 3px solid var(--violet); color: var(--muted); background: rgba(179,118,255,.08); }
footer { padding: 34px 0 60px; color: var(--muted); border-top: 1px solid rgba(255,255,255,.08); }

.fact-sheet-hero { padding: 92px 0 34px; }
.fact-sheet-hero h1 { margin: 10px 0 18px; font-size: clamp(52px, 8vw, 96px); line-height: .92; }
.fact-sheet-hero .lede { max-width: 780px; }
.fact-sheet-page { padding-top: 34px; }
.fact-sheet-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, .8fr); gap: 48px; align-items: start; }
.fact-sheet-copy { display: grid; gap: 34px; }
.fact-sheet-copy article { padding-bottom: 30px; border-bottom: 1px solid rgba(255,255,255,.09); }
.fact-sheet-copy h2 { margin: 0 0 14px; font-size: clamp(28px, 4vw, 44px); }
.fact-sheet-copy h3 { margin: 0 0 10px; font-size: 21px; }
.fact-sheet-copy p { margin: 0; color: #dce6da; font-size: 18px; }
.feature-list { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.feature-list li { padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); color: var(--muted); }
.feature-list strong { color: var(--ink); }
.fact-sheet-sidebar { position: sticky; top: 96px; padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); }
.fact-sheet-sidebar h2 { margin: 0 0 16px; font-size: 28px; }
.fact-sheet-sidebar .facts { margin: 0; }
.fact-sheet-sidebar .facts div { grid-template-columns: 120px 1fr; }
.fact-sheet-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

@media (max-width: 820px) {
  .nav-links { display: none; }
  .hero { min-height: 680px; }
  .hero::before { background-position: 62% center; }
  .card, .big-copy, .facts { grid-column: 1 / -1; }
  .links { grid-template-columns: 1fr; }
  .trailer-actions { justify-content: stretch; }
  .trailer-actions .button { width: 100%; }
  .developer-intro { grid-template-columns: 1fr; text-align: center; }
  .developer-logo { width: min(240px, 70vw); margin: 0 auto; }
  .developer-copy { margin: 0 auto; }
  .team-grid { grid-template-columns: 1fr; }
  .team-card { grid-template-columns: 90px 1fr; }
  .team-card img { width: 90px; height: 90px; }
  .fact-sheet-layout { grid-template-columns: 1fr; }
  .fact-sheet-sidebar { position: static; }
}

@media print {
  nav, .actions { display: none; }
  body { background: #fff; color: #111; }
  .hero { min-height: 460px; }
  section { padding: 36px 0; }
  .card, .link-card { background: #fff; color: #111; }
}
