:root {
  color-scheme: dark;
  --bg: #121315;
  --bg-elevated: #1b1d20;
  --surface: #222529;
  --surface-strong: #2b2f33;
  --surface-soft: rgba(255, 255, 255, 0.04);
  --text: #f5f7f6;
  --text-muted: #b2b8b6;
  --text-soft: #7e8783;
  --line: rgba(255, 255, 255, 0.08);
  --green: #6be66b;
  --green-strong: #4caf50;
  --green-soft: rgba(107, 230, 107, 0.12);
  --gold: #f4b65f;
  --danger: #ef5350;
  --warning: #ffb74d;
  --radius-sm: 14px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --shadow-soft: 0 24px 80px rgba(0, 0, 0, 0.32);
  --shadow-green: 0 14px 48px rgba(107, 230, 107, 0.18);
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background:
    radial-gradient(circle at top left, rgba(107, 230, 107, 0.15), transparent 26%),
    radial-gradient(circle at 85% 10%, rgba(244, 182, 95, 0.12), transparent 18%),
    linear-gradient(180deg, #17181b 0%, #111214 100%);
  color: var(--text);
  font-family: 'Manrope', sans-serif;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.4;
  pointer-events: none;
}

img {
  display: block;
  max-width: 100%;
}

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

a,
button,
input,
select,
textarea {
  outline: none;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  box-shadow: 0 0 0 3px rgba(107, 230, 107, 0.26);
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

.site-shell {
  position: relative;
  z-index: 1;
}

.skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 50;
  padding: 12px 16px;
  border-radius: 999px;
  background: #f5f7f6;
  color: #111214;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(18, 19, 21, 0.72);
  border-bottom: 1px solid var(--line);
}

.site-header__inner,
.hero,
.section,
.page-hero,
.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brandmark img {
  width: 148px;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--text-muted);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  background: var(--surface-soft);
  color: var(--text);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface-soft);
  color: var(--text);
}

.menu-toggle__icon--close {
  display: none;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__icon--open {
  display: none;
}

.menu-toggle[aria-expanded='true'] .menu-toggle__icon--close {
  display: block;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
}

.button--primary {
  background: linear-gradient(135deg, var(--green), #9aff8f);
  color: #0f160f;
  box-shadow: var(--shadow-green);
}

.button--ghost {
  background: var(--surface-soft);
  border-color: var(--line);
  color: var(--text);
}

.button--block {
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero,
.page-hero {
  display: grid;
  gap: 28px;
  align-items: center;
  padding: 56px 0 18px;
}

.hero {
  grid-template-columns: 1.18fr 0.82fr;
  min-height: calc(100vh - 120px);
}

.page-hero {
  padding-top: 72px;
}

.page-hero--compact {
  padding-bottom: 0;
}

.page-hero--referral {
  min-height: calc(100vh - 220px);
  place-items: center;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Sora', sans-serif;
  line-height: 1.04;
}

h1 {
  font-size: clamp(2.7rem, 7vw, 5.4rem);
  letter-spacing: -0.05em;
}

h2 {
  font-size: clamp(1.8rem, 4.6vw, 3rem);
  letter-spacing: -0.04em;
}

h3 {
  font-size: 1.15rem;
}

p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.72;
}

.hero__lede {
  max-width: 60ch;
  font-size: 1.1rem;
}

.hero__copy,
.hero__stage,
.page-hero > div {
  display: grid;
  gap: 20px;
}

.hero__stage {
  align-self: stretch;
  grid-template-columns: 1fr 1fr;
}

.hero-stage-card {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    rgba(34, 37, 41, 0.84);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.hero-stage-card::after {
  content: '';
  position: absolute;
  inset: auto -20% -45% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 230, 107, 0.24), transparent 70%);
}

.hero-stage-card--wide {
  min-height: 320px;
  grid-column: span 2;
}

.hero-stage-card__label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
}

.hero-stage-card__label svg,
.detail-note svg,
.listing-card__badge svg {
  width: 18px;
  height: 18px;
}

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

.metric-card,
.detail-card,
.category-card,
.step-card,
.highlight-card,
.testimonial-card,
.value-card,
.support-card,
.note-card,
.channel-card {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(34, 37, 41, 0.82);
  box-shadow: var(--shadow-soft);
}

