:root {
  --navy: #000033;
  --green: #33CC99;
  --blue: #3366CC;
  --gradient: linear-gradient(180deg, #33CC99 0%, #3366CC 100%);
  --gradient-soft: linear-gradient(135deg, rgba(51,204,153,0.08) 0%, rgba(51,204,204,0.04) 50%, rgba(51,102,204,0.08) 100%);
  --ink: #0f172a;
  --muted: #64748b;
  --bg: #ffffff;
  --bg-soft: #f7fafc;
  --line: #e2e8f0;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--ink); background: var(--bg);
  line-height: 1.55; font-size: 16px;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 28px; }

header.site {
  padding: 18px 0; background: rgba(255,255,255,0.85);
  border-bottom: 1px solid transparent;
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(180%) blur(14px);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); font-weight: 800; font-size: 18px; letter-spacing: -0.3px; }
.brand img { width: 32px; height: 32px; border-radius: 7px; }
.brand .wordmark .books { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
nav.site-nav { display: flex; align-items: center; gap: 32px; font-size: 14px; font-weight: 500; }
nav.site-nav a { text-decoration: none; color: var(--ink); opacity: 0.75; transition: opacity 0.15s; }
nav.site-nav a:hover { opacity: 1; }
.btn-ghost { padding: 9px 16px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); font-weight: 600; font-size: 14px; text-decoration: none; transition: border-color 0.15s; }
.btn-ghost:hover { border-color: var(--navy); }
.btn-primary {
  padding: 12px 22px; border: 0; border-radius: 9px; background: var(--navy); color: #fff;
  font-weight: 700; font-size: 15px; cursor: pointer; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06) inset, 0 2px 6px rgba(0,0,51,0.18);
  transition: transform 0.12s, box-shadow 0.12s;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,51,0.28); }
