:root {
  color-scheme: light;
  --blue: #0757d8;
  --blue-strong: #0341ad;
  --blue-soft: #e9f2ff;
  --sky: #57b7ff;
  --ink: #07152f;
  --text: #12213b;
  --muted: #647086;
  --line: #dce5f2;
  --surface: #ffffff;
  --surface-soft: #f5f8fc;
  --gold: #d6a53e;
  --gold-bright: #f0c75a;
  --radius: 24px;
  --radius-small: 16px;
  --shadow-soft: 0 16px 38px rgba(26, 63, 124, 0.12);
  --shadow-hover: 0 24px 54px rgba(26, 63, 124, 0.18);
  --category-icon-size: clamp(96px, 7vw, 108px);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--surface-soft);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

button,
a,
input {
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(220px, 560px) auto auto auto;
  align-items: center;
  gap: 1rem;
  min-height: 78px;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(7, 87, 216, 0.12);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
}

.site-header > *,
.hero-section > *,
.section > * {
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  color: var(--ink);
  font-weight: 950;
  letter-spacing: 0;
}

.brand-mark img {
  width: 50px;
  height: 50px;
  border: 2px solid rgba(214, 165, 62, 0.42);
  border-radius: 50%;
  object-fit: cover;
  background: #050505;
  box-shadow: 0 10px 24px rgba(214, 165, 62, 0.24);
}

.site-search {
  position: relative;
}

