﻿/* Taruma4D â€” Trust & Velocity */
:root {
  --carbon-0: #050807;
  --carbon-1: #0a0e0d;
  --carbon-2: #121816;
  --carbon-3: #1a2220;
  --emerald: #00c896;
  --emerald-bright: #00e6b4;
  --neon: #39ff14;
  --text: #e8f0ed;
  --text-muted: #9eb5ab;
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Outfit", var(--font);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --sticky-h: 56px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --radius-lg: 16px;
  --shadow-glow: 0 0 40px rgba(0, 230, 180, 0.12);
  --jp-gold: #e8c547;
  --jp-gold-dim: #b8922a;
  --glass-surface: rgba(12, 18, 16, 0.72);
  --glass-border: rgba(0, 230, 180, 0.22);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--carbon-0);
  background-image:
    radial-gradient(ellipse 120% 80% at 50% -30%, rgba(0, 200, 150, 0.1), transparent 55%),
    radial-gradient(ellipse 70% 50% at 100% 20%, rgba(57, 255, 20, 0.05), transparent 50%),
    radial-gradient(ellipse 90% 60% at 50% 110%, rgba(232, 197, 71, 0.045), transparent 55%);
  background-attachment: fixed;
  min-height: 100dvh;
  padding-bottom: calc(var(--sticky-h) + var(--safe-bottom) + 16px);
}

a {
  color: var(--emerald-bright);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: min(1120px, 100% - 32px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: visible;
  background: linear-gradient(180deg, rgba(5, 8, 7, 0.96) 0%, rgba(5, 8, 7, 0.82) 100%);
  backdrop-filter: blur(20px) saturate(1.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.35);
  border-bottom: 1px solid rgba(0, 200, 150, 0.16);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 8px 32px rgba(0, 0, 0, 0.25);
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
}

.site-header.is-scrolled {
  border-bottom-color: rgba(0, 230, 180, 0.26);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.42);
}

.site-header__glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 230, 180, 0.35) 25%,
    rgba(57, 255, 20, 0.45) 50%,
    rgba(0, 230, 180, 0.35) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  opacity: 0.95;
  pointer-events: none;
  z-index: 51;
}

.motion-ok .site-header__glow {
  animation: header-scan 10s linear infinite;
}

@keyframes header-scan {
  0% {
    background-position: 0% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ok .site-header__glow {
    animation: none;
    background-position: 50% 0;
  }
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
  min-height: 56px;
}

.logo {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.03em;
  color: var(--text);
  text-decoration: none;
  transition: transform 0.35s var(--ease-out), filter 0.35s var(--ease-out);
}

.logo span {
  color: var(--emerald-bright);
}

.logo--brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.logo--brand .logo__img {
  display: block;
  height: 48px;
  width: auto;
  max-width: min(200px, 44vw);
  object-fit: contain;
  object-position: left center;
}

.logo--footer .logo__img,
.logo__img--footer {
  height: 36px;
  max-width: 160px;
}

.motion-ok .logo--brand:hover {
  transform: scale(1.02);
  filter: drop-shadow(0 0 14px rgba(212, 175, 55, 0.4));
}

.nav-links {
  display: none;
  gap: 1.25rem;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}

/* Multi-page sites: show keyword nav on all breakpoints */
.nav-links.nav-links--multi {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.55rem;
  align-items: center;
  justify-content: flex-end;
  font-size: 0.78rem;
}

.nav-links.nav-links--multi a {
  position: relative;
  padding: 0.4rem 0.35rem;
  border-radius: 6px;
  color: var(--text-muted);
  transition: color 0.25s var(--ease-out), background 0.25s var(--ease-out);
}

.nav-links.nav-links--multi a::after {
  content: "";
  position: absolute;
  left: 0.35rem;
  right: 0.35rem;
  bottom: 0.15rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--emerald-bright), transparent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--ease-out);
  opacity: 0.85;
}

.nav-links.nav-links--multi a:hover {
  color: var(--emerald-bright);
  background: rgba(0, 200, 150, 0.06);
  text-decoration: none;
}

.nav-links.nav-links--multi a:hover::after,
.nav-links.nav-links--multi a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-links.nav-links--multi a[aria-current="page"] {
  color: var(--emerald-bright);
  font-weight: 600;
  background: rgba(0, 200, 150, 0.08);
}

