/* ===================
   OwnYourMoney Landing Page
   Deep teal + parchment + amber
   Editorial, premium, trustworthy
   =================== */

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

/* Tokens */
:root {
  --teal-deep: #0c2e2e;
  --teal: #0f3838;
  --teal-mid: #1a5555;
  --teal-light: #2a7373;
  --parchment: #f8f3eb;
  --parchment-dark: #ede5d8;
  --amber: #c99a3a;
  --amber-light: #e0b94a;
  --ink: #1a1a1a;
  --ink-light: #4a4a4a;
  --ink-muted: #7a7a7a;
  --white: #ffffff;
  --green: #2d7a4f;
  --red: #8a3a3a;
}

/* Base */
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--parchment);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
}

/* Navigation */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--parchment);
  border-bottom: 1px solid var(--parchment-dark);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  align-items: baseline;
  gap: 20px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--teal-deep);
  letter-spacing: -0.01em;
}

.nav-tagline {
  font-size: 0.8rem;
  color: var(--ink-muted);
  font-weight: 300;
  letter-spacing: 0.02em;
}

/* ===================
   HERO
   =================== */
.hero {
  background: var(--parchment);
  padding: 80px 40px 100px;
  overflow: hidden;
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  color: var(--teal-deep);
  margin-bottom: 28px;
  line-height: 1.1;
}

.hero-headline em {
  font-style: italic;
  color: var(--amber);
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--ink-light);
  max-width: 480px;
  line-height: 1.7;
}

/* Hero Visual — Abstract Spreadsheet Grid */
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.grid-art {
  background: var(--teal-deep);
  border-radius: 12px;
  padding: 24px;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 60px rgba(12,46,46,0.25), 0 0 0 1px rgba(201,154,58,0.15);
  position: relative;
}

.grid-art::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 24px;
  right: 24px;
  height: 3px;
  background: linear-gradient(90deg, var(--amber), transparent);
  border-radius: 2px 2px 0 0;
}

.grid-art-label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 16px;
  text-transform: uppercase;
}

.grid-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.5);
}

.grid-row span { padding: 0 4px; }

.header-row {
  color: rgba(255,255,255,0.3);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.highlight-row {
  background: rgba(201,154,58,0.1);
  border-radius: 4px;
  padding: 10px 4px;
  margin-top: 8px;
  color: var(--amber);
  font-weight: 600;
  font-size: 0.8rem;
  border-bottom: none;
}

.green { color: #4fbe8f; }
.amber { color: #e8b84b; }

.grid-art-footer {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
  font-size: 0.65rem;
  color: rgba(255,255,255,0.25);
}

.indicator {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4fbe8f;
  box-shadow: 0 0 8px #4fbe8f;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===================
   MANIFESTO
   =================== */
.manifesto {
  background: var(--teal-deep);
  padding: 100px 40px;
}

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

.manifesto-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 24px;
}

.manifesto-headline {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--parchment);
  max-width: 720px;
  margin-bottom: 36px;
  line-height: 1.3;
}

.manifesto-headline em {
  font-style: italic;
  color: var(--amber);
}

.manifesto-body {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.manifesto-body p {
  font-size: 1rem;
  color: rgba(248,243,235,0.75);
  line-height: 1.75;
}

.manifesto-body p:last-child {
  color: var(--parchment);
  font-weight: 500;
}

.manifesto-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 60px;
  padding-top: 48px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--amber);
  line-height: 1;
}

.stat-desc {
  font-size: 0.82rem;
  color: rgba(248,243,235,0.55);
  line-height: 1.4;
}

/* ===================
   FEATURES
   =================== */
.features {
  background: var(--parchment);
  padding: 100px 40px;
}

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

.features-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 20px;
}

.features-headline {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--teal-deep);
  max-width: 560px;
  margin-bottom: 56px;
}

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

.feature-card {
  background: var(--white);
  border: 1px solid var(--parchment-dark);
  border-radius: 12px;
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  box-shadow: 0 8px 32px rgba(12,46,46,0.08);
  transform: translateY(-2px);
}

.feature-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 3px;
  height: 100%;
  background: var(--amber);
  border-radius: 3px 0 0 3px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--parchment);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  color: var(--teal-deep);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--ink-light);
  line-height: 1.65;
}

.features-note {
  margin-top: 48px;
  padding: 24px 32px;
  background: var(--white);
  border: 1px solid var(--parchment-dark);
  border-radius: 8px;
  border-left: 3px solid var(--amber);
}

.features-note p {
  font-size: 0.88rem;
  color: var(--ink-muted);
  line-height: 1.6;
}

