/* ============================================================
   AvatarSpoke landing page — mobile-first stylesheet
   ============================================================ */

/* RESET & CUSTOM PROPERTIES */

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

:root {
  --teal:        #0b6e6e;
  --teal-dark:   #085555;
  --teal-light:  #e5f2f2;
  --bg:          #ffffff;
  --surface:     #f7f8fa;
  --border:      #e4e7ec;
  --text:        #111827;
  --text-2:      #4b5563;
  --text-3:      #9ca3af;

  --radius:      0.625rem;
  --radius-lg:   1.5rem;
  --shadow-card: 0 2px 8px rgba(0, 0, 0, 0.07);
  --shadow-video: 0 8px 40px rgba(0, 0, 0, 0.18);

  /* SECTION SPACING - do not override per-section */
  --section-gap: 2rem;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
               system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

ol, ul {
  list-style: none;
}


/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  width: 100%;
  max-width: 1000px;
  margin-inline: auto;
  padding-inline: 1.25rem;
}

.container--narrow {
  max-width: 680px;
}

.section {
  padding-block: var(--section-gap);
}

.section-alt {
  background: var(--surface);
}

.cta-center {
  text-align: center;
}


/* ============================================================
   TYPOGRAPHY
   ============================================================ */

h1 {
  font-size: clamp(2rem, 6vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.025em;
  color: var(--text);
}

h2 {
  font-size: clamp(1.5rem, 4vw, 2.125rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--text);
  margin-bottom: 0.875rem;
}

h3 {
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text);
  margin-bottom: 0.375rem;
}

p {
  color: var(--text-2);
}

.eyebrow,
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal);
}

.eyebrow {
  background: var(--teal-light);
  padding: 0.3rem 0.85rem;
  border-radius: 2rem;
  margin-bottom: 1.5rem;
}

.section-label {
  margin-bottom: 0.625rem;
}

.section-intro {
  font-size: 1.0625rem;
  color: var(--text-2);
  max-width: 600px;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.btn-primary {
  display: inline-block;
  background: var(--teal);
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  transition: background 0.15s ease, transform 0.1s ease;
  white-space: nowrap;
}

.btn-primary:hover {
  background: var(--teal-dark);
  transform: translateY(-1px);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary.btn-sm {
  font-size: 0.875rem;
  padding: 0.625rem 1.125rem;
}

.btn-ghost {
  display: inline-block;
  color: var(--text-2);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: var(--border);
  text-underline-offset: 3px;
  padding: 0.875rem 0.25rem;
  transition: color 0.15s;
}

.btn-ghost:hover {
  color: var(--text);
  text-decoration-color: var(--text-2);
}

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--teal);
  border: 1.5px solid var(--teal);
  font-size: 0.9375rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  transition: background 0.15s ease;
}

.btn-outline:hover {
  background: var(--teal-light);
}

.btn-full {
  display: block;
  width: 100%;
  text-align: center;
}


/* ============================================================
   NAV
   ============================================================ */

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 1rem;
}

.nav-wordmark {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}


/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding-block: 3.5rem var(--section-gap);
  text-align: center;
}

.hero h1 {
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-2);
  max-width: 540px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}


/* ============================================================
   VIDEO SHOWCASE
   ============================================================ */

.video-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  justify-items: center;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .video-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: start;
  }
}

.video-card {
  width: 100%;
  max-width: 260px;
}

.video-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--text-3);
  text-align: center;
  margin-bottom: 0.75rem;
}

.phone-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-video);
  background: #000;
  aspect-ratio: 9 / 16;
  position: relative;
}

.phone-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Align heading + intro with the video grid content at each breakpoint.
   Text stays left-aligned inside the block; the block itself is centered. */
.creator-section h2,
.creator-section .section-intro {
  max-width: 260px;    /* matches single centered card at mobile */
  margin-inline: auto;
}

@media (min-width: 640px) {
  .creator-section h2,
  .creator-section .section-intro {
    max-width: 840px;  /* matches 3-card layout: 3×260px + 2×28px gaps */
  }
}


/* ============================================================
   HOW IT WORKS
   ============================================================ */

.steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2.5rem;
}

@media (min-width: 640px) {
  .steps {
    flex-direction: row;
    gap: 2rem;
  }
}

.step {
  display: flex;
  gap: 1.125rem;
  flex: 1;
}

.step-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0.1rem;
}

.step-body h3 {
  margin-bottom: 0.4rem;
}

.step-body p {
  font-size: 0.9375rem;
  line-height: 1.65;
}


/* ============================================================
   WHY THIS INSTEAD
   ============================================================ */

.why-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

@media (min-width: 600px) {
  .why-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.why-item {
  padding: 1.5rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.why-item h3 {
  margin-bottom: 0.5rem;
}

.why-item p {
  font-size: 0.9375rem;
  line-height: 1.65;
}


/* ============================================================
   PRICING
   ============================================================ */

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-block: 2.5rem 1.5rem;
}

@media (min-width: 680px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
    align-items: start;
  }
}

.pricing-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-card);
}

.pricing-card--featured {
  border-color: var(--teal);
  border-width: 2px;
  box-shadow: 0 4px 20px rgba(11, 110, 110, 0.14);
}

.plan-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 0.25rem 0.75rem;
  border-radius: 2rem;
  margin-bottom: 1rem;
}

.plan-name {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--text-2);
  margin-bottom: 1rem;
}

.plan-price {
  line-height: 1;
  margin-bottom: 1.5rem;
}

.plan-price strong {
  font-size: 2.625rem;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--text);
}

.plan-price span {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text-3);
  margin-left: 0.125rem;
}

.plan-features {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-bottom: 1.75rem;
}

.plan-features li {
  font-size: 0.9375rem;
  color: var(--text-2);
  padding-left: 1.375rem;
  position: relative;
  line-height: 1.5;
}

.plan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
  font-size: 0.8125rem;
  top: 0.125rem;
}

.pricing-note {
  font-size: 0.875rem;
  color: var(--text-3);
  text-align: center;
}


/* ============================================================
   FAQ
   ============================================================ */

.faq-list {
  margin-top: 2.5rem;
  border-top: 1px solid var(--border);
}

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

.faq-item summary {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text);
  padding-block: 1.25rem;
  padding-right: 2rem;
  cursor: pointer;
  list-style: none;
  position: relative;
  user-select: none;
  line-height: 1.45;
}

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

.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.375rem;
  font-weight: 300;
  color: var(--teal);
  line-height: 1;
  transition: transform 0.15s ease;
}

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

.faq-body {
  padding-bottom: 1.375rem;
}

.faq-body p {
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--text-2);
}


/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  background: #111827;
  color: rgba(255, 255, 255, 0.65);
  padding-block: 3rem;
  text-align: center;
}

.footer-disclosure {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  margin-bottom: 1.75rem;
  padding: 0.625rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  display: inline-block;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1.75rem;
}

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.55);
  transition: color 0.15s;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-copy {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.3);
}


/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

@media (min-width: 768px) {
  :root {
    /* SECTION SPACING - do not override per-section */
    --section-gap: 2.5rem;
  }

  .hero {
    padding-block: 4.5rem var(--section-gap);
  }

  .hero-ctas {
    flex-direction: row;
    justify-content: center;
    gap: 1rem;
  }

  .hero-sub {
    font-size: 1.1875rem;
  }
}
