:root {
  --bg: #08060F;
  --bg-elevated: rgba(255, 255, 255, 0.03);
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --accent: #34D399;
  --text-heading: #FFFFFF;
  --text-body: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.45);
  --radius: 14px;
  --max-width: 1120px;
  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 {
  font-family: var(--font-display);
  color: var(--text-heading);
  margin: 0 0 0.5em;
  line-height: 1.15;
}

p { margin: 0 0 1em; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 6, 15, 0.85);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-heading);
  text-decoration: none;
}

/* Buttons */
.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 600;
  border-radius: 999px;
  padding: 14px 28px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--accent);
  color: #06130D;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(52, 211, 153, 0.25);
}

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

.btn-large {
  padding: 16px 36px;
  font-size: 1.05rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-align: center;
  margin-bottom: 2.5rem;
}

/* Hero */
.hero {
  position: relative;
  padding: 10rem 0 6rem;
  text-align: center;
  background: var(--bg);
}

.hero .container { position: relative; }

.hero-inner { max-width: 760px; margin: 0 auto; }

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600;
}

.hero-sub {
  font-size: 1.15rem;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto 2.5rem;
}

/* Portrait photo */
.portrait-photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 220px;
  height: 220px;
  border-radius: var(--radius);
  object-fit: cover;
  border: 1.5px solid var(--border-hover);
}

@media (max-width: 860px) {
  .portrait-photo {
    position: static;
    display: block;
    margin: 0 auto 2rem;
  }
}

/* Sections */
.section { padding: 6rem 0; background: var(--bg); }

/* Card grid */
.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card-grid.four { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--bg-elevated);
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--border);
}

.card-number {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.card h3 { font-size: 1.15rem; }
.card p { color: var(--text-body); margin-bottom: 0; font-size: 0.96rem; }

/* Process */
.process-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.process-item {
  display: flex;
  align-items: center;
  gap: 18px;
  text-align: left;
  width: 100%;
  padding: 22px 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: inherit;
  font-family: inherit;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.process-item:hover {
  border-color: var(--border-hover);
}

.process-item.is-active {
  background: rgba(52, 211, 153, 0.06);
  border-color: var(--accent);
  box-shadow: 0 0 0 1px rgba(52, 211, 153, 0.4), 0 0 32px rgba(52, 211, 153, 0.2);
}

.process-icon {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.85);
}

.process-icon svg { width: 22px; height: 22px; }

.process-item-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.process-item-title {
  color: var(--text-heading);
  font-weight: 600;
  font-size: 1.02rem;
}

.process-item-sub {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.process-detail-heading {
  color: var(--text-heading);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
}

.process-detail-body {
  color: var(--text-body);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2.25rem;
}

.btn-arrow { display: inline-block; margin-left: 4px; }

@media (max-width: 860px) {
  .process-columns {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* Results */
.result-card { text-align: center; }
.result-industry {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.result-headline {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-heading);
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.result-roas {
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.result-spend {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 0;
}

/* Final CTA */
.final-cta-inner { max-width: 620px; margin: 0 auto; }
.final-cta h2 { color: var(--text-heading); }
.final-cta p { color: var(--text-body); margin-bottom: 2.5rem; }

/* Footer */
.site-footer {
  padding: 2.5rem 0;
  text-align: center;
  background: var(--bg);
  border-top: 1px solid var(--border);
}

.site-footer p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin: 0;
}

/* Responsive */
@media (max-width: 860px) {
  .card-grid.three,
  .card-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .hero { padding: 7rem 0 4rem; }
  .section { padding: 4rem 0; }
  .card-grid.three,
  .card-grid.four {
    grid-template-columns: 1fr;
  }
}
