:root {
  --bg: #09090b;
  --bg-alt: #18181b;
  --bg-elevated: #1e1e22;
  --bg-subtle: #111114;
  --text: #fafafa;
  --text-muted: #a1a1aa;
  --text-dim: #71717a;
  --accent: #f59e0b;
  --accent-light: #fbbf24;
  --accent-dim: rgba(245, 158, 11, 0.15);
  --accent-glow: rgba(245, 158, 11, 0.08);
  --green: #22c55e;
  --red: #ef4444;
  --blue: #3b82f6;
  --border: #27272a;
  --border-light: #3f3f46;
  --code-bg: #0f0f12;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 16px;
  --max-w: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--accent-light);
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  background: var(--accent-dim);
  color: var(--accent-light);
  padding: 0.15em 0.4em;
  border-radius: 4px;
}

.reveal {
  opacity: 1;
  transform: none;
}

html:not(.no-js) .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.22, 1, 0.36, 1), transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

html:not(.no-js) .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html:not(.no-js) .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(9, 9, 11, 0.8);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.03em;
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav-brand span {
  color: var(--accent);
}

.nav-version {
  font-size: 0.65rem;
  font-weight: 600;
  background: var(--accent-dim);
  color: var(--accent);
  padding: 0.15rem 0.5rem;
  border-radius: 20px;
  margin-left: 0.5rem;
  letter-spacing: 0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

.nav-links .nav-gh {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s;
}

.nav-links .nav-gh:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.nav-links .nav-gh svg {
  width: 16px;
  height: 16px;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger svg {
  width: 24px;
  height: 24px;
}

.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 10rem 2rem 6rem;
  text-align: center;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 600px;
  background: radial-gradient(ellipse at center, var(--accent-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent-dim);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: var(--accent-light);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 30px;
  margin-bottom: 2rem;
  letter-spacing: 0.01em;
}

.hero-badge svg {
  width: 14px;
  height: 14px;
}

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero h1 .gradient {
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-light) 25%, #fde68a 50%, var(--accent-light) 75%, var(--accent) 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 4s ease infinite;
}

@keyframes gradient-shift {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero-typing {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
  min-height: 1.5em;
}

.typing-cursor {
  animation: blink 0.7s step-end infinite;
  color: var(--accent);
}

@keyframes blink {
  50% { opacity: 0; }
}

.hero-sub {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.25s;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--font);
}

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-primary:hover {
  background: var(--accent-light);
  color: #000;
  box-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

.btn-outline {
  border-color: var(--border-light);
  color: var(--text);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-trust {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.hero-trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-dim);
  font-weight: 500;
}

.hero-trust-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.section-full {
  padding: 6rem 2rem;
  position: relative;
  scroll-margin-top: 80px;
}

.section-full.alt {
  background: var(--bg-subtle);
}

.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-muted);
  max-width: 780px;
  margin-bottom: 3rem;
  font-size: 1.05rem;
  line-height: 1.8;
}

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

.problem-col {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.problem-col.before {
  border-color: rgba(239, 68, 68, 0.2);
}

.problem-col.before::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--red), transparent);
}

.problem-col.after {
  border-color: rgba(34, 197, 94, 0.2);
}

.problem-col.after::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--green), transparent);
}

.problem-col-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.problem-col-label svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.problem-col.before .problem-col-label {
  color: var(--red);
}

.problem-col.after .problem-col-label {
  color: var(--green);
}

.problem-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.problem-col li {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.problem-col li svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
}

.problem-col.before li svg {
  color: var(--red);
}

.problem-col.after li svg {
  color: var(--green);
}

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

