/* reciprocity-site — marketing only */

/* ───────────────────────────────────
   RESET & BASE
   ─────────────────────────────────── */

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

:root {
  --pine: #1B3A2D;
  --pine-light: #234a3a;
  --gold: #B8952A;
  --gold-light: #d4af37;
  --cream: #F5F0E8;
  --cream-dark: #e8e0d0;
  --ink: #1A1208;
  --muted: #7A6A50;
  --border: #D4C4A0;
  --white: #FFFFFF;

  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --nav-height: 72px;

  scroll-behavior: smooth;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* ───────────────────────────────────
   TYPOGRAPHY
   ─────────────────────────────────── */

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.15;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

/* ───────────────────────────────────
   SCROLL ANIMATIONS
   ─────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ───────────────────────────────────
   BUTTONS
   ─────────────────────────────────── */

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background: var(--gold);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.btn-gold:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(184, 149, 42, 0.35);
}

.btn-gold-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: 1.5px solid var(--gold);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-gold-outline:hover {
  background: var(--gold);
  color: var(--white);
}

/* ───────────────────────────────────
   CONTAINER
   ─────────────────────────────────── */

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ───────────────────────────────────
   NAV
   ─────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav--transparent {
  background: transparent;
}

.nav--solid {
  background: var(--pine);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-wordmark {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.nav .btn-gold {
  padding: 0.625rem 1.5rem;
  font-size: 0.8125rem;
}

/* ───────────────────────────────────
   HERO
   ─────────────────────────────────── */

.hero {
  position: relative;
  min-height: 100vh;
  background: var(--pine);
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-bg {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
}

.hero-bg svg {
  width: 100%;
  height: 100%;
}

.hero .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding-top: 2rem;
  padding-bottom: 4rem;
  position: relative;
  z-index: 1;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-brand {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-brand-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
}

.hero-brand-est {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}

.hero-tagline {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-tagline em {
  font-style: italic;
  color: var(--gold);
}

.hero-sub {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 460px;
}

.hero-mockup {
  flex: 0 0 auto;
}

/* ───────────────────────────────────
   IPHONE MOCKUP (CSS-only)
   ─────────────────────────────────── */

.iphone-frame {
  position: relative;
  width: 280px;
  height: 572px;
  border-radius: 50px;
  background: #0a0a0a;
  padding: 12px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 25px 60px rgba(0,0,0,0.4),
    0 10px 25px rgba(0,0,0,0.2);
}

.iphone-frame--small {
  width: 240px;
  height: 490px;
  border-radius: 44px;
  padding: 10px;
}

.iphone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: var(--pine);
}

.iphone-frame--small .iphone-screen {
  border-radius: 35px;
}

.iphone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

/* Dynamic Island */
.iphone-notch {
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #0a0a0a;
  border-radius: 20px;
  z-index: 10;
}

.iphone-frame--small .iphone-notch {
  top: 15px;
  width: 85px;
  height: 24px;
}

/* Placeholder when no image */
.iphone-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--pine);
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  padding: 2rem;
}

/* ───────────────────────────────────
   SECTION: PROBLEM
   ─────────────────────────────────── */

.problem {
  padding: 8rem 0;
  background: var(--cream);
}

.problem-content {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.problem h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--pine);
  margin-bottom: 2rem;
  line-height: 1.15;
}

.problem-text {
  font-size: 1.1875rem;
  color: var(--muted);
  line-height: 1.75;
}

.problem-text strong {
  color: var(--ink);
  font-weight: 600;
}

.problem-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 2.5rem auto;
}

/* ───────────────────────────────────
   SECTION: WHAT IS
   ─────────────────────────────────── */

.what-is {
  padding: 8rem 0;
  background: var(--white);
}

.what-is .container {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.what-is-text {
  flex: 1;
}

.what-is-text h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--pine);
  margin-bottom: 1.5rem;
}

.what-is-text p {
  font-size: 1.0625rem;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.what-is-text p strong {
  color: var(--ink);
  font-weight: 600;
}

.what-is-mockup {
  flex: 0 0 auto;
}

/* ───────────────────────────────────
   SECTION: FEATURES
   ─────────────────────────────────── */

.features {
  padding: 8rem 0;
  background: var(--cream);
}

.features-header {
  text-align: center;
  margin-bottom: 4rem;
}

.features-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--pine);
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2.25rem 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.feature-icon svg {
  width: 100%;
  height: 100%;
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--pine);
  margin-bottom: 0.625rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ───────────────────────────────────
   SECTION: HOW IT WORKS
   ─────────────────────────────────── */

.how-it-works {
  padding: 8rem 0;
  background: var(--white);
}

.how-header {
  text-align: center;
  margin-bottom: 5rem;
}

.how-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--pine);
}

.steps {
  display: flex;
  justify-content: center;
  gap: 3rem;
  position: relative;
  margin-bottom: 5rem;
}