/* ===================
   ANNUAL MODEL
   =================== */
.annualmodel {
  background: var(--parchment-dark);
  padding: 100px 40px;
}

.annualmodel-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 80px;
  align-items: center;
}

.annualmodel-visual {
  display: flex;
  align-items: center;
  gap: 24px;
}

.year-ring {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--amber);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  position: relative;
}

.year-ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1px dashed rgba(201,154,58,0.3);
}

.year-ring-label {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--teal-deep);
  line-height: 1;
}

.year-ring-sub {
  font-size: 0.6rem;
  color: var(--ink-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.year-ring-next {
  border-color: var(--teal-mid);
}

.year-ring-next .year-ring-label {
  color: var(--ink-muted);
  font-size: 1.2rem;
}

.year-ring-next::before {
  border-color: rgba(26,85,85,0.2);
}

.update-arrow {
  opacity: 0.6;
}

.annualmodel-label {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 16px;
}

.annualmodel-headline {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  color: var(--teal-deep);
  margin-bottom: 20px;
}

.annualmodel-body {
  font-size: 0.95rem;
  color: var(--ink-light);
  line-height: 1.7;
  margin-bottom: 16px;
  max-width: 480px;
}

.pricing-box {
  margin-top: 32px;
  background: var(--white);
  border: 1px solid var(--parchment-dark);
  border-radius: 10px;
  padding: 24px 28px;
  max-width: 360px;
}

.pricing-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid var(--parchment-dark);
  font-size: 0.9rem;
  color: var(--ink);
}

.pricing-row:last-of-type {
  border-bottom: none;
}

.pricing-row.muted {
  color: var(--ink-muted);
}

.price {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--teal-deep);
}

.pricing-row.muted .price {
  color: var(--ink-muted);
  font-size: 1.1rem;
}

.pricing-note {
  font-size: 0.75rem;
  color: var(--ink-muted);
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--parchment-dark);
}

/* ===================
   CLOSING
   =================== */
.closing {
  background: var(--teal-deep);
  padding: 100px 40px;
}

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

.closing-eyebrow {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--amber);
  margin-bottom: 20px;
}

.closing-headline {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--parchment);
  margin-bottom: 28px;
  line-height: 1.15;
}

.closing-headline em {
  font-style: italic;
  color: var(--amber);
}

.closing-body {
  font-size: 1rem;
  color: rgba(248,243,235,0.7);
  line-height: 1.75;
  margin-bottom: 20px;
}

/* ===================
   FOOTER
   =================== */
.footer {
  background: var(--parchment);
  padding: 48px 40px;
  border-top: 1px solid var(--parchment-dark);
}

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

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--teal-deep);
}

.footer-desc {
  font-size: 0.8rem;
  color: var(--ink-muted);
  margin-top: 6px;
  max-width: 280px;
}

.footer-links {
  font-size: 0.78rem;
  color: var(--ink-muted);
}

/* ===================
   RESPONSIVE
   =================== */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-visual {
    order: -1;
  }

  .grid-art {
    max-width: 320px;
    margin: 0 auto;
  }

  .manifesto-stat-row {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .annualmodel-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .annualmodel-visual {
    justify-content: center;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .hero {
    padding: 60px 24px 80px;
  }

  .manifesto, .features, .annualmodel, .closing {
    padding: 80px 24px;
  }

  .footer {
    padding: 40px 24px;
  }

  .nav-inner {
    padding: 16px 24px;
  }

  .feature-card {
    padding: 28px;
  }
}

@media (max-width: 480px) {
  .hero-headline {
    font-size: 2rem;
  }

  .closing-headline {
    font-size: 1.8rem;
  }

  .pricing-box {
    max-width: 100%;
  }
}

/* Nav CTA */
.nav-cta {
  margin-left: auto;
  display: inline-block;
  padding: 8px 20px;
  background: var(--amber);
  color: var(--teal-deep);
  font-weight: 600;
  font-size: 0.85rem;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--amber-light);
}

/* Download CTA */
.closing-cta-wrap {
  margin-top: 40px;
  text-align: center;
}
.btn-download {
  display: inline-flex;
  align-items: center;
  padding: 16px 36px;
  background: var(--teal);
  color: var(--white);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.15s ease;
  box-shadow: 0 4px 16px rgba(12, 46, 46, 0.25);
}
.btn-download:hover {
  background: var(--teal-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(12, 46, 46, 0.3);
}
.closing-cta-sub {
  margin-top: 12px;
  font-size: 0.8rem;
  color: var(--ink-muted);
}