.page-home {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
}

/* ---------- HERO ---------- */

.page-home .home-hero {
  position: relative;
  padding: clamp(40px, 7vw, 80px) 0 clamp(32px, 5vw, 56px);
  overflow: hidden;
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  top: -8%;
  right: -18%;
  width: 62%;
  height: 118%;
  background: linear-gradient(140deg, var(--volt) 0%, var(--coral) 62%, var(--hi) 100%);
  transform: skewY(-6deg);
  opacity: .14;
  pointer-events: none;
  z-index: 0;
}

.page-home .home-hero-grid {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.page-home .home-hero-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(34px, 5.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 14px 0 20px;
}

.page-home .home-hero-lede {
  font-size: clamp(16px, 1.7vw, 18px);
  line-height: 1.8;
  color: var(--ink);
  margin: 0 0 26px;
}

.page-home .home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 28px;
}

.page-home .home-hero-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  font-size: 14px;
  color: var(--rock);
}

.page-home .home-hero-meta .num {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--clay);
  font-size: 16px;
  margin-right: 2px;
}

.page-home .home-hero-visual {
  position: relative;
  filter: drop-shadow(var(--shadow-hard-lg));
}

.page-home .home-hero-frame {
  position: relative;
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--stone);
  transform: rotate(-2deg);
  aspect-ratio: 6 / 7;
}

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

.page-home .home-hero-curve {
  position: absolute;
  inset: auto 0 0 0;
  width: 100%;
  height: 40%;
  display: block;
  pointer-events: none;
}

.page-home .home-hero-curve path {
  fill: none;
  stroke: var(--coral);
  stroke-width: 2.5;
  stroke-linecap: round;
  filter: drop-shadow(0 0 6px rgba(255, 107, 74, .55));
}

.page-home .home-hero-chip {
  position: absolute;
  right: -6px;
  bottom: -14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 16px;
  background: var(--hi);
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-hard-sm);
  transform: rotate(-3deg);
}

.page-home .home-hero-chip-label {
  font-size: 11px;
  letter-spacing: .12em;
  font-weight: 700;
  color: var(--ink);
}

.page-home .home-hero-chip-value {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
}

/* ---------- TOC ---------- */

.page-home .home-toc {
  position: relative;
  z-index: 1;
  width: var(--shell);
  margin: clamp(28px, 4vw, 44px) auto 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r-capsule);
  box-shadow: var(--shadow-hard-sm);
}

.page-home .home-toc-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--clay);
  padding-right: 12px;
  border-right: 2px solid var(--ink);
}

.page-home .home-toc-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-home .home-toc-list a {
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  padding: 2px 8px;
  border-radius: var(--r-capsule);
  transition: background-color .18s var(--ease), color .18s var(--ease);
}

.page-home .home-toc-list a:hover,
.page-home .home-toc-list a:focus-visible {
  background: var(--hi);
}

.page-home .home-toc-list a[aria-current="true"] {
  background: var(--stone);
  font-weight: 700;
}

/* ---------- CHANGES ---------- */

.page-home .home-changes {
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid rgba(30, 27, 38, .08);
}

.page-home .home-change-list {
  list-style: none;
  padding: 0;
  margin: clamp(28px, 4vw, 44px) 0 0;
  display: grid;
  gap: clamp(20px, 3vw, 32px);
}

.page-home .home-change {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: clamp(16px, 3vw, 32px);
  padding: clamp(20px, 3vw, 32px);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: 4px 4px 0 var(--ink);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home .home-change:hover {
  transform: translate(-2px, -2px);
  box-shadow: 7px 7px 0 var(--ink);
}

.page-home .home-change-num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1;
  color: var(--coral);
  border-right: 2px solid var(--ink);
  padding-right: clamp(10px, 2vw, 20px);
  display: flex;
  align-items: flex-start;
}

.page-home .home-change-title {
  font-family: var(--font-editorial);
  font-size: clamp(19px, 2.2vw, 24px);
  line-height: 1.35;
  margin: 0 0 10px;
  letter-spacing: -0.005em;
}

.page-home .home-change-desc {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--ink);
  margin: 0 0 14px;
}

.page-home .home-change-link {
  display: inline-block;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--clay);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

.page-home .home-change-link:hover,
.page-home .home-change-link:focus-visible {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* ---------- COMPARE ---------- */

.page-home .home-compare {
  padding: clamp(48px, 7vw, 88px) 0;
  position: relative;
}

.page-home .home-compare::before {
  content: "";
  position: absolute;
  left: 0;
  top: 12%;
  width: 42%;
  height: 76%;
  background: linear-gradient(120deg, rgba(108, 76, 241, .10), rgba(255, 107, 74, 0));
  transform: skewY(-6deg);
  pointer-events: none;
  z-index: 0;
}

.page-home .home-compare-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.page-home .home-compare-visual img {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-hard);
  transform: rotate(1.2deg);
}

