:root {
  --bg: #f7faff;
  --bg-soft: #eef4fb;
  --surface: rgba(255, 255, 255, 0.94);
  --surface-strong: #ffffff;
  --surface-muted: rgba(10, 43, 95, 0.04);
  --line: rgba(10, 43, 95, 0.11);
  --text: #0a2344;
  --muted: #5c7190;
  --accent: #1f5fae;
  --accent-strong: #163f73;
  --warm: #e8f1fb;
  --shadow: 0 24px 64px rgba(13, 39, 80, 0.08);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --max-width: 1180px;
  --sidebar-width: 244px;
  --sidebar-toggle-size: 38px;
}

/* Sidebar navigation */
body[data-page="home"] .site-shell,
body[data-page="catalog"] .site-shell,
body[data-page="developers"] .site-shell,
body[data-page="contact"] .site-shell,
body[data-page="saved-sdks"] .site-shell,
body[data-page="portfolio-stats"] .site-shell,
body[data-page="stats"] .site-shell,
body[data-page="profile"] .site-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(244px, 268px) minmax(0, 1fr);
  gap: 28px;
  width: min(calc(100% - 36px), 1420px);
  margin: 0 auto;
  padding: 18px 0 32px;
}

body[data-page="home"] .site-content-shell,
body[data-page="catalog"] .site-content-shell,
body[data-page="developers"] .site-content-shell,
body[data-page="contact"] .site-content-shell,
body[data-page="saved-sdks"] .site-content-shell,
body[data-page="portfolio-stats"] .site-content-shell,
body[data-page="stats"] .site-content-shell,
body[data-page="profile"] .site-content-shell {
  min-width: 0;
}

.site-sidebar {
  position: sticky;
  top: 18px;
  display: flex;
  flex-direction: column;
  align-self: start;
  min-height: calc(100vh - 36px);
  padding: 24px 20px 20px;
  border: 1px solid rgba(10, 43, 95, 0.09);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(245, 249, 255, 0.94)),
    radial-gradient(circle at top left, rgba(31, 95, 174, 0.08), transparent 48%);
  box-shadow: 0 28px 60px rgba(13, 39, 80, 0.08);
  backdrop-filter: blur(18px);
}

.site-sidebar .brand {
  gap: 14px;
}

.site-sidebar .brand-mark,
.mobile-topbar .brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  flex: 0 0 48px;
}

.site-sidebar .brand-mark img,
.mobile-topbar .brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.site-sidebar .brand-copy strong,
.mobile-topbar .brand-copy strong {
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.site-sidebar .brand-copy small,
.mobile-topbar .brand-copy small {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sidebar-kicker {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.site-sidebar .site-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 14px;
}

.site-sidebar .site-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  padding: 0 15px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.site-sidebar .site-nav .site-nav-profile-slot {
  display: flex;
  align-items: stretch;
  width: 100%;
  min-height: 48px;
  padding: 0;
  border: 1px solid transparent;
  border-radius: 16px;
  color: var(--muted);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.site-sidebar .site-nav a img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.9;
  flex: 0 0 24px;
  border-radius: 6px;
}

.site-sidebar .site-nav a .site-nav-inline-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 25px;
  height: 25px;
  flex: 0 0 25px;
  color: currentColor;
}

.site-sidebar .site-nav a .site-nav-inline-icon svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.site-sidebar .site-nav a .site-nav-inline-icon svg * {
  vector-effect: non-scaling-stroke;
}

.site-sidebar .site-nav a span {
  display: inline-flex;
  align-items: center;
}

.site-sidebar .site-nav a:hover {
  transform: translateX(2px);
  border-color: rgba(31, 95, 174, 0.14);
  background: rgba(10, 43, 95, 0.06);
  color: var(--accent-strong);
}

.site-sidebar .site-nav a.active {
  border-color: rgba(31, 95, 174, 0.16);
  background: linear-gradient(135deg, rgba(10, 43, 95, 0.1), rgba(255, 255, 255, 0.9));
  color: var(--accent-strong);
  box-shadow: 0 14px 26px rgba(31, 95, 174, 0.08);
}

.site-sidebar .site-nav .site-nav-profile-slot.active {
  border-color: rgba(31, 95, 174, 0.16);
  background: linear-gradient(135deg, rgba(10, 43, 95, 0.1), rgba(255, 255, 255, 0.9));
  color: var(--accent-strong);
  box-shadow: 0 14px 26px rgba(31, 95, 174, 0.08);
}

.sidebar-footer {
  display: grid;
  gap: 14px;
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px solid rgba(10, 43, 95, 0.08);
}

.sidebar-footer p {
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
}

.sidebar-cta {
  width: 100%;
  min-height: 48px;
  border-radius: 18px;
  box-shadow: 0 16px 28px rgba(20, 63, 116, 0.16);
}

.sidebar-cta:hover {
  box-shadow: 0 18px 30px rgba(20, 63, 116, 0.2);
}

.mobile-topbar,
.sidebar-scrim,
.sidebar-collapse-toggle {
  display: none;
}

body[data-page="home"] main,
body[data-page="catalog"] main,
body[data-page="developers"] main,
body[data-page="contact"] main,
body[data-page="stats"] main,
body[data-page="profile"] main {
  padding: 34px 0 84px;
}

body[data-page="home"] .hero {
  padding-top: 20px;
}

body[data-page="home"] .hero-copy {
  padding-top: 8px;
}

body[data-page="home"] .site-header,
body[data-page="catalog"] .site-header,
body[data-page="developers"] .site-header,
body[data-page="contact"] .site-header {
  display: none;
}

body[data-page="home"] .site-footer,
body[data-page="catalog"] .site-footer,
body[data-page="developers"] .site-footer,
body[data-page="contact"] .site-footer {
  margin-top: 6px;
  padding: 28px 0 20px;
  border-top: 1px solid rgba(10, 43, 95, 0.08);
}

@media (max-width: 1180px) {
  body[data-page="home"] .site-shell,
  body[data-page="catalog"] .site-shell,
  body[data-page="developers"] .site-shell,
  body[data-page="contact"] .site-shell,
  body[data-page="saved-sdks"] .site-shell,
  body[data-page="stats"] .site-shell,
  body[data-page="profile"] .site-shell {
    width: min(calc(100% - 28px), 1380px);
    gap: 22px;
    grid-template-columns: 236px minmax(0, 1fr);
  }
}

@media (max-width: 920px) {
  body[data-page="home"],
  body[data-page="catalog"],
  body[data-page="developers"],
  body[data-page="contact"] {
    overflow-x: hidden;
  }

  body.nav-open {
    overflow: hidden;
  }

  body[data-page="home"] .site-shell,
  body[data-page="catalog"] .site-shell,
  body[data-page="developers"] .site-shell,
  body[data-page="contact"] .site-shell,
  body[data-page="saved-sdks"] .site-shell,
  body[data-page="stats"] .site-shell,
  body[data-page="profile"] .site-shell {
    display: block;
    width: min(calc(100% - 20px), 1240px);
    padding: 12px 0 24px;
  }

  .mobile-topbar {
    position: sticky;
    top: 12px;
    z-index: 60;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 14px;
    border: 1px solid rgba(10, 43, 95, 0.09);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 22px 36px rgba(13, 39, 80, 0.08);
    backdrop-filter: blur(16px);
  }

  .mobile-topbar .brand {
    gap: 12px;
  }

  .site-sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: auto;
    z-index: 55;
    width: min(320px, calc(100vw - 28px));
    min-height: 100vh;
    min-height: 100dvh;
    max-height: none;
    padding: 0 0 16px;
    border: 1px solid rgba(10, 43, 95, 0.09);
    border-left: 0;
    border-radius: 0 24px 24px 0;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 24px 40px rgba(13, 39, 80, 0.12);
    backdrop-filter: blur(16px);
    transform: translateX(calc(-100% - 18px));
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.22s ease, transform 0.22s ease;
    overflow-y: auto;
  }

  body.nav-open .site-sidebar {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-sidebar .brand {
    display: flex;
    width: 100%;
    padding: 22px 18px 18px;
    border-bottom: 1px solid rgba(10, 43, 95, 0.08);
  }

  .sidebar-kicker {
    display: block;
    margin: 0;
    padding: 16px 18px 14px;
    border-bottom: 1px solid rgba(10, 43, 95, 0.07);
  }

  .site-sidebar .site-nav {
    width: 100%;
    margin-top: 0;
    gap: 0;
  }

  .site-sidebar .site-nav a {
    min-height: 56px;
    padding: 0 18px;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(10, 43, 95, 0.07);
    background: transparent;
    box-shadow: none;
  }

  .site-sidebar .site-nav .site-nav-profile-slot {
    min-height: 56px;
    padding: 0;
    border-radius: 0;
    border: 0;
    border-bottom: 1px solid rgba(10, 43, 95, 0.07);
    background: transparent;
    box-shadow: none;
  }

  .site-sidebar .site-nav a.active {
    box-shadow: inset 3px 0 0 #314154;
  }

  .site-sidebar .site-nav .site-nav-profile-slot.active {
    box-shadow: inset 3px 0 0 #314154;
  }

  .sidebar-footer {
    padding: 18px;
    margin-top: auto;
    border-top: 1px solid rgba(10, 43, 95, 0.07);
    background: #ffffff;
  }

  .sidebar-footer p {
    display: block;
  }

  .sidebar-scrim {
    position: fixed;
    inset: 0;
    z-index: 50;
    display: none;
    border: 0;
    background: rgba(10, 23, 42, 0.2);
    backdrop-filter: blur(4px);
  }

  body.nav-open .sidebar-scrim {
    display: block;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid rgba(10, 43, 95, 0.1);
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 16px 28px rgba(13, 39, 80, 0.08);
  }

  .nav-toggle span {
    width: 18px;
  }

  body[data-page="home"] main,
  body[data-page="catalog"] main,
  body[data-page="developers"] main,
  body[data-page="contact"] main {
    padding: 24px 0 58px;
  }

  body[data-page="home"] .site-content-shell,
  body[data-page="catalog"] .site-content-shell,
  body[data-page="developers"] .site-content-shell,
  body[data-page="contact"] .site-content-shell,
  body[data-page="saved-sdks"] .site-content-shell,
  body[data-page="portfolio-stats"] .site-content-shell,
  body[data-page="stats"] .site-content-shell,
  body[data-page="profile"] .site-content-shell {
    position: relative;
    z-index: 1;
  }
}

@media (max-width: 760px) {
  .mobile-topbar {
    padding: 11px 12px;
    border-radius: 18px;
  }

  .mobile-topbar .brand-copy small {
    font-size: 0.68rem;
  }

  .site-sidebar {
    width: min(300px, calc(100vw - 22px));
    border-radius: 0 20px 20px 0;
  }

  .site-sidebar .site-nav a {
    min-height: 52px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: "Manrope", sans-serif;
  line-height: 1.55;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(31, 95, 174, 0.08), transparent 28%),
    radial-gradient(circle at top right, rgba(10, 35, 68, 0.06), transparent 24%),
    linear-gradient(180deg, #fbfcff 0%, #f4f8fd 48%, #eef4fb 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(13, 39, 80, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(13, 39, 80, 0.03) 1px, transparent 1px);
  background-size: 100px 100px;
  mask-image: radial-gradient(circle at center, black 45%, transparent 95%);
  opacity: 0.35;
}

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

img {
  max-width: 100%;
  display: block;
}

button,
input,
textarea {
  font: inherit;
}

.button-reset {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.site-shell {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 10px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 14px;
  padding: 10px 14px 10px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 34px rgba(13, 39, 80, 0.06);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #163f73 0%, #275d9f 100%);
  color: #ffffff;
  font-weight: 800;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-copy strong {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-nav a {
  color: var(--muted);
  transition: color 0.25s ease, transform 0.25s ease;
}

.site-nav a:not(.button) {
  padding: 8px 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--accent-strong);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 0;
  background: transparent;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

main {
  padding: 52px 0 88px;
}

.hero,
.page-hero,
.section,
.cta-band,
.dual-callouts,
.contact-layout,
.contact-columns,
.split-section {
  animation: fade-up 0.7s ease both;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 40px;
  align-items: center;
  padding: 78px 0 52px;
}

.hero-panel {
  display: grid;
  gap: 22px;
}

.hero-showcase {
  overflow: hidden;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: #dbe7f7;
  box-shadow: var(--shadow);
}

.hero-showcase img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.hero-copy h1,
.page-hero h1,
.section-heading h2,
.cta-copy h2,
.callout-card h2,
.content-panel h2,
.game-title,
.empty-state h2 {
  margin: 0;
  font-family: inherit;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.hero-copy h1 {
  max-width: 11ch;
  font-size: clamp(3.4rem, 8vw, 6.2rem);
}

.page-hero h1 {
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.hero-copy p,
.page-hero p,
.section-heading p,
.cta-copy p,
.callout-card p,
.content-panel p,
.game-description,
.meta-list li,
.info-card p,
.detail-list li,
.card-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.eyebrow,
.tag,
.pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  gap: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(31, 95, 174, 0.16);
  border-radius: 999px;
  background: rgba(31, 95, 174, 0.06);
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-copy > p,
.page-hero p {
  max-width: 58ch;
  margin: 24px 0 0;
  font-size: 1.08rem;
}

.hero-actions,
.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: linear-gradient(135deg, #1f5fae 0%, #245799 100%);
  color: #ffffff;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 26px rgba(31, 95, 174, 0.2);
}

.button-ghost {
  border-color: var(--line);
  background: #ffffff;
  color: var(--text);
}

.button-small {
  min-height: 42px;
  padding: 0 16px;
  font-size: 0.9rem;
}

.site-nav .button-small {
  min-height: 40px;
  padding: 0 16px;
  border-color: rgba(10, 43, 95, 0.1);
  background: linear-gradient(180deg, #0f2f59, #143f74);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(20, 63, 116, 0.18);
}

.site-nav .button-small:hover {
  box-shadow: 0 14px 22px rgba(20, 63, 116, 0.22);
}

.button-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #1daa61 100%);
}

.button-whatsapp:hover {
  box-shadow: 0 16px 26px rgba(37, 211, 102, 0.22);
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.hero-metrics li,
.info-card,
.callout-card,
.content-panel,
.spotlight,
.catalog-card,
.game-meta-panel,
.gallery-tile,
.empty-state {
  border: 1px solid var(--line);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  padding: 18px;
  border-radius: var(--radius-md);
}

.hero-metrics strong {
  display: block;
  font-size: 1.4rem;
}

.hero-metrics span {
  color: var(--muted);
  font-size: 0.9rem;
}

.glass-card,
.content-panel,
.catalog-card,
.game-meta-panel,
.gallery-tile,
.empty-state {
  border-radius: var(--radius-lg);
}

.spotlight {
  padding: 28px;
}

.spotlight h2 {
  margin: 18px 0 10px;
  font-family: inherit;
  font-size: clamp(2rem, 4vw, 3rem);
}

.mini-grid {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.mini-grid article {
  padding: 18px;
  border-radius: var(--radius-md);
  background: rgba(13, 39, 80, 0.03);
}

.mini-grid strong {
  display: block;
  margin-bottom: 8px;
}

.section,
.page-hero {
  padding: 40px 0;
}

.developer-hero-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.developer-hero-cta {
  flex: 0 0 auto;
  margin-top: 10px;
  box-shadow: 0 14px 24px rgba(18, 52, 93, 0.14);
}

.section-heading,
.inline-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.section-heading h2 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.steps,
.card-grid,
.split-section,
.dual-callouts,
.contact-columns,
.contact-layout {
  display: grid;
  gap: 24px;
}

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

.info-card {
  padding: 32px;
  border-radius: var(--radius-lg);
}

.info-card h3,
.card-copy h3,
.game-meta-panel h3 {
  line-height: 1.14;
}

.step-number {
  color: var(--warm);
  font-weight: 800;
  letter-spacing: 0.1em;
}

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

.catalog-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card-cover,
.gallery-tile {
  position: relative;
  isolation: isolate;
}

.card-cover {
  position: relative;
  min-height: 220px;
  padding: 20px;
  background: linear-gradient(135deg, var(--cover-start), var(--cover-end));
}

.card-cover.has-image {
  background: #dbe7f7;
}

.card-cover.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(24px) saturate(1.05);
  transform: scale(1.08);
  opacity: 0.7;
  pointer-events: none;
}

.card-cover.has-image::after {
  display: none;
}

.card-cover-image {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.card-cover::after,
.gallery-tile::after {
  content: "";
  position: absolute;
  inset: auto -40px -50px auto;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  filter: blur(6px);
}

.cover-frame,
.gallery-frame {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: end;
  min-height: 180px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(13, 39, 80, 0.08), rgba(13, 39, 80, 0.34));
}

.card-cover.has-image .cover-frame {
  display: none;
}

.cover-frame strong,
.gallery-frame strong {
  font-size: 1.28rem;
}

.cover-frame span,
.gallery-frame span {
  color: rgba(255, 255, 255, 0.84);
}

.card-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 12px;
  padding: 24px 24px 26px;
}

.card-copy h3 {
  margin: 0;
  font-size: 1.28rem;
}

.card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
}

.card-deal-line {
  color: var(--text);
  font-size: 1rem;
  font-weight: 800;
  white-space: nowrap;
}

.card-negotiable {
  margin: -2px 0 4px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.card-status-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin: -2px 0 4px;
}

.card-status-row .card-negotiable,
.card-customization {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.deal-meta {
  display: none;
}

.deal-meta-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(10, 43, 95, 0.03);
}

.deal-meta-item span {
  color: var(--muted);
  font-size: 0.82rem;
}

.deal-meta-item strong {
  color: var(--text);
  font-size: 0.94rem;
}

.meta-row,
.pill-row,
.detail-grid,
.game-facts,
.contact-channels {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-row {
  margin-bottom: 2px;
}

.pill-row {
  margin-top: auto;
}

.card-copy p {
  margin: 0;
}

.pill {
  padding: 7px 11px;
  color: var(--text);
  border-color: var(--line);
  background: rgba(10, 43, 95, 0.05);
  font-size: 0.8rem;
  letter-spacing: 0.02em;
  text-transform: none;
}

.card-copy .button {
  width: 100%;
  margin-top: 6px;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

.cta-band,
.callout-card,
.content-panel,
.game-meta-panel,
.empty-state {
  padding: 34px;
}

.callout-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 320px;
  padding: 40px;
}

.callout-card h2 {
  max-width: 11ch;
  margin-top: 18px;
  margin-bottom: 20px;
  font-size: clamp(2rem, 2.8vw, 2.8rem);
  line-height: 1.08;
}

.callout-card p {
  max-width: 34ch;
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
}

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

.cta-band {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) auto;
  align-items: center;
  gap: 32px;
  margin: 32px 0;
  min-height: 200px;
  border: 1px solid rgba(31, 95, 174, 0.12);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(31, 95, 174, 0.05), rgba(10, 35, 68, 0.02)),
    rgba(255, 255, 255, 0.95);
}

.cta-copy {
  max-width: 880px;
}

.cta-copy h2 {
  max-width: 24ch;
  margin-top: 16px;
  margin-bottom: 18px;
  line-height: 1.08;
}

.cta-copy p {
  max-width: 72ch;
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.8;
}

.cta-band .button {
  flex-shrink: 0;
  min-width: 150px;
  justify-self: end;
}

.dual-callouts,
.split-section,
.contact-columns,
.contact-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.dual-callouts {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: none;
  margin: 0;
}

.accent-card,
.accent-panel {
  background:
    linear-gradient(180deg, rgba(31, 95, 174, 0.06), rgba(255, 255, 255, 0.98)),
    var(--surface);
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.filter-pill {
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.filter-pill.active,
.filter-pill:hover {
  color: var(--text);
  border-color: rgba(31, 95, 174, 0.2);
  background: rgba(31, 95, 174, 0.08);
}

.catalog-hero {
  padding-bottom: 18px;
}

.catalog-hero-copy {
  max-width: 760px;
}

.catalog-hero-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.catalog-filter-count {
  display: grid;
  gap: 2px;
  justify-items: end;
  color: var(--accent-strong);
  text-align: right;
  white-space: nowrap;
}

.catalog-filter-count strong {
  font-size: 1.3rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.catalog-filter-count span {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.catalog-filter-toolbar {
  position: relative;
  display: grid;
  gap: 12px;
  padding: 20px 24px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.96)),
    var(--surface);
  box-shadow: 0 22px 48px rgba(13, 39, 80, 0.06);
}

.catalog-filter-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.catalog-filter-toolbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: nowrap;
  justify-content: flex-end;
}

.catalog-filter-toolbar-search {
  flex: 1 1 auto;
  min-width: 0;
  max-width: none;
}

.catalog-filter-toolbar-search input {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 18px;
  border: 1px solid rgba(10, 43, 95, 0.09);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--text);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.catalog-filter-toolbar-search input:focus {
  border-color: rgba(31, 95, 174, 0.32);
  outline: none;
  box-shadow: 0 0 0 4px rgba(31, 95, 174, 0.08);
}

.catalog-filter-open {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  min-width: 52px;
  height: 52px;
  min-height: 52px;
  padding: 0;
  border-radius: 18px;
}

.catalog-filter-open img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.catalog-filter-active-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-filter-active-summary[hidden] {
  display: none;
}

.catalog-active-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(31, 95, 174, 0.07);
  border: 1px solid rgba(31, 95, 174, 0.1);
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 700;
}

.catalog-filter-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 16px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.catalog-filter-modal.hidden {
  display: none;
}

.catalog-filter-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  background: rgba(6, 23, 48, 0.34);
  backdrop-filter: blur(10px);
}

.catalog-filter-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(920px, calc(100vw - 32px));
  max-height: calc(100vh - 32px);
  margin: auto;
  overflow: auto;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 251, 255, 0.97)),
    var(--surface);
  box-shadow: 0 28px 56px rgba(10, 34, 67, 0.18);
}

.catalog-filter-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 26px 0;
}

.catalog-filter-modal-copy {
  display: grid;
  gap: 6px;
}

.catalog-filter-modal-copy strong {
  font-size: clamp(1.25rem, 2.5vw, 1.8rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.catalog-filter-modal-copy span {
  color: var(--muted);
}

.catalog-filter-modal-close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 999px;
  background: rgba(244, 247, 252, 0.96);
  color: var(--accent-strong);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
}

.catalog-filter-modal-body {
  display: grid;
  gap: 18px;
  padding: 20px 26px 0;
}

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

.catalog-filter-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.catalog-filter-field span {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.catalog-filter-field input,
.catalog-filter-field select {
  width: 100%;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(10, 43, 95, 0.09);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  font: inherit;
  appearance: none;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.catalog-filter-field input:focus,
.catalog-filter-field select:focus {
  border-color: rgba(31, 95, 174, 0.32);
  outline: none;
  box-shadow: 0 0 0 4px rgba(31, 95, 174, 0.08);
}

.catalog-filter-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 26px 26px;
}

.catalog-filter-quick-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.catalog-filter-quick-row .filter-pill {
  min-height: 44px;
  padding: 0 16px;
  font-weight: 700;
}

.catalog-grid {
  margin-top: 26px;
}

body.catalog-filter-modal-open {
  overflow: hidden;
}

.detail-page {
  display: grid;
  gap: 40px;
  padding: 30px 0 72px;
  container-type: inline-size;
}

.detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  gap: 36px;
  align-items: start;
}

.detail-main-column {
  display: grid;
  gap: 26px;
}

.detail-showcase-card,
.detail-summary-card,
.detail-addon-card,
.detail-data-card {
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94)),
    var(--surface);
  box-shadow: 0 24px 52px rgba(13, 39, 80, 0.07);
}

.detail-showcase-card {
  padding: 22px;
}

.detail-summary-card {
  position: relative;
  overflow: hidden;
  padding: 34px;
}

.detail-summary-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 140px;
  background:
    radial-gradient(circle at top left, rgba(44, 112, 193, 0.10), transparent 52%),
    linear-gradient(180deg, rgba(236, 244, 255, 0.92), rgba(255, 255, 255, 0));
  pointer-events: none;
}

.detail-summary-shell {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 26px;
}

.detail-summary-primary {
  display: grid;
  gap: 18px;
  max-width: 980px;
}

.detail-summary-header {
  align-items: flex-end;
}

.detail-summary-divider {
  width: min(100%, 980px);
  height: 1px;
  background: linear-gradient(90deg, rgba(20, 63, 116, 0.18), rgba(20, 63, 116, 0.04) 72%, transparent);
}

.detail-summary-secondary {
  max-width: 780px;
  padding-left: 22px;
  border-left: 3px solid rgba(20, 63, 116, 0.12);
}

.detail-data-card {
  display: grid;
  gap: 22px;
  padding: 34px;
}

.detail-preview-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.detail-preview-heading h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
  line-height: 1.08;
}

.detail-preview-button {
  flex: 0 0 auto;
  box-shadow: 0 14px 24px rgba(18, 52, 93, 0.14);
}

.detail-main-image {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 430px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 26px;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.42), transparent 42%),
    #dbe7f7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.detail-media-carousel {
  position: relative;
  width: 100%;
}

.detail-media-carousel [data-detail-slide] {
  display: none;
}

.detail-media-carousel [data-detail-slide].is-active {
  display: block;
}

.detail-media-carousel [data-detail-slide].detail-main-image-placeholder.is-active {
  display: grid;
}

.detail-main-image.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--detail-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(26px) saturate(1.05);
  transform: scale(1.08);
  opacity: 0.72;
}

.detail-main-image img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: contain;
  object-position: center;
  background: transparent;
}

.detail-main-image-placeholder {
  display: grid;
  place-items: end start;
  width: 100%;
  height: 100%;
  min-height: 430px;
  padding: 32px;
  background: linear-gradient(135deg, var(--cover-start), var(--cover-end));
}

.detail-main-image-copy {
  display: grid;
  gap: 6px;
  color: #ffffff;
}

.detail-main-image-copy span {
  color: rgba(255, 255, 255, 0.84);
}

.detail-main-image-copy strong {
  font-size: 2rem;
}

.detail-carousel-controls {
  position: absolute;
  inset: 50% 16px auto;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.detail-carousel-arrow {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #ffffff;
  backdrop-filter: blur(16px);
  box-shadow: 0 18px 30px rgba(8, 20, 39, 0.16);
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.detail-carousel-arrow:hover {
  transform: scale(1.04);
  background: rgba(255, 255, 255, 0.28);
  border-color: rgba(255, 255, 255, 0.46);
}

.detail-carousel-arrow span {
  font-size: 2rem;
  line-height: 1;
}

.detail-media-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
  padding: 0 4px;
}

.detail-media-copy {
  display: grid;
  gap: 8px;
}

.detail-media-kicker {
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-media-copy strong {
  font-size: 1.08rem;
  line-height: 1.35;
}

.detail-carousel-dots {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.detail-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(31, 95, 174, 0.18);
  transition: transform 0.2s ease, background 0.2s ease;
}

.detail-carousel-dot.is-active {
  transform: scale(1.25);
  background: var(--accent-strong);
}

.detail-block-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.detail-block-header h1,
.detail-block-header h2,
.detail-block-header h3 {
  margin: 0;
}

.game-title {
  margin: 0;
  max-width: 10ch;
  font-size: clamp(2.8rem, 4.5vw, 4.35rem);
  letter-spacing: -0.05em;
  line-height: 0.92;
}

.game-summary {
  max-width: 40ch;
  margin: 0;
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.45;
}

.detail-grid {
  gap: 12px;
  margin-top: 20px;
}

.game-description {
  max-width: 62ch;
  margin: 0;
  font-size: 1.04rem;
  line-height: 1.82;
  color: rgba(20, 44, 82, 0.72);
}

.detail-data-table-wrap {
  overflow-x: auto;
}

.detail-data-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
}

.detail-data-table th,
.detail-data-table td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(10, 43, 95, 0.08);
  vertical-align: top;
}

.detail-data-table tr:first-child th,
.detail-data-table tr:first-child td {
  border-top: 1px solid rgba(10, 43, 95, 0.08);
}

.detail-data-table th {
  width: 220px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
  white-space: nowrap;
}

.detail-data-table td {
  color: var(--text);
  line-height: 1.65;
}

.detail-data-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.detail-data-stack {
  display: grid;
  gap: 10px;
}

.detail-data-stack-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.detail-data-stack-row strong {
  color: var(--accent-strong);
  text-align: right;
}

.detail-summary-card-purchase {
  gap: 22px;
}

.detail-purchase-meta {
  display: grid;
  gap: 12px;
}

.detail-purchase-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 16px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.detail-purchase-meta-row span {
  color: var(--muted);
}

.detail-purchase-meta-row strong {
  color: var(--accent-strong);
  text-align: right;
}

.detail-quick-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin-top: 28px;
}

.detail-quick-card {
  padding: 20px 20px 18px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(232, 241, 251, 0.56), rgba(255, 255, 255, 0.96));
}

.detail-quick-card span,
.detail-panel-kicker,
.detail-side-label,
.detail-addon-kicker {
  display: block;
  color: var(--accent-strong);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-panel-kicker,
.detail-side-label,
.detail-addon-kicker {
  margin-bottom: 10px;
}

.detail-quick-card strong {
  display: block;
  margin-top: 10px;
  font-size: 1rem;
  line-height: 1.45;
}

.purchase-estimator {
  display: grid;
  gap: 20px;
  margin-top: 24px;
  padding: 28px;
  border: 1px solid rgba(73, 129, 204, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(138, 182, 255, 0.18), transparent 28%),
    radial-gradient(circle at bottom left, rgba(111, 217, 199, 0.12), transparent 24%),
    linear-gradient(145deg, #0d2440 0%, #17375f 52%, #2f5f95 100%);
  box-shadow: 0 28px 60px rgba(11, 33, 61, 0.24);
}

.purchase-estimator[hidden],
.purchase-estimator-form [hidden],
[data-purchase-confirm][hidden] {
  display: none !important;
}

.purchase-estimator-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.purchase-estimator-head-copy {
  display: grid;
  gap: 8px;
}

.purchase-estimator-kicker {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(209, 228, 255, 0.22);
  border-radius: 999px;
  background: rgba(245, 249, 255, 0.1);
  color: rgba(240, 246, 255, 0.92);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.purchase-estimator-badge {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(136, 226, 214, 0.24);
  background: rgba(136, 226, 214, 0.14);
  color: #ddfffb;
  font-size: 0.84rem;
  font-weight: 800;
  white-space: nowrap;
}

.purchase-estimator-head h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.15rem);
  line-height: 1.08;
  color: #ffffff;
}

.purchase-estimator-intro {
  margin: 0;
  color: rgba(231, 240, 252, 0.88);
  line-height: 1.72;
}

.purchase-estimator-form {
  display: grid;
  gap: 16px;
}

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

.purchase-estimator-grid--dual {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.purchase-estimator-block {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(197, 219, 248, 0.18);
  border-radius: 22px;
  background: rgba(8, 26, 48, 0.18);
}

.purchase-estimator-block-head {
  display: grid;
  gap: 6px;
}

.purchase-estimator-block-head h3,
.purchase-estimator-summary-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.06rem;
}

.purchase-estimator-block-head p,
.purchase-estimator-summary-head p {
  margin: 0;
  color: rgba(233, 241, 252, 0.82);
  line-height: 1.65;
}

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

.purchase-estimator-customizations {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(197, 219, 248, 0.18);
  border-radius: 22px;
  background: rgba(8, 26, 48, 0.24);
}

.purchase-estimator-customizations-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.purchase-estimator-customizations-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.08rem;
}

