/* ============================================
   intrograph — landing page styles
   editorial / granola-inspired / green accent
   ============================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Funktional Grotesk';
  src: url('fonts/FunktionalGrotesk-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Funktional Grotesk';
  src: url('fonts/FunktionalGrotesk-Book.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Funktional Grotesk';
  src: url('fonts/FunktionalGrotesk-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Funktional Grotesk';
  src: url('fonts/FunktionalGrotesk-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Funktional Grotesk';
  src: url('fonts/FunktionalGrotesk-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

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

/* --- Variables --- */
:root {
  /* Granola palette */
  --green: #A8BE49;
  --green-dark: #4F5824;
  --forest: #2F6A3A;
  --pink: #F46CC9;
  --yellow: #F6BF2D;
  --charcoal: #1C1C1C;
  --offwhite: #F3F3F0;
  --white: #FFFFFF;

  /* Typography */
  --font-sans: 'Funktional Grotesk', system-ui, -apple-system, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 32px;
  --space-xl: 48px;
  --space-2xl: 64px;
  --space-3xl: 96px;
  --space-4xl: 128px;

  /* Border radius (Granola-style rounded) */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
}

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

body {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--charcoal);
  background: var(--offwhite);
  line-height: 1.5;
  overflow-x: hidden;
}

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

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
}

/* --- Nav --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 32px;
  background: rgba(243, 243, 240, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

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

.wordmark {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.03em;
  color: var(--charcoal);
}

.wordmark-sm {
  font-size: 16px;
}

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  color: var(--green-dark);
  padding: 8px 20px;
  border: 1.5px solid var(--green);
  border-radius: 100px;
  transition: all 0.2s ease;
}

.nav-cta:hover {
  background: var(--green);
  color: var(--white);
}

/* --- Hero --- */
.hero {
  padding: 160px 32px 80px;
  text-align: center;
}

.hero-inner {
  max-width: 800px;
  margin: 0 auto;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 24px;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(42px, 7vw, 80px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 28px;
}

.hero-headline-italic {
  font-style: italic;
  color: var(--green-dark);
}

.headline-italic {
  font-family: var(--font-serif);
  font-style: italic;
}

.hero-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-flow-step {
  font-size: 14px;
  font-weight: 500;
  color: var(--green-dark);
  background: rgba(168, 190, 73, 0.12);
  padding: 6px 16px;
  border-radius: 100px;
}

.hero-flow-arrow {
  font-size: 16px;
  color: #bbb;
}

@media (max-width: 600px) {
  .hero-flow {
    gap: 6px;
  }

  .hero-flow-step {
    font-size: 11px;
    padding: 5px 10px;
  }
}

.hero-sub {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  max-width: 560px;
  margin: 0 auto 36px;
}

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

.hero-cta-note {
  font-size: 13px;
  color: #888;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--white);
  background: var(--green-dark);
  padding: 14px 32px;
  border-radius: 100px;
  border: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

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

.btn-primary-lg {
  padding: 16px 40px;
  font-size: 16px;
}

.btn-send {
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  color: var(--white);
  background: var(--green);
  padding: 10px 24px;
  border-radius: 100px;
  transition: all 0.2s ease;
}

.btn-send:hover {
  background: var(--green-dark);
}

.btn-send-sm {
  font-size: 13px;
  padding: 8px 20px;
}

.btn-later {
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  color: #999;
  padding: 10px 20px;
  transition: color 0.2s ease;
}

.btn-later:hover {
  color: var(--charcoal);
}

/* --- Demo Section --- */
.demo-section {
  padding: 0 32px 80px;
}

.demo-inner {
  max-width: 640px;
  margin: 0 auto;
}

.demo-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--green-dark);
  margin-bottom: 12px;
  text-align: center;
}

/* --- Match Card --- */
.match-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: 0 2px 40px rgba(0, 0, 0, 0.06);
}

.match-card-hero {
  border: 1.5px solid rgba(168, 190, 73, 0.3);
}

