/* ═══════════════════════════════════════════
   pathhog — shared design system
   Brand guide v1 · Poppins · Path Coral
   ═══════════════════════════════════════════ */

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

/* ── Brand tokens ── */
:root {
  --path-coral: #ff3d2e;
  --path-coral-hover: #e8362a;
  --hoof-grey: #262626;
  --tusk-white: #ffffff;
  --hog-peach: #ff8569;
  --hog-pink: #ffa897;
  --monday-blue: #004fff;
  --tuesday-blue: #8bbdff;

  --text-primary: #262626;
  --text-secondary: rgba(38, 38, 38, 0.6);
  --text-tertiary: rgba(38, 38, 38, 0.4);
  --border-light: rgba(38, 38, 38, 0.08);
}

/* ── Base ── */
html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  color: var(--text-primary);
  background: var(--tusk-white);
  line-height: 1.6;
}

a { color: var(--path-coral); }
a:hover { color: var(--path-coral-hover); }

/* ── Nav ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 64px;
  display: flex;
  align-items: center;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  text-decoration: none;
  color: var(--hoof-grey);
}

.nav-logo { height: 30px; width: auto; }

.nav-brand span {
  font-weight: 600;
  font-size: 1.125rem;
  letter-spacing: -0.01em;
}

/* ── Hero (index only) ── */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px clamp(1.5rem, 5vw, 4rem) 80px;
  max-width: 760px;
}

.hero h1 {
  font-size: clamp(2.75rem, 8vw, 4.75rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  text-transform: lowercase;
  margin-bottom: 1.5rem;
}

.hero h1 .accent { color: var(--path-coral); }

.hero p {
  font-size: clamp(1.05rem, 2.5vw, 1.25rem);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 460px;
  margin-bottom: 2.5rem;
  line-height: 1.65;
}

/* ── App Store badge ── */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--hoof-grey);
  color: var(--tusk-white);
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 400;
  transition: background 0.2s ease;
  width: fit-content;
}

.app-store-badge:hover { background: #3a3a3a; color: var(--tusk-white); }
.app-store-badge svg { width: 22px; height: 22px; fill: currentColor; }

.badge-text-small {
  font-size: 0.625rem;
  font-weight: 300;
  letter-spacing: 0.01em;
  line-height: 1;
  display: block;
}

.badge-text-large {
  font-size: 1.125rem;
  font-weight: 600;
  line-height: 1;
  display: block;
  letter-spacing: -0.01em;
}

/* ── Page content (text-heavy pages) ── */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px clamp(1.5rem, 5vw, 4rem) 80px;
}

.page-content .page-header {
  margin-bottom: 3rem;
}

.page-content .page-header h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  margin-bottom: 0.75rem;
}

.page-content .page-header .updated {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-tertiary);
}

.page-content h2 {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin-top: 3rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-light);
}

.page-content h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

.page-content p {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.page-content ul, .page-content ol {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1rem;
  padding-left: 1.25rem;
}

.page-content li { margin-bottom: 0.375rem; }

.page-content a {
  color: var(--path-coral);
  text-decoration: none;
  font-weight: 400;
}

.page-content a:hover { text-decoration: underline; }

.page-content strong { font-weight: 600; color: var(--text-primary); }

/* ── 404 not found ── */
.not-found {
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px clamp(1.5rem, 5vw, 4rem) 80px;
}

.not-found-inner {
  max-width: 520px;
  text-align: center;
}

.not-found-image {
  width: clamp(220px, 40vw, 320px);
  height: auto;
  margin: 0 auto 2rem;
  display: block;
}

.not-found h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  color: var(--text-primary);
  margin: 0 0 0.75rem;
}

.not-found h1 .accent {
  color: var(--path-coral);
}

.not-found p {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto 2rem;
}

.not-found-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.not-found-actions .btn-coral {
  min-width: 160px;
}

