:root {
  --bg: #080a0d;
  --surface: #101317;
  --surface-2: #151a20;
  --surface-3: #1d232b;
  --line: rgba(229, 231, 235, .12);
  --text: #f5f7fb;
  --muted: #aeb7c4;
  --soft: #d7dde6;
  --cyan: #22d3ee;
  --purple: #7c3aed;
  --purple-2: #a855f7;
  --green: #64f08a;
  --red: #fb7185;
  --amber: #fbbf24;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, .42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  letter-spacing: 0;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px),
    radial-gradient(circle at 12% 0%, rgba(124, 58, 237, .2), transparent 28%),
    radial-gradient(circle at 88% 12%, rgba(34, 211, 238, .12), transparent 25%),
    linear-gradient(180deg, #070914 0%, #0c1020 46%, #070914 100%);
  background-size: 56px 56px, 56px 56px, auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

.signal-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  opacity: .46;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 76px;
  padding: 0 max(22px, calc((100vw - 1180px) / 2));
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(90deg, rgba(124, 58, 237, .08), transparent 34%, rgba(34, 211, 238, .06)),
    rgba(8, 10, 13, .88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: max-content;
}

.brand-logo {
  display: block;
  width: 246px;
  height: auto;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(34, 211, 238, .55);
  border-radius: var(--radius);
  color: #07110b;
  background: linear-gradient(135deg, var(--purple-2), var(--cyan));
  font-weight: 900;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  font-weight: 900;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  color: var(--soft);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  position: relative;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -11px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--purple-2), var(--cyan));
  opacity: 0;
  transform: scaleX(.5);
  transition: opacity .18s ease, transform .18s ease;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav a:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.select {
  height: 40px;
  width: 100%;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, .045);
  font-size: 12px;
  font-weight: 800;
  outline: none;
}

.header-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

.header-cta,
.button.primary {
  border: 1px solid rgba(168, 85, 247, .62);
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2) 52%, var(--cyan));
  box-shadow: 0 16px 36px rgba(124, 58, 237, .24);
}

.button.secondary {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, .045);
}

.header-cta:hover,
.button:hover {
  transform: translateY(-2px);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .04);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: var(--text);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 520px);
  gap: 48px;
  align-items: center;
  width: min(1180px, calc(100% - 36px));
  min-height: calc(100vh - 76px);
  margin: 0 auto;
  padding: 74px 0 56px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0 calc((1180px - 100vw) / 2);
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 9, 20, .96) 0%, rgba(7, 9, 20, .72) 42%, rgba(7, 9, 20, .22) 100%),
    linear-gradient(180deg, rgba(7, 9, 20, .35), rgba(7, 9, 20, .88)),
    url("assets/hero-gamer-3d.jpg") center right / cover no-repeat;
  opacity: .96;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0 calc((1180px - 100vw) / 2);
  z-index: -1;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(180deg, black, transparent 95%);
}

.hero-content {
  max-width: 740px;
  min-width: 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 22px;
  max-width: 850px;
  font-size: clamp(44px, 6vw, 72px);
  line-height: .98;
  font-weight: 900;
  overflow-wrap: break-word;
}

.hero-copy {
  max-width: 660px;
  margin-bottom: 30px;
  color: var(--soft);
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 660px;
  margin: 34px 0 0;
}

.trust-strip div {
  min-height: 86px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .045);
}

.trust-strip dt {
  margin-bottom: 6px;
  font-size: 28px;
  font-weight: 900;
}

.trust-strip dd {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

.ops-window {
  border: 1px solid rgba(229, 231, 235, .16);
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(16, 19, 23, .86);
  box-shadow: var(--shadow);
}

.window-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .04);
}

.window-bar span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--red);
}

.window-bar span:nth-child(2) {
  background: var(--amber);
}

.window-bar span:nth-child(3) {
  background: var(--green);
}

.window-bar strong {
  margin-left: 8px;
  color: var(--soft);
  font-size: 12px;
}

.status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.status-row div {
  padding: 18px 14px;
  background: rgba(12, 15, 19, .95);
}

.status-row small,
.metric small {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.status-row strong {
  font-size: 25px;
  font-weight: 900;
}

.problem-grid,
.games-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.problem-grid article,
.games-grid article,
.portal-shell {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 19, 23, .82);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
}

.problem-grid article {
  min-height: 230px;
  padding: 22px;
}

.problem-grid span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--cyan);
  font-size: 13px;
  font-weight: 900;
}

.problem-grid h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.problem-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.threat-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 18px;
}

.threat-map {
  position: relative;
  min-height: 250px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(rgba(255, 255, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .04) 1px, transparent 1px),
    radial-gradient(circle at 50% 50%, rgba(34, 211, 238, .15), transparent 52%);
  background-size: 36px 36px, 36px 36px, auto;
  overflow: hidden;
}

