.page-home {
  --home-purple-soft: #b57bff;
  --home-text-soft: #c7d2e2;
  background: var(--jbo-bg);
  color: var(--jbo-text);
  overflow-x: hidden;
}

.page-home .home-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--jbo-accent-3);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.page-home .home-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--jbo-accent);
  flex: 0 0 auto;
}

.page-home .home-kicker--local {
  color: var(--home-purple-soft);
}

.page-home .home-kicker--apple {
  color: var(--jbo-accent-3);
}

.page-home .home-kicker--center {
  justify-content: center;
}

.page-home h2 {
  font-family: var(--jbo-font-display);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 900;
  font-style: italic;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

.page-home .home-hero {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  padding: calc(var(--jbo-header-height) + 24px) 0 56px;
  background:
    radial-gradient(ellipse at 78% 12%, rgba(138, 43, 226, 0.45) 0%, transparent 52%),
    linear-gradient(135deg, #0a1128 0%, #0d1a33 45%, #000 100%);
  overflow: hidden;
}

.page-home .home-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.28;
  filter: saturate(1.15) contrast(1.05);
  z-index: 0;
}

.page-home .home-hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 17, 40, 0.85) 0%, rgba(10, 17, 40, 0.45) 55%, rgba(10, 17, 40, 0.94) 100%),
    radial-gradient(ellipse at 70% 20%, rgba(138, 43, 226, 0.35) 0%, transparent 55%);
  z-index: 1;
}

.page-home .home-hero__deco {
  position: absolute;
  z-index: 1;
  pointer-events: none;
}

.page-home .home-hero__deco--purple {
  width: 44%;
  height: 48%;
  right: -4%;
  top: 6%;
  background: linear-gradient(135deg, rgba(138, 43, 226, 0.92), rgba(138, 43, 226, 0.28));
  clip-path: polygon(18% 0, 100% 0, 100% 100%, 0 100%);
  transform: skewX(-8deg);
  opacity: 0.7;
}

.page-home .home-hero__deco--cyan {
  width: 24%;
  height: 18%;
  right: 14%;
  bottom: -6%;
  background: linear-gradient(90deg, rgba(0, 240, 255, 0.55), transparent);
  clip-path: polygon(6% 0, 100% 0, 92% 100%, 0 100%);
  opacity: 0.4;
}

.page-home .home-hero__vertical {
  position: absolute;
  right: 22px;
  bottom: 96px;
  writing-mode: vertical-rl;
  font-family: var(--jbo-font-display);
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  color: rgba(232, 236, 241, 0.45);
  text-transform: uppercase;
  z-index: 2;
}

.page-home .home-hero__inner {
  position: relative;
  z-index: 2;
}

