.page-home {
  --home-gold-glow: rgba(212, 168, 67, 0.18);
  --home-orange-glow: rgba(230, 126, 34, 0.14);
  --home-green-glow: rgba(46, 139, 87, 0.16);
  --home-card-bg: rgba(245, 240, 230, 0.04);
  --home-card-line: rgba(245, 240, 230, 0.09);
  position: relative;
  background: var(--primary-deep-blue);
  color: var(--neutral-rice-white);
  overflow-x: clip;
  font-size: 16px;
  line-height: 1.65;
}

.page-home .home-crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: var(--dark-faint);
}
.page-home .home-crumb .home-crumb__sep {
  color: var(--primary-gold);
  opacity: 0.7;
}

.page-home .home-hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) clamp(20px, 5vw, 64px) clamp(56px, 9vw, 112px);
  background:
    radial-gradient(900px 460px at 86% 12%, var(--home-gold-glow), transparent 62%),
    radial-gradient(700px 380px at 8% 88%, var(--home-orange-glow), transparent 60%),
    linear-gradient(175deg, #0B1E3A 0%, #0F2A50 55%, #0B1E3A 100%);
  overflow: hidden;
}
.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  align-items: center;
}
.page-home .home-hero__content {
  position: relative;
  z-index: 2;
}
.page-home .section-kicker {
  margin: 0 0 14px;
}
.page-home .home-hero h1 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(32px, 5.4vw, 62px);
  line-height: 1.12;
  letter-spacing: 0.02em;
  margin: 0;
  color: var(--neutral-rice-white);
  max-width: 11em;
}
.page-home .home-hero__lead {
  margin: 22px 0 30px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.8;
  color: var(--dark-muted);
  max-width: 35em;
  border-left: 3px solid var(--primary-gold);
  padding-left: 18px;
}
.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.page-home .home-hero__quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 460px;
  margin: 36px 0 0;
  padding: 0;
  list-style: none;
}
.page-home .home-hero__quick-item {
  padding: 16px 14px;
  background: rgba(245, 240, 230, 0.06);
  border-left: 2px solid var(--primary-gold);
  border-radius: 2px;
}
.page-home .home-hero__quick dt {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--dark-faint);
  text-transform: uppercase;
}
.page-home .home-hero__quick dd {
  margin: 6px 0 0;
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 600;
  line-height: 1;
  color: var(--primary-gold);
}
.page-home .home-hero__visual {
  position: relative;
  z-index: 1;
}
.page-home .home-hero__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 28px 8px 28px 8px;
  box-shadow: 0 30px 80px rgba(2, 8, 20, 0.55);
  object-fit: cover;
}
.page-home .home-hero__visual::after {
  content: "";
  position: absolute;
  top: 18px;
  right: -14px;
  width: 70%;
  height: 70%;
  border: 1.5px solid rgba(212, 168, 67, 0.3);
  border-radius: 28px 8px 28px 8px;
  z-index: -1;
}
.page-home .home-hero__orbit {
  position: absolute;
  top: -12%;
  left: -8%;
  width: 200px;
  height: 200px;
  opacity: 0.4;
  pointer-events: none;
  animation: home-float 6s ease-in-out infinite;
}
@keyframes home-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.page-home .home-hero__ridge {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: clamp(80px, 12vw, 180px);
  pointer-events: none;
  opacity: 0.8;
}

.page-home .home-band {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: linear-gradient(120deg, var(--accent-desert-orange), var(--primary-gold));
  color: var(--primary-deep-blue);
  border-block: 1px solid rgba(245, 240, 230, 0.2);
}
.page-home .home-band__item {
  padding: clamp(22px, 3vw, 34px) clamp(16px, 2.4vw, 28px);
  background: rgba(245, 240, 230, 0.1);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.page-home .home-band__num {
  font-family: var(--font-mono);
  font-size: clamp(30px, 4.4vw, 48px);
  font-weight: 700;
  line-height: 1;
}
.page-home .home-band__cap {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  opacity: 0.88;
}

.page-home .home-modules {
  padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 64px) 0;
}
.page-home .home-modules__intro {
  max-width: var(--content-max);
  margin: 0 auto clamp(44px, 6vw, 76px);
}
.page-home .home-modules__intro h2 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 54px);
  line-height: 1.15;
  letter-spacing: 0.02em;
  margin: 12px 0 14px;
  color: var(--neutral-rice-white);
}
.page-home .home-modules__lead {
  color: var(--dark-muted);
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 34em;
  margin: 0;
}

