:root {
  --bg: #ffffff;
  --bg-alt: #f4f4f2;
  --text: #1b2b47;
  --muted: #55607a;
  --accent: #355c99;
  --accent-text: #ffffff;
  --highlight: #355c99;
  --hero-bg: #355c99;
  --hero-text: #ffffff;
  --hero-muted: #e4e6ee;
  --hero-hl: #d4d4d1;
  --border: #e2e2de;
  --radius: 14px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #10182a;
    --bg-alt: #172238;
    --text: #eef0f5;
    --muted: #a9b2c6;
    --accent: #8aa9dc;
    --accent-text: #0e1626;
    --highlight: #8aa9dc;
    --hero-bg: #2b4c80;
    --hero-text: #ffffff;
    --hero-muted: #dfe3ee;
    --hero-hl: #d4d4d1;
    --border: #26324d;
  }
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 20px; }
a { color: inherit; }

.site-header {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 1.5rem; text-decoration: none; }
.nav nav { display: flex; align-items: center; gap: 20px; }
.nav nav a { text-decoration: none; color: var(--muted); }
.nav nav a:hover { color: var(--text); }

.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  background: var(--accent); color: var(--accent-text) !important;
  text-decoration: none; font-weight: 600; border: 2px solid var(--accent);
}
.btn:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text) !important; border-color: var(--border); }
.btn-small { padding: 6px 16px; }

.hero { padding: 110px 0 90px; }
.eyebrow { color: var(--accent); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; font-size: .85rem; margin: 0 0 12px; }
h1 { font-size: clamp(2.2rem, 6vw, 3.8rem); line-height: 1.1; margin: 0 0 20px; max-width: 16ch; }
h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0 0 24px; }
h3 { margin: 0 0 8px; }
.lead { font-size: 1.2rem; color: var(--muted); max-width: 60ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.section { padding: 80px 0; }
.section.alt { background: var(--bg-alt); }
.two-col { display: grid; grid-template-columns: 1fr 2fr; gap: 40px; }
.two-col p { margin-top: 0; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; }
.card p { color: var(--muted); margin: 0; }
.contact { text-align: center; }
.contact .lead { margin: 0 auto 28px; }

.site-footer { border-top: 1px solid var(--border); padding: 28px 0; color: var(--muted); font-size: .9rem; }

@media (max-width: 640px) {
  .two-col { grid-template-columns: 1fr; gap: 0; }
  .nav nav a:not(.btn) { display: none; }
  .hero { padding: 70px 0 60px; }
}

/* ---- v2 additions ---- */
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center; }
.section-lead { margin: -12px 0 32px; }
.actions.center { justify-content: center; }

.mock { border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-alt); overflow: hidden; box-shadow: 0 20px 50px -20px rgba(0,0,0,.25); }
.mock-bar { display: flex; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--border); }
.mock-bar span { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock-body { padding: 20px; display: grid; gap: 14px; }
.mock-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.mock-stats div { height: 54px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); }
.mock-chart { height: 130px; display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-radius: 10px; background: var(--bg); border: 1px solid var(--border); }
.mock-chart i { flex: 1; border-radius: 4px 4px 0 0; background: var(--accent); opacity: .85; }
.mock-row { height: 12px; border-radius: 6px; background: var(--border); }
.mock-row.short { width: 60%; }

.product .shot { aspect-ratio: 16/10; border-radius: 10px; margin-bottom: 18px; background: var(--bg-alt); border: 1px dashed var(--border); display: grid; place-items: center; color: var(--muted); font-size: .85rem; }
.product p + p { margin-top: 12px; }
.product .for { font-size: .9rem; }

.benefits { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.benefits p, .trust p { color: var(--muted); margin: 0; }
.num { display: block; color: var(--accent); font-weight: 700; margin-bottom: 8px; }

.plan { display: flex; flex-direction: column; position: relative; }
.plan ul { padding-left: 18px; color: var(--muted); margin: 0 0 24px; flex: 1; }
.plan li { margin-bottom: 6px; }
.plan .btn { text-align: center; }
.price { font-size: 2rem; font-weight: 700; margin: 4px 0 16px; color: var(--text) !important; }
.price span { font-size: 1rem; font-weight: 400; color: var(--muted); }
.featured { border: 2px solid var(--accent); }
.badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-text) !important; font-size: .75rem; font-weight: 600; padding: 3px 10px; border-radius: 999px; margin: 0; }

