:root {
  --bg: #000;
  --bg-deep: #000;
  --surface: rgba(18, 12, 27, 0.9);
  --surface-strong: #130b1d;
  --surface-soft: rgba(255, 255, 255, 0.055);
  --ink: #fff5df;
  --muted: #d7c7d8;
  --quiet: #a999b6;
  --coral: #f34f78;
  --cyan: #38ded8;
  --violet: #7b45ff;
  --saffron: #f2a53a;
  --line: rgba(56, 222, 216, 0.26);
  --line-warm: rgba(243, 79, 120, 0.28);
  --line-soft: rgba(255, 255, 255, 0.11);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background:
    radial-gradient(circle at 86% 8%, rgba(56, 222, 216, 0.1), transparent 30%),
    radial-gradient(circle at 14% 30%, rgba(243, 79, 120, 0.08), transparent 34%),
    linear-gradient(180deg, #050505 0%, #000 46%, #000 100%);
  color: var(--ink);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
}

body::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  inset: 0;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.7), transparent 70%);
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

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

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

a:hover,
button:hover {
  cursor: pointer;
}

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  background: var(--cyan);
  color: #061521;
  font-weight: 900;
  left: 16px;
  padding: 10px 14px;
  position: absolute;
  top: -100px;
  z-index: 1000;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(7, 3, 15, 0.9);
  border-bottom: 1px solid rgba(56, 222, 216, 0.22);
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr auto;
  min-height: 76px;
  padding: 10px 40px;
  position: sticky;
  top: 0;
  z-index: 50;
}

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

.brand img {
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(56, 222, 216, 0.34), 0 0 22px rgba(56, 222, 216, 0.16);
  flex: 0 0 auto;
}

.brand strong,
.brand small {
  display: block;
  letter-spacing: 0;
}

.brand strong {
  color: var(--ink);
  font-size: 1.04rem;
  line-height: 1.1;
}

.brand small {
  color: var(--cyan);
  font-size: 0.76rem;
  font-weight: 900;
}

.site-nav {
  align-items: center;
  display: flex;
  gap: 6px;
  justify-content: center;
}

.site-nav a,
.header-cta,
.footer-links a,
.text-link {
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 900;
  padding: 10px 12px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"],
.footer-links a:hover,
.text-link:hover {
  background: rgba(56, 222, 216, 0.1);
  box-shadow: 0 0 0 1px rgba(56, 222, 216, 0.34);
  color: var(--cyan);
}

.header-cta {
  background: linear-gradient(135deg, var(--coral), #ff8a61);
  color: #220817;
  justify-self: end;
  padding: 10px 16px;
}

.header-cta:hover,
.button.primary:hover {
  box-shadow: 0 0 0 1px rgba(255, 245, 223, 0.36), 0 0 30px rgba(243, 79, 120, 0.28);
  transform: translateY(-2px);
}

.menu-toggle {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  display: none;
  font-weight: 900;
  padding: 9px 12px;
}

.hero,
.page-hero,
.section,
.legal-page {
  padding-left: 40px;
  padding-right: 40px;
}

.hero-home {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1180px);
  justify-content: start;
  min-height: 680px;
  overflow: hidden;
  padding-bottom: 46px;
  padding-top: 54px;
  position: relative;
}

.hero picture,
.hero picture img,
.hero-overlay {
  height: 100%;
  inset: 0;
  position: absolute;
  width: 100%;
}

.hero picture img {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(7, 3, 15, 0.88) 0%, rgba(18, 7, 32, 0.75) 46%, rgba(18, 7, 32, 0.24) 100%),
    linear-gradient(180deg, rgba(18, 7, 32, 0.12), rgba(7, 3, 15, 0.95));
  z-index: 1;
}

.hero-content,
.hero-desk,
.hero-ticket,
.hero-board {
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 820px;
}

.eyebrow {
  color: var(--cyan);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0;
  margin: 0 0 10px;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.08;
}

.hero h1 {
  color: var(--ink);
  font-size: 4.8rem;
  margin-bottom: 16px;
  text-shadow: 0 0 30px rgba(243, 79, 120, 0.2);
}

.hero-copy {
  color: var(--muted);
  font-size: 1.12rem;
  max-width: 720px;
}