.metric-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--text);
  font-size: 1.35rem;
  font-weight: 800;
}

.metric-card span {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.section {
  padding: 48px 0;
}

.section--dense {
  padding-top: 24px;
}

.section--accent .category-card,
.section--accent .note-card,
.section--accent .channel-card,
.section--accent .detail-card {
  background: rgba(22, 24, 26, 0.92);
}

.section__heading {
  display: grid;
  gap: 14px;
  max-width: 760px;
  margin-bottom: 26px;
}

.step-grid,
.highlight-grid,
.testimonial-grid,
.support-grid,
.note-card-grid,
.channel-grid,
.category-grid,
.listing-grid {
  display: grid;
  gap: 18px;
}

.step-grid,
.highlight-grid,
.testimonial-grid,
.support-grid,
.note-card-grid,
.channel-grid,
.category-grid {
  grid-template-columns: repeat(12, minmax(0, 1fr));
}

.step-card,
.highlight-card,
.testimonial-card,
.value-card {
  grid-column: span 4;
}

.category-card,
.note-card,
.channel-card {
  grid-column: span 3;
}

.support-card {
  grid-column: span 4;
}

.step-card__index {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  background: var(--green-soft);
  color: var(--green);
  font-weight: 800;
}

.category-card__icon {
  display: inline-flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(107, 230, 107, 0.1);
  color: var(--green);
}

.category-card__icon svg {
  width: 22px;
  height: 22px;
}

.testimonial-card__quote {
  margin-bottom: 18px;
  color: var(--text);
  font-size: 1.02rem;
}

.testimonial-card strong,
.testimonial-card span {
  display: block;
}

.testimonial-card span {
  margin-top: 6px;
  color: var(--text-soft);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.store-row--stacked {
  flex-direction: column;
}

.store-row--footer {
  flex-direction: column;
}

.store-button {
  min-width: 210px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.store-button:hover {
  transform: translateY(-2px);
  border-color: rgba(107, 230, 107, 0.38);
  background: rgba(107, 230, 107, 0.08);
}

.store-button__eyebrow,
.store-button__note {
  display: block;
}

.store-button__eyebrow {
  margin-bottom: 8px;
  color: var(--green);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.store-button__label {
  display: block;
  color: var(--text);
  font-weight: 800;
}

.store-button__note {
  margin-top: 6px;
  color: var(--text-soft);
  font-size: 0.88rem;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.browse-section {
  display: grid;
  gap: 20px;
  grid-template-columns: 290px minmax(0, 1fr);
}

.filter-panel,
.browse-results,
.referral-panel,
.cta-panel,
.referral-redirect {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(25, 27, 30, 0.86);
  box-shadow: var(--shadow-soft);
}

.browse-results {
  display: grid;
  gap: 18px;
}

.browse-results__header {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
}

.field {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.field label,
.contact-form label {
  display: grid;
  gap: 10px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 600;
}

input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: var(--text-soft);
}

textarea {
  resize: vertical;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.chip {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  cursor: pointer;
}

.chip.is-active {
  background: var(--green);
  color: #112011;
  border-color: transparent;
}

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

.listing-card {
  display: grid;
  grid-column: span 4;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(27, 29, 32, 0.88);
  transition: transform 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.listing-card:hover {
  transform: translateY(-3px);
  border-color: rgba(107, 230, 107, 0.22);
}

.listing-card[hidden] {
  display: none;
}

.listing-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #111214;
}

.listing-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.listing-card__badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(17, 22, 17, 0.78);
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.listing-card__content {
  display: grid;
  gap: 14px;
  padding: 18px;
}

.listing-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--text-soft);
  font-size: 0.8rem;
}

.listing-card__meta-tag {
  color: var(--gold);
}

.listing-card h3 a {
  color: var(--text);
}

.listing-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.listing-card__footer strong {
  color: var(--green);
  font-size: 1.04rem;
}

.listing-hero {
  grid-template-columns: 1.06fr 0.94fr;
}

.listing-hero__media {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 34px;
  box-shadow: var(--shadow-soft);
}

.listing-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.meta-pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.meta-pill {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
  font-size: 0.84rem;
}

.listing-hero__price {
  color: var(--green);
  font-family: 'Sora', sans-serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 800;
}

.listing-hero__summary {
  font-size: 1.06rem;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.listing-detail-layout,
.contact-layout {
  display: grid;
  gap: 20px;
  grid-template-columns: 1.12fr 0.88fr;
}

.listing-story,
.listing-sidebar {
  display: grid;
  gap: 18px;
}

.detail-card--warning {
  border-color: rgba(255, 183, 77, 0.24);
  background: rgba(58, 42, 20, 0.34);
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0;
}

.spec-grid dt {
  margin-bottom: 6px;
  color: var(--text-soft);
  font-size: 0.82rem;
}

.spec-grid dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.safety-list,
.seller-facts {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  margin: 0;
  color: var(--text-muted);
}

.referral-panel,
.referral-redirect {
  display: grid;
  gap: 16px;
  max-width: 520px;
}

.referral-panel__label {
  color: var(--text-soft);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.referral-panel strong,
.referral-redirect strong {
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  letter-spacing: -0.05em;
}

.referral-input-group {
  display: grid;
  gap: 10px;
}

.cta-panel {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.contact-form {
  display: grid;
  gap: 16px;
}

.faq-item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  color: var(--text);
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin-top: 12px;
}

.site-footer {
  display: grid;
  gap: 24px;
  padding: 48px 0 72px;
}

.site-footer__grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.3fr 0.7fr 1fr;
}

.site-footer__title {
  margin-bottom: 14px;
  font-size: 1rem;
}

.site-footer__links {
  display: grid;
  gap: 10px;
}

.site-footer__copy {
  max-width: 42ch;
}

.site-footer__logo {
  margin-bottom: 14px;
  width: 172px;
  height: auto;
}

.site-footer__meta {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--text-soft);
  font-size: 0.9rem;
}

.download-gate {
  width: min(calc(100% - 24px), 620px);
  padding: 0;
  border: 0;
  background: transparent;
}

.download-gate::backdrop {
  background: rgba(7, 8, 9, 0.72);
  backdrop-filter: blur(10px);
}

.download-gate__panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #17191c;
  box-shadow: var(--shadow-soft);
}

.download-gate__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

@media (max-width: 980px) {
  .hero,
  .listing-hero,
  .listing-detail-layout,
  .contact-layout,
  .browse-section,
  .cta-panel,
  .site-footer__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 40px;
  }

  .metric-grid,
  .feature-strip {
    grid-template-columns: 1fr;
  }

  .hero__stage,
  .step-grid,
  .highlight-grid,
  .testimonial-grid,
  .support-grid,
  .note-card-grid,
  .channel-grid,
  .category-grid,
  .listing-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .hero-stage-card--wide,
  .step-card,
  .highlight-card,
  .testimonial-card,
  .value-card,
  .support-card,
  .note-card,
  .channel-card,
  .category-card,
  .listing-card {
    grid-column: span 6;
  }

  .browse-results__header,
  .site-footer__meta {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 760px) {
  .site-header__inner {
    align-items: center;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(20, 21, 24, 0.96);
    box-shadow: var(--shadow-soft);
  }

  .site-nav.is-open {
    display: flex;
  }

  .nav-link,
  .site-nav .button {
    width: 100%;
  }

  .section,
  .page-hero {
    width: min(calc(100% - 24px), var(--max-width));
  }

  .hero,
  .page-hero {
    padding-top: 36px;
  }

  .hero__stage,
  .step-grid,
  .highlight-grid,
  .testimonial-grid,
  .support-grid,
  .note-card-grid,
  .channel-grid,
  .category-grid,
  .listing-grid {
    grid-template-columns: 1fr;
  }

  .hero-stage-card--wide,
  .step-card,
  .highlight-card,
  .testimonial-card,
  .value-card,
  .support-card,
  .note-card,
  .channel-card,
  .category-card,
  .listing-card {
    grid-column: auto;
  }

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

  .detail-actions,
  .store-row {
    flex-direction: column;
  }

  .button,
  .store-button {
    width: 100%;
  }

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

  .download-gate__panel {
    padding: 24px 20px;
  }
}
