:root {
  color-scheme: dark;
  --ink: #f7f5f2;
  --muted: #aaa9ad;
  --dim: #777983;
  --night: #050609;
  --panel: #0c0e14;
  --panel-2: #11141d;
  --line: rgba(255, 255, 255, 0.10);
  --red: #f04444;
  --red-2: #9d181f;
  --cyan: #5bc8ff;
  --gold: #ffd45a;
  --radius: 22px;
  --shadow: 0 26px 80px rgba(0, 0, 0, 0.48);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--night);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 77% 8%, rgba(42, 121, 180, 0.15), transparent 32rem),
    radial-gradient(circle at 12% 24%, rgba(191, 31, 40, 0.12), transparent 28rem),
    var(--night);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
button { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: #fff;
  color: #000;
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: sticky;
  z-index: 50;
  top: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 6, 9, 0.80);
  backdrop-filter: blur(18px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,.14);
}

.brand span span { color: var(--red); }

.menu { display: flex; align-items: center; gap: 26px; }
.menu a {
  color: #c8c7ca;
  text-decoration: none;
  font-size: 0.91rem;
  font-weight: 650;
}
.menu a:hover, .menu a[aria-current="page"] { color: #fff; }
.menu .nav-cta {
  padding: 9px 15px;
  border: 1px solid rgba(240, 68, 68, .55);
  border-radius: 999px;
  color: #fff;
  background: rgba(240, 68, 68, .08);
}

.menu-button {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--panel);
  color: white;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 72px 0 82px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: auto -8% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,200,255,.38), rgba(240,68,68,.5), transparent);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(360px, .96fr);
  gap: 70px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 20px;
  color: #d6d3d3;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--red);
  box-shadow: 0 0 18px var(--red);
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(3.4rem, 8vw, 7.3rem);
  line-height: .88;
  letter-spacing: -.07em;
  text-transform: uppercase;
}
h1 .outline {
  color: transparent;
  -webkit-text-stroke: 1.6px rgba(255,255,255,.88);
}
h1 .slash { color: var(--red); }

.lede {
  max-width: 620px;
  margin-bottom: 32px;
  color: #c6c4c5;
  font-size: clamp(1.03rem, 1.8vw, 1.2rem);
}

.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: 999px;
  text-decoration: none;
  font-weight: 780;
}
.button.primary {
  border-color: #e43a3a;
  background: #d92f35;
  box-shadow: 0 14px 36px rgba(217, 47, 53, .23);
}
.button.primary:hover { background: #ed3b41; }
.button.secondary { background: rgba(255,255,255,.035); }
.button.secondary:hover { border-color: rgba(255,255,255,.28); }
.arrow { font-size: 1.15em; }

.status-line {
  display: flex;
  flex-wrap: wrap;
  gap: 11px 22px;
  margin-top: 34px;
  color: var(--muted);
  font-size: .85rem;
}
.status-line span { display: inline-flex; align-items: center; gap: 8px; }
.status-line i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #73db9a;
  box-shadow: 0 0 12px rgba(115,219,154,.8);
}

.hero-visual {
  position: relative;
  min-height: 650px;
  display: grid;
  place-items: center;
}
.hero-visual::before {
  content: "";
  position: absolute;
  width: min(520px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(240,68,68,.28), rgba(34,100,164,.09) 45%, transparent 72%);
  filter: blur(4px);
}

.poster {
  position: relative;
  width: min(460px, 88%);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 34px;
  box-shadow: var(--shadow), 0 0 60px rgba(240,68,68,.11);
  transform: rotate(2.4deg);
}
.poster img { width: 100%; height: 100%; object-fit: cover; }
.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.05);
  pointer-events: none;
}