.match-card-people {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.match-person {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 12px;
}

.match-avatar {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.match-avatar-img {
  width: 80%;
  height: auto;
  object-fit: cover;
  mix-blend-mode: multiply;
}

.match-person-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.match-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--charcoal);
}

.match-role {
  font-size: 12px;
  color: #888;
}

.match-when {
  font-size: 11px;
  color: #999;
}

.match-connector {
  flex-shrink: 0;
}

.match-card-reason {
  background: var(--offwhite);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.match-reason-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-dark);
  display: block;
  margin-bottom: 6px;
}

.match-reason-text {
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}

.match-card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* --- Section Shared --- */
.section-eyebrow {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.section-headline {
  font-family: var(--font-serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 24px;
}

.section-body {
  font-size: 17px;
  line-height: 1.6;
  color: #555;
  max-width: 480px;
  margin-bottom: 16px;
}

/* --- Problem Section --- */
.problem-section {
  padding: var(--space-3xl) 32px;
}

.problem-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.problem-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.problem-visual {
  position: relative;
  height: 480px;
}

.floating-cards {
  position: relative;
  width: 100%;
  height: 100%;
}

.floating-card {
  position: absolute;
  width: 180px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
  transition: transform 0.4s ease;
}

.floating-card:hover {
  transform: scale(1.05) rotate(0deg) !important;
  z-index: 10;
}

.floating-card-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  object-position: top;
  mix-blend-mode: multiply;
}

.floating-card-label {
  display: block;
  font-size: 11px;
  font-weight: 500;
  color: var(--charcoal);
  padding: 10px 14px;
  background: rgba(0, 0, 0, 0.06);
}

.fc-1 {
  top: 20px;
  left: 10%;
  transform: rotate(-4deg);
}

.fc-2 {
  top: 60px;
  right: 5%;
  transform: rotate(3deg);
}

.fc-3 {
  bottom: 80px;
  left: 5%;
  transform: rotate(2deg);
}

.fc-4 {
  bottom: 40px;
  right: 15%;
  transform: rotate(-3deg);
}

/* --- How Section --- */
.how-section {
  padding: var(--space-3xl) 32px;
  background: var(--white);
}

.how-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 280px;
}

.step-number {
  font-family: var(--font-serif);
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
  opacity: 0.6;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.2;
}

.step-desc {
  font-size: 14px;
  line-height: 1.5;
  opacity: 0.8;
}

/* --- Integrations Section --- */
.integrations-section {
  padding: 0 32px var(--space-xl);
}

.integrations-inner {
  max-width: 900px;
  margin: 0 auto;
}

.integrations-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.integration-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  border-radius: 100px;
  border: 1.5px solid rgba(168, 190, 73, 0.3);
  background: rgba(168, 190, 73, 0.08);
  transition: all 0.2s ease;
}

.integration-item:hover {
  border-color: var(--green);
  background: rgba(168, 190, 73, 0.12);
}

.integration-logo-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
}

.integration-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
}

.integration-type {
  font-size: 11px;
  font-weight: 500;
  color: var(--green-dark);
  background: rgba(168, 190, 73, 0.15);
  padding: 2px 8px;
  border-radius: 100px;
}

.integrations-coming-soon {
  text-align: center;
  font-size: 13px;
  color: #999;
  margin-top: 16px;
}

@media (max-width: 600px) {
  .integrations-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .integrations-grid {
    gap: 8px;
  }

  .integration-item {
    padding: 8px 14px 8px 10px;
  }

  .integration-name {
    font-size: 13px;
  }
}

/* --- Three Ways Section --- */
.ways-section {
  padding: var(--space-3xl) 32px;
}

.ways-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.ways-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.way-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease;
}

.way-card:hover {
  transform: translateY(-2px);
}

.way-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 190, 73, 0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.way-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green-dark);
  background: rgba(168, 190, 73, 0.15);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.way-title {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--charcoal);
  margin-bottom: 10px;
}

.way-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #777;
}

@media (max-width: 900px) {
  .ways-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* --- Gallery Section --- */
.gallery-section {
  padding: var(--space-3xl) 32px;
}

.gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.gallery-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08);
}

