:root {
  --bg: #ffffff;
  --bg-soft: #fafafa;
  --surface: #ffffff;
  --border: #e8eae9;
  --teal-900: #0d3833;
  --teal-700: #114742;
  --teal-500: #1f514c;
  --mint: #edffe3;
  --mint-soft: #f6fff0;
  --text: #141414;
  --text-dim: #5a615e;
  --muted: #8a908d;

  --accent-1: #114742;
  --accent-2: #1e3a5f;
  --accent-3: #0d3833;
  --accent-4: #1f514c;
  --accent-5: #0d3d2a;
  --accent-6: #2e2566;

  --phase-access: #114742;
  --phase-call: #2e2566;
  --phase-review: #6b4310;
  --phase-launch: #6b1e1c;
  --phase-meta: #1e3a5f;
  --phase-ghl: #0d3d2a;
  --phase-slack: #2e2566;

  --radius: 14px;
  --radius-lg: 18px;
  --radius-badge: 10px;
  --maxw: 880px;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Hedvig Letters Serif', Georgia, serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { background: var(--bg); color: var(--text); font-family: var(--font-sans); -webkit-font-smoothing: antialiased; }
body { line-height: 1.6; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { text-decoration: underline; }

.page-bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(800px 360px at 50% -120px, var(--mint) 0%, rgba(237, 255, 227, 0) 70%),
    linear-gradient(180deg, var(--mint-soft) 0%, #ffffff 420px);
}

.site-header {
  border-bottom: 1px solid var(--border);
  padding: 18px 24px;
  position: sticky; top: 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  z-index: 10;
}
.site-header-inner {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); text-decoration: none; }
.brand:hover { text-decoration: none; }
.brand img { width: 32px; height: 32px; }
.brand-name { font-family: var(--font-display); font-size: 20px; letter-spacing: -0.01em; color: var(--text); }
.nav-back {
  font-size: 14px; color: #fff; font-weight: 500;
  padding: 9px 18px; border: 1px solid var(--teal-700); border-radius: 999px;
  transition: all 0.15s ease; background: var(--teal-700);
  box-shadow: 0 1px 2px rgba(17, 71, 66, 0.15);
}
.nav-back:hover { background: var(--teal-500); border-color: var(--teal-500); color: #fff; text-decoration: none; transform: translateY(-1px); }

/* Index hero */
.hero {
  text-align: center; padding: 96px 24px 24px;
  max-width: 720px; margin: 0 auto;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--teal-700); font-weight: 600;
  background: var(--mint); border: 1px solid rgba(17, 71, 66, 0.12);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display); font-size: 60px;
  line-height: 1.04; letter-spacing: -0.025em; margin-bottom: 18px;
  color: var(--text);
}
.hero-rule {
  width: 56px; height: 3px; background: var(--teal-700);
  margin: 0 auto 22px; border-radius: 2px;
}
.hero p { font-size: 18px; color: var(--text-dim); max-width: 560px; margin: 0 auto; }

.support-strip {
  max-width: var(--maxw); margin: 26px auto 0; padding: 0 24px;
  display: flex; justify-content: center; gap: 12px; flex-wrap: wrap;
}
.support-pill {
  background: #fff; border: 1px solid var(--border);
  padding: 10px 18px; border-radius: 999px;
  font-size: 13px; color: var(--text-dim);
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}
.support-pill a { color: var(--teal-700); font-weight: 500; }

.section-eyebrow {
  max-width: var(--maxw); margin: 72px auto 18px; padding: 0 24px;
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--text-dim);
  display: flex; align-items: center; gap: 14px;
}
.section-eyebrow::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
}