@media (max-width: 767px) {
  .container {
    width: min(1120px, 100% - 24px);
  }

  .header-inner.nav-wrap {
    flex-wrap: wrap;
    row-gap: 0.45rem;
  }

  .header-inner.nav-wrap .nav-links--multi {
    order: 3;
    width: 100%;
    overflow: hidden;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.22rem 0.32rem;
    padding-top: 0.38rem;
    border-top: 1px solid rgba(0, 200, 150, 0.1);
  }

  .header-inner.nav-wrap .nav-links--multi a {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
    padding: 0.3rem 0.28rem;
    font-size: 0.69rem;
  }

  .header-inner.nav-wrap .nav-links--multi a:nth-child(n + 6) {
    display: none;
  }

  .header-inner.nav-wrap .header-cta {
    margin-left: auto;
    padding-inline: 1rem;
    min-height: 42px;
    font-size: 0.86rem;
  }

  .logo--brand .logo__img {
    height: 40px;
    max-width: min(170px, 40vw);
  }

  .hero-cta-row .btn,
  .page-hero__cta .btn {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(1.45rem, 6.8vw, 1.95rem);
    line-height: 1.2;
  }

  .page-hero h1 {
    font-size: clamp(1.35rem, 6.4vw, 1.85rem);
    line-height: 1.22;
  }

  .page-lead,
  .hero-lead {
    font-size: 0.98rem;
    line-height: 1.6;
  }

  .prose h2 {
    font-size: 1.1rem;
    padding-left: 0.65rem;
  }

  .prose p,
  .prose ul,
  .internal-hub p {
    font-size: 0.94rem;
    line-height: 1.65;
  }

  .section-partners {
    padding: 1.75rem 0 2.75rem;
  }

  .hero-card {
    padding: 1rem;
  }

  .hero-banner-wrap {
    margin-bottom: 0.8rem;
    aspect-ratio: 16 / 9;
    max-height: 34vh;
  }

  .hero-banner__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
  }
}

.nav-links:not(.nav-links--multi) a {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.nav-links:not(.nav-links--multi) a:hover {
  color: var(--emerald-bright);
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  overflow: hidden;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), border-color 0.25s var(--ease-out);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-bright) 55%, #00f5d4 100%);
  color: var(--carbon-0);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow:
    0 4px 24px rgba(0, 230, 180, 0.38),
    var(--shadow-glow),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px rgba(0, 230, 180, 0.45), 0 0 48px rgba(57, 255, 20, 0.15);
}

.btn-primary .btn-shine {
  position: absolute;
  inset: 0;
  transform: translateX(-120%);
  background: linear-gradient(
    105deg,
    transparent 40%,
    rgba(255, 255, 255, 0.35) 50%,
    transparent 60%
  );
  opacity: 0;
  pointer-events: none;
}

.motion-ok .btn-primary:hover .btn-shine {
  opacity: 1;
  animation: btn-shine 0.65s var(--ease-out) forwards;
}

.btn-ghost {
  background: var(--glass-surface);
  color: var(--text);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn-ghost:hover {
  border-color: rgba(0, 230, 180, 0.65);
  background: rgba(0, 200, 150, 0.06);
  transform: translateY(-1px);
}

@keyframes btn-shine {
  to {
    transform: translateX(120%);
  }
}

/* Hero */
.hero {
  position: relative;
  padding: 2.5rem 0 3rem;
  overflow: hidden;
}

.page-home .hero {
  padding: 0.65rem 0 2.75rem;
}

@media (min-width: 900px) {
  .page-home .hero {
    padding: 0.35rem 0 2.75rem;
  }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(0, 200, 150, 0.18), transparent 52%),
    radial-gradient(ellipse 60% 45% at 100% 30%, rgba(57, 255, 20, 0.07), transparent 48%),
    linear-gradient(180deg, var(--carbon-1) 0%, var(--carbon-0) 100%);
  pointer-events: none;
}