.gallery-card-top {
  height: 160px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.gallery-avatars {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  height: 100%;
  gap: 40px;
}

.gallery-avatar-img {
  height: 130px;
  width: auto;
  mix-blend-mode: multiply;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-avatar-overlap {
  margin-left: 0;
}

.gallery-card:hover .gallery-avatar-img:first-child {
  transform: translateX(34px) scale(1.06);
}

.gallery-card:hover .gallery-avatar-img.gallery-avatar-overlap {
  transform: translateX(-34px) scale(1.06);
}

.gallery-avatar-invert {
  filter: invert(1);
  mix-blend-mode: screen;
}

.gallery-card-bottom {
  padding: 20px 24px 24px;
}

.gallery-names {
  font-size: 14px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 6px;
}

.gallery-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--green-dark);
  background: rgba(168, 190, 73, 0.15);
  padding: 3px 10px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.gallery-reason {
  font-size: 13px;
  line-height: 1.5;
  color: #777;
}

/* --- Email Section --- */
.email-section {
  padding: var(--space-3xl) 32px;
  background: var(--charcoal);
  color: var(--offwhite);
}

.email-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.email-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.email-section .section-eyebrow {
  color: var(--green);
}

.email-section .section-headline {
  color: var(--offwhite);
}

.email-section .section-body {
  color: #aaa;
}

.email-preview {
  perspective: 1000px;
}

.email-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transform: rotateY(-4deg) rotateX(2deg);
  transition: transform 0.4s ease;
}

.email-card:hover {
  transform: rotateY(0deg) rotateX(0deg);
}

.email-header {
  display: flex;
  gap: 6px;
  padding: 12px 16px;
  background: #f5f5f5;
  border-bottom: 1px solid #e5e5e5;
}

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

.email-dot-red { background: #ff5f57; }
.email-dot-yellow { background: #febc2e; }
.email-dot-green { background: #28c840; }

.email-body {
  padding: 20px 24px;
  color: var(--charcoal);
}

.email-field {
  display: flex;
  gap: 8px;
  font-size: 13px;
  margin-bottom: 6px;
}

.email-label {
  font-weight: 500;
  color: #999;
  flex-shrink: 0;
}

.email-value {
  color: var(--charcoal);
}

.email-divider {
  height: 1px;
  background: #e5e5e5;
  margin: 12px 0;
}

.email-content {
  font-size: 14px;
  line-height: 1.6;
  color: #444;
}

.email-content p {
  margin-bottom: 12px;
}

.email-content strong {
  color: var(--charcoal);
}

.email-sign {
  color: #999;
  margin-top: 8px;
}

.email-footer {
  padding: 12px 24px 16px;
  display: flex;
  justify-content: flex-end;
}

/* --- Features Section --- */
.features-section {
  padding: var(--space-3xl) 32px;
  background: var(--white);
}

.features-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--offwhite);
  transition: transform 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(168, 190, 73, 0.15);
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.feature-title {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.feature-desc {
  font-size: 14px;
  line-height: 1.5;
  color: #777;
}

/* --- Quote Section --- */
.quote-section {
  padding: var(--space-3xl) 32px;
}

.quote-inner {
  max-width: 800px;
  margin: 0 auto;
}

.quote-card {
  text-align: center;
  padding: 80px 64px;
  background: var(--green-dark);
  border-radius: var(--radius-xl);
  position: relative;
  overflow: hidden;
}

.quote-peeps {
  display: flex;
  justify-content: center;
  margin-bottom: 32px;
}

.quote-peep {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 3px solid var(--green-dark);
  margin-left: -12px;
  background: var(--offwhite);
  object-fit: cover;
  object-position: top;
}

.quote-peep:first-child {
  margin-left: 0;
}

.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.5vw, 44px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.25;
  color: var(--white);
  margin-bottom: 20px;
}

.quote-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
}

.quote-attribution {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.02em;
}

.quote-attribution em {
  font-style: italic;
}

/* --- CTA Section --- */
.cta-section {
  padding: var(--space-4xl) 32px;
  text-align: center;
  background: var(--offwhite);
}

.cta-inner {
  max-width: 640px;
  margin: 0 auto;
}

.cta-headline {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4.5vw, 48px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--charcoal);
  margin-bottom: 16px;
}