.page-home .home-module {
  position: relative;
  max-width: var(--content-max);
  margin: 0 auto clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 56px);
  background: var(--home-card-bg);
  border: 1px solid var(--home-card-line);
  border-top: 4px solid var(--primary-gold);
  border-radius: 2px;
  box-shadow: 0 24px 60px rgba(2, 8, 20, 0.28);
}
.page-home .home-module--narrow {
  max-width: min(880px, 88%);
  margin-left: auto;
}
.page-home .home-module--narrow-left {
  margin-left: 0;
  margin-right: auto;
}
.page-home .home-module--gold { border-top-color: var(--primary-gold); }
.page-home .home-module--orange { border-top-color: var(--accent-desert-orange); }
.page-home .home-module--green { border-top-color: var(--accent-moss-green); }
.page-home .home-module--clay { border-top-color: var(--neutral-clay); }

.page-home .home-module__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.page-home .home-module__index {
  position: absolute;
  top: -16px;
  right: 4px;
  font-family: var(--font-mono);
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
  color: rgba(245, 240, 230, 0.08);
  pointer-events: none;
  z-index: 0;
}
.page-home .home-module__tags {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}
.page-home .home-module h3 {
  position: relative;
  z-index: 1;
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.22;
  letter-spacing: 0.01em;
  margin: 0 0 14px;
}
.page-home .home-module p {
  position: relative;
  z-index: 1;
  font-size: 15px;
  line-height: 1.75;
  color: var(--dark-muted);
  margin: 0 0 16px;
  max-width: 42em;
}
.page-home .home-module__link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-gold);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid rgba(212, 168, 67, 0.35);
  padding-bottom: 2px;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.page-home .home-module__link:hover {
  border-color: var(--primary-gold);
  color: var(--neutral-rice-white);
}
.page-home .home-module__more {
  position: relative;
  z-index: 1;
  margin: 0 0 16px;
  border: 0;
}
.page-home .home-module__more > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary-gold);
  padding: 4px 0;
}
.page-home .home-module__more > summary::-webkit-details-marker { display: none; }
.page-home .home-module__more > summary::before {
  content: "+";
  font-family: var(--font-mono);
  font-size: 16px;
  line-height: 1;
}
.page-home .home-module__more[open] > summary::before {
  content: "–";
}
.page-home .home-module__more p {
  margin: 12px 0 0;
  padding-left: 14px;
  border-left: 2px solid rgba(212, 168, 67, 0.4);
  color: var(--dark-muted);
  font-size: 14px;
}
.page-home .home-module__media {
  position: relative;
  z-index: 1;
}
.page-home .home-module__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  border-radius: 18px 4px 18px 4px;
  box-shadow: 0 18px 44px rgba(2, 8, 20, 0.4);
  object-fit: cover;
  background: linear-gradient(135deg, rgba(245, 240, 230, 0.08), rgba(11, 30, 58, 0.5));
}
.page-home .home-module__chart {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 14px;
  height: 260px;
  padding: 20px 22px 36px;
  border-radius: 18px 4px 18px 4px;
  background:
    linear-gradient(rgba(245, 240, 230, 0.04), rgba(245, 240, 230, 0.02)),
    repeating-linear-gradient(0deg, transparent 0 64px, rgba(245, 240, 230, 0.08) 64px 65px),
    var(--primary-deep-blue);
  border: 1px solid rgba(245, 240, 230, 0.1);
}
.page-home .home-module__chart-bar {
  flex: 1;
  max-width: 54px;
  height: 100%;
  display: flex;
  align-items: flex-end;
}
.page-home .home-module__chart-bar span {
  display: block;
  width: 100%;
  border-radius: 6px 6px 0 0;
  background: linear-gradient(180deg, var(--primary-gold), var(--accent-desert-orange));
  box-shadow: 0 0 24px rgba(212, 168, 67, 0.25);
}
.page-home .home-module__chart-bar:nth-child(2) span {
  background: linear-gradient(180deg, var(--accent-moss-green), var(--primary-gold));
}
.page-home .home-module__chart-bar:nth-child(4) span {
  background: linear-gradient(180deg, var(--primary-gold), var(--accent-moss-green));
}
.page-home .home-module__chart-axis {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 8px;
  text-align: center;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--dark-faint);
}

