@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 200 800;
  font-display: optional;
  src: url("/assets/fonts/bricolage-grotesque.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: optional;
  src: url("/assets/fonts/instrument-sans.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400 700;
  font-display: optional;
  src: url("/assets/fonts/instrument-sans-italic.woff2") format("woff2");
}

:root {
  --bg: #f6f8fb;
  --bg-2: #e6ebf3;
  --surface: #ffffff;
  --ink: #0f1420;
  --ink-2: #4b5567;
  --ink-3: #66718a;
  --line: rgba(15, 20, 32, 0.12);
  --line-soft: rgba(15, 20, 32, 0.07);
  --accent: #2b6fe6;
  --grad: linear-gradient(135deg, #4f8dff 0%, #2b6fe6 55%, #4b4ef0 100%);
  --accent-deep: #1f5bc4;
  --on-dark: #f3f5f9;
  --on-dark-2: rgba(243, 245, 249, 0.68);
  --line-dark: rgba(243, 245, 249, 0.14);
  --t1: #ff5a3c; --t1-rgb: 255, 90, 60;
  --t2: #ffc24a; --t2-rgb: 255, 194, 74;
  --t3: #4f8dff; --t3-rgb: 79, 141, 255;
  --t4: #35d08a; --t4-rgb: 53, 208, 138;
  --t5: #a070ff; --t5-rgb: 160, 112, 255;
  --screen: #0e0f12;
  --screen-2: #141519;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --r-xl: 28px;
  --r-l: 20px;
  --r-m: 14px;
  --r-s: 10px;
  --shadow-soft: 0 24px 60px -30px rgba(15, 20, 32, 0.28), 0 2px 6px -2px rgba(15, 20, 32, 0.06);
  --font-display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", sans-serif;
  --font-body: "Instrument Sans", "Avenir Next", "Segoe UI", sans-serif;
}

*, *::before, *::after { -moz-box-sizing: border-box; box-sizing: border-box; }
html { overflow-x: clip; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-direction: column;
      -ms-flex-direction: column;
          flex-direction: column;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main { -webkit-flex: 1; -ms-flex: 1; flex: 1; }
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; overflow-wrap: break-word; word-break: break-word; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin: 0 0 0.5em;
  overflow-wrap: break-word;
  word-break: break-word;
}
h1 { font-size: clamp(42px, 6.4vw, 84px); font-weight: 800; letter-spacing: -0.035em; }
h2 { font-size: clamp(32px, 4.2vw, 56px); }
h3 { font-size: clamp(22px, 2vw, 28px); letter-spacing: -0.015em; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.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;
}
.container { max-width: 1240px; margin: 0 auto; padding-inline: 24px; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--ink-2); max-width: 60ch; }
.eyebrow {
  display: inline-block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink-2);
  margin-bottom: 18px;
}
.section { padding-block: clamp(72px, 9vw, 136px); }
.section--tight { padding-block: clamp(56px, 7vw, 100px); }

