.page-home {
  --ph-line-soft: rgba(10, 31, 68, 0.08);
  --ph-shadow: 0 8px 24px rgba(10, 31, 68, 0.10);
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.75;
  background: var(--paper);
}

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

.page-home .btn-lg {
  padding: 0.9375rem 1.625rem;
  font-size: 0.9375rem;
}

.page-home .section-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.875rem, 4.5vw, 3rem);
  line-height: 1.06;
}

.page-home .section-title-light {
  color: var(--paper);
}

.page-home .section-lead {
  margin: 0;
  max-width: 38em;
  color: var(--line);
  font-size: 1rem;
}

/* ============ Hero ============ */
.page-home .page-hero {
  position: relative;
  background: var(--ink-deep);
  color: var(--paper);
  padding-top: 96px;
  overflow: hidden;
}

.page-home .hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.36;
}

.page-home .hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(115deg, rgba(6, 15, 43, 0.96) 0%, rgba(10, 31, 68, 0.84) 42%, rgba(10, 31, 68, 0.32) 78%, rgba(255, 107, 53, 0.18) 100%);
}

.page-home .hero-content {
  position: relative;
  z-index: 2;
  padding-top: 64px;
  padding-bottom: 56px;
}

.page-home .breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .breadcrumbs a {
  color: var(--accent-soft);
  text-decoration: none;
}

.page-home .hero-kicker {
  margin: 0 0 12px;
  font-family: var(--font-data);
  font-size: 0.875rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-home .hero-title {
  margin: 0 0 20px;
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 0.92;
}

.page-home .hero-title-sub {
  display: block;
  margin-bottom: 12px;
  font-size: clamp(0.875rem, 2vw, 1.25rem);
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.72);
}

.page-home .hero-title-main {
  display: block;
  font-size: clamp(2.75rem, 9vw, 5.5rem);
  text-transform: uppercase;
}

.page-home .hero-lead {
  max-width: 42em;
  margin: 0 0 32px;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.86);
}

.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .page-hero .btn-outline {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--paper);
}

.page-home .page-hero .btn-outline:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
}

.page-home .hero-strip {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 31, 68, 0.72);
}

.page-home .hs-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.page-home .hs-item:nth-child(even) {
  border-right: 0;
}

.page-home .hs-num {
  font-family: var(--font-data);
  font-size: 1.75rem;
  color: var(--paper);
}

.page-home .hs-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.65);
}

.page-home .hero-edged {
  position: relative;
  z-index: 2;
  height: 6px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-soft) 100%);
}

/* ============ Updates ============ */
.page-home .update-section {
  background: var(--paper-gray);
  padding-top: 96px;
  padding-bottom: 96px;
}

.page-home .update-head {
  margin-bottom: 44px;
  max-width: 56em;
}

.page-home .update-head .eyebrow,
.page-home .feature-head .eyebrow,
.page-home .subscribe-copy .eyebrow,
.page-home .download-copy .eyebrow {
  margin: 0 0 12px;
}

.page-home .update-head .section-title {
  margin: 0 0 12px;
}

.page-home .update-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 44px;
}

.page-home .update-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 28px 26px 30px;
  background: var(--paper);
  border: 1px solid var(--ph-line-soft);
  border-radius: var(--radius);
  box-shadow: var(--ph-shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.page-home .update-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent), var(--accent-soft));
  border-radius: var(--radius) 0 0 var(--radius);
}

.page-home .update-no {
  font-family: var(--font-data);
  font-size: 0.875rem;
  color: var(--accent);
}

.page-home .update-tag {
  align-self: flex-start;
  padding: 3px 10px;
  font-family: var(--font-data);
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper-gray);
  border: 1px solid var(--ph-line-soft);
  border-radius: 999px;
}

.page-home .update-card h3 {
  margin: 4px 0 0;
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.15;
}

.page-home .update-card p {
  margin: 0;
  color: var(--line);
  font-size: 0.9375rem;
}