.threat-map::before,
.threat-map::after {
  content: "";
  position: absolute;
  inset: 26px;
  border: 1px solid rgba(34, 211, 238, .2);
  border-radius: 50%;
}

.threat-map::after {
  inset: 72px;
  border-color: rgba(100, 240, 138, .18);
}

.node {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--cyan);
  box-shadow: 0 0 22px rgba(34, 211, 238, .8);
}

.node.danger {
  background: var(--red);
  box-shadow: 0 0 22px rgba(251, 113, 133, .8);
}

.node.warn {
  background: var(--amber);
  box-shadow: 0 0 22px rgba(251, 191, 36, .8);
}

.n1 { left: 18%; top: 30%; }
.n2 { left: 47%; top: 18%; }
.n3 { left: 66%; top: 45%; }
.n4 { left: 36%; top: 67%; }
.n5 { left: 78%; top: 74%; }

.event-list {
  display: grid;
  gap: 10px;
}

.event-list article {
  display: grid;
  grid-template-columns: 10px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .035);
}

.severity {
  width: 9px;
  height: 9px;
  margin-top: 5px;
  border-radius: 999px;
}

.severity.high { background: var(--red); }
.severity.medium { background: var(--amber); }
.severity.ok { background: var(--green); }

.event-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: 14px;
}

.event-list p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.section {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 82px 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 28px;
}

.section-heading h2,
.operation-copy h2,
.final-cta h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4vw, 54px);
  line-height: 1.06;
  font-weight: 900;
}

.section-heading p:not(.eyebrow),
.operation-copy p {
  color: var(--soft);
  font-size: 17px;
  line-height: 1.7;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.feature-card,
.plan-card,
.timeline article,
.faq details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(16, 19, 23, .82);
  box-shadow: 0 18px 45px rgba(0, 0, 0, .24);
}

.feature-card {
  min-height: 250px;
  padding: 22px;
}

.feature-icon {
  display: block;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border: 1px solid rgba(168, 85, 247, .36);
  border-radius: var(--radius);
  background: rgba(124, 58, 237, .12);
}

.feature-icon.shield {
  clip-path: polygon(50% 6%, 88% 20%, 78% 76%, 50% 94%, 22% 76%, 12% 20%);
}

.feature-icon.pulse {
  background:
    linear-gradient(90deg, transparent 0 18%, var(--cyan) 18% 24%, transparent 24% 36%, var(--cyan) 36% 42%, transparent 42% 100%),
    rgba(34, 211, 238, .08);
}

.feature-icon.key {
  border-radius: 999px 999px 999px 2px;
}

.feature-icon.log {
  background:
    linear-gradient(var(--green) 0 0) 10px 12px / 22px 2px no-repeat,
    linear-gradient(var(--cyan) 0 0) 10px 21px / 16px 2px no-repeat,
    linear-gradient(var(--amber) 0 0) 10px 30px / 24px 2px no-repeat,
    rgba(100, 240, 138, .08);
}

.games-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.games-grid article {
  position: relative;
  min-height: 238px;
  padding: 0;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(124, 58, 237, .12), rgba(34, 211, 238, .035)),
    rgba(16, 19, 23, .82);
  transition: transform .2s ease, border-color .2s ease;
}

.games-grid article:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 211, 238, .38);
}

.games-grid img {
  width: 100%;
  height: 158px;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.04);
}

.games-grid article::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 28%, rgba(7, 9, 20, .18) 58%, rgba(7, 9, 20, .72));
}

.games-grid article > div {
  position: relative;
  z-index: 1;
  padding: 15px;
}

.games-grid article.wide {
  grid-column: span 2;
}

.games-grid article.featured-game {
  grid-column: span 2;
  min-height: 292px;
  border-color: rgba(250, 204, 21, .34);
  background:
    linear-gradient(145deg, rgba(250, 204, 21, .13), rgba(124, 58, 237, .12)),
    rgba(16, 19, 23, .82);
}

.games-grid article.featured-game img {
  height: 198px;
}

.games-grid strong,
.games-grid span {
  display: block;
}

.games-grid strong {
  margin-bottom: 10px;
  font-size: 17px;
}

.games-grid span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.games-grid p {
  margin: 10px 0 0;
  color: var(--soft);
  font-size: 13px;
  line-height: 1.55;
}

.feature-card h3,
.timeline h3 {
  margin-bottom: 10px;
  font-size: 19px;
}

.feature-card p,
.timeline p,
.plan-card p,
.faq p {
  color: var(--muted);
  line-height: 1.65;
}

.operation {
  display: grid;
  grid-template-columns: .82fr 1fr;
  gap: 42px;
  align-items: start;
}

.check-list,
.plan-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.check-list li,
.plan-card li {
  position: relative;
  padding-left: 24px;
  color: var(--soft);
  line-height: 1.55;
}