.purchase-estimator-customizations-head p {
  margin: 6px 0 0;
  color: rgba(233, 241, 252, 0.84);
  line-height: 1.65;
}

.purchase-estimator-customizations-note {
  max-width: 34ch;
  padding: 12px 14px;
  border: 1px solid rgba(210, 227, 248, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(233, 241, 252, 0.82);
  font-size: 0.84rem;
  line-height: 1.55;
}

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

.purchase-customization-card {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(210, 227, 248, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

.purchase-customization-card.is-selected {
  border-color: rgba(124, 182, 255, 0.42);
  background: rgba(34, 86, 154, 0.24);
  transform: translateY(-1px);
}

.purchase-customization-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: start;
  gap: 14px;
  cursor: pointer;
}

.purchase-customization-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.purchase-customization-toggle-ui {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  border: 1.5px solid rgba(223, 234, 250, 0.54);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.purchase-customization-toggle input:checked + .purchase-customization-toggle-ui {
  border-color: rgba(132, 193, 255, 0.95);
  background: linear-gradient(180deg, rgba(123, 188, 255, 0.96), rgba(69, 136, 214, 0.96));
  box-shadow:
    inset 0 0 0 5px rgba(255, 255, 255, 0.95),
    0 10px 18px rgba(5, 16, 32, 0.18);
}

.purchase-customization-toggle input:focus-visible + .purchase-customization-toggle-ui {
  outline: 2px solid rgba(132, 193, 255, 0.5);
  outline-offset: 3px;
}

.purchase-customization-copy {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.purchase-customization-copy strong {
  color: #f7fbff;
  font-size: 0.98rem;
  line-height: 1.3;
}

.purchase-customization-copy small {
  color: rgba(223, 234, 250, 0.76);
  font-size: 0.82rem;
  line-height: 1.55;
}

.purchase-customization-price {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 700;
  white-space: nowrap;
}

.purchase-customization-details {
  display: grid;
  gap: 10px;
}

.purchase-customization-field {
  padding: 0;
  border: none;
  background: transparent;
}

.purchase-customization-error {
  min-height: 18px;
  margin: 0;
  color: #ffd3d3;
  font-size: 0.8rem;
  line-height: 1.45;
}

.purchase-estimator-sdk {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(197, 219, 248, 0.18);
  border-radius: 22px;
  background: rgba(8, 26, 48, 0.24);
}

.purchase-estimator-sdk-head {
  display: grid;
  gap: 6px;
}

.purchase-estimator-sdk-head h3 {
  margin: 0;
  color: #ffffff;
  font-size: 1.08rem;
}

.purchase-estimator-sdk-head p {
  margin: 0;
  color: rgba(233, 241, 252, 0.84);
  line-height: 1.65;
}

.purchase-estimator-sdk-note {
  margin: -2px 0 0;
  color: rgba(233, 241, 252, 0.84);
  line-height: 1.65;
}

.sdk-intake-sections {
  display: grid;
  gap: 16px;
}

.sdk-intake-section {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(197, 219, 248, 0.14);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.04);
}

.sdk-intake-section-head {
  display: grid;
  gap: 5px;
}

.sdk-intake-section-head h4 {
  margin: 0;
  color: inherit;
  font-size: 1rem;
}

.sdk-intake-section-head p {
  margin: 0;
  color: inherit;
  opacity: 0.82;
  line-height: 1.6;
}

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

.sdk-intake-field {
  display: grid;
  gap: 8px;
}

.sdk-intake-field--span-2 {
  grid-column: span 2;
}

.sdk-intake-field > span {
  font-weight: 700;
}

.sdk-intake-field > small {
  font-size: 0.8rem;
  line-height: 1.55;
  font-weight: 500;
}

.sdk-intake-choice {
  position: relative;
  display: block;
  cursor: pointer;
}

.sdk-intake-choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.sdk-intake-choice-copy {
  display: grid;
  gap: 4px;
  min-height: 56px;
  padding: 14px 15px;
  border-radius: 16px;
  border: 1px solid transparent;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.sdk-intake-choice-copy strong {
  font-size: 0.92rem;
  line-height: 1.35;
}

.sdk-intake-choice-copy small {
  font-size: 0.76rem;
  line-height: 1.45;
}

.sdk-intake-option-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(168px, 1fr));
  gap: 10px;
}

.sdk-intake-option-grid--compact {
  grid-template-columns: repeat(auto-fit, minmax(116px, 1fr));
}

.sdk-intake-option-grid--dense {
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}

.sdk-intake-inline-note,
.sdk-intake-group-error {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.55;
}

.sdk-intake-compact-textarea {
  min-height: 104px;
}

.sdk-intake-upload-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 12px;
}

.sdk-intake-upload-input {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 16px;
  border: 1px dashed rgba(166, 191, 226, 0.7);
  border-radius: 14px;
  background: rgba(244, 248, 255, 0.82);
  color: #244b7c;
  font-weight: 700;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease;
}

.sdk-intake-upload-input:hover,
.sdk-intake-upload-input:focus-within {
  border-color: rgba(52, 105, 184, 0.44);
  background: rgba(236, 244, 255, 0.94);
  transform: translateY(-1px);
}

.sdk-intake-upload-input input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.sdk-intake-upload-meta {
  color: #6a83a7;
  font-size: 0.82rem;
  line-height: 1.5;
}

.sdk-intake-complexity-card {
  gap: 14px;
  background: linear-gradient(180deg, rgba(242, 248, 255, 0.96), rgba(252, 254, 255, 0.98));
}

.sdk-intake-complexity-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.sdk-intake-complexity-head > div {
  display: grid;
  gap: 6px;
}

.sdk-intake-complexity-eyebrow {
  color: #6f88ad;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.sdk-intake-complexity-head strong {
  color: #18345a;
  font-size: 1.1rem;
}

.sdk-intake-complexity-score {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(223, 234, 248, 0.9);
  color: #244b7c;
  font-size: 0.84rem;
  font-weight: 800;
}

.sdk-intake-complexity-summary,
.sdk-intake-complexity-disclaimer {
  margin: 0;
  color: #587497;
  line-height: 1.6;
}

.sdk-intake-complexity-reasons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
}

.sdk-intake-complexity-reason {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid rgba(211, 224, 243, 0.92);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
}

.sdk-intake-complexity-reason strong {
  color: #244b7c;
  font-size: 0.84rem;
}

.sdk-intake-complexity-reason span {
  color: #304f78;
  font-size: 0.88rem;
  line-height: 1.45;
}

.sdk-intake-complexity-card[data-sdk-complexity-level="simple"] .sdk-intake-complexity-score {
  background: rgba(220, 245, 229, 0.92);
  color: #1c7a4f;
}

.sdk-intake-complexity-card[data-sdk-complexity-level="medium"] .sdk-intake-complexity-score {
  background: rgba(255, 238, 205, 0.92);
  color: #92601f;
}

.sdk-intake-complexity-card[data-sdk-complexity-level="complex"] .sdk-intake-complexity-score {
  background: rgba(255, 220, 220, 0.92);
  color: #a14c4c;
}

.sdk-preset-shortcut {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
  padding: 18px;
  border-radius: 18px;
}

.sdk-preset-shortcut-copy {
  display: grid;
  gap: 4px;
}

.sdk-preset-shortcut-copy strong {
  color: var(--text);
  font-size: 1rem;
}

.sdk-preset-shortcut-copy p,
.sdk-preset-shortcut-note {
  margin: 0;
  color: #6a83a7;
  line-height: 1.5;
}

.sdk-preset-shortcut-controls {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.purchase-estimator-sdk .sdk-intake-section {
  border-color: rgba(197, 219, 248, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.purchase-estimator-sdk .sdk-preset-shortcut {
  border: 1px solid rgba(197, 219, 248, 0.14);
  background: rgba(255, 255, 255, 0.04);
}

.purchase-estimator-sdk .sdk-preset-shortcut-copy strong {
  color: #f4f8ff;
}

.purchase-estimator-sdk .sdk-preset-shortcut-copy p,
.purchase-estimator-sdk .sdk-preset-shortcut-note {
  color: rgba(223, 234, 250, 0.76);
}

.purchase-estimator-sdk .sdk-intake-upload-input {
  border-color: rgba(198, 218, 246, 0.3);
  background: rgba(255, 255, 255, 0.05);
  color: #f4f8ff;
}

.purchase-estimator-sdk .sdk-intake-upload-input:hover,
.purchase-estimator-sdk .sdk-intake-upload-input:focus-within {
  border-color: rgba(131, 184, 255, 0.4);
  background: rgba(18, 42, 72, 0.42);
}

.purchase-estimator-sdk .sdk-intake-upload-meta,
.purchase-estimator-sdk .sdk-intake-complexity-summary,
.purchase-estimator-sdk .sdk-intake-complexity-disclaimer {
  color: rgba(223, 234, 250, 0.76);
}

.purchase-estimator-sdk .sdk-intake-complexity-card {
  border-color: rgba(197, 219, 248, 0.14);
  background: rgba(255, 255, 255, 0.05);
}

.purchase-estimator-sdk .sdk-intake-complexity-eyebrow,
.purchase-estimator-sdk .sdk-intake-complexity-head strong,
.purchase-estimator-sdk .sdk-intake-complexity-score,
.purchase-estimator-sdk .sdk-intake-complexity-reason strong,
.purchase-estimator-sdk .sdk-intake-complexity-reason span {
  color: #f4f8ff;
}

.purchase-estimator-sdk .sdk-intake-complexity-score {
  background: rgba(33, 64, 103, 0.72);
}

.purchase-estimator-sdk .sdk-intake-complexity-reason {
  border-color: rgba(198, 218, 246, 0.16);
  background: rgba(8, 24, 45, 0.34);
}

.purchase-estimator-sdk .sdk-preset-shortcut-controls select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(198, 218, 246, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(252, 254, 255, 0.98), rgba(243, 248, 255, 0.98));
  color: #102742;
  font: inherit;
}

.purchase-estimator-sdk .sdk-intake-section-head h4,
.purchase-estimator-sdk .sdk-intake-field > span {
  color: #f4f8ff;
}

.purchase-estimator-sdk .sdk-intake-section-head p,
.purchase-estimator-sdk .sdk-intake-field > small,
.purchase-estimator-sdk .sdk-intake-inline-note {
  color: rgba(223, 234, 250, 0.76);
}

.purchase-estimator-sdk .sdk-intake-field input,
.purchase-estimator-sdk .sdk-intake-field select,
.purchase-estimator-sdk .sdk-intake-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(198, 218, 246, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(252, 254, 255, 0.98), rgba(243, 248, 255, 0.98));
  color: #102742;
  font: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 8px 16px rgba(8, 26, 48, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.purchase-estimator-sdk .sdk-intake-field textarea {
  min-height: 132px;
  resize: vertical;
}

.purchase-estimator-sdk .sdk-intake-field input:focus-visible,
.purchase-estimator-sdk .sdk-intake-field select:focus-visible,
.purchase-estimator-sdk .sdk-intake-field textarea:focus-visible {
  outline: none;
  border-color: rgba(110, 173, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 0 0 4px rgba(113, 180, 255, 0.18),
    0 10px 20px rgba(8, 26, 48, 0.1);
  transform: translateY(-1px);
}

.purchase-estimator-sdk .sdk-intake-choice-copy {
  border-color: rgba(198, 218, 246, 0.16);
  background: rgba(8, 24, 45, 0.34);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.purchase-estimator-sdk .sdk-intake-choice-copy strong {
  color: #f4f8ff;
}

.purchase-estimator-sdk .sdk-intake-choice-copy small {
  color: rgba(223, 234, 250, 0.66);
}

.purchase-estimator-sdk .sdk-intake-choice:hover .sdk-intake-choice-copy,
.purchase-estimator-sdk .sdk-intake-choice input:focus-visible + .sdk-intake-choice-copy {
  border-color: rgba(131, 184, 255, 0.34);
  background: rgba(18, 42, 72, 0.48);
  transform: translateY(-1px);
}

.purchase-estimator-sdk .sdk-intake-choice input:checked + .sdk-intake-choice-copy {
  border-color: rgba(120, 180, 255, 0.56);
  background: linear-gradient(180deg, rgba(28, 72, 125, 0.54), rgba(16, 42, 73, 0.7));
  box-shadow: 0 12px 24px rgba(7, 19, 37, 0.18);
}

.purchase-estimator-sdk .sdk-intake-field input:user-invalid,
.purchase-estimator-sdk .sdk-intake-field select:user-invalid,
.purchase-estimator-sdk .sdk-intake-field textarea:user-invalid {
  border-color: rgba(255, 125, 125, 0.6);
  box-shadow: 0 0 0 3px rgba(255, 125, 125, 0.14);
}

.purchase-estimator-sdk .sdk-intake-group-error {
  color: #ffd3d3;
}

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

.purchase-estimator-form label,
.purchase-estimator-field {
  display: grid;
  gap: 8px;
  color: #f1f6ff;
  font-weight: 600;
}

.purchase-estimator-field {
  padding: 14px;
  border: 1px solid rgba(210, 227, 248, 0.16);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
}

.purchase-estimator-field > span {
  color: #f4f8ff;
  font-weight: 700;
}

.purchase-estimator-field > small {
  color: rgba(223, 234, 250, 0.74);
  font-size: 0.8rem;
  line-height: 1.5;
  font-weight: 500;
}

.purchase-estimator-form input,
.purchase-estimator-form textarea,
.purchase-estimator-form select {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(198, 218, 246, 0.24);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(252, 254, 255, 0.98), rgba(243, 248, 255, 0.98));
  color: #102742;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 8px 16px rgba(8, 26, 48, 0.06);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.purchase-estimator-form input:focus,
.purchase-estimator-form textarea:focus,
.purchase-estimator-form select:focus {
  outline: none;
  border-color: rgba(110, 173, 255, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    0 0 0 4px rgba(113, 180, 255, 0.18),
    0 10px 20px rgba(8, 26, 48, 0.1);
  transform: translateY(-1px);
}

.purchase-estimator-form textarea {
  min-height: 122px;
  resize: vertical;
}

.purchase-estimator-summary {
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(197, 219, 248, 0.18);
  border-radius: 24px;
  background: rgba(6, 19, 37, 0.24);
}

.purchase-estimator-summary-head {
  display: grid;
  gap: 6px;
}

.purchase-estimator-period {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(197, 219, 248, 0.16);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.purchase-estimator-period-head {
  display: grid;
  gap: 5px;
}

.purchase-estimator-period-head h4 {
  margin: 0;
  color: #ffffff;
  font-size: 0.98rem;
}

.purchase-estimator-period-head p {
  margin: 0;
  color: rgba(233, 241, 252, 0.8);
  line-height: 1.55;
}

.purchase-estimator-period-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.purchase-estimator-period-card {
  display: grid;
  gap: 6px;
  padding: 14px;
  border: 1px solid rgba(197, 219, 248, 0.14);
  border-radius: 18px;
  background: rgba(6, 19, 37, 0.2);
}

.purchase-estimator-period-card span,
.purchase-estimator-period-card small {
  color: rgba(233, 241, 252, 0.8);
}

.purchase-estimator-period-card strong {
  color: #ffffff;
  font-size: 1.08rem;
}

.purchase-estimator-period-card-total {
  border-color: rgba(136, 226, 214, 0.18);
  background: linear-gradient(135deg, rgba(9, 31, 56, 0.55), rgba(24, 61, 102, 0.48));
}

.purchase-estimator-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 16px;
  border: 1px solid rgba(197, 219, 248, 0.14);
  border-radius: 18px;
  background: rgba(236, 244, 255, 0.12);
  backdrop-filter: blur(8px);
}

.purchase-estimator-row span {
  color: rgba(234, 242, 255, 0.84);
}

.purchase-estimator-row strong {
  color: #ffffff;
  text-align: right;
  font-size: 1rem;
}

.purchase-estimator-row-total {
  border-color: rgba(136, 226, 214, 0.18);
  background: linear-gradient(135deg, rgba(8, 26, 48, 0.52), rgba(23, 53, 92, 0.5));
}

.purchase-estimator-row-total strong {
  font-size: 1.18rem;
}

.purchase-estimator-note {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(197, 219, 248, 0.18);
  border-radius: 18px;
  background: rgba(8, 26, 48, 0.24);
  color: rgba(233, 241, 252, 0.84);
  line-height: 1.72;
}

.purchase-estimator-actions {
  display: grid;
  gap: 10px;
}

.purchase-modification-cta {
  display: grid;
  gap: 10px;
  align-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(197, 219, 248, 0.18);
  border-radius: 18px;
  background: rgba(8, 26, 48, 0.24);
}

.purchase-modification-cta p {
  margin: 0;
  color: rgba(233, 241, 252, 0.9);
  line-height: 1.6;
}

.purchase-contact-button {
  justify-self: start;
}

.purchase-confirm-button {
  justify-self: start;
  background: linear-gradient(135deg, #88e2d6 0%, #3bb7c9 100%);
  color: #0f2f47;
  box-shadow: 0 18px 30px rgba(8, 29, 60, 0.24);
}

.purchase-confirm-button:hover {
  background: linear-gradient(135deg, #98e8de 0%, #53c5d2 100%);
}

.purchase-estimator .button-ghost {
  border-color: rgba(209, 228, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #edf4ff;
}

.purchase-estimator-feedback {
  color: rgba(255, 255, 255, 0.9);
}

.purchase-estimator-feedback[data-state="success"] {
  color: #e6fff2;
}

.purchase-estimator-feedback[data-state="error"] {
  color: #ffe0e5;
}

@media (max-width: 760px) {
  .detail-data-card,
  .detail-summary-card {
    padding: 24px;
  }

  .detail-data-table {
    min-width: 0;
  }

  .detail-data-table,
  .detail-data-table tbody,
  .detail-data-table tr,
  .detail-data-table th,
  .detail-data-table td {
    display: block;
    width: 100%;
  }

  .detail-data-table tr {
    padding: 14px 0;
    border-top: 1px solid rgba(10, 43, 95, 0.08);
  }

  .detail-data-table tr:first-child {
    padding-top: 0;
    border-top: none;
  }

  .detail-data-table th,
  .detail-data-table td {
    padding: 0;
    border: none;
  }

  .detail-data-table th {
    margin-bottom: 8px;
  }

  .detail-data-stack-row,
  .detail-purchase-meta-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .purchase-contact-button,
  .purchase-confirm-button {
    width: 100%;
    justify-self: stretch;
  }
}

.detail-sticky-panel {
  position: sticky;
  top: 24px;
  display: grid;
  gap: 18px;
  padding: 30px;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(248, 251, 255, 0.98), rgba(238, 245, 252, 0.94)),
    var(--surface);
}

.game-meta-panel h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 1.42rem;
}

.meta-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 2px;
}

.detail-side-offer,
.detail-side-section {
  padding-top: 18px;
  border-top: 1px solid rgba(10, 43, 95, 0.08);
}

.detail-side-title {
  margin: 0 0 12px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.detail-side-offer strong {
  display: block;
  margin-top: 12px;
  font-size: 1.32rem;
  line-height: 1.25;
}

.detail-side-offer p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.72;
}

.detail-fact-grid {
  margin: 0;
}

.detail-side-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.meta-list,
.detail-list {
  margin: 14px 0 0;
  padding-left: 18px;
}

.meta-list-tight {
  margin-top: 12px;
}

.detail-list li + li,
.meta-list li + li {
  margin-top: 10px;
}

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
  margin: 0;
}

.fact-card {
  padding: 16px 17px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.86);
}

.play-demo-heading {
  margin-bottom: 18px;
}

.play-demo-heading h2 {
  margin: 14px 0 0;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  line-height: 1.08;
}

.play-demo-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: clamp(220px, 28vw, 320px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(31, 95, 174, 0.08), rgba(10, 35, 68, 0.04)),
    #dbe7f7;
  box-shadow: var(--shadow);
}

.play-demo-card {
  display: grid;
  justify-items: start;
  gap: 18px;
  width: min(100%, 640px);
  padding: 28px;
}

.play-demo-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

body[data-page="game-player"] {
  min-height: 100vh;
  overflow: hidden;
  background: #081427;
}

body[data-page="game-player"]::before {
  display: none;
}

body[data-page="game-player"] main {
  width: 100%;
  min-height: 100vh;
  padding: 0;
}

.game-player-shell {
  width: 100%;
  height: 100vh;
  height: 100dvh;
  background: #081427;
}

.game-player-shell iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #ffffff;
}

.game-player-empty {
  display: grid;
  place-items: center;
  gap: 16px;
  min-height: 100vh;
  padding: 24px;
  text-align: center;
}

.game-player-empty p {
  margin: 0;
  color: var(--muted);
}

.game-player-blocked {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px 20px;
  background:
    radial-gradient(circle at top left, rgba(77, 127, 187, 0.18), transparent 36%),
    linear-gradient(180deg, #081427 0%, #0d213f 100%);
}

.game-player-blocked-card {
  width: min(100%, 540px);
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 34px 30px;
  border: 1px solid rgba(202, 215, 233, 0.16);
  border-radius: 24px;
  background: rgba(8, 20, 39, 0.92);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.game-player-blocked-logo {
  width: min(240px, 72%);
  display: block;
}

.game-player-blocked-card h1 {
  margin: 0;
  color: #f8fbff;
}

.game-player-blocked-message,
.game-player-blocked-reason {
  margin: 0;
  color: #c7d7eb;
  line-height: 1.7;
}

.game-player-blocked-reason {
  font-size: 0.95rem;
}

.game-player-blocked-reason code {
  color: #f8fbff;
  font-family: Consolas, "Courier New", monospace;
}

.detail-section {
  display: grid;
  gap: 24px;
}

.detail-options-section {
  grid-column: 1 / -1;
  width: 100%;
  min-width: 0;
}

.detail-section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
}

.detail-section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.detail-section-heading p {
  max-width: 66ch;
}

.detail-addon-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  min-width: 0;
  align-items: start;
}

.detail-market-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 22px;
  width: 100%;
  min-width: 0;
  align-items: start;
}

.detail-market-grid .detail-addon-card {
  grid-column: span 4;
}

.detail-market-grid .detail-addon-card-wide {
  grid-column: 1 / -1;
}

.detail-market-pill-row {
  margin-top: 0;
}

.detail-addon-card {
  display: grid;
  grid-column: span 6;
  gap: 18px;
  min-width: 0;
  padding: 28px;
  align-content: start;
}

.detail-addon-grid > .detail-addon-card:first-child {
  grid-column: span 7;
}

.detail-addon-grid > .detail-addon-card:nth-child(2) {
  grid-column: span 5;
}

.detail-addon-card-wide {
  grid-column: 1 / -1;
}

.detail-addon-grid > .detail-addon-card:last-child {
  grid-column: 1 / -1;
}

.detail-addon-header {
  display: grid;
  gap: 10px;
}

.detail-addon-header h3 {
  margin: 0;
  font-size: 1.55rem;
  line-height: 1.14;
}

.detail-addon-intro {
  margin: 0;
  color: var(--muted);
  line-height: 1.76;
}

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

.detail-addon-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 16px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.86);
}

.detail-addon-row span {
  color: var(--text);
}

.detail-addon-row strong {
  flex: 0 0 auto;
  max-width: 28ch;
  color: var(--accent-strong);
  text-align: right;
  line-height: 1.45;
}

.detail-addon-row strong.detail-addon-value-free {
  color: #1f9d57;
}

.detail-addon-note-stack {
  display: grid;
  gap: 10px;
}

.detail-addon-note {
  margin: 0;
  padding: 16px 18px;
  border: 1px solid rgba(31, 95, 174, 0.1);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(232, 241, 251, 0.52), rgba(255, 255, 255, 0.96));
  color: var(--muted);
  line-height: 1.7;
}

.detail-definition-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.detail-page.detail-page-compact .detail-hero {
  grid-template-columns: 1fr;
  gap: 28px;
}

.detail-page.detail-page-compact .detail-sticky-panel {
  position: static;
}

.detail-page.detail-page-compact .detail-preview-heading,
.detail-page.detail-page-compact .detail-section-heading,
.detail-page.detail-page-compact .detail-media-meta {
  align-items: flex-start;
  flex-direction: column;
}

.detail-page.detail-page-compact .detail-carousel-dots {
  justify-content: flex-start;
}

.detail-definition-grid article {
  padding: 18px 18px 16px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.84);
}

.detail-definition-grid strong {
  display: block;
  margin-bottom: 8px;
}

.detail-definition-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

@container (max-width: 1220px) {
  .detail-hero {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .detail-sticky-panel {
    position: static;
  }

  .detail-preview-heading,
  .detail-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-quick-strip,
  .detail-definition-grid,
  .detail-side-split,
  .detail-addon-grid,
  .detail-market-grid {
    grid-template-columns: 1fr;
  }

  .detail-addon-grid > .detail-addon-card:first-child,
  .detail-addon-grid > .detail-addon-card:nth-child(2),
  .detail-addon-grid > .detail-addon-card:last-child {
    grid-column: auto;
  }

  .detail-market-grid .detail-addon-card,
  .detail-market-grid .detail-addon-card-wide {
    grid-column: auto;
  }

  .detail-media-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-carousel-dots {
    justify-content: flex-start;
  }
}

@container (max-width: 920px) {
  .detail-showcase-card,
  .detail-summary-card,
  .detail-addon-card,
  .detail-sticky-panel {
    padding: 22px;
    border-radius: 24px;
  }

  .detail-preview-heading h2,
  .detail-section-heading h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .detail-quick-card,
  .fact-card,
  .detail-addon-row,
  .detail-definition-grid article,
  .detail-addon-note {
    padding-left: 16px;
    padding-right: 16px;
  }

  .detail-addon-row {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-addon-row strong {
    max-width: none;
    text-align: left;
  }
}

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

.contact-form label,
.auth-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 600;
}

.contact-form input,
.contact-form textarea,
.auth-form input,
.auth-form textarea,
.auth-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #ffffff;
  color: var(--text);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder,
.auth-form input::placeholder,
.auth-form textarea::placeholder {
  color: #7e92ab;
}

.contact-form input:focus,
.contact-form textarea:focus,
.auth-form input:focus,
.auth-form textarea:focus,
.auth-form select:focus {
  outline: 2px solid rgba(31, 95, 174, 0.24);
  border-color: transparent;
}

.form-feedback {
  min-height: 1.2rem;
  margin: 0;
  color: var(--accent-strong);
}

.contact-channels {
  flex-direction: column;
  align-items: start;
  margin: 18px 0 22px;
}

.contact-channels a {
  color: var(--text);
  font-weight: 600;
}

.contact-panel {
  display: grid;
  gap: 36px;
}

.contact-block {
  display: grid;
  gap: 16px;
}

.contact-block .eyebrow {
  margin-bottom: 2px;
}

.contact-block h2 {
  margin: 0;
}

.contact-block .detail-list {
  margin: 0;
}

.contact-block p {
  margin: 0;
  max-width: 60ch;
}

.developer-launch-section {
  padding-top: 4px;
  padding-bottom: 10px;
}

.developer-points-alert-section {
  padding-top: 8px;
  padding-bottom: 10px;
}

.developer-points-alert-section,
.developer-launch-section {
  margin: 0;
}

.developer-points-alert-section .section,
.developer-launch-section .section {
  margin: 0;
}

.developer-points-alert-card {
  display: grid;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid rgba(194, 70, 68, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(203, 82, 78, 0.18), rgba(224, 117, 92, 0.14) 34%, rgba(255, 255, 255, 0.96) 62%),
    radial-gradient(circle at top right, rgba(194, 70, 68, 0.14), transparent 30%),
    radial-gradient(circle at bottom left, rgba(225, 107, 88, 0.1), transparent 34%),
    #ffffff;
  box-shadow: 0 28px 60px rgba(116, 42, 38, 0.12);
}

.developer-points-alert-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.developer-points-alert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(194, 70, 68, 0.18);
  border-radius: 999px;
  background: rgba(255, 248, 247, 0.92);
  color: #9d3f3c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.developer-points-alert-copy {
  display: grid;
  gap: 10px;
}

.developer-points-alert-copy h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.developer-points-alert-copy p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.6;
}

.developer-points-alert-highlight {
  max-width: 28ch;
  color: var(--text) !important;
  font-size: clamp(1.18rem, 1.7vw, 1.6rem);
  font-weight: 700;
  line-height: 1.28;
}

.developer-points-alert-copy strong {
  color: #b44945;
  font-size: 1.05em;
}

.developer-points-alert-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid rgba(194, 70, 68, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #9d3f3c;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease;
}

.developer-points-alert-link:hover,
.developer-points-alert-link:focus-visible {
  border-color: rgba(175, 64, 61, 0.28);
  background: #ffffff;
  color: #8d3230;
  transform: translateY(-1px);
}

.developer-hub-nav-section {
  padding-top: 6px;
  padding-bottom: 4px;
}

.developer-hub-card {
  display: grid;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.94)),
    var(--surface);
  box-shadow: 0 20px 44px rgba(13, 39, 80, 0.06);
}

.developer-hub-copy {
  display: grid;
  gap: 10px;
}

.developer-hub-copy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.developer-hub-copy p {
  margin: 0;
  max-width: 68ch;
  color: var(--muted);
  line-height: 1.72;
}

.developer-hub-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.developer-hub-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(31, 95, 174, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.developer-hub-link:hover,
.developer-hub-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 95, 174, 0.2);
  background: rgba(232, 241, 251, 0.82);
  color: var(--accent-strong);
}

.developer-hub-link.active {
  border-color: rgba(31, 95, 174, 0.18);
  background: linear-gradient(135deg, rgba(31, 95, 174, 0.12), rgba(255, 255, 255, 0.92));
  color: var(--accent-strong);
  box-shadow: 0 14px 26px rgba(31, 95, 174, 0.08);
}

