: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="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="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 img.site-nav-icon-points {
  width: 22px;
  height: 22px;
  flex-basis: 22px;
}

.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="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="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="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="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);
}

.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 {
  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 {
  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: 12px 0 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-preview-caption {
  margin: 16px 4px 0;
  color: var(--muted);
  line-height: 1.7;
}

.game-head {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 18px;
}

.game-title {
  margin-bottom: 18px;
  font-size: clamp(3rem, 5vw, 5.1rem);
  line-height: 0.97;
}

.game-summary {
  max-width: 62ch;
  margin: 0 0 16px;
  font-size: 1.12rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.75;
}

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

.game-description {
  max-width: 68ch;
  margin: 22px 0 0;
  font-size: 1rem;
  line-height: 1.84;
}

.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: 18px;
  margin-top: 24px;
  padding: 24px;
  border: 1px solid rgba(73, 129, 204, 0.22);
  border-radius: 26px;
  background:
    radial-gradient(circle at top right, rgba(138, 182, 255, 0.18), transparent 32%),
    linear-gradient(135deg, #102742 0%, #1a3d68 46%, #3a6ea8 100%);
  box-shadow: 0 26px 50px rgba(11, 33, 61, 0.22);
}

.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 h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.6vw, 2rem);
  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: 14px;
}

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

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

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

.purchase-estimator-form input,
.purchase-estimator-form textarea,
.purchase-estimator-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(198, 218, 246, 0.32);
  border-radius: 16px;
  background: rgba(246, 250, 255, 0.98);
  color: #102742;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.purchase-estimator-form input:focus,
.purchase-estimator-form textarea:focus,
.purchase-estimator-form select:focus {
  outline: 2px solid rgba(110, 173, 255, 0.42);
  border-color: transparent;
}

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

.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.18);
  border-radius: 18px;
  background: rgba(236, 244, 255, 0.14);
  backdrop-filter: blur(8px);
}

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

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

.purchase-estimator-row-total {
  background: rgba(8, 26, 48, 0.38);
}

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

.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-confirm-button {
  justify-self: start;
  background: linear-gradient(135deg, #ffcb57 0%, #ff9f1c 100%);
  color: #102742;
  box-shadow: 0 18px 30px rgba(12, 34, 66, 0.22);
}

.purchase-confirm-button:hover {
  background: linear-gradient(135deg, #ffd16a 0%, #ffab38 100%);
}

.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;
}

.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-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 {
  margin-bottom: 0;
}

.detail-section-heading h2 {
  margin-top: 14px;
  margin-bottom: 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-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 {
    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-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-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-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);
  }

  .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-domain-fields,
  .detail-definition-grid {
    grid-template-columns: 1fr;
  }

  .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-domain-fields,
  .detail-definition-grid,
  .detail-side-split,
  .detail-addon-grid {
    grid-template-columns: 1fr;
  }

  .purchase-estimator-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .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);
  }

  .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-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;
  }
}

/* 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, 1fr) minmax(0, 1fr);
    column-gap: 22px;
    row-gap: 10px;
  }

  .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="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="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="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="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="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="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="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="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="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="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="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="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="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="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="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 {
    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"] .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"] .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 {
  padding: 26px 0 56px;
}

.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-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: 18px;
}

.profile-portfolio-card {
  display: grid;
  grid-template-columns: 234px minmax(0, 1fr);
  align-items: stretch;
  gap: 18px;
  padding: 12px;
  border: 1px solid rgba(17, 55, 108, 0.08);
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.99), rgba(247, 250, 255, 0.98)),
    radial-gradient(circle at top right, rgba(62, 117, 196, 0.08), transparent 44%);
  box-shadow: 0 16px 34px rgba(9, 31, 64, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.profile-portfolio-card:hover {
  transform: translateY(-2px);
  border-color: rgba(31, 95, 174, 0.14);
  box-shadow: 0 20px 42px rgba(9, 31, 64, 0.09);
}

.profile-portfolio-media {
  display: flex;
  align-items: stretch;
  width: 234px;
  min-width: 0;
  align-self: stretch;
}

.profile-portfolio-media-shell,
.profile-portfolio-placeholder {
  position: relative;
  width: 234px;
  min-height: 132px;
  height: 132px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 22px;
  border: 1px solid rgba(17, 55, 108, 0.06);
  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));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.52);
}

.profile-portfolio-media-shell img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: transparent;
}

.profile-portfolio-placeholder {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 22px;
  color: var(--accent-strong);
  text-align: center;
}

.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;
  min-height: 0;
  gap: 14px;
  align-content: start;
  padding: 8px 8px 8px 2px;
}

.profile-portfolio-head {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.profile-portfolio-title-group {
  min-width: 0;
}

.profile-portfolio-head h3 {
  margin: 0;
  font-size: clamp(1.2rem, 1.7vw, 1.55rem);
  line-height: 1.08;
  letter-spacing: -0.05em;
}

.profile-portfolio-meta-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.profile-portfolio-meta-item {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid rgba(17, 55, 108, 0.07);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(249, 251, 255, 0.94), rgba(255, 255, 255, 0.9));
}

.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: 0.95rem;
  line-height: 1.2;
  color: var(--text);
  overflow-wrap: anywhere;
}

.profile-domain-list {
  display: grid;
  gap: 8px;
  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: 7px;
}

.profile-domain-list .pill {
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: none;
}

.profile-portfolio-actions {
  display: grid;
  gap: 10px;
  align-items: start;
}

.profile-embed-field {
  display: grid;
  gap: 7px;
}

.profile-embed-field span {
  font-size: 0.72rem;
  color: #5c78a0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.profile-embed-input-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.profile-embed-input-row input {
  width: 100%;
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid rgba(10, 43, 95, 0.12);
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.94);
  color: var(--text);
  font: inherit;
}

.profile-empty-card {
  display: grid;
  gap: 12px;
}

.profile-empty-card .button {
  width: fit-content;
}

.profile-portfolio-copy .button {
  min-height: 38px;
  padding-inline: 18px;
}

.profile-portfolio-view {
  justify-self: start;
  white-space: nowrap;
}

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="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 {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-summary-stats,
  .profile-portfolio-meta-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .profile-portfolio-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .profile-portfolio-media {
    width: 100%;
    min-height: 210px;
  }

  .profile-portfolio-placeholder,
  .profile-portfolio-media-shell {
    width: 100%;
    min-height: 210px;
  }

  .profile-portfolio-copy {
    min-height: auto;
    padding: 2px;
  }

  .profile-summary-card,
  .profile-empty-card,
  .profile-loading-card {
    padding: 22px;
  }
}

@media (max-width: 760px) {
  .profile-summary-stats,
  .profile-portfolio-meta-row,
  .profile-embed-input-row {
    grid-template-columns: 1fr;
  }

  .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-portfolio-view,
  .profile-embed-input-row .button,
  .profile-account-actions .button,
  .profile-empty-card .button {
    width: 100%;
  }
}