/* Buttons */
.btn {
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-align-items: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 12px;
  padding: 10px 10px 10px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: 600 16px/1 var(--font-body);
  cursor: pointer;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease), -webkit-transform 0.6s var(--ease);
  transition: transform 0.6s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
  transition: transform 0.6s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease), -webkit-transform 0.6s var(--ease);
}
.btn:active { -webkit-transform: scale(0.98); transform: scale(0.98); }
.btn__icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: -webkit-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center;
  -ms-flex-negative: 0;
          -webkit-flex-shrink: 0;
          flex-shrink: 0;
  transition: -webkit-transform 0.6s var(--ease);
  transition: transform 0.6s var(--ease);
  transition: transform 0.6s var(--ease), -webkit-transform 0.6s var(--ease);
}
.btn__icon svg { width: 16px; height: 16px; }
.btn:hover .btn__icon { -webkit-transform: translate(2px, -1px) scale(1.05); transform: translate(2px, -1px) scale(1.05); }
.btn--primary, .btn--accent { background-color: var(--accent); background-image: var(--grad); background-size: 200% 100%; background-position: 0 0; color: #fff; border-color: transparent; box-shadow: 0 12px 26px -14px rgba(43, 111, 230, 0.75); transition: background-position 0.7s var(--ease), box-shadow 0.6s var(--ease), -webkit-transform 0.6s var(--ease); transition: background-position 0.7s var(--ease), transform 0.6s var(--ease), box-shadow 0.6s var(--ease); transition: background-position 0.7s var(--ease), transform 0.6s var(--ease), box-shadow 0.6s var(--ease), -webkit-transform 0.6s var(--ease); }
.btn--primary:hover, .btn--accent:hover { background-position: 100% 0; box-shadow: 0 16px 30px -14px rgba(43, 111, 230, 0.9); }
.btn--primary .btn__icon { background: rgba(255, 255, 255, 0.18); }
.btn--accent .btn__icon { background: rgba(255, 255, 255, 0.2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost .btn__icon { background: rgba(15, 20, 32, 0.06); }
.btn--ghost:hover { border-color: var(--ink); }
.btn--light { background: var(--on-dark); color: var(--ink); }
.btn--light .btn__icon { background: rgba(15, 20, 32, 0.08); }
.btn--sm { padding: 8px 8px 8px 18px; font-size: 15px; }
.btn--sm .btn__icon { width: 28px; height: 28px; }
.btn--plain { padding: 10px 22px; }

/* Header */
.site-header {
  position: -webkit-sticky;
  position: sticky; top: 0; z-index: 60;
  background: rgba(15, 20, 32, 0.88);
  -webkit-backdrop-filter: blur(14px);
          backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  overflow: visible;
}
.site-header { color: var(--on-dark); border-bottom-color: rgba(255, 255, 255, 0.08); }
.site-header__row {
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between;
  gap: 24px;
  padding-block: 14px;
}
.brand { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: 21px; letter-spacing: -0.02em; }
.brand svg { width: 34px; height: 34px; }
.brand em { font-style: normal; color: var(--t3); }
.nav { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; gap: 30px; }
.nav a:not(.nav-cta) { font-weight: 500; font-size: 15px; position: relative; color: var(--on-dark-2); transition: color 0.4s var(--ease); }
.nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px;
  background: var(--accent); -webkit-transform: scaleX(0); transform: scaleX(0); -webkit-transform-origin: left; transform-origin: left;
  transition: -webkit-transform 0.45s var(--ease);
  transition: transform 0.45s var(--ease);
  transition: transform 0.45s var(--ease), -webkit-transform 0.45s var(--ease);
}
.nav a:not(.nav-cta):hover, .nav a.is-active { color: #fff; }
.nav a:not(.nav-cta):hover::after, .nav a.is-active::after { -webkit-transform: scaleX(1); transform: scaleX(1); }
.nav .nav-cta { margin-left: 6px; }
.burger {
  display: none;
  width: 44px; height: 44px;
  position: relative; z-index: 110; -ms-flex-negative: 0; -webkit-flex-shrink: 0; flex-shrink: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-dark);
  cursor: pointer;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: opacity 0.2s var(--ease), top 0.35s var(--ease), -webkit-transform 0.35s var(--ease);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease), top 0.35s var(--ease);
  transition: transform 0.35s var(--ease), opacity 0.2s var(--ease), top 0.35s var(--ease), -webkit-transform 0.35s var(--ease);
}
.burger span:nth-child(1) { top: 15px; }
.burger span:nth-child(2) { top: 21px; }
.burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { top: 21px; -webkit-transform: rotate(45deg); transform: rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { top: 21px; -webkit-transform: rotate(-45deg); transform: rotate(-45deg); }

/* Hero */
.hero {
  position: relative; isolation: isolate; overflow: hidden;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center;
  padding-block: clamp(88px, 11vw, 160px);
  color: var(--on-dark); text-align: center;
  background: #091124;
}
.hero::after {
  content: ""; position: absolute; inset: -4%; z-index: -2; pointer-events: none;
  background: url("/assets/img/hero/hero-dark.avif?v=44a78ba8") center / cover no-repeat;
  opacity: 0; -webkit-transform: scale(1.12); transform: scale(1.12);
  -webkit-animation: hero-bg 2s cubic-bezier(0.22, 1, 0.36, 1) forwards, hero-drift 26s ease-in-out 2s infinite alternate;
          animation: hero-bg 2s cubic-bezier(0.22, 1, 0.36, 1) forwards, hero-drift 26s ease-in-out 2s infinite alternate;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(60% 70% at 50% 50%, rgba(9, 17, 36, 0.78) 0%, rgba(9, 17, 36, 0.45) 55%, rgba(9, 17, 36, 0.15) 100%), linear-gradient(180deg, rgba(9, 17, 36, 0.35) 0%, rgba(9, 17, 36, 0) 40%, rgba(15, 20, 32, 0.95) 100%);
}
.hero__copy { position: relative; width: 100%; -webkit-transform: scale(1.04); transform: scale(1.04); -webkit-animation: hero-settle 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; animation: hero-settle 2.2s cubic-bezier(0.22, 1, 0.36, 1) forwards; }
.hero h1 { max-width: none; color: #fff; text-wrap: balance; text-shadow: 0 4px 40px rgba(0, 0, 0, 0.5); }
.hero .hw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0.06em 0.06em 0.14em; margin: -0.06em -0.06em -0.14em; }
.hero .hw span { display: inline-block; -webkit-transform-origin: left bottom; transform-origin: left bottom; -webkit-transform: translateY(125%) skewY(7deg) scale(1.12); transform: translateY(125%) skewY(7deg) scale(1.12); opacity: 0; -webkit-filter: blur(6px); filter: blur(6px); -webkit-animation: hw-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards; animation: hw-in 1.05s cubic-bezier(0.22, 1, 0.36, 1) forwards; -webkit-animation-delay: calc(0.15s + var(--i) * 0.08s); animation-delay: calc(0.15s + var(--i) * 0.08s); }
.hero__rule { display: block; width: 120px; height: 2px; margin: 10px auto 26px; background: var(--grad); border-radius: 2px; -webkit-transform: scaleX(0); transform: scaleX(0); -webkit-transform-origin: center; transform-origin: center; -webkit-animation: rule-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards; animation: rule-in 1s cubic-bezier(0.22, 1, 0.36, 1) 0.75s forwards; }
.hero .lead { margin-inline: auto; max-width: 70ch; color: rgba(243, 245, 249, 0.8); font-size: clamp(18px, 1.6vw, 22px); -webkit-clip-path: inset(0 100% 0 0); clip-path: inset(0 100% 0 0); -webkit-transform: translateY(14px); transform: translateY(14px); -webkit-filter: blur(4px); filter: blur(4px); -webkit-animation: lead-in 1.25s cubic-bezier(0.22, 1, 0.36, 1) 0.85s forwards; animation: lead-in 1.25s cubic-bezier(0.22, 1, 0.36, 1) 0.85s forwards; }
.hero__note { margin: 26px auto 0; font-size: 15px; color: rgba(243, 245, 249, 0.6); opacity: 0; -webkit-transform: translateY(18px); transform: translateY(18px); -webkit-animation: note-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1.15s forwards; animation: note-in 1.1s cubic-bezier(0.22, 1, 0.36, 1) 1.15s forwards; }
.hero__badge { position: relative; display: block; width: 64px; height: 64px; margin: 34px auto 0; }
.hero__badge::before, .hero__badge::after { content: ""; position: absolute; inset: 0; border-radius: 16px; border: 1.5px solid rgba(79, 141, 255, 0.85); opacity: 0; -webkit-transform: scale(0.6); transform: scale(0.6); pointer-events: none; -webkit-animation: ring-out 1.2s cubic-bezier(0.22, 1, 0.36, 1) 2.25s forwards; animation: ring-out 1.2s cubic-bezier(0.22, 1, 0.36, 1) 2.25s forwards; }
.hero__badge::after { -webkit-animation-delay: 2.45s; animation-delay: 2.45s; }
.hero__mark { display: block; width: 64px; height: 64px; overflow: visible; }
.hero__mark .hm-bg { opacity: 0; transform-box: fill-box; -webkit-transform-origin: center; transform-origin: center; -webkit-transform: scale(0.6); transform: scale(0.6); -webkit-animation: hm-bg 0.55s cubic-bezier(0.22, 1, 0.36, 1) 1.25s forwards; animation: hm-bg 0.55s cubic-bezier(0.22, 1, 0.36, 1) 1.25s forwards; }
.hero__mark .hm {
  opacity: 0;
  transform-box: fill-box; -webkit-transform-origin: center; transform-origin: center;
  -webkit-transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(0.5);
          transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(0.5);
  -webkit-animation: hm-fly 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
          animation: hm-fly 0.75s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  -webkit-animation-delay: calc(1.35s + var(--i) * 0.06s);
          animation-delay: calc(1.35s + var(--i) * 0.06s);
}
@-webkit-keyframes hero-bg { to { opacity: 1; -webkit-transform: scale(1); transform: scale(1); } }
@keyframes hero-bg { to { opacity: 1; -webkit-transform: scale(1); transform: scale(1); } }
@-webkit-keyframes hero-drift { from { -webkit-transform: scale(1) translate(0, 0); transform: scale(1) translate(0, 0); } to { -webkit-transform: scale(1.08) translate(-1.5%, 1.2%); transform: scale(1.08) translate(-1.5%, 1.2%); } }
@keyframes hero-drift { from { -webkit-transform: scale(1) translate(0, 0); transform: scale(1) translate(0, 0); } to { -webkit-transform: scale(1.08) translate(-1.5%, 1.2%); transform: scale(1.08) translate(-1.5%, 1.2%); } }
@-webkit-keyframes hero-settle { to { -webkit-transform: scale(1); transform: scale(1); } }
@keyframes hero-settle { to { -webkit-transform: scale(1); transform: scale(1); } }
@-webkit-keyframes hw-in {
  60% { -webkit-filter: blur(0); filter: blur(0); }
  to { -webkit-transform: translateY(0) skewY(0deg) scale(1); transform: translateY(0) skewY(0deg) scale(1); opacity: 1; -webkit-filter: blur(0); filter: blur(0); }
}
@keyframes hw-in {
  60% { -webkit-filter: blur(0); filter: blur(0); }
  to { -webkit-transform: translateY(0) skewY(0deg) scale(1); transform: translateY(0) skewY(0deg) scale(1); opacity: 1; -webkit-filter: blur(0); filter: blur(0); }
}
@-webkit-keyframes rule-in { to { -webkit-transform: scaleX(1); transform: scaleX(1); } }
@keyframes rule-in { to { -webkit-transform: scaleX(1); transform: scaleX(1); } }
@-webkit-keyframes lead-in { to { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); -webkit-transform: translateY(0); transform: translateY(0); -webkit-filter: blur(0); filter: blur(0); } }
@keyframes lead-in { to { -webkit-clip-path: inset(0 0 0 0); clip-path: inset(0 0 0 0); -webkit-transform: translateY(0); transform: translateY(0); -webkit-filter: blur(0); filter: blur(0); } }
@-webkit-keyframes note-in { to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } }
@keyframes note-in { to { opacity: 1; -webkit-transform: translateY(0); transform: translateY(0); } }
@-webkit-keyframes ring-out { 30% { opacity: 0.9; } to { opacity: 0; -webkit-transform: scale(2.1); transform: scale(2.1); } }
@keyframes ring-out { 30% { opacity: 0.9; } to { opacity: 0; -webkit-transform: scale(2.1); transform: scale(2.1); } }
@-webkit-keyframes hm-fly {
  0% { opacity: 0; -webkit-transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(0.5); transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(0.5); }
  35% { opacity: 1; }
  100% { opacity: 1; -webkit-transform: translate(0, 0) rotate(0deg) scale(1); transform: translate(0, 0) rotate(0deg) scale(1); }
}
@keyframes hm-fly {
  0% { opacity: 0; -webkit-transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(0.5); transform: translate(var(--dx), var(--dy)) rotate(var(--r)) scale(0.5); }
  35% { opacity: 1; }
  100% { opacity: 1; -webkit-transform: translate(0, 0) rotate(0deg) scale(1); transform: translate(0, 0) rotate(0deg) scale(1); }
}
@-webkit-keyframes hm-bg { to { opacity: 1; -webkit-transform: scale(1); transform: scale(1); } }
@keyframes hm-bg { to { opacity: 1; -webkit-transform: scale(1); transform: scale(1); } }

