:root {
  --bg: #ffffff;
  --text: #171717;
  --muted: #4d4d4d;
  --soft: #666666;
  --line: rgba(0, 0, 0, 0.08);
  --surface: #fafafa;
  --blue: #0a72ef;
  --pink: #de1d8d;
  --red: #ff5b4f;
  --shadow-card: rgba(0,0,0,0.08) 0px 0px 0px 1px, rgba(0,0,0,0.04) 0px 2px 2px, rgba(0,0,0,0.04) 0px 8px 8px -8px, #fafafa 0px 0px 0px 1px inset;
  --shadow-ring: rgba(0,0,0,0.08) 0px 0px 0px 1px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Geist', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--bg);
  font-feature-settings: "liga" 1;
}
a { color: inherit; text-decoration: none; }
p { color: var(--muted); line-height: 1.72; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow-ring);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 600; }
.brand-mark {
  width: 30px; height: 30px; border-radius: 8px; display: grid; place-items: center;
  color: #fff; background: var(--text); font-family: 'Geist Mono', monospace; font-size: 14px;
}
.nav-links { display: flex; gap: 22px; align-items: center; font-size: 14px; font-weight: 500; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta { color: #fff !important; background: var(--text); padding: 9px 14px; border-radius: 6px; }

.section-shell { max-width: 1180px; margin: 0 auto; padding: 92px 24px; }
.hero { text-align: center; padding-top: 112px; position: relative; }
.hero::before {
  content: ""; position: absolute; left: 50%; top: 56px; transform: translateX(-50%);
  width: 620px; height: 220px; border-radius: 999px;
  background: radial-gradient(circle at 20% 50%, rgba(10,114,239,0.13), transparent 32%), radial-gradient(circle at 55% 40%, rgba(222,29,141,0.12), transparent 30%), radial-gradient(circle at 80% 50%, rgba(255,91,79,0.10), transparent 28%);
  filter: blur(18px); z-index: -1;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Geist Mono', ui-monospace, monospace;
  font-size: 12px; text-transform: uppercase; letter-spacing: .02em; color: var(--soft);
  padding: 6px 10px; border-radius: 9999px; box-shadow: var(--shadow-ring); background: #fff;
}
h1 { font-size: clamp(44px, 7vw, 78px); line-height: .96; letter-spacing: -3.6px; margin: 24px auto 0; max-width: 1050px; font-weight: 600; }
h2 { font-size: clamp(32px, 4.5vw, 52px); line-height: 1.05; letter-spacing: -2.2px; margin: 18px 0 0; font-weight: 600; }
h3 { font-size: 22px; line-height: 1.25; letter-spacing: -.6px; margin: 12px 0 8px; }
.hero-subtitle { max-width: 880px; margin: 26px auto 0; font-size: 19px; }
.hero-actions { display: flex; justify-content: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.button { display: inline-flex; justify-content: center; align-items: center; min-height: 42px; padding: 0 18px; border-radius: 6px; font-weight: 500; font-size: 14px; cursor: pointer; border: 0; font-family: inherit; }
.button.primary { background: var(--text); color: #fff; }
.button.secondary { background: #fff; color: var(--text); box-shadow: var(--shadow-ring); }
.button.full { width: 100%; }
.hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 760px; margin: 54px auto 0; box-shadow: var(--shadow-card); border-radius: 12px; overflow: hidden; background: #fff; }
.hero-metrics div { padding: 24px; }
.hero-metrics div + div { box-shadow: -1px 0 0 var(--line); }
.hero-metrics strong { display: block; font-size: 34px; letter-spacing: -1.2px; }
.hero-metrics span { color: var(--muted); font-size: 14px; }

.section-grid { display: grid; grid-template-columns: 1fr 1.08fr; gap: 54px; align-items: center; }
.section-grid.reverse { grid-template-columns: 1.1fr 1fr; }
.section-lead { font-size: 18px; }
.pipeline-card, .planner-card, .source-grid article, .workflow-grid article, .money-grid article, .content-map { box-shadow: var(--shadow-card); border-radius: 12px; background: #fff; }
.pipeline-list { list-style: none; margin: 0; padding: 10px; }
.pipeline-list li { display: grid; grid-template-columns: 52px 1fr; gap: 18px; padding: 18px; border-radius: 10px; }
.pipeline-list li + li { box-shadow: 0 -1px 0 var(--line); }
.pipeline-list span { font-family: 'Geist Mono', monospace; color: var(--soft); font-size: 13px; }
.pipeline-list strong { font-size: 18px; }
.pipeline-list p { margin: 6px 0 0; }

.section-heading { max-width: 820px; margin-bottom: 34px; }
.section-heading.compact { margin-left: auto; margin-right: auto; text-align: center; }
.source-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.source-grid article, .workflow-grid article, .money-grid article { padding: 24px; }
.source-grid span { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: var(--surface); box-shadow: var(--shadow-ring); font-family: 'Geist Mono', monospace; font-weight: 600; }

.content-map { padding: 8px; }
.map-row { display: grid; grid-template-columns: 170px 1fr; gap: 18px; padding: 17px; border-radius: 10px; }
.map-row + .map-row { box-shadow: 0 -1px 0 var(--line); }
.map-row span { color: var(--muted); line-height: 1.55; }
.check-list { padding: 0; list-style: none; display: grid; gap: 12px; }
.check-list li { padding-left: 28px; position: relative; color: var(--muted); line-height: 1.6; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 700; }
.workflow-section { border-top: 1px solid #ebebeb; border-bottom: 1px solid #ebebeb; max-width: none; padding-left: max(24px, calc((100vw - 1180px) / 2)); padding-right: max(24px, calc((100vw - 1180px) / 2)); }
.workflow-grid, .money-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px; }
.money-grid { grid-template-columns: repeat(4, 1fr); }
.workflow-grid span { font-family: 'Geist Mono', monospace; text-transform: uppercase; font-size: 12px; font-weight: 600; }
.step-blue { color: var(--blue); } .step-pink { color: var(--pink); } .step-red { color: var(--red); }

.planner-section { display: grid; grid-template-columns: .9fr 1fr; gap: 44px; align-items: start; }
.planner-card { padding: 24px; display: grid; gap: 16px; }
label { display: grid; gap: 8px; font-size: 14px; font-weight: 500; color: var(--text); }
input, select { width: 100%; appearance: none; border: 0; outline: none; border-radius: 8px; box-shadow: var(--shadow-ring); padding: 13px 14px; font: inherit; color: var(--text); background: #fff; }
input:focus, select:focus { outline: 2px solid hsla(212,100%,48%,1); outline-offset: 2px; }
.planner-result { display: none; margin-top: 6px; padding: 18px; border-radius: 10px; background: #fafafa; box-shadow: var(--shadow-ring); }
.planner-result.active { display: block; }
.planner-result h3 { margin-top: 0; }
.planner-result ul { margin: 10px 0 0; padding-left: 20px; color: var(--muted); line-height: 1.6; }

.seo-body { max-width: 900px; }
.seo-body p { font-size: 18px; }
.site-footer { max-width: 1180px; margin: 0 auto; padding: 42px 24px 60px; display: flex; justify-content: space-between; gap: 24px; box-shadow: 0 -1px 0 var(--line); }
.site-footer p { margin: 8px 0 0; }
.site-footer a { color: var(--blue); font-weight: 500; }

@media (max-width: 900px) {
  .site-header { padding: 0 18px; }
  .nav-links a:not(.nav-cta) { display: none; }
  h1 { letter-spacing: -2.4px; }
  .section-grid, .section-grid.reverse, .planner-section { grid-template-columns: 1fr; }
  .source-grid, .workflow-grid, .money-grid { grid-template-columns: 1fr; }
  .hero-metrics { grid-template-columns: 1fr; }
  .hero-metrics div + div { box-shadow: 0 -1px 0 var(--line); }
  .map-row { grid-template-columns: 1fr; gap: 6px; }
  .site-footer { flex-direction: column; }
}

@media (max-width: 520px) {
  .section-shell { padding: 68px 18px; }
  .hero { padding-top: 82px; }
  h1 { font-size: 42px; letter-spacing: -2px; }
  h2 { font-size: 32px; letter-spacing: -1.2px; }
  .hero-subtitle, .section-lead, .seo-body p { font-size: 16px; }
}
