:root {
  --bg: #eff1f5;
  --panel: #ffffff;
  --panel-muted: #f7f8fb;
  --text: #18202b;
  --text-soft: #4d5a6a;
  --line: #d6dde8;
  --brand: #04576d;
  --brand-warm: #f3a442;
  --focus: #0d9ec2;
  --shadow: 0 16px 44px rgba(16, 34, 56, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at 5% 5%, rgba(4, 87, 109, 0.12) 0, rgba(4, 87, 109, 0) 30%),
    radial-gradient(circle at 95% 15%, rgba(243, 164, 66, 0.18) 0, rgba(243, 164, 66, 0) 25%),
    var(--bg);
}

a {
  color: var(--brand);
  text-decoration-thickness: 2px;
}

a:hover {
  text-decoration: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
}

.site-header {
  max-width: 1180px;
  margin: 0 auto;
  padding: 32px 24px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: clamp(1.4rem, 1rem + 1.7vw, 2.4rem);
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
}

.top-nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-nav a {
  color: var(--text-soft);
  text-decoration: none;
  font-weight: 500;
}

.top-nav a:hover {
  color: var(--brand);
}

.page-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 6px 24px 64px;
}

.hero {
  margin-top: 14px;
  padding: 30px;
  background: linear-gradient(120deg, #f7fbfc, #f8f2e9);
  border: 1px solid rgba(4, 87, 109, 0.12);
  border-radius: 18px;
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0;
  font-size: 0.83rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-soft);
  font-weight: 700;
}

.hero h1 {
  margin: 12px 0 10px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.6rem, 1.1rem + 2vw, 2.8rem);
  line-height: 1.15;
}

.hero-copy {
  max-width: 800px;
  margin: 0 0 18px;
  color: var(--text-soft);
}

.mailing-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(4, 87, 109, 0.22);
  color: var(--brand);
  text-decoration: none;
  font-weight: 700;
  border-radius: 999px;
  padding: 10px 16px;
  background: var(--panel);
}

.section-head {
  margin-top: 56px;
  margin-bottom: 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 12px;
}

.section-head h2 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 1rem + 1.1vw, 2rem);
}

#product-count {
  margin: 0;
  color: var(--text-soft);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
}

.product-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 16px;
  padding: 16px;
  min-height: 230px;
  text-decoration: none;
  color: inherit;
  background: var(--panel);
  border: 1px solid var(--line);
  box-shadow: 0 8px 30px rgba(21, 37, 52, 0.06);
  transform: translateY(8px);
  opacity: 0;
  animation: rise 480ms ease forwards;
}

.product-card:nth-child(2) { animation-delay: 70ms; }
.product-card:nth-child(3) { animation-delay: 140ms; }
.product-card:nth-child(4) { animation-delay: 210ms; }
.product-card:nth-child(5) { animation-delay: 280ms; }
.product-card:nth-child(6) { animation-delay: 350ms; }
.product-card:nth-child(7) { animation-delay: 420ms; }
.product-card:nth-child(8) { animation-delay: 490ms; }
.product-card:nth-child(9) { animation-delay: 560ms; }

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card:hover {
  border-color: rgba(4, 87, 109, 0.36);
  box-shadow: 0 18px 40px rgba(21, 37, 52, 0.12);
}

.product-icon {
  inline-size: 72px;
  block-size: 72px;
  border-radius: 14px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--line);
}

.product-card h3 {
  margin: 4px 0 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: 1.2rem;
  line-height: 1.25;
}

.product-card p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.96rem;
}

.product-sections {
  margin-top: 34px;
}

.product-section {
  scroll-margin-top: 24px;
  border-top: 1px solid var(--line);
  padding: 44px 0;
}

.product-detail-head {
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}

.product-detail-head h2 {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 0.95rem + 1.2vw, 2rem);
}

.product-pill {
  font-size: 0.82rem;
  background: var(--panel-muted);
  border: 1px solid var(--line);
  color: var(--text-soft);
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.product-body {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: start;
}

.copy p {
  margin: 0 0 14px;
}

.copy p:last-child {
  margin-bottom: 0;
}

.cta-row {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.store-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  color: #fff;
  background: #101720;
}

.support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--line);
  color: var(--brand);
  background: var(--panel);
}

.fine-print {
  margin-top: 14px;
  color: var(--text-soft);
  font-size: 0.93rem;
}

.video-shell {
  margin: 0;
}

.video-shell iframe {
  width: 100%;
  min-height: 300px;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(21, 37, 52, 0.08);
  background: #0b0b0b;
}

.video-shell img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 8px 30px rgba(21, 37, 52, 0.08);
  background: #fff;
}

.video-note {
  margin-top: 10px;
  color: var(--text-soft);
  font-size: 0.9rem;
}

.partner-note {
  margin-top: 20px;
  padding: 16px;
  border-radius: 12px;
  background: var(--panel-muted);
  border: 1px solid var(--line);
  text-align: center;
  color: var(--text-soft);
}

.testimonial {
  margin: 20px 0 0;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: linear-gradient(120deg, #f8fbff, #f9f8ff);
}

.testimonial-quote {
  margin: 0;
  font-weight: 700;
  color: var(--text);
}

.testimonial-quote-link {
  display: block;
  color: var(--text);
  text-decoration: none;
}

.testimonial-quote-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--text-soft);
}

.testimonial-meta {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 0.92rem;
}

.mailing-list {
  border-top: 1px solid var(--line);
  margin-top: 4px;
  padding-top: 42px;
}

.mailing-list h2 {
  margin: 0 0 18px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 1rem + 1.1vw, 2rem);
}

.mailing-card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.mailing-card h3 {
  margin: 0 0 8px;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  font-size: clamp(1.3rem, 1rem + 1vw, 1.9rem);
}

.mailing-card p {
  margin: 0;
  color: var(--text-soft);
}

.mailing-embed {
  margin-top: 16px;
}

.mailing-form {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.mailing-form input {
  flex: 1 1 260px;
  min-width: 180px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--panel-muted);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

.mailing-form button {
  border: 0;
  border-radius: 10px;
  padding: 12px 18px;
  font: inherit;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(90deg, #11384a, #04576d);
  cursor: pointer;
}

.privacy-note {
  margin-top: 12px;
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 28px 24px 44px;
}

.site-footer a {
  font-weight: 600;
  text-decoration: none;
}

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

code {
  background: #eef2f8;
  border: 1px solid #dbe3ef;
  border-radius: 6px;
  padding: 0.1rem 0.3rem;
  font-family: "IBM Plex Mono", "Menlo", monospace;
  font-size: 0.9em;
}

@media (max-width: 980px) {
  .product-body {
    grid-template-columns: 1fr;
  }

  .video-shell iframe {
    min-height: 250px;
  }
}

@media (max-width: 640px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .hero {
    padding: 20px;
  }

  .mailing-card {
    padding: 20px;
  }
}