.hero__mesh {
  position: absolute;
  inset: -20% -10%;
  background:
    radial-gradient(circle at 20% 40%, rgba(0, 200, 150, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 80% 60%, rgba(57, 255, 20, 0.05) 0%, transparent 40%);
  pointer-events: none;
  will-change: transform, opacity;
}

.motion-ok .hero__mesh {
  animation: mesh-float 18s ease-in-out infinite;
}

@keyframes mesh-float {
  0%,
  100% {
    transform: translate(0, 0) rotate(0deg);
    opacity: 0.85;
  }
  33% {
    transform: translate(-1.5%, 1%) rotate(0.5deg);
    opacity: 1;
  }
  66% {
    transform: translate(1%, -0.5%) rotate(-0.3deg);
    opacity: 0.9;
  }
}

.page-home .hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.85rem;
  margin-bottom: 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald-bright);
  background: rgba(0, 200, 150, 0.1);
  border: 1px solid rgba(0, 230, 180, 0.25);
  border-radius: 999px;
  animation: badge-glow 4s ease-in-out infinite;
}

@keyframes badge-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(0, 230, 180, 0);
  }
  50% {
    box-shadow: 0 0 20px 0 rgba(0, 230, 180, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero-badge {
    animation: none;
  }
}

.page-home .hero h1 .gradient-text {
  background: linear-gradient(120deg, var(--text) 0%, var(--text) 35%, var(--emerald-bright) 55%, var(--neon) 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.steps-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.steps-list li {
  margin-bottom: 0.65rem;
}

.steps-list li:last-child {
  margin-bottom: 0;
}

.steps-list strong {
  color: var(--text);
}

.steps-list a {
  color: var(--emerald-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.steps-list a:hover {
  color: var(--text);
}

.hero-grid {
  position: relative;
  display: grid;
  gap: 2rem;
  align-items: center;
}

.page-home .hero-grid {
  align-items: start;
}

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    padding: 1rem 0 2rem;
  }

  .page-home .hero-grid {
    align-items: start;
    padding: 0 0 1.75rem;
    gap: 2rem;
  }
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.35rem);
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
}

.page-home .hero h1 {
  margin-bottom: 0.85rem;
}

.hero-lead {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 36ch;
  margin: 0 0 1.5rem;
}

.page-home .hero-lead {
  margin-top: 0;
  margin-bottom: 1.15rem;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.page-home .hero-cta-row--primary {
  margin-top: 0;
  margin-bottom: 1.1rem;
}

@media (max-width: 899px) {
  .page-home .hero-cta-row--primary {
    margin-bottom: 1rem;
  }
}

.checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.checklist li::before {
  content: "";
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border-radius: 5px;
  background: linear-gradient(145deg, var(--emerald) 0%, var(--emerald-bright) 100%);
  box-shadow: 0 0 14px rgba(0, 230, 180, 0.35);
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat;
}

.hero-card {
  position: relative;
  background: linear-gradient(155deg, rgba(24, 32, 30, 0.95) 0%, rgba(10, 14, 13, 0.98) 100%);
  border: 1px solid rgba(0, 200, 150, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.5), var(--shadow-glow);
  transition: transform 0.4s var(--ease-out), border-color 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.4), transparent 45%, rgba(0, 230, 180, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.hero-banner-wrap {
  margin: -0.15rem -0.15rem 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  background: #0a0a0a;
  line-height: 0;
}

.hero-banner__img {
  display: block;
  width: 100%;
  height: auto;
}

.motion-ok .hero-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 230, 180, 0.35);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.55), 0 0 60px rgba(0, 230, 180, 0.1);
}

.hero-card-title {
  font-family: var(--font-display);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--neon);
  margin: 0 0 0.75rem;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  text-align: center;
}

.stat {
  padding: 0.75rem 0.25rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--emerald-bright);
}

.stat span {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-card-footer {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Sections */
section {
  padding: 3rem 0;
}

.section-title {
  position: relative;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem;
  padding-bottom: 0.65rem;
}

.section-title::after {
  content: "";
  display: block;
  width: min(140px, 32%);
  height: 3px;
  margin-top: 0.5rem;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--emerald-bright), rgba(232, 197, 71, 0.55), transparent);
  opacity: 0.95;
  box-shadow: 0 0 16px rgba(0, 230, 180, 0.2);
}

.section-intro {
  color: var(--text-muted);
  max-width: 56ch;
  margin: 0 0 2rem;
}

