.page-home {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  scroll-behavior: smooth;
}

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

.page-home .mono,
.page-home .num {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
}

/* ---------- Hero ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(1.6rem, 5vw, 2.4rem) 0 clamp(2.4rem, 6vw, 4.5rem);
  background:
    radial-gradient(120% 90% at 88% 0%, rgba(244, 162, 97, .34), transparent 62%),
    linear-gradient(142deg, #14213D 0%, #1D3557 58%, #B5222F 152%);
  color: var(--cream);
}

.page-home .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(255, 216, 168, .5) 1px, transparent 1.4px);
  background-size: 26px 26px;
  opacity: .22;
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}

.page-home .hero__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .24;
  filter: saturate(.9);
}

.page-home .hero__ribbon {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 70%;
  opacity: .75;
}

.page-home .hero__inner {
  position: relative;
  display: grid;
  gap: 1.8rem;
}

.page-home .hero__kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 1rem;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.page-home .hero__dot {
  width: .55rem;
  height: .55rem;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(42, 157, 143, .28);
}

.page-home .hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(2.15rem, 8vw, 4.6rem);
  line-height: .98;
  letter-spacing: -.02em;
}

.page-home .hero__title em {
  display: block;
  margin-top: .18em;
  font-style: normal;
  color: var(--gold);
  transform: skewX(-6deg);
  transform-origin: left bottom;
}

.page-home .hero__lead {
  margin: 1.2rem 0 0;
  max-width: 40rem;
  font-size: clamp(.95rem, 2.6vw, 1.06rem);
  line-height: 1.8;
  color: rgba(255, 248, 240, .88);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.5rem;
}

.page-home .hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .1rem;
  margin: 2rem 0 0;
  border-top: 1px solid rgba(255, 216, 168, .28);
}

.page-home .hero__stat {
  padding: .85rem .2rem .2rem;
  border-bottom: 1px solid rgba(255, 216, 168, .16);
}

.page-home .hero__stat dt {
  font-size: .72rem;
  letter-spacing: .06em;
  color: rgba(255, 248, 240, .62);
}

.page-home .hero__stat dd {
  margin: .2rem 0 0;
  font-family: var(--font-mono);
  font-size: 1.22rem;
  color: var(--cream);
}

.page-home .hero__stat dd .num {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--gold);
}

.page-home .hero__index {
  align-self: stretch;
  padding: 1rem 1.1rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 216, 168, .34);
  border-left: 3px solid var(--red);
  background: rgba(255, 248, 240, .09);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-home .hero__index-title {
  margin: 0 0 .7rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .18em;
  color: var(--gold-soft);
}

.page-home .hero__index-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .hero__index-list li + li {
  border-top: 1px dashed rgba(255, 216, 168, .22);
}

.page-home .hero__index-list a {
  display: flex;
  align-items: baseline;
  gap: .7rem;
  padding: .62rem 0;
  color: var(--cream);
  font-size: .92rem;
  text-decoration: none;
  transition: color .2s var(--ease), transform .2s var(--ease);
}

.page-home .hero__index-list a:hover,
.page-home .hero__index-list a:focus-visible {
  color: var(--gold);
  transform: translateX(3px);
}

.page-home .hero__index-list .idx {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--gold);
  letter-spacing: .08em;
}

/* ---------- Sections ---------- */
.page-home .sec {
  padding: clamp(2.6rem, 7vw, 4.6rem) 0;
}

.page-home .sec--tint {
  background: var(--mist);
}

.page-home .sec--dark {
  background:
    radial-gradient(90% 120% at 100% 0%, rgba(230, 57, 70, .22), transparent 60%),
    linear-gradient(160deg, #14213D, #1D3557);
  color: var(--cream);
}

.page-home .sec-head {
  max-width: 44rem;
  margin-bottom: 1.6rem;
}

.page-home .sec-head h2 {
  margin: .4rem 0 .7rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4.4vw, 2.3rem);
  line-height: 1.16;
  letter-spacing: -.01em;
}

