/* /compare — designed page. Layout and spacing only; body type comes from styles.css. */
.dz-compare { --tint: #f5f4ef; }
.dz-compare p { margin: 0 0 12px; }
.dz-compare .p-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.dz-compare .p-btns .btn { margin: 0; }

/* Hero: the three comparisons set as match cards, contenders large */
.dz-compare .p-hero { padding: 56px 0 72px; min-height: clamp(620px, calc(100vh - 150px), 860px); box-sizing: border-box; display: flex; align-items: center; }
.dz-compare .p-hero .inner { width: 100%; box-sizing: border-box; }
.dz-compare .p-hero-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; margin-bottom: 40px; }
.dz-compare .p-hero-head h1 { margin: 0; max-width: 9em; line-height: 1; }
.dz-compare .fight { border-top: 6px solid var(--black); margin: 0 -24px; }
.dz-compare .match { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr) 56px; grid-template-areas: "name who go" "desc who go"; column-gap: 40px; align-items: center; padding: 30px 24px; border-bottom: 2px solid var(--black); color: inherit; text-decoration: none; transition: background .15s ease; border-radius: 4px; }
.dz-compare .match:hover { background: var(--lime); }
.dz-compare .m-name { grid-area: name; align-self: end; font-weight: 900; font-size: 1.3rem; line-height: 1.25; color: var(--black); }
.dz-compare .m-desc { grid-area: desc; align-self: start; margin-top: 8px; }
.dz-compare .m-who { grid-area: who; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.dz-compare .m-who b { font-family: "Anton", sans-serif; font-weight: 400; font-size: clamp(2.2rem, 4.2vw, 3.9rem); line-height: 1.05; color: var(--black); }
.dz-compare .m-who i { font-style: normal; font-weight: 900; font-size: .9rem; width: 38px; height: 38px; border-radius: 50%; background: var(--lime); color: var(--black); display: grid; place-items: center; flex: none; }
.dz-compare .match:hover .m-who i { background: var(--black); color: var(--white); }
.dz-compare .m-who b.t { font-size: clamp(1.4rem, 2.2vw, 2rem); border: 2px solid var(--black); border-radius: 999px; padding: 4px 18px 6px; }
.dz-compare .m-go { grid-area: go; width: 56px; height: 56px; border-radius: 50%; background: var(--black); position: relative; font-size: 0; color: transparent; }
.dz-compare .m-go::after { content: "\2192"; position: absolute; inset: 0; display: grid; place-items: center; color: var(--lime); font-size: 1.6rem; font-weight: 900; }

/* Five questions: heading held on the left, the questions numbered large */
.dz-compare .p-qs { background: var(--tint); padding: 96px 0; }
.dz-compare .p-qs .inner { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 72px; align-items: start; }
.dz-compare .p-qs-head { position: sticky; top: 120px; }
.dz-compare .p-qs-head h2 { margin: 0 0 18px; scroll-margin-top: 120px; }
.dz-compare .qs { list-style: none; margin: 0; padding: 0; counter-reset: q; }
.dz-compare .qs li { counter-increment: q; display: grid; grid-template-columns: 84px minmax(0, 1fr); column-gap: 24px; padding: 26px 0 18px; border-top: 2px solid var(--black); }
.dz-compare .qs li::before { content: counter(q); grid-row: 1 / span 2; font-family: "Anton", sans-serif; font-size: 4rem; line-height: .9; color: var(--black); }
.dz-compare .qs h3 { margin: 0 0 8px; }

/* The stack cost, drawn to scale */
.dz-compare .p-cost { background: var(--black); color: var(--white); padding: 96px 0; }
.dz-compare .p-cost-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 20px 64px; align-items: end; margin-bottom: 56px; }
.dz-compare .p-cost h2 { color: var(--white); margin: 0; scroll-margin-top: 120px; }
.dz-compare .p-cost-head p { margin: 0; color: #d6d5cf; }
.dz-compare .bar-row { display: grid; grid-template-columns: minmax(0, 1fr) 190px; grid-template-areas: "h h" "track total"; column-gap: 28px; align-items: center; margin-bottom: 40px; }
.dz-compare .bar-row h3 { grid-area: h; color: var(--white); margin: 0 0 14px; }
.dz-compare .track { grid-area: track; display: flex; height: 112px; }
.dz-compare .seg { position: relative; box-sizing: border-box; padding: 14px 18px; display: flex; flex-direction: column; justify-content: flex-start; overflow: hidden; }
.dz-compare .seg.a { background: var(--white); color: var(--black); border-radius: 8px 0 0 8px; }
.dz-compare .seg.b { background: var(--lime); color: var(--black); border-radius: 0 8px 8px 0; }
.dz-compare .bar-row:last-child .seg.b { border-radius: 8px; }
.dz-compare .seg b { font-weight: 900; line-height: 1.2; }
.dz-compare .seg small { font-size: .88rem; line-height: 1.3; }
.dz-compare .seg em { position: absolute; right: 16px; bottom: 10px; font-style: normal; font-family: "Anton", sans-serif; font-size: 1.8rem; line-height: 1; }
.dz-compare .total { grid-area: total; font-family: "Anton", sans-serif; font-weight: 400; font-size: 2.4rem; line-height: 1.05; color: var(--white); }
.dz-compare .p-cost-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 64px; margin-top: 16px; padding-top: 28px; border-top: 1px solid #3a3a37; }
.dz-compare .p-cost-notes p { color: #e6e5df; margin: 0; }

/* The switch: four steps over the two systems, overlapping for the parallel period */
.dz-compare .p-switch { padding: 104px 0 96px; }
.dz-compare .p-switch h2 { margin: 0 0 48px; scroll-margin-top: 120px; }
.dz-compare .steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; counter-reset: s; }
.dz-compare .steps li { counter-increment: s; }
.dz-compare .steps li::before { content: "Step " counter(s); display: block; font-family: "Anton", sans-serif; font-size: 1.5rem; margin-bottom: 12px; color: var(--black); }
.dz-compare .steps h3 { margin: 0 0 10px; }
.dz-compare .systems { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: 32px; row-gap: 10px; margin-top: 36px; }
.dz-compare .sys { height: 48px; border-radius: 8px; display: flex; align-items: center; padding: 0 18px; font-weight: 900; }
.dz-compare .sys.old { grid-row: 1; grid-column: 1 / 5; background: repeating-linear-gradient(135deg, #e9e7e1 0 10px, #dedbd3 10px 20px); color: var(--black); margin-right: 12%; }
.dz-compare .sys.new { grid-row: 2; grid-column: 3 / 5; background: var(--lime); color: var(--black); }
.dz-compare .incl { margin: 32px 0 0; font-weight: 900; color: var(--black); }

/* Questions, with the ask held beside them */
.dz-compare .p-faq { padding: 88px 0 104px; border-top: 1px solid var(--line); }
.dz-compare .p-faq .inner { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.dz-compare .p-faq-side { position: sticky; top: 120px; }
.dz-compare .p-faq-side h2 { margin: 0 0 36px; scroll-margin-top: 120px; }
.dz-compare .ask { background: var(--lime); border-radius: 16px; padding: 32px; }
.dz-compare .ask h3 { margin: 0 0 20px; scroll-margin-top: 120px; }
.dz-compare .ask p { margin: 18px 0 0; color: var(--black); }
.dz-compare .ask p a { color: var(--black); font-weight: 900; }
.dz-compare .p-faq-list details { border-top: 2px solid var(--black); }
.dz-compare .p-faq-list details:last-child { border-bottom: 2px solid var(--black); }
.dz-compare .p-faq-list summary { list-style: none; cursor: pointer; font-weight: 900; color: var(--black); padding: 22px 48px 22px 0; position: relative; line-height: 1.35; }
.dz-compare .p-faq-list summary::-webkit-details-marker { display: none; }
.dz-compare .p-faq-list summary::after { content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%); width: 32px; height: 32px; border-radius: 50%; background: var(--lime); display: grid; place-items: center; font-size: 1.3rem; }
.dz-compare .p-faq-list details[open] summary::after { content: "\2212"; background: var(--black); color: var(--white); }
.dz-compare .p-faq-list details p { padding: 0 48px 22px 0; margin: 0; }

@media (max-width: 980px) {
  .dz-compare .match { grid-template-columns: minmax(0, 1fr) 48px; grid-template-areas: "name go" "who go" "desc go"; row-gap: 10px; }
  .dz-compare .m-name { align-self: start; }
  .dz-compare .m-go { width: 48px; height: 48px; }
  .dz-compare .p-qs .inner, .dz-compare .p-faq .inner, .dz-compare .p-cost-head { grid-template-columns: 1fr; }
  .dz-compare .p-qs-head, .dz-compare .p-faq-side { position: static; }
  .dz-compare .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
  .dz-compare .systems { display: none; }
}
@media (max-width: 640px) {
  .dz-compare .p-hero { min-height: 0; padding: 40px 0 48px; }
  .dz-compare .p-hero-head { margin-bottom: 28px; }
  .dz-compare .match { grid-template-columns: minmax(0, 1fr); grid-template-areas: "name" "who" "desc" "go"; padding: 24px 16px; }
  .dz-compare .fight { margin: 0 -16px; }
  .dz-compare .m-go { width: 44px; height: 44px; margin-top: 6px; }
  .dz-compare .m-who b { font-size: 2.1rem; }
  .dz-compare .m-who b.t { font-size: 1.15rem; padding: 2px 12px 4px; }
  .dz-compare .m-who i { width: 30px; height: 30px; font-size: .78rem; }
  .dz-compare .p-qs, .dz-compare .p-cost { padding: 64px 0; }
  .dz-compare .qs li { grid-template-columns: 52px minmax(0, 1fr); column-gap: 14px; }
  .dz-compare .qs li::before { font-size: 2.8rem; }
  .dz-compare .bar-row { grid-template-columns: 1fr; grid-template-areas: "h" "track" "total"; }
  .dz-compare .track { height: 96px; }
  .dz-compare .seg { padding: 10px 10px; }
  .dz-compare .seg small { display: none; }
  .dz-compare .seg b { font-size: .88rem; }
  .dz-compare .seg em { right: 10px; bottom: 8px; font-size: 1.35rem; }
  .dz-compare .total { margin-top: 10px; font-size: 2rem; }
  .dz-compare .p-cost-notes { grid-template-columns: 1fr; }
  .dz-compare .steps { grid-template-columns: 1fr; }
  .dz-compare .p-switch { padding: 64px 0; }
  .dz-compare .ask { padding: 24px; }
}