#about .two-col { grid-template-columns: 120px 1fr; align-items: start; }
.avatar { width: 120px; height: 120px; border-radius: 50%; background: var(--accent); color: var(--accent-text); display: grid; place-items: center; font-size: 3rem; font-weight: 700; }
#about h2 { margin-bottom: 16px; }

.trust { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.cta { text-align: center; }
.cta .lead { margin: 0 auto; }

.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; }
.footer-grid p { margin: 0; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 20px; }
.footer-grid a { color: var(--muted); }

.legal { padding: 60px 0 80px; max-width: 760px; }
.legal h1 { font-size: 2.4rem; max-width: none; }
.legal h2 { font-size: 1.3rem; margin: 32px 0 8px; }
.legal p, .legal li { color: var(--muted); }
.note { background: var(--bg-alt); border: 1px solid var(--border); border-radius: 10px; padding: 14px 18px; }

@media (max-width: 800px) {
  .hero-grid { grid-template-columns: 1fr; }
  #about .two-col { grid-template-columns: 1fr; gap: 20px; }
  .avatar { width: 84px; height: 84px; font-size: 2rem; }
}

/* ---- v3: blue hero band with highlight ---- */
.hero { background: var(--hero-bg); color: var(--hero-text); }
.hero .lead { color: var(--hero-muted); }
.hero .eyebrow { color: var(--hero-hl); }
.hero .hl { color: var(--hero-hl); }
.hero .btn { background: #ffffff; color: var(--hero-bg) !important; border-color: #ffffff; }
.hero .btn-ghost { background: rgba(255,255,255,.12); color: #ffffff !important; border-color: rgba(255,255,255,.35); }
.hero .mock { background: #f3f6fc; border-color: rgba(255,255,255,.2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.5); }
.hero .mock-stats div, .hero .mock-chart { background: #ffffff; border-color: #dde3ef; }
.hero .mock-bar span, .hero .mock-row { background: #dde3ef; }
.num { color: var(--highlight); }
.trust h3::before { content: "\2713"; color: var(--highlight); margin-right: 8px; }

/* ---- v4: hero without the dashboard image ---- */
.hero-grid { grid-template-columns: 1fr; }
.hero h1 { max-width: 20ch; }

/* ---- v5: customer stories ---- */
.story .tag { display: inline-block; margin: 0 0 12px; padding: 3px 10px; border-radius: 999px; background: var(--bg-alt); color: var(--accent); font-size: .8rem; font-weight: 600; }
.story dl { margin: 16px 0 0; }
.story dt { font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--text); margin-top: 12px; }
.story dd { margin: 4px 0 0; color: var(--muted); }
.story dd.result { color: var(--highlight); font-weight: 600; }
.story.quote { display: flex; flex-direction: column; justify-content: space-between; background: var(--hero-bg); border-color: var(--hero-bg); }
.story.quote blockquote { margin: 0 0 24px; font-size: 1.2rem; line-height: 1.5; color: #ffffff; }
.story.quote .cite { margin: 0; color: var(--hero-muted); }
.story.quote .cite strong { color: #ffffff; }

/* ---- v6: how we work steps ---- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 32px; }
.steps li { border-top: 3px solid var(--highlight); padding-top: 18px; }
.steps p { color: var(--muted); margin: 0; }
.steps { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 24px; }

/* ---- v7: real product screenshots ---- */
.product .shot { aspect-ratio: 1090/592; }
.product .shot-img { display: block; width: 100%; height: auto; aspect-ratio: 1090/592; object-fit: cover; border-radius: 10px; margin-bottom: 18px; border: 1px solid var(--border); }

/* ---- v8: also built by Tulmaker ---- */
.also { padding: 0 0 80px; }
.also .eyebrow { color: var(--muted); }
.also-card { display: grid; grid-template-columns: 220px 1fr; gap: 24px; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; background: var(--bg); max-width: 760px; }
.also-card .shot { aspect-ratio: 4/3; border-radius: 10px; background: var(--bg-alt); border: 1px dashed var(--border); display: grid; place-items: center; color: var(--muted); font-size: .8rem; text-align: center; padding: 8px; }
.also-card img { display: block; width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); }
.also-card h3 { margin-bottom: 6px; }
.also-card p { color: var(--muted); margin: 0 0 12px; }
.also-link { color: var(--accent); font-weight: 600; text-decoration: none; }
.also-link:hover { text-decoration: underline; }
@media (max-width: 640px) { .also-card { grid-template-columns: 1fr; } }

/* v9: larger header brand, scaled back on phones */
.brand img { width: 40px; height: 40px; }
@media (max-width: 640px) {
  .brand { font-size: 1.3rem; gap: 10px; }
  .brand img { width: 34px; height: 34px; }
}

/* v10: thin divider between How we work and About while Customer stories is hidden */
#customers[hidden] + #about { border-top: 1px solid var(--border); }

/* v11: store pages (product, thank you, download) */
.product-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 56px; align-items: center; }
.product-grid.reverse { grid-template-columns: 1fr 1.3fr; }
.product-grid .cover { display: block; width: 100%; max-width: 380px; height: auto; justify-self: center; border-radius: 6px; border: 1px solid var(--border); box-shadow: 0 24px 50px -24px rgba(0,0,0,.35); }
.product-hero h1 { max-width: none; }
.facts { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; color: var(--muted); }
.facts li { padding-left: 26px; position: relative; }
.facts li::before { content: "\2713"; position: absolute; left: 0; color: var(--highlight); font-weight: 700; }
.facts strong { color: var(--text); }
.buy { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--bg-alt); max-width: 480px; }
.buy .price { margin: 0 0 14px; }
.buy .btn { width: 100%; font-size: 1.05rem; cursor: pointer; font-family: inherit; }
.optin { display: flex; gap: 10px; align-items: flex-start; font-size: .92rem; color: var(--muted); margin-bottom: 16px; cursor: pointer; }
.optin input { margin-top: 4px; width: 18px; height: 18px; flex: none; accent-color: var(--accent); }
.small { font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.small a, .note a { color: var(--accent); }
.small.top { margin-top: 32px; }
.contents { padding-left: 22px; color: var(--muted); margin: 0 0 24px; }
.contents li { margin-bottom: 6px; }
.contents li::marker { color: var(--highlight); font-weight: 700; }
.download { max-width: 560px; }
.dl-form { display: grid; gap: 10px; margin-top: 24px; }
.dl-form[hidden] { display: none; }
.dl-form label { font-weight: 600; }
.dl-form input { font: inherit; font-size: 1.05rem; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); }
.dl-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.dl-form .btn { cursor: pointer; font-family: inherit; font-size: 1rem; justify-self: start; }
.dl-form .btn:disabled { opacity: .6; cursor: wait; }
#code { letter-spacing: .4em; font-size: 1.4rem; max-width: 220px; }
.link-btn { background: none; border: 0; padding: 0; color: var(--accent); font: inherit; font-size: .9rem; cursor: pointer; justify-self: start; text-decoration: underline; }
.status { min-height: 1.6em; margin-top: 16px; color: var(--text); }
.status.error { color: #b42318; }
@media (prefers-color-scheme: dark) { .status.error { color: #f97066; } }
.playbook-band { display: grid; grid-template-columns: 140px 1fr; gap: 28px; align-items: center; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--bg); margin-top: 20px; }
.playbook-band img { display: block; width: 100%; height: auto; border-radius: 4px; border: 1px solid var(--border); }
.playbook-band h3 { margin-bottom: 6px; }
.playbook-band p { color: var(--muted); margin: 0 0 12px; }
@media (max-width: 800px) {
  .product-grid, .product-grid.reverse { grid-template-columns: 1fr; gap: 36px; }
  .product-grid.reverse .cover { order: 2; }
  .product-grid .cover { max-width: 300px; }
}
@media (max-width: 640px) { .playbook-band { grid-template-columns: 90px 1fr; gap: 16px; padding: 16px; } }

/* v12: launch price */
.launch-tag { display: inline-block; margin: 0 0 8px; padding: 3px 10px; border-radius: 999px; background: var(--accent); color: var(--accent-text); font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.price .was { color: var(--muted); font-weight: 400; font-size: 1.4rem; margin-right: 6px; text-decoration-thickness: 2px; }

/* v13: download list (several playbooks) */
.dl-list[hidden] { display: none; }
.dl-list { margin-top: 28px; }
.dl-list h2 { font-size: 1.3rem; margin: 0 0 12px; }
.dl-list ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.dl-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--bg-alt); }
.dl-name { display: block; font-weight: 600; }
.dl-left { display: block; font-size: .88rem; color: var(--muted); }
.dl-list .btn { cursor: pointer; font-family: inherit; white-space: nowrap; }
.dl-list .btn:disabled { opacity: .5; cursor: not-allowed; }
@media (max-width: 480px) { .dl-list li { flex-direction: column; align-items: stretch; } }

/* v14: several playbooks and the Books on Autopilot kit */
.product-grid .fan-hero { display: block; width: 100%; max-width: 520px; height: auto; justify-self: center; }
.playbook-band.kit-band { grid-template-columns: 220px 1fr; }
.playbook-band img.fan { border: 0; border-radius: 0; }
.kit .card img, .pb-card img { display: block; width: 100%; max-width: 200px; height: auto; margin: 0 auto 20px; border-radius: 4px; border: 1px solid var(--border); box-shadow: 0 16px 32px -20px rgba(0,0,0,.35); }
.kit .card, .pb-card { display: flex; flex-direction: column; }
.kit .card .also-link, .pb-card .also-link { margin-top: auto; }
.kit .card p, .pb-card p { color: var(--muted); }
.pb-card .price-line { color: var(--text); font-weight: 600; margin: 0 0 14px; }
.pb-card .price-line s { color: var(--muted); font-weight: 400; margin-right: 4px; }
.note.top-gap { margin-top: 28px; }
@media (max-width: 640px) { .playbook-band.kit-band { grid-template-columns: 1fr; } .playbook-band.kit-band img.fan { max-width: 280px; } }
.top-cards { margin-top: 20px; }
.product-grid.kit-hero { grid-template-columns: 1fr 1fr; gap: 40px; }
@media (max-width: 800px) { .product-grid.kit-hero { grid-template-columns: 1fr; } }
.buy .deal-end { margin: -6px 0 14px; font-size: .9rem; font-weight: 600; color: var(--text); }
/* v15: line up prices and links at the bottom of each playbook card */
.pb-card .price-line { margin-top: auto; padding-top: 12px; }
.pb-card .also-link { margin-top: 0; }
.kit .card .for { margin-top: auto; padding-top: 12px; margin-bottom: 14px; }
.kit .card .also-link { margin-top: 0; }

/* Blog articles */
.post-wrap { max-width: 720px; }
.post h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); line-height: 1.2; margin: 0 0 12px; max-width: none; }
.post .eyebrow a { text-decoration: none; }
.byline { color: var(--muted); margin: 0 0 32px; }
.post-body { font-size: 1.08rem; }
.post-body h2 { font-size: 1.45rem; line-height: 1.3; margin: 40px 0 12px; }
.post-body p, .post-body ul, .post-body ol { margin: 0 0 18px; }
.post-body li { margin-bottom: 8px; }
.post-body a { color: var(--accent); }
.post .playbook-band { margin-top: 40px; }
.post-list { display: grid; gap: 20px; margin-top: 32px; }
.post-card { border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; background: var(--bg); }
.post-card h2 { font-size: 1.3rem; line-height: 1.3; margin: 0 0 8px; }
.post-card h2 a { text-decoration: none; }
.post-card h2 a:hover { color: var(--accent); }
.post-card p { color: var(--muted); margin: 0 0 12px; }