.page-home .sec-head--dark h2 {
  color: var(--cream);
}

.page-home .sec-lead {
  margin: 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--graphite);
}

.page-home .sec-head--dark .sec-lead {
  color: rgba(255, 248, 240, .82);
}

.page-home .eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .16em;
  color: var(--red);
}

.page-home .eyebrow--gold {
  color: var(--gold);
}

/* ---------- Filter bar ---------- */
.page-home .filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .45rem;
  margin: 0 0 1.4rem;
}

.page-home .filter-btn {
  padding: .46rem .85rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-mono);
  font-size: .78rem;
  letter-spacing: .04em;
  cursor: pointer;
  transition: background .18s var(--ease), color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .filter-btn:hover,
.page-home .filter-btn:focus-visible {
  border-color: var(--red);
  color: var(--red-deep);
}

.page-home .filter-btn[aria-pressed="true"] {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
}

.page-home .filter-bar--dark .filter-btn {
  background: rgba(255, 248, 240, .08);
  border-color: rgba(255, 216, 168, .32);
  color: var(--cream);
}

.page-home .filter-bar--dark .filter-btn:hover,
.page-home .filter-bar--dark .filter-btn:focus-visible {
  border-color: var(--gold);
  color: var(--gold);
}

.page-home .filter-bar--dark .filter-btn[aria-pressed="true"] {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--midnight);
}

.page-home .filter-count {
  margin-left: auto;
  font-family: var(--font-mono);
  font-size: .74rem;
  color: var(--graphite);
}

.page-home .filter-bar--dark .filter-count {
  color: rgba(255, 248, 240, .7);
}

/* ---------- Member tiers ---------- */
.page-home .tiers {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .tier {
  position: relative;
  padding: 1.3rem 1.2rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-top: 4px solid var(--red);
  background: var(--cream);
  box-shadow: var(--shadow-sm);
  transition: transform .2s var(--ease), box-shadow .2s var(--ease);
}

.page-home .tier:nth-child(even) {
  border-top-color: var(--gold);
}

.page-home .tier:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.page-home .tier__tag {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
  color: var(--red-deep);
}

.page-home .tier__name {
  margin: .35rem 0 .5rem;
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.35;
}

.page-home .tier__price {
  margin: 0 0 .9rem;
  font-family: var(--font-mono);
  font-size: .9rem;
  color: var(--graphite);
}

.page-home .tier__price .num {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--ink);
  margin-right: .1rem;
}

.page-home .tier__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .tier__list li {
  position: relative;
  padding-left: 1rem;
  margin-bottom: .5rem;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--graphite);
}

.page-home .tier__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .42rem;
  height: .42rem;
  background: var(--red);
  transform: rotate(45deg);
}

.page-home .tier--feature {
  background: linear-gradient(160deg, #1D3557, #14213D);
  border-color: transparent;
  border-top-color: var(--gold);
  color: var(--cream);
}

.page-home .tier--feature .tier__tag {
  color: var(--gold);
}

.page-home .tier--feature .tier__price,
.page-home .tier--feature .tier__list li {
  color: rgba(255, 248, 240, .86);
}

.page-home .tier--feature .tier__price .num {
  color: var(--gold);
}

.page-home .tier--feature .tier__list li::before {
  background: var(--gold);
}

.page-home .member-visual {
  margin: 1.6rem 0 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--mist);
}

.page-home .member-visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.page-home .member-visual figcaption {
  padding: .75rem 1rem;
  font-size: .84rem;
  line-height: 1.6;
  color: var(--graphite);
  border-top: 1px solid var(--line);
  background: var(--cream);
}