.page-home .home-compare-copy .measure {
  font-size: clamp(15.5px, 1.6vw, 17px);
  line-height: 1.8;
  margin: 0 0 22px;
}

/* radio switch */

.page-home .compare-switch {
  position: relative;
  margin: 0 0 24px;
  padding: 18px;
  background: var(--stone);
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-hard-sm);
}

.page-home .compare-radio {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.page-home .compare-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.page-home .compare-tab {
  padding: 7px 18px;
  border: 2px solid var(--ink);
  border-radius: var(--r-capsule);
  background: var(--paper);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  transition: background-color .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home #pv-now:checked ~ .compare-tabs [for="pv-now"],
.page-home #pv-prev:checked ~ .compare-tabs [for="pv-prev"] {
  background: var(--hi);
  box-shadow: 3px 3px 0 var(--ink);
}

.page-home .compare-panel {
  display: none;
  font-size: 15px;
  line-height: 1.7;
  color: var(--ink);
}

.page-home #pv-now:checked ~ .compare-panels .compare-panel--now {
  display: block;
}

.page-home #pv-prev:checked ~ .compare-panels .compare-panel--prev {
  display: block;
}

.page-home .compare-panel-head {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 14px;
  color: var(--clay);
  margin: 0 0 8px;
}

.page-home .compare-panel p:not(.compare-panel-head) {
  margin: 0;
}

/* ---------- LINES ---------- */

.page-home .home-lines {
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--stone);
}

.page-home .home-lines-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(14px, 2vw, 20px);
  margin-top: clamp(26px, 4vw, 40px);
}

.page-home .home-line {
  display: block;
  padding: clamp(20px, 3vw, 28px);
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-hard-sm);
  color: var(--ink);
  text-decoration: none;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background-color .18s var(--ease);
}

.page-home .home-line:hover,
.page-home .home-line:focus-visible {
  transform: translate(-3px, -3px);
  box-shadow: var(--shadow-hard-lg);
}

.page-home .home-line--coral:hover {
  background: rgba(255, 107, 74, .10);
}

.page-home .home-line--volt:hover {
  background: rgba(108, 76, 241, .10);
}

.page-home .home-line-tier {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 22px;
  color: var(--volt);
  display: block;
  margin-bottom: 8px;
}

.page-home .home-line--coral .home-line-tier {
  color: var(--coral);
}

.page-home .home-line--volt .home-line-tier {
  color: var(--volt);
}

.page-home .home-line-name {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(20px, 2.4vw, 26px);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.page-home .home-line-desc {
  font-size: 15px;
  line-height: 1.7;
  margin: 0 0 12px;
}

.page-home .home-line-fit {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .04em;
  color: var(--rock);
  padding: 4px 10px;
  border: 1.5px solid var(--rock);
  border-radius: var(--r-capsule);
}

.page-home .home-lines-note {
  margin: clamp(24px, 3vw, 36px) 0 0;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--rock);
}

.page-home .home-lines-note .num {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--clay);
}

.page-home .home-lines-note a {
  color: var(--clay);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  margin-left: 6px;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

.page-home .home-lines-note a:hover,
.page-home .home-lines-note a:focus-visible {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* ---------- DOWNLOAD ---------- */

.page-home .home-download {
  padding: clamp(48px, 7vw, 88px) 0;
  position: relative;
}

.page-home .home-download-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

.page-home .home-steps {
  list-style: none;
  padding: 0;
  margin: clamp(20px, 3vw, 32px) 0 clamp(24px, 3vw, 32px);
  counter-reset: step;
  display: grid;
  gap: clamp(14px, 2vw, 20px);
}

.page-home .home-steps .step {
  position: relative;
  padding: 18px 20px 18px 64px;
  background: var(--white);
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-hard-sm);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}

.page-home .home-steps .step:hover {
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard);
}

.page-home .home-steps .step-num {
  position: absolute;
  top: 18px;
  left: 18px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 20px;
  color: var(--coral);
  line-height: 1;
}

.page-home .home-steps .step-title {
  font-family: var(--font-editorial);
  font-size: 17px;
  margin: 0 0 6px;
  letter-spacing: -0.005em;
}

.page-home .home-steps .step p {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--ink);
}

