.page-home {
  --home-gap: 16px;
  --home-gap-lg: 28px;
  --home-radius: 20px;
  --home-radius-sm: 12px;
  --home-glass-bg: rgba(255,255,255,0.08);
  --home-glass-border: rgba(201,162,39,0.32);
  --home-gold-glow: rgba(201,162,39,0.16);
  background-color: var(--color-cream);
  color: var(--color-text);
}
.page-home img {
  max-width: 100%;
  height: auto;
}
.page-home a:focus-visible {
  outline: 2px solid var(--color-gold);
  outline-offset: 3px;
}

.page-home .home-hero {
  background-color: var(--color-primary);
  background-image:
    radial-gradient(circle at 85% 10%, rgba(201,162,39,0.18) 0, rgba(201,162,39,0) 46%),
    linear-gradient(135deg, rgba(179,39,42,0.22) 0%, transparent 42%);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  padding: 40px var(--container-padding) 56px;
}
.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(135deg, rgba(201,162,39,0.1) 0 2px, transparent 2px 18px),
    repeating-linear-gradient(45deg, rgba(201,162,39,0.06) 0 2px, transparent 2px 26px);
  pointer-events: none;
}
.page-home .home-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  top: -60px;
  width: 220px;
  height: 220px;
  border: 2px solid rgba(201,162,39,0.24);
  border-radius: 24px;
  transform: rotate(18deg);
  pointer-events: none;
}
.page-home .hero-grid {
  position: relative;
  z-index: 1;
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  gap: var(--home-gap-lg);
  align-items: center;
}
.page-home .hero-copy .eyebrow {
  color: var(--color-gold-light);
}
.page-home .hero-copy h1 {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.6vw, 3.2rem);
  line-height: 1.2;
  margin: 0.35em 0 0.25em;
  color: var(--color-white);
}
.page-home .hero-desc {
  max-width: 640px;
  font-size: 1.0625rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.86);
  margin-bottom: 10px;
}
.page-home .hero-sub {
  max-width: 640px;
  line-height: 1.65;
  color: var(--color-gold-light);
  font-weight: 600;
  margin-top: 14px;
}
.page-home .hero-figure {
  margin: 0;
}
.page-home .hero-img {
  display: block;
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: var(--home-radius);
  border: 1px solid rgba(201,162,39,0.42);
  box-shadow: 0 28px 56px rgba(0,0,0,0.4);
}
.page-home .hero-index {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  background: var(--home-glass-bg);
  border: 1px solid var(--home-glass-border);
  border-radius: var(--home-radius);
  padding: 14px 16px;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.page-home .hero-index-title {
  flex: 0 0 auto;
  color: var(--color-gold-light);
  font-family: var(--font-serif);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin: 0 14px 0 0;
  font-weight: 700;
}
.page-home .index-item {
  flex: 1 1 140px;
  min-width: 140px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: var(--home-radius-sm);
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.35;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.page-home .index-item:hover,
.page-home .index-item:focus-visible {
  background: var(--home-gold-glow);
  border-color: rgba(201,162,39,0.55);
  transform: translateY(-2px);
}
.page-home .index-num {
  font-family: var(--font-mono);
  font-size: 0.8125rem;
  color: var(--color-gold-light);
  font-weight: 700;
}
.page-home .index-label {
  font-weight: 600;
}

.page-home .home-board {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 40px var(--container-padding) 64px;
  display: grid;
  gap: var(--home-gap);
}

.page-home .product-compare {
  background: var(--color-white);
  border: 1px solid rgba(10,42,94,0.08);
  border-radius: var(--home-radius);
  box-shadow: 0 12px 30px rgba(10,42,94,0.06);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
}
.page-home .product-compare::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, transparent 50%, var(--color-gold) 50%);
  border-radius: 0 var(--home-radius) 0 0;
}
.page-home .compare-header {
  display: grid;
  gap: var(--home-gap);
  margin-bottom: 24px;
}
.page-home .compare-copy .eyebrow {
  color: var(--color-primary);
}
.page-home .compare-copy h2,
.page-home .archive-entry h2,
.page-home .resources-2025 h2,
.page-home .news-summary h2,
.page-home .guide-head h2,
.page-home .contact-cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw, 2rem);
  line-height: 1.3;
  margin: 0.3em 0 0.2em;
}
.page-home .section-lead {
  margin: 0;
  max-width: 520px;
  line-height: 1.7;
}
.page-home .compare-figure {
  margin: 0;
}
.page-home .compare-figure img {
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: var(--home-radius-sm);
  border: 1px solid var(--color-cream);
}
.page-home .table-scroll {
  overflow-x: auto;
}
.page-home .compare-table {
  width: 100%;
  min-width: 560px;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--color-white);
  border: 1px solid var(--color-cream);
  border-radius: var(--home-radius-sm);
  overflow: hidden;
}
.page-home .compare-table th {
  background: var(--color-primary);
  color: var(--color-white);
  font-family: var(--font-serif);
  text-align: left;
  padding: 14px 16px;
  font-weight: 700;
}
.page-home .compare-table td {
  padding: 13px 16px;
  border-bottom: 1px solid var(--color-cream);
  color: var(--color-text);
}
.page-home .compare-table tbody tr:last-child td {
  border-bottom: none;
}
.page-home .compare-table tbody tr:hover {
  background: rgba(201,162,39,0.08);
}
.page-home .compare-table a {
  color: var(--color-primary);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--color-gold);
}
.page-home .compare-table a:hover {
  color: var(--color-red);
}
.page-home .compare-note {
  margin: 16px 0 0;
  font-size: 0.9rem;
  color: var(--color-slate);
}
.page-home .compare-note a {
  color: var(--color-primary);
  font-weight: 600;
}

