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

:root {
  --bg: #f5f0eb;
  --bg-card: #ffffff;
  --text: #1a1a1a;
  --text-muted: #6b6560;
  --text-light: #9a948e;
  --accent: #3d6b4f;
  --accent-light: #e8f0eb;
  --border: #e2ddd7;
  --radius: 12px;
  --radius-lg: 20px;
}

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

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

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

/* ── Typography ────────────────────────────────── */
.serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
}

h1, h2, h3 {
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
}

/* ── Layout ────────────────────────────────────── */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 100px 0;
}

/* ── Header ────────────────────────────────────── */
header {
  padding: 28px 0;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  background: transparent;
  border-bottom: none;
}

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

.logo {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--text);
}

.logo span {
  color: var(--accent);
}

header nav a {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-left: 32px;
  transition: color 0.2s;
}

header nav a:hover {
  color: var(--text);
}

/* ── Badge ─────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-light);
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 24px;
}

.badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

/* ── Hero ──────────────────────────────────────── */


.hero h1 {
  font-size: clamp(2.75rem, 5.5vw, 4.25rem);
  letter-spacing: -0.025em;
  max-width: 780px;
  margin: 0 auto 24px;
}

.hero .subtitle {
  font-size: 1.125rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 56px;
  line-height: 1.7;
}

/* Hero illustration */


/* ── Terminal ──────────────────────────────────── */
.terminal-section {
  padding: 0 0 100px;
}

.terminal {
  background: #1e1e1e;
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 700px;
  margin: 0 auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.12);
}

.terminal-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  background: #2a2a2a;
}

.terminal-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.terminal-dot:nth-child(1) { background: #ff5f57; }
.terminal-dot:nth-child(2) { background: #febc2e; }
.terminal-dot:nth-child(3) { background: #28c840; }

.terminal-body {
  padding: 24px;
  font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
  font-size: 0.875rem;
  line-height: 1.8;
  color: #d4d4d4;
  min-height: 200px;
}

.terminal-line {
  opacity: 0;
  transform: translateY(4px);
  animation: termFade 0.4s ease forwards;
}

.terminal-line .prompt {
  color: #7ec699;
}

.terminal-line .cmd {
  color: #e6db74;
}

.terminal-line .info {
  color: #66d9ef;
}

.terminal-line .success {
  color: #a6e22e;
}

.terminal-line .muted {
  color: #888;
}

@keyframes termFade {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Steps ─────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  text-align: left;
}

.step-number {
  font-family: 'Instrument Serif', Georgia, serif;
  font-size: 3rem;
  color: var(--border);
  margin-bottom: 12px;
  line-height: 1;
}

.step h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

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

/* ── Section headings ─────────────────────────── */
.section-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  margin-bottom: 56px;
}

/* ── Example Sites (Browser Mockups) ──────────── */
.examples-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.browser-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.browser-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
}

.browser-chrome {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #fafaf8;
  border-bottom: 1px solid var(--border);
}

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

.chrome-dot:nth-child(1) { background: #ff5f57; }
.chrome-dot:nth-child(2) { background: #febc2e; }
.chrome-dot:nth-child(3) { background: #28c840; }

.chrome-bar {
  flex: 1;
  height: 28px;
  background: #f0ece6;
  border-radius: 6px;
  margin-left: 8px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  font-size: 0.75rem;
  color: var(--text-light);
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.browser-viewport {
  height: 280px;
  overflow: hidden;
  background: #f0ece6;
}

.browser-viewport img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.site-label {
  padding: 14px 16px;
  font-size: 0.8125rem;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-label .arrow {
  font-size: 1rem;
  transition: transform 0.2s;
}

.browser-card:hover .arrow {
  transform: translateX(3px);
}

/* ── Why Cards ─────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.why-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--accent-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--accent);
}

.why-card h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

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

/* ── Footer ────────────────────────────────────── */
footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-light);
  font-size: 0.875rem;
}

footer p {
  line-height: 1.8;
}

/* ── Responsive ────────────────────────────────── */
@media (max-width: 768px) {
  section {
    padding: 64px 0;
  }

  

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

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

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

  .browser-viewport {
    height: 220px;
  }

  header nav {
    display: none;
  }
}

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

  .container {
    padding: 0 16px;
  }
}


/* Hero — full background image */

/* Hide any browser mockup / hero-visual elements */

@media (max-width: 768px) {
}



/* HERO — Full bleed, starts at top of page */
.hero {
  position: relative;
  width: 100%;
  height: 100vh !important;
  min-height: 100vh !important;
  margin: 0;
  padding: 0;
  background: url("hero-bg.jpg") center / cover no-repeat !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero .container {
  position: relative;
  z-index: 1;
  padding: 2rem;
  max-width: 800px;
}

.hero-illustration, .hero-visual {
  display: none !important;
}

@media (max-width: 768px) {
  .hero {
    height: 100vh !important;
    min-height: 100vh !important;
  }
}


/* Text overlay for readability on hero */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(245, 240, 235, 0.85) 0%,
    rgba(245, 240, 235, 0.6) 40%,
    rgba(245, 240, 235, 0.3) 70%,
    transparent 100%
  );
  z-index: 0;
}

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

.hero .subtitle {
  color: #1a1a1a !important;
  font-weight: 500 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.8);
}

.hero h1 {
  text-shadow: 0 1px 3px rgba(255,255,255,0.6);
}