.page-home .home-download-visual img {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 2px solid var(--ink);
  border-radius: var(--r-card);
  box-shadow: var(--shadow-hard);
  transform: rotate(-2deg);
  background: var(--paper);
}

/* ---------- SERVICE ---------- */

.page-home .home-service {
  padding: clamp(48px, 7vw, 88px) 0;
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.page-home .home-service::before {
  content: "";
  position: absolute;
  top: -20%;
  left: -10%;
  width: 55%;
  height: 140%;
  background: linear-gradient(135deg, var(--volt), var(--coral));
  opacity: .16;
  transform: skewY(-6deg);
  pointer-events: none;
}

.page-home .home-service-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: center;
}

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

.page-home .home-service .h-editorial {
  color: var(--paper);
}

.page-home .home-service .measure {
  color: rgba(250, 246, 241, .86);
  font-size: clamp(15.5px, 1.6vw, 17px);
  line-height: 1.8;
  margin: 0 0 24px;
}

.page-home .home-service .num {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--hi);
}

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

.page-home .home-service-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(250, 246, 241, .18);
  font-size: 15px;
  line-height: 1.65;
  color: rgba(250, 246, 241, .9);
}

.page-home .home-service-k {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .12em;
  color: var(--hi);
  text-transform: uppercase;
}

.page-home .home-service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.page-home .home-service-actions .btn-ghost {
  color: var(--paper);
  border-color: var(--paper);
  box-shadow: 3px 3px 0 var(--paper);
}

.page-home .home-service-visual img {
  width: 100%;
  height: auto;
  display: block;
  border: 2px solid var(--paper);
  border-radius: var(--r-card);
  box-shadow: 6px 6px 0 rgba(255, 194, 75, .55);
  transform: rotate(1.5deg);
}

/* ---------- RECENT ---------- */

.page-home .home-recent {
  padding: clamp(48px, 7vw, 88px) 0 clamp(56px, 8vw, 96px);
}

.page-home .home-recent-list {
  list-style: none;
  padding: 0;
  margin: clamp(24px, 4vw, 36px) 0 clamp(24px, 3vw, 32px);
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}

.page-home .home-recent-item {
  display: grid;
  grid-template-columns: 90px auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 16px 6px;
  border-bottom: 1px solid rgba(30, 27, 38, .14);
  transition: background-color .18s var(--ease);
}

.page-home .home-recent-item:hover {
  background: var(--stone);
}

.page-home .home-recent-when {
  font-size: 12.5px;
  color: var(--rock);
  letter-spacing: .04em;
}

.page-home .home-recent-link {
  color: var(--ink);
  text-decoration: none;
  font-size: 15.5px;
  border-bottom: 2px solid transparent;
  transition: border-color .18s var(--ease), color .18s var(--ease);
}

.page-home .home-recent-link:hover,
.page-home .home-recent-link:focus-visible {
  color: var(--clay);
  border-bottom-color: var(--clay);
}

.page-home .home-recent-all {
  display: inline-block;
  font-weight: 700;
  font-size: 15px;
  color: var(--clay);
  text-decoration: none;
  border-bottom: 2px solid var(--clay);
  padding-bottom: 2px;
  transition: color .18s var(--ease), border-color .18s var(--ease);
}

.page-home .home-recent-all:hover,
.page-home .home-recent-all:focus-visible {
  color: var(--coral);
  border-bottom-color: var(--coral);
}

/* ---------- RESPONSIVE ---------- */

@media (min-width: 720px) {
  .page-home .home-lines-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .page-home .home-recent-item {
    grid-template-columns: 110px 90px 1fr;
  }
}

@media (min-width: 960px) {
  .page-home .home-hero-grid {
    grid-template-columns: 7fr 5fr;
    gap: clamp(40px, 5vw, 72px);
  }

  .page-home .home-compare-grid {
    grid-template-columns: 5fr 6fr;
    gap: clamp(40px, 5vw, 72px);
  }

  .page-home .home-compare--flip .home-compare-visual {
    order: -1;
  }

  .page-home .home-download-grid {
    grid-template-columns: 7fr 5fr;
    align-items: start;
  }

  .page-home .home-service-grid {
    grid-template-columns: 6fr 6fr;
    gap: clamp(40px, 5vw, 72px);
  }

  .page-home .home-lines-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(18px, 2.2vw, 28px);
  }

  .page-home .home-changes .home-change-list {
    grid-template-columns: 1fr;
    max-width: 880px;
  }
}

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

  .page-home .home-line-desc {
    font-size: 14.5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .page-home .home-change,
  .page-home .home-line,
  .page-home .home-steps .step {
    transition: none;
  }
}
</main>