.steps::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(16.67% + 36px);
  right: calc(16.67% + 36px);
  height: 2px;
  background: var(--border);
}

.step {
  flex: 1;
  max-width: 300px;
  text-align: center;
  position: relative;
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold);
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--gold);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  color: var(--pine);
  margin-bottom: 0.5rem;
}

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

.how-mockup {
  display: flex;
  justify-content: center;
}

/* ───────────────────────────────────
   SECTION: SEE IT IN ACTION
   ─────────────────────────────────── */

.in-action {
  padding: 8rem 0;
  background: var(--pine);
}

.in-action-header {
  text-align: center;
  margin-bottom: 4rem;
}

.in-action-header h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--white);
}

.in-action-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
}

.in-action-item {
  text-align: center;
}

.in-action-label {
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ───────────────────────────────────
   SECTION: MARKET
   ─────────────────────────────────── */

.market {
  padding: 8rem 0;
  background: var(--cream);
}

.market-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.market-stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.market-stat {
  padding: 1.5rem 0;
}

.market-stat .number {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 0.25rem;
}

.market-stat .label {
  font-size: 1.125rem;
  color: var(--muted);
  font-weight: 400;
}

.market-divider {
  width: 40px;
  height: 2px;
  background: var(--border);
  margin: 0 auto;
}

.market-closer {
  margin-top: 2.5rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--pine);
  font-weight: 700;
}

/* ───────────────────────────────────
   SECTION: CLOSING
   ─────────────────────────────────── */

.closing {
  padding: 10rem 0;
  background: var(--pine);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.closing-bg {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  pointer-events: none;
}

.closing-bg svg {
  width: 100%;
  height: 100%;
}

.closing .container {
  position: relative;
  z-index: 1;
}

.closing h2 {
  font-size: clamp(2.25rem, 4.5vw, 3.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.closing p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 2.5rem;
}

.closing-brand {
  margin-top: 4rem;
}

.closing-wordmark {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  opacity: 0.5;
}

.closing-est {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.4;
  margin-top: 0.375rem;
}

.closing-tagline {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-style: italic;
  color: rgba(255,255,255,0.3);
  margin-top: 0.5rem;
}

/* ───────────────────────────────────
   FOOTER
   ─────────────────────────────────── */

.footer {
  padding: 3rem 0;
  background: #14291f;
  text-align: center;
}

.footer-wordmark {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  opacity: 0.6;
}

.footer-est {
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.4;
  margin-top: 0.25rem;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-style: italic;
  color: rgba(255,255,255,0.25);
  margin-top: 0.375rem;
  margin-bottom: 1.5rem;
}

.footer-link {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.6;
  transition: opacity 0.3s ease;
  margin-bottom: 1.5rem;
}

.footer-link:hover {
  opacity: 1;
}

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

/* ───────────────────────────────────
   RESPONSIVE
   ─────────────────────────────────── */

@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
    padding-top: 3rem;
  }

  .hero-content {
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-brand {
    justify-content: center;
  }

  .hero-sub {
    max-width: 520px;
  }

  .what-is .container {
    flex-direction: column;
    text-align: center;
    gap: 3rem;
  }

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

  .in-action-grid {
    flex-wrap: wrap;
  }
}

@media (max-width: 768px) {
  .hero-tagline {
    font-size: 2.25rem;
  }

  .problem {
    padding: 5rem 0;
  }

  .what-is {
    padding: 5rem 0;
  }

  .features {
    padding: 5rem 0;
  }

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

  .how-it-works {
    padding: 5rem 0;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 2rem;
  }

  .steps::before {
    display: none;
  }

  .in-action {
    padding: 5rem 0;
  }

  .in-action-grid {
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
  }

  .market {
    padding: 5rem 0;
  }

  .closing {
    padding: 6rem 0;
  }

  .iphone-frame {
    width: 240px;
    height: 490px;
    border-radius: 44px;
    padding: 10px;
  }

  .iphone-screen {
    border-radius: 35px;
  }

  .iphone-notch {
    top: 15px;
    width: 85px;
    height: 24px;
  }

  .iphone-frame--small {
    width: 200px;
    height: 408px;
    border-radius: 38px;
    padding: 8px;
  }

  .iphone-frame--small .iphone-screen {
    border-radius: 30px;
  }

  .iphone-frame--small .iphone-notch {
    top: 12px;
    width: 72px;
    height: 20px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1.25rem;
  }

  .hero-tagline {
    font-size: 2rem;
  }

  .problem h2,
  .what-is-text h2,
  .features-header h2,
  .how-header h2,
  .in-action-header h2,
  .closing h2 {
    font-size: 1.75rem;
  }

  .nav-wordmark {
    font-size: 1.1rem;
  }

  .nav .btn-gold {
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
  }
}
