:root {
  --happy-bg: #050505;
  --happy-bg-soft: #0d0d0f;
  --happy-card: #141417;
  --happy-card-2: #1b1b1f;
  --happy-gold: #b59b49;
  --happy-gold-strong: #d4b760;
  --happy-text: #f4f4f4;
  --happy-muted: #b8b8b8;
  --happy-line: rgba(255, 255, 255, 0.12);
  --happy-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  --radius-xl: 28px;
  --radius-lg: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--happy-text);
  background:
    radial-gradient(circle at top left, rgba(181, 155, 73, 0.18), transparent 32rem),
    radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.06), transparent 28rem),
    var(--happy-bg);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
}

img {
  max-width: 100%;
  height: auto;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 1rem;
  z-index: 9999;
  padding: .75rem 1rem;
  color: #080808;
  background: var(--happy-gold-strong);
  border-radius: 999px;
  transition: top .2s ease;
}

.skip-link:focus {
  top: 1rem;
}

.page-shell {
  width: min(100% - 2rem, 1180px);
  margin-inline: auto;
}

.site-header {
  background: rgba(5, 5, 5, 0.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--happy-line);
}

.navbar {
  padding-block: .75rem;
}

.brand-logo {
  width: 78px;
  height: 78px;
  object-fit: contain;
  border-radius: 12px;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
  letter-spacing: .01em;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--happy-gold-strong);
}

.btn-happy {
  color: #080808;
  background: linear-gradient(135deg, var(--happy-gold-strong), var(--happy-gold));
  border: 0;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(181, 155, 73, 0.24);
}

.btn-happy:hover,
.btn-happy:focus {
  color: #000;
  background: linear-gradient(135deg, #e7cb74, #b59b49);
  transform: translateY(-1px);
}

.hero-section {
  padding: clamp(4rem, 7vw, 7.5rem) 0 clamp(3rem, 6vw, 6rem);
  overflow: hidden;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1rem;
  color: var(--happy-gold-strong);
  font-size: .82rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .16em;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

h1, h2, h3 {
  color: #fff;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -.035em;
}

h1 {
  font-size: clamp(2.6rem, 7vw, 5.8rem);
  max-width: 11ch;
}

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

h3 {
  font-size: clamp(1.35rem, 2vw, 1.7rem);
}

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

.hero-lead {
  max-width: 640px;
  margin-top: 1.35rem;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(1.12rem, 2vw, 1.35rem);
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.75rem;
}

.hero-badges span,
.mini-card {
  padding: .78rem 1rem;
  color: #f7f0d8;
  background: rgba(181, 155, 73, 0.12);
  border: 1px solid rgba(212, 183, 96, 0.33);
  border-radius: 999px;
  font-weight: 800;
}

.hero-card,
.image-panel,
.feature-card,
.solution-card,
.compat-box,
.cta-card,
.spec-table-wrapper,
.benefit-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.026));
  border: 1px solid var(--happy-line);
  border-radius: var(--radius-xl);
  box-shadow: var(--happy-shadow);
}

.hero-card,
.image-panel {
  padding: 1rem;
}

.hero-card img,
.image-panel img,
.feature-image,
.solution-card img {
  width: 100%;
  background: #fff;
  border-radius: calc(var(--radius-xl) - 10px);
  object-fit: cover;
}

.hero-card figcaption,
.image-panel figcaption {
  padding: .9rem .4rem .15rem;
  color: var(--happy-muted);
  font-size: .95rem;
  text-align: center;
}

.content-section {
  padding: clamp(3.2rem, 6vw, 6.5rem) 0;
}

.section-alt {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.015));
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.section-heading {
  max-width: 860px;
  margin: 0 auto clamp(2rem, 4vw, 3.5rem);
}

.section-heading p {
  margin: 1rem auto 0;
  font-size: 1.08rem;
}

.feature-card,
.solution-card {
  overflow: hidden;
}

