.compare-page { color: var(--ink); background: var(--paper); }
.compare-hero { position: relative; min-height: 100svh; padding: 175px 0 70px; overflow: hidden; color: var(--white); background: var(--black); }
.compare-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 50% 65%, rgba(215,255,56,.08), transparent 34%); }
.compare-hero__copy { position: relative; z-index: 2; text-align: center; }
.compare-hero__copy .section-label { margin-bottom: 28px; }
.compare-hero h1 { margin: 0; font-size: clamp(65px, 9vw, 130px); font-weight: 300; line-height: .85; letter-spacing: -.065em; }
.compare-hero h1 em { color: var(--lime); font-family: Georgia, serif; font-weight: 400; }
.compare-hero__copy > p:last-child { max-width: 580px; margin: 35px auto 0; color: #959990; font-size: 15px; line-height: 1.8; }
.compare-hero__products { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; max-width: 920px; margin-top: 70px; }
.compare-hero__products article { min-width: 0; padding: 2px 2px 25px; color: var(--ink); background: #f5f4ef; }
.compare-hero__products article > div { aspect-ratio: 16/11; overflow: hidden; background: #fff; }
.compare-hero__products img { width: 100%; height: 100%; object-fit: cover; }
.compare-hero__products span { display: block; margin: 20px 22px 7px; color: #7d8179; font-size: 8px; text-transform: uppercase; letter-spacing: .15em; }
.compare-hero__products strong { display: block; margin: 0 22px; font-size: clamp(26px, 3vw, 40px); font-weight: 300; letter-spacing: -.045em; }

.choose { background: #e5e1d8; }
.choose-head { display: grid; grid-template-columns: 180px 1fr; gap: 50px; align-items: start; margin-bottom: 70px; }
.choose-head h2 { max-width: 850px; margin: 0; font-size: clamp(56px, 7vw, 96px); font-weight: 300; line-height: .92; letter-spacing: -.055em; }
.choose-head h2 em { color: #74776f; font-family: Georgia, serif; font-weight: 400; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.choice-card { min-height: 470px; display: flex; flex-direction: column; padding: clamp(35px, 5vw, 70px); background: #f3f0e8; }
.choice-card--dark { color: var(--white); background: var(--black); }
.choice-card > span { color: #7d8179; font-size: 9px; text-transform: uppercase; letter-spacing: .16em; }
.choice-card h3 { max-width: 470px; margin: 55px 0 0; font-size: clamp(38px, 4.5vw, 62px); font-weight: 300; line-height: .98; letter-spacing: -.05em; }
.choice-card p { max-width: 490px; margin: 28px 0 45px; color: #6d7169; font-size: 14px; line-height: 1.8; }
.choice-card--dark p { color: #8e928a; }
.benefit-list { margin: 0 0 42px; padding: 0; list-style: none; border-top: 1px solid rgba(17,19,16,.16); }
.choice-card--dark .benefit-list { border-color: rgba(255,255,255,.14); }
.benefit-list li { display: grid; grid-template-columns: minmax(120px, .75fr) 1.25fr; gap: 20px; padding: 13px 0; border-bottom: 1px solid rgba(17,19,16,.11); }
.choice-card--dark .benefit-list li { border-color: rgba(255,255,255,.1); }
.benefit-list strong { font-size: 11px; font-weight: 500; }
.benefit-list small { color: #747870; font-size: 10px; line-height: 1.6; }
.choice-card a { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 16px; border-top: 1px solid rgba(17,19,16,.17); font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
.choice-card--dark a { border-color: rgba(255,255,255,.16); }
.choice-card i { display: grid; place-items: center; width: 36px; height: 36px; color: var(--black); background: var(--lime); border-radius: 50%; font-style: normal; transition: transform .3s var(--ease); }
.choice-card a:hover i { transform: rotate(45deg); }

.compare-specs { color: var(--white); background: #111310; }
.compare-specs__head { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 70px; }
.compare-specs h2 { margin: 28px 0 0; font-size: clamp(54px, 7vw, 94px); font-weight: 300; line-height: .9; letter-spacing: -.055em; }
.compare-specs__head > p { max-width: 390px; margin: 0; color: #7e827a; font-size: 14px; line-height: 1.8; }
.comparison-table-wrap { overflow-x: auto; border-top: 1px solid rgba(255,255,255,.18); }
.comparison-table { width: 100%; min-width: 760px; border-collapse: collapse; text-align: left; }
.comparison-table th,
.comparison-table td { width: 35%; padding: 22px 24px; border-bottom: 1px solid rgba(255,255,255,.11); vertical-align: top; }
.comparison-table th:first-child { width: 30%; padding-left: 0; }
.comparison-table thead th { color: var(--lime); font-size: 11px; font-weight: 500; text-transform: uppercase; letter-spacing: .13em; }
.comparison-table tbody th { color: #777b73; font-size: 9px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; }
.comparison-table td { color: #d5d7d1; font-size: 13px; line-height: 1.6; }
.compare-note { max-width: 850px; margin: 38px 0 0; color: #676b64; font-size: 10px; line-height: 1.7; }

.compare-end { padding: 120px 0; text-align: center; color: var(--white); background: var(--black); }
.compare-end p { margin: 0 0 20px; color: var(--lime); font-size: 9px; text-transform: uppercase; letter-spacing: .17em; }
.compare-end h2 { max-width: 850px; margin: 0 auto; font-size: clamp(48px, 6vw, 86px); font-weight: 300; line-height: .95; letter-spacing: -.055em; }
.compare-end > .shell > div { display: flex; justify-content: center; gap: 10px; margin-top: 45px; }
.compare-end .button { margin: 0; }
.compare-end__secondary { color: var(--white); border: 1px solid rgba(255,255,255,.25); }

@media (max-width: 720px) {
  .compare-hero { padding: 130px 0 55px; }
  .compare-hero h1 { font-size: 61px; }
  .compare-hero__products { grid-template-columns: 1fr; margin-top: 48px; }
  .compare-hero__products article > div { aspect-ratio: 1; }
  .compare-hero__products img { object-fit: contain; }
  .choose-head { grid-template-columns: 1fr; gap: 40px; }
  .choose-head h2 { font-size: 50px; }
  .choice-grid { grid-template-columns: 1fr; }
  .choice-card { min-height: 430px; padding: 38px 22px; }
  .benefit-list li { grid-template-columns: 1fr; gap: 5px; }
  .compare-specs__head { display: block; }
  .compare-specs__head > p { margin-top: 30px; }
  .comparison-table-wrap { overflow: visible; border-top: 0; }
  .comparison-table { display: block; min-width: 0; }
  .comparison-table thead { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
  .comparison-table tbody { display: block; }
  .comparison-table tr { display: block; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.14); }
  .comparison-table tbody th,
  .comparison-table tbody td,
  .comparison-table tbody th:first-child { display: block; width: 100%; padding: 0; border: 0; }
  .comparison-table tbody th { margin-bottom: 13px; color: #8c9088; line-height: 1.5; }
  .comparison-table tbody td { min-height: 76px; margin-top: 5px; padding: 14px; color: #e5e7e1; background: rgba(255,255,255,.045); line-height: 1.55; }
  .comparison-table tbody td::before { position: static; display: block; margin-bottom: 9px; color: var(--lime); font-size: 7px; font-weight: 600; line-height: 1.5; text-transform: uppercase; letter-spacing: .12em; white-space: normal; }
  .comparison-table tbody td:nth-of-type(1)::before { content: "Earbuds 3 PRO / na co dzień"; }
  .comparison-table tbody td:nth-of-type(2)::before { content: "S-buds 5 / do sportu"; }
  .compare-note { margin-top: 30px; }
  .compare-end > .shell > div { flex-direction: column; }
  .compare-end .button { width: 100%; }
}