.site-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.site-search input {
  width: 100%;
  min-height: 48px;
  padding: 0 1.15rem 0 3rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  outline: none;
  background:
    linear-gradient(90deg, transparent 0 2.6rem, rgba(7, 87, 216, 0.08) 2.6rem 2.7rem),
    #f8fbff;
  color: var(--ink);
  font: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.site-search::before {
  content: "";
  position: absolute;
  left: 1.1rem;
  top: 50%;
  width: 0.8rem;
  height: 0.8rem;
  border: 2px solid var(--blue);
  border-radius: 50%;
  transform: translateY(-56%);
}

.site-search::after {
  content: "";
  position: absolute;
  left: 1.86rem;
  top: 52%;
  width: 0.42rem;
  height: 2px;
  border-radius: 99px;
  background: var(--blue);
  transform: rotate(45deg);
}

.site-search input:focus {
  border-color: rgba(7, 87, 216, 0.45);
  box-shadow: 0 0 0 4px rgba(7, 87, 216, 0.12);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.nav-links a,
.footer-links a {
  border-radius: 999px;
  padding: 0.65rem 0.82rem;
}

.nav-links a:hover,
.footer-links a:hover {
  color: var(--blue);
  background: var(--blue-soft);
}

.language-selector {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.32rem;
  min-width: 82px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.language-selector button {
  border: 0;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease;
}

.language-selector button:hover,
.language-selector button:focus-visible {
  color: var(--blue);
  background: var(--blue-soft);
  outline: none;
}

.language-selector button.active {
  color: #fff;
  background: var(--blue);
}

.menu-button {
  display: none;
  gap: 6px;
  width: 48px;
  height: 48px;
  place-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
}

.hero-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.72fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 620px;
  padding: clamp(3.6rem, 7vw, 6rem) clamp(1rem, 4vw, 3rem) clamp(3rem, 6vw, 5rem);
  color: #fff;
  background:
    radial-gradient(circle at 78% 16%, rgba(240, 199, 90, 0.34), transparent 16rem),
    linear-gradient(135deg, #073ea9 0%, var(--blue) 48%, #1597f2 100%);
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: auto -8rem -12rem auto;
  width: 34rem;
  height: 34rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.11);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 770px;
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold-bright);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin: 0;
  color: #fff;
  font-size: clamp(3rem, 6.8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: 0;
}

h2 {
  max-width: 860px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(2rem, 4.8vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 0.45rem;
  color: var(--ink);
  font-size: 1.08rem;
}

p {
  color: var(--muted);
}

.hero-lede {
  max-width: 620px;
  margin: 1.35rem 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.15rem, 2vw, 1.42rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button,
.product-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  min-width: 172px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.9rem 1.2rem;
  font-weight: 900;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover,
.product-card:hover,
.category-card:hover,
.link-card:hover {
  transform: translateY(-3px);
}

.button.primary,
.product-action.active {
  background: #fff;
  color: var(--blue-strong);
  box-shadow: 0 14px 34px rgba(3, 65, 173, 0.22);
}

.product-action.active {
  background: var(--blue);
  color: #fff;
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}

.affiliate-note {
  display: inline-flex;
  max-width: 100%;
  margin: 1.25rem 0 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: #fff;
  background: rgba(3, 65, 173, 0.24);
  font-size: 0.84rem;
  font-weight: 850;
}

.hero-visual {
  position: relative;
  z-index: 1;
  justify-self: center;
  display: grid;
  place-items: center;
  width: min(460px, 100%);
  aspect-ratio: 1;
  background: transparent;
  box-shadow: none;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2rem);
  padding: clamp(3rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem);
  background: #fff;
}

.trust-strip article {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  padding: 1.4rem;
  text-align: center;
}

.workflow-avatar {
  display: block;
  width: clamp(142px, 15vw, 190px);
  height: clamp(142px, 15vw, 190px);
  margin-bottom: -0.35rem;
  object-fit: contain;
  object-position: center;
}

.trust-strip article:nth-child(2) .workflow-avatar {
  transform: translateY(28px);
}

.trust-strip h2 {
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  line-height: 1.1;
}

.trust-strip p {
  max-width: 310px;
  margin: 0;
  font-size: 1rem;
}

.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.hero-orbit {
  display: none;
}

.hero-orbit span {
  position: absolute;
  display: inline-flex;
  min-width: 74px;
  justify-content: center;
  border: 1px solid rgba(7, 87, 216, 0.14);
  border-radius: 999px;
  padding: 0.5rem 0.7rem;
  background: #fff;
  color: var(--blue-strong);
  font-size: 0.78rem;
  font-weight: 950;
  box-shadow: var(--shadow-soft);
}

.hero-orbit span:nth-child(1) {
  top: 8%;
  left: 3%;
}

.hero-orbit span:nth-child(2) {
  right: 0;
  top: 38%;
}

.hero-orbit span:nth-child(3) {
  left: 18%;
  bottom: 5%;
}

.section {
  padding: clamp(3.5rem, 7vw, 6.2rem) clamp(1rem, 4vw, 3rem);
  background: var(--surface-soft);
}

.recommendations-section,
.about-section {
  background: #fff;
}

.section-heading {
  margin-bottom: 1.5rem;
}

.section-heading p {
  max-width: 740px;
}

.split-heading,
.about-section,
.legal-section,
.contact-section {
  display: grid;
  gap: 1.4rem;
  align-items: center;
}

.split-heading {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
}

.category-grid,
.product-grid,
.content-grid,
.link-board {
  display: grid;
  gap: 1rem;
}

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

.product-grid,
.content-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.category-card,
.product-card,
.content-grid article,
.link-card,
.legal-copy,
.clean-empty-state {
  border: 1px solid rgba(12, 38, 82, 0.08);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.category-card,
.content-grid article,
.legal-copy,
.clean-empty-state {
  padding: 1.2rem;
}

.category-card {
  display: grid;
  gap: 1.1rem;
  min-height: 206px;
  align-content: space-between;
  cursor: pointer;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.category-card:hover,
.product-card:hover,
.link-card:hover {
  box-shadow: var(--shadow-hover);
}

.category-card:hover {
  border-color: rgba(7, 87, 216, 0.24);
  background:
    linear-gradient(180deg, rgba(233, 242, 255, 0.72), rgba(255, 255, 255, 0.98)),
    #fff;
}

.category-card:focus-visible {
  outline: 4px solid rgba(7, 87, 216, 0.22);
  outline-offset: 4px;
}

.category-icon {
  display: inline-flex;
  width: var(--category-icon-size);
  height: var(--category-icon-size);
  flex: 0 0 var(--category-icon-size);
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 950;
  line-height: 1;
  text-align: center;
  box-shadow: 0 12px 24px rgba(7, 87, 216, 0.2);
}

.category-icon img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.category-icon span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.category-card p,
.content-grid p,
.legal-copy p,
.clean-empty-state p {
  margin-bottom: 0;
}

.clean-empty-state {
  max-width: 780px;
  border-color: rgba(7, 87, 216, 0.14);
  background:
    linear-gradient(135deg, rgba(7, 87, 216, 0.08), rgba(240, 199, 90, 0.1)),
    #fff;
}

.clean-empty-state strong {
  display: block;
  color: var(--ink);
  font-size: 1.15rem;
}

.soft-state {
  background:
    linear-gradient(135deg, rgba(214, 165, 62, 0.11), rgba(87, 183, 255, 0.1)),
    #fff;
}

.product-card {
  display: grid;
  overflow: hidden;
  min-height: 100%;
  background: #fff;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.product-image {
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgba(7, 87, 216, 0.12), rgba(240, 199, 90, 0.16)),
    #edf5ff;
}

.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-presentation {
  display: grid;
  grid-column: span 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: center;
}

.product-presentation .product-presenter-avatar {
  display: block;
  width: min(460px, 100%);
  height: auto;
  justify-self: center;
  filter: drop-shadow(0 8px 12px rgba(0, 24, 65, 0.34));
  pointer-events: none;
}

.product-image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  padding: 1rem;
  color: var(--blue-strong);
  font-weight: 950;
  text-align: center;
}

.product-body {
  display: grid;
  gap: 0.82rem;
  padding: 1.05rem;
}

.product-body p,
.recommendation-reason p {
  margin: 0;
}

.product-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: space-between;
}

.product-meta span,
.content-grid span {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.34rem 0.58rem;
  background: var(--blue-soft);
  color: var(--blue-strong);
  font-size: 0.74rem;
  font-weight: 950;
  text-transform: uppercase;
}

.used-product .product-meta span:first-child {
  background: #fff2c8;
  color: #7b5412;
}

.recommendation-reason {
  padding: 0.85rem;
  border: 1px solid rgba(7, 87, 216, 0.12);
  border-radius: var(--radius-small);
  background: #f8fbff;
}

.recommendation-reason strong {
  display: block;
  margin-bottom: 0.32rem;
  color: var(--ink);
  font-size: 0.82rem;
}

.product-action {
  align-self: end;
  margin: 0 1.05rem 1.05rem;
}

.content-grid article {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(245, 248, 252, 0.92)),
    #fff;
}

.link-board {
  margin-top: 1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.link-board[hidden],
.product-grid[hidden],
.clean-empty-state[hidden] {
  display: none;
}

.link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 68px;
  padding: 1rem 1.1rem;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease;
}

.link-card strong {
  display: block;
  color: var(--ink);
}

.link-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.about-section {
  grid-template-columns: minmax(190px, 260px) minmax(0, 1fr);
}

.about-card {
  display: grid;
  place-items: center;
  width: min(250px, 64vw);
  aspect-ratio: 1;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-card img {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.legal-section,
.contact-section {
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.72fr);
}

.legal-copy p:first-child,
.contact-section p:first-child {
  margin-top: 0;
}

.legal-copy p:last-child,
.contact-section p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  background: #06112a;
  color: #fff;
}

.site-footer p {
  max-width: 720px;
  margin: 0.35rem 0 0;
  color: rgba(255, 255, 255, 0.74);
}

.privacy-header {
  grid-template-columns: auto 1fr auto;
}

.privacy-home-link {
  justify-self: end;
  border-radius: 999px;
  padding: 0.65rem 0.82rem;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
}

.privacy-home-link:hover,
.privacy-home-link:focus-visible {
  color: var(--blue);
  background: var(--blue-soft);
  outline: none;
}

.privacy-main {
  background: var(--surface-soft);
}

.privacy-hero {
  padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1rem, 7vw, 7rem);
  background: var(--blue);
  color: #fff;
}