.cta-sub {
  font-size: 17px;
  color: #777;
  margin-bottom: 36px;
}

.cta-form {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 16px;
}

.cta-input {
  font-family: var(--font-sans);
  font-size: 15px;
  padding: 14px 24px;
  border: 1.5px solid #ddd;
  border-radius: 100px;
  background: var(--white);
  width: 280px;
  transition: border-color 0.2s ease;
  outline: none;
}

.cta-input:focus {
  border-color: var(--green);
}

.cta-input::placeholder {
  color: #999;
}

.cta-input-inline {
  width: 240px;
}

/* --- Waitlist Success --- */
.waitlist-success {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 24px;
  background: rgba(168, 190, 73, 0.1);
  border: 1.5px solid rgba(168, 190, 73, 0.35);
  border-radius: 100px;
}

.waitlist-success-peeps {
  display: flex;
  flex-shrink: 0;
}

.waitlist-success-peep {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  background: var(--offwhite);
  border: 2px solid rgba(168, 190, 73, 0.4);
  margin-left: -8px;
}

.waitlist-success-peep:first-child {
  margin-left: 0;
}

.waitlist-success-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  text-align: left;
}

.waitlist-success-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--green-dark);
}

.waitlist-success-email {
  font-size: 13px;
  font-weight: 500;
  color: var(--charcoal);
}

.waitlist-success-note {
  font-size: 12px;
  color: #888;
}

@media (max-width: 600px) {
  .waitlist-success {
    border-radius: var(--radius-md);
    padding: 14px 18px;
    gap: 12px;
  }

  .waitlist-success-peep {
    width: 30px;
    height: 30px;
  }
}

.cta-note {
  font-size: 13px;
  color: #999;
}

/* --- Footer --- */
.footer {
  padding: 40px 32px;
  border-top: 1px solid #e5e5e5;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-tagline {
  font-size: 13px;
  color: #999;
  max-width: 400px;
  margin-top: 8px;
  line-height: 1.5;
}

.footer-right {
  text-align: right;
}

.footer-credit {
  font-size: 12px;
  color: #999;
  margin-bottom: 4px;
}

.footer-credit a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-credit a:hover {
  color: var(--green-dark);
}

/* --- Animations --- */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* Stagger delays */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

/* --- Responsive --- */
@media (max-width: 900px) {
  .problem-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .problem-visual {
    height: 360px;
  }

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

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .step-card {
    min-height: auto;
    padding: 28px 24px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .email-card {
    transform: none;
  }
}

@media (max-width: 600px) {
  .nav {
    padding: 16px 20px;
  }

  .hero {
    padding: 120px 20px 60px;
  }

  .hero-sub {
    font-size: 16px;
  }

  .hero-cta-row {
    flex-direction: column;
    gap: 12px;
  }

  .cta-input-inline {
    width: 100%;
  }

  .demo-section,
  .problem-section,
  .how-section,
  .gallery-section,
  .email-section,
  .features-section,
  .quote-section,
  .cta-section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .match-card {
    padding: 24px 20px;
  }

  .match-card-people {
    flex-direction: column;
    gap: 16px;
  }

  .match-connector {
    transform: rotate(90deg);
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .cta-form {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-input {
    width: 100%;
  }

  .footer-inner {
    flex-direction: column;
    gap: 24px;
  }

  .footer-right {
    text-align: left;
  }

  .floating-card {
    width: 140px;
  }

  .floating-card-img {
    height: 120px;
  }

  .quote-card {
    padding: 40px 24px;
  }
}

/* --- Selection --- */
::selection {
  background: rgba(168, 190, 73, 0.3);
  color: var(--charcoal);
}

/* --- Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #ddd;
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: #bbb;
}