.feature-card {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  border-color: var(--border-light);
  transform: translateY(-2px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--accent);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.feature-card .feature-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.feature-card .feature-tech {
  font-size: 0.75rem;
  font-family: var(--font-mono);
  color: var(--text-dim);
  background: var(--code-bg);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  display: inline-block;
}

.arch-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

.terminal {
  background: var(--code-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
}

.terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.terminal-dot.r { background: #ef4444; }
.terminal-dot.y { background: #f59e0b; }
.terminal-dot.g { background: #22c55e; }

.terminal-title {
  font-size: 0.7rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
  margin-left: 0.5rem;
}

.terminal-body {
  padding: 1.25rem;
  overflow-x: auto;
}

.terminal-body pre {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.7;
  color: var(--text-muted);
}

.terminal-body .json-key {
  color: #93c5fd;
}

.terminal-body .json-str {
  color: #86efac;
}

.terminal-body .json-num {
  color: #fbbf24;
}

.terminal-body .json-bool {
  color: #c084fc;
}

.terminal-body .json-bracket {
  color: #71717a;
}

.terminal-body .comment {
  color: #52525b;
}

.terminal-body .cmd {
  color: var(--accent);
}

.terminal-body .prompt {
  color: var(--green);
}

.pipeline-section {
  margin-top: 2rem;
}

.pipeline {
  display: flex;
  gap: 0;
  align-items: stretch;
  margin-bottom: 2.5rem;
}

.pipeline-stage {
  flex: 1;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 1.75rem;
  position: relative;
  transition: all 0.3s;
}

.pipeline-stage:first-child {
  border-radius: var(--radius) 0 0 var(--radius);
}

.pipeline-stage:last-child {
  border-radius: 0 var(--radius) var(--radius) 0;
}

.pipeline-stage:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
  border-left: 12px solid var(--border);
  z-index: 2;
}

.pipeline-stage:hover {
  border-color: var(--accent);
  background: rgba(245, 158, 11, 0.03);
}

.pipeline-num {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.5rem;
}

.pipeline-stage h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.pipeline-stage p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.ops-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.ops-table th {
  text-align: left;
  font-weight: 700;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border);
}

.ops-table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.ops-table tr:last-child td {
  border-bottom: none;
}

.ops-table .op-name {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--accent-light);
  font-size: 0.8rem;
}

.ops-table .op-desc {
  color: var(--text-muted);
}

.ops-table .op-param {
  font-family: var(--font-mono);
  color: var(--text-dim);
  font-size: 0.8rem;
}

.profiles-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.profile-tab {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  font-family: var(--font);
}

.profile-tab:hover {
  border-color: var(--border-light);
  color: var(--text);
}

.profile-tab.active {
  background: var(--accent-dim);
  border-color: var(--accent);
  color: var(--accent);
}

.profile-content {
  display: none;
  animation: fadeIn 0.3s ease;
}

.profile-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.profile-panel {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.profile-header h3 {
  font-size: 1.15rem;
  font-weight: 700;
}

.profile-header .profile-id-tag {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--accent);
  background: var(--accent-dim);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
}

.profile-fields {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 0.75rem;
}

.profile-field {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  background: var(--code-bg);
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  transition: border-color 0.2s;
}

.profile-field:hover {
  border-color: var(--border);
}

.profile-field-name {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-light);
  white-space: nowrap;
}

.profile-field-desc {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.timeline {
  position: relative;
  padding-left: 3rem;
  counter-reset: step;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.timeline-step {
  position: relative;
  padding-bottom: 2rem;
  counter-increment: step;
}

.timeline-step:last-child {
  padding-bottom: 0;
}

.timeline-step::before {
  content: counter(step);
  position: absolute;
  left: -3rem;
  top: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.75rem;
  border-radius: 50%;
  z-index: 1;
}

.timeline-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.timeline-step p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

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

.resource-card {
  display: flex;
  flex-direction: column;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: all 0.3s;
  text-decoration: none;
  color: inherit;
}

.resource-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}

.resource-card:hover h3 {
  color: var(--accent);
}

.resource-icon {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: var(--accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.resource-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}

.resource-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  transition: color 0.2s;
}

.resource-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
}

.resource-card .resource-link {
  margin-top: 1rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.resource-card .resource-link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

.resource-card:hover .resource-link svg {
  transform: translateX(3px);
}

.footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-brand {
  font-weight: 800;
  font-size: 1rem;
  color: var(--text);
}

.footer-brand span {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 500;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--accent);
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .resources-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .arch-split {
    grid-template-columns: 1fr;
  }
  .pipeline {
    flex-direction: column;
  }
  .pipeline-stage:first-child {
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .pipeline-stage:last-child {
    border-radius: 0 0 var(--radius) var(--radius);
  }
  .pipeline-stage:not(:last-child)::after {
    display: none;
  }
}

/* Hoop partner ad */
.hoop-ad {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  background: var(--bg-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
  position: relative;
  overflow: hidden;
}
.hoop-ad::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: radial-gradient(ellipse 60% 80% at 0% 50%, rgba(245,158,11,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hoop-ad:hover {
  border-color: rgba(245, 158, 11, 0.45);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3), 0 0 0 1px rgba(245,158,11,0.1);
}
.hoop-ad-left {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.75rem 2rem;
  min-width: 140px;
}
.hoop-ad-logo {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hoop-ad-logo img {
  width: 90px;
  height: auto;
  display: block;
  mix-blend-mode: screen;
}
.hoop-ad-divider {
  width: 1px;
  align-self: stretch;
  background: var(--border);
  flex-shrink: 0;
}
.hoop-ad-body {
  flex: 1;
  padding: 1.75rem 2rem;
}
.hoop-ad-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.4rem;
  line-height: 1.35;
}
.hoop-ad-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.hoop-ad-cta {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin: 1.75rem 2rem;
  padding: 0.65rem 1.25rem;
  background: var(--accent);
  color: #09090b;
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 8px;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s;
}
.hoop-ad-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.hoop-ad:hover .hoop-ad-cta {
  background: var(--accent-light);
}
.hoop-ad:hover .hoop-ad-cta svg {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 1.5rem 2rem;
    gap: 1rem;
  }
  .nav-links.open {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .hero {
    padding: 7rem 1.25rem 3rem;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-sub {
    font-size: 1.05rem;
  }
  .section-full {
    padding: 3.5rem 1.25rem;
  }
  .problem-grid {
    grid-template-columns: 1fr;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .resources-grid {
    grid-template-columns: 1fr;
  }
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
  .hero-trust {
    flex-direction: column;
    gap: 0.75rem;
  }
  .hoop-ad {
    flex-direction: column;
    align-items: stretch;
  }
  .hoop-ad-left {
    padding: 1.5rem 1.25rem 1rem;
    min-width: unset;
  }
  .hoop-ad-divider {
    width: auto;
    height: 1px;
    align-self: auto;
  }
  .hoop-ad-body {
    padding: 1rem 1.25rem 0;
  }
  .hoop-ad-cta {
    margin: 1rem 1.25rem 1.25rem;
    justify-content: center;
  }
}
