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

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: #1c1917;
  background: #fafaf9;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 {
  line-height: 1.15;
  font-weight: 700;
}

/* ===== Layout ===== */
.container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 2rem;
}

.container--narrow {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #b45309;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: 2rem;
  color: #1c1917;
  margin-bottom: 1rem;
}

/* ===== Top Bar ===== */
.top-bar {
  background: #1c1917;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
  padding: 0.5rem 1rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  position: relative;
  z-index: 10;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  background: #1c1917;
  position: relative;
  overflow: hidden;
  padding: 4rem;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: right;
  max-width: 480px;
}

.hero-title {
  display: none;
}

.hero .one-liner {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.75rem;
  line-height: 1.55;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.cta-button {
  display: inline-block;
  padding: 0.9rem 2.5rem;
  font-size: 1rem;
  font-family: inherit;
  font-weight: 600;
  background: #d97706;
  color: #fff;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.3);
}

.cta-button:hover {
  background: #b45309;
  transform: translateY(-1px);
  box-shadow: 0 6px 28px rgba(217, 119, 6, 0.4);
}

/* ===== Problem — Waterfall ===== */
.problem-section {
  padding: 5rem 0;
  background: #fafaf9;
}

.waterfall {
  display: flex;
  flex-direction: column;
  margin-top: 2.5rem;
  max-width: 480px;
}

.wf-row {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.wf-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #a8a29e;
  min-width: 90px;
  text-align: right;
  flex-shrink: 0;
}

.wf-text {
  font-size: 1rem;
  color: #44403c;
  font-weight: 500;
}

.wf-arrow-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.1rem 0;
}

.wf-arrow-row .wf-label {
  min-width: 90px;
}

.wf-arrow {
  color: #d6d3d1;
  font-size: 0.8rem;
}

.wf-hint {
  font-size: 0.82rem;
  color: #b45309;
  font-weight: 600;
}

.wf-outcome {
  margin-top: 0.25rem;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #fef3c7, #ecfdf5);
  border-radius: 8px;
  border-left: 3px solid #d97706;
}

.wf-outcome .wf-label {
  color: #b45309;
}

.wf-outcome .wf-text {
  color: #1c1917;
  font-weight: 600;
}

.problem-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2.5rem;
}

.problem-layout .waterfall {
  margin-top: 0;
}

.problem-image {
  text-align: center;
}

.problem-image img {
  max-width: 100%;
  border-radius: 12px;
}

/* ===== Insight ===== */
.insight-section {
  padding: 5rem 0;
  background: #1c1917;
  text-align: center;
}

.insight-line {
  font-size: 2.25rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.insight-line em {
  color: #fbbf24;
  font-style: normal;
}

/* ===== Solution ===== */
.solution-section {
  padding: 5rem 0;
  background: #fafaf9;
  text-align: center;
}

.solution-text {
  font-size: 1.1rem;
  color: #57534e;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.solution-tagline {
  font-size: 1.15rem;
  font-weight: 700;
  color: #1c1917;
  margin-bottom: 2.5rem;
}

/* ===== Footer ===== */
.footer {
  padding: 2rem 0;
  text-align: center;
  background: #fafaf9;
  border-top: 1px solid #e7e5e4;
}

.footer-links {
  font-size: 0.85rem;
  color: #a8a29e;
}

.footer-links a {
  color: #78716c;
  text-decoration: none;
}

.footer-links a:hover {
  color: #b45309;
}

/* ===== Responsive ===== */
@media (max-width: 650px) {
  .hero {
    min-height: 70vh;
    padding: 2.5rem 1.5rem;
    align-items: flex-end;
    justify-content: center;
  }

  .hero-bg {
    background-attachment: scroll;
    background-position: 70% center;
  }

  .hero-content {
    text-align: center;
    max-width: 100%;
  }

  .hero-title {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: #f0e4d4;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.5);
  }

  .hero-title-sub {
    display: block;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    color: rgba(200, 190, 175, 0.75);
    letter-spacing: 0.04em;
    margin-bottom: 1.5rem;
  }

  .hero .one-liner {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 1.6rem;
  }

  .insight-line {
    font-size: 1.65rem;
  }

  .problem-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .wf-label {
    min-width: 70px;
    font-size: 0.65rem;
  }

  .wf-arrow-row .wf-label {
    min-width: 70px;
  }

  .problem-section,
  .insight-section,
  .solution-section {
    padding: 3.5rem 0;
  }
}
