/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0A0A0A;
  --bg-2: #111111;
  --bg-3: #1a1a1a;
  --lime: #D4FF02;
  --lime-dim: rgba(212, 255, 2, 0.12);
  --lime-glow: rgba(212, 255, 2, 0.06);
  --text: #EDEDED;
  --text-muted: #888888;
  --text-dim: #555555;
  --border: rgba(255,255,255,0.06);
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #333; border-radius: 3px; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  background: rgba(10,10,10,0.85);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-toggle { display: none; }
.nav-toggle-dot {
  width: 22px; height: 3px;
  background: var(--text);
  display: block;
  margin: 5px 0;
  border-radius: 2px;
}

.nav-cta {
  background: var(--lime);
  color: #0A0A0A;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  touch-action: manipulation;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
.nav-cta:hover { opacity: 0.9; }
.nav-cta.secondary {
  background: transparent;
  color: var(--text-muted);
  padding: 0 12px;
  min-height: 44px;
  touch-action: manipulation;
}
.nav-cta.secondary:hover { color: var(--text); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  padding-top: 64px;
  overflow: hidden;
}

.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,255,2,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,255,2,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 0%, black 0%, transparent 70%);
  pointer-events: none;
}

.hero-glow {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,255,2,0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-inner {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 24px;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.tap-that-app-slogan {
  font-family: var(--font-display);
  font-size: clamp(42px, 5vw, 72px);
  font-weight: 700;
  color: var(--lime);
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 20px;
  text-shadow: 0 0 60px rgba(212, 255, 2, 0.35);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime-dim);
  border: 1px solid rgba(212,255,2,0.2);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 500;
  color: var(--lime);
  margin-bottom: 28px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}

.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 80px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: var(--text);
  margin-bottom: 28px;
}

.hero-headline em {
  font-style: normal;
  color: var(--lime);
}

.hero-lede {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-cta-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  touch-action: manipulation;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s;
  touch-action: manipulation;
}

.btn-ghost:hover {
  border-color: rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.04);
}

/* ===== PHONE MOCK ===== */
.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phone-mock {
  perspective: 1000px;
}

.phone-frame {
  width: 260px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 16px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.04),
    0 40px 80px rgba(0,0,0,0.6),
    0 0 60px rgba(212,255,2,0.05);
  transform: rotateY(-8deg) rotateX(4deg);
  animation: float-phone 6s ease-in-out infinite;
}

@keyframes float-phone {
  0%, 100% { transform: rotateY(-8deg) rotateX(4deg) translateY(0); }
  50% { transform: rotateY(-8deg) rotateX(4deg) translateY(-12px); }
}

.phone-screen {
  background: var(--bg);
  border-radius: 26px;
  padding: 20px 16px;
  min-height: 380px;
}

.mock-nav {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.mock-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #333;
}

.mock-content { display: flex; flex-direction: column; gap: 16px; }

.mock-label {
  font-size: 10px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-display);
}

.mock-link-box {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.mock-link-icon {
  width: 28px;
  height: 28px;
  background: var(--lime-dim);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mock-link-text {
  font-size: 12px;
  color: var(--text-muted);
  font-family: var(--font-display);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.mock-share-row {
  display: flex;
  gap: 8px;
}

.mock-share-btn {
  flex: 1;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  text-align: center;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  cursor: default;
}

.mock-share-btn.accent {
  background: var(--lime);
  color: var(--bg);
  border-color: var(--lime);
  font-weight: 600;
}

.mock-stats-row {
  display: flex;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.mock-stat {
  flex: 1;
  padding: 10px 8px;
  text-align: center;
  border-right: 1px solid var(--border);
}

.mock-stat:last-child { border-right: none; }

.mock-stat-val {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.mock-stat-label {
  font-size: 9px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* ===== SECTIONS ===== */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 500;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.section-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
  max-width: 600px;
}

.section-body {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 520px;
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 56px;
}

/* ===== LINK STUDIO ===== */
.link-studio {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.studio-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}

.studio-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  cursor: pointer;
  transition: border-color 0.2s, transform 0.2s;
}

.studio-card:hover,
.studio-card:focus-visible {
  border-color: rgba(212,255,2,0.35);
  transform: translateY(-2px);
  outline: none;
}

.studio-card:focus-visible {
  box-shadow: 0 0 0 2px var(--lime-dim);
}

.sc-icon {
  width: 44px;
  height: 44px;
  background: var(--lime-dim);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  cursor: default;
}

.studio-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 10px;
}

.studio-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.feature-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.feature-modal.open { display: flex; }
.feature-modal-inner {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  max-width: 480px;
  width: 90%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.feature-modal-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  padding-right: 32px;
}
.feature-modal-body {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.65;
  margin-bottom: 24px;
}
.feature-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 4px 8px;
  min-width: 44px;
  min-height: 44px;
  touch-action: manipulation;
}
.feature-modal-close:hover,
.feature-modal-close:focus-visible {
  color: var(--text);
  outline: none;
}
.feature-modal-gotit {
  background: var(--lime);
  color: #0A0A0A;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.875rem;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  cursor: pointer;
  min-height: 44px;
  touch-action: manipulation;
}
.feature-modal-gotit:hover { opacity: 0.9; }

.studio-demo {
  display: flex;
  justify-content: center;
}

.demo-box {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
}

.demo-label {
  font-family: var(--font-display);
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.demo-input {
  width: 100%;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.demo-placeholder { color: var(--text-dim); font-size: 15px; }

.demo-btn {
  background: var(--lime);
  color: var(--bg);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: default;
}

.demo-arrow {
  width: 40px;
  height: 40px;
  background: var(--lime-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounce-right 1.5s ease-in-out infinite;
}

@keyframes bounce-right {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(8px); }
}

.demo-result { width: 100%; }

.demo-link-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--lime-dim);
  border: 1px solid rgba(212,255,2,0.25);
  border-radius: 100px;
  padding: 8px 16px;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--lime);
  font-weight: 500;
}

.chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime);
}