.not-found-actions .btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  min-height: 48px;
  padding: 0 1.5rem;
  border: 1px solid var(--border-light, rgba(38, 38, 38, 0.12));
  border-radius: 999px;
  background: transparent;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.not-found-actions .btn-ghost:hover {
  background: rgba(38, 38, 38, 0.04);
  border-color: rgba(38, 38, 38, 0.2);
  text-decoration: none;
}

/* ── Creators landing page ── */
.creators-hero {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
  padding: 140px clamp(1.5rem, 5vw, 4rem) 60px;
}

.creators-hero h1 {
  font-size: clamp(2.25rem, 6vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.035em;
  text-transform: lowercase;
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.creators-hero h1 span { display: block; }
.creators-hero h1 .accent { color: var(--path-coral); }

.creators-hero p {
  font-size: clamp(1rem, 2.5vw, 1.125rem);
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 auto 2rem;
  max-width: 560px;
}

.creators-features {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem) 80px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

/* ── Support page ── */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.support-card {
  padding: 1.75rem;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  text-decoration: none;
  color: var(--text-primary);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  display: block;
}

.support-card:hover {
  border-color: var(--path-coral);
  box-shadow: 0 2px 12px rgba(255, 61, 46, 0.08);
}

.support-card h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.support-card p {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ── CTA button ── */
.btn-coral {
  display: inline-block;
  background: var(--path-coral);
  color: var(--tusk-white);
  text-decoration: none;
  padding: 0.875rem 2rem;
  border-radius: 12px;
  font-size: 0.9375rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.btn-coral:hover { background: var(--path-coral-hover); color: var(--tusk-white); }

/* ── FAQ accordion ── */
.faq-item {
  border-bottom: 1px solid var(--border-light);
  padding: 1.25rem 0;
}

.faq-item summary {
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.faq-item summary::after {
  content: '+';
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-tertiary);
  transition: transform 0.2s ease;
}

.faq-item[open] summary::after {
  content: '−';
}

.faq-item .faq-answer {
  padding-top: 0.75rem;
  font-size: 0.875rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── Waitlist form ── */
.waitlist-form {
  max-width: 480px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
}

.waitlist-form input[type="text"],
.waitlist-form input[type="email"] {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-primary);
  background: var(--tusk-white);
  transition: border-color 0.2s ease;
}

.waitlist-form input:focus {
  outline: none;
  border-color: var(--path-coral);
}

.waitlist-form input::placeholder {
  color: var(--text-tertiary);
}

.waitlist-form input.input--error {
  border-color: var(--path-coral);
  background: #fff5f5;
}

.field-error {
  display: none;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--path-coral);
  margin-top: 0.375rem;
  padding-left: 1rem;
}

/* ── Consent checkbox ── */
.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  cursor: pointer;
  margin-top: 0.25rem;
}

.consent-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 1px;
  accent-color: var(--path-coral);
  cursor: pointer;
  flex-shrink: 0;
}

.consent-check span {
  font-size: 0.8125rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.4;
}

.consent-check a {
  color: var(--path-coral);
  text-decoration: none;
  font-weight: 400;
}

.consent-check a:hover { text-decoration: underline; }

/* ── Waitlist success ── */
.waitlist-success {
  max-width: 480px;
  padding: 2.5rem 2rem;
  background: rgba(38, 38, 38, 0.02);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  margin-top: 1.5rem;
}

.waitlist-success .success-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--path-coral);
  color: var(--tusk-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.waitlist-success h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.75rem;
  color: var(--text-primary);
}

.waitlist-success p {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

/* ── Toast notification ── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(1rem);
  padding: 0.875rem 1.5rem;
  border-radius: 12px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--tusk-white);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 200;
  max-width: calc(100% - 2rem);
  text-align: center;
}

.toast--visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.toast--success { background: var(--hoof-grey); }
.toast--error { background: var(--path-coral); }

/* ── Footer ── */
footer {
  background: var(--hoof-grey);
  color: var(--tusk-white);
  padding: 4rem clamp(1.5rem, 5vw, 4rem) 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 2rem 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-brand-mark {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand-mark img {
  height: 24px;
  width: auto;
}

.footer-brand-mark span {
  font-weight: 600;
  font-size: 1rem;
  color: var(--tusk-white);
}

.footer-brand p {
  font-size: 0.8125rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.4);
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
}

.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 0.5rem; }

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 300;
  transition: color 0.15s ease;
}