.page-home .home-hero__crumb {
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--jbo-accent-3);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-home .home-hero__eyebrow {
  color: var(--jbo-text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.page-home .home-hero__title {
  font-family: var(--jbo-font-display);
  font-size: clamp(3.25rem, 8vw, 6.5rem);
  font-weight: 900;
  font-style: italic;
  line-height: 0.96;
  letter-spacing: -0.03em;
  margin: 0 0 20px;
}

.page-home .home-hero__title span:last-child {
  display: block;
  color: var(--jbo-accent);
  text-shadow: 0 0 28px rgba(57, 255, 20, 0.35);
}

.page-home .home-hero__lead {
  max-width: 620px;
  color: var(--home-text-soft);
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0 0 28px;
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.page-home .home-hero__ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 22px;
  border: 1px solid var(--jbo-border);
  border-radius: 999px;
  color: var(--jbo-text);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  background: rgba(18, 26, 42, 0.5);
  transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.page-home .home-hero__ghost:hover {
  border-color: var(--jbo-accent-3);
  background: rgba(0, 240, 255, 0.12);
  transform: translateY(-2px);
}

.page-home .home-hero__stats {
  display: flex;
  flex-wrap: wrap;
  gap: 42px;
  margin: 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--jbo-border);
  max-width: 720px;
}

.page-home .home-hero__stat {
  margin: 0;
  display: flex;
  flex-direction: column;
}

.page-home .home-hero__stat dd {
  order: -1;
  font-family: var(--jbo-font-display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 900;
  font-style: italic;
  color: var(--jbo-accent);
  margin: 0;
  line-height: 1;
}

.page-home .home-hero__stat dt {
  margin-top: 6px;
  font-size: 0.85rem;
  color: var(--jbo-text-muted);
}

.page-home .home-entry {
  position: relative;
  padding: 88px 0 100px;
  background:
    radial-gradient(ellipse at 10% 20%, rgba(138, 43, 226, 0.14) 0%, transparent 50%),
    var(--jbo-bg);
}

.page-home .home-entry__heading {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: end;
  margin-bottom: 40px;
}

.page-home .home-entry__intro {
  margin: 0;
  color: var(--home-text-soft);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 620px;
}

.page-home .home-entry__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-home .home-entry__feature {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--jbo-bg-elevated);
  border: 1px solid var(--jbo-border);
  border-radius: var(--jbo-radius);
  box-shadow: var(--jbo-shadow);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.page-home .home-entry__feature:hover {
  transform: translateY(-6px);
  border-color: rgba(57, 255, 20, 0.5);
  box-shadow: 10px 10px 0 rgba(138, 43, 226, 0.35);
}

.page-home .home-entry__thumb {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.page-home .home-entry__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.page-home .home-entry__thumb .jbo-chip {
  position: absolute;
  left: 14px;
  top: 14px;
}

.page-home .home-entry__feature-body {
  display: block;
  padding: 22px 24px 26px;
}

.page-home .home-entry__feature-title {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.page-home .home-entry__feature-text {
  display: block;
  color: var(--jbo-text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 14px;
}

.page-home .home-entry__feature-link {
  display: inline-block;
  color: var(--jbo-accent);
  font-weight: 700;
  font-size: 0.95rem;
}

.page-home .home-entry__items {
  display: grid;
  gap: 12px;
  align-content: stretch;
}

.page-home .home-entry__item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--jbo-bg-elevated);
  border: 1px solid var(--jbo-border);
  border-radius: var(--jbo-radius);
  padding: 20px 22px;
  text-decoration: none;
  color: inherit;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
  overflow: hidden;
}

.page-home .home-entry__item:hover {
  transform: translateX(6px);
  border-color: var(--jbo-accent-2);
  background: rgba(138, 43, 226, 0.14);
}

.page-home .home-entry__index {
  font-family: var(--jbo-font-display);
  font-size: 1.6rem;
  font-weight: 900;
  font-style: italic;
  color: var(--jbo-accent-2);
  line-height: 1;
  flex: 0 0 auto;
}

.page-home .home-entry__item-main {
  display: block;
}

.page-home .home-entry__item-main strong {
  display: block;
  font-size: 1.14rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.page-home .home-entry__item-main span {
  display: block;
  color: var(--jbo-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.page-home .home-local {
  position: relative;
  padding: 96px 0 104px;
  background: linear-gradient(115deg, #0a1128 0%, #121a2a 62%, rgba(138, 43, 226, 0.14) 100%);
  overflow: hidden;
}

.page-home .home-local::before {
  content: "JL";
  position: absolute;
  right: -40px;
  top: 20px;
  font-family: var(--jbo-font-display);
  font-weight: 900;
  font-size: clamp(8rem, 20vw, 16rem);
  font-style: italic;
  color: rgba(138, 43, 226, 0.08);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.page-home .home-local__wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.page-home .home-local__content h2 {
  margin-bottom: 18px;
}

.page-home .home-local__text {
  color: var(--home-text-soft);
  line-height: 1.75;
  margin: 0 0 26px;
  max-width: 560px;
}

.page-home .home-local__list {
  list-style: none;
  margin: 0 0 30px;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .home-local__list li {
  position: relative;
  padding-left: 32px;
  color: var(--jbo-text);
  font-size: 0.98rem;
  line-height: 1.55;
}

.page-home .home-local__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.35em;
  width: 18px;
  height: 18px;
  background: var(--jbo-accent);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  opacity: 0.9;
}

.page-home .home-local__figure {
  margin: 0;
  border: 1px solid var(--jbo-border);
  border-radius: var(--jbo-radius);
  box-shadow: 10px 10px 0 rgba(0, 240, 255, 0.22);
  overflow: hidden;
  background: var(--jbo-bg-elevated);
}

.page-home .home-local__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .home-local__figure figcaption {
  padding: 12px 18px;
  font-size: 0.85rem;
  color: var(--jbo-text-muted);
  border-top: 1px solid var(--jbo-border);
}

.page-home .home-apple {
  padding: 72px 0 96px;
  background: var(--jbo-bg);
}

.page-home .home-apple__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

.page-home .home-apple__figure {
  position: relative;
  margin: 0;
  max-width: 340px;
  isolation: isolate;
  order: 2;
}

.page-home .home-apple__figure::after {
  content: "";
  position: absolute;
  inset: 16px -16px -16px 16px;
  border: 2px solid var(--jbo-accent);
  border-radius: 26px;
  z-index: -1;
  pointer-events: none;
}

.page-home .home-apple__figure img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 6 / 12;
  object-fit: cover;
  border-radius: 26px;
  border: 1px solid var(--jbo-border);
  box-shadow: 12px 12px 0 rgba(0, 240, 255, 0.18);
}

.page-home .home-apple__content {
  order: 1;
}

.page-home .home-apple__content h2 {
  margin-bottom: 18px;
}

.page-home .home-apple__text {
  color: var(--home-text-soft);
  line-height: 1.75;
  margin: 0 0 28px;
  max-width: 560px;
}

.page-home .home-apple__points {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 14px;
}

.page-home .home-apple__points li {
  position: relative;
  padding: 16px 18px 16px 46px;
  background: var(--jbo-bg-elevated);
  border: 1px solid var(--jbo-border);
  border-radius: var(--jbo-radius);
  color: #d6e1f0;
  line-height: 1.55;
}

.page-home .home-apple__points li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 22px;
  width: 12px;
  height: 12px;
  background: var(--jbo-accent-3);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.page-home .home-apple__points strong {
  color: var(--jbo-accent);
  font-size: 1.05rem;
  font-weight: 800;
}

.page-home .home-apple__more {
  color: var(--jbo-accent-3);
  font-weight: 700;
  text-decoration: none;
  transition: color 0.25s ease;
}

.page-home .home-apple__more:hover {
  color: var(--jbo-accent);
}

.page-home .home-speed {
  position: relative;
  padding: 100px 0 104px;
  background:
    linear-gradient(rgba(138, 43, 226, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(138, 43, 226, 0.08) 1px, transparent 1px),
    linear-gradient(180deg, #0a1128 0%, rgba(138, 43, 226, 0.22) 100%);
  background-size: 48px 48px, 48px 48px, auto;
  overflow: hidden;
}

.page-home .home-speed__glow {
  position: absolute;
  width: 520px;
  height: 520px;
  right: -120px;
  top: -160px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.3) 0%, transparent 65%);
  pointer-events: none;
}

.page-home .home-speed__wrap {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-home .home-speed__wrap h2 {
  margin-bottom: 18px;
}

.page-home .home-speed__lead {
  color: var(--home-text-soft);
  font-size: 1.08rem;
  line-height: 1.75;
  margin: 0 auto 44px;
  max-width: 680px;
}

.page-home .home-speed__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 48px;
}

.page-home .home-speed__stat {
  background: var(--jbo-bg-elevated);
  border: 1px solid var(--jbo-border);
  border-radius: var(--jbo-radius);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  box-shadow: var(--jbo-shadow);
  transition: border-color 0.25s ease, transform 0.25s ease;
}

.page-home .home-speed__stat:hover {
  border-color: var(--jbo-accent);
  transform: translateY(-3px);
}

.page-home .home-speed__num {
  font-family: var(--jbo-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  font-style: italic;
  color: var(--jbo-accent);
  line-height: 1;
}

.page-home .home-speed__label {
  color: var(--jbo-text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.page-home .home-speed__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.page-home .home-speed__link {
  display: inline-flex;
  align-items: center;
  padding: 13px 20px;
  color: var(--jbo-text);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--jbo-border);
  border-radius: 999px;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.page-home .home-speed__link:hover {
  border-color: var(--jbo-accent);
  color: var(--jbo-accent);
  background: rgba(57, 255, 20, 0.06);
}

@media (max-width: 720px) {
  .page-home .home-hero__vertical {
    display: none;
  }

  .page-home .home-hero__stats {
    gap: 24px;
  }
}

@media (min-width: 760px) {
  .page-home .home-speed__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 900px) {
  .page-home .home-hero {
    min-height: calc(100vh - var(--jbo-header-height));
    padding-top: var(--jbo-header-height);
  }

  .page-home .home-entry__heading {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 48px;
  }

  .page-home .home-entry__grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 20px;
  }

  .page-home .home-local__wrap {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }

  .page-home .home-apple__wrap {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 72px;
  }

  .page-home .home-apple__figure {
    order: 1;
    max-width: 380px;
  }

  .page-home .home-apple__content {
    order: 2;
  }
}