.btn-primary.cta { background: var(--gradient); color: #fff; box-shadow: 0 2px 10px rgba(51,204,153,0.35); }
.btn-primary.cta:hover { box-shadow: 0 6px 22px rgba(51,102,204,0.35); }

.hero {
  position: relative; padding: 72px 0 56px;
  background: var(--gradient-soft); overflow: hidden;
}
.hero h1 {
  font-size: 48px; line-height: 1.08; letter-spacing: -1.2px;
  margin: 0 0 18px; font-weight: 800; color: var(--navy); max-width: 880px;
}
.hero h1 .accent { background: var(--gradient); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lede { font-size: 19px; line-height: 1.55; color: #334155; max-width: 720px; margin: 0 0 16px; }
.hero p.lede.secondary { font-size: 17px; color: #475569; margin: 0 0 28px; }
.hero-form { display: flex; gap: 10px; max-width: 520px; margin-bottom: 14px; }
.hero-form input[type=email] {
  flex: 1; padding: 14px 16px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 15px; background: #fff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.hero-form input[type=email]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(51,102,204,0.15); }
.hero-form button { white-space: nowrap; }
.hero .trust { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.hero .trust .item { display: inline-flex; align-items: center; gap: 6px; }
.hero .trust svg { width: 14px; height: 14px; color: var(--green); }
.hero .alt-cta { font-size: 14px; color: var(--muted); margin-top: 18px; }
.hero .alt-cta a { color: var(--blue); text-decoration: none; font-weight: 600; border-bottom: 1px solid transparent; transition: border-color 0.15s; }
.hero .alt-cta a:hover { border-bottom-color: var(--blue); }

section.content { padding: 80px 0; }
section.content.tinted { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head .tag { display: inline-block; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--blue); margin-bottom: 14px; }
.section-head h2 { font-size: 36px; line-height: 1.15; letter-spacing: -0.8px; margin: 0 0 14px; color: var(--navy); font-weight: 800; }
.section-head p { font-size: 17px; color: #475569; margin: 0; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: 14px; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; }
.feature:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,51,0.06); border-color: transparent; }
.feature .icon { width: 42px; height: 42px; border-radius: 9px; background: var(--gradient); display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 18px; box-shadow: 0 4px 12px rgba(51,204,153,0.3); }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { font-size: 18px; font-weight: 700; margin: 0 0 10px; color: var(--navy); letter-spacing: -0.2px; }
.feature p { margin: 0; color: #475569; line-height: 1.55; font-size: 15px; }

.upsell-card {
  background: var(--navy);
  background-image: radial-gradient(ellipse at top left, rgba(51,204,153,0.18), transparent 60%), radial-gradient(ellipse at bottom right, rgba(51,102,204,0.22), transparent 60%);
  color: #fff; padding: 48px 40px; border-radius: 20px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: center;
  box-shadow: 0 30px 80px -20px rgba(0,0,51,0.4);
}
.upsell-card .tag { display: inline-block; background: rgba(51,204,153,0.2); color: var(--green); padding: 5px 12px; border-radius: 999px; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 14px; }
.upsell-card h2 { font-size: 32px; line-height: 1.1; letter-spacing: -0.6px; margin: 0 0 14px; font-weight: 800; }
.upsell-card p { font-size: 16px; color: rgba(255,255,255,0.75); margin: 0 0 18px; line-height: 1.5; }
.upsell-card ul { list-style: none; padding: 0; margin: 0 0 24px; }
.upsell-card li { padding-left: 28px; position: relative; margin-bottom: 9px; color: rgba(255,255,255,0.9); font-size: 15px; }
.upsell-card li::before { content: "✓"; position: absolute; left: 0; color: var(--green); font-weight: 800; font-size: 16px; }
.upsell-card .btn-primary { background: var(--green); color: var(--navy); font-weight: 700; }
.upsell-card .btn-primary:hover { background: #2bb488; }
.upsell-card .price-block { text-align: center; padding: 28px 24px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.1); border-radius: 14px; }
.upsell-card .price-block .price { font-size: 52px; font-weight: 800; color: #fff; line-height: 1; margin: 0 0 4px; letter-spacing: -2px; }
.upsell-card .price-block .price small { font-size: 22px; font-weight: 600; color: rgba(255,255,255,0.6); vertical-align: top; margin-right: 2px; }
.upsell-card .price-block .period { color: rgba(255,255,255,0.6); font-size: 14px; margin-bottom: 16px; }
.upsell-card .price-block .trial { font-size: 13px; color: var(--green); font-weight: 600; }

.capture-band { padding: 64px 0; background: var(--gradient); color: #fff; text-align: center; }
.capture-band h2 { font-size: 32px; margin: 0 0 12px; letter-spacing: -0.5px; font-weight: 800; }
.capture-band p { font-size: 16px; margin: 0 0 24px; opacity: 0.9; max-width: 540px; margin-left: auto; margin-right: auto; }
.capture-band form { max-width: 480px; margin: 0 auto; display: flex; gap: 10px; }
.capture-band input[type=email] { flex: 1; padding: 14px 16px; border: 0; border-radius: 9px; font-size: 15px; background: #fff; color: var(--ink); }
.capture-band input[type=email]:focus { outline: 3px solid rgba(255,255,255,0.4); }
.capture-band button { white-space: nowrap; padding: 14px 22px; border: 0; border-radius: 9px; background: var(--navy); color: #fff; font-weight: 700; font-size: 15px; cursor: pointer; }
.capture-band button:hover { background: #1a1a5a; }
.capture-band .small { font-size: 12px; opacity: 0.7; margin-top: 12px; }

footer.site { background: var(--navy); color: rgba(255,255,255,0.7); padding: 48px 0 28px; font-size: 14px; }
footer.site .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 32px; border-bottom: 1px solid rgba(255,255,255,0.1); }
footer.site .brand-col .brand { color: #fff; margin-bottom: 14px; }
footer.site .brand-col p { line-height: 1.5; color: rgba(255,255,255,0.6); }
footer.site h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; margin: 0 0 14px; font-weight: 700; }
footer.site ul { list-style: none; padding: 0; margin: 0; }
footer.site li { margin-bottom: 8px; }
footer.site a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.15s; }
footer.site a:hover { color: var(--green); }
footer.site .legal { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; font-size: 13px; color: rgba(255,255,255,0.5); flex-wrap: wrap; gap: 12px; }

@media (max-width: 960px) {
  .hero h1 { font-size: 36px; }
  .features { grid-template-columns: 1fr; }
  .upsell-card { grid-template-columns: 1fr; padding: 32px 24px; gap: 28px; }
  .upsell-card h2 { font-size: 26px; }
  section.content { padding: 56px 0; }
  .section-head h2 { font-size: 28px; }
  footer.site .cols { grid-template-columns: 1fr 1fr; gap: 28px; }
  nav.site-nav { gap: 16px; font-size: 13px; }
  nav.site-nav .hide-sm { display: none; }
}
@media (max-width: 540px) {
  .hero { padding: 40px 0; }
  .hero h1 { font-size: 28px; }
  .hero p.lede { font-size: 16px; }
  .hero-form { flex-direction: column; }
  .capture-band form { flex-direction: column; }
  footer.site .cols { grid-template-columns: 1fr; }
}