.footer-col a:hover { color: var(--tusk-white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-bottom p {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
}

/* ═══════════════════════════════════════════
   Landing page (index.html)
   ═══════════════════════════════════════════ */

/* ── Landing nav ── */
.landing-nav {
  justify-content: space-between;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 400;
  color: #212832;
  text-decoration: none;
  transition: color 0.15s ease;
}

.nav-link:hover { color: var(--path-coral); }

.nav-btn-outline {
  font-size: 0.875rem;
  font-weight: 400;
  color: #212832;
  text-decoration: none;
  border: 1px solid #212832;
  border-radius: 5px;
  padding: 0.4rem 1.125rem;
  transition: background 0.15s ease, color 0.15s ease;
}

.nav-btn-outline:hover {
  background: #212832;
  color: var(--tusk-white);
}

.nav-lang {
  font-size: 0.875rem;
  font-weight: 400;
  color: #212832;
  cursor: pointer;
  background: none;
  border: none;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  padding: 0;
  transition: color 0.15s ease;
}

.nav-lang:hover { color: var(--path-coral); }

/* Hide Google Translate top bar but keep widget dropdown visible */
.goog-te-banner-frame { display: none !important; }
#google_translate_element .skiptranslate { display: block !important; }
body { top: 0 !important; }

.nav-btn-coral-sm {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--tusk-white);
  text-decoration: none;
  background: var(--path-coral);
  border-radius: 8px;
  padding: 0.5rem 1.125rem;
  transition: background 0.15s ease;
}

.nav-btn-coral-sm:hover {
  background: var(--path-coral-hover);
  color: var(--tusk-white);
}

/* ── Landing hero ── */
.landing-hero {
  display: grid;
  grid-template-columns: 5fr 6fr;
  align-items: center;
  gap: 3rem;
  max-width: 1320px;
  margin: 0 auto;
  padding: 140px clamp(1.5rem, 5vw, 4rem) 80px;
  min-height: 100vh;
  min-height: 100svh;
}

.hero-eyebrow {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--path-coral);
  margin-bottom: 1rem;
}

.hero-headline {
  font-size: clamp(2.5rem, 4.5vw, 4.0625rem);
  font-weight: 700;
  line-height: 1.37;
  letter-spacing: -0.04em;
  color: var(--hoof-grey);
  margin-bottom: 1.5rem;
}

.hero-trip-wrap {
  position: relative;
  display: inline-block;
}