/* ---------- Tools ---------- */
.page-home .tool-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .tool {
  padding: 1.3rem 1.15rem 1.4rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 216, 168, .26);
  background: rgba(255, 248, 240, .07);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.page-home .tool__title {
  margin: 0 0 .5rem;
  font-family: var(--font-display);
  font-size: 1.32rem;
  font-weight: 900;
  color: var(--gold);
}

.page-home .tool__desc {
  margin: 0 0 1.1rem;
  font-size: .93rem;
  line-height: 1.78;
  color: rgba(255, 248, 240, .84);
}

.page-home .rank-panels {
  display: grid;
  gap: .8rem;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .rank-panel {
  padding: .85rem .9rem;
  border-radius: 10px;
  background: rgba(20, 33, 61, .55);
  border: 1px solid rgba(42, 157, 143, .35);
}

.page-home .rank-panel__head {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin: 0 0 .6rem;
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .04em;
  color: rgba(255, 248, 240, .8);
}

.page-home .rank-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-home .rank-list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .4rem 0;
  border-top: 1px solid rgba(255, 248, 240, .1);
}

.page-home .rank-list li:first-child {
  border-top: 0;
}

.page-home .rank-list__no {
  font-family: var(--font-mono);
  font-size: .78rem;
  color: var(--gold);
  min-width: 1.6rem;
}

.page-home .rank-list__team {
  flex: 1 1 auto;
  font-size: .9rem;
  color: var(--cream);
}

.page-home .rank-list__pts {
  font-family: var(--font-mono);
  font-size: .92rem;
  font-weight: 700;
  color: var(--teal);
}

.page-home .tool__foot {
  margin: 1rem 0 0;
  font-size: .8rem;
  line-height: 1.6;
  color: rgba(255, 248, 240, .62);
}

.page-home .venue-list {
  margin: 0 0 1.1rem;
  padding: 0;
  list-style: none;
}

.page-home .venue-list li {
  display: grid;
  gap: .18rem;
  padding: .6rem 0;
  border-top: 1px dashed rgba(255, 216, 168, .24);
}

.page-home .venue-list li:first-child {
  border-top: 0;
}

.page-home .venue-list__k {
  font-family: var(--font-mono);
  font-size: .76rem;
  letter-spacing: .08em;
  color: var(--gold);
}

.page-home .venue-list__v {
  font-size: .9rem;
  line-height: 1.65;
  color: rgba(255, 248, 240, .86);
}

.page-home .venue-visual {
  margin: 0 0 1.1rem;
  border-radius: 10px;
  overflow: hidden;
}

.page-home .venue-visual img {
  width: 100%;
  aspect-ratio: 12 / 7;
  object-fit: cover;
}

/* ---------- App ---------- */
.page-home .app-grid {
  display: grid;
  gap: 1.6rem;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
}

.page-home .app-copy h2 {
  margin: .4rem 0 .7rem;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.5rem, 4.4vw, 2.2rem);
  line-height: 1.18;
}

.page-home .app-price {
  margin: 1rem 0;
  padding: .8rem 1rem;
  border-left: 4px solid var(--red);
  background: var(--mist);
  border-radius: 0 10px 10px 0;
  font-size: .94rem;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .app-price .num {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--red-deep);
}

.page-home .app-fav {
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
}

.page-home .app-fav li {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  padding: .7rem .9rem;
  border-top: 1px solid var(--mist);
}

.page-home .app-fav li:first-child {
  border-top: 0;
}

.page-home .app-fav__date {
  font-family: var(--font-mono);
  font-size: .8rem;
  color: var(--red-deep);
  letter-spacing: .04em;
}

.page-home .app-fav__txt {
  font-size: .89rem;
  line-height: 1.6;
  color: var(--graphite);
}

.page-home .app-note {
  margin: .9rem 0 1.2rem;
  font-size: .86rem;
  line-height: 1.7;
  color: var(--graphite);
}

.page-home .app-visual {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(160deg, var(--mist), var(--gold-soft));
}

.page-home .app-visual img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}