.grid-3 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 640px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  position: relative;
  background: linear-gradient(165deg, var(--carbon-2) 0%, rgba(18, 24, 22, 0.96) 100%);
  border: 1px solid rgba(0, 200, 150, 0.12);
  border-radius: 14px;
  padding: 1.35rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
  transition: transform 0.35s var(--ease-out), border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  contain: content;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 1.25rem;
  right: 1.25rem;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(0, 230, 180, 0.45), transparent);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.card:hover {
  border-color: rgba(0, 230, 180, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
  transform: translateY(-3px);
}

.card:hover::after {
  opacity: 1;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: var(--emerald-bright);
}

.card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Trust strip */
.trust-strip {
  background: linear-gradient(180deg, rgba(10, 14, 13, 0.92) 0%, rgba(5, 8, 7, 0.97) 100%);
  border-block: 1px solid rgba(0, 200, 150, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  padding: 1.35rem 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.trust-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.trust-inner strong {
  color: var(--text);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

details.faq-item {
  background: linear-gradient(165deg, rgba(24, 32, 30, 0.98) 0%, rgba(14, 18, 17, 0.99) 100%);
  border: 1px solid rgba(0, 200, 150, 0.14);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

details.faq-item[open] {
  border-color: rgba(0, 230, 180, 0.28);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

details.faq-item summary {
  padding: 1rem 1.15rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

details.faq-item summary::-webkit-details-marker {
  display: none;
}

details.faq-item summary::after {
  content: "+";
  color: var(--emerald-bright);
  font-size: 1.25rem;
  font-weight: 400;
}

details.faq-item[open] summary::after {
  content: "âˆ’";
}

details.faq-item .faq-a {
  padding: 0 1.15rem 1.15rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1rem;
}

/* Footer */
.site-footer {
  padding: 2.75rem 0 2rem;
  border-top: 1px solid rgba(0, 200, 150, 0.16);
  background: linear-gradient(180deg, rgba(5, 8, 7, 0.5) 0%, rgba(0, 0, 0, 0.42) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.site-footer .logo {
  margin-bottom: 0.5rem;
}

.disclaimer {
  font-size: 0.75rem;
  line-height: 1.5;
  opacity: 0.85;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-legal {
  font-size: 0.82rem;
  line-height: 1.55;
  margin: 0.65rem 0 0.35rem;
  color: var(--text-muted);
}

.footer-legal a {
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-legal a:hover {
  color: var(--emerald-bright);
}

.age-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 0.12rem 0.45rem;
  margin-right: 0.4rem;
  vertical-align: middle;
  border: 1px solid rgba(0, 230, 180, 0.35);
  border-radius: 4px;
  color: var(--emerald-bright);
  background: rgba(0, 200, 150, 0.08);
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 10px 16px calc(10px + var(--safe-bottom));
  background: linear-gradient(180deg, rgba(5, 8, 7, 0.55) 0%, rgba(5, 8, 7, 0.94) 45%, var(--carbon-0) 100%);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border-top: 1px solid rgba(0, 200, 150, 0.22);
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.45);
  display: flex;
  gap: 0.5rem;
  align-items: stretch;
}

.sticky-cta .btn {
  flex: 1;
  min-height: 48px;
  border-radius: 12px;
}

.sticky-cta .btn-ghost {
  flex: 0.45;
}

@media (min-width: 768px) {
  .sticky-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
  }
}

/* Focus */
:focus-visible {
  outline: 2px solid var(--emerald-bright);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 200;
  padding: 0.5rem 1rem;
  background: var(--emerald);
  color: var(--carbon-0);
}

.skip-link:focus {
  left: 16px;
  top: 16px;
}

/* Inner pages â€” hero strip */
.page-hero {
  position: relative;
  padding: 1.75rem 0 2.75rem;
  margin-bottom: 0;
  overflow: hidden;
  border-bottom: 1px solid rgba(0, 200, 150, 0.1);
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 14, 13, 0.5) 0%, transparent 55%);
  pointer-events: none;
}

.page-hero__mesh {
  position: absolute;
  inset: -30% -15%;
  background:
    radial-gradient(circle at 25% 35%, rgba(0, 200, 150, 0.1) 0%, transparent 42%),
    radial-gradient(circle at 85% 55%, rgba(57, 255, 20, 0.06) 0%, transparent 38%);
  pointer-events: none;
  will-change: transform, opacity;
}

.motion-ok .page-hero__mesh {
  animation: mesh-float 20s ease-in-out infinite;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero .breadcrumb {
  margin-bottom: 0.85rem;
}

.page-hero__eyebrow {
  display: inline-block;
  margin: 0 0 0.65rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--emerald-bright);
  background: rgba(0, 200, 150, 0.1);
  border: 1px solid rgba(0, 230, 180, 0.22);
  border-radius: 999px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.8vw, 2.2rem);
  letter-spacing: -0.03em;
  line-height: 1.18;
  margin: 0 0 1rem;
  max-width: 22ch;
  text-wrap: balance;
}

@media (min-width: 720px) {
  .page-hero h1 {
    max-width: none;
  }
}

.page-hero .page-lead {
  margin-bottom: 0;
  font-size: 1.08rem;
  line-height: 1.65;
}

.page-hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1.35rem;
}

/* Inner pages */
.breadcrumb {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 0.55rem 1.05rem;
  background: rgba(0, 28, 24, 0.45);
  border: 1px solid rgba(0, 230, 180, 0.16);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--emerald-bright);
}

.page-article {
  padding: 2.25rem 0 3.75rem;
}

.section-partners {
  padding: 2.25rem 0 3.5rem;
  border-top: 1px solid rgba(0, 200, 150, 0.12);
  background: linear-gradient(180deg, rgba(10, 14, 13, 0.45) 0%, transparent 72%);
}

.section-partners .section-title {
  margin-bottom: 1rem;
}

.page-inner .page-hero {
  padding-bottom: 3rem;
}

.article-layout {
  display: grid;
  gap: 2rem;
  align-items: start;
}

@media (min-width: 960px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 300px);
    gap: 2.75rem;
  }

  .article-aside {
    position: sticky;
    top: calc(56px + 1.25rem);
  }
}

.article-main {
  min-width: 0;
}

.article-main > .prose {
  max-width: none;
}

.article-aside {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.aside-card {
  border-radius: 14px;
  padding: 1.2rem 1.25rem;
  background: linear-gradient(160deg, rgba(22, 30, 28, 0.96) 0%, rgba(10, 14, 13, 0.94) 100%);
  border: 1px solid rgba(232, 197, 71, 0.16);
  box-shadow:
    0 18px 44px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.aside-card h2 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jp-gold);
  margin: 0 0 1rem;
}

.aside-cta .btn {
  width: 100%;
  justify-content: center;
}

.related-list--aside {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

.related-list--aside a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.68rem 0.9rem;
  border-radius: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border: 1px solid rgba(0, 200, 150, 0.14);
  background: rgba(0, 200, 150, 0.05);
  transition: border-color 0.25s var(--ease-out), background 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}

.related-list--aside a:hover {
  border-color: rgba(0, 230, 180, 0.35);
  background: rgba(0, 200, 150, 0.1);
  transform: translateX(3px);
  text-decoration: none;
}

.related-list--aside a::after {
  content: "â†’";
  flex-shrink: 0;
  margin-left: 0.5rem;
  color: var(--emerald-bright);
  font-weight: 700;
  opacity: 0.85;
}

.footer-tagline {
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
  max-width: 38ch;
  line-height: 1.5;
  color: var(--text-muted);
}

.doc-meta {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(0, 200, 150, 0.12);
  font-size: 0.82rem;
  color: var(--text-muted);
}

.page-article h1 {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3.5vw, 2.1rem);
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 1rem;
}

