:root {
  --night: #0b111b; --night-2: #121c2a; --night-3: #182536; --panel: #1d2a3c;
  --orange: #f3a33b; --blue: #1aaef1; --cream: #f8f1e5; --white: #fff;
  --muted: #a9b6c6; --line: rgba(255,255,255,.12); --max: 1200px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body { margin: 0; color: var(--white); background: var(--night); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 17px; line-height: 1.6; text-rendering: optimizeLegibility; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0; z-index: -2; pointer-events: none; opacity: .18; background-image: radial-gradient(rgba(255,255,255,.35) .7px, transparent .7px); background-size: 20px 20px; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.skip-link { position: absolute; left: 1rem; top: -5rem; z-index: 100; padding: .7rem 1rem; color: var(--night); background: var(--cream); border: 2px solid var(--night); }
.skip-link:focus { top: 1rem; }
.shell { width: min(calc(100% - 48px), var(--max)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: var(--orange); color: var(--night); border-bottom: 4px solid var(--night); }
.nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; gap: .72rem; color: inherit; text-decoration: none; font-weight: 950; letter-spacing: -.045em; font-size: 1.24rem; }
.brand-mark { display: grid; place-items: center; width: 42px; aspect-ratio: 1; border-radius: 10px; color: var(--cream); background: var(--night); border: 2px solid var(--night); box-shadow: 4px 4px 0 var(--blue); font-size: 1.12rem; }
.nav-links { display: flex; align-items: center; gap: 2rem; }
.nav-links a { color: var(--night); text-decoration: none; font-weight: 800; font-size: .92rem; }
.nav-links a:hover, .nav-links a:focus-visible { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.nav-toggle { display: none; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; min-height: 50px; padding: .78rem 1.2rem; color: var(--night); background: var(--orange); border: 2px solid var(--orange); border-radius: 8px; text-decoration: none; font-weight: 900; box-shadow: 6px 6px 0 var(--blue); transition: transform .18s ease, box-shadow .18s ease; }
.button:hover, .button:focus-visible { transform: translate(-2px,-2px); box-shadow: 9px 9px 0 var(--blue); }
.button.secondary { color: var(--white); background: transparent; border-color: rgba(255,255,255,.62); box-shadow: none; }
.button.secondary:hover, .button.secondary:focus-visible { border-color: var(--orange); color: var(--orange); }
.button.small { min-height: 42px; padding: .55rem 1rem; color: var(--cream); background: var(--night); border-color: var(--night); box-shadow: 4px 4px 0 var(--blue); }

.eyebrow { display: inline-flex; align-items: center; gap: .65rem; margin: 0 0 1rem; color: var(--orange); font-size: .78rem; font-weight: 950; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 34px; height: 3px; background: currentColor; }
h1,h2,h3,p { margin-top: 0; }
h1,h2,h3 { line-height: 1.02; letter-spacing: -.045em; }
h1 { margin-bottom: 1.4rem; font-size: clamp(3.4rem, 7vw, 7rem); }
h2 { margin-bottom: 1rem; font-size: clamp(2.4rem, 5vw, 4.8rem); }
h3 { margin-bottom: .7rem; font-size: clamp(1.45rem, 2.3vw, 2.15rem); }
.lede { max-width: 62ch; color: var(--muted); font-size: clamp(1.08rem, 1.8vw, 1.35rem); }
.section-copy { max-width: 650px; color: var(--muted); }

.hero { position: relative; min-height: calc(100vh - 78px); display: grid; align-items: center; padding: 58px 0 70px; background: var(--night-2); overflow: hidden; }
.hero::after { content: ""; position: absolute; right: -13vw; bottom: -48vw; width: 78vw; aspect-ratio: 1; border: 1px solid rgba(26,174,241,.18); border-radius: 50%; box-shadow: 0 0 0 90px rgba(26,174,241,.03), 0 0 0 180px rgba(243,163,59,.025); }
.hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: clamp(2.5rem, 6vw, 7rem); }
.hero h1 { max-width: 760px; }
.hero h1 span { color: var(--orange); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
.hero-facts { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; max-width: 620px; margin-top: 3.2rem; border-top: 1px solid var(--line); }
.hero-fact { padding: 1.1rem 1rem 0 0; }
.hero-fact + .hero-fact { padding-left: 1rem; border-left: 1px solid var(--line); }
.hero-fact strong { display: block; color: var(--orange); font-size: 1.7rem; line-height: 1; }
.hero-fact span { color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.brand-portrait { position: relative; width: min(100%, 570px); margin-inline: auto; padding: 14px; background: #080d15; border: 1px solid rgba(255,255,255,.22); box-shadow: 20px 20px 0 var(--orange), -14px -14px 0 var(--blue), 0 34px 90px rgba(0,0,0,.42); transform: rotate(1deg); }
.brand-portrait img { width: 100%; height: auto; object-fit: contain; }
.brand-portrait::before { content: "ROBB STUDIOS"; position: absolute; left: -42px; bottom: 22px; padding: .55rem .8rem; color: var(--night); background: var(--cream); border: 2px solid var(--night); font-size: .68rem; font-weight: 950; letter-spacing: .16em; transform: rotate(-4deg); }

.games-nav { background: var(--orange); color: var(--night); border-block: 3px solid var(--night); overflow: hidden; }
.games-nav-track { width: max-content; display: flex; padding: .78rem 0; animation: ticker 25s linear infinite; }
.games-nav span { padding-inline: 1.5rem; font-size: .84rem; font-weight: 950; letter-spacing: .13em; text-transform: uppercase; }
.games-nav span::after { content: "✦"; margin-left: 3rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

.section { padding: 118px 0; }
.section-alt { background: var(--night-2); }
.section-dark { background: var(--night-2); }
.section-blue { background: var(--night-3); }
.section-heading { position: relative; z-index: 5; display: flex; align-items: end; justify-content: space-between; gap: 3rem; margin-bottom: 5rem; }
.section-heading > div { max-width: 760px; }
.section-heading .section-copy { margin-bottom: .4rem; }
.game-feature { display: grid; grid-template-columns: 1.12fr .88fr; gap: clamp(3rem,7vw,8rem); align-items: center; }
.game-feature + .game-feature { margin-top: 150px; }
.game-feature.reverse { grid-template-columns: .9fr 1.1fr; }
.game-feature.reverse .game-visual { order: 2; }
.game-kicker { display: flex; flex-wrap: wrap; gap: .65rem; margin-bottom: 1.3rem; }
.tag { display: inline-flex; padding: .4rem .75rem; color: var(--cream); border: 1px solid rgba(255,255,255,.5); border-radius: 999px; font-size: .74rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.tag.orange { color: var(--night); background: var(--orange); border-color: var(--orange); }
.tag.cyan { color: var(--night); background: var(--blue); border-color: var(--blue); }
.tag.green { color: var(--night); background: #6adbb2; border-color: #6adbb2; }
.feature-list { list-style: none; display: grid; gap: .85rem; padding: 0; margin: 2rem 0; }
.feature-list li { display: flex; gap: .85rem; color: #c0ccda; }
.feature-list li::before { content: "↗"; color: var(--orange); font-weight: 950; }

.device-stage { position: relative; min-height: 690px; perspective: 1600px; transform-style: preserve-3d; }
.device { position: absolute; width: min(50%, 294px); padding: 11px; background: #070b12; border: 2px solid #657184; border-radius: 48px; box-shadow: 0 35px 70px rgba(0,0,0,.48); transform-style: preserve-3d; }
.device img { width: 100%; height: auto; aspect-ratio: 590 / 1280; object-fit: cover; border-radius: 37px; background: #f8f7ff; }
.spingrade-devices { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: center; gap: clamp(48px,7vw,84px); min-height: auto; padding: 38px 8px; }
.spingrade-devices .device { position: relative; width: 100%; max-width: 294px; }
.spingrade-devices .device:first-child { justify-self: end; transform: rotateY(10deg) rotateX(2deg) rotateZ(-3deg); }
.spingrade-devices .device:last-child { justify-self: start; transform: rotateY(-10deg) rotateX(2deg) rotateZ(3deg); }
.spingrade-devices::after { content: "SPINGRADE"; position: absolute; left: 0; bottom: 44px; z-index: -1; color: rgba(255,255,255,.045); font-size: clamp(4rem,9vw,8rem); font-weight: 950; letter-spacing: -.06em; transform: rotate(-90deg) translateX(-10%); transform-origin: left bottom; }
.single-device { display: grid; place-items: center; }
.single-device .device { position: relative; width: min(70%, 360px); transform: rotateY(-19deg) rotateX(3deg) rotateZ(5deg); }
.single-device .device img { aspect-ratio: 720 / 1280; }
.single-device::before { content: ""; position: absolute; width: 62%; aspect-ratio: 1; border: 2px solid var(--orange); transform: rotate(13deg); opacity: .32; }

.principles { display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin-top: 4rem; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.principle { min-height: 300px; padding: 2.4rem; background: var(--night-2); }
.principle-index { display: block; margin-bottom: 4rem; color: var(--orange); font-size: .78rem; font-weight: 950; letter-spacing: .15em; }
.principle p { color: var(--muted); margin-bottom: 0; }
.cta-panel { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 3rem; padding: clamp(2rem,6vw,5rem); color: var(--night); background: var(--orange); border: 2px solid var(--cream); box-shadow: 14px 14px 0 var(--blue); }
.cta-panel .eyebrow { color: var(--night); }
.cta-panel p { max-width: 650px; margin-bottom: 0; color: #3f2b16; }
.cta-panel .button { color: var(--cream); background: var(--night); border-color: var(--night); }

.page-hero { padding: 105px 0 78px; background: var(--night-2); border-bottom: 4px solid var(--orange); }
.page-hero h1 { max-width: 980px; }
.breadcrumbs { margin-bottom: 2rem; color: var(--muted); font-size: .84rem; font-weight: 800; }
.breadcrumbs a { color: var(--cream); text-decoration-thickness: 2px; }
.content-grid { display: grid; grid-template-columns: minmax(0,1fr) 290px; gap: 6rem; align-items: start; }
.article { max-width: 800px; }
.article h2 { margin-top: 3.5rem; font-size: clamp(1.8rem,3vw,2.7rem); }
.article h3 { margin-top: 2.2rem; font-size: 1.35rem; }
.article p,.article li { color: #bac6d5; }
.article a { color: #5ac8fa; font-weight: 800; }
.article .notice { padding: 1.2rem 1.35rem; color: var(--cream); background: var(--night-3); border-left: 5px solid var(--orange); }
.side-card { position: sticky; top: 108px; padding: 1.5rem; background: var(--night-3); border: 1px solid rgba(255,255,255,.22); box-shadow: 7px 7px 0 var(--orange); }
.side-card strong { display: block; margin-bottom: .65rem; }
.side-card span { color: var(--muted); }
.side-card a { display: block; margin-top: .7rem; color: var(--blue); font-weight: 800; }
.support-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-top: 3rem; }
.support-card { padding: 2rem; background: var(--night-2); border: 1px solid rgba(255,255,255,.18); }
.support-card p { color: var(--muted); }
.support-card a { color: var(--blue); font-weight: 850; }
.faq { border-top: 1px solid var(--line); }
.faq details { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 850; }
.faq details p { padding-top: 1rem; margin-bottom: 0; color: var(--muted); }
.site-footer { padding: 72px 0 30px; color: var(--white); background: #060a10; border-top: 5px solid var(--orange); }
.site-footer .brand { color: var(--white); }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 3rem; padding-bottom: 50px; }
.footer-brand { max-width: 470px; }
.footer-brand p { color: var(--muted); }
.footer-title { display: block; margin-bottom: 1rem; color: var(--orange); font-size: .75rem; font-weight: 950; letter-spacing: .14em; text-transform: uppercase; }
.footer-links { display: grid; gap: .65rem; }
.footer-links a { color: #c2cedc; text-decoration: none; }
.footer-links a:hover,.footer-links a:focus-visible { color: var(--orange); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 1rem; padding-top: 24px; color: #8190a3; border-top: 1px solid #263448; font-size: .84rem; }
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .55s ease,transform .55s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 940px) {
  .hero-grid,.game-feature,.game-feature.reverse,.content-grid { grid-template-columns: 1fr; }
  .brand-portrait { max-width: 500px; }
  .game-feature.reverse .game-visual { order: 0; }
  .principles,.support-grid { grid-template-columns: 1fr; }
  .principle { min-height: auto; }
  .principle-index { margin-bottom: 2rem; }
  .cta-panel { grid-template-columns: 1fr; }
  .section-heading { display: block; }
}
@media (max-width: 720px) {
  .shell { width: min(calc(100% - 30px),var(--max)); }
  .nav { min-height: 68px; }
  .nav-toggle { display: grid; place-items: center; min-width: 48px; height: 44px; padding: 0 .6rem; color: var(--night); background: transparent; border: 2px solid var(--night); font-weight: 900; }
  .nav-links { display: none; position: absolute; left: 15px; right: 15px; top: 68px; padding: 1.2rem; background: var(--orange); border: 2px solid var(--night); box-shadow: 7px 7px 0 var(--blue); flex-direction: column; align-items: stretch; }
  .nav-links.open { display: flex; }
  .nav-links .button { width: 100%; }
  h1 { font-size: clamp(3rem,15vw,5.2rem); }
  .hero { min-height: auto; padding: 62px 0 88px; }
  .hero-grid { gap: 4rem; }
  .hero-facts { grid-template-columns: 1fr; }
  .hero-fact + .hero-fact { padding-left: 0; border-left: 0; }
  .brand-portrait { width: calc(100% - 16px); box-shadow: 10px 10px 0 var(--orange),-8px -8px 0 var(--blue); }
  .brand-portrait::before { left: -8px; bottom: 14px; }
  .section { padding: 86px 0; }
  .section-heading { margin-bottom: 3rem; }
  .device-stage { min-height: 550px; }
  .device { width: min(54%,230px); padding: 8px; border-radius: 38px; }
  .device img { border-radius: 29px; }
  .spingrade-devices { min-height: auto; gap: 32px; padding: 30px 0; }
  .spingrade-devices .device { width: 100%; }
  .spingrade-devices .device:first-child { transform: rotateY(8deg) rotateX(1deg) rotateZ(-2deg); }
  .spingrade-devices .device:last-child { transform: rotateY(-8deg) rotateX(1deg) rotateZ(2deg); }
  .single-device .device { width: min(68%,280px); }
  .game-feature + .game-feature { margin-top: 105px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
