.page-home {
  --rail-width: 64px;
  --home-pad: clamp(1rem, 4vw, 2.5rem);
  --section-gap: clamp(4rem, 8vw, 6rem);
  position: relative;
  background-color: var(--color-deep-space);
  background-image:
    linear-gradient(var(--color-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-line) 1px, transparent 1px);
  background-size: 48px 48px;
  color: var(--color-cloud);
  font-family: var(--font-body);
  line-height: 1.7;
  min-height: 100vh;
}
.page-home a {
  color: var(--color-neon-green);
  text-decoration: none;
}
.page-home .scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-neon-green);
  transform: scaleX(0);
  transform-origin: 0 0;
  z-index: 200;
}
.page-home .brand-rail {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  width: var(--rail-width);
  background: var(--color-slate);
  border-right: 1px solid var(--color-line);
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  z-index: 150;
}
.page-home .brand-rail__code {
  font-family: var(--font-mono);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--color-neon-green);
  background: var(--color-deep-space);
  border: 1px solid var(--color-line);
  padding: 0.25rem 0.5rem;
  line-height: 1;
}
.page-home .brand-rail__line {
  width: 1px;
  height: 40vh;
  background: linear-gradient(var(--color-inferno-orange), var(--color-neon-green));
}
.page-home .brand-rail__text {
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-mist);
}
.page-home .home-shell {
  max-width: var(--content-max);
  margin-left: 0;
  padding: 0 1rem 3rem;
}
.page-home .breadcrumb {
  padding: 1rem 0;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-mist);
  border-bottom: 1px dashed var(--color-line);
  margin-bottom: 1.5rem;
}
.page-home .breadcrumb__sep {
  margin: 0 0.5rem;
  color: var(--color-inferno-orange);
}
.page-home .hero-framed {
  position: relative;
  border: 2px solid var(--color-inferno-orange);
  background: var(--color-slate);
  box-shadow: var(--shadow-soft);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  margin-bottom: var(--section-gap);
}
.page-home .hero-framed::before {
  content: '01';
  position: absolute;
  top: -1.5rem;
  right: 1.25rem;
  font-family: var(--font-mono);
  font-size: 5rem;
  font-weight: 700;
  color: var(--color-inferno-orange);
  opacity: 0.25;
  line-height: 1;
  z-index: 2;
  pointer-events: none;
}
.page-home .hero-framed::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid var(--color-line);
  pointer-events: none;
  z-index: 2;
}
.page-home .hero-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem;
  position: relative;
  z-index: 3;
}
.page-home .hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-mist);
  margin: 0 0 0.75rem;
}
.page-home .hero-eyebrow__code {
  color: var(--color-inferno-orange);
  font-weight: 700;
}
.page-home .hero-copy h1 {
  font-family: var(--font-headline);
  font-size: 2.25rem;
  line-height: 1.2;
  color: var(--color-cloud);
  margin: 0 0 1rem;
}
.page-home .hero-copy h1 em {
  font-style: italic;
  color: var(--color-neon-green);
  display: block;
  font-size: 1.75rem;
}
.page-home .hero-desc {
  font-size: 1rem;
  color: var(--color-mist);
  margin: 0 0 1.5rem;
  max-width: 55ch;
}
.page-home .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.page-home .hero-keywords {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.8125rem;
}
.page-home .hero-keywords li {
  color: var(--color-mist);
  border-bottom: 1px dashed var(--color-line);
  padding-bottom: 0.25rem;
}
.page-home .hero-keywords li::before {
  content: '// ';
  color: var(--color-inferno-orange);
}
.page-home .hero-window {
  border: 2px solid var(--color-inferno-orange);
  background: var(--color-deep-space);
  padding: 1rem;
  position: relative;
}
.page-home .hero-window::before {
  content: 'v4.8.2';
  position: absolute;
  top: -12px;
  left: 12px;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-neon-green);
  background: var(--color-deep-space);
  padding: 0 0.5rem;
  border: 1px solid var(--color-line);
}
.page-home .hero-window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-mist);
  margin-bottom: 0.75rem;
}
.page-home .hero-window img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-line);
}
.page-home .hero-window__highlights {
  list-style: none;
  padding: 0.75rem 0 0;
  margin: 0;
}
.page-home .hero-window__highlights li {
  font-size: 0.875rem;
  color: var(--color-cloud);
  padding: 0.375rem 0;
  border-bottom: 1px dashed var(--color-line);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.page-home .hero-window__highlights li:last-child {
  border-bottom: 0;
}
.page-home .hero-window__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 1rem;
  border-top: 1px solid var(--color-line);
  padding-top: 1rem;
}
.page-home .stat-num {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--color-neon-green);
  animation: pulse 3s infinite;
}
.page-home .stat-label {
  display: block;
  font-size: 0.75rem;
  color: var(--color-mist);
  margin-top: 0.25rem;
}
.page-home .section-block + .section-block {
  border-top: 1px solid var(--color-line);
  margin-top: var(--section-gap);
  padding-top: var(--section-gap);
  position: relative;
}
.page-home .section-group {
  padding-top: var(--section-gap);
}
.page-home .section-head {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.page-home .section-index {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--color-inferno-orange);
  font-weight: 700;
}
.page-home .section-title {
  font-family: var(--font-headline);
  font-size: 2rem;
  color: var(--color-cloud);
  margin: 0;
  line-height: 1.2;
}
.page-home .section-sub {
  margin: 0;
  color: var(--color-mist);
  font-size: 1rem;
  max-width: 60ch;
}
.page-home .updates-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}
.page-home .update-card {
  background: var(--color-slate);
  border: 1px solid var(--color-line);
  transition: background var(--transition-fast);
}
.page-home .update-card:hover {
  background: var(--color-translucent);
}
.page-home .faq-question {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  color: var(--color-cloud);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  width: 100%;
  box-sizing: border-box;
  flex-wrap: wrap;
}
.page-home .faq-question::before {
  content: attr(href);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--color-mist);
  opacity: 0.6;
  margin-right: 0.5rem;
}
.page-home .update-card__version {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-neon-green);
  background: var(--color-deep-space);
  border: 1px solid var(--color-line);
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
}
.page-home .update-card__title {
  flex: 1 1 200px;
}
.page-home .faq-icon {
  width: 1.5rem;
  height: 1.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--color-line);
  color: var(--color-neon-green);
  font-family: var(--font-mono);
  font-size: 1.25rem;
  line-height: 1;
  transition: transform var(--transition-fast);
}
.page-home .faq-item[data-open] .faq-icon {
  transform: rotate(45deg);
}
.page-home .faq-body {
  display: block;
  padding: 0 1.25rem 1.25rem;
}
.page-home .faq-body {
  display: none;
}
.page-home .faq-item[data-open] .faq-body {
  display: block;
}
.page-home .faq-body:target {
  display: block;
}
.page-home .update-card__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
}
.page-home .update-card__list li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--color-cloud);
  font-size: 0.9375rem;
}
.page-home .update-card__list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--color-inferno-orange);
}
.page-home .btn-small {
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}
.page-home .compare-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  align-items: center;
}
.page-home .compare-table {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--color-slate);
  border: 1px solid var(--color-line);
}
.page-home .compare-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  min-width: 520px;
}
.page-home .compare-table th,
.page-home .compare-table td {
  text-align: left;
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--color-line);
}
.page-home .compare-table th {
  background: var(--color-graphite);
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--color-neon-green);
}
.page-home .compare-table td:first-child {
  color: var(--color-mist);
  font-weight: 600;
  white-space: nowrap;
}
.page-home .compare-table tr:last-child td {
  border-bottom: 0;
}
.page-home .compare-visual {
  position: relative;
}
.page-home .compare-visual img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-line);
}
.page-home .compare-slider {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-deep-space);
  border: 2px solid var(--color-neon-green);
  padding: 0.5rem 1rem;
  font-family: var(--font-mono);
  font-size: 0.875rem;
  color: var(--color-cloud);
  white-space: nowrap;
  box-shadow: var(--shadow-soft);
}
.page-home .compare-slider i {
  width: 40px;
  height: 2px;
  background: var(--color-inferno-orange);
  display: inline-block;
}
.page-home .content-review-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}
.page-home .review-method,
.page-home .review-category {
  background: var(--color-slate);
  border: 1px solid var(--color-line);
  padding: 1.5rem;
}
.page-home .review-method h3,
.page-home .review-category h3 {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--color-neon-green);
  margin: 0 0 1rem;
  letter-spacing: 0.05em;
}
.page-home .method-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.page-home .method-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  color: var(--color-cloud);
}
.page-home .method-list__num {
  font-family: var(--font-mono);
  color: var(--color-inferno-orange);
  font-weight: 700;
}
.page-home .category-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.75rem;
}
.page-home .category-list a {
  color: var(--color-cloud);
  font-weight: 600;
  transition: color var(--transition-fast);
}
.page-home .category-list a:hover {
  color: var(--color-neon-green);
}
.page-home .category-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px dashed var(--color-line);
  padding-bottom: 0.5rem;
}
.page-home .category-list__count {
  font-family: var(--font-mono);
  color: var(--color-mist);
}
.page-home .review-cover {
  margin: 0;
  position: relative;
}
.page-home .review-cover img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--color-line);
}
.page-home .review-cover figcaption {
  font-size: 0.8125rem;
  color: var(--color-mist);
  padding: 0.5rem 0.25rem 0;
  font-family: var(--font-mono);
}
.page-home .section-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
}
.page-home .navcompare-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}
.page-home .navcompare-card {
  background: var(--color-slate);
  border: 1px solid var(--color-line);
  padding: 1.5rem;
  position: relative;
}
.page-home .navcompare-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: 0;
  width: 80px;
  height: 3px;
  background: var(--color-inferno-orange);
}
.page-home .navcompare-card--new::before {
  background: var(--color-neon-green);
}
.page-home .navcompare-card .tag {
  margin-bottom: 1rem;
  display: inline-block;
}
.page-home .navcompare-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  display: grid;
  gap: 0.5rem;
}
.page-home .navcompare-list li {
  padding-left: 1.25rem;
  position: relative;
  color: var(--color-cloud);
}
.page-home .navcompare-list li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--color-neon-green);
  font-weight: 700;
}
.page-home .navcompare-card--old .navcompare-list li::before {
  color: var(--color-mist);
}
.page-home .navcompare-card p {
  margin: 0;
  color: var(--color-mist);
  font-size: 0.9375rem;
}
.page-home .cases-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}
.page-home .case-card {
  background: var(--color-slate);
  border: 1px solid var(--color-line);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  overflow: hidden;
}
.page-home .case-card:hover,
.page-home .case-card:focus-within {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.page-home .case-card img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 1px solid var(--color-line);
}
.page-home .case-card__body {
  padding: 1.25rem;
}
.page-home .case-card__body h3 {
  font-family: var(--font-headline);
  font-size: 1.125rem;
  color: var(--color-cloud);
  margin: 0 0 0.5rem;
}
.page-home .case-card__body p {
  margin: 0;
  color: var(--color-mist);
  font-size: 0.9375rem;
}
.page-home .section-trust {
  background: var(--color-slate);
  border-left: 4px solid var(--color-amber);
  padding: 2rem;
}
.page-home .section-trust .trust-statement {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 80ch;
  margin: 0 auto;
  text-align: center;
  align-items: center;
}
.page-home .section-trust p {
  margin: 0;
  color: var(--color-cloud);
  font-size: 1rem;
}
@keyframes pulse {
  0% {
    opacity: 0.85;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.04);
  }
  100% {
    opacity: 0.85;
    transform: scale(1);
  }
}
@media (min-width: 720px) {
  .page-home .brand-rail {
    display: flex;
  }
  .page-home .home-shell {
    margin-left: var(--rail-width);
    padding: 0 2rem 4rem;
  }
  .page-home .hero-inner {
    grid-template-columns: 1fr 1fr;
  }
  .page-home .section-head {
    flex-direction: row;
    align-items: baseline;
    gap: 1rem;
  }
  .page-home .section-sub {
    margin-left: auto;
    text-align: right;
  }
  .page-home .updates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .page-home .compare-layout {
    grid-template-columns: 1.2fr 0.8fr;
  }
  .page-home .content-review-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .page-home .navcompare-grid {
    grid-template-columns: 1fr 1fr;
  }
  .page-home .cases-grid {
    grid-template-columns: repeat(6, 1fr);
  }
  .page-home .case-card {
    grid-column: span 2;
  }
  .page-home .case-card--large {
    grid-column: span 4;
  }
}
@media (min-width: 960px) {
  .page-home .hero-copy h1 {
    font-size: 2.75rem;
  }
  .page-home .hero-copy h1 em {
    font-size: 2rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .page-home .stat-num {
    animation: none;
  }
  .page-home .case-card {
    transition: none;
  }
}