.developer-submission-section {
  padding-top: 6px;
}

.developer-submission-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 22px;
  padding: 26px 28px;
  border: 1px solid rgba(10, 43, 95, 0.1);
  border-radius: 30px;
  background:
    radial-gradient(circle at top right, rgba(31, 95, 174, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(239, 246, 255, 0.94));
  box-shadow: 0 24px 52px rgba(13, 39, 80, 0.08);
  align-items: start;
}

.developer-submission-copy {
  display: grid;
  gap: 12px;
}

.developer-submission-copy h2 {
  margin: 0;
  font-size: clamp(1.7rem, 2.8vw, 2.45rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.developer-submission-copy p {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.7;
}

.developer-submission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding-top: 6px;
}

.developer-submission-primary {
  box-shadow: 0 18px 34px rgba(18, 52, 93, 0.16);
}

.developer-submission-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(31, 95, 174, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--accent-strong);
  font-size: 0.95rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease;
}

.developer-submission-secondary:hover,
.developer-submission-secondary:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 95, 174, 0.2);
  background: #ffffff;
  box-shadow: 0 14px 28px rgba(31, 95, 174, 0.08);
}

.developer-submission-aside {
  display: grid;
  gap: 12px;
}

.developer-submission-step {
  display: grid;
  gap: 6px;
  padding: 18px 18px 19px;
  border: 1px solid rgba(31, 95, 174, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.78);
}

.developer-submission-step small {
  color: #6782a7;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.developer-submission-step strong {
  color: var(--text);
  font-size: 1.03rem;
  line-height: 1.2;
}

.developer-submission-step span {
  color: var(--muted);
  line-height: 1.55;
}

.developer-launch-card {
  display: grid;
  gap: 18px;
  padding: 24px 26px;
  border: 1px solid rgba(194, 70, 68, 0.18);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(203, 82, 78, 0.18), rgba(224, 117, 92, 0.14) 34%, rgba(255, 255, 255, 0.96) 62%),
    radial-gradient(circle at top right, rgba(194, 70, 68, 0.14), transparent 30%),
    radial-gradient(circle at bottom left, rgba(225, 107, 88, 0.1), transparent 34%),
    #ffffff;
  box-shadow: 0 28px 60px rgba(116, 42, 38, 0.12);
}

.developer-launch-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.developer-launch-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid rgba(194, 70, 68, 0.18);
  border-radius: 999px;
  background: rgba(255, 248, 247, 0.92);
  color: #9d3f3c;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.developer-launch-copy h2,
.developer-definitions-card h3,
.developer-example-card h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.1vw, 2.15rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.developer-launch-copy {
  display: grid;
  gap: 10px;
}

.developer-launch-copy p {
  margin: 0;
  max-width: 56ch;
  color: var(--muted);
  line-height: 1.6;
}

.developer-launch-highlight {
  max-width: 30ch;
  color: var(--text) !important;
  font-size: clamp(1.18rem, 1.7vw, 1.6rem);
  font-weight: 700;
  line-height: 1.28;
}

.developer-launch-highlight strong {
  color: #b44945;
  font-size: 1.1em;
}

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

.developer-launch-metrics article {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid rgba(194, 70, 68, 0.12);
  border-radius: 22px;
  background: rgba(255, 251, 250, 0.92);
}

.developer-launch-metrics span,
.developer-example-math span {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.developer-launch-metrics strong {
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.developer-heading {
  align-items: end;
}

.developer-heading > p {
  max-width: 72ch;
}

.developer-commission-section {
  display: grid;
  gap: 28px;
}

.developer-commission-table-card {
  padding: 14px;
  border: 1px solid rgba(10, 43, 95, 0.09);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 44px rgba(13, 39, 80, 0.06);
}

.developer-table-wrap {
  overflow-x: auto;
  border-radius: 22px;
}

.developer-commission-table {
  width: 100%;
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.developer-commission-table thead th {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(10, 43, 95, 0.08);
  background: linear-gradient(180deg, rgba(10, 43, 95, 0.04), rgba(255, 255, 255, 0.92));
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.developer-commission-table tbody th,
.developer-commission-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(10, 43, 95, 0.07);
  background: rgba(255, 255, 255, 0.94);
  text-align: left;
  vertical-align: top;
}

.developer-commission-table tbody tr:last-child th,
.developer-commission-table tbody tr:last-child td {
  border-bottom: 0;
}

.developer-commission-table tbody th[scope="rowgroup"] {
  width: 28%;
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(31, 95, 174, 0.06), rgba(255, 255, 255, 0.94));
}

.developer-commission-table tbody td {
  color: var(--muted);
}

.developer-commission-table thead th:last-child,
.developer-commission-table tbody td:last-child {
  width: 31%;
}

.developer-commission-table tbody td strong {
  color: var(--text);
  font-size: 1rem;
  display: inline-block;
  max-width: 32ch;
  line-height: 1.5;
}

.developer-commission-note-stack {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.developer-commission-subnote {
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(31, 95, 174, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(232, 241, 251, 0.56), rgba(255, 255, 255, 0.94));
  color: var(--muted);
  line-height: 1.72;
}

.developer-commission-note {
  padding: 18px 20px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(10, 43, 95, 0.035), rgba(255, 255, 255, 0.96));
  color: var(--muted);
  line-height: 1.72;
}

.developer-commission-note-secondary {
  background: linear-gradient(180deg, rgba(232, 241, 251, 0.58), rgba(255, 255, 255, 0.95));
}

.developer-commission-subnote strong,
.developer-commission-note strong {
  color: var(--text);
}

.points-page {
  display: grid;
  gap: 20px;
}

.points-hero {
  padding-bottom: 8px;
}

.points-hero-card,
.points-table-card,
.points-note-card {
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94)),
    var(--surface);
  box-shadow: 0 24px 52px rgba(13, 39, 80, 0.07);
}

.points-hero-card {
  display: grid;
  gap: 18px;
  padding: 30px;
}

.points-hero-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.points-hero-heading h1 {
  margin: 0;
  font-size: clamp(2.5rem, 5vw, 4.6rem);
  line-height: 0.98;
}

.points-hero-badge {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid rgba(31, 95, 174, 0.14);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(232, 241, 251, 0.7), rgba(255, 255, 255, 0.95));
  color: var(--accent-strong);
  font-weight: 800;
  white-space: nowrap;
}

.points-hero-card > p {
  max-width: 64ch;
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

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

.points-hero-metrics article {
  padding: 18px 20px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(232, 241, 251, 0.56), rgba(255, 255, 255, 0.96));
}

.points-hero-metrics span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.points-hero-metrics strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.5;
}

.points-section {
  display: grid;
  gap: 18px;
}

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

.points-notice-card {
  display: grid;
  gap: 10px;
  padding: 22px 24px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 250, 255, 0.94)),
    var(--surface);
  box-shadow: 0 20px 44px rgba(13, 39, 80, 0.06);
}

.points-notice-card h2 {
  margin: 0;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  line-height: 1.08;
}

.points-notice-card p {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.points-notice-card-bonus {
  border-color: rgba(31, 95, 174, 0.14);
  background:
    radial-gradient(circle at top right, rgba(31, 95, 174, 0.12), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.95)),
    var(--surface);
}

.points-bonus-value {
  color: var(--accent-strong);
  font-weight: 800;
  white-space: nowrap;
}

.points-heading {
  align-items: end;
}

.points-heading > p {
  max-width: 58ch;
}

.points-table-card {
  padding: 14px;
}

.points-table {
  width: 100%;
  min-width: 820px;
  border-collapse: separate;
  border-spacing: 0;
  overflow: hidden;
}

.points-table thead th {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(10, 43, 95, 0.08);
  background: linear-gradient(180deg, rgba(10, 43, 95, 0.04), rgba(255, 255, 255, 0.92));
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-align: left;
  text-transform: uppercase;
}

.points-table tbody th,
.points-table tbody td {
  padding: 16px 18px;
  border-bottom: 1px solid rgba(10, 43, 95, 0.07);
  background: rgba(255, 255, 255, 0.94);
  text-align: left;
  vertical-align: top;
}

.points-table tbody tr:last-child th,
.points-table tbody tr:last-child td {
  border-bottom: 0;
}

.points-table tbody th[scope="rowgroup"] {
  width: 24%;
  color: var(--accent-strong);
  font-size: 0.92rem;
  font-weight: 800;
  background: linear-gradient(180deg, rgba(31, 95, 174, 0.06), rgba(255, 255, 255, 0.94));
}

.points-table tbody td {
  color: var(--muted);
  line-height: 1.72;
}

.points-table tbody td strong {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
}

.points-benefit-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 18px;
}

.points-benefit-list li::marker {
  color: rgba(31, 95, 174, 0.72);
}

.points-table thead th:last-child,
.points-table tbody td:last-child {
  width: 18%;
}

.points-level-table {
  min-width: 980px;
}

.points-level-table thead th:first-child,
.points-level-table tbody td:first-child {
  width: 18%;
}

.points-level-table thead th:nth-child(2),
.points-level-table tbody td:nth-child(2) {
  width: 16%;
}

.points-level-pill {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(31, 95, 174, 0.14);
  border-radius: 999px;
  background: rgba(31, 95, 174, 0.08);
  color: var(--accent-strong);
  font-weight: 800;
}

.points-level-pill-elite {
  background: linear-gradient(180deg, rgba(31, 95, 174, 0.16), rgba(255, 255, 255, 0.96));
}

.points-note-section {
  padding-top: 4px;
}

.points-note-card {
  display: grid;
  gap: 14px;
  padding: 22px 24px;
}

.points-note-card p {
  max-width: 78ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.points-program-switch {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.points-program-tab,
.points-subtab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(31, 95, 174, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--muted);
  font-weight: 800;
  white-space: nowrap;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.points-program-tab:hover,
.points-program-tab:focus-visible,
.points-subtab:hover,
.points-subtab:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(31, 95, 174, 0.2);
  background: rgba(232, 241, 251, 0.82);
  color: var(--accent-strong);
}

.points-program-tab.is-active,
.points-subtab.is-active {
  border-color: rgba(31, 95, 174, 0.18);
  background: linear-gradient(135deg, rgba(31, 95, 174, 0.14), rgba(255, 255, 255, 0.94));
  color: var(--accent-strong);
  box-shadow: 0 14px 26px rgba(31, 95, 174, 0.08);
}

.points-program-tab {
  min-height: 52px;
  padding: 0 22px;
  font-size: 1rem;
}

.points-subtab {
  min-height: 42px;
  font-size: 0.92rem;
}

.points-hub-shell {
  display: grid;
}

.points-hub-panel {
  display: grid;
  gap: 18px;
}

.points-hub-panel[hidden],
.points-subpanel[hidden] {
  display: none !important;
}

.points-panel-header {
  display: grid;
  gap: 16px;
}

.points-panel-copy {
  display: grid;
  gap: 10px;
}

.points-panel-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.points-panel-copy p {
  margin: 0;
  max-width: 60ch;
  color: var(--muted);
  line-height: 1.72;
}

.points-subnav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.points-subpanel {
  display: grid;
  gap: 18px;
}

.points-level-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
}

.points-level-card {
  display: grid;
  gap: 12px;
  padding: 20px 22px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.94));
  box-shadow: 0 18px 36px rgba(13, 39, 80, 0.05);
}

.points-level-card strong {
  color: var(--text);
  font-size: 1.35rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.points-level-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.68;
}

.points-level-card-elite {
  background:
    radial-gradient(circle at top right, rgba(31, 95, 174, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.95));
}

#developer-launch,
#developer-commission,
#developer-pricing,
#developer-pricing-core,
#developer-addons,
#developer-packages,
#developer-examples,
#developer-review,
#developer-submission,
#points-prelaunch,
#points-founding {
  scroll-margin-top: 96px;
}

.developer-pricing-table-card {
  padding: 14px;
  border: 1px solid rgba(10, 43, 95, 0.09);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 20px 44px rgba(13, 39, 80, 0.06);
}

.developer-pricing-table {
  width: 100%;
  min-width: 620px;
  border-collapse: separate;
  border-spacing: 0;
}

.developer-pricing-table thead th {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(10, 43, 95, 0.08);
  background: linear-gradient(180deg, rgba(10, 43, 95, 0.04), rgba(255, 255, 255, 0.92));
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: left;
}

.developer-pricing-table tbody td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(10, 43, 95, 0.07);
  background: rgba(255, 255, 255, 0.94);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}

.developer-pricing-table tbody tr:last-child td {
  border-bottom: 0;
}

.developer-pricing-table tbody tr:hover td {
  background: rgba(10, 43, 95, 0.03);
}

.developer-pricing-table tbody td:last-child strong {
  color: var(--text);
  font-size: 1rem;
}

.developer-pricing-notes {
  display: grid;
  gap: 14px;
}

.developer-pricing-note {
  padding: 16px 18px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  color: var(--muted);
  line-height: 1.7;
}

.developer-pricing-note strong {
  color: var(--text);
}

.developer-guidance-section {
  display: grid;
  gap: 28px;
}

.developer-accordion {
  overflow: hidden;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.94)),
    var(--surface);
  box-shadow: 0 20px 44px rgba(13, 39, 80, 0.06);
}

.developer-inline-accordion {
  width: 100%;
}

.developer-accordion-summary {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 24px 58px 24px 26px;
  cursor: pointer;
  list-style: none;
}

.developer-accordion-summary::-webkit-details-marker {
  display: none;
}

.developer-accordion-summary::after {
  content: "";
  position: absolute;
  top: 29px;
  right: 26px;
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(22, 63, 115, 0.8);
  border-bottom: 2px solid rgba(22, 63, 115, 0.8);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.developer-accordion[open] .developer-accordion-summary::after {
  transform: rotate(225deg);
}

.developer-accordion-heading {
  display: grid;
  gap: 6px;
}

.developer-accordion-heading h3 {
  margin: 0;
}

.developer-accordion-summary p {
  margin: 0;
  max-width: 64ch;
  color: var(--muted);
  line-height: 1.72;
}

.developer-accordion-body {
  display: grid;
  gap: 20px;
  padding: 0 26px 26px;
}

.developer-inline-accordion .content-panel {
  padding: 0;
  border: 0;
  box-shadow: none;
  background: transparent;
}

.developer-inline-accordion .developer-accordion-body {
  padding-top: 2px;
}

.developer-guidance-block {
  display: grid;
  gap: 20px;
}

.developer-guidance-subhead {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}

.developer-guidance-subhead h3,
.developer-addon-card h4,
.developer-package-card h4,
.developer-estimate-card h4 {
  margin: 0;
  color: var(--text);
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.developer-guidance-subhead p {
  max-width: 68ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.developer-pricing-table-base td:first-child {
  width: 68%;
}

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

.developer-addon-card,
.developer-package-card,
.developer-estimate-card {
  display: grid;
  gap: 18px;
}

.developer-addon-card-head {
  display: grid;
  gap: 10px;
}

.developer-addon-list {
  display: grid;
  gap: 0;
  border: 1px solid rgba(10, 43, 95, 0.07);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.82);
}

.developer-addon-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(10, 43, 95, 0.07);
}

.developer-addon-row:last-child {
  border-bottom: 0;
}

.developer-addon-row span {
  color: var(--muted);
  line-height: 1.65;
}

.developer-addon-row strong {
  flex: 0 0 auto;
  color: var(--text);
  font-size: 0.98rem;
  max-width: 18ch;
  text-align: right;
  white-space: normal;
}

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

.developer-addon-summary article,
.developer-estimate-total,
.developer-guidance-note {
  padding: 16px 18px;
  border: 1px solid rgba(31, 95, 174, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(232, 241, 251, 0.66), rgba(255, 255, 255, 0.92));
}

.developer-addon-summary span,
.developer-estimate-total span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.developer-addon-summary p,
.developer-package-card p,
.developer-estimate-list p,
.developer-guidance-note {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.developer-addon-summary strong,
.developer-package-card strong,
.developer-estimate-total strong {
  color: var(--text);
  font-size: 1.02rem;
}

.developer-addon-footnote {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.developer-addon-meta {
  display: grid;
  gap: 10px;
}

.developer-addon-example {
  padding: 14px 16px;
  border: 1px solid rgba(31, 95, 174, 0.1);
  border-radius: 18px;
  background: rgba(232, 241, 251, 0.5);
}

.developer-addon-example span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.developer-addon-example p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.developer-addon-example strong {
  display: block;
  margin-top: 8px;
  color: var(--text);
}

.developer-package-grid,
.developer-example-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.developer-package-card {
  position: relative;
  overflow: hidden;
}

.developer-package-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 5px;
  background: linear-gradient(90deg, rgba(31, 95, 174, 0.85), rgba(31, 95, 174, 0.14));
}

.developer-estimate-card .detail-list {
  margin: 0;
  padding-left: 18px;
}

.developer-estimate-list {
  display: grid;
  gap: 12px;
}

.developer-estimate-total strong {
  display: block;
  font-size: 1.14rem;
  line-height: 1.35;
}

.developer-guidance-note {
  color: var(--muted);
  line-height: 1.8;
}

.developer-guidance-note strong {
  color: var(--text);
}

.developer-commission-details {
  display: block;
}

.developer-definitions-card,
.developer-example-card {
  display: grid;
  gap: 18px;
}

.developer-definitions-card h3,
.developer-example-card h3 {
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.developer-definition-list {
  display: grid;
  gap: 14px;
}

.developer-definition-list article {
  padding: 18px 20px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.78);
}

.developer-definition-list strong {
  display: block;
  margin-bottom: 6px;
}

.developer-definition-list p,
.developer-example-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

.developer-classification-guide {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px 20px;
  border: 1px solid rgba(31, 95, 174, 0.1);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(232, 241, 251, 0.48), rgba(255, 255, 255, 0.92));
}

.developer-classification-guide .detail-list {
  margin: 0;
}

.developer-example-math {
  display: grid;
  gap: 8px;
  padding: 20px 22px;
  border: 1px solid rgba(31, 95, 174, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
}

.developer-example-math strong {
  font-size: clamp(1.45rem, 2vw, 1.9rem);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.social-block {
  padding-top: 6px;
  border-top: 1px solid var(--line);
}

.social-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.social-icon-link {
  display: inline-grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(135deg, #0f1722 0%, #1a2431 100%);
  box-shadow: 0 16px 24px rgba(15, 23, 34, 0.18);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.social-icon-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 28px rgba(15, 23, 34, 0.24);
  filter: brightness(1.04);
}

.social-icon-link svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 10px 0 42px;
  color: var(--muted);
}

.site-footer strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
}

.footer-meta {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-links a,
.footer-links .text-link-button {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 600;
}

.footer-links a:hover,
.footer-links .text-link-button:hover {
  color: var(--accent-strong);
}

body[data-page="legal"] {
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(31, 95, 174, 0.1), transparent 28%),
    radial-gradient(circle at 86% 10%, rgba(10, 35, 68, 0.08), transparent 24%),
    linear-gradient(180deg, #fbfcff 0%, #f4f8fd 48%, #eef4fb 100%);
}

body[data-page="legal"]::before {
  opacity: 0.18;
  background-size: 110px 110px;
}

.legal-shell {
  width: min(calc(100% - 36px), 1080px);
  margin: 0 auto;
  padding: 22px 0 36px;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 0 22px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.legal-header-link {
  flex: 0 0 auto;
}

.legal-main {
  display: grid;
  gap: 20px;
}

.legal-hero {
  display: grid;
  gap: 12px;
  padding: 20px 0 0;
}

.legal-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.legal-hero p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
}

.legal-card {
  display: grid;
  gap: 24px;
  padding: 34px;
}

.legal-card > p:first-child,
.legal-card > p:nth-child(2) {
  margin: 0;
}

.legal-section {
  display: grid;
  gap: 14px;
}

.legal-section h2 {
  margin: 0;
  font-size: clamp(1.15rem, 2.5vw, 1.5rem);
  letter-spacing: -0.03em;
}

.legal-section p,
.legal-card > p {
  margin: 0;
  color: var(--muted);
  line-height: 1.82;
}

.legal-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.72;
}

.legal-contact {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(31, 95, 174, 0.05);
}

.legal-contact p {
  margin: 0;
  color: var(--text);
  font-weight: 600;
}

.legal-footer {
  margin-top: 24px;
  padding-bottom: 14px;
}

.empty-state {
  text-align: center;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero,
  .detail-hero,
  .cta-band,
  .dual-callouts,
  .split-section,
  .contact-columns,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero,
  .detail-hero {
    display: grid;
  }

  .card-grid,
  .steps,
  .game-gallery {
    grid-template-columns: 1fr 1fr;
  }

  .play-demo-frame {
    min-height: 220px;
  }

  .card-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-band,
  .site-footer,
  .section-heading,
  .inline-heading {
    align-items: start;
    flex-direction: column;
  }

  .cta-band {
    grid-template-columns: 1fr;
  }

  .cta-band .button {
    justify-self: start;
  }

  .developer-commission-details {
    grid-template-columns: 1fr;
  }

  .developer-launch-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .developer-guidance-subhead {
    align-items: start;
    flex-direction: column;
  }

  .developer-hero-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .developer-hero-cta {
    margin-top: 0;
  }

  .developer-submission-card,
  .developer-addon-grid,
  .developer-package-grid,
  .developer-example-grid,
  .points-level-grid,
  .points-notice-grid,
  .points-hero-metrics {
    grid-template-columns: 1fr;
  }

  .developer-hub-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .developer-points-alert-head,
  .developer-points-alert-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .points-hero-heading,
  .points-heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .site-header {
    border-radius: 28px;
    padding: 16px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
  }

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

  .card-grid,
  .steps,
  .game-gallery,
  .hero-metrics,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .play-demo-frame {
    min-height: 200px;
  }

  .hero {
    padding-top: 42px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .game-title {
    font-size: clamp(2.4rem, 12vw, 3.5rem);
  }

  .detail-summary-secondary {
    padding-left: 18px;
  }

  .cta-band,
  .callout-card,
  .content-panel,
  .game-meta-panel,
  .empty-state,
  .spotlight,
  .info-card,
  .card-copy {
    padding-left: 22px;
    padding-right: 22px;
  }

  .site-shell {
    width: min(calc(100% - 22px), var(--max-width));
  }

  .developer-launch-card,
  .developer-points-alert-card,
  .developer-hub-card,
  .developer-commission-table-card,
  .developer-pricing-table-card {
    padding: 22px;
    border-radius: 24px;
  }

  .developer-launch-metrics {
    grid-template-columns: 1fr;
  }

  .developer-commission-table {
    min-width: 760px;
  }

  .developer-pricing-table {
    min-width: 620px;
  }

  .points-hero-card,
  .points-notice-card,
  .points-table-card,
  .points-note-card {
    padding: 22px;
    border-radius: 24px;
  }

  .developer-accordion-summary,
  .developer-accordion-body {
    padding-left: 22px;
    padding-right: 22px;
  }

  .developer-accordion-summary {
    padding-top: 22px;
    padding-bottom: 22px;
    padding-right: 52px;
  }

  .developer-accordion-summary::after {
    top: 27px;
    right: 22px;
  }

  .points-program-switch,
  .points-subnav {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .points-table {
    min-width: 760px;
  }

  .points-level-table {
    min-width: 860px;
  }

  .developer-addon-row {
    align-items: stretch;
    flex-direction: column;
  }

  .developer-addon-row strong {
    white-space: normal;
  }

  .developer-addon-summary {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1180px) {
  .site-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .hero {
    gap: 28px;
    padding: 56px 0 40px;
  }

  .hero-copy h1 {
    max-width: 13ch;
    font-size: clamp(2.8rem, 6vw, 5rem);
  }

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

  .detail-page {
    gap: 32px;
  }

  .detail-hero {
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.78fr);
    gap: 28px;
  }

  .detail-summary-card,
  .detail-sticky-panel {
    padding: 28px;
  }

  .detail-quick-strip,
  .purchase-estimator-grid,
  .purchase-estimator-grid--dual,
  .purchase-domain-fields,
  .purchase-customization-grid,
  .purchase-estimator-sdk-grid,
  .sdk-intake-grid,
  .purchase-estimator-period-grid,
  .detail-definition-grid {
    grid-template-columns: 1fr;
  }

  .purchase-estimator-customizations-head {
    flex-direction: column;
  }

  .sdk-intake-field--span-2 {
    grid-column: auto;
  }

  .detail-addon-grid {
    grid-template-columns: 1fr;
  }

  .play-demo-frame {
    min-height: clamp(500px, 62vw, 760px);
  }
}

@media (max-width: 960px) {
  main {
    padding: 40px 0 72px;
  }

  .site-header {
    top: 10px;
    gap: 16px;
    padding: 12px 14px;
    border-radius: 28px;
  }

  .site-nav {
    gap: 14px;
    flex-wrap: wrap;
  }

  .hero,
  .detail-hero,
  .cta-band,
  .dual-callouts,
  .split-section,
  .contact-columns,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 44px;
  }

  .hero-panel {
    order: -1;
  }

  .hero-showcase,
  .hero-showcase img {
    min-height: 240px;
  }

  .section,
  .page-hero {
    padding: 32px 0;
  }

  .section-heading,
  .inline-heading,
  .cta-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading h2 {
    font-size: clamp(1.8rem, 6vw, 3rem);
  }

  .steps,
  .card-grid,
  .game-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .catalog-card,
  .callout-card,
  .content-panel,
  .game-meta-panel,
  .empty-state,
  .spotlight,
  .info-card {
    min-width: 0;
  }

  .card-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .card-deal-line {
    white-space: normal;
  }

  .detail-showcase-card,
  .detail-summary-card {
    padding: 24px;
  }

  .detail-main-image,
  .detail-main-image img {
    min-height: 320px;
  }

  .detail-main-image-placeholder {
    min-height: 320px;
  }

  .detail-sticky-panel {
    position: static;
  }

  .detail-preview-heading,
  .detail-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-preview-button {
    width: auto;
  }

  .detail-media-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-carousel-dots {
    justify-content: flex-start;
  }

  .detail-quick-strip,
  .purchase-estimator-grid,
  .purchase-estimator-grid--dual,
  .purchase-domain-fields,
  .purchase-estimator-sdk-grid,
  .purchase-estimator-period-grid,
  .detail-definition-grid,
  .detail-side-split,
  .detail-addon-grid {
    grid-template-columns: 1fr;
  }

  .purchase-estimator-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .purchase-estimator-badge {
    min-height: 34px;
  }

  .play-demo-frame {
    aspect-ratio: 4 / 3;
    min-height: clamp(420px, 72vw, 620px);
  }

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

  .cta-band .button {
    justify-self: start;
  }
}

@media (max-width: 760px) {
  main {
    padding: 32px 0 60px;
  }

  .brand {
    min-width: 0;
    gap: 10px;
  }

  .brand-copy strong,
  .brand-copy small {
    white-space: nowrap;
  }

  .site-header {
    top: 8px;
    padding: 14px;
  }

  .site-nav {
    top: calc(100% + 10px);
    gap: 10px;
    padding: 16px;
    border-radius: 20px;
  }

  .site-nav a,
  .site-nav .button {
    width: 100%;
    justify-content: center;
  }

  .hero {
    gap: 22px;
    padding-top: 34px;
  }

  .hero-copy > p,
  .page-hero p {
    font-size: 1rem;
  }

  .hero-actions,
  .game-actions,
  .filter-row,
  .meta-row,
  .pill-row {
    gap: 10px;
  }

  .hero-actions .button,
  .game-actions .button {
    width: 100%;
  }

  .hero-showcase,
  .hero-showcase img {
    min-height: 220px;
  }

  .steps,
  .card-grid,
  .game-gallery,
  .hero-metrics,
  .fact-grid,
  .dual-callouts,
  .split-section,
  .contact-columns,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .info-card,
  .card-copy,
  .spotlight,
  .content-panel,
  .game-meta-panel,
  .cta-band,
  .callout-card,
  .empty-state {
    padding: 22px;
  }

  .callout-card {
    min-height: auto;
  }

  .callout-card h2,
  .cta-copy h2 {
    max-width: none;
  }

  .detail-page {
    padding: 18px 0 56px;
    gap: 24px;
  }

  .game-head {
    margin-bottom: 14px;
  }

  .game-title {
    font-size: clamp(2.2rem, 11vw, 3.2rem);
    max-width: none;
  }

  .detail-showcase-card,
  .detail-summary-card,
  .detail-addon-card {
    padding: 22px;
    border-radius: 24px;
  }

  .detail-preview-heading h2,
  .detail-section-heading h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  .detail-main-image,
  .detail-main-image img {
    min-height: 240px;
  }

  .detail-main-image-placeholder {
    min-height: 240px;
    padding: 24px;
  }

  .detail-preview-heading,
  .meta-panel-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-summary-shell {
    gap: 20px;
  }

  .detail-summary-secondary {
    padding-left: 0;
    border-left: 0;
  }

  .detail-preview-button,
  .meta-panel-header .button {
    width: 100%;
  }

  .detail-carousel-controls {
    inset: 50% 12px auto;
  }

  .detail-carousel-arrow {
    width: 46px;
    height: 46px;
  }

  .detail-carousel-arrow span {
    font-size: 1.7rem;
  }

  .detail-media-copy strong {
    font-size: 1rem;
  }

  .detail-quick-card,
  .fact-card,
  .detail-addon-row,
  .detail-definition-grid article,
  .detail-addon-note {
    padding-left: 16px;
    padding-right: 16px;
  }

  .detail-addon-row {
    align-items: stretch;
    flex-direction: column;
  }

  .detail-addon-row strong {
    max-width: none;
    text-align: left;
  }

  .play-demo-frame {
    min-height: 180px;
    border-radius: 22px;
  }

  .play-demo-card {
    width: 100%;
    padding: 22px;
  }

  .gallery-tile {
    min-height: 180px;
    padding: 14px;
  }

  .gallery-frame {
    min-height: 150px;
  }

  .filter-pill {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    text-align: center;
  }

  .site-footer {
    padding-bottom: 28px;
  }

  .contact-panel {
    gap: 28px;
  }

  .social-icon-link {
    width: 60px;
    height: 60px;
    border-radius: 18px;
  }

  .social-icon-link svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 520px) {
  .site-shell {
    width: min(calc(100% - 16px), var(--max-width));
  }

  .site-header {
    margin-top: 10px;
    padding: 12px;
    border-radius: 22px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 12px;
  }

  .brand-copy small {
    font-size: 0.7rem;
  }

  .hero-copy h1,
  .page-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3.4rem);
  }

  .section-heading,
  .inline-heading {
    margin-bottom: 20px;
  }

  .status-card,
  .hero-metrics li,
  .fact-card,
  .deal-meta-item {
    padding: 16px;
  }

  .card-cover {
    min-height: 190px;
  }

  .card-cover-image {
    object-fit: cover;
  }

  .play-demo-heading h2 {
    font-size: clamp(1.5rem, 8vw, 2.1rem);
  }

  .play-demo-frame {
    min-height: clamp(300px, 56vh, 420px);
    border-radius: 18px;
  }

  .filter-pill {
    flex-basis: 100%;
  }

  .footer-links {
    width: 100%;
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 1180px) {
  .catalog-filter-modal-dialog {
    width: min(860px, calc(100vw - 28px));
  }
}

@media (max-width: 760px) {
  .catalog-filter-toolbar {
    padding: 18px;
    border-radius: 24px;
  }

  .catalog-filter-toolbar-row {
    align-items: stretch;
    flex-direction: column;
  }

  .catalog-filter-toolbar-actions {
    width: 100%;
    justify-content: space-between;
  }

  .catalog-filter-toolbar-search {
    max-width: none;
  }

  .catalog-filter-count {
    justify-items: start;
    text-align: left;
  }

  .catalog-filter-modal-dialog {
    width: min(100vw - 20px, 100vw - 20px);
    max-height: calc(100vh - 20px);
    margin: auto;
    border-radius: 24px;
  }

  .catalog-filter-modal-header,
  .catalog-filter-modal-body,
  .catalog-filter-modal-actions {
    padding-inline: 18px;
  }

  .catalog-filter-grid {
    grid-template-columns: 1fr;
  }

  .catalog-filter-quick-row .filter-pill {
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    text-align: center;
  }

  .catalog-filter-modal-actions {
    flex-direction: column-reverse;
  }

  .catalog-filter-modal-actions .button {
    width: 100%;
  }
}

/* Home redesign */
body[data-page="home"] {
  background:
    radial-gradient(circle at top left, rgba(31, 95, 174, 0.05), transparent 24%),
    radial-gradient(circle at top right, rgba(10, 35, 68, 0.04), transparent 22%),
    linear-gradient(180deg, #fcfdff 0%, #f6f9fd 48%, #f1f5fa 100%);
}

body[data-page="home"] .site-shell {
  width: min(calc(100% - 40px), 1240px);
}

body[data-page="home"] .site-header {
  top: 10px;
  gap: 20px;
  margin-top: 14px;
  padding: 10px 14px 10px 16px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 34px rgba(13, 39, 80, 0.06);
}

body[data-page="home"] .site-header .brand {
  gap: 12px;
}

body[data-page="home"] .site-header .brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #163f73 0%, #275d9f 100%);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

body[data-page="home"] .site-header .brand-copy {
  gap: 1px;
}

body[data-page="home"] .site-header .brand-copy strong {
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

body[data-page="home"] .site-header .brand-copy small {
  font-size: 0.72rem;
  letter-spacing: 0.02em;
}

body[data-page="home"] .site-header .site-nav {
  gap: 10px;
}

body[data-page="home"] .site-header .site-nav a:not(.button) {
  padding: 8px 10px;
  font-size: 0.92rem;
  font-weight: 600;
}

body[data-page="home"] .site-header .site-nav .button-small {
  min-height: 40px;
  padding: 0 16px;
  border-color: rgba(10, 43, 95, 0.1);
  background: linear-gradient(180deg, #0f2f59, #143f74);
  color: #ffffff;
  box-shadow: 0 10px 20px rgba(20, 63, 116, 0.18);
}

body[data-page="home"] .site-header .site-nav .button-small:hover {
  box-shadow: 0 14px 22px rgba(20, 63, 116, 0.22);
}

body[data-page="home"] main {
  padding: 44px 0 88px;
}

body[data-page="home"] .hero {
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, 0.92fr);
  grid-template-areas:
    "copy showcase"
    "secondary secondary";
  gap: 36px;
  align-items: start;
  padding: 44px 0 56px;
}

body[data-page="home"] .hero-copy {
  grid-area: copy;
  padding-top: 20px;
}

body[data-page="home"] .hero-copy h1 {
  max-width: 11ch;
  margin-top: 16px;
  font-size: clamp(2.75rem, 5.2vw, 4.2rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

body[data-page="home"] .hero-copy > p {
  max-width: 56ch;
  margin-top: 18px;
  font-size: 1rem;
  line-height: 1.75;
}

body[data-page="home"] .hero-actions {
  gap: 12px;
  margin-top: 26px;
}

body[data-page="home"] .hero-actions .button {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.95rem;
}

body[data-page="home"] .hero-actions .button:first-child {
  background: linear-gradient(180deg, #173f74, #12345d);
  box-shadow: 0 14px 24px rgba(18, 52, 93, 0.16);
}

body[data-page="home"] .hero-actions .button-ghost {
  border-color: rgba(10, 43, 95, 0.1);
  background: rgba(255, 255, 255, 0.84);
}

@media (min-width: 1100px) {
  body[data-page="developers"] main:not(.points-page) {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    column-gap: 28px;
    row-gap: 18px;
  }

  .developer-points-alert-section,
  .developer-launch-section {
    align-self: stretch;
  }

  .developer-points-alert-card,
  .developer-launch-card {
    height: 100%;
  }

  .developer-hub-nav-section,
  .developer-commission-section,
  .developer-guidance-section,
  #developer-review,
  .developer-pricing-section,
  .developer-submission-section {
    grid-column: 1 / -1;
  }
}

body[data-page="developers"] .developer-launch-section,
body[data-page="developers"] .page-hero,
body[data-page="developers"] .developer-hub-nav-section {
  animation-duration: 0.58s;
}

body[data-page="developers"] .developer-launch-section {
  padding-top: 22px;
  padding-bottom: 10px;
}

body[data-page="developers"] .developer-launch-card {
  gap: 22px;
  min-height: 100%;
  padding: 30px 32px;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 243, 239, 0.96), rgba(255, 255, 255, 0.98) 54%),
    radial-gradient(circle at top left, rgba(212, 99, 74, 0.18), transparent 28%),
    radial-gradient(circle at bottom right, rgba(233, 176, 154, 0.18), transparent 30%),
    #ffffff;
  box-shadow: 0 28px 64px rgba(124, 58, 46, 0.12);
}

body[data-page="developers"] .developer-launch-head {
  justify-content: flex-start;
}

body[data-page="developers"] .developer-launch-badge {
  min-height: 42px;
  padding: 0 16px;
  border-color: rgba(194, 70, 68, 0.16);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

body[data-page="developers"] .developer-launch-copy {
  gap: 14px;
}

body[data-page="developers"] .developer-launch-copy h2 {
  max-width: 14ch;
  font-size: clamp(2.35rem, 3.4vw, 4rem);
  line-height: 0.98;
}

body[data-page="developers"] .developer-launch-copy p {
  max-width: 54ch;
  font-size: 1.04rem;
}

body[data-page="developers"] .developer-launch-highlight {
  max-width: 20ch;
  font-size: clamp(1.5rem, 2vw, 2.15rem);
  line-height: 1.18;
}

body[data-page="developers"] .developer-launch-metrics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

body[data-page="developers"] .developer-launch-metrics article {
  padding: 22px 24px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body[data-page="developers"] .page-hero#developer-intro {
  display: grid;
  align-content: center;
  gap: 20px;
  min-height: 100%;
  padding: 34px 36px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 34px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(245, 249, 255, 0.94)),
    radial-gradient(circle at top right, rgba(31, 95, 174, 0.08), transparent 28%),
    #ffffff;
  box-shadow: 0 24px 58px rgba(13, 39, 80, 0.08);
}

body[data-page="developers"] .developer-hero-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

body[data-page="developers"] .page-hero#developer-intro h1 {
  max-width: 10ch;
  font-size: clamp(3.2rem, 5.1vw, 5.6rem);
  line-height: 0.9;
}

body[data-page="developers"] .page-hero#developer-intro p {
  max-width: 34ch;
  margin: 0;
  font-size: 1.12rem;
  line-height: 1.72;
}

body[data-page="developers"] .developer-hero-cta {
  justify-self: start;
  min-height: 48px;
  padding: 0 20px;
  margin-top: 0;
}

body[data-page="developers"] .developer-hub-nav-section {
  padding-top: 10px;
}

body[data-page="developers"] .developer-hub-card {
  gap: 20px;
  padding: 28px 30px;
  border-radius: 30px;
}

body[data-page="developers"] .developer-hub-copy h2 {
  max-width: 16ch;
  font-size: clamp(2.3rem, 3.1vw, 3.4rem);
  line-height: 0.98;
}

body[data-page="developers"] .developer-hub-copy p {
  max-width: 56ch;
  font-size: 1.03rem;
}

body[data-page="developers"] .developer-hub-nav {
  gap: 12px;
}

body[data-page="developers"] .developer-hub-link {
  min-height: 46px;
  padding: 0 18px;
  font-size: 0.96rem;
}

body[data-page="home"] .hero-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 28px;
  padding: 0;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: 0 14px 28px rgba(13, 39, 80, 0.05);
}

body[data-page="home"] .hero-metrics li {
  flex: 1 1 0;
  min-width: 150px;
  padding: 16px 18px;
  border: 0;
  border-right: 1px solid rgba(10, 43, 95, 0.07);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="home"] .hero-metrics li:last-child {
  border-right: 0;
}

body[data-page="home"] .hero-metrics strong {
  font-size: 1.1rem;
  letter-spacing: -0.02em;
}

body[data-page="home"] .hero-metrics span {
  margin-top: 3px;
  font-size: 0.83rem;
  line-height: 1.5;
}

body[data-page="home"] .hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 18px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 600;
}

body[data-page="home"] .hero-trust span {
  position: relative;
  padding-left: 14px;
}

body[data-page="home"] .hero-trust span::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(31, 95, 174, 0.5);
}