.chip-tag {
  background: var(--lime);
  color: var(--bg);
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ===== TAP TRACKER ===== */
.tap-tracker {
  padding: 120px 0;
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tracker-dashboard {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  max-width: 760px;
}

.td-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.td-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.td-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(52,211,153,0.1);
  border: 1px solid rgba(52,211,153,0.2);
  border-radius: 100px;
  padding: 4px 12px;
  font-size: 11px;
  color: #34d399;
  font-weight: 500;
}

.td-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #34d399;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

.td-metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 32px;
}

.td-metric {
  background: var(--bg-2);
  padding: 20px;
  text-align: center;
}

.td-metric.highlight { background: var(--lime-dim); }

.td-m-val {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  line-height: 1;
  margin-bottom: 6px;
}

.td-metric.highlight .td-m-val { color: var(--lime); }

.td-m-label {
  font-size: 11px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.td-chart {
  margin-bottom: 28px;
}

.td-chart-label {
  font-size: 11px;
  color: var(--text-dim);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.td-bars {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 80px;
}

.td-bar {
  flex: 1;
  height: var(--h);
  background: var(--bg-3);
  border-radius: 4px 4px 0 0;
  transition: background 0.2s;
}

.td-bar.active { background: var(--lime); }

.td-links { display: flex; flex-direction: column; gap: 1px; }

.td-link-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: var(--bg-2);
  border-radius: var(--radius-sm);
  font-size: 13px;
}

.td-link-name {
  font-family: var(--font-display);
  font-weight: 500;
  color: var(--text);
}

.td-link-stats { color: var(--text-dim); }
.td-link-conv { color: var(--text-muted); }
.td-link-rev {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--lime);
}

/* ===== CREATOR ECONOMY ===== */
.creator-economy {
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.creator-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 64px;
}

.cf-item {
  background: var(--bg-2);
  padding: 36px;
  display: flex;
  gap: 24px;
}

.cf-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  color: var(--lime);
  background: var(--lime-dim);
  border-radius: 6px;
  padding: 4px 8px;
  height: fit-content;
  flex-shrink: 0;
  letter-spacing: 0.05em;
}

.cf-body h4 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.cf-body p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

.creator-quote {
  max-width: 600px;
  position: relative;
  padding-left: 28px;
}

.cq-line {
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--lime);
  border-radius: 1px;
}

.creator-quote blockquote {
  font-size: 18px;
  color: var(--text);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 12px;
}

.creator-quote cite {
  font-size: 13px;
  color: var(--text-dim);
  font-style: normal;
}

/* ===== CLOSING ===== */
.closing {
  padding: 140px 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.closing-inner { max-width: 680px; margin: 0 auto; padding: 0 24px; }

.closing-badge {
  display: inline-block;
  background: var(--lime-dim);
  border: 1px solid rgba(212,255,2,0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 12px;
  font-weight: 500;
  color: var(--lime);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 36px;
}

.closing-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: var(--text);
  margin-bottom: 24px;
}

.closing-body {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 64px;
}

.closing-pulse {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  position: relative;
}

.pulse-ring {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 1.5px solid var(--lime);
  border-radius: 50%;
  animation: pulse-ring 2.5s ease-out infinite;
}

.pulse-ring.delay { animation-delay: 1.2s; }

@keyframes pulse-ring {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(1.8); opacity: 0; }
}

.pulse-core {
  width: 56px;
  height: 56px;
  background: var(--lime);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

/* ===== MOBILE STICKY CTA ===== */
.mobile-cta {
  display: none;                 /* hidden on desktop and tablet */
}

@media (max-width: 768px) {
  .mobile-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    left: 12px;
    right: 12px;
    bottom: calc(16px + env(safe-area-inset-bottom));
    z-index: 90;                 /* below .nav which is z-index 100 */
    background: var(--lime);
    color: #0A0A0A;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 15px;
    text-decoration: none;
    padding: 14px 20px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    min-height: 48px;
    touch-action: manipulation;
    transition: opacity 0.2s, transform 0.2s;
  }
  .mobile-cta[hidden] { display: none; }
  .mobile-cta:active { transform: translateY(1px); opacity: 0.95; }
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  margin-bottom: 56px;
}