/* ---------- Trust ---------- */
.page-home .trust-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .trust-card {
  padding: 1.2rem 1.1rem;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}

.page-home .trust-card__no {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--red);
}

.page-home .trust-card__title {
  margin: .4rem 0 .5rem;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.4;
}

.page-home .trust-card p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.75;
  color: var(--graphite);
}

.page-home .trust-card--wide {
  border-left: 4px solid var(--gold);
}

.page-home .trust-contact {
  margin: .2rem 0 0;
  padding: 0;
  list-style: none;
}

.page-home .trust-contact li {
  display: grid;
  gap: .1rem;
  padding: .55rem 0;
  border-top: 1px dashed var(--line);
}

.page-home .trust-contact li:first-child {
  border-top: 0;
}

.page-home .trust-contact span {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--graphite);
}

.page-home .trust-contact strong {
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--ink);
  word-break: break-word;
}

.page-home .trust-note {
  margin: .9rem 0 0;
  font-size: .82rem;
  line-height: 1.7;
  color: var(--graphite);
}

/* ---------- Articles ---------- */
.page-home .article-grid {
  display: grid;
  gap: .9rem;
  grid-template-columns: minmax(0, 1fr);
}

.page-home .article-card {
  display: block;
  padding: 1.1rem 1.1rem 1.2rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--line);
  background: var(--cream);
  color: inherit;
  text-decoration: none;
  transition: border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home .article-card:hover,
.page-home .article-card:focus-visible {
  transform: translateY(-2px);
  border-bottom-color: var(--red);
  box-shadow: var(--shadow-md);
}

.page-home .article-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  margin: 0 0 .55rem;
  font-size: .72rem;
  color: var(--graphite);
}

.page-home .article-card__meta .mono {
  font-size: .72rem;
  letter-spacing: .04em;
  color: var(--graphite);
}

.page-home .article-card h3 {
  margin: 0 0 .45rem;
  font-size: 1.04rem;
  font-weight: 800;
  line-height: 1.42;
}

.page-home .article-card p {
  margin: 0;
  font-size: .88rem;
  line-height: 1.72;
  color: var(--graphite);
}

.page-home .reading-more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem;
  margin-top: 1.5rem;
}

.page-home .link-plain {
  font-size: .88rem;
  color: var(--red-deep);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Breakpoints ---------- */
@media (min-width: 640px) {
  .page-home .tiers {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .rank-panels {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .page-home .trust-card--wide {
    grid-column: 1 / -1;
  }

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

@media (min-width: 960px) {
  .page-home .hero {
    padding-bottom: clamp(3rem, 6vw, 5.5rem);
  }

  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(250px, .55fr);
    align-items: end;
    gap: 2.6rem;
  }

  .page-home .hero__index {
    margin-bottom: .4rem;
  }

  .page-home .tool-grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    gap: 1.6rem;
    align-items: start;
  }

  .page-home .tool--venue {
    margin-top: 2.4rem;
  }

  .page-home .app-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(240px, .6fr);
    gap: 2.6rem;
    align-items: center;
  }

  .page-home .app-visual {
    margin-top: -3rem;
  }

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

  .page-home .article-card:nth-child(2) {
    margin-top: 1.4rem;
  }

  .page-home .article-card:nth-child(4) {
    margin-top: 1.4rem;
  }

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

  .page-home .trust-card--wide {
    grid-column: 1 / -1;
  }

  .page-home .member-visual {
    margin-top: 2rem;
  }

  .page-home .member-visual img {
    aspect-ratio: 21 / 8;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .hero__index-list a,
  .page-home .tier,
  .page-home .article-card,
  .page-home .filter-btn {
    transition: none;
  }

  .page-home .hero__index-list a:hover,
  .page-home .hero__index-list a:focus-visible,
  .page-home .tier:hover,
  .page-home .article-card:hover,
  .page-home .article-card:focus-visible {
    transform: none;
  }
}