.page-home .home-transfer {
  background: var(--neutral-rice-white);
  color: var(--primary-deep-blue);
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 64px);
  margin-top: clamp(48px, 8vw, 100px);
}
.page-home .home-transfer__header {
  max-width: var(--content-max);
  margin: 0 auto clamp(24px, 3vw, 36px);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}
.page-home .home-transfer h2 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  color: var(--primary-deep-blue);
  margin: 10px 0 0;
  letter-spacing: 0.01em;
}
.page-home .home-transfer__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-deep-blue);
  padding: 8px 14px;
  border: 1px solid rgba(11, 30, 58, 0.2);
  border-radius: 999px;
  background: rgba(230, 126, 34, 0.12);
  white-space: nowrap;
}
.page-home .home-transfer__badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-moss-green);
  animation: home-pulse 1.6s infinite;
}
@keyframes home-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(46, 139, 87, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(46, 139, 87, 0); }
}
.page-home .home-transfer__note {
  max-width: var(--content-max);
  margin: 0 auto 32px;
  color: var(--neutral-rock-gray);
  font-size: 15px;
  line-height: 1.75;
}
.page-home .home-transfer__list {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.page-home .home-transfer__row {
  border: 1px solid rgba(11, 30, 58, 0.14);
  border-left: 4px solid var(--accent-desert-orange);
  background: rgba(255, 255, 255, 0.65);
  border-radius: 2px;
}
.page-home .home-transfer__row > summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px 14px;
  align-items: center;
  padding: 16px 18px;
  font-size: 15px;
}
.page-home .home-transfer__row > summary::-webkit-details-marker { display: none; }
.page-home .home-transfer__row > summary:hover {
  background: rgba(230, 126, 34, 0.05);
}
.page-home .home-transfer__league {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--accent-desert-orange);
  background: rgba(230, 126, 34, 0.12);
  padding: 4px 8px;
  border-radius: 2px;
  white-space: nowrap;
}
.page-home .home-transfer__title {
  font-weight: 600;
  color: var(--primary-deep-blue);
}
.page-home .home-transfer__count {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--neutral-slate);
  background: rgba(11, 30, 58, 0.06);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.page-home .home-transfer__body {
  padding: 0 18px 16px;
  display: grid;
  gap: 12px;
}
.page-home .home-transfer__body p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--neutral-rock-gray);
}
.page-home .home-transfer__fav {
  border: 0;
  margin: 0;
}
.page-home .home-transfer__fav > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-moss-green);
  padding: 6px 14px;
  border: 1px solid rgba(46, 139, 87, 0.4);
  border-radius: 999px;
  background: rgba(46, 139, 87, 0.08);
  width: fit-content;
}
.page-home .home-transfer__fav > summary::-webkit-details-marker { display: none; }
.page-home .home-transfer__fav[open] > summary {
  background: var(--accent-moss-green);
  color: var(--neutral-rice-white);
}
.page-home .home-transfer__fav-done {
  display: block;
  margin-top: 10px;
  font-size: 13px;
  color: var(--accent-moss-green);
  padding: 8px 12px;
  background: rgba(46, 139, 87, 0.1);
  border-radius: 6px;
}
.page-home .home-transfer__footer {
  max-width: var(--content-max);
  margin: 28px auto 0;
  text-align: right;
}