.page-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 65ch;
  margin: 0 0 2rem;
}

.prose a {
  color: var(--emerald-bright);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 230, 180, 0.35);
  transition: border-color 0.25s var(--ease-out), color 0.25s var(--ease-out);
}

.prose a:hover {
  color: var(--text);
  border-bottom-color: rgba(0, 230, 180, 0.65);
}

.prose {
  max-width: 65ch;
}

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 2rem 0 0.75rem;
  padding-left: 0.85rem;
  border-left: 3px solid rgba(0, 230, 180, 0.45);
}

.prose p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.prose ul {
  margin: 0 0 1rem;
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.prose.prose--inner h2 {
  margin-top: 1.85rem;
}

.prose.prose--inner > :first-child:is(h2) {
  margin-top: 0;
}

.internal-hub {
  border-radius: 14px;
  padding: 1.25rem 1.35rem;
  margin: 2rem 0;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(145deg, rgba(18, 24, 22, 0.92) 0%, rgba(10, 14, 13, 0.88) 100%);
  border: 1px solid rgba(0, 230, 180, 0.18);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.internal-hub h2 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin: 0 0 0.75rem;
  color: var(--emerald-bright);
}

.internal-hub p {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.internal-hub p:last-child {
  margin-bottom: 0;
}

.related-pages {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 200, 150, 0.1);
}

.related-pages h2 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin: 0 0 1rem;
}