.hero-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--radius);
  display: inline-flex;
  font-weight: 950;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, color .2s ease, transform .2s ease;
}

.button.primary {
  background: linear-gradient(135deg, var(--coral), #ff8a61);
  color: #220817;
}

.button.ghost {
  background: rgba(255, 255, 255, 0.065);
  border-color: rgba(56, 222, 216, 0.34);
  color: var(--ink);
}

.button.ghost:hover {
  background: rgba(56, 222, 216, 0.1);
  border-color: rgba(56, 222, 216, 0.72);
  box-shadow: 0 0 28px rgba(56, 222, 216, 0.16);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.hero-trust span,
.demo-badge,
.panel-header span,
.result-strip span {
  background: rgba(56, 222, 216, 0.11);
  border: 1px solid rgba(56, 222, 216, 0.4);
  border-radius: var(--radius);
  color: #a7fffb;
  font-size: 0.83rem;
  font-weight: 950;
  padding: 8px 10px;
}

.hero-desk,
.hero-ticket,
.board-cell,
.practice-panel,
.demo-table,
.demo-side,
.side-panel,
.legal-card,
.contact-card,
.check-card,
.metric-card,
.step-card {
  background:
    linear-gradient(180deg, rgba(45, 20, 72, 0.9), rgba(18, 7, 32, 0.92)),
    var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-board {
  display: grid;
  gap: 12px;
  grid-template-columns: 0.95fr 1.2fr 0.95fr;
  margin-top: 34px;
  max-width: 1180px;
  width: 100%;
}

.board-cell {
  border-color: rgba(56, 222, 216, 0.28);
  display: grid;
  gap: 10px;
  min-height: 132px;
  overflow: hidden;
  padding: 18px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.board-cell:hover {
  border-color: rgba(56, 222, 216, 0.68);
  box-shadow: 0 22px 70px rgba(0, 0, 0, 0.42), 0 0 32px rgba(56, 222, 216, 0.12);
  transform: translateY(-3px);
}

.board-cell > span:not(.status-dot) {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 950;
}

.board-cell small {
  color: var(--muted);
}

.board-hand {
  border-color: rgba(243, 79, 120, 0.45);
  grid-template-columns: auto 1fr;
}

.board-hand .mini-hand {
  grid-column: 1 / -1;
}

.hero-shell {
  display: grid;
  gap: 30px;
  max-width: 1180px;
  position: relative;
  width: 100%;
  z-index: 2;
}

.hero-intro {
  max-width: 760px;
}

.studio-console {
  background:
    linear-gradient(135deg, rgba(56, 222, 216, 0.1), rgba(243, 79, 120, 0.12)),
    rgba(19, 8, 34, 0.88);
  border: 1px solid rgba(56, 222, 216, 0.3);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 46px rgba(56, 222, 216, 0.08);
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(340px, 1.25fr) repeat(3, minmax(150px, 0.72fr));
  overflow: hidden;
  padding: 14px;
}

.studio-panel {
  background: rgba(18, 7, 32, 0.78);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 148px;
  padding: 18px;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.studio-panel:hover {
  border-color: rgba(56, 222, 216, 0.66);
  box-shadow: 0 0 28px rgba(56, 222, 216, 0.13);
  transform: translateY(-3px);
}

.studio-hand {
  display: grid;
  gap: 16px;
}

.studio-hand .playing-card {
  height: 64px;
  width: 44px;
}

.studio-top {
  align-items: center;
  display: flex;
  gap: 12px;
}

.studio-top small {
  color: var(--muted);
  margin-left: auto;
}

.studio-meter {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  height: 8px;
  overflow: hidden;
}

.studio-meter span {
  background: linear-gradient(90deg, var(--cyan), var(--coral));
  display: block;
  height: 100%;
  width: var(--meter, 68%);
}

.studio-link {
  display: grid;
  gap: 10px;
}

.studio-link span {
  color: var(--coral);
  font-size: 0.82rem;
  font-weight: 950;
}

.studio-link small,
.studio-note span {
  color: var(--muted);
}

.studio-note {
  align-items: center;
  background: rgba(56, 222, 216, 0.08);
  border: 1px solid rgba(56, 222, 216, 0.28);
  border-radius: var(--radius);
  display: flex;
  gap: 12px;
  grid-column: 1 / -1;
  justify-content: space-between;
  padding: 14px 16px;
}

.hero-intel {
  justify-content: center;
  min-height: 720px;
}

.hero-intel .hero-overlay {
  background:
    radial-gradient(circle at 78% 26%, rgba(56, 222, 216, 0.2), transparent 28%),
    radial-gradient(circle at 18% 82%, rgba(243, 79, 120, 0.2), transparent 34%),
    linear-gradient(90deg, rgba(7, 3, 15, 0.94) 0%, rgba(18, 7, 32, 0.84) 52%, rgba(6, 21, 36, 0.58) 100%),
    linear-gradient(180deg, rgba(18, 7, 32, 0.16), rgba(7, 3, 15, 0.97));
}

.intel-hero-layout {
  align-items: center;
  display: grid;
  gap: 36px;
  grid-template-columns: minmax(0, 1fr) minmax(430px, 0.82fr);
  max-width: 1180px;
  min-width: 0;
  position: relative;
  width: 100%;
  z-index: 2;
}

.intel-headline {
  max-width: 720px;
}

.intel-headline h1 {
  max-width: 680px;
}

.intel-kpis {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 28px;
}

.intel-kpis a {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  display: grid;
  gap: 4px;
  min-height: 132px;
  padding: 16px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.intel-kpis a:hover {
  background: rgba(56, 222, 216, 0.1);
  border-color: rgba(56, 222, 216, 0.62);
  box-shadow: 0 0 30px rgba(56, 222, 216, 0.13);
  transform: translateY(-3px);
}

.intel-kpis span,
.route-row span,
.framework-steps span,
.safety-matrix span,
.editorial-card span {
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.intel-kpis small,
.dashboard-alert span,
.dashboard-hand p,
.route-row small,
.framework-steps small {
  color: var(--muted);
}

.intel-dashboard {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025)),
    rgba(18, 7, 32, 0.88);
  border: 1px solid rgba(56, 222, 216, 0.38);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 0 0 48px rgba(56, 222, 216, 0.1);
  display: grid;
  gap: 16px;
  min-height: 488px;
  padding: 18px;
}

.dashboard-top {
  align-items: center;
  display: flex;
  gap: 12px;
}

.dashboard-top small {
  color: var(--muted);
  margin-left: auto;
}

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

.dashboard-scoreline div {
  background: rgba(7, 3, 15, 0.58);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 14px;
}

.dashboard-scoreline span {
  color: var(--cyan);
  display: block;
  font-size: 0.75rem;
  font-weight: 950;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.dashboard-hand {
  background:
    linear-gradient(135deg, rgba(243, 79, 120, 0.12), rgba(56, 222, 216, 0.1)),
    rgba(7, 3, 15, 0.48);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  display: grid;
  gap: 16px;
  padding: 20px;
}

.dashboard-hand .mini-hand {
  justify-content: center;
}

.dashboard-alert {
  background: rgba(243, 79, 120, 0.1);
  border: 1px solid rgba(243, 79, 120, 0.34);
  border-radius: var(--radius);
  display: grid;
  gap: 4px;
  padding: 16px;
}

.route-board-section {
  max-width: 1160px;
}

.route-board {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  overflow: hidden;
}

.route-row {
  align-items: center;
  display: grid;
  gap: 18px;
  grid-template-columns: 150px minmax(220px, 0.95fr) minmax(260px, 1.15fr) 116px;
  min-height: 82px;
  padding: 18px 20px;
  transition: background .2s ease, color .2s ease;
}

.route-row + .route-row {
  border-top: 1px solid var(--line-soft);
}

.route-row:hover {
  background: rgba(56, 222, 216, 0.09);
}

.route-row strong {
  color: var(--ink);
  font-size: 1.06rem;
}

.route-row b {
  background: rgba(56, 222, 216, 0.1);
  border: 1px solid rgba(56, 222, 216, 0.34);
  border-radius: var(--radius);
  color: #a7fffb;
  justify-self: end;
  padding: 8px 10px;
}

.framework-section {
  align-items: center;
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1fr);
}

.framework-visual {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.framework-visual img {
  aspect-ratio: 1.22 / 1;
  object-fit: cover;
  width: 100%;
}

.framework-copy {
  max-width: 680px;
}

.framework-copy h2 {
  font-size: 2.35rem;
  margin-bottom: 12px;
}

.framework-copy p {
  color: var(--muted);
}

.framework-steps {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.framework-steps div {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  display: grid;
  gap: 5px;
  grid-template-columns: 44px minmax(0, 1fr);
  padding: 14px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.framework-steps div:hover {
  background: rgba(56, 222, 216, 0.08);
  border-color: rgba(56, 222, 216, 0.5);
  box-shadow: 0 0 26px rgba(56, 222, 216, 0.1);
  transform: translateX(4px);
}

.framework-steps span {
  align-items: center;
  background: rgba(243, 79, 120, 0.14);
  border: 1px solid rgba(243, 79, 120, 0.44);
  border-radius: var(--radius);
  display: inline-flex;
  grid-row: 1 / span 2;
  height: 36px;
  justify-content: center;
  width: 36px;
}

.framework-steps strong,
.framework-steps small {
  grid-column: 2;
}

.safety-matrix-section,
.editorial-section {
  max-width: 1160px;
}

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

.safety-matrix a {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  display: grid;
  gap: 10px;
  min-height: 152px;
  padding: 18px;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.safety-matrix a:hover {
  background: rgba(243, 79, 120, 0.1);
  border-color: rgba(243, 79, 120, 0.48);
  box-shadow: 0 0 26px rgba(243, 79, 120, 0.12);
  transform: translateY(-3px);
}

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

.editorial-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.editorial-card:hover {
  border-color: rgba(56, 222, 216, 0.62);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42), 0 0 28px rgba(56, 222, 216, 0.12);
  transform: translateY(-3px);
}

.editorial-card img {
  aspect-ratio: 1.55 / 1;
  object-fit: cover;
  width: 100%;
}

.editorial-card span,
.editorial-card strong {
  display: block;
  margin-left: 18px;
  margin-right: 18px;
}

.editorial-card span {
  margin-top: 18px;
}

.editorial-card strong {
  font-size: 1.05rem;
  line-height: 1.34;
  margin-bottom: 20px;
  margin-top: 8px;
}

.desk-top,
.panel-header,
.demo-toolbar {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.desk-top small,
.panel-header span {
  color: var(--muted);
}

.status-dot {
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(56, 222, 216, 0.75);
  height: 10px;
  width: 10px;
}

.mini-hand,
.demo-hand,
.example-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.playing-card {
  align-items: center;
  background: #fff5df;
  border: 2px solid rgba(56, 222, 216, 0.75);
  border-radius: 7px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
  color: #111;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 950;
  height: 50px;
  justify-content: center;
  position: relative;
  width: 36px;
}

.playing-card::after {
  bottom: 3px;
  content: attr(data-suit);
  font-size: 0.62rem;
  position: absolute;
  right: 5px;
}

.playing-card.red {
  color: #cb244f;
}

.playing-card.black {
  color: #0d6f80;
}

.playing-card.joker {
  background: #211039;
  color: var(--cyan);
}

.large-hand .playing-card,
.demo-hand .playing-card {
  height: 72px;
  width: 50px;
}

.studio-hand .large-hand .playing-card {
  height: 64px;
  width: 44px;
}

.desk-checklist,
.check-list {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.desk-checklist li,
.check-list li {
  color: var(--muted);
  padding-left: 30px;
  position: relative;
}

.desk-checklist span,
.check-list li::before {
  align-items: center;
  background: rgba(243, 79, 120, 0.14);
  border: 1px solid rgba(243, 79, 120, 0.46);
  border-radius: 50%;
  color: #ffdbe5;
  display: inline-flex;
  font-size: 0.75rem;
  font-weight: 950;
  height: 20px;
  justify-content: center;
  left: 0;
  position: absolute;
  top: 2px;
  width: 20px;
}

.desk-checklist span {
  position: absolute;
}

.check-list li::before {
  content: "";
}

.section {
  margin: 0 auto;
  max-width: 1240px;
  padding-bottom: 76px;
  padding-top: 76px;
}

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

.section-heading h2,
.practice-copy h2,
.split-copy h2,
.article-body h2 {
  font-size: 2.35rem;
  margin-bottom: 12px;
}

.section-heading p,
.practice-copy p,
.split-copy p,
.article-body p,
.legal-card p,
.check-card p,
.metric-card p,
.step-card p,
.article-card p,
.side-panel p,
.contact-card p {
  color: var(--muted);
}

.dashboard-section {
  max-width: 1160px;
}

.metric-grid,
.path-grid,
.article-grid,
.step-grid,
.checklist-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

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

.metric-card,
.step-card,
.check-card {
  min-height: 188px;
  overflow: hidden;
  padding: 22px;
  position: relative;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.metric-card::before,
.check-card::before,
.step-card::before {
  background: linear-gradient(180deg, var(--cyan), var(--coral));
  content: "";
  height: 100%;
  left: 0;
  opacity: 0.86;
  position: absolute;
  top: 0;
  width: 4px;
}

.metric-card:hover,
.step-card:hover,
.check-card:hover,
.path-card:hover,
.article-card:hover,
.practice-panel:hover,
.demo-table:hover,
.side-panel:hover,
.contact-card:hover {
  border-color: rgba(56, 222, 216, 0.64);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.46), 0 0 32px rgba(56, 222, 216, 0.13);
  transform: translateY(-3px);
}

.metric-number {
  color: var(--coral);
  display: block;
  font-size: 2.45rem;
  font-weight: 950;
  line-height: 1;
  margin-bottom: 18px;
}

.metric-card:nth-child(1) {
  grid-column: span 2;
}

.metric-card:nth-child(2),
.metric-card:nth-child(3) {
  grid-column: span 1;
}

.metric-card:nth-child(4) {
  grid-column: span 2;
}

.path-grid {
  align-items: stretch;
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.path-card,
.article-card {
  background: rgba(23, 9, 38, 0.78);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.path-card {
  display: grid;
  grid-template-rows: auto auto 1fr;
}

.path-card:nth-child(1) {
  grid-column: span 4;
}

.path-card:nth-child(2) {
  grid-column: span 2;
}

.path-card:nth-child(3) {
  grid-column: span 2;
}

.path-card:nth-child(4) {
  grid-column: span 4;
}

.path-card img {
  aspect-ratio: 1.7 / 1;
  object-fit: cover;
  width: 100%;
}

.path-card span,
.article-card span {
  color: var(--cyan);
  display: block;
  font-size: 0.78rem;
  font-weight: 950;
  margin: 18px 18px 8px;
  text-transform: uppercase;
}

.path-card h3 {
  font-size: 1.05rem;
  margin: 0;
  min-height: 94px;
  padding: 0 18px 20px;
}

.demand-grid {
  grid-template-columns: 1.15fr 1.15fr 0.9fr;
}

.demand-grid .path-card,
.demand-grid .path-card:nth-child(1),
.demand-grid .path-card:nth-child(2),
.demand-grid .path-card:nth-child(3) {
  grid-column: auto;
}

.demand-grid .path-card img {
  aspect-ratio: 1.45 / 1;
}

.demand-grid .path-card h3 {
  min-height: 72px;
}

.player-paths {
  padding-bottom: 54px;
  padding-top: 70px;
}

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

.path-pill {
  background: rgba(23, 9, 38, 0.78);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  min-height: 128px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.path-pill:hover {
  border-color: rgba(56, 222, 216, 0.64);
  box-shadow: 0 24px 74px rgba(0, 0, 0, 0.42), 0 0 30px rgba(56, 222, 216, 0.12);
  transform: translateY(-3px);
}

.path-pill img {
  grid-row: 1 / span 2;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.path-pill span,
.path-pill strong {
  grid-column: 2;
  margin-left: 18px;
  margin-right: 18px;
}

.path-pill span {
  align-self: end;
  color: var(--cyan);
  font-size: 0.78rem;
  font-weight: 950;
  margin-top: 18px;
  text-transform: uppercase;
}

.path-pill strong {
  color: var(--ink);
  font-size: 1.02rem;
  line-height: 1.3;
  margin-bottom: 18px;
}

.practice-section,
.split-section {
  align-items: center;
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr);
}

.safety-strip {
  align-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr) auto;
  margin-bottom: 28px;
  margin-top: 4px;
  max-width: 1160px;
  padding-bottom: 26px;
  padding-top: 26px;
}

.safety-strip h2 {
  font-size: 1.8rem;
  margin-bottom: 0;
}

.safety-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.safety-list span {
  background: rgba(56, 222, 216, 0.1);
  border: 1px solid rgba(56, 222, 216, 0.32);
  border-radius: var(--radius);
  color: #a7fffb;
  font-size: 0.88rem;
  font-weight: 900;
  padding: 9px 11px;
}

.practice-copy {
  max-width: 760px;
}

.practice-panel {
  display: grid;
  gap: 18px;
  grid-template-columns: auto 1fr;
  overflow: hidden;
  padding: 24px;
}

.practice-panel .panel-header,
.practice-panel .result-strip {
  grid-column: 1 / -1;
}

.practice-panel .large-hand {
  align-content: start;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  min-width: 360px;
  padding: 14px;
}

.practice-panel::after {
  align-self: stretch;
  background:
    linear-gradient(135deg, rgba(56, 222, 216, 0.14), rgba(243, 79, 120, 0.14)),
    url("/assets/images/free-rummy-demo.jpg") center / cover;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  content: "";
  min-height: 180px;
}

.result-strip {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 14px;
}

.split-media img {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
}

.split-section {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  max-width: 1160px;
  padding-bottom: 42px;
  padding-top: 42px;
}

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

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

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

.article-card {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  min-height: 190px;
}

.article-card img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.article-card div {
  padding: 18px;
}

.article-card span {
  margin: 0 0 8px;
}

.article-card h3,
.article-card h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.article-card a:hover {
  color: var(--cyan);
}

.faq-list {
  display: grid;
  gap: 12px;
  max-width: 880px;
}

.faq-list details {
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 0;
}

.faq-list summary {
  color: var(--ink);
  font-weight: 950;
  list-style: none;
  padding: 18px 20px;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  color: var(--cyan);
  content: "+";
  float: right;
}

.faq-list details[open] summary::after {
  content: "-";
}

.faq-list p {
  color: var(--muted);
  margin: 0;
  padding: 0 20px 18px;
}

.page-hero {
  align-items: end;
  display: flex;
  margin: 0;
  max-width: none;
  min-height: 430px;
  overflow: hidden;
  padding-bottom: 74px;
  padding-top: 90px;
  position: relative;
}

.page-hero::before {
  background:
    linear-gradient(90deg, rgba(7, 3, 15, 0.92), rgba(18, 7, 32, 0.62) 54%, rgba(18, 7, 32, 0.24)),
    linear-gradient(180deg, rgba(7, 3, 15, 0.1), rgba(7, 3, 15, 0.92));
  content: "";
  inset: 0;
  position: absolute;
  z-index: 1;
}

.page-hero > div {
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.page-hero img {
  border: 0;
  border-radius: 0;
  height: 100%;
  inset: 0;
  object-fit: cover;
  opacity: 0.72;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.page-hero h1 {
  font-size: 3.15rem;
  margin-bottom: 16px;
}

.page-hero p {
  color: var(--muted);
  font-size: 1.08rem;
}

.content-layout {
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(0, 1fr) 300px;
  margin: 0 auto;
  max-width: 1120px;
  padding: 0 40px 74px;
}

.article-body,
.legal-card {
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 30px;
}

.article-body h2 {
  font-size: 1.55rem;
  margin-top: 30px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.example-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin: 18px 0;
  padding: 14px;
}

.side-panel {
  align-self: start;
  display: grid;
  gap: 12px;
  padding: 22px;
  position: sticky;
  top: 96px;
}

.side-panel a {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  color: var(--cyan);
  font-weight: 950;
  padding: 12px;
}

.demo-section {
  align-items: start;
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1fr) 360px;
}

.demo-table,
.demo-side {
  padding: 24px;
}

.demo-hand {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  margin: 18px 0;
  min-height: 98px;
  padding: 14px;
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.demo-actions .button {
  min-height: 42px;
}

.demo-feedback {
  background: rgba(56, 222, 216, 0.1);
  border: 1px solid rgba(56, 222, 216, 0.35);
  border-radius: var(--radius);
  margin-top: 18px;
  padding: 16px;
}

.demo-feedback p {
  color: var(--muted);
  margin: 4px 0 0;
}

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

.step-card span {
  align-items: center;
  background: rgba(56, 222, 216, 0.12);
  border: 1px solid rgba(56, 222, 216, 0.44);
  border-radius: 50%;
  color: var(--cyan);
  display: inline-flex;
  font-size: 1.3rem;
  font-weight: 950;
  height: 48px;
  justify-content: center;
  margin-bottom: 18px;
  width: 48px;
}

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

.check-card.danger {
  border-color: rgba(243, 79, 120, 0.48);
}

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

.contact-card {
  padding: 24px;
}

.contact-card a {
  color: var(--cyan);
  font-weight: 950;
}

.legal-page {
  margin: 0 auto;
  max-width: 940px;
  padding-bottom: 80px;
  padding-top: 70px;
}

.legal-card h1 {
  font-size: 3rem;
  margin-bottom: 18px;
}

.legal-card h2 {
  font-size: 1.35rem;
  margin-top: 28px;
}

.note {
  background: rgba(243, 79, 120, 0.08);
  border: 1px solid rgba(243, 79, 120, 0.24);
  border-radius: var(--radius);
  color: var(--muted);
  padding: 14px;
}

.site-footer {
  align-items: start;
  background: #07030f;
  border-top: 1px solid rgba(56, 222, 216, 0.22);
  column-gap: 56px;
  display: grid;
  grid-template-columns: minmax(260px, 430px) max-content;
  justify-content: center;
  padding: 38px 40px 26px;
  row-gap: 28px;
}

.footer-brand p {
  color: var(--quiet);
  margin: 12px 0 0;
  max-width: 430px;
}

.footer-links {
  border-left: 1px solid rgba(56, 222, 216, 0.26);
  display: grid;
  gap: 8px;
  justify-items: start;
  padding-left: 28px;
}

.copyright {
  color: var(--cyan);
  font-size: 0.92rem;
  font-weight: 950;
  grid-column: 1 / -1;
  margin: 0;
  text-align: center;
}

.not-found {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100vh;
  padding: 32px;
  text-align: center;
}

.not-found h1 {
  font-size: 3rem;
  margin: 22px 0 8px;
}

.not-found p {
  color: var(--muted);
  max-width: 540px;
}

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

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

  .site-nav {
    background: rgba(7, 3, 15, 0.98);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    display: none;
    grid-column: 1 / -1;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 10px;
  }

  .site-header.nav-open .site-nav {
    display: grid;
  }

  .header-cta {
    display: none;
  }

  .hero-home,
  .practice-section,
  .split-section,
  .page-hero,
  .demo-section,
  .content-layout {
    grid-template-columns: 1fr;
  }

  .intel-hero-layout,
  .framework-section {
    grid-template-columns: 1fr;
  }

  .intel-dashboard {
    max-width: 720px;
  }

  .route-row {
    grid-template-columns: 132px minmax(0, 1fr) 110px;
  }

  .route-row small {
    grid-column: 2 / 4;
  }

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

  .hero h1 {
    font-size: 4rem;
  }

  .hero-desk,
  .hero-ticket {
    margin-bottom: 0;
    transform: none;
  }

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

  .studio-console,
  .path-strip,
  .safety-strip {
    grid-template-columns: 1fr;
  }

  .studio-note,
  .safety-strip {
    align-items: flex-start;
  }

  .board-hand {
    grid-column: auto;
  }

  .metric-grid,
  .path-grid,
  .article-grid,
  .article-grid.wide,
  .checklist-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .path-card:nth-child(1),
  .path-card:nth-child(2),
  .path-card:nth-child(3) {
    grid-column: span 1;
  }

  .side-panel {
    position: static;
  }
}

@media (max-width: 720px) {
  .site-header,
  .hero,
  .page-hero,
  .section,
  .legal-page {
    padding-left: 18px;
    padding-right: 18px;
  }

  .site-header {
    gap: 10px;
  }

  .brand strong {
    font-size: 0.98rem;
  }

  .brand small {
    font-size: 0.72rem;
  }

  .hero-home {
    min-height: auto;
    padding-bottom: 38px;
    padding-top: 46px;
  }

  .hero h1 {
    font-size: 3.15rem;
  }

  .hero-copy,
  .page-hero p {
    font-size: 1rem;
  }

  .hero-content,
  .hero-desk,
  .hero-ticket,
  .hero-board,
  .hero-shell,
  .intel-hero-layout,
  .intel-dashboard,
  .studio-console {
    max-width: calc(100vw - 36px);
    width: 100%;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-intel {
    min-height: auto;
  }

  .safety-matrix,
  .editorial-grid {
    grid-template-columns: 1fr;
  }

  .intel-kpis,
  .dashboard-scoreline {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .intel-kpis a {
    min-height: 96px;
    padding: 12px;
  }

  .intel-kpis small {
    display: none;
  }

  .dashboard-scoreline {
    gap: 8px;
  }

  .dashboard-scoreline div {
    padding: 10px;
  }

  .dashboard-scoreline strong {
    font-size: 0.92rem;
  }

  .intel-dashboard {
    min-height: 0;
    padding: 16px;
  }

  .dashboard-top {
    flex-wrap: wrap;
  }

  .dashboard-top small {
    margin-left: 0;
    width: 100%;
  }

  .dashboard-hand {
    padding: 16px;
  }

  .dashboard-hand .large-hand .playing-card {
    height: 62px;
    width: 43px;
  }

  .route-row {
    align-items: start;
    gap: 8px;
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .route-row small {
    grid-column: auto;
  }

  .route-row b {
    justify-self: start;
  }

  .framework-section {
    gap: 24px;
  }

  .hero-trust span {
    flex: 1 1 100%;
    text-align: center;
  }

  .desk-top,
  .panel-header,
  .demo-toolbar,
  .result-strip {
    align-items: flex-start;
    flex-direction: column;
  }

  .section-heading h2,
  .practice-copy h2,
  .split-copy h2 {
    font-size: 1.85rem;
  }

  .page-hero {
    padding-bottom: 42px;
    padding-top: 42px;
  }

  .page-hero h1,
  .legal-card h1 {
    font-size: 2.35rem;
  }

  .metric-grid,
  .path-grid,
  .article-grid,
  .article-grid.wide,
  .step-grid,
  .checklist-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .metric-card:nth-child(1),
  .metric-card:nth-child(2),
  .metric-card:nth-child(3),
  .metric-card:nth-child(4),
  .path-card:nth-child(1),
  .path-card:nth-child(2),
  .path-card:nth-child(3),
  .path-card:nth-child(4) {
    grid-column: 1 / -1;
  }

  .hero-board,
  .practice-panel,
  .studio-console,
  .path-strip,
  .safety-strip {
    grid-template-columns: 1fr;
  }

  .studio-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .studio-hand .mini-hand {
    gap: 5px;
  }

  .studio-hand .playing-card {
    height: 52px;
    width: 34px;
  }

  .studio-hand .large-hand .playing-card {
    height: 52px;
    width: 34px;
  }

  .path-pill {
    grid-template-columns: 1fr;
  }

  .path-pill img {
    aspect-ratio: 1.55 / 1;
    height: auto;
  }

  .practice-panel .large-hand {
    min-width: 0;
  }

  .article-card {
    grid-template-columns: 1fr;
  }

  .article-card img {
    aspect-ratio: 1.5 / 1;
  }

  .content-layout {
    padding-left: 18px;
    padding-right: 18px;
  }

  .article-body,
  .legal-card,
  .demo-table,
  .demo-side {
    padding: 20px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    padding-left: 18px;
    padding-right: 18px;
  }

  .footer-links {
    border-left: 0;
    padding-left: 0;
  }
}

@media (max-width: 560px) {
  .hero-content,
  .hero-desk,
  .hero-ticket,
  .hero-board,
  .hero-shell,
  .intel-hero-layout,
  .intel-dashboard,
  .intel-kpis,
  .route-board,
  .framework-visual,
  .framework-copy,
  .safety-matrix,
  .editorial-grid,
  .studio-console,
  .page-hero > *,
  .section > *,
  .content-layout > *,
  .legal-card,
  .site-footer > * {
    max-width: 354px;
    width: 100%;
  }
}