.page-home .archive-entry {
  background: radial-gradient(circle at 20% 10%, var(--color-primary-deep) 0%, var(--color-primary) 65%);
  color: var(--color-white);
  border-radius: var(--home-radius);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
  overflow: hidden;
}
.page-home .archive-entry::before {
  content: "";
  position: absolute;
  top: 0;
  left: 24px;
  width: 72px;
  height: 6px;
  background: linear-gradient(90deg, var(--color-gold), var(--color-red));
  border-radius: 0 0 8px 8px;
}
.page-home .archive-entry::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -40px;
  width: 170px;
  height: 170px;
  background: repeating-linear-gradient(135deg, rgba(201,162,39,0.24) 0 2px, transparent 2px 12px);
  transform: rotate(20deg);
  pointer-events: none;
}
.page-home .archive-entry .eyebrow {
  color: var(--color-gold-light);
}
.page-home .archive-entry p {
  color: rgba(255,255,255,0.86);
  line-height: 1.7;
}
.page-home .archive-text {
  position: relative;
  z-index: 1;
}
.page-home .archive-meta {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
  margin-top: 10px;
}
.page-home .archive-entry .btn {
  border-color: rgba(201,162,39,0.75);
  color: var(--color-gold-light);
  background: transparent;
}
.page-home .archive-entry .btn:hover {
  background: rgba(201,162,39,0.14);
  border-color: var(--color-gold);
}
.page-home .archive-figure {
  margin: 4px 0 0;
  position: relative;
  z-index: 1;
}
.page-home .archive-figure img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border-radius: var(--home-radius-sm);
  box-shadow: 0 14px 32px rgba(0,0,0,0.3);
}

.page-home .resources-2025 {
  background: linear-gradient(135deg, var(--color-terracotta) 0%, #a14e2c 100%);
  color: var(--color-white);
  border-radius: var(--home-radius);
  padding: 28px 24px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.page-home .resources-2025::after {
  content: "";
  position: absolute;
  right: -72px;
  bottom: -72px;
  width: 180px;
  height: 180px;
  border: 2px solid rgba(255,255,255,0.3);
  border-radius: 20px;
  transform: rotate(24deg);
  pointer-events: none;
}
.page-home .resources-2025 > * {
  position: relative;
  z-index: 1;
}
.page-home .resources-2025 .eyebrow {
  color: rgba(255,255,255,0.82);
}
.page-home .resource-lead {
  margin: 0;
  line-height: 1.7;
  color: rgba(255,255,255,0.9);
}
.page-home .resource-filename {
  display: inline-block;
  margin-top: 6px;
  padding: 5px 12px;
  background: rgba(0,0,0,0.22);
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--color-white);
}
.page-home .resource-meta {
  margin: 0;
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
}
.page-home .resource-note {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.8);
}
.page-home .resources-2025 .btn-gold {
  margin-top: 10px;
  align-self: flex-start;
  background: var(--color-gold);
  color: var(--color-primary);
  border: 2px solid var(--color-gold);
}
.page-home .resources-2025 .btn-gold:hover {
  background: var(--color-gold-light);
  border-color: var(--color-gold-light);
}