.float-card {
  position: absolute;
  z-index: 2;
  right: 1%;
  bottom: 9%;
  width: 190px;
  padding: 17px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  background: rgba(10,12,18,.87);
  box-shadow: 0 18px 48px rgba(0,0,0,.38);
  backdrop-filter: blur(16px);
}
.float-card b { display: block; margin-bottom: 3px; font-size: 1.05rem; }
.float-card span { color: var(--muted); font-size: .78rem; }
.signal {
  display: flex;
  align-items: end;
  gap: 4px;
  height: 24px;
  margin-top: 12px;
}
.signal i { width: 7px; border-radius: 99px; background: var(--red); }
.signal i:nth-child(1) { height: 8px; opacity: .5; }
.signal i:nth-child(2) { height: 13px; opacity: .65; }
.signal i:nth-child(3) { height: 18px; opacity: .82; }
.signal i:nth-child(4) { height: 24px; box-shadow: 0 0 16px rgba(240,68,68,.6); }

.section { padding: 112px 0; }
.section.compact { padding: 70px 0; }
.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, .7fr);
  gap: 50px;
  align-items: end;
  margin-bottom: 48px;
}
.section-heading h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.section-heading p { margin-bottom: 0; color: var(--muted); }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature-card {
  min-height: 260px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(255,255,255,.05), rgba(255,255,255,.014));
}
.feature-number { color: var(--red); font-size: .76rem; font-weight: 900; letter-spacing: .15em; }
.feature-card h3 { margin: 56px 0 13px; font-size: 1.42rem; letter-spacing: -.025em; }
.feature-card p { margin: 0; color: var(--muted); }

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(330px, .92fr);
  gap: 16px;
}
.gameplay-frame, .phone-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #07090e;
  box-shadow: var(--shadow);
}
.gameplay-frame { min-height: 720px; }
.gameplay-frame img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.gameplay-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(4,5,8,.88));
}
.frame-caption {
  position: absolute;
  z-index: 2;
  right: 28px;
  bottom: 26px;
  left: 28px;
}
.frame-caption b { display: block; font-size: 1.25rem; }
.frame-caption span { color: var(--muted); font-size: .9rem; }
.phone-stack { display: grid; gap: 16px; grid-template-rows: 1fr 1fr; }
.phone-card { min-height: 352px; display: grid; grid-template-columns: 43% 57%; }
.phone-card img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.phone-card-copy { align-self: end; padding: 25px; }
.phone-card-copy small { color: var(--cyan); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.phone-card-copy h3 { margin: 10px 0 8px; font-size: 1.35rem; }
.phone-card-copy p { margin: 0; color: var(--muted); font-size: .9rem; }

.rank-section {
  position: relative;
  border-block: 1px solid var(--line);
  background: linear-gradient(120deg, rgba(27,61,110,.18), rgba(159,27,35,.12));
}
.rank-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.rank-image { max-width: 370px; justify-self: center; border-radius: 28px; box-shadow: var(--shadow); }
.rank-copy h2 { margin-bottom: 20px; font-size: clamp(2.4rem, 5vw, 4.8rem); line-height: .95; letter-spacing: -.055em; text-transform: uppercase; }
.rank-copy > p { max-width: 590px; color: var(--muted); }
.rank-list { display: grid; gap: 13px; margin-top: 28px; }
.rank-list div { display: grid; grid-template-columns: 24px 1fr; gap: 12px; align-items: start; }
.rank-list b { display: inline-grid; place-items: center; width: 24px; height: 24px; border: 1px solid rgba(91,200,255,.45); border-radius: 50%; color: var(--cyan); font-size: .72rem; }

.release-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding: 44px;
  border: 1px solid rgba(240,68,68,.26);
  border-radius: 30px;
  background: #0e0d12;
}
.release-panel::before {
  content: "";
  position: absolute;
  inset: -100% auto -100% -6%;
  width: 38%;
  background: rgba(211,37,44,.17);
  transform: rotate(18deg);
  filter: blur(30px);
}
.release-panel > * { position: relative; }
.release-panel h2 { margin-bottom: 10px; font-size: clamp(1.9rem, 4vw, 3.3rem); line-height: 1; letter-spacing: -.045em; }
.release-panel p { margin-bottom: 0; color: var(--muted); }