.trip-underline {
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.hero-subtitle {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 2rem;
}

.hero-text .app-store-badge {
  margin-bottom: 2rem;
}

.hero-social {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hero-social-label {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-secondary);
}

.hero-social-icons {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.hero-social-icons a {
  display: flex;
  width: 28px;
  height: 28px;
  transition: opacity 0.15s ease;
}

.hero-social-icons a:hover { opacity: 0.7; }

.hero-social-icons img {
  width: 100%;
  height: 100%;
}

/* ── Photo collage ── */
.hero-collage {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-collage-img {
  width: 100%;
  height: auto;
  max-width: 700px;
}

/* ── Features section ── */
.features {
  text-align: center;
  padding: 60px clamp(3rem, 8vw, 10rem) 100px;
  max-width: 1440px;
  margin: 0 auto;
  overflow: hidden;
}

.features-eyebrow {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--path-coral);
  margin-bottom: 0.75rem;
}

.features-heading {
  font-size: clamp(2rem, 3.5vw, 3.125rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--hoof-grey);
  margin-bottom: 3.5rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
  flex: 1;
  min-width: 0;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.feature-card-illust {
  position: relative;
  z-index: 1;
  margin-bottom: -110px;
  height: 190px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.feature-card-illust img {
  max-width: 240px;
  max-height: 190px;
  height: auto;
  width: auto;
}

.feature-card-body {
  background: #f1f1f1;
  border-radius: 36px;
  padding: 120px 28px 40px;
  text-align: center;
  width: 100%;
  flex: 1;
}

.feature-card-body h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--path-coral);
  margin-bottom: 0.625rem;
}

.feature-card-body p {
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.625;
  color: var(--hoof-grey);
}


/* ── Interest modal ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  animation: modalBackdropIn 0.55s cubic-bezier(0.32, 0.72, 0, 1);
}

.modal-card {
  background: var(--tusk-white);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  max-width: 420px;
  width: 100%;
  position: relative;
  animation: modalCardIn 0.7s cubic-bezier(0.32, 0.72, 0, 1);
}

@keyframes modalBackdropIn {
  from { background: rgba(0, 0, 0, 0); }
  to   { background: rgba(0, 0, 0, 0.5); }
}

@keyframes modalCardIn {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .modal-overlay,
  .modal-card { animation: none; }
}

.modal-card h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.5rem;
}

.modal-card > p {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.modal-card .waitlist-form,
.modal-card form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.modal-card input[type="email"],
.modal-card input[type="text"] {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 1px solid var(--border-light);
  border-radius: 12px;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-primary);
  background: var(--tusk-white);
  transition: border-color 0.2s ease;
}

.modal-card input[type="email"]:focus,
.modal-card input[type="text"]:focus {
  outline: none;
  border-color: var(--path-coral);
}

.modal-card input[type="email"]::placeholder,
.modal-card input[type="text"]::placeholder {
  color: var(--text-tertiary);
}

.modal-card input.input--error {
  border-color: var(--path-coral);
  background: #fff5f5;
}

/* ── Input with leading icon (e.g. Instagram handle) ── */
.input-with-prefix {
  position: relative;
}

.input-with-prefix .input-prefix-icon {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  width: 20px;
  height: 20px;
  transform: translateY(-50%);
  pointer-events: none;
  opacity: 0.7;
}

.modal-card .input-with-prefix input[type="text"] {
  padding-left: 2.625rem;
}

/*
  Only the consent error reserves space, so the CTA never jumps when the user
  forgets to tick the checkbox. Name/email errors expand naturally below their
  inputs; the input border also turns coral via `.input--error`.
*/
.modal-card #interest-consent-error {
  display: block;
  visibility: hidden;
  min-height: 1.25rem;
  line-height: 1.25rem;
  margin-top: 0.25rem;
}

.modal-card #interest-consent-error.is-visible { visibility: visible; }

/* Disabled field + button states while the form is submitting */
.modal-card form[aria-busy="true"] input,
.modal-card form[aria-busy="true"] .consent-check {
  opacity: 0.55;
  pointer-events: none;
}

.modal-card button[disabled] { cursor: not-allowed; opacity: 0.85; }

/* ── Button spinner ── */
.btn-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: btn-spin 0.8s linear infinite;
  vertical-align: middle;
}

@keyframes btn-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  .btn-spinner { animation-duration: 2s; }
}

/* ── Beta-full state card ── */
.interest-beta-full {
  text-align: center;
  padding: 0.5rem 0 0.5rem;
}

.beta-full-icon {
  display: block;
  margin: 0 auto 1.25rem;
}

.beta-full-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem 0;
}

.beta-full-desc {
  font-size: 0.9375rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 320px;
}

/* ── Success animation (AirDrop-style) ── */
.interest-success {
  text-align: center;
  padding: 2rem 0 1rem;
}

.success-ring {
  display: block;
  margin: 0 auto 1.25rem;
}

.success-ring .ring-fill {
  stroke-dasharray: 176;
  stroke-dashoffset: 176;
  transform: rotate(-90deg);
  transform-origin: center;
  animation: ring-draw 0.6s ease-out forwards;
}

.success-ring .ring-check {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: check-draw 0.3s ease-out 0.5s forwards;
}

@keyframes ring-draw {
  to { stroke-dashoffset: 0; }
}

@keyframes check-draw {
  to { stroke-dashoffset: 0; }
}

.success-label {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin: 0 0 0.5rem 0;
}