body[data-page="home"] .hero-panel {
  grid-area: showcase;
  gap: 16px;
}

body[data-page="home"] .hero-secondary {
  grid-area: secondary;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
  margin-top: -8px;
}

body[data-page="home"] .hero-showcase-card,
body[data-page="home"] .spotlight {
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 34px rgba(13, 39, 80, 0.06);
}

body[data-page="home"] .hero-showcase-card {
  padding: 14px;
}

body[data-page="home"] .hero-showcase-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 4px 4px 12px;
}

body[data-page="home"] .hero-showcase-meta {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

body[data-page="home"] .hero-showcase {
  min-height: 332px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(245, 249, 255, 0.88), rgba(228, 236, 247, 0.9)),
    #dbe7f7;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

body[data-page="home"] .hero-showcase img {
  min-height: 332px;
  object-fit: cover;
  object-position: center;
}

body[data-page="home"] .hero-showcase-caption {
  display: grid;
  gap: 4px;
  padding: 14px 6px 4px;
}

body[data-page="home"] .hero-showcase-caption strong {
  font-size: 0.96rem;
  letter-spacing: -0.02em;
}

body[data-page="home"] .hero-showcase-caption span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

body[data-page="home"] .spotlight {
  padding: 20px 22px;
}

body[data-page="home"] .spotlight h2 {
  margin: 14px 0 8px;
  font-size: 1.5rem;
  letter-spacing: -0.04em;
}

body[data-page="home"] .spotlight > p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
}

body[data-page="home"] .hero-support-card {
  overflow: hidden;
  min-height: 320px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(248, 250, 255, 0.92), rgba(235, 241, 250, 0.96));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 18px 34px rgba(13, 39, 80, 0.06);
}

body[data-page="home"] .hero-support-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
  transform: scale(1.04);
  transform-origin: center;
}

body[data-page="home"] .mini-grid {
  gap: 10px;
  margin-top: 18px;
}

body[data-page="home"] .mini-grid article {
  padding: 14px 16px;
  border: 1px solid rgba(10, 43, 95, 0.06);
  border-radius: 16px;
  background: rgba(10, 43, 95, 0.025);
}

body[data-page="home"] .mini-grid strong {
  margin-bottom: 6px;
  font-size: 0.95rem;
}

body[data-page="home"] .mini-grid span {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

body[data-page="home"] .home-process {
  padding-top: 28px;
}

body[data-page="home"] .section-heading {
  align-items: start;
  gap: 20px;
  margin-bottom: 22px;
}

body[data-page="home"] .section-heading > p {
  max-width: 46ch;
  margin: 10px 0 0;
  font-size: 0.96rem;
  line-height: 1.75;
}

body[data-page="home"] .section-heading h2 {
  max-width: 14ch;
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
  line-height: 1.08;
}

body[data-page="home"] .process-media-card {
  position: relative;
  overflow: hidden;
  width: min(100%, 520px);
  justify-self: end;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(251, 253, 255, 0.96), rgba(239, 244, 251, 0.96));
  box-shadow: 0 18px 30px rgba(13, 39, 80, 0.06);
}

body[data-page="home"] .process-media-card img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
}

body[data-page="home"] .process-media-trigger {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 999px;
  background: rgba(10, 35, 68, 0.82);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, background 0.2s ease;
}

body[data-page="home"] .process-media-trigger:hover {
  transform: translateY(-1px);
  background: rgba(10, 35, 68, 0.92);
}

.media-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  padding: 28px;
}

.media-modal.hidden {
  display: none !important;
}

.media-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 18, 34, 0.72);
  backdrop-filter: blur(8px);
}

.media-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1200px);
  max-height: calc(100vh - 56px);
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  background: rgba(248, 251, 255, 0.98);
  box-shadow: 0 28px 60px rgba(10, 24, 44, 0.28);
}

.media-modal-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
  padding: 2px 2px 16px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(10, 43, 95, 0.08);
}

.media-modal-copy {
  max-width: 680px;
  padding-top: 4px;
}

.media-modal-copy strong {
  display: block;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: -0.02em;
}

.media-modal-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 12px;
}

.media-modal-contact {
  min-height: 42px;
  padding-inline: 18px;
}

.media-modal-close {
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(10, 43, 95, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.media-modal-close:hover {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(10, 43, 95, 0.16);
  transform: translateY(-1px);
}

.media-modal-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  overflow: hidden;
  max-height: calc(100vh - 200px);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(248, 250, 255, 0.94), rgba(234, 241, 250, 0.98));
}

.media-modal-frame img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(100%, 640px);
  height: auto;
  object-fit: contain;
}

body[data-page="home"] .steps {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

body[data-page="home"] .info-card {
  padding: 24px;
  border-radius: 22px;
  box-shadow: 0 16px 28px rgba(13, 39, 80, 0.05);
}

body[data-page="home"] .step-number {
  color: rgba(22, 63, 115, 0.42);
  font-size: 0.8rem;
}

body[data-page="home"] .info-card h3 {
  margin: 14px 0 10px;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

body[data-page="home"] .info-card p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.7;
}

body[data-page="home"] .section + .section {
  padding-top: 28px;
}

body[data-page="home"] .card-grid {
  gap: 20px;
}

body[data-page="home"] .cta-band {
  min-height: auto;
  padding: 28px 30px;
  margin: 28px 0;
  border-radius: 24px;
  box-shadow: 0 18px 30px rgba(13, 39, 80, 0.05);
}

body[data-page="home"] .cta-copy h2 {
  max-width: 20ch;
  margin-top: 12px;
  margin-bottom: 14px;
  font-size: clamp(1.75rem, 3vw, 2.4rem);
}

body[data-page="home"] .cta-copy p {
  max-width: 60ch;
  font-size: 0.98rem;
}

body[data-page="home"] .dual-callouts {
  gap: 20px;
}

body[data-page="home"] .callout-card {
  min-height: 280px;
  padding: 30px;
  box-shadow: 0 18px 30px rgba(13, 39, 80, 0.05);
}

body[data-page="home"] .callout-card h2 {
  max-width: 12ch;
  margin-top: 16px;
  margin-bottom: 14px;
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
}

body[data-page="home"] .callout-card p {
  max-width: 38ch;
  font-size: 0.96rem;
}

@media (max-width: 1100px) {
  body[data-page="home"] .hero {
    grid-template-columns: 1fr;
    grid-template-areas:
      "copy"
      "showcase"
      "secondary";
    gap: 26px;
  }

  body[data-page="home"] .hero-secondary {
    grid-template-columns: 1fr;
    margin-top: 0;
  }

  body[data-page="home"] .hero-copy {
    padding-top: 8px;
  }

  body[data-page="home"] .hero-copy h1 {
    max-width: 12ch;
  }

  body[data-page="home"] .section-heading {
    flex-direction: column;
  }

  body[data-page="home"] .section-heading h2,
  body[data-page="home"] .section-heading > p {
    max-width: none;
  }

  body[data-page="home"] .process-media-card {
    width: 100%;
    justify-self: stretch;
  }
}

@media (max-width: 760px) {
  body[data-page="home"] .site-shell {
    width: min(calc(100% - 20px), 1240px);
  }

  body[data-page="home"] .site-header {
    padding: 12px 14px;
    border-radius: 18px;
  }

  body[data-page="home"] .site-nav {
    gap: 8px;
  }

  body[data-page="home"] main {
    padding: 32px 0 60px;
  }

  body[data-page="home"] .hero {
    padding: 28px 0 38px;
  }

  body[data-page="home"] .hero-copy h1 {
    max-width: none;
    font-size: clamp(2.25rem, 9vw, 3.2rem);
  }

  body[data-page="home"] .hero-metrics {
    flex-direction: column;
  }

  body[data-page="home"] .hero-metrics li {
    border-right: 0;
    border-bottom: 1px solid rgba(10, 43, 95, 0.07);
  }

  body[data-page="home"] .hero-metrics li:last-child {
    border-bottom: 0;
  }

  body[data-page="home"] .hero-showcase {
    min-height: 240px;
  }

  body[data-page="home"] .hero-showcase img {
    min-height: 240px;
  }

  body[data-page="home"] .hero-support-card img {
    height: 220px;
    min-height: 220px;
  }

  body[data-page="home"] .process-media-card {
    border-radius: 18px;
  }

  body[data-page="home"] .process-media-trigger {
    right: 10px;
    bottom: 10px;
    min-height: 34px;
    padding: 0 12px;
    font-size: 0.82rem;
  }

  .media-modal {
    padding: 14px;
  }

  .media-modal-dialog {
    max-height: calc(100vh - 28px);
    padding: 14px;
    border-radius: 18px;
  }

  .media-modal-header {
    grid-template-columns: 1fr;
    padding-bottom: 12px;
    margin-bottom: 12px;
  }

  .media-modal-actions {
    width: 100%;
  }

  .media-modal-contact {
    flex: 1 1 180px;
    justify-content: center;
  }

  .media-modal-close {
    flex: 0 0 auto;
  }

  .media-modal-frame {
    max-height: calc(100vh - 180px);
  }

  .media-modal-frame img {
    max-height: min(100%, 420px);
  }

  body[data-page="home"] .steps,
  body[data-page="home"] .dual-callouts {
    grid-template-columns: 1fr;
  }

  body[data-page="home"] .cta-band {
    padding: 24px;
  }

  body[data-page="home"] .callout-card {
    min-height: auto;
    padding: 24px;
  }
}

/* Sidebar navigation final overrides */
body[data-page="home"] .site-shell,
body[data-page="catalog"] .site-shell,
body[data-page="developers"] .site-shell,
body[data-page="contact"] .site-shell,
body[data-page="saved-sdks"] .site-shell,
body[data-page="portfolio-stats"] .site-shell,
body[data-page="stats"] .site-shell,
body[data-page="profile"] .site-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(244px, 268px) minmax(0, 1fr);
  gap: 28px;
  width: min(calc(100% - 36px), 1420px);
  margin: 0 auto;
  padding: 18px 0 32px;
}

body[data-page="home"] main,
body[data-page="catalog"] main,
body[data-page="developers"] main,
body[data-page="contact"] main,
body[data-page="portfolio-stats"] main,
body[data-page="stats"] main,
body[data-page="profile"] main {
  padding: 34px 0 84px;
}

body[data-page="home"] .hero {
  padding-top: 20px;
}

body[data-page="home"] .hero-copy {
  padding-top: 8px;
}

@media (max-width: 1180px) {
  body[data-page="home"] .site-shell,
  body[data-page="catalog"] .site-shell,
  body[data-page="developers"] .site-shell,
  body[data-page="contact"] .site-shell,
  body[data-page="saved-sdks"] .site-shell,
  body[data-page="portfolio-stats"] .site-shell,
  body[data-page="stats"] .site-shell,
  body[data-page="profile"] .site-shell {
    width: min(calc(100% - 28px), 1380px);
    gap: 22px;
    grid-template-columns: 236px minmax(0, 1fr);
  }
}

@media (max-width: 920px) {
  body[data-page="home"] .site-shell,
  body[data-page="catalog"] .site-shell,
  body[data-page="developers"] .site-shell,
  body[data-page="contact"] .site-shell,
  body[data-page="saved-sdks"] .site-shell,
  body[data-page="portfolio-stats"] .site-shell,
  body[data-page="stats"] .site-shell,
  body[data-page="profile"] .site-shell {
    display: block;
    width: min(calc(100% - 20px), 1240px);
    padding: 12px 0 24px;
  }

  body[data-page="home"] main,
  body[data-page="catalog"] main,
  body[data-page="developers"] main,
  body[data-page="contact"] main,
  body[data-page="portfolio-stats"] main,
  body[data-page="stats"] main,
  body[data-page="profile"] main {
    padding: 24px 0 58px;
  }
}

/* Sidebar edge-aligned layout */
@media (min-width: 921px) {
  body[data-page="home"] .site-shell,
  body[data-page="catalog"] .site-shell,
  body[data-page="developers"] .site-shell,
  body[data-page="contact"] .site-shell,
  body[data-page="saved-sdks"] .site-shell,
  body[data-page="portfolio-stats"] .site-shell,
  body[data-page="stats"] .site-shell,
  body[data-page="profile"] .site-shell {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  body[data-page="home"] .site-content-shell,
  body[data-page="catalog"] .site-content-shell,
  body[data-page="developers"] .site-content-shell,
  body[data-page="contact"] .site-content-shell,
  body[data-page="saved-sdks"] .site-content-shell,
  body[data-page="portfolio-stats"] .site-content-shell,
  body[data-page="stats"] .site-content-shell,
  body[data-page="profile"] .site-content-shell {
    min-height: 100vh;
    margin-left: var(--sidebar-width);
    padding: 0 36px 28px;
    transition: margin-left 0.28s ease;
  }

  .site-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-width);
    min-height: 100vh;
    padding: 0;
    border: 0;
    border-right: 1px solid rgba(10, 43, 95, 0.09);
    border-radius: 0;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(246, 250, 255, 0.96)),
      radial-gradient(circle at top left, rgba(31, 95, 174, 0.08), transparent 54%);
    box-shadow: none;
    backdrop-filter: blur(14px);
    transition: transform 0.28s ease;
  }

  .sidebar-collapse-toggle {
    position: fixed;
    top: 50%;
    left: calc(var(--sidebar-width) - 1px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: var(--sidebar-toggle-size);
    height: 74px;
    padding: 0;
    border: 1px solid rgba(10, 43, 95, 0.12);
    border-left: 0;
    border-radius: 0 16px 16px 0;
    background: rgba(255, 255, 255, 0.96);
    color: var(--accent-strong);
    box-shadow: 0 14px 32px rgba(13, 39, 80, 0.1);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%);
    transition:
      left 0.28s ease,
      opacity 0.18s ease,
      color 0.18s ease,
      background 0.18s ease,
      box-shadow 0.18s ease;
    z-index: 30;
  }

  .sidebar-collapse-toggle span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(135deg);
    transition: transform 0.2s ease;
  }

  body.sidebar-collapsed .sidebar-collapse-toggle span {
    transform: rotate(-45deg);
  }

  .site-sidebar:hover ~ .sidebar-collapse-toggle,
  .site-sidebar:focus-within ~ .sidebar-collapse-toggle,
  .sidebar-collapse-toggle:hover,
  .sidebar-collapse-toggle:focus-visible,
  body.sidebar-collapsed .sidebar-collapse-toggle {
    opacity: 1;
    pointer-events: auto;
  }

  .sidebar-collapse-toggle:hover,
  .sidebar-collapse-toggle:focus-visible {
    background: #ffffff;
    color: var(--text);
    box-shadow: 0 18px 34px rgba(13, 39, 80, 0.12);
  }

  body.sidebar-collapsed .site-sidebar {
    transform: translateX(calc(-1 * var(--sidebar-width)));
  }

  body.sidebar-collapsed .site-content-shell {
    margin-left: 0;
  }

  body.sidebar-collapsed .sidebar-collapse-toggle {
    left: 0;
  }

  .site-sidebar .brand {
    display: flex;
    width: 100%;
    padding: 26px 24px 22px;
    border-bottom: 1px solid rgba(10, 43, 95, 0.08);
  }

  .sidebar-kicker {
    margin: 0;
    padding: 18px 24px 16px;
    border-bottom: 1px solid rgba(10, 43, 95, 0.07);
    font-size: 0.88rem;
    line-height: 1.65;
  }

  body[data-page="home"] .site-sidebar .site-nav,
  body[data-page="catalog"] .site-sidebar .site-nav,
  body[data-page="developers"] .site-sidebar .site-nav,
  body[data-page="contact"] .site-sidebar .site-nav,
  body[data-page="saved-sdks"] .site-sidebar .site-nav,
  body[data-page="portfolio-stats"] .site-sidebar .site-nav,
  body[data-page="stats"] .site-sidebar .site-nav,
  body[data-page="profile"] .site-sidebar .site-nav {
    flex: 1 1 auto;
    gap: 0;
    width: 100%;
    margin-top: 0;
  }

  body[data-page="home"] .site-sidebar .site-nav a:not(.button),
  body[data-page="catalog"] .site-sidebar .site-nav a:not(.button),
  body[data-page="developers"] .site-sidebar .site-nav a:not(.button),
  body[data-page="contact"] .site-sidebar .site-nav a:not(.button),
  body[data-page="saved-sdks"] .site-sidebar .site-nav a:not(.button),
  body[data-page="portfolio-stats"] .site-sidebar .site-nav a:not(.button),
  body[data-page="stats"] .site-sidebar .site-nav a:not(.button),
  body[data-page="profile"] .site-sidebar .site-nav a:not(.button) {
    width: 100%;
    min-height: 62px;
    padding: 0 24px;
    border: 0;
    border-bottom: 1px solid rgba(10, 43, 95, 0.07);
    border-radius: 0;
    background: transparent;
    justify-content: flex-start;
    font-size: 0.96rem;
    font-weight: 700;
    transform: none;
  }

  body[data-page="home"] .site-sidebar .site-nav .site-nav-profile-slot,
  body[data-page="catalog"] .site-sidebar .site-nav .site-nav-profile-slot,
  body[data-page="developers"] .site-sidebar .site-nav .site-nav-profile-slot,
  body[data-page="contact"] .site-sidebar .site-nav .site-nav-profile-slot,
  body[data-page="saved-sdks"] .site-sidebar .site-nav .site-nav-profile-slot,
  body[data-page="portfolio-stats"] .site-sidebar .site-nav .site-nav-profile-slot,
  body[data-page="stats"] .site-sidebar .site-nav .site-nav-profile-slot,
  body[data-page="profile"] .site-sidebar .site-nav .site-nav-profile-slot {
    width: 100%;
    min-height: 62px;
    padding: 0;
    border: 0;
    border-bottom: 1px solid rgba(10, 43, 95, 0.07);
    border-radius: 0;
    background: transparent;
    justify-content: flex-start;
    transform: none;
  }

  body[data-page="home"] .site-sidebar .site-nav a:not(.button):hover,
  body[data-page="catalog"] .site-sidebar .site-nav a:not(.button):hover,
  body[data-page="developers"] .site-sidebar .site-nav a:not(.button):hover,
  body[data-page="contact"] .site-sidebar .site-nav a:not(.button):hover,
  body[data-page="saved-sdks"] .site-sidebar .site-nav a:not(.button):hover,
  body[data-page="portfolio-stats"] .site-sidebar .site-nav a:not(.button):hover,
  body[data-page="stats"] .site-sidebar .site-nav a:not(.button):hover,
  body[data-page="profile"] .site-sidebar .site-nav a:not(.button):hover {
    transform: none;
    border-color: rgba(10, 43, 95, 0.07);
    background: rgba(10, 43, 95, 0.065);
    box-shadow: none;
  }

  body[data-page="home"] .site-sidebar .site-nav a:not(.button).active,
  body[data-page="catalog"] .site-sidebar .site-nav a:not(.button).active,
  body[data-page="developers"] .site-sidebar .site-nav a:not(.button).active,
  body[data-page="contact"] .site-sidebar .site-nav a:not(.button).active,
  body[data-page="saved-sdks"] .site-sidebar .site-nav a:not(.button).active,
  body[data-page="portfolio-stats"] .site-sidebar .site-nav a:not(.button).active,
  body[data-page="stats"] .site-sidebar .site-nav a:not(.button).active,
  body[data-page="profile"] .site-sidebar .site-nav a:not(.button).active {
    border-color: rgba(10, 43, 95, 0.07);
    background: linear-gradient(90deg, rgba(10, 43, 95, 0.12), rgba(10, 43, 95, 0.035));
    box-shadow: inset 3px 0 0 #314154;
  }

  body[data-page="home"] .site-sidebar .site-nav .site-nav-profile-slot.active,
  body[data-page="catalog"] .site-sidebar .site-nav .site-nav-profile-slot.active,
  body[data-page="developers"] .site-sidebar .site-nav .site-nav-profile-slot.active,
  body[data-page="contact"] .site-sidebar .site-nav .site-nav-profile-slot.active,
  body[data-page="saved-sdks"] .site-sidebar .site-nav .site-nav-profile-slot.active,
  body[data-page="portfolio-stats"] .site-sidebar .site-nav .site-nav-profile-slot.active,
  body[data-page="stats"] .site-sidebar .site-nav .site-nav-profile-slot.active,
  body[data-page="profile"] .site-sidebar .site-nav .site-nav-profile-slot.active {
    border-color: rgba(10, 43, 95, 0.07);
    background: linear-gradient(90deg, rgba(10, 43, 95, 0.12), rgba(10, 43, 95, 0.035));
    box-shadow: inset 3px 0 0 #314154;
  }

  .sidebar-footer {
    width: 100%;
    margin-top: 0;
    padding: 22px 24px 24px;
    border-top: 1px solid rgba(10, 43, 95, 0.08);
    background: rgba(255, 255, 255, 0.58);
  }

  .sidebar-cta {
    min-height: 50px;
    border-radius: 16px;
  }

  .mobile-topbar {
    display: none;
  }

  body[data-page="home"] main,
  body[data-page="catalog"] main,
  body[data-page="developers"] main,