.privacy-hero-inner {
  width: min(100%, 980px);
  margin: 0 auto;
}

.privacy-hero .eyebrow {
  color: var(--gold-bright);
}

.privacy-hero h1 {
  max-width: 880px;
  margin: 0.35rem 0 1rem;
}

.privacy-hero p:last-child {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1rem, 2vw, 1.2rem);
}

.privacy-layout {
  display: grid;
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  width: min(100% - 2rem, 1120px);
  margin: 0 auto;
  padding: clamp(3rem, 7vw, 6rem) 0;
}

.privacy-summary {
  align-self: start;
  padding-top: 0.4rem;
}

.privacy-summary strong {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--ink);
  font-size: 1.05rem;
}

.privacy-summary p {
  margin: 0;
  color: var(--muted);
}

.privacy-document {
  max-width: 780px;
}

.privacy-document section {
  padding: 0 0 2.25rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2.25rem;
}

.privacy-document section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
  margin-bottom: 0;
}

.privacy-document h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.privacy-document p {
  margin: 0.65rem 0 0;
  color: var(--muted);
}

.privacy-document a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.privacy-document a:hover,
.privacy-document a:focus-visible {
  color: var(--blue-strong);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.78);
}

.footer-links a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  max-width: min(360px, calc(100vw - 2rem));
  padding: 0.85rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-small);
  background: #06112a;
  color: #fff;
  box-shadow: var(--shadow-hover);
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: auto minmax(180px, 1fr) auto auto;
  }

  .nav-links {
    display: none;
  }

  .menu-button {
    display: grid;
  }

  .site-header.menu-open .nav-links {
    position: absolute;
    top: 78px;
    right: 1rem;
    left: 1rem;
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow-hover);
  }
}