.success-desc {
  font-size: 0.9375rem;
  font-weight: 300;
  color: rgba(38, 38, 38, 0.6);
  line-height: 1.6;
  margin: 0 auto;
  max-width: 320px;
}

.success-desc strong {
  color: var(--path-coral);
  font-weight: 600;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-tertiary);
  cursor: pointer;
  line-height: 1;
  padding: 0.25rem;
}

.modal-close:hover {
  color: var(--text-primary);
}

/* ── Creators page closing CTA card ── */
.creators-cta {
  max-width: 720px;
  margin: 1rem auto 5rem;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.creators-cta-card {
  background: var(--tusk-white);
  border: 1px solid var(--border-light);
  border-radius: 20px;
  padding: 3rem clamp(1.75rem, 5vw, 3rem);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.creators-cta-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--path-coral);
}

.creators-cta-card h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  margin: 0 0 0.75rem;
  text-transform: lowercase;
  color: var(--text-primary);
}

.creators-cta-card p {
  font-size: 1rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 480px;
  margin: 0 auto 1.75rem;
}

/* ── Landing footer (dark variant) ── */
.landing-footer {
  background: var(--hoof-grey);
  color: var(--tusk-white);
  padding: 4rem clamp(1.5rem, 5vw, 4rem) 2rem;
}

.landing-footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(4, 1fr);
  gap: 2rem 2.5rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.landing-footer-brand {
  display: flex;
  align-items: flex-start;
}

.landing-footer-brand .nav-brand {
  color: var(--tusk-white);
}

.landing-footer-col h4 {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 1rem;
}

.landing-footer-col ul { list-style: none; }
.landing-footer-col li { margin-bottom: 0.5rem; }

.landing-footer-col a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 300;
  transition: color 0.15s ease;
}

.landing-footer-col a:hover { color: var(--tusk-white); }

.app-store-badge--small {
  padding: 0.625rem 1.25rem;
  border-radius: 10px;
}

.app-store-badge--small svg {
  width: 20px;
  height: 20px;
}

.app-store-badge--small .badge-text-small {
  font-size: 0.5625rem;
}

.app-store-badge--small .badge-text-large {
  font-size: 1rem;
}

.landing-footer-social {
  display: flex;
  gap: 0.625rem;
}

.landing-footer-social a {
  display: flex;
  width: 28px;
  height: 28px;
  transition: opacity 0.15s ease;
  filter: invert(1);
}

.landing-footer-social a:hover { opacity: 0.7; }

.landing-footer-social img {
  width: 100%;
  height: 100%;
}

.landing-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.landing-footer-bottom p {
  font-size: 0.75rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Responsive ── */

/* -- Landing responsive -- */
@media (max-width: 1024px) {
  .landing-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
    min-height: auto;
    padding-top: 120px;
  }

  .hero-collage {
    max-width: 500px;
    margin: 0 auto;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }

  .creators-features {
    grid-template-columns: repeat(2, 1fr);
    max-width: 600px;
  }

  .landing-footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .landing-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem 2rem;
  }
  .footer-brand { grid-column: 1 / -1; }

  .landing-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .landing-footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 480px) {
  nav { height: 56px; }
  .page-content { padding-top: 100px; padding-bottom: 60px; }
  .creators-hero { padding-top: 100px; }
  .footer-grid { grid-template-columns: 1fr; }

  .landing-hero {
    padding-top: 100px;
    padding-bottom: 60px;
  }

  .hero-headline {
    font-size: 2rem;
    line-height: 1.3;
  }

  .features-grid {
    grid-template-columns: 1fr;
    max-width: 300px;
    margin: 0 auto;
  }

  .creators-features {
    grid-template-columns: 1fr;
    max-width: 300px;
  }

  .features-heading {
    font-size: 1.75rem;
  }

  .nav-right {
    gap: 0.75rem;
  }

  .nav-btn-outline {
    padding: 0.3rem 0.75rem;
    font-size: 0.8125rem;
  }

  .nav-lang {
    display: none;
  }

  .landing-footer-grid {
    grid-template-columns: 1fr;
  }
}