.page-home .news-summary {
  background: var(--color-off-white);
  border: 1px solid rgba(10,42,94,0.08);
  border-radius: var(--home-radius);
  padding: 28px 24px;
  display: grid;
  gap: 24px;
  align-items: center;
}
.page-home .news-figure-wrap {
  display: grid;
  place-items: center;
  background: radial-gradient(circle, rgba(201,162,39,0.16) 0%, transparent 72%);
  border-radius: var(--home-radius-sm);
}
.page-home .news-figure {
  margin: 18px auto;
}
.page-home .news-figure img {
  display: block;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 2px solid var(--color-gold);
  box-shadow: 0 0 0 8px rgba(201,162,39,0.14);
  object-fit: cover;
}
.page-home .news-body .eyebrow {
  color: var(--color-primary);
}
.page-home .news-item {
  background: var(--color-white);
  border-left: 4px solid var(--color-gold);
  border-radius: 0 var(--home-radius-sm) var(--home-radius-sm) 0;
  padding: 20px 18px;
  margin: 16px 0 18px;
}
.page-home .news-item h3 {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  margin: 8px 0 6px;
  color: var(--color-primary);
}
.page-home .news-item p {
  margin: 0;
  color: var(--color-text);
  line-height: 1.6;
}
.page-home .news-body .link-arrow {
  color: var(--color-primary);
  font-weight: 600;
}

.page-home .guide-panel {
  background: var(--color-primary);
  background-image:
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(255,255,255,0.025) 32px 34px, transparent 34px 70px);
  color: var(--color-white);
  border-radius: var(--home-radius);
  padding: 32px 24px;
  position: relative;
  overflow: hidden;
}
.page-home .guide-head .eyebrow {
  color: var(--color-gold-light);
}
.page-home .guide-lead {
  margin-top: 8px;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
}
.page-home .guide-steps {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.page-home .guide-step {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--home-radius-sm);
  padding: 20px 18px;
  position: relative;
  min-height: 100%;
  box-sizing: border-box;
  transition: background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}
.page-home .guide-step:hover {
  background: rgba(255,255,255,0.12);
  border-color: rgba(201,162,39,0.55);
  transform: translateY(-2px);
}
.page-home .step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-gold);
  color: var(--color-primary);
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 12px;
}
.page-home .guide-step h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  margin: 0 0 6px;
}
.page-home .guide-step p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.82);
}
.page-home .guide-step a,
.page-home .guide-note a {
  color: var(--color-gold-light);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
.page-home .guide-step a:hover,
.page-home .guide-note a:hover {
  border-color: var(--color-gold-light);
}
.page-home .guide-note {
  margin-top: 24px;
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.75);
}

.page-home .contact-cta {
  background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-light) 100%);
  color: var(--color-primary);
  border-radius: var(--home-radius);
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}
.page-home .contact-cta .eyebrow {
  color: var(--color-primary);
}
.page-home .contact-cta p {
  line-height: 1.7;
}
.page-home .contact-cta .btn-text {
  color: var(--color-primary);
  font-weight: 700;
}

@media (min-width: 768px) {
  .page-home .compare-header {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }
  .page-home .news-summary {
    grid-template-columns: 0.7fr 1.3fr;
  }
  .page-home .guide-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .page-home .hero-grid {
    grid-template-columns: 7fr 5fr;
    grid-template-areas:
      "copy figure"
      "index index";
    align-items: center;
    column-gap: 48px;
  }
  .page-home .hero-copy {
    grid-area: copy;
  }
  .page-home .hero-figure {
    grid-area: figure;
  }
  .page-home .hero-index {
    grid-area: index;
    margin-top: 8px;
  }
  .page-home .home-board {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    gap: var(--home-gap-lg);
  }
  .page-home .product-compare {
    grid-column: span 7;
  }
  .page-home .archive-entry {
    grid-column: span 5;
  }
  .page-home .resources-2025 {
    grid-column: span 5;
  }
  .page-home .news-summary {
    grid-column: span 7;
  }
  .page-home .guide-panel {
    grid-column: span 8;
  }
  .page-home .contact-cta {
    grid-column: span 4;
  }
  .page-home .guide-steps {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
