:root {
  --bg: #ffffff;
  --surface: #f7f8f4;
  --surface-strong: #eef2ea;
  --text: #202725;
  --muted: #64706b;
  --line: #dde4dc;
  --accent: #c84839;
  --accent-dark: #a93b30;
  --sage: #65775e;
  --max: 1160px;
  --shadow: 0 22px 58px rgba(32, 39, 37, 0.11);
  --font-sans: "Geist", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@font-face {
  font-family: "Geist";
  src: url("assets/fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  line-height: 1.5;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p,
figure {
  margin-top: 0;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p,
li {
  text-wrap: pretty;
}

.hero,
.shortlist,
.buying-checks,
.footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.hero {
  display: grid;
  min-height: 560px;
  grid-template-columns: minmax(0, 0.82fr) minmax(500px, 1.18fr);
  gap: 46px;
  align-items: center;
  padding: 30px 0 50px;
}

.hero-copy {
  position: relative;
  z-index: 1;
}

h1 {
  max-width: 560px;
  margin-bottom: 20px;
  font-family: var(--font-sans);
  font-size: 60px;
  line-height: 1;
  font-weight: 760;
  letter-spacing: 0;
}

.hero-text {
  max-width: 520px;
  margin-bottom: 22px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 14px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text);
  border-radius: 8px;
  padding: 13px 20px;
  font-size: 15px;
  font-weight: 760;
  line-height: 1.1;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button:focus-visible,
.footer-nav a:focus-visible {
  outline: 3px solid rgba(200, 72, 57, 0.28);
  outline-offset: 4px;
}

.button.primary,
.product-button {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
  box-shadow: 0 16px 34px rgba(239, 95, 79, 0.22);
}

.button.primary:hover,
.product-button:hover {
  border-color: var(--accent-dark);
  background: var(--accent-dark);
}

.button.secondary {
  background: white;
}

.button.secondary:hover {
  background: var(--surface);
}

.microcopy {
  max-width: 500px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.brand-logo {
  display: block;
  width: auto;
  max-width: none;
  max-height: none;
  object-fit: contain;
}

.logo-ugreen {
  width: 90px;
  height: auto;
  filter: invert(1);
  mix-blend-mode: multiply;
}

.logo-anker {
  width: 76px;
  height: auto;
}

.logo-satechi {
  width: 98px;
  height: auto;
}

.hero-media {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 10;
  margin-top: 44px;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 60%;
}

.shortlist {
  padding: 36px 0 58px;
}

#shortlist,
#guide,
#disclosure {
  scroll-margin-top: 84px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.54fr);
  gap: 36px;
  align-items: end;
  margin-bottom: 30px;
  padding-top: 10px;
}

h2 {
  margin-bottom: 0;
  font-family: var(--font-sans);
  font-size: 52px;
  line-height: 1.04;
  font-weight: 760;
  letter-spacing: 0;
}

.section-heading p {
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 17px;
}

.affiliate-disclosure {
  max-width: 760px;
  margin: -10px 0 24px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.product-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-card {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 16px;
  min-height: 590px;
  padding: 34px 28px 32px;
}

.product-card + .product-card {
  border-left: 1px solid var(--line);
}

.product-card.featured {
  background: #fff;
}

.product-header {
  display: grid;
  gap: 14px;
  min-height: 66px;
  align-content: start;
}

.product-header .brand-logo {
  height: 26px;
  object-fit: contain;
  object-position: left center;
}

.product-header .logo-ugreen {
  width: 88px;
}

.product-header .logo-anker {
  width: 78px;
}

.product-header .logo-satechi {
  width: 100px;
}

.product-header span {
  color: var(--accent-dark);
  font-size: 13px;
  font-weight: 800;
}

.product-copy h3 {
  max-width: 320px;
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.18;
}

.product-copy p {
  max-width: 320px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.product-copy {
  height: 158px;
}

.product-image {
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
  height: 224px;
  margin: 0;
  border-radius: 6px;
  background: #fff;
}

.product-image img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-image-ugreen img {
  object-position: center;
}

.product-image-anker img {
  object-position: center;
}

.product-image-satechi img {
  object-position: center;
}

.product-points {
  display: grid;
  gap: 8px;
  align-self: start;
  margin: 0;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.42;
  list-style: none;
}

.product-points li {
  position: relative;
  padding-left: 17px;
}

.product-points li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.product-button {
  width: 100%;
  margin-top: 4px;
}

.buying-checks {
  display: grid;
  width: min(1040px, calc(100% - 40px));
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 32px;
  align-items: center;
  padding: 48px 0 76px;
}

.buying-checks h2 {
  max-width: 250px;
  font-size: 34px;
  line-height: 1.02;
}

.checklist {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
}

.checklist div {
  min-height: 132px;
  padding: 24px;
  background: var(--surface);
}

.checklist div + div {
  border-left: 0;
}

.checklist strong,
.checklist span {
  display: block;
}

.checklist strong {
  margin-bottom: 8px;
  font-size: 15px;
}

.checklist span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.footer {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 40px;
  padding: 28px 0 44px;
  border-top: 1px solid var(--line);
}

.footer-nav {
  display: grid;
  gap: 8px;
  align-content: start;
}

.footer-nav a {
  width: fit-content;
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
}

.footer-text {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}

.footer-text p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.footer-text strong {
  color: var(--text);
}

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 18px;
  }

  .hero-media {
    order: -1;
    margin-top: 0;
  }

  .hero-media img {
    height: 100%;
  }

  .hero-media {
    aspect-ratio: 16 / 7.2;
  }

  h1 {
    max-width: 620px;
    font-size: 48px;
    line-height: 1.02;
  }

  h2 {
    font-size: 42px;
  }

  .section-heading,
  .buying-checks,
  .footer {
    grid-template-columns: 1fr;
  }

  .product-list {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .product-card {
    min-height: 0;
    border-bottom: 1px solid var(--line);
  }

  .product-copy {
    height: auto;
    min-height: 0;
  }

  .product-card + .product-card {
    border-left: 0;
  }

  .checklist,
  .footer-text {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .hero,
  .shortlist,
  .buying-checks,
  .footer {
    width: min(100% - 24px, var(--max));
  }

  .hero {
    gap: 18px;
    padding: 10px 0 30px;
  }

  .hero-media img {
    height: 100%;
  }

  .hero-media {
    aspect-ratio: 16 / 6.6;
  }

  .hero-media img {
    object-position: 68% 72%;
  }

  h1 {
    max-width: 330px;
    margin-bottom: 10px;
    font-size: 32px;
    line-height: 1.05;
    font-weight: 720;
  }

  .hero-text {
    max-width: 335px;
    margin-bottom: 16px;
    font-size: 13.5px;
    line-height: 1.5;
  }

  .hero-actions {
    display: grid;
    gap: 10px;
  }

  .button {
    width: 100%;
    min-height: 44px;
    font-size: 14px;
  }

  .microcopy {
    max-width: 330px;
    font-size: 10.5px;
    line-height: 1.4;
  }

  .shortlist {
    padding: 28px 0 42px;
  }

  .section-heading {
    gap: 12px;
    margin-bottom: 20px;
  }

  h2 {
    font-size: 30px;
    line-height: 1.06;
  }

  .section-heading p {
    font-size: 13.5px;
    line-height: 1.45;
  }

  .affiliate-disclosure {
    margin: -6px 0 18px;
    font-size: 11px;
  }

  .product-card {
    gap: 13px;
    padding: 23px 16px 24px;
  }

  .product-header {
    gap: 10px;
    min-height: 0;
  }

  .product-copy h3 {
    font-size: 20px;
    line-height: 1.16;
  }

  .product-copy p,
  .product-points {
    font-size: 13.5px;
    line-height: 1.42;
  }

  .product-points {
    gap: 7px;
  }

  .product-image {
    height: 214px;
  }

  .buying-checks {
    gap: 18px;
    padding: 24px 0 48px;
  }

  .buying-checks h2 {
    font-size: 30px;
  }

  .checklist {
    grid-template-columns: 1fr;
  }

  .checklist div {
    min-height: 0;
    padding: 16px;
  }

  .checklist strong {
    font-size: 14px;
  }

  .checklist span {
    font-size: 12.5px;
    line-height: 1.38;
  }

  .checklist div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .footer {
    gap: 18px;
    padding-bottom: 34px;
  }

  .footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
  }

  .footer-text {
    grid-template-columns: 1fr;
    gap: 11px;
  }

  .footer-text p {
    font-size: 11.5px;
    line-height: 1.45;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .button:hover {
    transform: none;
  }
}