.page-home .update-media {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.page-home .update-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============ Realtime ============ */
.page-home .realtime-section {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--paper);
  padding-top: 96px;
  padding-bottom: 108px;
}

.page-home .realtime-section::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}

.page-home .realtime-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-home .realtime-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.14;
}

.page-home .realtime-inner {
  position: relative;
  z-index: 1;
}

.page-home .realtime-eyebrow {
  margin: 0 0 10px;
  font-family: var(--font-data);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-home .realtime-sub {
  margin: 10px 0 36px;
  color: rgba(255, 255, 255, 0.74);
}

.page-home .live-board {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  padding: 28px 22px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
  margin-bottom: 20px;
}

.page-home .live-club {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: center;
  text-align: center;
}

.page-home .live-club-name {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.76);
}

.page-home .live-value {
  font-family: var(--font-data);
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 1;
  color: var(--paper);
  animation: phHomeGlow 2.4s ease-in-out infinite;
}

@keyframes phHomeGlow {
  0%, 100% {
    text-shadow: 0 0 0 rgba(255, 107, 53, 0);
  }
  50% {
    text-shadow: 0 0 18px rgba(255, 107, 53, 0.5);
  }
}

.page-home .live-unit {
  font-size: 0.55em;
  color: var(--accent-soft);
}

.page-home .live-club-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-home .live-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.75rem;
  color: var(--accent);
}

.page-home .live-bar {
  display: block;
  width: min(240px, 70%);
  height: 6px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  overflow: hidden;
}

.page-home .live-bar > span {
  display: block;
  height: 100%;
  background: var(--accent);
  border-radius: 999px;
}

.page-home .live-bar-accent > span {
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}

.page-home .live-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 24px;
  padding: 0;
  background: transparent;
  border: 0;
}

.page-home .live-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 12px;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
}

.page-home .ls-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.62);
}

.page-home .ls-value {
  font-family: var(--font-data);
  font-size: 1.375rem;
  color: var(--paper);
}

.page-home .realtime-note {
  max-width: 46em;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}

/* ============ Features ============ */
.page-home .feature-section {
  background: var(--paper);
  padding-top: 96px;
  padding-bottom: 96px;
}

.page-home .feature-head {
  margin-bottom: 44px;
  max-width: 52em;
}

.page-home .feature-head .section-title {
  margin: 0 0 12px;
}

.page-home .feature-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.page-home .feature-piece {
  background: var(--paper-gray);
  border: 1px solid var(--ph-line-soft);
  border-radius: var(--radius);
  box-shadow: var(--ph-shadow);
  overflow: hidden;
}

.page-home .feature-piece summary {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 22px 24px;
  cursor: pointer;
  list-style: none;
}

.page-home .feature-piece summary::-webkit-details-marker {
  display: none;
}

.page-home .fp-no {
  font-family: var(--font-data);
  font-size: 1.125rem;
  color: var(--accent);
}

.page-home .fp-title {
  flex: 1 1 auto;
  min-width: 180px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.2;
}

.page-home .fp-tag {
  padding: 3px 12px;
  font-family: var(--font-data);
  font-size: 0.75rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--ph-line-soft);
  border-radius: 999px;
}

.page-home .fp-content {
  padding: 4px 24px 24px;
  border-top: 1px dashed var(--ph-line-soft);
}

.page-home .fp-content p {
  margin: 16px 0 12px;
  color: var(--line);
}

.page-home .fp-content ul {
  margin: 0;
  padding-left: 18px;
  color: var(--line);
  font-size: 0.9375rem;
}

.page-home .fp-content li + li {
  margin-top: 6px;
}

/* ============ Brand ============ */
.page-home .brand-section {
  background: var(--ink);
  color: var(--paper);
  padding-bottom: 96px;
}

.page-home .brand-section::before {
  content: "";
  display: block;
  height: 6px;
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
}