/* Light content sections: dot grid + soft glow */
.sec-grid { position: relative; isolation: isolate; }
.sec-grid::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(15, 20, 32, 0.11) 1px, transparent 1.2px);
  background-size: 26px 26px;
  -webkit-mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%);
          mask-image: radial-gradient(70% 70% at 50% 40%, #000 20%, transparent 100%);
}
.sec-grid--glow::after {
  content: ""; position: absolute; left: 50%; top: 30%; z-index: -1; width: min(1100px, 120vw); height: 520px; pointer-events: none;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(43, 111, 230, 0.16), rgba(75, 78, 240, 0.06) 55%, transparent 100%);
  -webkit-filter: blur(30px);
          filter: blur(30px);
}

.pc-cell[data-c="1"] { --c: var(--t1); --c-rgb: var(--t1-rgb); }
.pc-cell[data-c="2"] { --c: var(--t2); --c-rgb: var(--t2-rgb); }
.pc-cell[data-c="3"] { --c: var(--t3); --c-rgb: var(--t3-rgb); }
.pc-cell[data-c="4"] { --c: var(--t4); --c-rgb: var(--t4-rgb); }
.pc-cell[data-c="5"] { --c: var(--t5); --c-rgb: var(--t5-rgb); }

/* Game */
.play { background: var(--ink); color: var(--on-dark); }
.play__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; -webkit-align-items: end; -ms-flex-align: end; align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.play__head p { color: var(--on-dark-2); max-width: 52ch; }
.play__head .eyebrow { color: var(--on-dark-2); }
.play__layout { display: grid; grid-template-columns: minmax(0, 820px) minmax(240px, 1fr); gap: 32px; -webkit-align-items: start; -ms-flex-align: start; align-items: start; }
.shell { padding: 8px; border-radius: var(--r-xl); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.8); }
.shell__core {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 184px;
  grid-template-rows: auto auto;
  gap: 10px 14px;
  border-radius: calc(var(--r-xl) - 8px);
  background: var(--screen);
  color: var(--on-dark);
  padding: 14px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07);
}
.pc-board { grid-column: 1; grid-row: 1; }
.pc-status { grid-column: 1; grid-row: 2; }
.pc-hud {
  grid-column: 2; grid-row: 1 / span 2;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; gap: 10px;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(180deg, #181a20 0%, #0b0c10 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 24px rgba(0, 0, 0, 0.5);
}
.pc-stats { display: grid; gap: 8px; }
.pc-stat {
  display: block; position: relative;
  padding: 9px 12px 9px 16px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2);
}
.pc-stat::before { content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 2px; background: var(--t2); box-shadow: 0 0 8px var(--t2); }
.pc-stat:nth-child(2)::before { background: var(--t4); box-shadow: 0 0 8px var(--t4); }
.pc-stat:nth-child(3)::before { background: var(--t3); box-shadow: 0 0 8px var(--t3); }
.pc-stat b { display: block; font-family: var(--font-display); font-size: 26px; font-weight: 800; letter-spacing: -0.02em; text-transform: none; color: #fff; line-height: 1.05; margin-top: 3px; font-variant-numeric: tabular-nums; text-shadow: 0 0 14px rgba(255, 255, 255, 0.25); }
.pc-meter-wrap { padding: 10px 12px; background: rgba(0, 0, 0, 0.4); border: 1px solid rgba(255, 255, 255, 0.06); }
.pc-meter-label { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; -webkit-align-items: baseline; -ms-flex-align: baseline; align-items: baseline; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-2); }
.pc-meter-label b { font-family: var(--font-display); font-size: 15px; font-weight: 800; color: #fff; letter-spacing: 0; font-variant-numeric: tabular-nums; }
.pc-meter { height: 6px; margin-top: 8px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.pc-meter i { display: block; height: 100%; width: 100%; -webkit-transform-origin: left; transform-origin: left; background: linear-gradient(90deg, var(--t4), var(--t3)); box-shadow: 0 0 10px rgba(79, 141, 255, 0.7); transition: -webkit-transform 0.5s var(--ease); transition: transform 0.5s var(--ease); transition: transform 0.5s var(--ease), -webkit-transform 0.5s var(--ease); }
.pc-controls { display: grid; gap: 8px; margin-top: auto; }
.pc-controls .btn { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; width: 100%; padding: 11px 14px; font-size: 14px; border-radius: 6px; }
.pc-controls .btn--light { box-shadow: 0 0 18px rgba(243, 245, 249, 0.18); }
.shell__core .btn--ghost { color: var(--on-dark); border-color: rgba(255, 255, 255, 0.16); }
.shell__core .btn--ghost:hover { border-color: var(--on-dark); }
.shell__core .btn--ghost:disabled { opacity: 0.4; cursor: default; }
.pc-board {
  position: relative;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 6px;
  padding: 10px;
  border-radius: 8px;
  background: radial-gradient(120% 100% at 50% 40%, #121319 0%, #08090c 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 2px 14px rgba(0, 0, 0, 0.7);
}
.pc-cell {
  aspect-ratio: 1;
  position: relative;
  border: 2px solid rgba(255, 255, 255, 0.045);
  border-radius: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  cursor: default;
  -ms-touch-action: manipulation;
      touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  transition: opacity 0.35s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), -webkit-transform 0.35s var(--ease);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease), background-color 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease), -webkit-transform 0.35s var(--ease);
}
.pc-cell[data-c] {
  cursor: pointer;
  border-color: rgba(var(--c-rgb), 0.95);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0) 45%), rgba(var(--c-rgb), 0.18);
  box-shadow: inset 0 0 8px rgba(var(--c-rgb), 0.55);
}
.pc-cell[data-c]::after {
  content: ""; position: absolute; inset: -2px; pointer-events: none;
  box-shadow: 0 0 14px rgba(var(--c-rgb), 0.85);
  opacity: 0.35;
  -webkit-animation: tile-glow 2.8s ease-in-out infinite;
          animation: tile-glow 2.8s ease-in-out infinite;
}
.pc-cell:nth-child(4n+1)::after { -webkit-animation-duration: 3.6s; animation-duration: 3.6s; }
.pc-cell:nth-child(4n+3)::after { -webkit-animation-duration: 2.2s; animation-duration: 2.2s; }
.pc-cell:nth-child(2n)::after { -webkit-animation-delay: -1s; animation-delay: -1s; }
.pc-cell:nth-child(3n)::after { -webkit-animation-delay: -2s; animation-delay: -2s; }
.pc-cell:nth-child(5n)::after { -webkit-animation-delay: -0.5s; animation-delay: -0.5s; }
.pc-cell:nth-child(7n)::after { -webkit-animation-delay: -1.5s; animation-delay: -1.5s; }
@-webkit-keyframes tile-glow {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 1; }
}
@keyframes tile-glow {
  0%, 100% { opacity: 0.12; }
  50% { opacity: 1; }
}
.pc-cell.is-gone { border-color: #fff; background: rgba(255, 255, 255, 0.85); }
.pc-fx { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.pc-fx i { position: absolute; width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--fx); box-shadow: 0 0 12px var(--fx), 0 0 3px #fff; will-change: transform, opacity; }
.pc-fx b { position: absolute; width: 44px; height: 44px; margin: -22px 0 0 -22px; border: 2px solid var(--fx); box-shadow: 0 0 18px var(--fx), inset 0 0 14px var(--fx); opacity: 0; will-change: transform, opacity; }
.pc-cell.is-group {
  -webkit-transform: scale(1.08);
          transform: scale(1.08);
  border-color: #fff;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 45%), rgba(var(--c-rgb), 0.55);
  box-shadow: inset 0 0 10px rgba(var(--c-rgb), 0.85);
  z-index: 1;
}
.pc-cell.is-group::after { opacity: 1; -webkit-animation: none; animation: none; box-shadow: 0 0 22px rgba(var(--c-rgb), 1); }
.pc-cell.is-gone { -webkit-transform: scale(0.2); transform: scale(0.2); opacity: 0; }
.pc-cell.is-gone::after { opacity: 1; -webkit-animation: none; animation: none; box-shadow: 0 0 30px rgba(var(--c-rgb), 1); }
.pc-cell:focus-visible { outline: 2px solid #fff; outline-offset: 1px; }
.pc-status { min-height: 20px; font-size: 13px; color: var(--on-dark-2); margin: 0; text-align: center; }
.pc-status.is-over { color: var(--t2); font-weight: 600; }
.play__aside { display: grid; gap: 14px; }
.play__card { padding: 22px; border-radius: var(--r-l); background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line-dark); }
.play__card h3 { font-size: 18px; margin-bottom: 10px; }
.play__card p, .play__card li { font-size: 15px; color: var(--on-dark-2); }
.play__card ol { margin: 0; padding-left: 20px; }
.play__card li + li { margin-top: 6px; }
.play__about { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.play__about h3 { font-size: 20px; }
.play__about p { color: var(--on-dark-2); font-size: 16px; }

/* Pillars */
.pillars__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 4vw, 56px); }
.pillar { padding: 28px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line-soft); box-shadow: var(--shadow-soft); transition: box-shadow 0.6s var(--ease), -webkit-transform 0.6s var(--ease); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease); transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), -webkit-transform 0.6s var(--ease); }
.pillar:hover { -webkit-transform: translateY(-4px); transform: translateY(-4px); box-shadow: 0 32px 70px -30px rgba(15, 20, 32, 0.35), 0 2px 6px -2px rgba(15, 20, 32, 0.06); }
.pillar svg { width: 28px; height: 28px; margin-bottom: 18px; color: var(--accent); }
.pillar h3 { font-size: 20px; margin-bottom: 10px; }
.pillar p { color: var(--ink-2); font-size: 16px; }