.legal-hero { padding: 82px 0 46px; }
.legal-hero h1 { max-width: 900px; margin-bottom: 20px; font-size: clamp(2.8rem, 7vw, 5.8rem); }
.legal-hero p { max-width: 760px; color: var(--muted); font-size: 1.08rem; }
.updated { color: var(--dim); font-size: .84rem; }
.legal-layout { display: grid; grid-template-columns: 250px minmax(0, 760px); gap: 72px; align-items: start; padding: 40px 0 110px; }
.legal-nav { position: sticky; top: 100px; display: grid; gap: 8px; }
.legal-nav a { padding: 9px 12px; border-radius: 9px; color: var(--muted); text-decoration: none; font-size: .9rem; }
.legal-nav a:hover { color: #fff; background: rgba(255,255,255,.04); }
.legal-copy section { scroll-margin-top: 105px; padding-top: 6px; margin-bottom: 52px; }
.legal-copy h2 { margin-bottom: 14px; font-size: 1.5rem; letter-spacing: -.025em; }
.legal-copy h3 { margin: 24px 0 10px; font-size: 1.05rem; }
.legal-copy p, .legal-copy li { color: #c2c0c3; }
.legal-copy ul { padding-left: 20px; }
.legal-copy li + li { margin-top: 8px; }
.notice { padding: 20px 22px; border-left: 3px solid var(--red); border-radius: 0 12px 12px 0; background: rgba(240,68,68,.065); }
.data-table { width: 100%; border-collapse: collapse; margin: 20px 0; }
.data-table th, .data-table td { padding: 14px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.data-table th { color: #fff; font-size: .84rem; }
.data-table td { color: var(--muted); font-size: .9rem; }

.info-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.info-card { padding: 22px; border: 1px solid var(--line); border-radius: 16px; background: var(--panel); }
.info-card small { color: var(--dim); text-transform: uppercase; letter-spacing: .11em; }
.info-card strong { display: block; margin-top: 7px; font-size: 1.05rem; }
.info-card a { color: inherit; text-decoration-color: rgba(91,200,255,.55); text-underline-offset: 3px; }

.faq { display: grid; gap: 10px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }
.faq summary { cursor: pointer; padding: 18px 20px; font-weight: 750; }
.faq details p { padding: 0 20px 20px; margin: 0; color: var(--muted); }

.site-footer { border-top: 1px solid var(--line); padding: 48px 0 34px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 32px; }
.footer-brand p { max-width: 370px; color: var(--muted); font-size: .9rem; }
.footer-column b { display: block; margin-bottom: 13px; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; }
.footer-column a { display: block; width: fit-content; margin: 7px 0; color: var(--muted); text-decoration: none; font-size: .9rem; }
.footer-column a:hover { color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 38px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: .78rem; }

[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity .65s ease, transform .65s ease; }
[data-reveal][data-visible="true"] { opacity: 1; transform: none; }

.company-hero {
  min-height: calc(100vh - 72px);
  display: grid;
  align-items: center;
  padding: 80px 0;
  border-bottom: 1px solid var(--line);
}
.company-hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 72px; align-items: center; }
.company-hero h1 { max-width: 820px; font-size: clamp(3.4rem, 7.4vw, 7rem); }
.company-wordmark { position: relative; display: grid; place-items: center; min-height: 520px; }
.company-wordmark::before { content: ""; position: absolute; width: 92%; aspect-ratio: 1; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 100px rgba(91,200,255,.08), inset 0 0 100px rgba(240,68,68,.05); }
.company-letters { position: relative; font-size: clamp(5.5rem, 14vw, 11rem); font-weight: 900; letter-spacing: -.095em; line-height: .8; }
.company-letters span { color: var(--red); }
.company-axis { position: absolute; width: 74%; height: 1px; background: linear-gradient(90deg, transparent, var(--cyan), var(--red), transparent); transform: rotate(-18deg); box-shadow: 0 0 20px rgba(91,200,255,.28); }
.company-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 42px; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--line); }
.company-proof div { padding: 17px; background: var(--panel); }
.company-proof b { display: block; font-size: .9rem; }
.company-proof span { color: var(--muted); font-size: .78rem; }
.project-card { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); overflow: hidden; border: 1px solid var(--line); border-radius: 30px; background: var(--panel); box-shadow: var(--shadow); }
.project-card-media { min-height: 580px; }
.project-card-media img { width: 100%; height: 100%; object-fit: cover; }
.project-card-copy { display: flex; flex-direction: column; justify-content: center; padding: clamp(32px, 6vw, 72px); }
.project-card-copy h2 { margin-bottom: 20px; font-size: clamp(2.5rem, 5vw, 5.2rem); line-height: .92; letter-spacing: -.06em; text-transform: uppercase; }
.project-card-copy p { max-width: 590px; color: var(--muted); }
.company-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.company-link { min-height: 200px; padding: 26px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.025); text-decoration: none; }
.company-link small { color: var(--red); font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.company-link h3 { margin: 48px 0 8px; font-size: 1.28rem; }
.company-link p { margin: 0; color: var(--muted); font-size: .9rem; }
.company-link:hover { border-color: rgba(91,200,255,.4); transform: translateY(-2px); }

@media (max-width: 900px) {
  .hero-grid, .section-heading, .rank-grid, .showcase, .legal-layout, .company-hero-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 28px; }
  .hero-visual { min-height: 510px; }
  .poster { width: min(410px, 82%); }
  .section-heading { gap: 18px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: 0; }
  .feature-card h3 { margin-top: 35px; }
  .gameplay-frame { min-height: 620px; }
  .phone-stack { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .phone-card { min-height: 390px; grid-template-columns: 1fr; grid-template-rows: 60% 40%; }
  .rank-grid { gap: 48px; }
  .rank-image { max-width: 330px; }
  .legal-layout { gap: 30px; }
  .legal-nav { position: static; display: flex; flex-wrap: wrap; }
  .company-wordmark { min-height: 360px; }
  .project-card { grid-template-columns: 1fr; }
  .project-card-media { min-height: 460px; }
}

@media (max-width: 720px) {
  .shell { width: min(100% - 28px, 1180px); }
  .menu-button { display: inline-grid; place-items: center; }
  .menu {
    position: absolute;
    top: 72px;
    right: 14px;
    left: 14px;
    display: none;
    align-items: stretch;
    padding: 13px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(9,10,15,.98);
    box-shadow: var(--shadow);
  }
  .menu[data-open="true"] { display: grid; }
  .menu a { padding: 10px 9px; }
  .menu .nav-cta { text-align: center; }
  .hero { min-height: auto; padding-top: 60px; }
  h1 { font-size: clamp(3rem, 18vw, 5.2rem); }
  .hero-visual { min-height: 430px; }
  .float-card { right: 0; bottom: 2%; width: 168px; }
  .section { padding: 84px 0; }
  .gameplay-frame { min-height: 560px; }
  .phone-stack { grid-template-columns: 1fr; }
  .phone-card { min-height: 420px; grid-template-columns: 45% 55%; grid-template-rows: auto; }
  .release-panel { grid-template-columns: 1fr; padding: 30px 24px; }
  .release-panel .button { width: 100%; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; }
  .info-grid { grid-template-columns: 1fr; }
  .company-hero { padding: 58px 0 70px; }
  .company-wordmark { min-height: 280px; }
  .company-proof, .company-links { grid-template-columns: 1fr; }
  .project-card-media { min-height: 390px; }
  .data-table { display: block; overflow-x: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}