.sop-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 0 24px 96px;
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.sop-card {
  position: relative;
  display: flex; align-items: center; gap: 22px;
  padding: 22px 26px 22px 30px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none; color: var(--text);
  transition: all 0.2s ease;
  overflow: hidden;
}
.sop-card::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px; background: var(--card-accent, var(--teal-700));
  transition: width 0.2s ease;
}
.sop-card:hover {
  border-color: rgba(17, 71, 66, 0.25);
  transform: translateY(-2px);
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(17, 71, 66, 0.10);
  background: linear-gradient(90deg, var(--mint-soft) 0%, #ffffff 60%);
}
.sop-card:hover::before { width: 8px; }
.sop-card:hover .sop-card-arrow { transform: translateX(4px); color: var(--teal-700); }

.sop-card-num {
  flex: 0 0 48px; height: 48px; border-radius: var(--radius-badge);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 20px; font-weight: 500;
  background: var(--card-accent, var(--teal-700)); color: #fff;
  box-shadow: 0 2px 6px rgba(17, 71, 66, 0.18);
}
.sop-card-body { flex: 1; }
.sop-card-title { font-size: 17px; font-weight: 600; margin-bottom: 4px; letter-spacing: -0.005em; }
.sop-card-desc { font-size: 14px; color: var(--text-dim); }
.sop-card-arrow {
  color: var(--muted); font-size: 20px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.sop-card.c1 { --card-accent: var(--accent-1); }
.sop-card.c2 { --card-accent: var(--accent-2); }
.sop-card.c3 { --card-accent: var(--accent-3); }
.sop-card.c4 { --card-accent: var(--accent-4); }
.sop-card.c5 { --card-accent: var(--accent-5); }
.sop-card.c6 { --card-accent: var(--accent-6); }

/* Sub-page layout */
.page { max-width: var(--maxw); margin: 0 auto; padding: 56px 24px 96px; }
.page-eyebrow {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--teal-700); font-weight: 600;
  margin-bottom: 14px;
}
.page-title {
  font-family: var(--font-display); font-size: 44px; line-height: 1.1;
  letter-spacing: -0.022em; margin-bottom: 14px; color: var(--text);
}
.page-subtitle { font-size: 17px; color: var(--text-dim); max-width: 640px; margin-bottom: 36px; }

.intro-callout {
  background: var(--mint); border: 1px solid rgba(17, 71, 66, 0.12);
  padding: 18px 22px; border-radius: var(--radius);
  margin-bottom: 36px; color: var(--text);
  font-size: 14.5px;
  display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
}
.intro-callout strong { color: var(--text); }
.intro-callout > span:first-of-type { display: inline-block; }

.callout-bm {
  display: inline-block;
  background: var(--teal-700); padding: 4px 10px; border-radius: 6px;
  font-family: ui-monospace, 'SF Mono', monospace; color: var(--mint);
  font-size: 13px; cursor: pointer;
  transition: background 0.15s ease;
}
.callout-bm:hover { background: var(--teal-900); }

.phase-label {
  font-size: 11px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--text-dim); margin: 36px 0 14px;
  display: flex; align-items: center; gap: 14px;
}
.phase-label::after {
  content: ""; flex: 1; height: 1px;
  background: linear-gradient(90deg, var(--border) 0%, transparent 100%);
}
.phase-label:first-child { margin-top: 0; }

/* Step cards: white surface, colored left stripe + rounded-square number badge */
.step {
  position: relative;
  display: flex; align-items: stretch;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 10px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.step::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px; background: var(--phase, var(--teal-700));
}
.step:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(17, 71, 66, 0.08);
  border-color: rgba(17, 71, 66, 0.18);
}
.step-number {
  flex: 0 0 70px;
  display: flex; align-items: center; justify-content: center;
  padding: 18px 0;
}
.step-number::before {
  content: attr(data-num);
}
.step-number {
  font-family: var(--font-display); font-size: 20px; font-weight: 500;
  color: #fff;
}
/* The actual badge sits inside step-number */
.step .num-badge {
  width: 44px; height: 44px; border-radius: var(--radius-badge);
  background: var(--phase, var(--teal-700));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
  box-shadow: 0 2px 6px rgba(17, 71, 66, 0.18);
}

.step-body { flex: 1; padding: 18px 24px 18px 4px; }
.step-title { font-size: 16.5px; font-weight: 600; margin-bottom: 6px; color: var(--text); letter-spacing: -0.005em; }
.step-desc { font-size: 14.5px; line-height: 1.6; color: var(--text-dim); }
.step-desc code {
  background: var(--mint); padding: 2px 8px; border-radius: 5px;
  font-size: 13px; font-family: ui-monospace, 'SF Mono', monospace;
  color: var(--teal-900);
}
.step-desc strong { color: var(--text); font-weight: 600; }
.step-desc a { color: var(--teal-700); font-weight: 500; }

.step.access { --phase: var(--phase-access); }
.step.call   { --phase: var(--phase-call); }
.step.review { --phase: var(--phase-review); }
.step.launch { --phase: var(--phase-launch); }
.step.meta   { --phase: var(--phase-meta); }
.step.ghl    { --phase: var(--phase-ghl); }
.step.slack  { --phase: var(--phase-slack); }

.step-arrow {
  text-align: center;
  color: var(--muted);
  font-size: 16px;
  line-height: 1;
  margin: 4px 0;
}

.notes-box {
  margin-top: 44px;
  padding: 24px 28px;
  border: 1px solid var(--border); border-radius: var(--radius-lg);
  background: var(--bg-soft);
  position: relative; overflow: hidden;
}
.notes-box::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px; background: var(--teal-700);
}
.notes-box h3 {
  font-family: var(--font-display); font-size: 19px;
  color: var(--text); margin-bottom: 10px; font-weight: 500;
  letter-spacing: 0.005em;
}
.notes-box p { color: var(--text-dim); font-size: 14px; margin-bottom: 8px; }
.notes-box p:last-child { margin-bottom: 0; }
.notes-box a { color: var(--teal-700); }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 32px 24px;
  text-align: center;
  color: var(--muted); font-size: 13px;
}

@media (max-width: 640px) {
  .hero { padding-top: 72px; }
  .hero h1 { font-size: 40px; }
  .page-title { font-size: 32px; }
  .sop-card { padding: 18px 18px 18px 22px; gap: 16px; }
  .sop-card-num { flex: 0 0 42px; height: 42px; font-size: 18px; }
  .step { flex-direction: row; }
  .step-number { flex: 0 0 64px; padding: 16px 0; }
  .step .num-badge { width: 40px; height: 40px; font-size: 16px; }
  .step-body { padding: 16px 18px 16px 4px; }
}
