:root {
  --bg: #0b1020;
  --bg-soft: #11172b;
  --surface: #ffffff;
  --ink: #0c1224;
  --ink-soft: #4a5470;
  --muted: #6b7488;
  --line: #e7e9f0;
  --brand: #4f46e5;
  --brand-2: #06b6d4;
  --accent: #f59e0b;
  --radius: 16px;
  --shadow: 0 18px 50px -20px rgba(16, 22, 44, 0.35);
  --maxw: 1120px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--ink);
  background: #fafbff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; color: var(--ink); }
h1 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(2.4rem, 5vw, 3.8rem); font-weight: 600; }
h2 { font-family: 'Fraunces', Georgia, serif; font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 600; }
h3 { font-size: 1.15rem; font-weight: 600; }

p { color: var(--ink-soft); }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--brand);
  margin-bottom: 14px;
}

.grad {
  background: linear-gradient(100deg, var(--brand), var(--brand-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.98rem;
  padding: 14px 24px; border-radius: 12px;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-sm { padding: 10px 18px; font-size: 0.9rem; }
.btn-block { width: 100%; }
.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, var(--brand), #6366f1);
  box-shadow: 0 10px 24px -10px rgba(79, 70, 229, 0.7);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(79, 70, 229, 0.75); }
.btn-ghost { color: var(--ink); background: #fff; border-color: var(--line); }
.btn-ghost:hover { transform: translateY(-2px); border-color: #cdd2e0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 251, 255, 0.82);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 2px; text-decoration: none; font-weight: 800; font-size: 1.25rem; color: var(--ink); }
.brand-mark {
  display: inline-grid; place-items: center;
  width: 30px; height: 30px; margin-right: 6px; border-radius: 8px;
  color: #fff; font-size: 0.85rem;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.nav-links { display: flex; gap: 28px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.nav-links a:hover { color: var(--ink); }

/* Hero */
.hero { padding: 72px 0 40px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.lede { font-size: 1.18rem; margin: 22px 0 30px; max-width: 36em; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-note { margin-top: 18px; font-size: 0.9rem; color: var(--muted); }

.hero-card { position: relative; }
.mock-window {
  background: var(--surface); border-radius: 18px; box-shadow: var(--shadow);
  border: 1px solid var(--line); overflow: hidden;
}
.mock-bar { display: flex; gap: 7px; padding: 14px 16px; border-bottom: 1px solid var(--line); }
.mock-bar span { width: 11px; height: 11px; border-radius: 50%; background: #e2e5ee; }
.mock-bar span:nth-child(1) { background: #ff5f57; }
.mock-bar span:nth-child(2) { background: #febc2e; }
.mock-bar span:nth-child(3) { background: #28c840; }
.mock-body { padding: 22px; }
.mock-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.mock-avatar { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-weight: 700; background: linear-gradient(135deg, #4f46e5, #06b6d4); }
.mock-name { font-weight: 600; font-size: 0.95rem; }
.mock-handle { font-size: 0.8rem; color: var(--muted); }
.mock-badge { margin-left: auto; font-size: 0.72rem; font-weight: 600; color: #047857; background: #d1fae5; padding: 4px 10px; border-radius: 999px; }
.mock-post { color: var(--ink); font-size: 1rem; margin-bottom: 16px; }
.mock-meta { display: flex; gap: 8px; flex-wrap: wrap; font-size: 0.8rem; color: var(--muted); }

.float-chip {
  position: absolute; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 12px 30px -14px rgba(16,22,44,.35);
  padding: 10px 14px; border-radius: 12px; font-size: 0.85rem; font-weight: 600; color: var(--ink);
}
.chip-1 { top: -18px; left: -18px; }
.chip-2 { bottom: -16px; right: -10px; color: var(--brand); }

/* Strip */
.strip { background: var(--bg); color: #cdd3e6; }
.strip-inner { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; padding: 18px 24px; font-size: 0.95rem; }
.strip-inner strong { color: #fff; }
.strip .dot { opacity: .4; }

/* Sections */
.section { padding: 84px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-head { margin-bottom: 48px; }
.section-head h2 { max-width: 18em; }
.section.center h2, .section .center h2 { margin-left: auto; margin-right: auto; }
#problem h2 { margin-bottom: 18px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; }
.step-num {
  width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center;
  font-weight: 700; color: #fff; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
}
.step h3 { margin-bottom: 8px; }
.step p { font-size: 0.95rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .15s ease, box-shadow .15s ease; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature-ico { color: var(--brand); font-size: 1.1rem; margin-bottom: 14px; }
.feature h3 { margin-bottom: 8px; }
.feature p { font-size: 0.95rem; }

/* Who */
.who-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.who-card { background: linear-gradient(180deg, #fff, #f6f8ff); border: 1px solid var(--line); border-radius: var(--radius); padding: 34px; }
.who-card h3 { font-size: 1.35rem; margin-bottom: 12px; }

/* Pricing */
.pricing { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.plan { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; }
.plan.featured { border-color: var(--brand); box-shadow: var(--shadow); transform: translateY(-6px); }
.plan-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 0.72rem; font-weight: 700; padding: 5px 14px; border-radius: 999px; }
.plan h3 { font-size: 1.2rem; }
.price { font-family: 'Fraunces', serif; font-size: 2.2rem; font-weight: 600; margin: 12px 0 18px; }
.price span { font-family: 'Inter', sans-serif; font-size: 0.95rem; font-weight: 500; color: var(--muted); }
.plan ul { list-style: none; margin-bottom: 24px; }
.plan li { padding: 9px 0 9px 26px; border-bottom: 1px solid var(--line); font-size: 0.95rem; color: var(--ink-soft); position: relative; }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--brand-2); font-weight: 700; }
.plan li:last-child { border-bottom: none; }

/* CTA */
.cta { padding: 90px 0; background: radial-gradient(120% 120% at 50% 0%, #1a2240 0%, var(--bg) 60%); color: #fff; }
.cta h2 { color: #fff; }
.cta .muted { color: #aeb6d0; }
.subscribe { display: flex; gap: 12px; justify-content: center; margin: 28px auto 10px; max-width: 520px; flex-wrap: wrap; }
.subscribe input {
  flex: 1; min-width: 240px; padding: 15px 18px; border-radius: 12px;
  border: 1px solid #2b3357; background: #0e1430; color: #fff; font-size: 1rem;
}
.subscribe input::placeholder { color: #7a83a6; }
.subscribe input:focus { outline: none; border-color: var(--brand); }
.cta .hero-note { color: #8a92b4; }
.form-msg { min-height: 22px; font-weight: 600; margin-top: 6px; }
.form-msg.ok { color: #34d399; }
.form-msg.err { color: #fb7185; }

/* Footer */
.site-footer { background: var(--bg); color: #aeb6d0; padding: 40px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 8px; align-items: center; text-align: center; }
.site-footer .brand { color: #fff; }

/* Responsive */
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .steps, .features, .who-grid, .pricing { grid-template-columns: 1fr; }
  .plan.featured { transform: none; }
  .section { padding: 60px 0; }
}
