:root {
  color-scheme: light;
  --bg: #f7f9ff;
  --panel: #ffffff;
  --panel-strong: #05070a;
  --text: #05070a;
  --muted: #526070;
  --line: #d9e2f2;
  --brand: #1266ff;
  --brand-strong: #0047d9;
  --accent: #ff7a45;
  --gold: #e5b44b;
  --blue: #1266ff;
  --shadow: 0 18px 50px rgba(17, 36, 35, 0.12);
  --radius: 8px;
  --font-scale: 1;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-size: calc(16px * var(--font-scale));
  line-height: 1.55;
}

body.dark {
  color-scheme: dark;
  --bg: #111716;
  --panel: #182321;
  --panel-strong: #f9fbff;
  --text: #f9fbff;
  --muted: #c8d4e5;
  --line: #263449;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

body.high-contrast {
  --bg: #ffffff;
  --panel: #ffffff;
  --text: #000000;
  --muted: #222222;
  --line: #000000;
  --brand: #005f73;
  --brand-strong: #003844;
  --accent: #9b2226;
  --gold: #ae7d00;
}

body.dark.high-contrast {
  --bg: #000000;
  --panel: #000000;
  --panel-strong: #ffffff;
  --text: #ffffff;
  --muted: #ffffff;
  --line: #ffffff;
}

body.dyslexia {
  font-family: Verdana, Tahoma, Arial, sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

button,
input {
  font: inherit;
}

button,
.button-link,
.price-button {
  min-height: 44px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 20;
  background: var(--panel-strong);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: var(--radius);
}

.skip-link:focus {
  top: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}

.nav,
.hero,
.section,
.utility-bar,
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  display: block;
  width: clamp(112px, 18vw, 180px);
  height: auto;
}

.brand-wordmark {
  display: none;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.78rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-weight: 700;
}

.menu-button {
  display: none;
  width: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
}

.menu-button span[aria-hidden="true"],
.menu-button span[aria-hidden="true"]::before,
.menu-button span[aria-hidden="true"]::after {
  display: block;
  width: 18px;
  height: 2px;
  margin: 0 auto;
  background: currentColor;
  content: "";
}

.menu-button span[aria-hidden="true"]::before {
  transform: translateY(-6px);
}

.menu-button span[aria-hidden="true"]::after {
  transform: translateY(4px);
}

.mobile-menu {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto 16px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.mobile-menu a {
  display: block;
  padding: 12px;
  color: var(--muted);
  font-weight: 800;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 42px;
  align-items: center;
  padding: 56px 0 42px;
}

.hero-logo {
  display: block;
  width: min(640px, 100%);
  height: auto;
  margin: 0 0 12px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.9rem, 7vw, 5.9rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.14rem;
}

.search-panel {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  max-width: 720px;
  padding: 8px;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.search-panel input,
.newsletter-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  padding: 0 12px;
}

.search-panel button,
.newsletter-form button,
.control-group button {
  border: 0;
  border-radius: var(--radius);
  background: var(--brand);
  color: #ffffff;
  padding: 0 18px;
  font-weight: 900;
  cursor: pointer;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.quick-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  padding: 8px 12px;
  color: var(--muted);
  font-weight: 800;
}

.bottom-search {
  width: min(100% - 32px, 1160px);
  margin: 64px auto 0;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.bottom-search h2 {
  margin: 4px 0 0;
  font-size: 1.45rem;
  line-height: 1.1;
}

.bottom-search .search-panel {
  max-width: none;
}

.next-guide {
  width: min(100% - 32px, 760px);
  margin: 56px auto 0;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--brand) 8%, var(--panel));
  box-shadow: var(--shadow);
}

.next-guide span {
  display: block;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.next-guide h2 {
  margin: 6px 0 8px;
  font-size: 1.35rem;
  line-height: 1.1;
}

.next-guide a {
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

.hero-board {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.find-card,
.mini-find,
.category-tile,
.guide-card,
.product-row,
.newsletter {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.find-card-large {
  grid-column: 1 / -1;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 28px;
  color: #ffffff;
  background:
    linear-gradient(145deg, rgba(18, 102, 255, 0.94), rgba(5, 7, 10, 0.7)),
    radial-gradient(circle at 18% 24%, rgba(255, 255, 255, 0.32), transparent 24%),
    linear-gradient(135deg, #1266ff, #ff7a45 52%, #05070a);
}

.find-kicker,
.mini-find span,
.category-tile span,
.guide-copy span,
.product-row span {
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.find-card-large .find-kicker {
  color: #ffffff;
}

.find-card h2,
.section h2,
.newsletter h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: 0;
}

.find-card p {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.86);
}

.text-link {
  width: fit-content;
  font-weight: 900;
}

.mini-find {
  min-height: 168px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.mini-find.accent {
  background: var(--panel-strong);
  color: var(--bg);
}

.mini-find.accent span {
  color: var(--gold);
}

.utility-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.utility-bar strong,
.utility-bar span {
  display: block;
}

.utility-bar span {
  color: var(--muted);
  font-size: 0.88rem;
}

.control-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.control-group button {
  min-height: 38px;
  padding: 0 12px;
  background: transparent;
  border: 1px solid var(--line);
  color: var(--text);
}

.section {
  padding: 64px 0 0;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
}

.section-heading h2 {
  max-width: 780px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.category-tile {
  min-height: 174px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--panel) 84%, transparent), var(--panel)),
    var(--tile-bg);
  box-shadow: var(--shadow);
}

.category-graphic {
  display: block;
  width: min(100%, 210px);
  aspect-ratio: 2.25;
  margin: -4px 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  object-fit: contain;
  background: var(--panel);
}

.category-tile strong {
  font-size: 1.18rem;
}

.tech {
  --tile-bg: linear-gradient(135deg, rgba(59, 130, 160, 0.22), transparent);
}

.home {
  --tile-bg: linear-gradient(135deg, rgba(15, 118, 110, 0.2), transparent);
}

.kitchen {
  --tile-bg: linear-gradient(135deg, rgba(239, 131, 84, 0.24), transparent);
}

.travel {
  --tile-bg: linear-gradient(135deg, rgba(229, 180, 75, 0.26), transparent);
}

.wellness {
  --tile-bg: linear-gradient(135deg, rgba(101, 116, 205, 0.2), transparent);
}

.pet {
  --tile-bg: linear-gradient(135deg, rgba(48, 118, 87, 0.2), transparent);
}

.guide-band {
  width: 100%;
  max-width: none;
  padding: 70px max(16px, calc((100% - 1160px) / 2)) 72px;
  margin-top: 64px;
  background: color-mix(in srgb, var(--brand) 7%, transparent);
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.guide-card {
  overflow: hidden;
  box-shadow: var(--shadow);
}

.guide-image {
  min-height: 0;
  aspect-ratio: 2.25;
  display: block;
  width: 100%;
  height: auto;
  padding: 18px;
  box-sizing: border-box;
  object-fit: contain;
  background: var(--guide-bg);
}

.guide-image.desk {
  --guide-bg: linear-gradient(135deg, #1266ff, #f3d37a);
}

.guide-image.kitchen {
  --guide-bg: linear-gradient(135deg, #ef8354, #f6f3e9);
}

.guide-image.travel {
  --guide-bg: linear-gradient(135deg, #1266ff, #8bb8ff);
}

.guide-image.wellness {
  --guide-bg: linear-gradient(135deg, #1266ff, #f7fbff);
}

.guide-image.gifts {
  --guide-bg: linear-gradient(135deg, #1266ff, #fff7fb);
}

.guide-image.office {
  --guide-bg: linear-gradient(135deg, #1266ff, #f7f8fb);
}

.guide-image.organization {
  --guide-bg: linear-gradient(135deg, #1266ff, #f8fbff);
}

.guide-copy {
  padding: 20px;
}

.guide-copy h3,
.product-row h3 {
  margin: 6px 0 8px;
  line-height: 1.1;
}

.guide-copy p,
.product-row p,
.newsletter p {
  color: var(--muted);
}

.button-link,
.price-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--panel-strong);
  color: var(--bg);
  padding: 0 14px;
  font-weight: 900;
}

.product-section {
  padding-top: 0;
}

.product-list {
  display: grid;
  gap: 12px;
}

.product-row {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
}

.product-swatch {
  width: 72px;
  aspect-ratio: 1;
  border-radius: var(--radius);
}

.product-swatch.teal {
  background: linear-gradient(135deg, var(--brand), #9cc2ff);
}

.product-swatch.coral {
  background: linear-gradient(135deg, var(--accent), #ffd7c2);
}

.product-swatch.gold {
  background: linear-gradient(135deg, var(--gold), #f8e3a1);
}

.price-button {
  white-space: nowrap;
}

.product-guide-showcase {
  padding-top: 0;
}

.product-guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 18px;
  align-items: start;
}

.home-product-images {
  margin-top: 0;
  min-height: 360px;
}

.home-product-images h3 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.product-guide-links {
  display: grid;
  gap: 12px;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr minmax(320px, 0.8fr);
  gap: 24px;
  align-items: center;
  padding: 28px;
  margin-bottom: 64px;
}

.newsletter-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 900;
}

.newsletter-form div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-copy {
  display: grid;
  gap: 14px;
  max-width: 720px;
}

.site-footer p {
  margin: 0;
}

.site-footer nav,
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 800;
}

.social-links a {
  color: var(--brand-strong);
}

.social-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-weight: 900;
}

.social-inline a {
  color: var(--brand-strong);
}

.content-page {
  width: min(860px, calc(100% - 32px));
  margin: 0 auto;
  padding: 52px 0 72px;
}

.content-page h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
}

.content-page h2 {
  margin-top: 42px;
  font-size: clamp(1.6rem, 3vw, 2.35rem);
  line-height: 1.05;
}

.content-page p,
.content-page li {
  color: var(--muted);
}

.content-page a {
  color: var(--brand);
  font-weight: 800;
}

.page-intro {
  font-size: 1.18rem;
}

.content-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.content-list li,
.article-card,
.disclosure-note {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 18px;
}

.article-card {
  display: grid;
  gap: 6px;
}

.article-card.has-media {
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
}

.article-card-media {
  width: 100%;
  aspect-ratio: 1.18;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--brand) 7%, var(--panel));
}

.article-card-media img,
.article-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.article-card-media.cover img,
.article-hero-media.cover img {
  object-fit: cover;
}

.article-card span,
.disclosure-note strong {
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-hero-media {
  display: grid;
  grid-template-columns: minmax(180px, 0.42fr) minmax(0, 1fr);
  gap: 20px;
  align-items: center;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.article-hero-media picture,
.article-hero-media > img {
  min-height: 220px;
  background: color-mix(in srgb, var(--brand) 7%, var(--panel));
}

.article-hero-media figcaption {
  padding: 20px;
}

.article-hero-media strong,
.media-credit {
  display: block;
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.article-hero-media p {
  margin: 8px 0 0;
}

.media-credit {
  margin-top: 8px;
  color: var(--muted);
  text-transform: none;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.comparison-table th,
.comparison-table td {
  border-bottom: 1px solid var(--line);
  padding: 14px;
  text-align: left;
  vertical-align: top;
}

.comparison-table th {
  background: color-mix(in srgb, var(--brand) 9%, var(--panel));
}

.article-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 6px 0 18px;
  border-radius: var(--radius);
  background: var(--brand);
  color: #ffffff !important;
  padding: 0 16px;
  font-weight: 900;
}

.amazon-native-panel {
  margin-top: 28px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
}

.amazon-native-panel h2 {
  margin: 0 0 12px;
  font-size: 1.25rem;
}

.amazon-native-panel p {
  margin: 0 0 14px;
  color: var(--muted);
}

.product-scene {
  margin: 22px 0 28px;
}

.product-scene img {
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--brand) 7%, var(--panel));
}

.category-scene.cover img {
  object-fit: contain;
}

.hero-copy .product-scene {
  max-width: 620px;
  margin-top: 18px;
  margin-bottom: 18px;
}

.hero-copy .product-scene figcaption {
  font-size: 0.92rem;
}

.guide-directory {
  width: min(1040px, calc(100% - 32px));
}

.guide-directory .content-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 620px) {
  .guide-directory .content-list {
    grid-template-columns: 1fr;
  }

  .article-card.has-media,
  .article-hero-media {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .nav-links {
    display: none;
  }

  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .hero,
  .newsletter,
  .product-guide-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .category-grid,
  .guide-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-heading,
  .utility-bar,
  .site-footer {
    align-items: start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .nav,
  .hero,
  .section,
  .utility-bar,
  .site-footer,
  .mobile-menu {
    width: min(100% - 24px, 1160px);
  }

  .search-panel,
  .newsletter-form div,
  .product-row {
    grid-template-columns: 1fr;
  }

  .search-panel button,
  .newsletter-form button,
  .price-button {
    width: 100%;
  }

  .hero-board,
  .category-grid,
  .guide-grid {
    grid-template-columns: 1fr;
  }

  .product-row {
    align-items: start;
  }

  .find-card-large {
    min-height: 280px;
  }
}