/* Studio */
.studio__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 80px); -webkit-align-items: start; -ms-flex-align: start; align-items: start; }
.studio__media { padding: 8px; border-radius: var(--r-xl); background: rgba(15, 20, 32, 0.05); border: 1px solid var(--line-soft); }
.studio__media img { border-radius: calc(var(--r-xl) - 8px); width: 100%; }
.studio__list { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.studio__list li { padding-left: 28px; position: relative; color: var(--ink-2); }
.studio__list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 12px; height: 12px; border-radius: 3px; background: var(--accent); }

/* Dev block (home) */
.devblock__panel { border-radius: var(--r-xl); background-color: var(--accent); background-image: var(--grad); color: #fff; padding: clamp(36px, 5vw, 72px); display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(28px, 4vw, 64px); -webkit-align-items: center; -ms-flex-align: center; align-items: center; overflow: hidden; position: relative; }
.devblock__panel::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 320px; height: 320px; border-radius: 50%; border: 60px solid rgba(255, 255, 255, 0.1); pointer-events: none; }
.devblock__panel h2 { color: #fff; }
.devblock__panel p { color: rgba(255, 255, 255, 0.86); font-size: 18px; max-width: 48ch; }
.devblock__panel .eyebrow { color: rgba(255, 255, 255, 0.75); }
.devblock__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; position: relative; z-index: 1; }
.devblock__list li { padding: 16px 18px; border-radius: var(--r-m); background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.18); font-weight: 500; }
.devblock__list li span { display: block; font-size: 14px; font-weight: 400; color: rgba(255, 255, 255, 0.78); margin-top: 2px; }
.devblock__cta { margin-top: 30px; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; gap: 14px; -webkit-align-items: center; -ms-flex-align: center; align-items: center; }
.devblock__cta a:not(.btn) { color: #fff; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }

/* Process */
.process__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 4vw, 56px); counter-reset: step; }
.step { padding: 26px 26px 28px; border-radius: var(--r-l); border: 1px solid var(--line-soft); background: var(--surface); }
.step h3 { font-size: 19px; margin: 0 0 10px; }
.step p { font-size: 15px; color: var(--ink-2); }
.step strong { display: block; font-family: var(--font-display); font-size: 13px; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 14px; }