.footer-brand { max-width: 320px; }

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--text);
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.6;
}

.footer-links {
  display: flex;
  gap: 64px;
}

.fl-col { display: flex; flex-direction: column; gap: 12px; }

.fl-heading {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.fl-col a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  transition: color 0.2s;
}

.fl-col a:hover { color: var(--text); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 0;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-dot:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-dot:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-dot:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100vw;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
    z-index: 99;
  }
  .nav.nav-open .nav-links a,
  .nav.nav-open .nav-links form {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-cta-group { justify-content: center; }
  .phone-frame { transform: none; animation: none; }

  .studio-cards { grid-template-columns: 1fr; }
  .creator-features { grid-template-columns: 1fr; }
  .td-metrics { grid-template-columns: repeat(2, 1fr); }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; }

  .td-link-row {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .td-link-conv, .td-link-stats { display: none; }

  .signup-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 64px;
  }

  .signup-form-card {
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    max-width: 440px;
    width: 100%;
  }

  .signup-input {
    width: 100%;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text);
    font-size: 15px;
    font-family: var(--font-body);
    outline: none;
    transition: border-color 0.2s;
  }

  .signup-input:focus {
    border-color: var(--lime);
  }

  .signup-input::placeholder {
    color: var(--text-dim);
  }
}

@media (min-width: 769px) and (max-width: 1024px) and (pointer: coarse) {
  .nav-links { display: none; }

  .nav-toggle { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-dot:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-dot:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-dot:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .nav.nav-open .nav-links {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    width: 100vw;
    background: var(--bg-2);
    border-bottom: 1px solid var(--border);
    padding: 16px 24px;
    gap: 4px;
    z-index: 99;
  }
  .nav.nav-open .nav-links a,
  .nav.nav-open .nav-links form {
    min-height: 44px;
    display: flex;
    align-items: center;
  }
}

/* Vertical card grid — link studio + dashboard content generator */
.v-grid-card {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 6px; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); cursor: pointer; text-align: center;
  font-size: 0.7rem; font-weight: 500; color: var(--text-muted);
  transition: border-color 0.15s, color 0.15s; user-select: none;
}
.v-grid-card:hover { border-color: rgba(212,255,2,0.3); color: var(--text); }
.v-grid-card.selected { border-color: var(--lime); color: var(--lime); }
.v-grid-card-icon { font-size: 18px; line-height: 1; }
.gen-content-type-select {
  width: 100%; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 9px 12px; color: var(--text);
  font-family: var(--font-body); font-size: 0.875rem; outline: none;
  margin-bottom: 8px;
}
.gen-content-type-select:focus { border-color: var(--lime); }
.gen-link-picker-row {
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 8px;
}
.gen-link-picker-label {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted); white-space: nowrap;
}
.gen-link-picker-select {
  flex: 1; min-width: 0; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 9px 12px; color: var(--text);
  font-family: var(--font-body); font-size: 0.875rem; outline: none;
  cursor: pointer;
}
.gen-link-picker-select:focus { border-color: var(--lime); }
.gen-product-input {
  width: 100%; background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 9px 12px; color: var(--text);
  font-family: var(--font-body); font-size: 0.875rem; outline: none;
  margin-bottom: 10px; box-sizing: border-box;
}
.gen-product-input:focus { border-color: rgba(212,255,2,0.5); }
.gen-generate-btn {
  background: var(--lime); color: #0A0A0A; border: none; border-radius: var(--radius-sm);
  padding: 9px 20px; font-weight: 600; font-size: 0.875rem; cursor: pointer;
  width: 100%; transition: opacity 0.2s;
  min-height: 44px; touch-action: manipulation;
}
.gen-generate-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.gen-copy-card {
  background: var(--bg-3); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px;
}
.gen-copy-card-header {
  display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px;
}
.gen-copy-label {
  font-size: 0.7rem; font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.08em; color: var(--text-muted);
}
.gen-copy-btn {
  background: none; border: 1px solid var(--border); border-radius: 6px;
  color: var(--text-muted); font-size: 0.7rem; padding: 4px 9px; cursor: pointer;
  min-height: 44px; touch-action: manipulation;
}
.gen-copy-btn:hover { border-color: var(--lime); color: var(--lime); }
.gen-copy-body {
  font-size: 0.83rem; line-height: 1.6; color: var(--text);
  white-space: pre-wrap; word-break: break-word;
}
.gen-affiliate-url { color: var(--lime); font-weight: 600; }

.aff-sort-row { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; flex-wrap: wrap; }
.aff-sort-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.06em; font-family: var(--font-display); }
.aff-sort-btn { background: var(--bg-3); border: 1px solid var(--border); color: var(--text); padding: 6px 12px; border-radius: 999px; font-size: 0.75rem; cursor: pointer; font-family: inherit; transition: border-color 0.15s, background 0.15s; }
.aff-sort-btn:hover { border-color: var(--lime); }
.aff-sort-btn.is-active { background: var(--lime); color: #0a0e0a; border-color: var(--lime); }