.check-list li::before,
.plan-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .55em;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--green);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.timeline article {
  min-height: 210px;
  padding: 24px;
}

.portal-shell {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  align-items: center;
  padding: 30px;
  background:
    linear-gradient(135deg, rgba(124, 58, 237, .16), rgba(34, 211, 238, .06)),
    rgba(16, 19, 23, .88);
}

.portal-shell h2 {
  margin-bottom: 14px;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.08;
}

.portal-shell p:not(.eyebrow) {
  color: var(--soft);
  line-height: 1.7;
}

.module-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.module-cloud span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft);
  background: rgba(255, 255, 255, .055);
  font-size: 13px;
  font-weight: 800;
}

.timeline span {
  display: inline-flex;
  margin-bottom: 30px;
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.plan-card {
  display: flex;
  flex-direction: column;
  padding: 26px;
}

.plan-card.featured {
  border-color: rgba(100, 240, 138, .55);
  background: linear-gradient(180deg, rgba(100, 240, 138, .11), rgba(16, 19, 23, .9));
}

.plan-label {
  display: inline-flex;
  align-self: flex-start;
  margin-bottom: 18px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.plan-card h3 {
  margin-bottom: 12px;
  font-size: 34px;
}

.plan-card small {
  color: var(--muted);
  font-size: 14px;
}

.plan-card ul {
  margin-bottom: 24px;
}

.plan-card .button {
  margin-top: auto;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.faq details {
  padding: 22px;
}

.faq summary {
  cursor: pointer;
  font-weight: 900;
}

.faq p {
  margin: 14px 0 0;
}

.final-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 36px));
  margin: 30px auto 86px;
  padding: 34px;
  border: 1px solid rgba(100, 240, 138, .32);
  border-radius: var(--radius);
  background:
    linear-gradient(90deg, rgba(100, 240, 138, .14), rgba(34, 211, 238, .08)),
    rgba(16, 19, 23, .9);
}

.final-cta h2 {
  margin-bottom: 0;
}

.final-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.contact-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, calc(100% - 36px));
  margin: -46px auto 86px;
  padding: 30px 34px;
  border-top: 1px solid rgba(34, 211, 238, .3);
  border-bottom: 1px solid rgba(168, 85, 247, .28);
  background:
    linear-gradient(90deg, rgba(34, 211, 238, .1), rgba(124, 58, 237, .12)),
    rgba(8, 10, 13, .72);
}

.contact-band h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.contact-modal.is-open {
  display: flex;
}

.contact-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 5, 10, .78);
  backdrop-filter: blur(10px);
}

.contact-dialog {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(34, 211, 238, .24);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(124, 58, 237, .14), rgba(34, 211, 238, .08)),
    rgba(16, 19, 23, .98);
  box-shadow: var(--shadow);
}

.contact-dialog h2 {
  margin-bottom: 18px;
}

.contact-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, .06);
  cursor: pointer;
}

.contact-dialog form {
  display: grid;
  gap: 14px;
}

.contact-dialog label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.contact-dialog input,
.contact-dialog textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(7, 9, 20, .82);
  outline: none;
}

.contact-dialog input {
  height: 46px;
  padding: 0 13px;
}

.contact-dialog textarea {
  min-height: 132px;
  padding: 13px;
  resize: vertical;
}

.contact-dialog input:focus,
.contact-dialog textarea:focus {
  border-color: rgba(34, 211, 238, .58);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 30px max(22px, calc((100vw - 1180px) / 2)) 42px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--text);
}

.site-footer p {
  margin: 8px 0 0;
}

.site-footer nav {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.page-form {
  min-height: 100vh;
}

.form-nav {
  justify-content: flex-end;
}

.form-layout,
.login-layout {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.form-layout {
  display: grid;
  grid-template-columns: .9fr minmax(380px, 520px);
  gap: 44px;
  align-items: center;
  min-height: calc(100vh - 76px);
  padding: 64px 0;
}

.form-copy h1,
.login-panel h1 {
  margin-bottom: 18px;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1;
}

.form-copy p:not(.eyebrow) {
  color: var(--soft);
  font-size: 18px;
  line-height: 1.7;
}

.secure-list {
  display: grid;
  gap: 10px;
  margin-top: 26px;
}

.secure-list span {
  display: inline-flex;
  width: fit-content;
  min-height: 40px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--soft);
  background: rgba(255, 255, 255, .045);
  font-size: 13px;
  font-weight: 800;
}

.contract-card,
.login-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(124, 58, 237, .12), rgba(34, 211, 238, .04)),
    rgba(16, 19, 23, .88);
  box-shadow: var(--shadow);
}

.contract-card {
  padding: 24px;
}

.billing-tabs,
.choice-grid {
  display: grid;
  gap: 10px;
}