/* Fair play strip */
.fairplay__panel { display: grid; grid-template-columns: 1fr auto; gap: 28px; -webkit-align-items: center; -ms-flex-align: center; align-items: center; padding: clamp(28px, 4vw, 44px); border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line-soft); }
.fairplay__panel h2 { font-size: clamp(24px, 2.6vw, 34px); }
.fairplay__panel p { color: var(--ink-2); max-width: 70ch; }

/* FAQ */
.faq__list { margin-top: clamp(28px, 4vw, 48px); border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary {
  list-style: none; cursor: pointer; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; gap: 16px;
  padding: 18px 0; font-family: var(--font-display); font-weight: 700; font-size: 20px; letter-spacing: -0.01em;
  -ms-touch-action: manipulation;
      touch-action: manipulation; -webkit-tap-highlight-color: transparent; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none;
}
.faq__icon { width: 40px; height: 40px; border-radius: 12px; -ms-flex-negative: 0; -webkit-flex-shrink: 0; flex-shrink: 0; display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; background: var(--grad); color: #fff; box-shadow: 0 10px 22px -12px rgba(43, 111, 230, 0.7); transition: -webkit-transform 0.6s var(--ease); transition: transform 0.6s var(--ease); transition: transform 0.6s var(--ease), -webkit-transform 0.6s var(--ease); }
.faq__icon svg { width: 20px; height: 20px; }
.faq__item summary:hover .faq__icon, .faq__item.is-open .faq__icon { -webkit-transform: scale(1.06) rotate(-4deg); transform: scale(1.06) rotate(-4deg); }
.faq__q { -webkit-flex: 1; -ms-flex: 1; flex: 1; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; font-weight: 400; font-size: 26px; color: var(--ink-3); transition: -webkit-transform 0.45s var(--ease); transition: transform 0.45s var(--ease); transition: transform 0.45s var(--ease), -webkit-transform 0.45s var(--ease); }
.faq__item.is-open summary::after { -webkit-transform: rotate(45deg); transform: rotate(45deg); }
.faq__body { padding: 0 0 0 56px; color: var(--ink-2); max-width: 75ch; }
.faq__body p { margin: 0; padding: 0 0 24px; }

/* Page hero (inner) */
.dev-hero, .contact-hero, .rp-hero { padding-block: clamp(56px, 7vw, 100px) clamp(36px, 5vw, 64px); }
.dev-hero h1, .contact-hero h1, .rp-hero h1 { font-size: clamp(36px, 5.4vw, 68px); max-width: 16ch; }
.dev-hero { padding-block: clamp(72px, 9vw, 130px) clamp(56px, 7vw, 96px); background: var(--ink) url("/assets/img/dev/dev-hero.avif?v=c4e6d4c8") center/cover no-repeat; color: var(--on-dark); position: relative; isolation: isolate; }
.dev-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 20, 32, 0.92) 0%, rgba(15, 20, 32, 0.75) 60%, rgba(15, 20, 32, 0.55) 100%); z-index: -1; }
.dev-hero .lead { color: var(--on-dark-2); }
.dev-hero .eyebrow { color: var(--on-dark-2); }
.contact-hero { padding-block: clamp(72px, 9vw, 130px) clamp(56px, 7vw, 96px); background: var(--ink) url("/assets/img/contact/contact-hero.avif?v=5fa42c76") center/cover no-repeat; color: var(--on-dark); position: relative; isolation: isolate; }
.contact-hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(15, 20, 32, 0.92) 0%, rgba(15, 20, 32, 0.75) 60%, rgba(15, 20, 32, 0.55) 100%); z-index: -1; }
.contact-hero .lead { color: var(--on-dark-2); }