.feature-body,
.solution-body {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.feature-body p,
.solution-body p {
  margin-bottom: 0;
}

.spec-table-wrapper {
  overflow: hidden;
  padding: .5rem;
}

.happy-table {
  --bs-table-bg: transparent;
  --bs-table-border-color: rgba(255, 255, 255, 0.11);
  margin: 0;
}

.happy-table caption {
  color: var(--happy-muted);
  padding: .75rem 1rem;
}

.happy-table th {
  width: 150px;
  color: var(--happy-gold-strong);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.happy-table td,
.happy-table th {
  padding: 1.15rem 1rem;
}

.solution-number {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: #080808;
  background: var(--happy-gold-strong);
  border-radius: 50%;
  font-weight: 900;
}

.solution-subtitle {
  color: #fff;
  font-weight: 800;
}

.happy-list {
  display: grid;
  gap: .7rem;
  margin: 1.25rem 0 0;
  padding: 0;
  color: var(--happy-muted);
  list-style: none;
}

.happy-list li {
  position: relative;
  padding-left: 1.45rem;
}

.happy-list li::before {
  content: "";
  position: absolute;
  top: .72rem;
  left: 0;
  width: .55rem;
  height: .55rem;
  background: var(--happy-gold-strong);
  border-radius: 50%;
}

.mini-card {
  display: flex;
  min-height: 64px;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 18px;
}

.compat-box {
  padding: clamp(1.5rem, 4vw, 3rem);
  border-color: rgba(212, 183, 96, 0.28);
}

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

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

.benefit-card {
  min-height: 180px;
  padding: 1.25rem;
  transition: transform .2s ease, border-color .2s ease;
}

.benefit-card:hover {
  transform: translateY(-3px);
  border-color: rgba(212, 183, 96, 0.45);
}

.benefit-card span {
  display: block;
  margin-bottom: 1.5rem;
  color: var(--happy-gold-strong);
  font-size: 1.85rem;
  font-weight: 900;
}

.benefit-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-weight: 650;
}

.cta-section {
  padding: clamp(3.2rem, 6vw, 6.5rem) 0;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 6vw, 4.5rem);
  border-color: rgba(212, 183, 96, 0.35);
}

.cta-card::before {
  content: "";
  position: absolute;
  inset: -60% -20% auto auto;
  width: 560px;
  height: 560px;
  background: radial-gradient(circle, rgba(212, 183, 96, 0.22), transparent 68%);
  pointer-events: none;
}

.cta-card > * {
  position: relative;
}

.cta-logo {
  width: 110px;
  height: 110px;
  margin-bottom: 1.25rem;
  object-fit: contain;
  border-radius: 16px;
}

.cta-card p {
  max-width: 790px;
  margin-inline: auto;
}

.site-footer {
  padding: 2rem 0;
  background: #030303;
  border-top: 1px solid var(--happy-line);
}

.site-footer p,
.site-footer a {
  color: var(--happy-muted);
  font-size: .95rem;
}

.back-top {
  text-decoration: none;
  font-weight: 800;
}

.back-top:hover {
  color: var(--happy-gold-strong);
}

@media (max-width: 991.98px) {
  .brand-logo {
    width: 64px;
    height: 64px;
  }

  .navbar-collapse {
    padding: 1rem 0;
  }

  .hero-section {
    text-align: left;
  }

  h1 {
    max-width: 12ch;
  }

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

@media (max-width: 575.98px) {
  .page-shell {
    width: min(100% - 1rem, 100%);
  }

  .hero-section,
  .content-section,
  .cta-section {
    padding-left: .25rem;
    padding-right: .25rem;
  }

  .hero-badges span {
    width: 100%;
    text-align: center;
  }

  .btn-lg {
    width: 100%;
  }

  .happy-table th,
  .happy-table td {
    display: block;
    width: 100%;
    padding: .85rem 1rem;
  }

  .happy-table tr {
    display: block;
    padding: .55rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .benefit-grid {
    grid-template-columns: 1fr;
  }

  .benefit-card {
    min-height: auto;
  }
}

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