.related-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.related-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
}

/* Scroll reveal â€” GPU-friendly; no-JS & reduced-motion stay visible */
.reveal {
  opacity: 1;
  transform: none;
}

.motion-ok .reveal {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
  transition: opacity 0.65s var(--ease-out), transform 0.65s var(--ease-out);
}

.motion-ok .reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

@media (prefers-reduced-motion: reduce) {
  .motion-ok .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* Hub section polish */
.section-hub {
  padding: 2.5rem 0 3.5rem;
}

.section-hub .grid-3 .card h3 a {
  color: var(--emerald-bright);
  text-decoration: none;
}

.section-hub .grid-3 .card h3 a:hover {
  color: var(--text);
  text-decoration: none;
}

/* Sticky CTA pulse ring */
.sticky-cta .btn-primary {
  box-shadow: 0 4px 24px rgba(0, 230, 180, 0.4);
}

.motion-ok .sticky-cta .btn-primary {
  animation: cta-pulse 2.8s ease-in-out infinite;
}

@keyframes cta-pulse {
  0%,
  100% {
    box-shadow: 0 4px 24px rgba(0, 230, 180, 0.4);
  }
  50% {
    box-shadow: 0 4px 28px rgba(0, 230, 180, 0.55), 0 0 28px rgba(57, 255, 20, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ok .sticky-cta .btn-primary {
    animation: none;
  }
}

/* â€”â€” Design refinement: texture, type, surfaces â€”â€” */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.045;
  background-image: repeating-linear-gradient(
    -12deg,
    transparent,
    transparent 2px,
    rgba(255, 255, 255, 0.04) 2px,
    rgba(255, 255, 255, 0.04) 3px
  );
  mix-blend-mode: overlay;
}

.hero,
.page-hero {
  position: relative;
  isolation: isolate;
}

.hero::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 45%);
  mix-blend-mode: soft-light;
}

.hero .container,
.page-hero .container {
  position: relative;
  z-index: 1;
}

.hero-lead,
.page-lead {
  text-wrap: pretty;
}

/* â€”â€” Home: ticker + jackpot (non-AMP) â€”â€” */
.home-ticker-wrap {
  grid-column: 1 / -1;
  margin-bottom: 0.25rem;
}

.home-ticker {
  overflow: hidden;
  max-width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(0, 230, 180, 0.22);
  background: linear-gradient(180deg, rgba(0, 36, 30, 0.65) 0%, rgba(0, 22, 20, 0.72) 100%);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 8px 28px rgba(0, 0, 0, 0.28);
  padding: 0.5rem 0;
}

.home-ticker__track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  animation: home-tick 22s linear infinite;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.home-ticker__hot {
  display: inline-block;
  margin: 0 0.75rem;
  padding: 0.12rem 0.45rem;
  border-radius: 4px;
  font-size: 0.58rem;
  font-weight: 800;
  color: #ff6b6b;
  background: rgba(255, 80, 80, 0.12);
  border: 1px solid rgba(255, 100, 100, 0.35);
}

@keyframes home-tick {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-ticker__track {
    animation: none;
  }
}

.jackpot-card {
  position: relative;
  overflow: hidden;
  margin: 0 0 0.65rem;
  padding: 1rem 1.05rem 0.85rem;
  border-radius: 14px;
  background: linear-gradient(
    155deg,
    rgba(232, 197, 71, 0.09) 0%,
    rgba(18, 24, 22, 0.96) 42%,
    rgba(10, 14, 13, 0.99) 100%
  );
  border: 1px solid rgba(232, 197, 71, 0.32);
  box-shadow:
    0 14px 42px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(0, 230, 180, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.jackpot-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(232, 197, 71, 0.55), transparent);
  pointer-events: none;
}