.billing-tabs {
  grid-template-columns: 1fr 1fr;
  margin-bottom: 12px;
}

.choice-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 18px;
}

.billing-tabs button,
.plan-choice {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255, 255, 255, .045);
  cursor: pointer;
}

.billing-tabs button {
  min-height: 44px;
  font-weight: 900;
}

.billing-tabs button.active,
.plan-choice.active {
  border-color: rgba(168, 85, 247, .64);
  background: rgba(124, 58, 237, .22);
}

.plan-choice {
  min-height: 86px;
  padding: 14px;
  text-align: left;
}

.plan-choice strong,
.plan-choice span {
  display: block;
}

.plan-choice strong {
  margin-bottom: 8px;
}

.plan-choice span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.contract-card form,
.login-form {
  display: grid;
  gap: 14px;
}

.contract-card label,
.login-form label {
  display: grid;
  gap: 8px;
  color: var(--soft);
  font-size: 13px;
  font-weight: 800;
}

.contract-card input,
.contract-card select,
.contract-card textarea,
.login-form input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(7, 9, 20, .82);
  outline: none;
}

.contract-card input,
.contract-card select,
.login-form input {
  height: 46px;
  padding: 0 13px;
}

.contract-card textarea {
  resize: vertical;
  min-height: 108px;
  padding: 13px;
}

.contract-card input:focus,
.contract-card select:focus,
.contract-card textarea:focus,
.login-form input:focus {
  border-color: rgba(34, 211, 238, .58);
}

.submit-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.form-message {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.login-layout {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 32px 0;
}

.login-panel {
  width: min(100%, 500px);
  padding: 30px;
}

.login-brand {
  margin-bottom: 28px;
}

.login-panel .hero-copy {
  font-size: 15px;
  margin-bottom: 22px;
}

.otp {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.otp input {
  height: 52px;
  padding: 0;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
}

.back-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 1040px) {
  .site-header {
    grid-template-columns: auto auto;
  }

  .menu-toggle {
    display: block;
    justify-self: end;
  }

  .header-tools {
    width: calc(100vw - 52px);
    max-width: calc(100vw - 52px);
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    justify-content: stretch;
    padding-bottom: 12px;
    min-width: 0;
  }

  .header-tools .select,
  .header-tools .header-cta {
    min-width: 0;
  }

  .site-nav {
    position: absolute;
    left: 18px;
    right: 18px;
    top: 86px;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #101317;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 14px;
  }

  .hero,
  .operation {
    grid-template-columns: 1fr;
  }

  .feature-grid,
  .plans-grid,
  .problem-grid,
  .games-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portal-shell {
    grid-template-columns: 1fr;
  }

  .form-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    min-height: 70px;
    gap: 12px;
    padding: 0 14px;
  }

  .brand small {
    display: none;
  }

  .brand-logo {
    width: 205px;
  }

  .header-cta {
    min-height: 40px;
    padding: 0 12px;
  }

  .select {
    min-width: 0;
    padding: 0 6px;
  }

  .header-tools {
    grid-template-columns: 1fr 1fr;
  }

  .header-tools .header-cta {
    grid-column: 1 / -1;
  }

  .hero {
    width: calc(100vw - 64px);
    max-width: calc(100vw - 64px);
    min-height: auto;
    padding: 48px 0 42px;
    overflow: hidden;
  }

  .hero::before,
  .hero::after {
    inset: 0 -32px;
  }

  .hero-content,
  .ops-window {
    width: 100%;
    max-width: 100%;
  }

  h1 {
    font-size: 29px;
    line-height: 1.04;
  }

  .hero-copy {
    font-size: 15px;
  }

  .hero-actions .button {
    flex: 1 1 150px;
    padding: 0 12px;
  }

  .trust-strip,
  .status-row,
  .feature-grid,
  .problem-grid,
  .timeline,
  .plans-grid,
  .faq-grid,
  .games-grid {
    grid-template-columns: 1fr;
  }

  .games-grid article.wide {
    grid-column: auto;
  }

  .games-grid article.featured-game {
    grid-column: auto;
  }

  .games-grid article {
    min-height: 220px;
  }

  .ops-window {
    margin-top: 8px;
  }

  .section {
    width: min(100% - 24px, 1180px);
    padding: 58px 0;
  }

  .feature-card,
  .timeline article {
    min-height: auto;
  }

  .final-cta,
  .contact-band,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .final-cta,
  .contact-band {
    width: min(100% - 24px, 1180px);
    padding: 24px;
  }

  .contact-band {
    margin-top: -54px;
  }

  .final-actions {
    width: 100%;
  }

  .final-actions .button,
  .contact-band .button {
    width: 100%;
  }

  .form-layout,
  .login-layout {
    width: min(100% - 24px, 1180px);
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }

  .login-panel,
  .contract-card {
    padding: 20px;
  }
}