/* Services */
.services__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: clamp(36px, 4vw, 56px); }
.service { padding: 28px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line-soft); }
.service h3 { font-size: 21px; margin-bottom: 10px; }
.service p { color: var(--ink-2); font-size: 16px; }
.service ul { margin: 14px 0 0; padding-left: 18px; color: var(--ink-2); font-size: 15px; }
.service li + li { margin-top: 4px; }

/* Workflow split */
.workflow__grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(32px, 5vw, 80px); -webkit-align-items: start; -ms-flex-align: start; align-items: start; }
.workflow__media { padding: 8px; border-radius: var(--r-xl); background: rgba(15, 20, 32, 0.05); border: 1px solid var(--line-soft); position: -webkit-sticky; position: sticky; top: 100px; }
.workflow__media img { border-radius: calc(var(--r-xl) - 8px); width: 100%; }
.workflow__steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.workflow__steps li { display: grid; grid-template-columns: 44px 1fr; gap: 18px; padding: 20px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line-soft); }
.workflow__steps b { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--accent); line-height: 1.2; }
.workflow__steps h3 { font-size: 18px; margin-bottom: 6px; }
.workflow__steps p { font-size: 15px; color: var(--ink-2); }

/* Forms */
.request { background: var(--ink); color: var(--on-dark); }
.request__grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(32px, 5vw, 80px); -webkit-align-items: start; -ms-flex-align: start; align-items: start; }
.request__info p { color: var(--on-dark-2); }
.request__info .eyebrow { color: var(--on-dark-2); }
.request__mail { display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; gap: 10px; margin-top: 10px; padding: 12px 18px; border-radius: 999px; border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.05); font-weight: 600; color: var(--on-dark); transition: border-color 0.4s var(--ease); }
.request__mail:hover { border-color: var(--on-dark); }
.request__mail svg { width: 18px; height: 18px; -ms-flex-negative: 0; -webkit-flex-shrink: 0; flex-shrink: 0; }
.request__meta { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 10px; font-size: 15px; color: var(--on-dark-2); }
.request__meta b { color: var(--on-dark); font-weight: 600; }
.form { padding: 8px; border-radius: var(--r-xl); background: rgba(255, 255, 255, 0.06); border: 1px solid var(--line-dark); }
.form__core { border-radius: calc(var(--r-xl) - 8px); background: var(--bg); color: var(--ink); padding: clamp(22px, 3vw, 36px); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-size: 14px; font-weight: 600; margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%;
  font: 400 16px/1.4 var(--font-body);
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-s);
  padding: 13px 14px;
  outline: none;
  transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}
.field textarea { min-height: 140px; resize: none; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2317181c' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 40px; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(15, 20, 32, 0.1); }
.field input::-webkit-input-placeholder, .field textarea::-webkit-input-placeholder { color: var(--ink-3); }
.field input::-moz-placeholder, .field textarea::-moz-placeholder { color: var(--ink-3); }
.field input:-ms-input-placeholder, .field textarea:-ms-input-placeholder { color: var(--ink-3); }
.field input::-ms-input-placeholder, .field textarea::-ms-input-placeholder { color: var(--ink-3); }
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.form__consent { display: -webkit-flex; display: -ms-flexbox; display: flex; gap: 10px; -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start; font-size: 14px; color: var(--ink-2); margin-bottom: 20px; }
.form__consent input { width: 18px; height: 18px; margin: 2px 0 0; -ms-flex-negative: 0; -webkit-flex-shrink: 0; flex-shrink: 0; accent-color: var(--accent); }
.form__consent a { text-decoration: underline; text-underline-offset: 3px; }
.form__foot { display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-align-items: center; -ms-flex-align: center; align-items: center; gap: 16px; }
.form-note { font-size: 14px; color: var(--ink-2); min-height: 20px; }
.btn:disabled { opacity: 0.6; cursor: wait; }

/* Contact page */
.contact__grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); -webkit-align-items: start; -ms-flex-align: start; align-items: start; }
.contact__card { padding: 28px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line-soft); }
.contact__card + .contact__card { margin-top: 16px; }
.contact__media { grid-column: 1 / -1; }
.contact__card h2 { font-size: 22px; margin-bottom: 12px; }
.contact__card dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 18px; font-size: 15px; }
.contact__card dt { color: var(--ink-3); }
.contact__card dd { margin: 0; font-weight: 500; }
.contact__card dd a { text-decoration: underline; text-underline-offset: 3px; }
.contact__card p { color: var(--ink-2); font-size: 15px; }
.contact .form { background: rgba(15, 20, 32, 0.05); border-color: var(--line-soft); }
.contact .form__core { background: var(--surface); }
.contact .field input, .contact .field textarea, .contact .field select { background: var(--bg); }