.jackpot-card__top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.35rem;
}

.jackpot-card__live {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #ff8a8a;
}

.jackpot-card__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff4444;
  box-shadow: 0 0 10px rgba(255, 68, 68, 0.85);
  animation: jp-dot 1.15s ease-in-out infinite;
}

@keyframes jp-dot {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.35;
    transform: scale(0.85);
  }
}

@media (prefers-reduced-motion: reduce) {
  .jackpot-card__dot {
    animation: none;
  }
}

.jackpot-card__tag {
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--jp-gold);
  border: 1px solid rgba(232, 197, 71, 0.45);
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: rgba(232, 197, 71, 0.08);
}

.jackpot-card__label {
  margin: 0 0 0.2rem;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.jackpot-card__amount {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(
    95deg,
    var(--jp-gold-dim) 0%,
    #fff9e0 40%,
    var(--jp-gold) 55%,
    var(--jp-gold-dim) 100%
  );
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 0 14px rgba(232, 197, 71, 0.25));
}

.motion-ok .jackpot-card__amount {
  animation: jp-shine 4s linear infinite;
}

@keyframes jp-shine {
  0% {
    background-position: 0% center;
  }
  100% {
    background-position: 200% center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ok .jackpot-card__amount {
    animation: none;
  }
}

.jackpot-card__bar {
  height: 7px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.4);
  overflow: hidden;
  margin-bottom: 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.jackpot-card__fill {
  display: block;
  height: 100%;
  width: 78%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--emerald), var(--emerald-bright), var(--neon));
  background-size: 180% 100%;
  box-shadow: 0 0 14px rgba(0, 230, 180, 0.35);
}

.motion-ok .jackpot-card__fill {
  animation: jp-bar 2.8s ease-in-out infinite;
}

@keyframes jp-bar {
  0%,
  100% {
    width: 72%;
    background-position: 0% 0%;
  }
  50% {
    width: 91%;
    background-position: 100% 0%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ok .jackpot-card__fill {
    animation: none;
    width: 82%;
  }
}

.jackpot-card__meta {
  margin: 0;
  font-size: 0.68rem;
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: #7a9e92;
}

.cta-hint {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--jp-gold);
  text-shadow: 0 0 18px rgba(232, 197, 71, 0.2);
}

.motion-ok .cta-hint {
  animation: hint-fade 3s ease-in-out infinite;
}

@keyframes hint-fade {
  0%,
  100% {
    opacity: 0.88;
  }
  50% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ok .cta-hint {
    animation: none;
  }
}

.motion-ok .page-home .btn-primary--pulse {
  animation: hero-cta-glow 2.6s ease-in-out infinite;
}

@keyframes hero-cta-glow {
  0%,
  100% {
    box-shadow: 0 4px 22px rgba(0, 230, 180, 0.35);
  }
  50% {
    box-shadow:
      0 6px 32px rgba(0, 230, 180, 0.48),
      0 0 28px rgba(57, 255, 20, 0.12);
  }
}

@media (prefers-reduced-motion: reduce) {
  .motion-ok .page-home .btn-primary--pulse {
    animation: none;
  }
}

.page-home .hero-card {
  border-color: rgba(232, 197, 71, 0.12);
  box-shadow:
    0 24px 56px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(232, 197, 71, 0.06),
    var(--shadow-glow);
}

/* Inner pages: stronger hero strip + eyebrow pulse */
.page-hero {
  border-bottom: 1px solid rgba(0, 200, 150, 0.14);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.22);
}

.motion-ok .page-hero__eyebrow {
  animation: badge-glow 5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .motion-ok .page-hero__eyebrow {
    animation: none;
  }
}

.card {
  border-color: rgba(0, 200, 150, 0.14);
  box-shadow:
    0 6px 24px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.motion-ok .card:hover {
  box-shadow:
    0 20px 44px rgba(0, 0, 0, 0.42),
    0 0 32px rgba(0, 230, 180, 0.08);
}

.internal-hub {
  border-color: rgba(232, 197, 71, 0.12);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.05),
    0 0 40px rgba(0, 230, 180, 0.04);
}