body[data-page="contact"] main,
body[data-page="saved-sdks"] main,
body[data-page="portfolio-stats"] main,
body[data-page="profile"] main {
    padding: 34px 0 84px;
  }

  body[data-page="home"] .hero {
    padding-top: 22px;
  }

  body[data-page="home"] .site-footer,
  body[data-page="catalog"] .site-footer,
  body[data-page="developers"] .site-footer,
  body[data-page="contact"] .site-footer,
  body[data-page="saved-sdks"] .site-footer,
  body[data-page="portfolio-stats"] .site-footer {
    padding: 28px 0 24px;
  }
}

/* Mobile nav final overrides */
@media (max-width: 920px) {
  .site-sidebar .site-nav,
  .site-sidebar .site-nav.open {
    position: static;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .site-sidebar .site-nav a:not(.button) {
    width: 100%;
  }

  .site-sidebar .sidebar-footer {
    display: grid;
  }
}

/* Landing and auth */
.landing-primary-actions .button:first-child,
.landing-auth-actions .button:first-child,
.landing-band-actions .button:first-child,
.auth-submit-button {
  box-shadow: 0 16px 30px rgba(20, 63, 116, 0.18);
}

.landing-public-shell {
  width: min(calc(100% - 40px), 1240px);
  margin: 0 auto;
  padding: 18px 0 28px;
}

.landing-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 14px 12px 16px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 34px rgba(13, 39, 80, 0.06);
  backdrop-filter: blur(16px);
}

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

.landing-main {
  padding: 8px 0 0;
}

.landing-hero {
  padding-top: 42px;
}

.landing-footer {
  margin-top: 10px;
  padding-top: 28px;
  border-top: 1px solid rgba(10, 43, 95, 0.08);
}

.landing-auth-header-shell {
  display: flex;
  justify-content: flex-end;
  padding-top: 24px;
}

.landing-auth-header {
  display: inline-grid;
  gap: 12px;
  padding: 16px 18px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.97), rgba(248, 251, 255, 0.95)),
    radial-gradient(circle at top left, rgba(31, 95, 174, 0.08), transparent 52%);
  box-shadow: 0 22px 38px rgba(13, 39, 80, 0.06);
}

.landing-auth-header-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
}

.landing-auth-header-content[data-auth-logged-out] {
  display: flex;
  justify-content: flex-end;
}

.landing-auth-header-copy {
  display: grid;
  gap: 14px;
  max-width: 760px;
}

.landing-auth-header-copy h2 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  letter-spacing: -0.05em;
  line-height: 1.04;
}

.landing-auth-header-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.72;
}

.landing-auth-header-content-logged .landing-auth-header-copy {
  max-width: none;
}

.landing-auth-actions-header {
  align-items: center;
  justify-content: flex-end;
}

.landing-secondary-grid {
  align-items: stretch;
}

.landing-auth-card {
  display: grid;
  gap: 18px;
}

.landing-auth-card h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
}

.landing-auth-card p {
  margin: 0;
}

.landing-auth-actions,
.landing-band-actions,
.auth-side-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.landing-audience-grid {
  align-items: stretch;
}

.landing-list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height: 1.7;
}

.landing-list strong {
  color: var(--text);
}

.landing-buyer-band {
  align-items: center;
}

.landing-summary-card {
  padding: 24px 26px;
}

.landing-summary-card h2 {
  margin: 14px 0 10px;
  font-size: clamp(1.55rem, 2.5vw, 2.1rem);
  letter-spacing: -0.04em;
}

.landing-summary-card > p {
  margin: 0;
}

.landing-benefits-grid .info-card h3 {
  margin-top: 0;
}

.protected-auth-panel {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(10, 43, 95, 0.08);
}

.protected-auth-panel--footer-link {
  padding-top: 0;
  border-top: 0;
}

.protected-auth-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.protected-auth-shell {
  position: relative;
}

.protected-auth-panel--nav {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

.protected-auth-shell--nav {
  width: 100%;
  height: 100%;
}

.protected-auth-nav-row {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 62px;
  padding: 0 24px;
}

.protected-auth-shell.is-open .protected-auth-popover,
.protected-auth-shell:focus-within .protected-auth-popover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.protected-auth-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1f5fae, #3d7ecc);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  box-shadow: 0 14px 28px rgba(13, 39, 80, 0.16);
  cursor: pointer;
}

.protected-auth-avatar--nav {
  flex: 0 0 52px;
}

.protected-auth-nav-trigger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.protected-auth-nav-link {
  display: inline-flex;
  align-items: center;
  min-height: 62px;
  color: var(--accent-strong);
  font-size: 0.96rem;
  font-weight: 700;
}

.protected-auth-nav-link:hover {
  color: var(--accent-strong);
}

.profile-account-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.protected-auth-popover {
  position: absolute;
  left: 0;
  bottom: calc(100% + 12px);
  z-index: 12;
  width: min(260px, calc(100vw - 56px));
  display: grid;
  gap: 10px;
  padding: 16px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 24px 44px rgba(13, 39, 80, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.protected-auth-popover--nav {
  left: 24px;
  right: 24px;
  bottom: auto;
  top: calc(100% + 10px);
  width: auto;
}

.protected-auth-name,
.protected-auth-email,
.protected-auth-confirm p {
  margin: 0;
}

.protected-auth-name {
  color: var(--text);
  font-size: 0.96rem;
  font-weight: 800;
}

.protected-auth-email {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
  word-break: break-word;
}

.protected-auth-actions,
.protected-auth-confirm {
  display: grid;
  gap: 10px;
}

.protected-auth-confirm {
  display: none;
  padding-top: 10px;
  border-top: 1px solid rgba(10, 43, 95, 0.08);
}

.protected-auth-shell.is-confirming .protected-auth-actions {
  display: none;
}

.protected-auth-shell.is-confirming .protected-auth-confirm {
  display: grid;
}

.protected-auth-confirm-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.protected-auth-logout,
.protected-auth-confirm .button {
  width: 100%;
}

.auth-feedback-banner {
  padding: 12px 14px;
  border: 1px solid rgba(31, 95, 174, 0.16);
  border-radius: 16px;
  background: rgba(31, 95, 174, 0.08);
  color: var(--accent-strong);
  font-weight: 700;
}

.auth-feedback-banner[data-state="error"],
.form-feedback[data-state="error"] {
  color: #9b2335;
}

.auth-feedback-banner[data-state="success"],
.form-feedback[data-state="success"] {
  color: #1f6b4b;
}

.auth-feedback-banner[data-state="error"] {
  border-color: rgba(155, 35, 53, 0.18);
  background: rgba(155, 35, 53, 0.08);
}

.auth-feedback-banner[data-state="success"] {
  border-color: rgba(31, 107, 75, 0.18);
  background: rgba(31, 107, 75, 0.08);
}

.auth-state-panel {
  display: grid;
  gap: 12px;
}

.auth-state-label {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.auth-state-email {
  font-size: 1.05rem;
  letter-spacing: -0.02em;
}

.auth-state-copy {
  color: var(--muted);
}

.auth-page-hero {
  max-width: 760px;
}

.auth-page-section {
  padding-top: 12px;
}

.auth-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: 24px;
  align-items: start;
}

.auth-page-grid-signup {
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
}

.auth-form-card,
.auth-side-card {
  padding: 28px;
}

.auth-card-header {
  display: grid;
  gap: 10px;
  margin-bottom: 22px;
}

.auth-card-header h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.04em;
}

.auth-card-header p,
.auth-switch-copy {
  margin: 0;
  color: var(--muted);
}

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

.auth-form select {
  appearance: none;
}

.password-field {
  position: relative;
}

.password-field input {
  padding-right: 60px;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid rgba(10, 43, 95, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--accent-strong);
  cursor: pointer;
}

.password-toggle:hover {
  color: var(--text);
}

.password-toggle-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.password-toggle-icon-eye-off {
  display: none;
}

.password-toggle[aria-pressed="true"] .password-toggle-icon-eye {
  display: none;
}

.password-toggle[aria-pressed="true"] .password-toggle-icon-eye-off {
  display: block;
}

.auth-submit-button {
  justify-self: start;
  min-width: 180px;
}

.auth-submit-button:disabled {
  opacity: 0.72;
  cursor: wait;
}

.auth-switch-copy a {
  color: var(--accent-strong);
  font-weight: 700;
}

@media (max-width: 1100px) {
  .landing-auth-header-content {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .landing-auth-actions-header {
    justify-content: flex-start;
  }

  .auth-page-grid,
  .auth-page-grid-signup {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .landing-public-shell {
    width: min(calc(100% - 20px), 1240px);
    padding-top: 12px;
  }

  .landing-topbar {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border-radius: 18px;
  }

  .landing-topbar-actions {
    flex-direction: column;
  }

  .landing-topbar-actions .button {
    width: 100%;
  }

  .landing-auth-header-shell {
    justify-content: center;
    padding-top: 18px;
  }

  .landing-auth-header {
    width: 100%;
    padding: 14px;
    border-radius: 18px;
  }

  .landing-auth-actions,
  .landing-band-actions,
  .auth-side-actions {
    flex-direction: column;
  }

  .landing-auth-actions .button,
  .landing-band-actions .button,
  .auth-side-actions .button,
  .auth-submit-button {
    width: 100%;
  }

  .auth-form-two-column {
    grid-template-columns: 1fr;
  }

  .legal-shell {
    width: min(calc(100% - 20px), 1080px);
    padding-top: 16px;
  }

  .legal-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .legal-card {
    padding: 24px 20px;
  }

  .auth-form-card,
  .auth-side-card {
    padding: 22px;
  }
}

/* Landing redesign */
body[data-page="landing"] {
  background:
    radial-gradient(circle at top left, rgba(31, 95, 174, 0.12), transparent 26%),
    radial-gradient(circle at 80% 12%, rgba(61, 126, 204, 0.12), transparent 22%),
    linear-gradient(180deg, #fdfefe 0%, #f5f9ff 42%, #eef4fb 100%);
}

body[data-page="landing"]::before {
  opacity: 0.22;
  background-size: 120px 120px;
}

body[data-page="landing"] .landing-public-shell {
  width: min(calc(100% - 40px), 1320px);
  padding: 0 0 30px;
}

body[data-page="landing"] .buyer-landing-main {
  display: grid;
  gap: 28px;
  padding: 18px 0 0;
}

body[data-page="landing"] .buyer-landing-topbar {
  position: sticky;
  top: 14px;
  z-index: 18;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 18px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 40px rgba(9, 31, 64, 0.08);
  backdrop-filter: blur(16px);
}

body[data-page="landing"] .buyer-landing-brand {
  display: block;
  width: 220px;
}

body[data-page="landing"] .buyer-landing-brand-logo {
  display: block;
  width: 100%;
  height: auto;
}

body[data-page="landing"] .buyer-landing-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 18px;
}

body[data-page="landing"] .buyer-landing-nav a {
  color: #5f789c;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

body[data-page="landing"] .buyer-landing-nav a:hover {
  color: var(--accent-strong);
}

body[data-page="landing"] .buyer-landing-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

body[data-page="landing"] .buyer-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 28px;
  align-items: stretch;
  padding: 16px 0 0;
}

body[data-page="landing"] .buyer-hero-copy,
body[data-page="landing"] .buyer-hero-visual {
  min-width: 0;
}

body[data-page="landing"] .buyer-hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 22px 0 18px;
}

body[data-page="landing"] .buyer-hero-eyebrow,
body[data-page="landing"] .buyer-mini-kicker,
body[data-page="landing"] .buyer-final-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(47, 111, 192, 0.08);
  color: #316cb7;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="landing"] .buyer-hero h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.3rem, 7vw, 5.6rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

body[data-page="landing"] .buyer-hero p,
body[data-page="landing"] .buyer-section-heading p,
body[data-page="landing"] .buyer-split-copy p,
body[data-page="landing"] .buyer-section-note {
  margin: 0;
  color: #5f789c;
  line-height: 1.74;
}

body[data-page="landing"] .buyer-hero-badges,
body[data-page="landing"] .buyer-sdk-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

body[data-page="landing"] .buyer-hero-badges span,
body[data-page="landing"] .buyer-sdk-badges span,
body[data-page="landing"] .buyer-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border: 1px solid rgba(10, 43, 95, 0.09);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #23436d;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 10px 18px rgba(9, 31, 64, 0.04);
}

body[data-page="landing"] .buyer-chip-blue {
  border-color: rgba(47, 111, 192, 0.16);
  background: rgba(47, 111, 192, 0.08);
  color: #2f6fc0;
}

body[data-page="landing"] .buyer-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

body[data-page="landing"] .buyer-hero-actions .button {
  min-width: 180px;
}

body[data-page="landing"] .buyer-hero-highlight {
  display: grid;
  gap: 6px;
  padding: 18px 20px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(245, 250, 255, 0.92)),
    radial-gradient(circle at top right, rgba(60, 119, 199, 0.1), transparent 44%);
  box-shadow: 0 20px 40px rgba(9, 31, 64, 0.06);
}

body[data-page="landing"] .buyer-hero-highlight strong {
  font-size: 1.28rem;
  letter-spacing: -0.04em;
}

body[data-page="landing"] .buyer-hero-visual {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 218px;
  gap: 18px;
}

body[data-page="landing"] .buyer-hero-showcase,
body[data-page="landing"] .buyer-mini-card,
body[data-page="landing"] .buyer-value-card,
body[data-page="landing"] .buyer-step-card,
body[data-page="landing"] .buyer-contract-card,
body[data-page="landing"] .buyer-game-data-card,
body[data-page="landing"] .buyer-install-card,
body[data-page="landing"] .buyer-sdk-panel,
body[data-page="landing"] .buyer-mod-card,
body[data-page="landing"] .buyer-bundle-card,
body[data-page="landing"] .buyer-compare-card,
body[data-page="landing"] .buyer-type-card,
body[data-page="landing"] .buyer-final-cta-card {
  border-color: rgba(10, 43, 95, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.95)),
    radial-gradient(circle at top right, rgba(61, 126, 204, 0.08), transparent 42%);
  box-shadow: 0 20px 44px rgba(9, 31, 64, 0.07);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body[data-page="landing"] .buyer-hero-showcase:hover,
body[data-page="landing"] .buyer-mini-card:hover,
body[data-page="landing"] .buyer-value-card:hover,
body[data-page="landing"] .buyer-step-card:hover,
body[data-page="landing"] .buyer-contract-card:hover,
body[data-page="landing"] .buyer-game-data-card:hover,
body[data-page="landing"] .buyer-install-card:hover,
body[data-page="landing"] .buyer-sdk-panel:hover,
body[data-page="landing"] .buyer-mod-card:hover,
body[data-page="landing"] .buyer-bundle-card:hover,
body[data-page="landing"] .buyer-compare-card:hover,
body[data-page="landing"] .buyer-type-card:hover,
body[data-page="landing"] .buyer-final-cta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(31, 95, 174, 0.14);
  box-shadow: 0 28px 52px rgba(9, 31, 64, 0.1);
}

body[data-page="landing"] .buyer-hero-showcase {
  display: grid;
  gap: 16px;
  padding: 24px;
}

body[data-page="landing"] .buyer-hero-showcase-top,
body[data-page="landing"] .buyer-analytics-top,
body[data-page="landing"] .buyer-game-data-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

body[data-page="landing"] .buyer-hero-preview {
  position: relative;
  min-height: 350px;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(10, 43, 95, 0.08);
  background: linear-gradient(135deg, rgba(24, 75, 144, 0.22), rgba(13, 39, 80, 0.06));
}

body[data-page="landing"] .buyer-hero-preview img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body[data-page="landing"] .buyer-preview-floating {
  position: absolute;
  display: grid;
  gap: 4px;
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: rgba(8, 20, 39, 0.78);
  color: #f7fbff;
  box-shadow: 0 20px 34px rgba(4, 16, 34, 0.28);
  backdrop-filter: blur(14px);
}

body[data-page="landing"] .buyer-preview-floating small {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(220, 233, 250, 0.78);
}

body[data-page="landing"] .buyer-preview-floating strong {
  font-size: 0.9rem;
  line-height: 1.3;
}

body[data-page="landing"] .buyer-preview-contract {
  top: 18px;
  right: 18px;
}

body[data-page="landing"] .buyer-preview-analytics {
  left: 18px;
  bottom: 20px;
}

body[data-page="landing"] .buyer-preview-revenue {
  right: 18px;
  bottom: 20px;
}

body[data-page="landing"] .buyer-hero-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="landing"] .buyer-hero-metrics article {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
}

body[data-page="landing"] .buyer-hero-metrics strong {
  font-size: 1rem;
  letter-spacing: -0.03em;
}

body[data-page="landing"] .buyer-hero-metrics span {
  color: #5f789c;
  font-size: 0.88rem;
}

body[data-page="landing"] .buyer-hero-stack {
  display: grid;
  gap: 18px;
}

body[data-page="landing"] .buyer-mini-card {
  display: grid;
  gap: 10px;
  align-content: start;
  min-height: 168px;
}

body[data-page="landing"] .buyer-mini-card p {
  margin: 0;
  color: #5f789c;
}

body[data-page="landing"] .buyer-section {
  display: grid;
  gap: 26px;
}

body[data-page="landing"] .buyer-section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
}

body[data-page="landing"] .buyer-section-heading h2,
body[data-page="landing"] .buyer-split-copy h2,
body[data-page="landing"] .buyer-final-cta-card h2 {
  margin: 12px 0 0;
  font-size: clamp(2.1rem, 4vw, 3.35rem);
  line-height: 1.02;
  letter-spacing: -0.06em;
}

body[data-page="landing"] .buyer-value-grid,
body[data-page="landing"] .buyer-contract-grid,
body[data-page="landing"] .buyer-mod-grid,
body[data-page="landing"] .buyer-type-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .buyer-value-card,
body[data-page="landing"] .buyer-type-card {
  display: grid;
  gap: 12px;
  min-height: 228px;
}

body[data-page="landing"] .buyer-value-icon,
body[data-page="landing"] .buyer-step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(47, 111, 192, 0.16), rgba(47, 111, 192, 0.04));
  color: #2f6fc0;
  font-size: 0.9rem;
  font-weight: 800;
}

body[data-page="landing"] .buyer-value-card h3,
body[data-page="landing"] .buyer-step-card h3,
body[data-page="landing"] .buyer-contract-card h3,
body[data-page="landing"] .buyer-compare-card h3,
body[data-page="landing"] .buyer-type-card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

body[data-page="landing"] .buyer-value-card p,
body[data-page="landing"] .buyer-step-card p,
body[data-page="landing"] .buyer-contract-card p,
body[data-page="landing"] .buyer-type-card p {
  margin: 0;
  color: #5f789c;
}

body[data-page="landing"] .buyer-steps-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .buyer-step-card {
  display: grid;
  gap: 14px;
  min-height: 226px;
}

body[data-page="landing"] .buyer-split-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 22px;
  align-items: stretch;
}

body[data-page="landing"] .buyer-split-copy {
  display: grid;
  align-content: center;
  gap: 16px;
}

body[data-page="landing"] .buyer-inline-list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
}

body[data-page="landing"] .buyer-analytics-mock {
  display: grid;
  gap: 18px;
}

body[data-page="landing"] .buyer-analytics-top strong,
body[data-page="landing"] .buyer-game-data-head strong {
  display: block;
  margin-top: 4px;
  font-size: 1.22rem;
  letter-spacing: -0.04em;
}

body[data-page="landing"] .buyer-analytics-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="landing"] .buyer-analytics-metrics article,
body[data-page="landing"] .buyer-game-data-grid div {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

body[data-page="landing"] .buyer-analytics-metrics small,
body[data-page="landing"] .buyer-game-data-grid small,
body[data-page="landing"] .buyer-bundle-card small {
  color: #6480a8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body[data-page="landing"] .buyer-analytics-chart {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 220px;
  padding: 18px 16px 16px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(243, 248, 255, 0.98), rgba(255, 255, 255, 0.92)),
    radial-gradient(circle at top right, rgba(47, 111, 192, 0.08), transparent 42%);
  overflow: hidden;
}

body[data-page="landing"] .buyer-chart-line {
  position: absolute;
  left: 16px;
  right: 16px;
  height: 1px;
  background: rgba(112, 138, 172, 0.18);
}

body[data-page="landing"] .buyer-chart-line-1 { top: 24%; }
body[data-page="landing"] .buyer-chart-line-2 { top: 42%; }
body[data-page="landing"] .buyer-chart-line-3 { top: 60%; }
body[data-page="landing"] .buyer-chart-line-4 { top: 78%; }

body[data-page="landing"] .buyer-chart-bars {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  align-items: end;
  min-height: 170px;
}

body[data-page="landing"] .buyer-chart-bars span {
  display: block;
  border-radius: 18px 18px 8px 8px;
  background: linear-gradient(180deg, rgba(67, 130, 214, 0.95), rgba(19, 73, 144, 0.88));
  box-shadow: 0 12px 18px rgba(20, 64, 124, 0.16);
}

body[data-page="landing"] .buyer-contract-card {
  display: grid;
  gap: 10px;
  min-height: 186px;
}

body[data-page="landing"] .buyer-game-data-card {
  display: grid;
  gap: 16px;
}

body[data-page="landing"] .buyer-game-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="landing"] .buyer-install-card {
  display: grid;
  gap: 16px;
}

body[data-page="landing"] .buyer-install-code {
  padding: 18px 20px;
  border-radius: 24px;
  background: #081427;
  color: #f7fbff;
  overflow: auto;
}

body[data-page="landing"] .buyer-install-code code {
  font-size: 0.92rem;
  white-space: nowrap;
}

body[data-page="landing"] .buyer-install-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="landing"] .buyer-install-steps article {
  display: grid;
  gap: 8px;
  padding: 14px 16px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.76);
}

body[data-page="landing"] .buyer-install-steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: rgba(47, 111, 192, 0.1);
  color: #2f6fc0;
  font-size: 0.8rem;
  font-weight: 800;
}

body[data-page="landing"] .buyer-sdk-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

body[data-page="landing"] .buyer-sdk-copy strong,
body[data-page="landing"] .buyer-bundle-card strong {
  font-size: 1.28rem;
  letter-spacing: -0.04em;
}

body[data-page="landing"] .buyer-sdk-copy p,
body[data-page="landing"] .buyer-bundle-card p {
  margin: 8px 0 0;
  color: #5f789c;
}

body[data-page="landing"] .buyer-mod-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body[data-page="landing"] .buyer-mod-card {
  display: flex;
  align-items: center;
  min-height: 92px;
  font-weight: 700;
}

body[data-page="landing"] .buyer-bundle-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .buyer-bundle-card {
  display: grid;
  gap: 10px;
  min-height: 180px;
  align-content: end;
}

body[data-page="landing"] .buyer-compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .buyer-compare-card {
  display: grid;
  gap: 12px;
}

body[data-page="landing"] .buyer-compare-card-accent {
  border-color: rgba(47, 111, 192, 0.16);
  background:
    linear-gradient(180deg, rgba(237, 245, 255, 0.98), rgba(255, 255, 255, 0.98)),
    radial-gradient(circle at top right, rgba(47, 111, 192, 0.11), transparent 46%);
}

body[data-page="landing"] .buyer-type-card {
  min-height: 168px;
}

body[data-page="landing"] .buyer-final-cta {
  padding-bottom: 8px;
}

body[data-page="landing"] .buyer-final-cta-card {
  display: grid;
  justify-items: start;
  gap: 16px;
  padding: 40px;
  background:
    radial-gradient(circle at top right, rgba(47, 111, 192, 0.14), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(244, 249, 255, 0.96));
}

body[data-page="landing"] .buyer-final-cta-card p {
  max-width: 56ch;
}

body[data-page="landing"] .landing-footer {
  margin-top: 26px;
}