.page-home .brand-media {
  width: 100%;
  height: clamp(240px, 42vw, 440px);
  overflow: hidden;
}

.page-home .brand-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}

.page-home .brand-inner {
  padding-top: 56px;
}

.page-home .brand-kicker {
  margin: 0 0 12px;
  font-family: var(--font-data);
  font-size: 0.8125rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

.page-home .brand-lead {
  max-width: 46em;
  margin: 14px 0 36px;
  font-size: 1.0625rem;
  color: rgba(255, 255, 255, 0.8);
}

.page-home .brand-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 30px;
}

.page-home .brand-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 18px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: var(--radius);
}

.page-home .bs-value {
  font-family: var(--font-data);
  font-size: 1.5rem;
  color: var(--paper);
}

.page-home .bs-label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.6);
}

.page-home .brand-note {
  max-width: 52em;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9375rem;
  border-left: 3px solid var(--accent);
  padding-left: 18px;
}

/* ============ Subscribe ============ */
.page-home .subscribe-section {
  background: var(--paper-gray);
  padding-top: 96px;
  padding-bottom: 96px;
}

.page-home .subscribe-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.page-home .subscribe-copy .section-title {
  margin-bottom: 16px;
}

.page-home .subscribe-copy p {
  margin: 0 0 24px;
  color: var(--line);
  max-width: 40em;
}

.page-home .subscribe-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.page-home .subscribe-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--paper);
  border: 1px solid var(--ph-line-soft);
  border-radius: var(--radius);
  box-shadow: var(--ph-shadow);
}

.page-home .step-index {
  font-family: var(--font-data);
  font-size: 0.875rem;
  color: var(--accent);
  padding-top: 4px;
}

.page-home .step-content h3 {
  margin: 0 0 6px;
  font-size: 1.125rem;
}

.page-home .step-content p {
  margin: 0;
  color: var(--line);
  font-size: 0.9375rem;
}

/* ============ Download ============ */
.page-home .download-section {
  background: var(--paper);
  padding-top: 96px;
  padding-bottom: 96px;
}

.page-home .download-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .download-copy .section-title {
  margin-bottom: 16px;
}

.page-home .download-copy p {
  max-width: 38em;
  margin: 0 0 28px;
  color: var(--line);
}

.page-home .download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .download-qr {
  text-align: center;
}

.page-home .download-qr-box {
  display: inline-block;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--ph-line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

.page-home .download-qr-box img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
}

.page-home .download-qr-note {
  margin: 14px 0 0;
  font-family: var(--font-data);
  font-size: 0.8125rem;
  color: var(--line);
}

/* ============ Back top ============ */
.page-home .back-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 60;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  font-size: 0.8125rem;
  font-family: var(--font-data);
  color: var(--paper);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  opacity: 0.92;
}

.page-home .back-top:hover {
  background: var(--accent);
}

/* ============ Responsive ============ */
@media (min-width: 768px) {
  .page-home .hero-strip {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .hs-item {
    border-bottom: 0;
  }

  .page-home .hs-item:nth-child(even) {
    border-right: 1px solid rgba(255, 255, 255, 0.08);
  }

  .page-home .hs-item:nth-child(4) {
    border-right: 0;
  }

  .page-home .update-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .live-board {
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
    padding: 36px 32px;
  }

  .page-home .live-divider {
    padding: 0 12px;
  }

  .page-home .live-stats {
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
  }

  .page-home .brand-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .page-home .download-qr-box img {
    width: 220px;
    height: 220px;
  }
}

@media (min-width: 1024px) {
  .page-home .page-hero {
    padding-top: 120px;
  }

  .page-home .hero-content {
    padding-top: 88px;
    padding-bottom: 72px;
  }

  .page-home .update-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }

  .page-home .feature-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .page-home .subscribe-inner {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
  }

  .page-home .download-inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home *,
  .page-home *::before,
  .page-home *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
