@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Outfit:wght@500;600;700;800&display=swap");

:root {
  --ink: #111827;
  --muted: #64748b;
  --soft: #f7f5f0;
  --paper: #fffdf8;
  --card: #ffffff;
  --line: #e7e1d4;
  --green: #047857;
  --green-soft: #e8f6ef;
  --blue: #2457c5;
  --amber: #c56f16;
  --rose: #b43f5f;
  --shadow: 0 24px 70px rgba(45, 38, 25, 0.12);
  --shadow-small: 0 10px 30px rgba(45, 38, 25, 0.08);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(36, 87, 197, 0.10), transparent 28rem),
    linear-gradient(180deg, #fffdf8 0%, #f7f5f0 100%);
  color: var(--ink);
  font-family: "DM Sans", Arial, sans-serif;
  line-height: 1.5;
}

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

button,
select,
input {
  font: inherit;
}

.topbar,
main,
.footer {
  max-width: 1160px;
  margin: 0 auto;
}

.topbar {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
}

.brand {
  align-items: center;
  display: inline-flex;
  gap: 0.7rem;
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 800;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: var(--radius);
  color: #fff;
  display: inline-flex;
  height: 2.35rem;
  justify-content: center;
  width: 2.35rem;
}

.brand-mark svg {
  fill: currentColor;
  height: 1.25rem;
  width: 1.25rem;
}

.nav {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(231, 225, 212, 0.9);
  border-radius: 999px;
  display: flex;
  gap: 0.15rem;
  padding: 0.25rem;
}

.nav a {
  border-radius: 999px;
  color: #475569;
  font-size: 0.93rem;
  font-weight: 700;
  padding: 0.55rem 0.85rem;
  transition: background 180ms ease, color 180ms ease;
}

.nav a:hover,
.nav a:focus-visible {
  background: var(--ink);
  color: #fff;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(22rem, 0.82fr);
  gap: 1.25rem;
  min-height: calc(100vh - 4.5rem);
  padding: 3rem 1.2rem 4.2rem;
}

.hero-copy,
.finder-card,
.radar-card,
.guide-row,
.brief-card {
  border: 1px solid rgba(231, 225, 212, 0.9);
  border-radius: var(--radius);
}

.product-strip {
  grid-column: 1 / -1;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.product-strip article {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(231, 225, 212, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  display: grid;
  gap: 0.75rem;
  grid-template-columns: auto minmax(0, 1fr) auto;
  padding: 0.9rem;
}

.product-strip strong,
.product-strip small,
.product-strip em {
  display: block;
}

.product-strip small {
  color: var(--muted);
  font-size: 0.84rem;
}

.product-strip em {
  color: var(--green);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

.product-icon,
.pick-art {
  align-items: center;
  border-radius: var(--radius);
  color: #fff;
  display: inline-flex;
  font-family: "Outfit", Arial, sans-serif;
  font-weight: 800;
  justify-content: center;
}

.product-icon {
  height: 2.4rem;
  width: 2.4rem;
}

.blue {
  background: var(--blue);
}

.green {
  background: var(--green);
}

.amber {
  background: var(--amber);
}

.hero-copy {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 248, 0.74)),
    var(--paper);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 34rem;
  padding: clamp(1.4rem, 5vw, 3.2rem);
  position: relative;
}

.hero-copy::before {
  background:
    linear-gradient(90deg, var(--green) 0 38%, var(--amber) 38% 68%, var(--blue) 68% 100%);
  border-radius: 999px;
  content: "";
  height: 0.42rem;
  left: clamp(1.4rem, 5vw, 3.2rem);
  position: absolute;
  right: clamp(1.4rem, 5vw, 3.2rem);
  top: 1.35rem;
}

.eyebrow,
.mini-label {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  margin: 0 0 0.65rem;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: "Outfit", Arial, sans-serif;
  letter-spacing: 0;
  line-height: 1.03;
  margin: 0;
}

h1 {
  font-size: clamp(3rem, 5vw, 5.2rem);
  max-width: 12.5ch;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
}

h3 {
  font-size: 1.18rem;
}

.lede {
  color: #405066;
  font-size: clamp(1rem, 2vw, 1.18rem);
  margin: 1.35rem 0 0;
  max-width: 42rem;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 2rem;
}

.trust-row span,
.chip-row span,
.status-pill {
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #334155;
  font-size: 0.83rem;
  font-weight: 800;
  padding: 0.42rem 0.68rem;
}

.finder-card {
  align-self: stretch;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-small);
  display: grid;
  gap: 1rem;
  grid-column: 2;
  grid-row: 1;
  padding: 1.1rem;
}

