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

:root {
  --bg: #FAFAF7;
  --bg-alt: #F2F2EE;
  --fg: #1C1C1E;
  --fg-muted: #6B6B6B;
  --accent: #E85D04;
  --accent-hover: #C94E03;
  --border: #E0DED8;
  --card: #FFFFFF;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== NAVIGATION ===== */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--fg);
}

.logo-mark {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  background: var(--accent);
  color: #fff;
  padding: 0.2rem 0.4rem;
  border-radius: 4px;
}

.logo-word {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--fg);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color 0.2s;
}

.nav-links a:hover { color: var(--accent); }

/* ===== HERO ===== */
.hero {
  padding-top: 120px;
  padding-bottom: 2rem;
  overflow: hidden;
}

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

.hero-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.hero-headline {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4vw, 3.75rem);
  font-weight: 400;
  line-height: 1.12;
  color: var(--fg);
  margin-bottom: 1.5rem;
}

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

.hero-sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  max-width: 420px;
  line-height: 1.65;
}

/* ===== BROWSER MOCKUP ===== */
.hero-visual {
  position: relative;
}

.browser-frame {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: var(--card);
  box-shadow: 0 8px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
}

.browser-bar {
  background: var(--bg-alt);
  padding: 0.625rem 1rem;
  display: flex;
  gap: 0.4rem;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
}

.dot:nth-child(1) { background: #FF5F57; }
.dot:nth-child(2) { background: #FFBD2E; }
.dot:nth-child(3) { background: #28C840; }

.browser-content {
  padding: 1.5rem;
}

.mock-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.mock-logo {
  width: 80px;
  height: 12px;
  background: var(--fg);
  border-radius: 3px;
}

.mock-links {
  display: flex;
  gap: 1rem;
}

.mock-link {
  width: 40px;
  height: 8px;
  background: var(--border);
  border-radius: 3px;
}

.mock-hero {
  margin-bottom: 1.5rem;
}

.mock-h1 {
  height: 28px;
  background: var(--fg);
  border-radius: 4px;
  margin-bottom: 0.75rem;
  width: 75%;
}

.mock-sub {
  height: 12px;
  background: var(--border);
  border-radius: 3px;
  width: 90%;
  margin-bottom: 0.5rem;
}

.mock-sub:last-child { width: 60%; }

.mock-cta {
  width: 120px;
  height: 32px;
  background: var(--accent);
  border-radius: 6px;
  margin-top: 1rem;
}

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

.mock-card {
  height: 64px;
  background: var(--bg-alt);
  border-radius: 6px;
}

.hero-badge {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.badge-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}

.badge-icon {
  width: 16px;
  height: 16px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===== HERO STRIPE ===== */
.hero-stripe {
  max-width: 1200px;
  margin: 3rem auto 0;
  padding: 1.25rem 2rem;
  background: var(--fg);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-stripe span {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.04em;
}

.hero-stripe span.sep {
  color: var(--accent);
  font-weight: 700;
}

/* ===== SHARED SECTION ===== */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.label-rule {
  flex: 1;
  max-width: 80px;
  height: 1px;
  background: var(--border);
}

.label-text {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-muted);
}

.section-headline {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--fg);
}

/* ===== DEMONSTRATION / HOW IT WORKS ===== */
.demonstration {
  padding: 5rem 0;
  background: var(--bg-alt);
}

.steps {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  justify-content: center;
}

.step {
  flex: 1;
  max-width: 260px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.step-number {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1rem;
}

.step-title {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

.step-body {
  font-size: 0.9rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

.step-connector {
  color: var(--border);
  padding-top: 2.5rem;
  flex-shrink: 0;
}

/* ===== FEATURES ===== */
.features {
  padding: 5rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
}

.feature-card {
  background: var(--card);
  padding: 2.5rem 2rem;
  transition: background 0.2s;
}

.feature-card:hover { background: var(--bg); }

.feature-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-alt);
  border-radius: 8px;
  margin-bottom: 1.25rem;
  color: var(--accent);
}

.feature-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.625rem;
  color: var(--fg);
}

.feature-body {
  font-size: 0.875rem;
  color: var(--fg-muted);
  line-height: 1.65;
}

/* ===== PRINCIPLES ===== */
.principles {
  padding: 5rem 0;
  background: var(--fg);
  color: #fff;
}

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

.principles-headline {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 2rem;
  line-height: 1.2;
}

.principles-body {
  text-align: left;
}

.principles-body p {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

.principles-body p:last-child { margin-bottom: 0; }

/* ===== CLOSING ===== */
.closing {
  padding: 6rem 0;
  text-align: center;
}

.closing-headline {
  font-family: var(--serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 400;
  color: var(--fg);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.closing-sub {
  font-size: 1.0625rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.65;
}

/* ===== FOOTER ===== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: center;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.footer-company {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--fg);
}

.footer-tagline {
  font-size: 0.875rem;
  color: var(--fg-muted);
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--fg-muted);
  opacity: 0.6;
}

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

  .hero-visual {
    order: -1;
  }

  .hero-stripe {
    margin-top: 2rem;
  }

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

  .step {
    max-width: 100%;
    width: 100%;
  }

  .step-connector {
    display: none;
  }

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

@media (max-width: 600px) {
  .nav-links { display: none; }

  .hero-headline { font-size: 2.25rem; }

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

  .hero-stripe {
    gap: 0.75rem;
  }

  .hero-stripe span { font-size: 0.75rem; }
}