/* Legal */
.legal-terms, .legal-privacy, .legal-cookies, .restricted { padding-block: clamp(48px, 6vw, 88px); }
.legal-content h1 { font-size: clamp(34px, 4.6vw, 56px); }
.legal-content .legal-meta { color: var(--ink-3); font-size: 14px; margin-bottom: 40px; }
.legal-content h2 { font-size: clamp(22px, 2.4vw, 30px); margin-top: 44px; }
.legal-content h3 { font-size: 20px; margin-top: 28px; }
.legal-content p, .legal-content li { color: var(--ink-2); }
.legal-content ul { padding-left: 22px; }
.legal-content li + li { margin-top: 6px; }
.legal-content a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.legal-content address { font-style: normal; }

/* Responsible page */
.habits__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: clamp(28px, 4vw, 48px); }
.habit { padding: 26px; border-radius: var(--r-l); background: var(--surface); border: 1px solid var(--line-soft); }
.habit h3 { font-size: 20px; margin-bottom: 8px; }
.habit p { color: var(--ink-2); font-size: 16px; }
.signals { padding: clamp(28px, 4vw, 44px); border-radius: var(--r-l); background: var(--ink); color: var(--on-dark); }
.signals h2 { font-size: clamp(24px, 2.6vw, 34px); }
.signals p, .signals li { color: var(--on-dark-2); }
.signals ul { padding-left: 20px; }
.signals li + li { margin-top: 6px; }

/* Footer */
.site-footer { background: var(--ink); color: var(--on-dark); padding-block: clamp(56px, 7vw, 88px) 32px; }
.site-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: var(--on-dark); margin-bottom: 18px; }
.site-footer p { color: var(--on-dark-2); font-size: 15px; max-width: 40ch; }
.site-footer h2 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-dark-2); margin-bottom: 18px; font-family: var(--font-body); font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.site-footer li a { color: var(--on-dark); font-size: 15px; transition: color 0.4s var(--ease); }
.site-footer li a:hover { color: var(--accent); }
.site-footer address { font-style: normal; color: var(--on-dark-2); font-size: 15px; line-height: 1.6; }
.site-footer address a { color: var(--on-dark); }
.site-footer__notice { margin-top: 48px; padding: 18px 22px; border-radius: var(--r-m); border: 1px solid var(--line-dark); background: rgba(255, 255, 255, 0.04); display: -webkit-flex; display: -ms-flexbox; display: flex; gap: 16px; -webkit-align-items: center; -ms-flex-align: center; align-items: center; }
.site-footer__bottom .age { -ms-flex-negative: 0; -webkit-flex-shrink: 0; flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 2px solid var(--accent); color: var(--on-dark); display: -webkit-inline-flex; display: -ms-inline-flexbox; display: inline-flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-size: 11.5px; }
.site-footer__notice p { font-size: 14px; max-width: none; }
.site-footer__bottom { margin-top: 28px; -webkit-align-items: center; -ms-flex-align: center; align-items: center; display: -webkit-flex; display: -ms-flexbox; display: flex; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: var(--on-dark-2); }
.site-footer__bottom a { color: var(--on-dark-2); }
.site-footer__bottom a:hover { color: var(--on-dark); }

/* Age gate */
html.agegate-open { overflow: hidden; }
.agegate {
  position: fixed; inset: 0; z-index: 120;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex; -webkit-align-items: center; -ms-flex-align: center; align-items: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center;
  padding: 20px;
  background: rgba(9, 17, 36, 0.78);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  -webkit-animation: age-fade 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
          animation: age-fade 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.agegate.is-leaving { animation: age-fade 0.45s cubic-bezier(0.22, 1, 0.36, 1) reverse forwards; }
.agegate__card {
  position: relative; width: 100%; max-width: 520px;
  padding: 40px 28px 22px;
  border-radius: 24px;
  background: var(--surface); color: var(--ink);
  text-align: center;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.7);
  -webkit-transform: translateY(18px) scale(0.96);
          transform: translateY(18px) scale(0.96);
  -webkit-animation: age-card 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
          animation: age-card 0.7s cubic-bezier(0.22, 1, 0.36, 1) 0.1s forwards;
}
.agegate.is-leaving .agegate__card { animation: age-card 0.4s cubic-bezier(0.22, 1, 0.36, 1) reverse forwards; }
.agegate__mark { position: absolute; top: -24px; left: 50%; width: 48px; height: 48px; margin-left: -24px; display: block; border-radius: 12px; box-shadow: 0 0 0 2px var(--surface); }
.agegate__card h2 { font-size: clamp(20px, 2.4vw, 27px); margin-bottom: 8px; }
.agegate__card p { color: var(--ink-2); font-size: 14px; line-height: 1.5; margin: 0; }
.agegate__card p + p { margin-top: 4px; }
.agegate__actions { display: grid; gap: 8px; margin-top: 16px; }
.agegate__actions .btn { -webkit-justify-content: space-between; -ms-flex-pack: justify; justify-content: space-between; width: 100%; }
.agegate__actions .btn--ghost { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; }
.agegate__card .agegate__links { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.agegate__links a { text-decoration: underline; text-underline-offset: 3px; }
@-webkit-keyframes age-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes age-fade { from { opacity: 0; } to { opacity: 1; } }
@-webkit-keyframes age-card { to { -webkit-transform: translateY(0) scale(1); transform: translateY(0) scale(1); } }
@keyframes age-card { to { -webkit-transform: translateY(0) scale(1); transform: translateY(0) scale(1); } }

/* Cookie banner */
.cookie {
  position: fixed; left: 20px; bottom: 20px; z-index: 90;
  max-width: 420px;
  padding: 20px 22px;
  border-radius: var(--r-l);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  box-shadow: 0 30px 70px -30px rgba(15, 20, 32, 0.45);
  font-size: 14px;
  color: var(--ink-2);
}
.cookie h2 { font-size: 16px; margin-bottom: 6px; color: var(--ink); }
.cookie a { text-decoration: underline; text-underline-offset: 3px; }
.cookie__actions { display: -webkit-flex; display: -ms-flexbox; display: flex; gap: 10px; margin-top: 14px; }

/* Reveal */
.js .rv { opacity: 0; -webkit-transform: translateY(22px); transform: translateY(22px); transition: opacity 0.9s var(--ease), -webkit-transform 0.9s var(--ease); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease), -webkit-transform 0.9s var(--ease); }
.js .rv.in { opacity: 1; -webkit-transform: none; transform: none; }
.js .rv:nth-child(2) { transition-delay: 0.08s; }
.js .rv:nth-child(3) { transition-delay: 0.16s; }
.js .rv:nth-child(4) { transition-delay: 0.24s; }

