:root {
  --background: #16161a;
  --card: #1e1e24;
  --foreground: #f7f7f8;
  --muted-foreground: #a1a1ad;
  --primary: #c6f24e;
  --primary-foreground: #1a2107;
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.16);
  --primary-soft: rgba(198, 242, 78, 0.15);
  --radius: 0.75rem;
  --max: 72rem;
  --max-narrow: 48rem;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background: var(--background);
  scroll-behavior: smooth;
}

body {
  background: var(--background);
  color: var(--foreground);
  font-family: "Inter", system-ui, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
.brand-name {
  font-family: "Space Grotesk", system-ui, sans-serif;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.accent {
  color: var(--primary);
}

.muted {
  color: var(--muted-foreground);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding-inline: 1rem;
}

.container-narrow {
  max-width: var(--max-narrow);
}

@media (min-width: 640px) {
  .container {
    padding-inline: 1.5rem;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s,
    transform 0.05s;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn svg {
  width: 1rem;
  height: 1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--primary-foreground);
}

.btn-primary:hover {
  background: #d3f76d;
}

.btn-outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--foreground);
}

.btn-outline:hover {
  background: var(--card);
}

.btn-sm {
  height: 2.5rem;
  padding-inline: 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  height: 3rem;
  padding-inline: 1.75rem;
  font-size: 1rem;
}

.btn-block {
  width: 100%;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--border);
  background: rgba(22, 22, 26, 0.8);
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 0.5rem;
  background: var(--primary);
  color: var(--primary-foreground);
}

.brand-mark svg {
  width: 1rem;
  height: 1rem;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
}

.nav {
  display: none;
  gap: 2rem;
}

.nav a {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  transition: color 0.15s;
}

.nav a:hover {
  color: var(--foreground);
}

@media (min-width: 768px) {
  .nav {
    display: flex;
    align-items: center;
  }
}

/* Hero */
.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: 5rem;
}

@media (min-width: 640px) {
  .hero-inner {
    padding-top: 7rem;
  }
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted-foreground);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
}

.badge svg {
  width: 0.875rem;
  height: 0.875rem;
  color: var(--primary);
}

.hero-title {
  margin-top: 1.5rem;
  max-width: 48rem;
  font-size: 3rem;
  font-weight: 700;
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 36rem;
  color: var(--muted-foreground);
  font-size: 1rem;
}

.hero-cta {
  margin-top: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
  max-width: 22rem;
}

.hero-note {
  margin-top: 1rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 4.5rem;
  }
  .hero-sub {
    font-size: 1.125rem;
  }
  .hero-cta {
    flex-direction: row;
    width: auto;
    max-width: none;
  }
}

.stats {
  margin-top: 4rem;
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  padding: 1.25rem;
  text-align: center;
}

.stat-value {
  font-family: "Space Grotesk", sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  margin-top: 0.25rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

@media (min-width: 640px) {
  .stat-value {
    font-size: 1.875rem;
  }
  .stat-label {
    font-size: 0.875rem;
  }
}

/* Sections */
.section {
  border-top: 1px solid var(--border);
  padding-block: 5rem;
}

.section-head {
  max-width: 36rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.faq-title {
  font-size: 1.875rem;
  font-weight: 700;
}

@media (min-width: 640px) {
  .section-head h2,
  .faq-title {
    font-size: 2.25rem;
  }
}

.section-head p {
  margin-top: 0.75rem;
  color: var(--muted-foreground);
}

.card {
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
}

/* Steps */
.steps {
  margin-top: 3rem;
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .steps {
    grid-template-columns: repeat(3, 1fr);
  }
}

.step {
  padding: 1.5rem;
  transition: border-color 0.15s;
}

.step:hover {
  border-color: rgba(198, 242, 78, 0.5);
}

.step-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.icon-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  background: var(--primary-soft);
  color: var(--primary);
}

.icon-badge svg {
  width: 1.25rem;
  height: 1.25rem;
}

.step-num {
  font-family: "Space Grotesk", monospace;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.step h3 {
  margin-top: 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
}

.step p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Platforms */
.platforms-grid {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .platforms-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.platforms-grid h2 {
  font-size: 1.875rem;
  font-weight: 700;
}

.platforms-grid p {
  margin-top: 0.75rem;
}

@media (min-width: 640px) {
  .platforms-grid h2 {
    font-size: 2.25rem;
  }
}

.platform-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.platform-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: 1rem;
  padding: 1.25rem;
}

.platform-name {
  font-size: 1.125rem;
  font-weight: 600;
}

.pill {
  background: var(--primary-soft);
  color: var(--primary);
  border-radius: 9999px;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
}

/* Form */
.form-card {
  margin-top: 2.5rem;
  padding: 1.5rem;
}

@media (min-width: 640px) {
  .form-card {
    padding: 2rem;
  }
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.field > span {
  font-size: 0.875rem;
  font-weight: 500;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--foreground);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}

input::placeholder,
textarea::placeholder {
  color: var(--muted-foreground);
}

input:focus,
textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(198, 242, 78, 0.25);
}

textarea {
  resize: none;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip {
  border: 1px solid var(--border);
  background: var(--background);
  color: var(--muted-foreground);
  border-radius: 9999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: color 0.15s, background-color 0.15s, border-color 0.15s;
}

.chip:hover {
  color: var(--foreground);
}

.chip[aria-pressed="true"] {
  border-color: var(--primary);
  background: var(--primary);
  color: var(--primary-foreground);
}

.fine-print {
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-block: 2.5rem;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 9999px;
  background: var(--primary-soft);
  color: var(--primary);
}

.success-icon svg {
  width: 1.75rem;
  height: 1.75rem;
}

.form-success h3 {
  margin-top: 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
}

.form-success p {
  margin-top: 0.5rem;
  max-width: 24rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* FAQ */
.faq-list {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  padding: 1.25rem;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.plus {
  margin-left: 1rem;
  color: var(--primary);
  font-size: 1.25rem;
  transition: transform 0.2s;
}

.faq-item[open] .plus {
  transform: rotate(45deg);
}

.faq-item p {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 3rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: space-between;
}

@media (min-width: 640px) {
  .footer-top {
    flex-direction: row;
  }
}

.footer-brand {
  max-width: 20rem;
}

.footer-brand .muted {
  margin-top: 1rem;
  font-size: 0.875rem;
}

.company h3 {
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
}

.company dl {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
}

.company dl > div {
  display: flex;
  gap: 0.5rem;
}

.company dt {
  color: rgba(247, 247, 248, 0.7);
}

.footer-bottom {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted-foreground);
}

.footer-bottom a:hover {
  color: var(--foreground);
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