@media (max-width: 1180px) {
  body[data-page="landing"] .buyer-hero,
  body[data-page="landing"] .buyer-split-panel,
  body[data-page="landing"] .buyer-hero-visual {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .buyer-landing-topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  body[data-page="landing"] .buyer-landing-nav {
    justify-content: flex-start;
  }

  body[data-page="landing"] .buyer-value-grid,
  body[data-page="landing"] .buyer-contract-grid,
  body[data-page="landing"] .buyer-mod-grid,
  body[data-page="landing"] .buyer-type-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="landing"] .buyer-steps-grid,
  body[data-page="landing"] .buyer-compare-grid,
  body[data-page="landing"] .buyer-bundle-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  body[data-page="landing"] .landing-public-shell {
    width: min(calc(100% - 24px), 1320px);
  }

  body[data-page="landing"] .buyer-landing-main {
    gap: 20px;
  }

  body[data-page="landing"] .buyer-landing-topbar {
    top: 10px;
    gap: 14px;
    padding: 14px;
    border-radius: 20px;
  }

  body[data-page="landing"] .buyer-landing-brand {
    width: 188px;
  }

  body[data-page="landing"] .buyer-landing-topbar-actions,
  body[data-page="landing"] .buyer-hero-actions {
    width: 100%;
    flex-direction: column;
  }

  body[data-page="landing"] .buyer-landing-topbar-actions .button,
  body[data-page="landing"] .buyer-hero-actions .button {
    width: 100%;
  }

  body[data-page="landing"] .buyer-hero {
    gap: 22px;
    padding-top: 8px;
  }

  body[data-page="landing"] .buyer-hero h1 {
    max-width: none;
    font-size: clamp(2.6rem, 11vw, 4rem);
  }

  body[data-page="landing"] .buyer-hero-preview {
    min-height: 280px;
  }

  body[data-page="landing"] .buyer-preview-floating {
    min-width: 126px;
    padding: 10px 12px;
  }

  body[data-page="landing"] .buyer-section-heading {
    display: grid;
    gap: 12px;
  }

  body[data-page="landing"] .buyer-value-grid,
  body[data-page="landing"] .buyer-contract-grid,
  body[data-page="landing"] .buyer-mod-grid,
  body[data-page="landing"] .buyer-type-grid,
  body[data-page="landing"] .buyer-steps-grid,
  body[data-page="landing"] .buyer-compare-grid,
  body[data-page="landing"] .buyer-bundle-grid,
  body[data-page="landing"] .buyer-game-data-grid,
  body[data-page="landing"] .buyer-analytics-metrics,
  body[data-page="landing"] .buyer-install-steps,
  body[data-page="landing"] .landing-band-actions {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .buyer-value-card,
  body[data-page="landing"] .buyer-step-card,
  body[data-page="landing"] .buyer-contract-card,
  body[data-page="landing"] .buyer-type-card,
  body[data-page="landing"] .buyer-mod-card,
  body[data-page="landing"] .buyer-bundle-card,
  body[data-page="landing"] .buyer-compare-card {
    min-height: 0;
  }

  body[data-page="landing"] .buyer-hero-showcase,
  body[data-page="landing"] .buyer-final-cta-card {
    padding: 24px;
  }
}

body[data-page="landing"] .landing-auth-page-feedback {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 30;
  transform: translateX(-50%);
  width: min(calc(100% - 32px), 560px);
}

body[data-page="landing"] .landing-main-redesign {
  padding: 0;
}

body[data-page="landing"] .landing-intro {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 0 24px;
  overflow: hidden;
}

body[data-page="landing"] .landing-corner-wordmark {
  position: absolute;
  top: 18px;
  left: 0;
  z-index: 2;
  display: block;
  width: 230px;
  height: auto;
  text-decoration: none;
}

body[data-page="landing"] .landing-corner-logo {
  display: block;
  width: 100%;
  height: auto;
}

body[data-page="landing"] .buyer-landing-main {
  gap: 0;
  padding-top: 18px;
}

body[data-page="landing"] .buyer-landing-topbar {
  padding: 14px 18px;
  border-radius: 24px;
}

body[data-page="landing"] .buyer-landing-nav a {
  font-size: 0.96rem;
}

body[data-page="landing"] .buyer-hero.buyer-hero-solo {
  grid-template-columns: 1fr;
  min-height: calc(100svh - 124px);
  padding: 22px 0 0;
}

body[data-page="landing"] .buyer-hero-copy.buyer-hero-copy-solo {
  justify-items: center;
  align-content: center;
  max-width: 920px;
  min-height: 100%;
  margin: 0 auto;
  gap: 18px;
  padding: 0;
  text-align: center;
}

body[data-page="landing"] .buyer-hero-copy-solo h1 {
  max-width: 11.5ch;
  margin: 0;
  font-size: clamp(2.7rem, 6.8vw, 5.2rem);
  line-height: 0.92;
  letter-spacing: -0.07em;
}

body[data-page="landing"] .buyer-hero-compact-note {
  margin: 0;
  color: #2f6fc0;
  font-size: clamp(0.96rem, 1.5vw, 1.08rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body[data-page="landing"] .buyer-landing-stack {
  display: grid;
  gap: 68px;
  padding: 12px 0 18px;
}

body[data-page="landing"] .buyer-section {
  gap: 22px;
}

body[data-page="landing"] .buyer-section-heading.buyer-section-heading-compact {
  display: grid;
  gap: 10px;
  align-items: start;
  justify-content: start;
}

body[data-page="landing"] .buyer-section-heading.buyer-section-heading-compact h2,
body[data-page="landing"] .buyer-copy-block h2,
body[data-page="landing"] .buyer-final-cta-card h2 {
  margin: 0;
  font-size: clamp(2rem, 4.4vw, 3.35rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

body[data-page="landing"] .buyer-section-heading.buyer-section-heading-compact p,
body[data-page="landing"] .buyer-copy-block p,
body[data-page="landing"] .buyer-final-cta-card p {
  max-width: 58ch;
  margin: 0;
  color: #5f789c;
  line-height: 1.7;
}

body[data-page="landing"] .buyer-proof-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .buyer-proof-card,
body[data-page="landing"] .buyer-step-card,
body[data-page="landing"] .buyer-contract-card,
body[data-page="landing"] .buyer-bundle-card,
body[data-page="landing"] .buyer-final-cta-card,
body[data-page="landing"] .buyer-image-placeholder,
body[data-page="landing"] .buyer-inline-stats article,
body[data-page="landing"] .buyer-launch-strip article,
body[data-page="landing"] .buyer-tag-grid .content-panel {
  border-color: rgba(10, 43, 95, 0.08);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.95)),
    radial-gradient(circle at top right, rgba(61, 126, 204, 0.08), transparent 42%);
  box-shadow: 0 20px 44px rgba(9, 31, 64, 0.07);
}

body[data-page="landing"] .buyer-proof-card {
  display: grid;
  gap: 10px;
  min-height: 176px;
}

body[data-page="landing"] .buyer-proof-card strong,
body[data-page="landing"] .buyer-contract-card h3,
body[data-page="landing"] .buyer-bundle-card strong {
  font-size: 1.18rem;
  line-height: 1.15;
  letter-spacing: -0.04em;
}

body[data-page="landing"] .buyer-proof-card p,
body[data-page="landing"] .buyer-contract-card p {
  margin: 0;
  color: #5f789c;
}

body[data-page="landing"] .buyer-two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 26px;
  align-items: stretch;
}

body[data-page="landing"] .buyer-two-column-reverse > :first-child {
  order: 2;
}

body[data-page="landing"] .buyer-two-column-reverse > :last-child {
  order: 1;
}

body[data-page="landing"] .buyer-copy-block {
  display: grid;
  align-content: center;
  gap: 16px;
}

body[data-page="landing"] .buyer-list-tight {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 18px;
  color: #16335d;
}

body[data-page="landing"] .buyer-list-tight li {
  line-height: 1.55;
}

body[data-page="landing"] .buyer-visual-stack {
  display: grid;
  gap: 16px;
}

body[data-page="landing"] .buyer-install-figure {
  display: block;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body[data-page="landing"] .buyer-install-figure img {
  display: block;
  width: 100%;
  height: auto;
}

body[data-page="landing"] .buyer-image-placeholder {
  display: grid;
  place-items: center;
  min-height: 320px;
  border-style: dashed;
  border-width: 1px;
  overflow: hidden;
}

body[data-page="landing"] .buyer-image-placeholder-large {
  min-height: 380px;
}

body[data-page="landing"] .buyer-image-placeholder-medium {
  min-height: 260px;
}

body[data-page="landing"] .buyer-image-placeholder-code {
  min-height: 340px;
}

body[data-page="landing"] .buyer-image-placeholder span {
  color: #6d86aa;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page="landing"] .buyer-image-placeholder-filled {
  padding: 0;
  border-style: solid;
}

body[data-page="landing"] .buyer-image-placeholder-filled img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

body[data-page="landing"] .buyer-inline-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .buyer-inline-stats article {
  display: grid;
  gap: 8px;
}

body[data-page="landing"] .buyer-inline-stats small,
body[data-page="landing"] .buyer-bundle-card small {
  color: #6480a8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

body[data-page="landing"] .buyer-inline-stats strong {
  font-size: 1.08rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
}

body[data-page="landing"] .buyer-steps-grid.buyer-steps-grid-clean {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .buyer-step-card {
  min-height: 210px;
}

body[data-page="landing"] .buyer-step-card p {
  margin: 0;
  color: #5f789c;
}

body[data-page="landing"] .buyer-launch-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="landing"] .buyer-launch-strip article {
  display: grid;
  gap: 6px;
  justify-items: start;
}

body[data-page="landing"] .buyer-launch-strip strong {
  color: #2f6fc0;
  font-size: 1.05rem;
}

body[data-page="landing"] .buyer-launch-strip span {
  font-weight: 700;
}

body[data-page="landing"] .buyer-contract-grid.buyer-contract-grid-clean {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

body[data-page="landing"] .buyer-contract-card {
  min-height: 168px;
  gap: 10px;
}

body[data-page="landing"] .buyer-contract-card h3 {
  margin: 0;
}

body[data-page="landing"] .buyer-tag-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

body[data-page="landing"] .buyer-tag-grid .content-panel {
  display: flex;
  align-items: center;
  min-height: 80px;
  font-weight: 700;
}

body[data-page="landing"] .buyer-bundle-grid.buyer-bundle-grid-clean {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body[data-page="landing"] .buyer-bundle-card {
  display: grid;
  gap: 10px;
  min-height: 150px;
  align-content: end;
}

body[data-page="landing"] .buyer-final-cta {
  padding-bottom: 8px;
}

body[data-page="landing"] .buyer-final-cta-card {
  display: grid;
  gap: 18px;
  justify-items: start;
  padding: 38px;
}

body[data-page="landing"] .landing-footer {
  margin-top: 26px;
}

@media (max-width: 1180px) {
  body[data-page="landing"] .buyer-proof-grid,
  body[data-page="landing"] .buyer-contract-grid.buyer-contract-grid-clean,
  body[data-page="landing"] .buyer-bundle-grid.buyer-bundle-grid-clean {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body[data-page="landing"] .buyer-two-column,
  body[data-page="landing"] .buyer-two-column.buyer-two-column-install {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .buyer-two-column-reverse > :first-child,
  body[data-page="landing"] .buyer-two-column-reverse > :last-child {
    order: initial;
  }
}

@media (max-width: 760px) {
  body[data-page="landing"] .buyer-landing-main {
    gap: 0;
  }

  body[data-page="landing"] .buyer-hero.buyer-hero-solo {
    min-height: calc(100svh - 104px);
    padding-top: 10px;
  }

  body[data-page="landing"] .buyer-hero-copy-solo h1 {
    max-width: 10.5ch;
    font-size: clamp(2.25rem, 10.2vw, 3.7rem);
  }

  body[data-page="landing"] .buyer-landing-stack {
    gap: 46px;
  }

  body[data-page="landing"] .buyer-section-heading.buyer-section-heading-compact {
    gap: 8px;
  }

  body[data-page="landing"] .buyer-proof-grid,
  body[data-page="landing"] .buyer-steps-grid.buyer-steps-grid-clean,
  body[data-page="landing"] .buyer-contract-grid.buyer-contract-grid-clean,
  body[data-page="landing"] .buyer-bundle-grid.buyer-bundle-grid-clean,
  body[data-page="landing"] .buyer-inline-stats,
  body[data-page="landing"] .buyer-launch-strip,
  body[data-page="landing"] .buyer-tag-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .buyer-proof-card,
  body[data-page="landing"] .buyer-step-card,
  body[data-page="landing"] .buyer-contract-card,
  body[data-page="landing"] .buyer-bundle-card {
    min-height: 0;
  }

  body[data-page="landing"] .buyer-image-placeholder-large {
    min-height: 280px;
  }

  body[data-page="landing"] .buyer-image-placeholder-medium,
  body[data-page="landing"] .buyer-image-placeholder-code {
    min-height: 240px;
  }

}

body[data-page="landing"] .landing-login-link {
  position: absolute;
  top: 18px;
  right: 0;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(10, 43, 95, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--accent-strong);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  box-shadow: 0 14px 28px rgba(13, 39, 80, 0.05);
  backdrop-filter: blur(12px);
}

body[data-page="landing"] .landing-login-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.9);
}

body[data-page="landing"] .text-link-button {
  color: var(--accent-strong);
  font-weight: 700;
}

body[data-page="landing"] .text-link-button:hover {
  color: var(--text);
}

body[data-page="landing"] .landing-intro-inner {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  text-align: center;
}

body[data-page="landing"] .landing-intro h1 {
  margin: 0;
  font-size: clamp(2.85rem, 7vw, 5.2rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

body[data-page="landing"] .landing-intro h1 span {
  display: block;
  margin-top: 8px;
  color: #2f6fc0;
}

body[data-page="landing"] .landing-intro p {
  max-width: 560px;
  margin: 18px auto 0;
  color: #5e7596;
  font-size: clamp(0.98rem, 1.5vw, 1.12rem);
  line-height: 1.65;
}

body[data-page="landing"] .landing-intro .landing-primary-actions {
  justify-content: center;
  margin-top: 24px;
}

body[data-page="landing"] .landing-intro-action .button {
  min-width: 280px;
  min-height: 52px;
  font-size: 1rem;
}

body[data-page="landing"] .landing-content-stack {
  display: grid;
  gap: 6px;
  padding-top: 32px;
}

.auth-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
}

.auth-modal.hidden {
  display: none !important;
}

.auth-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(9, 23, 44, 0.42);
  backdrop-filter: blur(10px);
}

.auth-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 940px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 28px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.98)),
    radial-gradient(circle at top left, rgba(31, 95, 174, 0.08), transparent 52%);
  box-shadow: 0 28px 60px rgba(13, 39, 80, 0.16);
}

.auth-modal-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-left: auto;
  padding: 0 14px;
  border: 1px solid rgba(10, 43, 95, 0.1);
  border-radius: 999px;
  background: #ffffff;
  color: var(--text);
  font-weight: 700;
  cursor: pointer;
}

.auth-modal-panel {
  width: min(100%, 900px);
}

.auth-modal-header {
  margin-bottom: 24px;
}

.auth-modal-header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.05em;
}

.auth-modal-header p {
  margin: 0;
  max-width: 680px;
  color: var(--muted);
}

.auth-inline-link {
  color: var(--accent-strong);
  font-weight: 700;
}

.auth-inline-link:hover {
  color: var(--text);
}

.profile-shell {
  display: grid;
  gap: 22px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

body[data-page="profile"] main,
body[data-page="saved-sdks"] main {
  padding: 26px 0 56px;
}

.saved-sdks-shell {
  display: grid;
  gap: 22px;
  width: min(100%, 1180px);
  margin: 0 auto;
}

.saved-sdks-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 26px;
}

.saved-sdks-hero-copy,
.saved-sdks-card-copy {
  display: grid;
  gap: 8px;
}

.saved-sdks-hero-copy h1,
.saved-sdks-panel-head h2 {
  margin: 0;
  letter-spacing: -0.05em;
}

.saved-sdks-hero-copy h1 {
  font-size: clamp(2.15rem, 4vw, 3.2rem);
  line-height: 0.96;
}

.saved-sdks-hero-copy p,
.saved-sdks-panel-head p,
.saved-sdks-card-copy p,
.saved-sdks-card-meta small,
.saved-sdks-feedback,
.saved-sdks-empty-card p {
  margin: 0;
  color: #6480a8;
  line-height: 1.6;
}

.saved-sdks-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(180px, 1fr));
  gap: 12px;
}

.saved-sdks-hero-stat,
.saved-sdks-card,
.saved-sdks-empty-card {
  padding: 18px;
  border: 1px solid rgba(17, 55, 108, 0.08);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.82);
}

.saved-sdks-hero-stat span,
.saved-sdks-field > span {
  display: block;
  color: #6480a8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.saved-sdks-hero-stat strong {
  display: block;
  margin-top: 8px;
  font-size: 1.12rem;
  color: var(--text);
}

.saved-sdks-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: 22px;
  align-items: start;
}

.saved-sdks-start-panel,
.saved-sdks-library-panel {
  display: grid;
  gap: 20px;
  padding: 24px;
}

.saved-sdks-start-panel {
  align-content: start;
}

.saved-sdks-editor-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
}

.saved-sdks-editor-panel[hidden] {
  display: none !important;
}

.saved-sdks-editor-head,
.saved-sdks-editor-actions,
.saved-sdks-editor-actions-left,
.saved-sdks-editor-actions-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.saved-sdks-editor-head,
.saved-sdks-editor-actions {
  justify-content: space-between;
}

.saved-sdks-editor-copy {
  display: grid;
  gap: 6px;
}

.saved-sdks-editor-copy h2 {
  margin: 0;
  letter-spacing: -0.05em;
}

.saved-sdks-editor-copy p {
  margin: 0;
  color: #6480a8;
  line-height: 1.6;
}

.saved-sdks-editor-top,
.saved-sdks-editor-panel .sdk-intake-sections {
  display: grid;
  gap: 14px;
}

.saved-sdks-editor-panel .sdk-preset-shortcut {
  margin-bottom: 0;
  padding: 16px 18px;
  border: 1px solid rgba(17, 55, 108, 0.08);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.84);
}

.saved-sdks-editor-panel .sdk-preset-shortcut-copy p {
  font-size: 0.92rem;
}

.saved-sdks-editor-panel .sdk-intake-section-head,
.saved-sdks-editor-panel .sdk-intake-section-head p {
  display: none;
}

.saved-sdks-accordion {
  border: 1px solid rgba(17, 55, 108, 0.08);
  border-radius: 20px;
  background: rgba(248, 251, 255, 0.84);
  overflow: clip;
}

.saved-sdks-accordion-summary {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  cursor: pointer;
  list-style: none;
}

.saved-sdks-accordion-summary::-webkit-details-marker {
  display: none;
}

.saved-sdks-accordion-index {
  color: #6480a8;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.saved-sdks-accordion-title {
  color: #102b52;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.saved-sdks-accordion-toggle {
  width: 12px;
  height: 12px;
  border-right: 2px solid rgba(16, 43, 82, 0.7);
  border-bottom: 2px solid rgba(16, 43, 82, 0.7);
  transform: rotate(45deg);
  transition: transform 0.2s ease;
}

.saved-sdks-accordion[open] .saved-sdks-accordion-toggle {
  transform: rotate(225deg);
}

.saved-sdks-accordion-body {
  display: grid;
  gap: 14px;
  padding: 0 20px 20px;
}

.saved-sdks-accordion-body .sdk-intake-grid {
  gap: 12px;
}

.saved-sdks-accordion-body .sdk-intake-field > small,
.saved-sdks-accordion-body .sdk-intake-inline-note,
.saved-sdks-accordion-body .sdk-intake-group-error {
  font-size: 0.76rem;
  line-height: 1.45;
}

.saved-sdks-accordion-body .sdk-intake-choice-copy {
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(22, 61, 118, 0.08);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease;
}

.saved-sdks-accordion-body .sdk-intake-choice-copy strong {
  font-size: 0.84rem;
}

.saved-sdks-accordion-body .sdk-intake-choice:hover .sdk-intake-choice-copy,
.saved-sdks-accordion-body .sdk-intake-choice input:focus-visible + .sdk-intake-choice-copy {
  border-color: rgba(41, 101, 184, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(15, 43, 80, 0.06);
  transform: translateY(-1px);
}

.saved-sdks-accordion-body .sdk-intake-choice input:checked + .sdk-intake-choice-copy {
  border-color: rgba(41, 101, 184, 0.3);
  background: linear-gradient(180deg, rgba(228, 239, 253, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 20px rgba(15, 43, 80, 0.08);
}

.saved-sdks-editor-panel .saved-sdks-field.is-invalid input,
.saved-sdks-editor-panel .sdk-intake-field.is-invalid input,
.saved-sdks-editor-panel .sdk-intake-field.is-invalid select,
.saved-sdks-editor-panel .sdk-intake-field.is-invalid textarea {
  border-color: rgba(210, 68, 68, 0.68);
  background: rgba(255, 245, 245, 0.96);
  box-shadow: 0 0 0 4px rgba(210, 68, 68, 0.12);
}

.saved-sdks-editor-panel .sdk-intake-field.is-invalid .sdk-intake-choice-copy {
  border-color: rgba(210, 68, 68, 0.52);
  background: rgba(255, 244, 244, 0.96);
  box-shadow: 0 8px 18px rgba(210, 68, 68, 0.08);
}

.saved-sdks-editor-panel .sdk-intake-field.is-invalid .sdk-intake-group-error {
  color: #b3261e;
  font-weight: 700;
}

.saved-sdks-add-card {
  display: grid;
  place-items: center;
  gap: 10px;
  width: 100%;
  min-height: 332px;
  padding: 24px;
  border: 1.5px solid rgba(112, 130, 158, 0.42);
  border-radius: 26px;
  background: transparent;
  color: #5e7495;
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.saved-sdks-add-card:hover,
.saved-sdks-add-card:focus-visible {
  border-color: rgba(41, 101, 184, 0.28);
  color: #234f8e;
  background: rgba(250, 252, 255, 0.44);
  box-shadow: 0 18px 34px rgba(9, 31, 64, 0.05);
  transform: translateY(-1px);
  outline: none;
}

.saved-sdks-add-card-plus {
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1;
}

.saved-sdks-add-card-label {
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.saved-sdks-page-feedback {
  margin: 0;
  color: #6480a8;
  line-height: 1.6;
}

.saved-sdks-panel-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.saved-sdks-editor-form,
.saved-sdks-library,
.saved-sdks-list {
  display: grid;
  gap: 18px;
}

.saved-sdks-modal {
  position: fixed;
  inset: 18px 18px 18px calc(var(--sidebar-width) + 34px);
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.saved-sdks-modal.hidden {
  display: none;
}

.saved-sdks-modal-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: none;
  background: rgba(6, 23, 48, 0.34);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.saved-sdks-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(760px, calc(100% - 32px));
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 0;
  padding: 0;
  border: 1px solid rgba(15, 53, 104, 0.1);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(246, 250, 255, 0.98));
  box-shadow: 0 28px 56px rgba(10, 34, 67, 0.18);
  max-height: calc(100% - 32px);
  margin: auto;
  overflow: hidden;
}

.saved-sdks-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  padding: 22px 22px 0;
}

.saved-sdks-modal-copy {
  display: grid;
  gap: 0;
}

.saved-sdks-modal-copy strong {
  color: #102b52;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.saved-sdks-modal-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(16, 43, 82, 0.08);
  color: #102b52;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.saved-sdks-modal-close:hover,
.saved-sdks-modal-close:focus-visible {
  background: rgba(16, 43, 82, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.saved-sdks-modal-main {
  min-width: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 0 22px 22px;
}

.saved-sdks-modal-progress,
.saved-sdks-modal-step,
.saved-sdks-editor-form .sdk-preset-shortcut {
  border: 1px solid rgba(17, 55, 108, 0.08);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.84);
}

.saved-sdks-modal-progress--top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin: 0 22px 12px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
}

.saved-sdks-modal-progress-copy {
  display: grid;
  gap: 2px;
}

.saved-sdks-modal-progress span {
  color: #6480a8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.saved-sdks-modal-progress strong {
  color: #102b52;
  font-size: 0.98rem;
  letter-spacing: -0.03em;
}

.saved-sdks-modal-main {
  display: grid;
}

.saved-sdks-wizard-host {
  display: grid;
  min-height: 0;
}

.saved-sdks-modal-step {
  display: none;
  gap: 12px;
  padding: 16px;
  min-height: 0;
  border-radius: 22px;
}

.saved-sdks-modal-step.is-active {
  display: grid;
}

.saved-sdks-field {
  display: grid;
  gap: 8px;
}

.saved-sdks-field > small {
  color: #6a83a7;
}

.saved-sdks-field input {
  min-height: 50px;
  padding: 0 16px;
  border-radius: 16px;
  border: 1px solid rgba(17, 55, 108, 0.12);
  background: rgba(255, 255, 255, 0.94);
  color: #102a56;
  font: inherit;
}

.saved-sdks-modal-step .saved-sdks-field > small,
.saved-sdks-modal-step .sdk-intake-field > small {
  font-size: 0.76rem;
  line-height: 1.35;
}

.sdk-intake-optional {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(41, 101, 184, 0.08);
  color: #6480a8;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.saved-sdks-field input:focus-visible {
  outline: 3px solid rgba(53, 116, 201, 0.18);
  outline-offset: 2px;
  border-color: rgba(41, 101, 184, 0.3);
}

.saved-sdks-modal-step .saved-sdks-field input,
.saved-sdks-modal-step .sdk-intake-field input,
.saved-sdks-modal-step .sdk-intake-field select,
.saved-sdks-modal-step .sdk-intake-field textarea {
  border-color: rgba(22, 61, 118, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.saved-sdks-modal-step .saved-sdks-field input:hover,
.saved-sdks-modal-step .sdk-intake-field input:hover,
.saved-sdks-modal-step .sdk-intake-field select:hover,
.saved-sdks-modal-step .sdk-intake-field textarea:hover {
  border-color: rgba(41, 101, 184, 0.18);
}

.saved-sdks-editor-form .sdk-preset-shortcut-controls select {
  width: 100%;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(17, 55, 108, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #102a56;
  font: inherit;
}

.saved-sdks-modal-step .sdk-preset-shortcut {
  gap: 10px;
  margin-bottom: 0;
  padding: 14px;
}

.saved-sdks-modal-step .sdk-preset-shortcut-copy {
  gap: 2px;
}

.saved-sdks-modal-step .sdk-preset-shortcut-copy p,
.saved-sdks-modal-step .sdk-preset-shortcut-note {
  font-size: 0.82rem;
  line-height: 1.4;
}

.saved-sdks-modal-step .sdk-preset-shortcut-controls {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.saved-sdks-modal-step .sdk-intake-option-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.saved-sdks-modal-step .sdk-intake-option-grid--compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.saved-sdks-modal-step .sdk-intake-option-grid--dense {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.saved-sdks-modal-step .sdk-intake-choice-copy {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 14px;
  border-color: rgba(22, 61, 118, 0.08);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.saved-sdks-modal-step .sdk-intake-choice-copy strong {
  font-size: 0.84rem;
}

.saved-sdks-modal-step .sdk-intake-choice:hover .sdk-intake-choice-copy,
.saved-sdks-modal-step .sdk-intake-choice input:focus-visible + .sdk-intake-choice-copy {
  border-color: rgba(41, 101, 184, 0.18);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 8px 18px rgba(15, 43, 80, 0.06);
  transform: translateY(-1px);
}

.saved-sdks-modal-step .sdk-intake-choice input:checked + .sdk-intake-choice-copy {
  border-color: rgba(41, 101, 184, 0.28);
  background: linear-gradient(180deg, rgba(228, 239, 253, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 20px rgba(15, 43, 80, 0.08);
}

.saved-sdks-modal-step textarea,
.saved-sdks-modal-step .sdk-intake-field textarea {
  min-height: 92px;
}

.saved-sdks-card {
  gap: 14px;
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.saved-sdks-card:hover,
.saved-sdks-card.is-active {
  transform: translateY(-1px);
  border-color: rgba(41, 101, 184, 0.2);
  box-shadow: 0 18px 34px rgba(9, 31, 64, 0.08);
}

.saved-sdks-card-copy strong,
.saved-sdks-empty-card strong {
  color: var(--text);
}

.saved-sdks-card-copy span {
  color: #355f98;
  font-weight: 700;
}

.saved-sdks-card-meta,
.saved-sdks-editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.saved-sdks-editor-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.saved-sdks-editor-actions {
  justify-content: space-between;
  padding-top: 8px;
  border-top: 1px solid rgba(17, 55, 108, 0.08);
}

.saved-sdks-modal-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 2px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(17, 55, 108, 0.08);
  background: linear-gradient(180deg, rgba(246, 250, 255, 0), rgba(246, 250, 255, 0.96) 24%, rgba(246, 250, 255, 0.98));
}

.saved-sdks-modal-actions-secondary,
.saved-sdks-modal-actions-primary {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.saved-sdks-empty-card {
  display: grid;
  gap: 8px;
}

body.saved-sdks-modal-open {
  overflow: hidden;
}

body.sidebar-collapsed .saved-sdks-modal {
  inset: 18px;
}

.profile-summary-card,
.profile-empty-card,
.profile-loading-card {
  padding: 24px 26px;
}

.purchase-status-banner,
.profile-payment-banner {
  display: grid;
  gap: 8px;
}

.purchase-status-banner h2,
.profile-payment-banner h2 {
  margin: 0;
}

.purchase-status-banner[data-state="warning"] {
  border-color: rgba(183, 120, 16, 0.16);
  background:
    radial-gradient(circle at top right, rgba(255, 206, 119, 0.16), transparent 38%),
    rgba(255, 247, 229, 0.98);
}

.profile-payment-banner[data-state="success"] {
  border-color: rgba(31, 107, 75, 0.12);
  background:
    radial-gradient(circle at top right, rgba(94, 173, 132, 0.14), transparent 34%),
    linear-gradient(180deg, rgba(242, 252, 247, 0.98) 0%, rgba(255, 255, 255, 0.98) 100%);
}

.profile-summary-card h2,
.profile-empty-card h3,
.profile-portfolio-head h3 {
  margin: 0;
}

.profile-section {
  padding-top: 6px;
}

.profile-loading-card {
  display: grid;
  gap: 6px;
}

.profile-loading-card h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 2.85rem);
  letter-spacing: -0.06em;
}

.profile-summary-card {
  display: grid;
  gap: 20px;
  border-color: rgba(17, 55, 108, 0.08);
  background:
    radial-gradient(circle at top right, rgba(70, 122, 205, 0.11), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 250, 255, 0.97));
  box-shadow: 0 20px 42px rgba(9, 31, 64, 0.07);
}

.profile-summary-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.profile-account-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: 0;
  flex-shrink: 0;
}

.profile-account-actions--inline {
  justify-content: flex-start;
  margin-top: auto;
}

.profile-summary-identity {
  display: grid;
  gap: 6px;
}

.profile-summary-identity h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4vw, 3.25rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

.profile-summary-identity p {
  margin: 0;
  color: #607a9f;
  font-size: 1rem;
}

.profile-summary-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.profile-summary-stat {
  display: grid;
  gap: 8px;
  padding: 16px 18px;
  border: 1px solid rgba(17, 55, 108, 0.08);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.48);
}

.profile-summary-stat span {
  display: block;
  color: #6480a8;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-summary-stat strong {
  display: block;
  min-width: 0;
  font-size: 1rem;
  line-height: 1.35;
  color: var(--text);
  overflow-wrap: anywhere;
}

.profile-portfolio-section {
  display: grid;
  gap: 16px;
}

.profile-portfolio-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
}

.profile-portfolio-header h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2vw, 2rem);
  letter-spacing: -0.05em;
}

.profile-portfolio-header p {
  margin: 4px 0 0;
  color: #6a83a7;
}

.profile-portfolio-grid {
  display: grid;
  gap: 16px;
}

body.profile-modal-open {
  overflow: hidden;
}

.profile-portfolio-card {
  --profile-portfolio-card-height: 292px;
  --profile-portfolio-media-width: 426px;
  position: relative;
  display: grid;
  grid-template-columns: var(--profile-portfolio-media-width) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  min-height: var(--profile-portfolio-card-height);
  height: var(--profile-portfolio-card-height);
  padding: 0;
  border: 1px solid rgba(15, 53, 104, 0.08);
  border-radius: 32px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(248, 251, 255, 0.98)),
    radial-gradient(circle at top right, rgba(62, 117, 196, 0.07), transparent 42%);
  box-shadow: 0 24px 44px rgba(9, 31, 64, 0.07);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  overflow: hidden;
}

.profile-portfolio-card.is-clickable {
  cursor: pointer;
}

.profile-portfolio-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 95, 174, 0.14);
  box-shadow: 0 28px 50px rgba(9, 31, 64, 0.1);
}

.profile-portfolio-card.is-clickable:focus-visible {
  outline: 3px solid rgba(49, 108, 190, 0.22);
  outline-offset: 3px;
}

.profile-portfolio-card--developer {
  min-height: 0;
  height: 300px;
  grid-template-columns: 1fr;
}

.profile-portfolio-card--developer .profile-portfolio-media {
  width: 100%;
  min-width: 100%;
  max-width: none;
  height: 100%;
  border-radius: 32px;
}

.profile-portfolio-card--developer .profile-portfolio-media-shell,
.profile-portfolio-card--developer .profile-portfolio-placeholder {
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.profile-portfolio-card--developer .profile-portfolio-media-shell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.profile-portfolio-developer-overlay {
  position: absolute;
  inset: auto 18px 18px 18px;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  pointer-events: none;
}

.profile-portfolio-developer-overlay::before {
  content: "";
  position: absolute;
  inset: -64px -18px -18px -18px;
  border-radius: 0 0 28px 28px;
  background: linear-gradient(180deg, rgba(6, 17, 35, 0), rgba(6, 17, 35, 0.72));
  z-index: -1;
}

.profile-portfolio-developer-overlay h3 {
  margin: 0;
  color: #ffffff;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1.02;
  text-shadow: 0 10px 26px rgba(4, 14, 28, 0.4);
}

.profile-portfolio-media {
  display: flex;
  align-items: stretch;
  position: relative;
  width: var(--profile-portfolio-media-width);
  min-width: var(--profile-portfolio-media-width);
  max-width: var(--profile-portfolio-media-width);
  height: 100%;
  align-self: stretch;
  overflow: hidden;
  border-radius: 32px 0 0 32px;
}

.profile-portfolio-media-shell,
.profile-portfolio-placeholder {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: center;
  width: 100%;
  min-height: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.profile-portfolio-media-shell img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

.profile-portfolio-placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
  min-width: 100%;
  padding: 26px;
  color: var(--accent-strong);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(230, 239, 252, 0.9)),
    linear-gradient(135deg, rgba(17, 55, 108, 0.08), rgba(68, 118, 197, 0.18));
}

.profile-portfolio-placeholder span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #5d78a1;
}

.profile-portfolio-placeholder strong {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.profile-portfolio-copy {
  display: grid;
  grid-template-rows: auto auto auto 1fr;
  min-height: 100%;
  height: 100%;
  gap: 16px;
  align-content: stretch;
  padding: 24px 24px 22px 22px;
}

.profile-portfolio-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
}

.profile-portfolio-title-group {
  min-width: 0;
}

.profile-portfolio-head h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.7vw, 1.6rem);
  line-height: 1.02;
  letter-spacing: -0.05em;
}

.profile-portfolio-meta-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.profile-portfolio-meta-item {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px 15px;
  border: 1px solid rgba(17, 55, 108, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.95), rgba(255, 255, 255, 0.88));
}

.profile-portfolio-meta-item small {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6480a8;
}

.profile-portfolio-meta-item strong {
  font-size: 1rem;
  line-height: 1.18;
  color: var(--text);
  overflow-wrap: anywhere;
}

.profile-portfolio-meta-item-support {
  border-color: rgba(34, 135, 82, 0.14);
  background: linear-gradient(180deg, rgba(241, 252, 246, 0.98), rgba(255, 255, 255, 0.92));
}

.profile-portfolio-meta-item-support small {
  color: #2d8a5a;
}

.profile-portfolio-meta-item-support strong {
  color: #1f7a4c;
}