.card-heading {
  align-items: flex-start;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.status-pill {
  background: var(--green-soft);
  border-color: #bfe9d2;
  color: var(--green);
}

.finder-form {
  background: #f9f7f1;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  gap: 0.8rem;
  padding: 0.9rem;
}

label {
  color: #344054;
  display: grid;
  font-size: 0.9rem;
  font-weight: 800;
  gap: 0.4rem;
}

select,
input {
  appearance: none;
  background: #fff;
  border: 1px solid #ddd5c7;
  border-radius: var(--radius);
  color: var(--ink);
  min-height: 3rem;
  padding: 0.75rem 0.85rem;
  width: 100%;
}

select {
  background-image:
    linear-gradient(45deg, transparent 50%, #475569 50%),
    linear-gradient(135deg, #475569 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 52%,
    calc(100% - 13px) 52%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.primary-button {
  background: var(--ink);
  border: 0;
  border-radius: var(--radius);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
  min-height: 3.05rem;
  padding: 0.8rem 1rem;
  transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  background: var(--green);
  box-shadow: 0 14px 26px rgba(4, 120, 87, 0.20);
  transform: translateY(-1px);
}

.nav a:focus-visible,
.primary-button:focus-visible,
select:focus-visible,
input:focus-visible,
.guide-row:focus-visible {
  outline: 3px solid rgba(36, 87, 197, 0.24);
  outline-offset: 2px;
}

.result-panel {
  background:
    linear-gradient(135deg, rgba(232, 246, 239, 0.95), rgba(255, 255, 255, 0.95));
  border: 1px solid #cdebdc;
  border-radius: var(--radius);
  padding: 1rem;
}

.result-panel p {
  color: #475569;
  margin: 0.65rem 0 1rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.deal-radar,
.picks-section,
.guide-section,
.brief-card {
  margin: 0 1.2rem 1.2rem;
}

.deal-radar,
.picks-section,
.guide-section {
  padding: 3.2rem 0;
}

.section-title {
  align-items: end;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.section-note {
  color: var(--muted);
  margin: 0;
  max-width: 24rem;
}

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

.pick-card {
  background: #fff;
  border: 1px solid rgba(231, 225, 212, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  display: grid;
  gap: 1rem;
  min-height: 26rem;
  padding: 1rem;
}

.pick-art {
  font-size: 1.45rem;
  height: 9rem;
  width: 100%;
}

.pick-body p {
  color: #56657a;
  margin: 0.65rem 0 0;
}

.pick-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1rem;
}

.pick-meta span {
  background: #f3efe6;
  border-radius: 999px;
  color: #475569;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.38rem 0.62rem;
}

.ghost-button {
  align-self: end;
  border: 1px solid #d8cfbf;
  border-radius: var(--radius);
  color: var(--ink);
  display: inline-flex;
  font-weight: 900;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.7rem 0.9rem;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.ghost-button:hover,
.ghost-button:focus-visible {
  background: var(--ink);
  color: #fff;
  transform: translateY(-1px);
}

.radar-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  gap: 1rem;
}

.radar-card {
  background: var(--card);
  box-shadow: var(--shadow-small);
  min-height: 15rem;
  padding: 1.2rem;
}

.radar-card.featured {
  background:
    linear-gradient(135deg, rgba(17, 24, 39, 0.96), rgba(21, 78, 64, 0.94));
  color: #fff;
}

.radar-card.featured .mini-label,
.radar-card.featured p,
.radar-card.featured .progress-row {
  color: rgba(255, 255, 255, 0.78);
}

.radar-card p {
  color: #56657a;
  margin: 0.7rem 0 0;
}

.progress-row {
  display: flex;
  justify-content: space-between;
  margin-top: 1.4rem;
}

.meter {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  height: 0.45rem;
  margin-top: 0.55rem;
  overflow: hidden;
}

.meter span {
  background: #fbbf24;
  border-radius: inherit;
  display: block;
  height: 100%;
}

.guide-list {
  display: grid;
  gap: 0.75rem;
}

.guide-row {
  align-items: center;
  background: rgba(255, 255, 255, 0.82);
  display: grid;
  grid-template-columns: 3.5rem minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.guide-row:hover {
  background: #fff;
  border-color: #cfc5b4;
  transform: translateY(-1px);
}

.guide-row > span {
  color: var(--amber);
  font-family: "Outfit", Arial, sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
}

.guide-row p {
  color: #64748b;
  margin: 0.25rem 0 0;
}

.guide-row strong {
  background: #f3efe6;
  border-radius: 999px;
  color: #475569;
  font-size: 0.8rem;
  padding: 0.4rem 0.7rem;
}

.brief-card {
  align-items: center;
  background: var(--card);
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.7fr);
  gap: 1rem;
  padding: 1.2rem;
}

.brief-card p {
  color: #56657a;
  margin: 0.8rem 0 0;
  max-width: 42rem;
}

.email-form {
  display: flex;
  gap: 0.55rem;
}

.sr-only {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.footer {
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem 1.2rem 3rem;
}

.footer div {
  display: flex;
  gap: 1rem;
}

.content-page {
  padding: 2.5rem 1.2rem 5rem;
}

.page-hero {
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(231, 225, 212, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
  padding: clamp(1.2rem, 5vw, 3rem);
}

.page-hero h1 {
  max-width: 13ch;
}

.page-hero p {
  color: #405066;
  font-size: 1.1rem;
  max-width: 48rem;
}

.article-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 18rem;
  gap: 1rem;
}

.article-body,
.sidebar-card,
.plain-card {
  background: #fff;
  border: 1px solid rgba(231, 225, 212, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-small);
  padding: 1.2rem;
}

.article-body h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-top: 2rem;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body p,
.article-body li,
.plain-card p {
  color: #475569;
}

.article-body table {
  border-collapse: collapse;
  margin: 1rem 0;
  width: 100%;
}

.article-body th,
.article-body td {
  border-bottom: 1px solid var(--line);
  padding: 0.8rem;
  text-align: left;
  vertical-align: top;
}

.sidebar-card {
  align-self: start;
  position: sticky;
  top: 1rem;
}

.sidebar-card ul {
  margin: 0;
  padding-left: 1.1rem;
}

.disclosure {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: var(--radius);
  color: #7c2d12;
  font-size: 0.92rem;
  margin-top: 1rem;
  padding: 0.9rem;
}

@media (max-width: 900px) {
  .topbar,
  .hero-shell,
  .product-strip,
  .radar-grid,
  .pick-grid,
  .article-grid,
  .brief-card {
    grid-template-columns: 1fr;
  }

  .finder-card,
  .product-strip {
    grid-column: auto;
    grid-row: auto;
  }

  .topbar {
    align-items: flex-start;
    display: grid;
  }

  .nav {
    border-radius: var(--radius);
    flex-wrap: wrap;
  }

  .hero-shell {
    min-height: auto;
    padding-top: 1.5rem;
  }

  .hero-copy {
    min-height: 28rem;
  }

  .section-title {
    align-items: start;
    display: grid;
  }

  .sidebar-card {
    position: static;
  }

  .email-form {
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  h1 {
    font-size: clamp(2.7rem, 15vw, 4.5rem);
  }

  .guide-row {
    grid-template-columns: 1fr;
  }

  .hero-copy,
  .finder-card,
  .radar-card,
  .pick-card,
  .brief-card {
    padding: 1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