@media (max-width: 980px) {
  .hero-section,
  .split-heading,
  .legal-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-section {
    min-height: auto;
  }

  .hero-visual {
    width: min(320px, 78vw);
    order: -1;
  }

  .category-grid,
  .product-grid,
  .content-grid,
  .trust-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
    align-items: center;
  }

  .brand-mark span {
    font-size: 0.95rem;
  }

  .site-search {
    grid-column: 1 / -1;
    order: 3;
  }

  .language-selector {
    min-width: 74px;
  }

  .language-selector button {
    width: 30px;
    height: 30px;
  }

  .site-header.menu-open .nav-links {
    top: 132px;
  }

  .hero-section {
    padding: 2.6rem 1rem 3rem;
  }

  h1 {
    font-size: clamp(2.6rem, 13vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 9vw, 2.8rem);
  }

  .hero-lede {
    font-size: 1.05rem;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
    width: 100%;
  }

  .button,
  .product-action {
    width: 100%;
    min-width: 0;
  }

  .category-grid,
  .product-grid,
  .content-grid,
  .link-board,
  .about-section,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .product-presentation {
    grid-column: span 1;
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .product-presentation .product-presenter-avatar {
    width: min(78vw, 320px);
    justify-self: end;
    margin-right: 6%;
  }

  .category-card {
    min-height: 186px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .privacy-header {
    grid-template-columns: 1fr auto;
  }

  .privacy-home-link {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
    padding-left: 0;
  }

  .privacy-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 390px) {
  .brand-mark img {
    width: 44px;
    height: 44px;
  }

  .hero-orbit span {
    min-width: 62px;
    font-size: 0.68rem;
  }
}

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