.profile-domain-list {
  display: grid;
  gap: 7px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.profile-domain-list strong {
  font-size: 0.72rem;
  color: #5c78a0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-domain-list .pill-row {
  gap: 8px;
}

.profile-domain-list .pill {
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: none;
}

.profile-portfolio-analytics {
  display: grid;
  gap: 8px;
}

.profile-portfolio-analytics > strong {
  font-size: 0.72rem;
  color: #5c78a0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-portfolio-analytics-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.profile-portfolio-analytics-item,
.profile-portfolio-analytics-inline-item {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 9px 12px;
  border: 1px solid rgba(17, 55, 108, 0.06);
  border-radius: 15px;
  background: linear-gradient(180deg, rgba(247, 250, 255, 0.94), rgba(255, 255, 255, 0.86));
}

.profile-portfolio-analytics-item small,
.profile-portfolio-analytics-inline-item small {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6480a8;
}

.profile-portfolio-analytics-item strong,
.profile-portfolio-analytics-inline-item strong {
  font-size: 0.92rem;
  line-height: 1.2;
  color: var(--text);
  overflow-wrap: anywhere;
}

.profile-portfolio-analytics-inline {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profile-portfolio-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
  align-self: end;
}

.profile-embed-field {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.profile-embed-field > span:first-child {
  font-size: 0.72rem;
  color: #5c78a0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-embed-copy-field {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(10, 43, 95, 0.12);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(250, 252, 255, 0.98), rgba(244, 249, 255, 0.96)),
    radial-gradient(circle at top right, rgba(99, 157, 231, 0.08), transparent 45%);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.profile-embed-copy-field:hover,
.profile-embed-copy-field:focus-visible {
  border-color: rgba(41, 101, 181, 0.22);
  box-shadow: 0 14px 28px rgba(9, 31, 64, 0.08);
  transform: translateY(-1px);
  outline: none;
}

.profile-embed-copy-field__value {
  display: block;
  min-width: 0;
  color: #143050;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-embed-copy-note {
  display: block;
  color: #6c82a2;
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: normal;
  text-transform: none;
}

.profile-portfolio-action-cluster {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: end;
}

.profile-portfolio-more-button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #102b52;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.profile-portfolio-more-button:hover,
.profile-portfolio-more-button:focus-visible,
.profile-portfolio-more-button[aria-expanded="true"] {
  background: rgba(16, 43, 82, 0.08);
  color: #0a2140;
  transform: translateY(-1px);
  outline: none;
}

.profile-portfolio-more-button span {
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: currentColor;
}

.profile-portfolio-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  overscroll-behavior: contain;
}

.profile-portfolio-modal.hidden {
  display: none;
}

.profile-portfolio-modal-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(7, 21, 40, 0.42);
  backdrop-filter: blur(10px);
  cursor: pointer;
}

.profile-portfolio-modal-dialog {
  position: relative;
  width: min(100%, 460px);
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(15, 53, 104, 0.1);
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(246, 250, 255, 0.98));
  box-shadow: 0 32px 70px rgba(10, 32, 61, 0.18);
  max-height: calc(100dvh - 48px);
  overflow: auto;
}

.profile-portfolio-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.profile-portfolio-modal-copy {
  display: grid;
  gap: 6px;
}

.profile-portfolio-modal-copy strong {
  color: #102b52;
  font-size: 1.2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.profile-portfolio-modal-copy span {
  color: #61799a;
  font-size: 0.93rem;
  line-height: 1.6;
}

.profile-portfolio-modal-close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(16, 43, 82, 0.08);
  color: #102b52;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.profile-portfolio-modal-close:hover,
.profile-portfolio-modal-close:focus-visible {
  background: rgba(16, 43, 82, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.profile-portfolio-modal-actions {
  display: grid;
  gap: 12px;
}

.profile-portfolio-modal-section {
  display: grid;
  gap: 10px;
  padding: 16px 18px;
  border: 1px solid rgba(15, 53, 104, 0.08);
  border-radius: 18px;
  background: rgba(246, 250, 255, 0.88);
}

.profile-portfolio-modal-section strong {
  color: #102b52;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.profile-portfolio-modal-section .pill-row {
  gap: 8px;
}

.profile-portfolio-modal-section .pill {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: none;
}

.profile-portfolio-modal .button {
  width: 100%;
  justify-content: center;
  min-height: 48px;
}

.profile-portfolio-modal .button.button-ghost {
  border-color: rgba(15, 53, 104, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: #102b52;
}

.profile-portfolio-modal .button.button-ghost:hover,
.profile-portfolio-modal .button.button-ghost:focus-visible {
  background: rgba(237, 244, 255, 0.96);
}

.profile-renew-modal {
  position: fixed;
  inset: 0;
  z-index: 41;
  display: grid;
  place-items: center;
  padding: 26px;
  overflow: auto;
  overscroll-behavior: contain;
}

.profile-renew-modal.hidden {
  display: none;
}

.profile-renew-modal-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(7, 21, 40, 0.48);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.profile-renew-modal-dialog {
  position: relative;
  width: min(100%, 1040px);
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(15, 53, 104, 0.1);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(246, 250, 255, 0.98));
  box-shadow: 0 34px 84px rgba(10, 32, 61, 0.2);
  max-height: calc(100dvh - 52px);
  overflow: auto;
}

.profile-renew-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.profile-renew-modal-copy {
  display: grid;
  gap: 8px;
}

.profile-renew-modal-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6480a8;
}

.profile-renew-modal-copy strong {
  color: #102b52;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.profile-renew-modal-copy p {
  margin: 0;
  color: #61799a;
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 56ch;
}

.profile-renew-modal-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(16, 43, 82, 0.08);
  color: #102b52;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.profile-renew-modal-close:hover,
.profile-renew-modal-close:focus-visible {
  background: rgba(16, 43, 82, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.profile-renew-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.88fr);
  gap: 22px;
  align-items: start;
}

.profile-renew-modal-main,
.profile-renew-summary {
  min-width: 0;
}

.profile-renew-form {
  display: grid;
  gap: 18px;
}

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

.profile-renew-field {
  display: grid;
  gap: 8px;
}

.profile-renew-field span {
  color: #102b52;
  font-size: 0.92rem;
  font-weight: 700;
}

.profile-renew-field small {
  color: #6a82a2;
  font-size: 0.82rem;
  line-height: 1.55;
}

.profile-renew-field select {
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid rgba(15, 53, 104, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: #102b52;
  font: inherit;
}

.profile-renew-field select:focus-visible {
  border-color: rgba(36, 92, 171, 0.34);
  outline: 2px solid rgba(36, 92, 171, 0.16);
  outline-offset: 1px;
}

.profile-renew-domain-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid rgba(15, 53, 104, 0.08);
  border-radius: 24px;
  background: rgba(248, 251, 255, 0.88);
}

.profile-renew-domain-box strong {
  color: #102b52;
  font-size: 0.94rem;
  font-weight: 800;
}

.profile-renew-summary {
  display: grid;
  gap: 14px;
}

.profile-renew-summary-card,
.profile-renew-breakdown {
  padding: 18px;
  border: 1px solid rgba(15, 53, 104, 0.08);
  border-radius: 24px;
  background: rgba(248, 251, 255, 0.9);
}

.profile-renew-summary-card {
  display: grid;
  gap: 7px;
}

.profile-renew-summary-card span {
  color: #6982a4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-renew-summary-card strong {
  color: #102b52;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.profile-renew-summary-card small {
  color: #6d84a2;
  font-size: 0.82rem;
  line-height: 1.55;
}

.profile-renew-breakdown {
  display: grid;
  gap: 12px;
}

.profile-renew-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #516987;
  font-size: 0.95rem;
}

.profile-renew-breakdown-row strong {
  color: #102b52;
  font-size: 1rem;
  font-weight: 800;
}

.profile-renew-breakdown-row-total {
  padding-top: 12px;
  border-top: 1px solid rgba(15, 53, 104, 0.08);
}

.profile-renew-breakdown-row-total span,
.profile-renew-breakdown-row-total strong {
  color: #102b52;
}

.profile-renew-breakdown-row-total strong {
  font-size: 1.28rem;
}

.profile-renew-summary-note {
  margin: 0;
  color: #5f7797;
  font-size: 0.88rem;
  line-height: 1.65;
}

.profile-renew-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.profile-renew-feedback {
  min-height: 20px;
  margin: 0;
}

.profile-sdk-modal {
  position: fixed;
  inset: 0;
  z-index: 42;
  display: grid;
  place-items: center;
  padding: 26px;
  overflow: auto;
  overscroll-behavior: contain;
}

.profile-sdk-modal.hidden {
  display: none;
}

.profile-sdk-modal-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(7, 21, 40, 0.48);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.profile-sdk-modal-dialog {
  position: relative;
  width: min(100%, 1080px);
  display: grid;
  gap: 24px;
  padding: 28px;
  border: 1px solid rgba(15, 53, 104, 0.1);
  border-radius: 32px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(246, 250, 255, 0.98));
  box-shadow: 0 34px 84px rgba(10, 32, 61, 0.2);
  max-height: calc(100dvh - 52px);
  overflow: auto;
}

.profile-sdk-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.profile-sdk-modal-copy {
  display: grid;
  gap: 8px;
}

.profile-sdk-modal-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6480a8;
}

.profile-sdk-modal-copy strong {
  color: #102b52;
  font-size: clamp(1.45rem, 2.3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.profile-sdk-modal-copy p {
  margin: 0;
  color: #61799a;
  font-size: 0.98rem;
  line-height: 1.65;
  max-width: 56ch;
}

.profile-sdk-modal-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(16, 43, 82, 0.08);
  color: #102b52;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.profile-sdk-modal-close:hover,
.profile-sdk-modal-close:focus-visible {
  background: rgba(16, 43, 82, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.profile-sdk-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.82fr);
  gap: 22px;
  align-items: start;
}

.profile-sdk-modal-main,
.profile-sdk-summary {
  min-width: 0;
}

.profile-sdk-form {
  display: grid;
  gap: 18px;
}

.profile-sdk-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.profile-sdk-field-grid--details {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-sdk-field {
  display: grid;
  gap: 8px;
}

.profile-sdk-field span {
  color: #102b52;
  font-size: 0.92rem;
  font-weight: 700;
}

.profile-sdk-field small {
  color: #6a82a2;
  font-size: 0.82rem;
  line-height: 1.55;
}

.profile-sdk-field input,
.profile-sdk-field select,
.profile-sdk-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 53, 104, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: #102b52;
  font: inherit;
}

.profile-sdk-field textarea {
  min-height: 132px;
  resize: vertical;
}

.profile-sdk-field input:focus-visible,
.profile-sdk-field select:focus-visible,
.profile-sdk-field textarea:focus-visible {
  border-color: rgba(36, 92, 171, 0.34);
  outline: 2px solid rgba(36, 92, 171, 0.16);
  outline-offset: 1px;
}

.profile-sdk-service-note {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(16, 43, 82, 0.06);
  color: #5f7797;
  font-size: 0.9rem;
  line-height: 1.65;
}

.profile-sdk-form .sdk-preset-shortcut {
  border: 1px solid rgba(15, 53, 104, 0.08);
  background: rgba(248, 251, 255, 0.84);
}

.profile-sdk-form .sdk-preset-shortcut-controls select {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(15, 53, 104, 0.1);
  background: rgba(255, 255, 255, 0.92);
  color: #102b52;
  font: inherit;
}

.profile-sdk-form .sdk-intake-section {
  border-color: rgba(15, 53, 104, 0.08);
  background: rgba(248, 251, 255, 0.84);
}

.profile-sdk-form .sdk-intake-section-head h4,
.profile-sdk-form .sdk-intake-field > span {
  color: #102b52;
}

.profile-sdk-form .sdk-intake-section-head p,
.profile-sdk-form .sdk-intake-field > small,
.profile-sdk-form .sdk-intake-inline-note {
  color: #6a82a2;
}

.profile-sdk-form .sdk-intake-field input,
.profile-sdk-form .sdk-intake-field select,
.profile-sdk-form .sdk-intake-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 14px 16px;
  border: 1px solid rgba(15, 53, 104, 0.1);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.9);
  color: #102b52;
  font: inherit;
}

.profile-sdk-form .sdk-intake-field textarea {
  min-height: 132px;
  resize: vertical;
}

.profile-sdk-form .sdk-intake-field input:focus-visible,
.profile-sdk-form .sdk-intake-field select:focus-visible,
.profile-sdk-form .sdk-intake-field textarea:focus-visible {
  border-color: rgba(36, 92, 171, 0.34);
  outline: 2px solid rgba(36, 92, 171, 0.16);
  outline-offset: 1px;
}

.profile-sdk-form .sdk-intake-choice-copy {
  border-color: rgba(15, 53, 104, 0.08);
  background: rgba(255, 255, 255, 0.92);
}

.profile-sdk-form .sdk-intake-choice-copy strong {
  color: #102b52;
}

.profile-sdk-form .sdk-intake-choice-copy small {
  color: #6d84a2;
}

.profile-sdk-form .sdk-intake-choice:hover .sdk-intake-choice-copy,
.profile-sdk-form .sdk-intake-choice input:focus-visible + .sdk-intake-choice-copy {
  border-color: rgba(36, 92, 171, 0.22);
  background: rgba(245, 249, 255, 0.98);
  transform: translateY(-1px);
}

.profile-sdk-form .sdk-intake-choice input:checked + .sdk-intake-choice-copy {
  border-color: rgba(36, 92, 171, 0.34);
  background: linear-gradient(180deg, rgba(242, 248, 255, 1), rgba(232, 241, 255, 0.94));
  box-shadow: 0 10px 18px rgba(36, 92, 171, 0.08);
}

.profile-sdk-form .sdk-intake-field input:user-invalid,
.profile-sdk-form .sdk-intake-field select:user-invalid,
.profile-sdk-form .sdk-intake-field textarea:user-invalid {
  border-color: rgba(201, 82, 82, 0.42);
  outline: 2px solid rgba(201, 82, 82, 0.12);
  outline-offset: 1px;
}

.profile-sdk-form .sdk-intake-group-error {
  color: #af4a4a;
}

.profile-sdk-summary {
  display: grid;
  gap: 14px;
}

.profile-sdk-summary-card,
.profile-sdk-breakdown {
  padding: 18px;
  border: 1px solid rgba(15, 53, 104, 0.08);
  border-radius: 24px;
  background: rgba(248, 251, 255, 0.9);
}

.profile-sdk-summary-card {
  display: grid;
  gap: 7px;
}

.profile-sdk-summary-card span {
  color: #6982a4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-sdk-summary-card strong {
  color: #102b52;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.profile-sdk-summary-card small {
  color: #6d84a2;
  font-size: 0.82rem;
  line-height: 1.55;
}

.profile-sdk-breakdown {
  display: grid;
  gap: 12px;
}

.profile-sdk-breakdown-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #516987;
  font-size: 0.95rem;
}

.profile-sdk-breakdown-row strong {
  color: #102b52;
  font-size: 1rem;
  font-weight: 800;
}

.profile-sdk-breakdown-row-total {
  padding-top: 12px;
  border-top: 1px solid rgba(15, 53, 104, 0.08);
}

.profile-sdk-breakdown-row-total span,
.profile-sdk-breakdown-row-total strong {
  color: #102b52;
}

.profile-sdk-breakdown-row-total strong {
  font-size: 1.22rem;
}

.profile-sdk-summary-note {
  margin: 0;
  color: #5f7797;
  font-size: 0.88rem;
  line-height: 1.65;
}

.profile-sdk-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.profile-sdk-feedback {
  min-height: 20px;
  margin: 0;
}

.profile-sdk-service-modal {
  position: fixed;
  inset: 0;
  z-index: 43;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: auto;
  overscroll-behavior: contain;
}

.profile-sdk-service-modal.hidden {
  display: none;
}

.profile-sdk-service-modal-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(7, 21, 40, 0.48);
  backdrop-filter: blur(12px);
  cursor: pointer;
}

.profile-sdk-service-modal-dialog {
  position: relative;
  width: min(100%, 760px);
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid rgba(15, 53, 104, 0.1);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.985), rgba(246, 250, 255, 0.98));
  box-shadow: 0 34px 84px rgba(10, 32, 61, 0.2);
  max-height: calc(100dvh - 48px);
  overflow: auto;
}

.profile-sdk-service-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
}

.profile-sdk-service-modal-copy {
  display: grid;
  gap: 8px;
}

.profile-sdk-service-modal-kicker {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6480a8;
}

.profile-sdk-service-modal-copy strong {
  color: #102b52;
  font-size: clamp(1.35rem, 2.1vw, 1.9rem);
  font-weight: 800;
  letter-spacing: -0.05em;
}

.profile-sdk-service-modal-copy p {
  margin: 0;
  color: #61799a;
  font-size: 0.98rem;
  line-height: 1.65;
}

.profile-sdk-service-modal-close {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 999px;
  background: rgba(16, 43, 82, 0.08);
  color: #102b52;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.profile-sdk-service-modal-close:hover,
.profile-sdk-service-modal-close:focus-visible {
  background: rgba(16, 43, 82, 0.14);
  transform: translateY(-1px);
  outline: none;
}

.profile-sdk-service-modal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.8fr);
  gap: 18px;
}

.profile-sdk-service-form {
  display: grid;
  gap: 16px;
  grid-column: 1;
}

.profile-sdk-service-summary,
.profile-sdk-service-actions-shell {
  min-width: 0;
}

.profile-sdk-service-summary {
  display: grid;
  gap: 14px;
  grid-column: 1;
}

.profile-sdk-service-summary-card {
  display: grid;
  gap: 7px;
  padding: 18px;
  border: 1px solid rgba(15, 53, 104, 0.08);
  border-radius: 24px;
  background: rgba(248, 251, 255, 0.9);
}

.profile-sdk-service-summary-card span {
  color: #6982a4;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-sdk-service-summary-card strong {
  color: #102b52;
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.profile-sdk-service-summary-card small {
  color: #6d84a2;
  font-size: 0.82rem;
  line-height: 1.55;
}

.profile-sdk-service-actions-shell {
  display: grid;
  align-content: start;
  gap: 16px;
  padding: 18px;
  border: 1px solid rgba(15, 53, 104, 0.08);
  border-radius: 24px;
  background: rgba(248, 251, 255, 0.9);
  grid-column: 2;
  grid-row: 1 / span 2;
}

.profile-sdk-service-note {
  margin: 0;
  color: #5f7797;
  font-size: 0.9rem;
  line-height: 1.7;
}

.profile-sdk-service-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.profile-sdk-service-feedback {
  min-height: 20px;
  margin: 0;
}

.profile-portfolio-floating-panel-note {
  padding: 15px 16px;
  border-radius: 18px;
  background: rgba(16, 43, 82, 0.06);
  color: #516987;
  font-size: 0.9rem;
  line-height: 1.6;
}

.profile-empty-card {
  display: grid;
  gap: 12px;
}

.profile-empty-card .button {
  width: fit-content;
}

.profile-portfolio-copy .button {
  min-height: 38px;
  padding-inline: 18px;
}

.stats-shell {
  display: grid;
  gap: 26px;
  width: min(100%, 1320px);
  margin: 0 auto;
}

.stats-hero-card {
  display: grid;
  grid-template-columns: clamp(280px, 28vw, 420px) minmax(0, 1fr);
  gap: 16px;
  overflow: hidden;
  padding: 16px;
}

.stats-hero-media {
  min-height: 220px;
  border: 1px solid rgba(17, 55, 108, 0.08);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(21, 55, 97, 0.14), rgba(84, 126, 183, 0.05));
  overflow: hidden;
}

.stats-hero-media img,
.stats-hero-media .profile-portfolio-placeholder {
  width: 100%;
  height: 100%;
  min-height: 220px;
  display: block;
}

.stats-hero-media img {
  object-fit: cover;
  object-position: center;
}

.stats-hero-copy {
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 6px 6px 6px 2px;
}

.stats-hero-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.stats-kicker {
  margin: 0 0 8px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6480a8;
}

.stats-hero-head h1 {
  margin: 0;
  font-size: clamp(1.6rem, 2.4vw, 2.3rem);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.stats-hero-head p {
  margin: 10px 0 0;
  color: #5f7698;
  max-width: 48ch;
}

.stats-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.stats-status-badge,
.stats-inline-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.stats-status-badge {
  background: linear-gradient(135deg, rgba(23, 78, 149, 0.16), rgba(58, 122, 202, 0.08));
  color: #1a4a85;
  border: 1px solid rgba(23, 78, 149, 0.14);
}

.stats-inline-badge {
  background: rgba(17, 55, 108, 0.05);
  color: #496381;
  border: 1px solid rgba(17, 55, 108, 0.08);
}

.stats-chart-layout,
.stats-detail-grid,
.stats-section-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(320px, 0.7fr);
  gap: 24px;
  align-items: start;
}

.stats-section-grid--link-stats {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, 0.85fr);
  align-items: start;
}

.stats-section-stack {
  display: grid;
  gap: 24px;
  align-content: start;
}

.stats-panel,
.stats-metric-card,
.stats-highlight-card,
.stats-detail-card,
.stats-session-row-card,
.stats-timeline-item {
  border: 1px solid rgba(17, 55, 108, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.96), rgba(255, 255, 255, 0.88));
  box-shadow: 0 10px 30px rgba(17, 55, 108, 0.05);
}

.stats-panel {
  display: grid;
  gap: 18px;
  padding: 24px;
  align-content: start;
}

.stats-panel-head {
  display: grid;
  gap: 6px;
}

.stats-panel-head-copy {
  display: grid;
  gap: 6px;
}

.stats-panel-head--inline {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 16px;
}

.stats-panel-head h2 {
  margin: 0;
  font-size: 1.18rem;
}

.stats-panel-head p {
  margin: 0;
  color: #5f7698;
  line-height: 1.55;
}

.stats-segmented-control,
.stats-filter-chips {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.stats-chart-controls {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  align-items: center;
  justify-content: flex-end;
}

.stats-filter-row {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.stats-segmented-control__button,
.stats-filter-chip {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(17, 55, 108, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: #587195;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease;
}

.stats-segmented-control__button:hover,
.stats-filter-chip:hover,
.stats-segmented-control__button.is-active,
.stats-filter-chip.is-active {
  border-color: rgba(31, 95, 174, 0.18);
  background: linear-gradient(135deg, rgba(31, 95, 174, 0.12), rgba(255, 255, 255, 0.96));
  color: var(--accent-strong);
  box-shadow: 0 10px 22px rgba(17, 55, 108, 0.07);
}

.stats-chart-panel {
  gap: 16px;
}

.stats-chart-frame {
  display: grid;
  gap: 12px;
  padding: 10px 12px 14px;
  border: 1px solid rgba(17, 55, 108, 0.08);
  border-radius: 22px;
  background:
    radial-gradient(circle at top right, rgba(74, 130, 208, 0.08), transparent 34%),
    linear-gradient(180deg, rgba(248, 251, 255, 0.96), rgba(255, 255, 255, 0.92));
}

.stats-chart-frame.is-empty {
  background:
    radial-gradient(circle at top right, rgba(74, 130, 208, 0.05), transparent 34%),
    linear-gradient(180deg, rgba(250, 252, 255, 0.96), rgba(255, 255, 255, 0.94));
}

.stats-chart-svg {
  width: 100%;
  height: clamp(300px, 38vw, 420px);
  display: block;
}

.stats-chart-canvas {
  position: relative;
}

.stats-chart-point-group {
  cursor: pointer;
}

.stats-chart-hit-area {
  fill: transparent;
}

.stats-chart-grid-line,
.stats-chart-axis {
  stroke: rgba(17, 55, 108, 0.1);
  stroke-width: 1;
}

.stats-chart-area {
  fill: url(#statsChartArea);
}

.stats-chart-line {
  fill: none;
  stroke: #1f5fae;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.stats-chart-point {
  fill: #ffffff;
  stroke: #1f5fae;
  stroke-width: 2.5;
  transition: fill 0.18s ease;
}

.stats-chart-point-group:hover .stats-chart-point,
.stats-chart-point-group:focus-within .stats-chart-point {
  fill: #1f5fae;
}

.stats-chart-x-label,
.stats-chart-y-label {
  fill: #6b84a6;
  font-size: 12px;
  font-weight: 700;
}

.stats-chart-y-label {
  text-anchor: end;
}

.stats-chart-caption {
  color: #5f7698;
  font-size: 0.92rem;
  line-height: 1.5;
}

.stats-chart-tooltip {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  max-width: 220px;
  padding: 8px 10px;
  border: 1px solid rgba(17, 55, 108, 0.12);
  border-radius: 12px;
  background: rgba(12, 31, 59, 0.96);
  color: #f7fbff;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.35;
  box-shadow: 0 14px 28px rgba(8, 25, 51, 0.24);
  pointer-events: none;
  transform: translate(-50%, calc(-100% - 12px));
}

.stats-highlight-grid {
  display: grid;
  gap: 12px;
}

.stats-highlight-card {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
}

.stats-highlight-card small,
.stats-metric-card small,
.stats-detail-card small,
.stats-session-table-head span {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6480a8;
}

.stats-highlight-card strong,
.stats-metric-card strong,
.stats-detail-card strong {
  font-size: 1.04rem;
  line-height: 1.2;
  color: var(--text);
}

.stats-highlight-card span,
.stats-metric-card span,
.stats-detail-helper,
.stats-empty-state p,
.stats-session-row-card span,
.stats-timeline-main span,
.stats-timeline-meta span {
  color: #5f7698;
  line-height: 1.5;
}

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

.stats-insight-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.stats-insight-dot {
  width: 10px;
  height: 10px;
  margin-top: 7px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2d70c2, #5fa8f0);
  box-shadow: 0 0 0 5px rgba(45, 112, 194, 0.12);
}

.stats-insight-item p {
  margin: 0;
  color: var(--text);
  line-height: 1.55;
}

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

.stats-metric-card {
  display: grid;
  gap: 6px;
  padding: 18px;
}

.stats-metric-card--primary {
  background:
    radial-gradient(circle at top right, rgba(71, 126, 203, 0.18), transparent 42%),
    linear-gradient(180deg, rgba(245, 249, 255, 0.98), rgba(255, 255, 255, 0.92));
  border-color: rgba(31, 95, 174, 0.14);
}

.stats-metric-card strong {
  font-size: 1.38rem;
  letter-spacing: -0.04em;
}

.stats-detail-grid {
  align-items: start;
}

.stats-detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.stats-detail-card {
  display: grid;
  gap: 4px;
  padding: 16px 18px;
}

.stats-detail-helper {
  margin: -4px 0 0;
}

.stats-session-table {
  display: grid;
  gap: 10px;
}

.stats-session-table-shell {
  width: 100%;
  overflow-x: auto;
  padding-bottom: 4px;
}

.stats-session-table-head,
.stats-session-row-card {
  display: grid;
  grid-template-columns: minmax(170px, 1.2fr) minmax(120px, 1fr) 88px 110px 100px;
  gap: 12px;
  align-items: center;
}

.stats-session-table-head {
  min-width: 640px;
  padding: 0 10px;
}

.stats-session-row-card {
  min-width: 640px;
  padding: 16px 18px;
}

.stats-session-row-card span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.stats-timeline-list {
  display: grid;
  gap: 12px;
}

.stats-timeline-footer {
  display: flex;
  justify-content: flex-start;
  padding-top: 2px;
}

.stats-timeline-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 14px;
  padding: 15px 16px;
}

.stats-timeline-dot {
  width: 11px;
  height: 11px;
  margin-top: 8px;
  border-radius: 50%;
  background: #2a67b3;
  box-shadow: 0 0 0 6px rgba(42, 103, 179, 0.1);
}

.stats-timeline-copy {
  display: grid;
  gap: 6px;
}

.stats-timeline-main,
.stats-timeline-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  align-items: center;
}

.stats-timeline-main {
  justify-content: space-between;
}

.stats-timeline-main strong {
  font-size: 0.95rem;
  color: var(--text);
}

.stats-empty-state {
  display: grid;
  gap: 6px;
  min-height: 120px;
  padding: 18px;
  border: 1px dashed rgba(17, 55, 108, 0.16);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.75);
  align-content: center;
}

.stats-empty-state strong {
  color: var(--text);
  font-size: 1rem;
}

.stats-empty-state p {
  margin: 0;
}

.portfolio-stats-shell {
  display: grid;
  gap: 26px;
  width: min(100%, 1320px);
  margin: 0 auto;
}

.portfolio-stats-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 28px;
}

.portfolio-stats-hero-copy {
  display: grid;
  gap: 6px;
}

.portfolio-stats-hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.06em;
}

.portfolio-stats-hero-copy p:last-child {
  margin: 0;
  max-width: 64ch;
  color: #5f7698;
  line-height: 1.6;
}

.portfolio-stats-hero-actions {
  display: flex;
  justify-content: flex-end;
}

.portfolio-stats-metric-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.portfolio-stats-overview,
.portfolio-stats-details-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.portfolio-stats-share-panel,
.portfolio-stats-rankings-panel,
.portfolio-stats-breakdown-panel {
  gap: 20px;
}

.developer-analytics-compare-panel {
  gap: 22px;
}

.developer-analytics-compare-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.developer-analytics-compare-control {
  display: grid;
  gap: 8px;
  min-width: 200px;
}

.developer-analytics-compare-control span,
.developer-analytics-compare-label,
.developer-analytics-focus-metric small {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6480a8;
}

.developer-analytics-compare-control select {
  min-height: 48px;
  padding: 0 16px;
  border-radius: 14px;
  border: 1px solid rgba(17, 55, 108, 0.12);
  background: rgba(255, 255, 255, 0.96);
  color: #102a56;
  font: inherit;
  font-weight: 600;
}

.developer-analytics-compare-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.92fr) minmax(0, 1.18fr);
  gap: 22px;
  align-items: start;
}

.developer-analytics-compare-layout--single {
  grid-template-columns: minmax(320px, 0.92fr) minmax(320px, 0.88fr);
}

.developer-analytics-focus-card,
.developer-analytics-compare-card {
  display: grid;
  gap: 18px;
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(17, 55, 108, 0.08);
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.94), rgba(255, 255, 255, 0.92));
}

.developer-analytics-focus-head {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.developer-analytics-focus-media {
  width: 160px;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(17, 55, 108, 0.08);
  background: rgba(247, 250, 255, 0.9);
}

.developer-analytics-focus-media img,
.developer-analytics-focus-media .profile-portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: block;
}

.developer-analytics-focus-media img {
  object-fit: cover;
}

.developer-analytics-focus-media .profile-portfolio-placeholder {
  padding: 14px;
}

.developer-analytics-focus-copy,
.developer-analytics-compare-rows {
  display: grid;
  gap: 10px;
}

.developer-analytics-focus-copy h3,
.developer-analytics-compare-card h3 {
  margin: 0;
  font-size: 1.6rem;
  letter-spacing: -0.05em;
  color: #102a56;
}

.developer-analytics-focus-copy p,
.developer-analytics-compare-empty-note {
  margin: 0;
  color: #5f7698;
  line-height: 1.6;
}

.developer-analytics-focus-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.developer-analytics-focus-metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.developer-analytics-focus-metric {
  display: grid;
  gap: 6px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(247, 250, 255, 0.94);
  border: 1px solid rgba(17, 55, 108, 0.08);
}

.developer-analytics-focus-metric strong,
.developer-analytics-compare-metric strong {
  font-size: 1.15rem;
  color: #102a56;
}

.developer-analytics-compare-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px 0;
  border-top: 1px solid rgba(17, 55, 108, 0.08);
}

.developer-analytics-compare-row:first-child {
  border-top: none;
  padding-top: 0;
}

