:root {
  color-scheme: dark;
  --product-bg: #0a0a0a;
  --product-panel: #121419;
  --product-border: #2b303a;
  --product-text: #f7f8fa;
  --product-muted: #b5bcc9;
  --product-accent: #a6ccff;
  --product-width: 1080px;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.product-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1rem;
  border: 1px solid #4b5668;
  border-radius: 9px;
  color: var(--product-text);
  background: #191e27;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
}

.product-button:hover {
  background: #252e3b;
}

.product-button--primary {
  border-color: var(--product-accent);
  color: #101c30;
  background: var(--product-accent);
}

.product-button--primary:hover {
  background: #c7dfff;
}

.product-button:focus-visible,
.product-page a:focus-visible {
  outline: 2px solid var(--product-accent);
  outline-offset: 4px;
}

.product-cards {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 1.25rem;
  margin-top: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--product-border);
  border-radius: 20px;
  background: var(--product-panel);
  color: var(--product-text);
}

.product-card__image {
  display: block;
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center 56%;
}

.product-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1.25rem, 3vw, 2rem);
}

.product-identity {
  display: flex;
  align-items: center;
  gap: 0.875rem;
}

.product-icon {
  display: block;
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  object-fit: cover;
}

.product-card h3 {
  font-family: "Syne", sans-serif;
  font-size: clamp(1.25rem, 3vw, 1.65rem);
  line-height: 1.15;
}

.product-card p {
  margin: 1rem 0 1.25rem;
  color: var(--product-muted);
  line-height: 1.65;
}

.product-card .product-actions {
  margin-top: auto;
}

.product-card__brand {
  display: grid;
  height: 230px;
  place-items: center;
  background: radial-gradient(ellipse at 50% 110%, #441522, transparent 75%), #190e13;
}

.product-card__brand img {
  display: block;
  width: 126px;
  height: 126px;
  border-radius: 28px;
}

.product-page,
.product-page * {
  box-sizing: border-box;
}

.product-page {
  margin: 0;
  background: var(--product-bg);
  color: var(--product-text);
  font-family: "Inter", sans-serif;
  line-height: 1.65;
}

.product-page .site-width {
  width: min(var(--product-width), 100% - 3rem);
  margin-inline: auto;
}

.product-header {
  border-bottom: 1px solid var(--product-border);
}

.product-header nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem 1rem;
  min-height: 68px;
  padding-block: 0.6rem;
}

.product-header a,
.product-footer a {
  color: var(--product-muted);
  font-size: 0.875rem;
  text-underline-offset: 0.2em;
}

.product-header .product-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--product-text);
  font-family: "Syne", sans-serif;
  font-weight: 800;
  text-decoration: none;
}

.product-brand img {
  width: 32px;
  height: auto;
}

.product-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(1.5rem, 4.5vw, 4rem);
  padding-block: clamp(2.5rem, 7vw, 6rem);
}

.product-hero h1,
.product-page h2,
.product-page h3 {
  font-family: "Syne", sans-serif;
  line-height: 1.12;
}

.product-hero h1 {
  margin: 1.25rem 0 1rem;
  font-size: clamp(2.35rem, 5.25vw, 4.25rem);
  letter-spacing: -0.045em;
}

.product-page .product-name {
  color: var(--product-accent);
  font-weight: 600;
}

.product-hero p,
.product-page .product-feature p,
.product-answers dd {
  color: var(--product-muted);
}

.product-hero .product-actions {
  margin-top: 1.5rem;
}

.product-page .product-trial {
  margin-bottom: 0;
  font-size: 0.875rem;
}

.product-hero figure {
  margin: 0;
}

.product-hero figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--product-border);
  border-radius: 18px;
}

.product-hero figcaption {
  margin-top: 0.5rem;
  color: var(--product-muted);
  font-size: 0.8rem;
}

.product-section {
  padding-block: clamp(2.5rem, 6vw, 4rem);
  border-top: 1px solid var(--product-border);
}

.product-section h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(1.65rem, 4vw, 2.55rem);
  letter-spacing: -0.025em;
}

.product-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.product-features--pair {
  grid-template-columns: repeat(2, 1fr);
}

.product-feature {
  padding: 1.25rem;
  border: 1px solid var(--product-border);
  border-radius: 14px;
  background: var(--product-panel);
}

.product-feature h3 {
  margin: 0;
  font-size: 1.05rem;
}

.product-feature p {
  margin: 0.65rem 0 0;
}

.product-answers {
  max-width: 700px;
  margin: 0;
}

.product-answers dt {
  font-weight: 600;
}

.product-answers dd {
  margin: 0.35rem 0 1.25rem;
}

.product-footer {
  padding-block: 1.5rem;
  border-top: 1px solid var(--product-border);
}

.product-footer .site-width {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
}

@media (max-width: 760px) {
  .product-cards,
  .product-hero {
    grid-template-columns: 1fr;
  }

  .product-features {
    grid-template-columns: repeat(2, 1fr);
  }

  .product-card__brand {
    height: 155px;
  }
}

@media (max-width: 480px) {
  .product-page .site-width {
    width: calc(100% - 2rem);
  }

  .product-features {
    grid-template-columns: 1fr;
  }

  .product-card__image {
    height: 180px;
  }
}