.page-home .home-devices {
  padding: clamp(72px, 10vw, 140px) clamp(20px, 5vw, 64px);
  background:
    radial-gradient(760px 300px at 85% 10%, rgba(212, 168, 67, 0.1), transparent 60%),
    var(--primary-deep-blue);
  border-top: 1px solid rgba(245, 240, 230, 0.08);
  border-bottom: 1px solid rgba(245, 240, 230, 0.08);
}
.page-home .home-devices__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.page-home .home-devices__intro {
  margin-bottom: clamp(36px, 5vw, 56px);
}
.page-home .home-devices h2 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0.01em;
  margin: 12px 0 10px;
}
.page-home .home-devices__lead {
  color: var(--dark-muted);
  font-size: 16px;
  margin: 0;
}
.page-home .home-devices__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.page-home .home-device {
  padding: clamp(24px, 3vw, 36px);
  background: rgba(245, 240, 230, 0.04);
  border: 1px solid rgba(245, 240, 230, 0.08);
  border-radius: 2px;
  border-top: 3px solid var(--primary-gold);
  transition: transform 0.2s ease, background 0.2s ease;
}
.page-home .home-device:nth-child(2) {
  border-top-color: var(--accent-desert-orange);
}
.page-home .home-device:nth-child(3) {
  border-top-color: var(--accent-moss-green);
}
.page-home .home-device:hover {
  transform: translateY(-4px);
  background: rgba(245, 240, 230, 0.08);
}
.page-home .home-device__icon {
  width: 44px;
  height: 44px;
  color: var(--primary-gold);
  margin-bottom: 14px;
  display: block;
}
.page-home .home-device h3 {
  font-family: var(--font-headline);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 10px;
}
.page-home .home-device p {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: var(--dark-muted);
}
.page-home .home-devices__cta {
  margin-top: 36px;
  text-align: center;
}

.page-home .home-updates {
  padding: clamp(64px, 9vw, 120px) clamp(20px, 5vw, 64px);
  background: var(--neutral-rice-white);
  color: var(--primary-deep-blue);
}
.page-home .home-updates__inner {
  max-width: var(--content-max);
  margin: 0 auto;
}
.page-home .home-updates h2 {
  font-family: var(--font-headline);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 48px);
  letter-spacing: 0.01em;
  margin: 12px 0 28px;
}
.page-home .home-updates__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
}
.page-home .home-updates__list li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(11, 30, 58, 0.12);
}
.page-home .home-updates__badge {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--accent-desert-orange);
  border: 1px solid rgba(230, 126, 34, 0.4);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
  margin-top: 2px;
}
.page-home .home-updates__list h3 {
  font-family: var(--font-headline);
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 6px;
}
.page-home .home-updates__list p {
  margin: 0;
  font-size: 14px;
  line-height: 1.65;
  color: var(--neutral-rock-gray);
}
.page-home .home-updates__meta {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--neutral-slate);
  white-space: nowrap;
  margin-top: 4px;
}
.page-home .home-updates__footer {
  margin-top: 32px;
  text-align: center;
}

.page-home .home-extras {
  padding: clamp(56px, 8vw, 100px) clamp(20px, 5vw, 64px);
  background:
    radial-gradient(820px 320px at 50% 100%, rgba(212, 168, 67, 0.12), transparent 70%),
    var(--primary-deep-blue);
  text-align: center;
}
.page-home .home-extras__inner {
  max-width: 720px;
  margin: 0 auto;
}
.page-home .home-extras p {
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 26px;
}
.page-home .home-extras__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.page-home [data-reveal] {
  transition: opacity 0.35s ease, transform 0.35s ease;
}

@media (min-width: 860px) {
  .page-home .home-hero__inner {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: clamp(40px, 6vw, 88px);
  }
  .page-home .home-hero__quick {
    gap: 14px;
  }
  .page-home .home-band {
    grid-template-columns: repeat(4, 1fr);
  }
  .page-home .home-module {
    grid-template-columns: 1fr 1fr;
    gap: clamp(32px, 5vw, 64px);
  }
  .page-home .home-module--reverse .home-module__copy { order: 2; }
  .page-home .home-module--reverse .home-module__media { order: 1; }
  .page-home .home-devices__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
}

@media (max-width: 859px) {
  .page-home .home-module--narrow,
  .page-home .home-module--narrow-left {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .page-home .home-module--reverse .home-module__copy { order: 1; }
  .page-home .home-module--reverse .home-module__media { order: 2; }
}

@media (max-width: 620px) {
  .page-home .home-hero__quick {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .page-home .home-hero__quick-item {
    padding: 12px 10px;
  }
  .page-home .home-transfer__row > summary {
    grid-template-columns: auto 1fr;
    gap: 8px 12px;
  }
  .page-home .home-transfer__count {
    grid-column: 2;
    justify-self: start;
  }
  .page-home .home-updates__list li {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 20px 0;
  }
  .page-home .home-updates__badge {
    width: fit-content;
  }
  .page-home .home-updates__meta {
    margin-top: 0;
  }
  .page-home .home-module__chart {
    height: 200px;
    gap: 10px;
  }
}