/* Responsive */
@media (max-width: 1220px) {
  .burger { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0; width: 100%; max-width: 100vw;
    max-height: calc(100dvh - var(--header-offset, 64px));
    z-index: 50;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex; -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; -webkit-align-items: stretch; -ms-flex-align: stretch; align-items: stretch; gap: 0;
    padding: 12px 24px 28px;
    background: var(--ink);
    border-top: 1px solid var(--line-dark);
    box-shadow: 0 24px 40px -20px rgba(15, 20, 32, 0.3);
    overflow-y: auto; -ms-scroll-chaining: none; overscroll-behavior: contain;
    -webkit-transform: translateY(-12px);
            transform: translateY(-12px); opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.3s var(--ease), visibility 0s linear 0.35s, -webkit-transform 0.35s var(--ease);
    transition: transform 0.35s var(--ease), opacity 0.3s var(--ease), visibility 0s linear 0.35s;
    transition: transform 0.35s var(--ease), opacity 0.3s var(--ease), visibility 0s linear 0.35s, -webkit-transform 0.35s var(--ease);
  }
  .nav[data-open="true"] { -webkit-transform: none; transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: opacity 0.3s var(--ease), visibility 0s linear 0s, -webkit-transform 0.35s var(--ease); transition: transform 0.35s var(--ease), opacity 0.3s var(--ease), visibility 0s linear 0s; transition: transform 0.35s var(--ease), opacity 0.3s var(--ease), visibility 0s linear 0s, -webkit-transform 0.35s var(--ease); }
  .nav a:not(.nav-cta) { width: 100%; padding: 16px 0; font-size: 22px; border-bottom: 1px solid var(--line-dark); color: var(--on-dark); }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav .nav-cta { margin: 20px 0 0; -webkit-align-self: flex-start; -ms-flex-item-align: start; align-self: flex-start; }
  .play__layout { grid-template-columns: 1fr; }
  .play__aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .shell__core { grid-template-columns: 1fr; grid-template-rows: auto auto auto; }
  .pc-hud { grid-column: 1; grid-row: 3; -webkit-flex-direction: row; -ms-flex-direction: row; flex-direction: row; -webkit-flex-wrap: wrap; -ms-flex-wrap: wrap; flex-wrap: wrap; }
  .pc-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); -webkit-flex: 1 1 100%; -ms-flex: 1 1 100%; flex: 1 1 100%; }
  .pc-meter-wrap { -webkit-flex: 1 1 220px; -ms-flex: 1 1 220px; flex: 1 1 220px; }
  .pc-controls { -webkit-flex: 1 1 220px; -ms-flex: 1 1 220px; flex: 1 1 220px; grid-template-columns: 1fr 1fr; margin-top: 0; }
  .process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 820px) {
  body { font-size: 16px; }
  .studio__grid, .devblock__panel, .workflow__grid, .request__grid, .contact__grid, .play__head, .fairplay__panel { grid-template-columns: 1fr; }
  .pillars__grid, .services__grid, .play__about, .habits__grid { grid-template-columns: 1fr; }
  .play__aside { grid-template-columns: 1fr; }
  .workflow__media { position: static; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 32px; }
  .site-footer__bottom { -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center; text-align: center; }
  .cookie { left: 16px; right: 16px; max-width: none; bottom: 16px; }
  .agegate__card { padding: 36px 18px 18px; }
  .devblock__panel::after { display: none; }
}
@media (max-width: 520px) {
  .container { padding-inline: 16px; }
  .process__grid { grid-template-columns: 1fr; }
  .shell { padding: 5px; }
  .shell__core { padding: 8px; gap: 8px; }
  .pc-board { gap: 3px; padding: 6px; border-radius: 6px; }
  .pc-cell { border-width: 1.5px; }
  .pc-cell[data-c]::after { inset: -1.5px; box-shadow: 0 0 8px rgba(var(--c-rgb), 0.85); }
  .pc-stat b { font-size: 20px; }
  .pc-stat { padding: 8px 8px 8px 12px; }
  .contact__card dl { grid-template-columns: 1fr; gap: 4px 0; }
  .contact__card dt { margin-top: 8px; }
  .faq__item summary { font-size: 17px; gap: 12px; }
  .faq__icon { width: 34px; height: 34px; border-radius: 10px; }
  .faq__icon svg { width: 17px; height: 17px; }
  .faq__body { padding-left: 46px; }
  .site-footer__notice { -webkit-flex-direction: column; -ms-flex-direction: column; flex-direction: column; -webkit-align-items: flex-start; -ms-flex-align: start; align-items: flex-start; }
}
@media (max-width: 360px) {
  .btn { padding-left: 18px; font-size: 15px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { -webkit-animation-duration: 0.01ms !important; animation-duration: 0.01ms !important; -webkit-animation-delay: 0s !important; animation-delay: 0s !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; }
  html { scroll-behavior: auto; }
  .js .rv { opacity: 1; -webkit-transform: none; transform: none; }
}