.developer-analytics-compare-metric {
  display: grid;
  gap: 6px;
}

.developer-analytics-compare-metric span {
  color: #5f7698;
  line-height: 1.5;
}

.developer-analytics-compare-bar-track {
  position: relative;
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(213, 225, 242, 0.82);
}

.developer-analytics-compare-bar-fill {
  position: absolute;
  inset: 0 auto 0 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #1f5fae, #3b83dc);
}

.developer-analytics-compare-bar-fill--secondary {
  background: linear-gradient(90deg, #5f7698, #90a4c5);
}

.developer-analytics-compare-empty {
  padding: 8px 0 0;
}

.developer-analytics-compare-empty p {
  margin: 0;
  color: #5f7698;
}

.portfolio-stats-share-layout {
  display: grid;
  grid-template-columns: minmax(260px, 340px) minmax(0, 1fr);
  gap: 26px;
  align-items: center;
}

.portfolio-stats-share-ring {
  position: relative;
  width: min(100%, 320px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  box-shadow:
    inset 0 0 0 1px rgba(17, 55, 108, 0.06),
    0 20px 44px rgba(17, 55, 108, 0.08);
}

.portfolio-stats-share-ring::after {
  content: "";
  position: absolute;
  inset: 16%;
  border-radius: 50%;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.96), rgba(247, 250, 255, 0.94)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 255, 0.92));
  box-shadow: inset 0 0 0 1px rgba(17, 55, 108, 0.04);
}

.portfolio-stats-share-ring--empty {
  background: linear-gradient(180deg, rgba(229, 237, 248, 0.9), rgba(243, 247, 252, 0.95));
}

.portfolio-stats-share-center {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 6px;
  text-align: center;
  pointer-events: none;
}

.portfolio-stats-share-center span {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a82a4;
}

.portfolio-stats-share-center strong {
  font-size: clamp(2rem, 4vw, 2.75rem);
  letter-spacing: -0.06em;
  color: var(--text);
}

.portfolio-stats-share-legend,
.portfolio-stats-ranking-grid,
.portfolio-stats-table {
  display: grid;
  gap: 12px;
}

.portfolio-stats-share-item,
.portfolio-stats-ranking-card,
.portfolio-stats-table-row {
  border: 1px solid rgba(17, 55, 108, 0.08);
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(250, 252, 255, 0.94), rgba(255, 255, 255, 0.9));
  box-shadow: 0 10px 26px rgba(17, 55, 108, 0.05);
}

.portfolio-stats-share-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
}

.portfolio-stats-share-swatch {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--swatch, #1f5fae);
  box-shadow: 0 0 0 5px color-mix(in srgb, var(--swatch, #1f5fae) 14%, transparent);
}

.portfolio-stats-share-copy,
.portfolio-stats-share-empty,
.portfolio-stats-ranking-card {
  display: grid;
}

.portfolio-stats-share-copy strong,
.portfolio-stats-table-title {
  color: var(--text);
}

.portfolio-stats-share-copy span,
.portfolio-stats-share-empty p,
.portfolio-stats-ranking-card p,
.portfolio-stats-table-copy span {
  color: #5f7698;
  line-height: 1.5;
}

.portfolio-stats-share-value,
.portfolio-stats-ranking-value {
  font-size: 1rem;
  color: var(--accent-strong);
}

.portfolio-stats-share-empty {
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 24px;
  align-items: center;
}

.portfolio-stats-share-empty strong {
  font-size: 1.08rem;
  color: var(--text);
}

.portfolio-stats-ranking-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.portfolio-stats-ranking-card {
  gap: 6px;
  padding: 18px;
}

.portfolio-stats-ranking-card small,
.portfolio-stats-table-head span,
.portfolio-stats-table-rank {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6480a8;
}

.portfolio-stats-ranking-card strong {
  font-size: 1.08rem;
  color: var(--text);
}

.portfolio-stats-ranking-card p {
  margin: 0;
}

.portfolio-stats-table-head,
.portfolio-stats-table-row {
  display: grid;
  grid-template-columns: 72px minmax(260px, 1.8fr) minmax(84px, 0.75fr) minmax(88px, 0.78fr) minmax(84px, 0.75fr) minmax(128px, 0.95fr) minmax(92px, 0.78fr) minmax(190px, 1.15fr) 148px;
  gap: 18px;
  align-items: center;
}

.portfolio-stats-table-head {
  padding: 0 20px;
}

.portfolio-stats-table-row {
  padding: 18px 20px;
}

.portfolio-stats-table-rank {
  letter-spacing: 0.08em;
}

.portfolio-stats-table-game {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  min-width: 0;
}

.portfolio-stats-table-thumb {
  width: 62px;
  height: 62px;
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(17, 55, 108, 0.08);
  background: rgba(247, 250, 255, 0.9);
}

.portfolio-stats-table-thumb img,
.portfolio-stats-table-thumb .profile-portfolio-placeholder {
  width: 100%;
  height: 100%;
  display: block;
}

.portfolio-stats-table-thumb img {
  object-fit: cover;
}

.portfolio-stats-table-thumb .profile-portfolio-placeholder {
  padding: 10px;
}

.portfolio-stats-table-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.portfolio-stats-table-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  text-decoration: none;
}

.portfolio-stats-table-title:hover {
  color: var(--accent);
}

.portfolio-stats-table-row > span {
  min-width: 0;
  overflow-wrap: anywhere;
  color: var(--text);
}

.portfolio-stats-table-value,
.portfolio-stats-table-last-played {
  white-space: nowrap;
}

.portfolio-stats-table-last-played {
  line-height: 1.45;
}

.portfolio-stats-table-actions {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
}

.portfolio-stats-table-actions .button {
  white-space: nowrap;
}

.purchase-customization-card-static {
  align-items: start;
}

.detail-helper-text {
  margin: 0;
  color: #5f7698;
  line-height: 1.6;
}

@media (max-width: 1180px) {
  .stats-chart-layout,
  .stats-detail-grid,
  .stats-hero-card,
  .stats-section-grid,
  .stats-section-grid--link-stats {
    grid-template-columns: 1fr;
  }

  .stats-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portfolio-stats-metric-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .portfolio-stats-overview,
  .portfolio-stats-details-grid,
  .developer-analytics-compare-layout,
  .developer-analytics-compare-layout--single {
    grid-template-columns: 1fr;
  }

  .portfolio-stats-table-head,
  .portfolio-stats-table-row {
    grid-template-columns: 1fr;
  }

  .portfolio-stats-table-head {
    display: none;
  }

  .portfolio-stats-table-actions {
    justify-content: flex-start;
  }

  .stats-detail-meta-grid,
  .stats-session-table-head,
  .stats-session-row-card {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .stats-panel-head--inline,
  .stats-hero-head {
    grid-template-columns: 1fr;
  }

  .developer-analytics-compare-controls {
    justify-content: flex-start;
  }

  .stats-chart-controls {
    justify-content: flex-start;
  }

  .stats-hero-head {
    display: grid;
  }

  .stats-hero-media {
    min-height: 240px;
  }

  .stats-hero-copy {
    padding: 22px;
  }

  .stats-metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .portfolio-stats-hero {
    grid-template-columns: 1fr;
    padding: 24px;
  }

  .portfolio-stats-hero-actions {
    justify-content: flex-start;
  }

  .portfolio-stats-share-layout,
  .portfolio-stats-share-empty,
  .portfolio-stats-ranking-grid {
    grid-template-columns: 1fr;
  }

  .stats-detail-meta-grid,
  .stats-session-table-head,
  .stats-session-row-card {
    grid-template-columns: 1fr;
  }

  .stats-session-table-head,
  .stats-session-row-card {
    min-width: 0;
  }

  .stats-session-table-head {
    display: none;
  }

  .stats-timeline-main {
    justify-content: flex-start;
  }
}

body[data-page="profile"] .site-footer {
  width: min(100%, 1180px);
  margin: 18px auto 0;
  padding: 24px 0 20px;
  border-top: 1px solid rgba(10, 43, 95, 0.08);
}

body[data-page="portfolio-stats"] .site-footer {
  width: min(100%, 1180px);
  margin: 18px auto 0;
  padding: 24px 0 20px;
  border-top: 1px solid rgba(10, 43, 95, 0.08);
}

body[data-page="saved-sdks"] .site-footer {
  width: min(100%, 1180px);
  margin: 18px auto 0;
  padding: 24px 0 20px;
  border-top: 1px solid rgba(10, 43, 95, 0.08);
}

body[data-page="stats"] .site-footer {
  width: min(100%, 1180px);
  margin: 18px auto 0;
  padding: 24px 0 20px;
  border-top: 1px solid rgba(10, 43, 95, 0.08);
}

body[data-page="landing"] .landing-preview-section {
  padding-top: 10px;
}

body[data-page="landing"] .landing-preview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

body[data-page="landing"] .landing-preview-card,
body[data-page="landing"] .landing-preview-copy,
body[data-page="landing"] .landing-audience-grid .callout-card,
body[data-page="landing"] .landing-buyer-band,
body[data-page="landing"] .landing-benefits-grid .info-card {
  box-shadow: 0 20px 38px rgba(13, 39, 80, 0.06);
}

body[data-page="landing"] .landing-preview-card {
  padding: 14px;
  border: 1px solid rgba(10, 43, 95, 0.08);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.88);
}

body[data-page="landing"] .landing-preview-card .hero-showcase {
  min-height: 360px;
  border-radius: 18px;
}

body[data-page="landing"] .landing-preview-card .hero-showcase img {
  min-height: 360px;
  object-fit: cover;
}

body[data-page="landing"] .landing-summary-card {
  padding: 30px;
  border-radius: 24px;
}

body[data-page="landing"] .home-process .section-heading h2,
body[data-page="landing"] .section-heading h2 {
  max-width: 14ch;
}

body[data-page="landing"] .landing-featured-section .section-heading h2 {
  max-width: 18ch;
  line-height: 1.02;
}

body[data-page="landing"] .landing-intro-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  pointer-events: none;
}

body[data-page="landing"] .landing-intro-orb-left {
  top: 8%;
  left: -40px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(31, 95, 174, 0.16), transparent 70%);
}

body[data-page="landing"] .landing-intro-orb-right {
  right: -60px;
  bottom: 10%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(78, 138, 213, 0.18), transparent 72%);
}

@media (max-width: 1100px) {
  body[data-page="landing"] .landing-preview-grid {
    grid-template-columns: 1fr;
  }

  body[data-page="landing"] .landing-intro {
    min-height: 100vh;
  }
}

@media (max-width: 760px) {
  body[data-page="landing"] .landing-public-shell {
    width: min(calc(100% - 20px), 1320px);
  }

  body[data-page="landing"] .landing-auth-page-feedback {
    top: 10px;
    width: min(calc(100% - 20px), 560px);
  }

  body[data-page="landing"] .landing-intro {
    min-height: 100vh;
    padding: 24px 0 20px;
  }

  body[data-page="landing"] .landing-corner-wordmark {
    top: 10px;
    left: 0;
    width: 165px;
  }

  body[data-page="landing"] .landing-login-link {
    top: 10px;
    right: 0;
    padding: 9px 12px;
    font-size: 0.8rem;
  }

  body[data-page="landing"] .landing-intro h1 {
    font-size: clamp(2.35rem, 11vw, 3.65rem);
    line-height: 0.98;
  }

  body[data-page="landing"] .landing-intro h1 span {
    margin-top: 8px;
  }

  body[data-page="landing"] .landing-intro p {
    margin-top: 16px;
    font-size: 0.95rem;
  }

  body[data-page="landing"] .landing-intro .landing-primary-actions {
    margin-top: 20px;
  }

  body[data-page="landing"] .landing-intro-action .button {
    min-width: 0;
    width: 100%;
  }

  .auth-modal {
    padding: 14px;
  }

  .auth-modal-dialog {
    max-height: calc(100vh - 28px);
    padding: 20px;
    border-radius: 22px;
  }

  .auth-modal-header h2 {
    font-size: clamp(1.75rem, 8vw, 2.5rem);
  }

  body[data-page="landing"] .landing-preview-card .hero-showcase,
  body[data-page="landing"] .landing-preview-card .hero-showcase img {
    min-height: 240px;
  }

  body[data-page="landing"] .landing-summary-card {
    padding: 24px;
  }

  .profile-shell {
    gap: 18px;
  }

  .profile-summary-header,
  .profile-portfolio-header,
  .saved-sdks-panel-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .saved-sdks-hero,
  .saved-sdks-layout {
    grid-template-columns: 1fr;
  }

  .saved-sdks-editor-head,
  .saved-sdks-editor-actions,
  .saved-sdks-editor-actions-left,
  .saved-sdks-editor-actions-right {
    flex-direction: column;
    align-items: flex-start;
  }

  .saved-sdks-hero-stats {
    grid-template-columns: 1fr;
  }

  .saved-sdks-modal {
    inset: 0;
    padding: 14px;
  }

  .saved-sdks-modal-dialog {
    width: min(680px, calc(100vw - 28px));
    padding: 16px;
  }

  .profile-summary-stats,
  .profile-portfolio-meta-row,
  .profile-portfolio-analytics-row,
  .profile-portfolio-analytics-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-portfolio-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    min-height: 0;
    height: auto;
    padding: 0;
  }

  .profile-portfolio-media {
    width: 100%;
    min-width: 100%;
    max-width: none;
    height: 240px;
    min-height: 240px;
    border-radius: 32px 32px 0 0;
  }

  .profile-portfolio-placeholder,
  .profile-portfolio-media-shell {
    width: 100%;
    height: 100%;
    min-height: 240px;
  }

  .profile-portfolio-media-shell img {
    width: 100%;
    height: 100%;
    max-width: none;
    object-fit: cover;
    object-position: center;
  }

  .profile-portfolio-copy {
    min-height: auto;
    height: auto;
    padding: 0 20px 20px;
  }

  .profile-portfolio-action-cluster {
    justify-content: flex-end;
  }

  .profile-portfolio-modal {
    padding: 18px;
  }

  .profile-portfolio-modal-dialog {
    width: min(100%, 420px);
    padding: 22px;
  }

  .profile-renew-modal {
    padding: 18px;
  }

  .profile-renew-modal-dialog {
    width: min(100%, 920px);
    padding: 24px;
  }

  .profile-renew-modal-layout {
    grid-template-columns: 1fr;
  }

  .profile-renew-field-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-sdk-modal {
    padding: 18px;
  }

  .profile-sdk-modal-dialog {
    width: min(100%, 920px);
    padding: 24px;
  }

  .profile-sdk-modal-layout {
    grid-template-columns: 1fr;
  }

  .sdk-preset-shortcut-controls {
    grid-template-columns: 1fr;
  }

  .profile-sdk-field-grid--details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-sdk-form .sdk-intake-grid {
    grid-template-columns: 1fr;
  }

  .profile-sdk-service-modal {
    padding: 18px;
  }

  .profile-sdk-service-modal-dialog {
    width: min(100%, 680px);
    padding: 24px;
  }

  .profile-sdk-service-modal-layout {
    grid-template-columns: 1fr;
  }

  .profile-sdk-service-form,
  .profile-sdk-service-summary,
  .profile-sdk-service-actions-shell {
    grid-column: auto;
    grid-row: auto;
  }

  .profile-summary-card,
  .profile-empty-card,
  .profile-loading-card {
    padding: 22px;
  }
}

@media (max-width: 760px) {
  .profile-portfolio-meta-row,
  .profile-portfolio-analytics-row,
  .profile-portfolio-analytics-inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-portfolio-modal {
    padding: 14px;
  }

  .profile-portfolio-modal-dialog {
    width: 100%;
    padding: 20px;
    border-radius: 24px;
  }

  .profile-renew-modal {
    padding: 12px;
  }

  .profile-renew-modal-dialog {
    width: 100%;
    padding: 20px;
    border-radius: 24px;
  }

  .profile-renew-field-grid {
    grid-template-columns: 1fr;
  }

  .profile-renew-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .profile-sdk-modal {
    padding: 12px;
  }

  .profile-sdk-modal-dialog {
    width: 100%;
    padding: 20px;
    border-radius: 24px;
  }

  .profile-sdk-field-grid,
  .profile-sdk-field-grid--details {
    grid-template-columns: 1fr;
  }

  .saved-sdks-card-meta {
    flex-direction: column;
    align-items: flex-start;
  }

  .saved-sdks-accordion-body .sdk-intake-grid,
  .saved-sdks-accordion-body .sdk-intake-option-grid,
  .saved-sdks-accordion-body .sdk-intake-option-grid--compact,
  .saved-sdks-accordion-body .sdk-intake-option-grid--dense,
  .saved-sdks-editor-panel .sdk-preset-shortcut-controls {
    grid-template-columns: 1fr;
  }

  .saved-sdks-modal {
    inset: 0;
    padding: 12px;
  }

  .saved-sdks-modal-dialog {
    width: calc(100vw - 24px);
    padding: 14px;
    border-radius: 24px;
  }

  .saved-sdks-modal-header,
  .saved-sdks-modal-actions,
  .saved-sdks-modal-actions-primary {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  .saved-sdks-editor-form .sdk-preset-shortcut-controls {
    grid-template-columns: 1fr;
  }

  .saved-sdks-modal-step,
  .saved-sdks-modal-step .sdk-intake-option-grid,
  .saved-sdks-modal-step .sdk-intake-option-grid--compact {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .sdk-intake-grid,
  .sdk-intake-option-grid,
  .sdk-intake-option-grid--compact,
  .profile-sdk-form .sdk-intake-grid {
    grid-template-columns: 1fr;
  }

  .sdk-intake-field--span-2 {
    grid-column: auto;
  }

  .profile-sdk-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .profile-sdk-service-modal {
    padding: 12px;
  }

  .profile-sdk-service-modal-dialog {
    width: 100%;
    padding: 20px;
    border-radius: 24px;
  }

  .profile-sdk-service-form,
  .profile-sdk-service-summary,
  .profile-sdk-service-actions-shell {
    grid-column: auto;
    grid-row: auto;
  }

  .profile-sdk-service-actions {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .stats-chart-layout,
  .stats-detail-grid,
  .stats-hero-card,
  .stats-section-grid,
  .stats-metric-grid,
  .stats-detail-meta-grid,
  .stats-session-row-card {
    grid-template-columns: 1fr;
  }

  .portfolio-stats-metric-grid,
  .portfolio-stats-overview,
  .portfolio-stats-details-grid,
  .portfolio-stats-ranking-grid {
    grid-template-columns: 1fr;
  }

  .stats-panel-head--inline,
  .stats-hero-head,
  .stats-timeline-main {
    grid-template-columns: 1fr;
    justify-content: flex-start;
  }

  .portfolio-stats-hero-copy h1 {
    font-size: clamp(1.8rem, 8vw, 2.5rem);
  }

  .portfolio-stats-share-ring {
    width: min(100%, 280px);
  }

  .profile-summary-card,
  .profile-empty-card,
  .profile-loading-card {
    padding: 20px;
  }

  .profile-summary-identity h1 {
    font-size: clamp(1.85rem, 8vw, 2.6rem);
  }

  .profile-portfolio-head {
    flex-wrap: wrap;
  }

  .profile-account-actions .button,
  .profile-empty-card .button {
    width: 100%;
  }

  .profile-embed-copy-field__value {
    white-space: normal;
    word-break: break-word;
  }

  .profile-portfolio-actions {
    grid-template-columns: 1fr;
  }

  .profile-portfolio-action-cluster {
    justify-content: flex-end;
  }
}

.developer-games-shell {
  display: grid;
  gap: 28px;
}

body[data-page="developers"][data-nav-page="my-games"] .site-shell {
  width: calc(100% - 36px);
  max-width: none;
}

body[data-page="developers"][data-nav-page="my-games"] main {
  display: block;
  grid-template-columns: none;
  width: 100%;
  max-width: none;
}

body[data-page="developers"][data-nav-page="my-games"] .profile-section,
body[data-page="developers"][data-nav-page="my-games"] .developer-games-shell,
body[data-page="developers"][data-nav-page="my-games"] .developer-games-dashboard {
  width: 100%;
  max-width: none;
}

body[data-page="developers"][data-nav-page="analytics"] .site-shell {
  width: calc(100% - 36px);
  max-width: none;
}

body[data-page="developers"][data-nav-page="analytics"] main {
  display: block;
  grid-template-columns: none;
  width: 100%;
  max-width: none;
}

.developer-games-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(320px, 0.8fr);
  gap: 24px;
  align-items: start;
}

.developer-games-main-column,
.developer-games-insights-column {
  display: grid;
  gap: 24px;
}

.developer-games-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 28px 30px;
  border: 1px solid rgba(25, 68, 128, 0.08);
  background:
    radial-gradient(circle at top right, rgba(67, 120, 198, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.97));
  box-shadow: 0 26px 52px rgba(10, 32, 63, 0.07);
}

.developer-games-hero-copy {
  display: grid;
  gap: 12px;
}

.developer-games-hero-copy h1,
.developer-games-hero-copy p {
  margin: 0;
}

.developer-games-hero-copy h1 {
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  line-height: 0.94;
  letter-spacing: -0.07em;
}

.developer-games-hero-copy p {
  max-width: 720px;
  color: #607a9f;
  font-size: 1.02rem;
}

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

.developer-games-summary-card {
  display: grid;
  gap: 10px;
  padding: 22px 22px 20px;
  border-radius: 24px;
  border: 1px solid rgba(36, 79, 130, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 251, 255, 0.94));
  box-shadow: 0 16px 34px rgba(17, 41, 75, 0.06);
}

.developer-games-summary-card span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(54, 91, 143, 0.76);
}

.developer-games-summary-card strong {
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  letter-spacing: -0.03em;
  color: #102a56;
}

.developer-games-section {
  display: grid;
  gap: 16px;
}

.developer-games-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.developer-games-section-head h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  letter-spacing: -0.05em;
}

.developer-games-section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(18, 51, 94, 0.06);
  border: 1px solid rgba(18, 51, 94, 0.08);
  color: #143050;
  font-weight: 800;
}

.developer-games-list {
  display: grid;
  gap: 18px;
}

.developer-games-card {
  position: relative;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
  border-radius: 30px;
  border: 1px solid rgba(36, 79, 130, 0.12);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 255, 0.96));
  box-shadow: 0 22px 48px rgba(17, 41, 75, 0.07);
  overflow: hidden;
}

.developer-games-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  background: rgba(36, 87, 158, 0.18);
}

.developer-games-card[data-state="published"]::before {
  background: linear-gradient(180deg, rgba(36, 128, 79, 0.9), rgba(68, 172, 108, 0.56));
}

.developer-games-card[data-state="review"]::before {
  background: linear-gradient(180deg, rgba(43, 98, 181, 0.92), rgba(88, 138, 212, 0.52));
}

.developer-games-card-media {
  min-height: 190px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, #dbe8f8, #eef4fc);
}

.developer-games-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.developer-games-card-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(54, 91, 143, 0.82);
}

.developer-games-card-copy {
  display: grid;
  gap: 18px;
  align-content: start;
}

.developer-games-card-copy--full {
  grid-column: 1 / -1;
}

.developer-games-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: start;
}

.developer-games-card-head h3,
.developer-games-card-note {
  margin: 0;
}

.developer-games-card-head h3 {
  font-size: clamp(1.5rem, 2.4vw, 2rem);
  letter-spacing: -0.04em;
  color: #102a56;
}

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

.developer-games-meta-item {
  display: grid;
  gap: 6px;
  padding: 15px 16px;
  border-radius: 20px;
  background: rgba(242, 247, 253, 0.95);
  border: 1px solid rgba(36, 79, 130, 0.1);
}

.developer-games-meta-item small {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(54, 91, 143, 0.76);
}

.developer-games-meta-item strong {
  font-size: 1rem;
  font-weight: 700;
  color: #102a56;
}

.developer-games-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.developer-games-status-badge--published {
  background: rgba(41, 141, 87, 0.14);
  color: #1f7a4b;
}

.developer-games-status-badge--review {
  background: rgba(38, 99, 186, 0.12);
  color: #24579e;
}

.developer-games-card-note {
  color: rgba(34, 60, 103, 0.8);
  line-height: 1.6;
  padding-top: 2px;
}

.developer-games-purchases-block {
  display: grid;
  gap: 12px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(36, 79, 130, 0.1);
  background: rgba(246, 250, 255, 0.92);
}

.developer-games-purchases-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.developer-games-purchases-head strong {
  color: #102a56;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
}

.developer-games-purchases-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(31, 122, 75, 0.12);
  color: #1f7a4b;
  font-size: 0.85rem;
  font-weight: 800;
}

.developer-games-purchases-list {
  display: grid;
  gap: 10px;
}

.developer-games-purchase-item {
  display: grid;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(36, 79, 130, 0.08);
}

.developer-games-purchase-top,
.developer-games-history-item-top {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.developer-games-purchase-copy,
.developer-games-purchase-meta {
  display: grid;
  gap: 4px;
}

.developer-games-purchase-copy strong,
.developer-games-purchase-meta strong {
  color: #102a56;
}

.developer-games-purchase-copy span {
  color: rgba(54, 91, 143, 0.76);
  font-size: 0.86rem;
}

.developer-games-purchase-meta {
  justify-items: end;
  text-align: right;
}

.developer-games-purchase-meta strong {
  font-weight: 700;
}

.developer-games-purchases-empty {
  padding: 4px 0 0;
}

.developer-games-purchases-empty p {
  margin: 0;
  color: rgba(34, 60, 103, 0.78);
}

.developer-games-insight-card,
.developer-games-history-card {
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(25, 68, 128, 0.08);
  background:
    radial-gradient(circle at top right, rgba(67, 120, 198, 0.1), transparent 32%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(247, 251, 255, 0.96));
  box-shadow: 0 22px 48px rgba(10, 32, 63, 0.06);
}

.developer-games-insight-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
}

.developer-games-insight-head h3,
.developer-games-insight-head p {
  margin: 0;
}

.developer-games-insight-head h3 {
  font-size: 1.35rem;
  letter-spacing: -0.04em;
  color: #102a56;
}

.developer-games-insight-head p {
  color: rgba(54, 91, 143, 0.78);
  line-height: 1.55;
}

.developer-games-chart-layout,
.developer-games-chart-empty {
  display: grid;
  gap: 18px;
}

.developer-games-chart-layout {
  align-items: start;
}

.developer-games-chart-ring {
  width: min(100%, 240px);
  aspect-ratio: 1;
  margin: 0 auto;
  border-radius: 50%;
  padding: 18px;
  display: grid;
  place-items: center;
  background: conic-gradient(#24579e 0% 100%);
  box-shadow: inset 0 0 0 1px rgba(16, 42, 86, 0.04);
}

.developer-games-chart-ring--empty {
  background: linear-gradient(180deg, rgba(217, 228, 244, 0.9), rgba(236, 243, 252, 0.92));
}

.developer-games-chart-center {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  gap: 6px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.96);
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(16, 42, 86, 0.06);
}

.developer-games-chart-center span {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(54, 91, 143, 0.76);
}

.developer-games-chart-center strong {
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  letter-spacing: -0.06em;
  color: #102a56;
}

.developer-games-chart-copy {
  display: grid;
  gap: 8px;
  text-align: center;
}

.developer-games-chart-copy strong,
.developer-games-chart-item-copy strong,
.developer-games-history-item-copy strong {
  color: #102a56;
}

.developer-games-chart-copy p {
  margin: 0;
  color: rgba(54, 91, 143, 0.78);
  line-height: 1.55;
}

.developer-games-chart-legend,
.developer-games-history-list {
  display: grid;
  gap: 10px;
}

.developer-games-chart-item,
.developer-games-history-item {
  display: grid;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(36, 79, 130, 0.08);
}

.developer-games-chart-swatch {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--swatch, #24579e);
}

.developer-games-chart-item-copy,
.developer-games-history-item-copy {
  display: grid;
  gap: 4px;
}

.developer-games-chart-item-copy span,
.developer-games-history-item-copy span {
  color: rgba(54, 91, 143, 0.78);
  font-size: 0.86rem;
}

.developer-games-chart-item {
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
}

.developer-games-chart-item-share,
.developer-games-history-item-value {
  color: #102a56;
  font-weight: 800;
}

.developer-games-purchase-details {
  display: grid;
  gap: 10px;
}

.developer-games-purchase-detail-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.developer-games-purchase-detail-pill {
  display: grid;
  gap: 4px;
  min-width: 120px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(242, 247, 253, 0.94);
  border: 1px solid rgba(36, 79, 130, 0.08);
}

.developer-games-purchase-detail-pill small {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(54, 91, 143, 0.72);
}

.developer-games-purchase-detail-pill strong,
.developer-games-purchase-customizations strong,
.developer-games-purchase-customization-item strong {
  color: #102a56;
}

.developer-games-purchase-detail-copy,
.developer-games-purchase-customization-item span,
.developer-games-purchase-sdk-notes span {
  color: rgba(34, 60, 103, 0.8);
  line-height: 1.55;
}

.developer-games-purchase-detail-copy {
  margin: 0;
}

.developer-games-purchase-customizations,
.developer-games-purchase-customization-list,
.developer-games-purchase-sdk-notes {
  display: grid;
  gap: 8px;
}

.developer-games-purchase-customization-item {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.98);
  border: 1px solid rgba(36, 79, 130, 0.08);
}

.developer-games-history-empty p {
  margin: 0;
  color: rgba(34, 60, 103, 0.78);
}

@media (max-width: 1120px) {
  .developer-games-dashboard {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .profile-portfolio-meta-row,
  .profile-portfolio-analytics-row,
  .profile-portfolio-analytics-inline {
    grid-template-columns: 1fr;
  }

  .stats-metric-grid {
    grid-template-columns: 1fr;
  }

  .stats-segmented-control,
  .stats-filter-chips {
    width: 100%;
  }

  .developer-games-hero,
  .developer-games-summary-grid,
  .developer-games-card,
  .developer-games-card-head,
  .developer-games-meta-row,
  .developer-analytics-focus-head,
  .developer-analytics-focus-metrics,
  .developer-analytics-compare-row,
  .developer-games-chart-item,
  .developer-games-history-item,
  .developer-games-purchase-item {
    grid-template-columns: 1fr;
  }

  .developer-games-section-head {
    align-items: flex-start;
  }

  .developer-games-chart-ring {
    width: min(100%, 220px);
  }

  .developer-analytics-focus-media {
    width: 100%;
    max-width: 220px;
  }

  .developer-games-chart-item-share,
  .developer-games-history-item-value {
    justify-self: start;
  }

  .developer-games-purchase-meta {
    justify-items: start;
    text-align: left;
  }

  .developer-games-hero-actions .button {
    width: 100%;
  }
}
