*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh; display: flex; flex-direction: column;
  background: var(--alabaster); color: var(--onyx);
  font-family: var(--font-body); font-size: 1.0625rem; line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--bronze); color: var(--onyx); }
img { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--bronze); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--bronze); color: var(--onyx); padding: .75rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }
.wrap { max-width: var(--max-wide); margin: 0 auto; padding: 0 var(--gutter); }
.read { max-width: var(--max-read); margin: 0 auto; padding: 0 var(--gutter); }
main { flex: 1; }

/* Header */
.site-header { background: var(--onyx); color: var(--alabaster); border-bottom: 1px solid rgba(116,108,97,.2); position: sticky; top: 0; z-index: 50; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; padding-top: 1rem; padding-bottom: 1rem; }
.brand { display: flex; align-items: center; gap: .75rem; text-decoration: none; }
.brand img { height: 2.25rem; width: auto; }
.brand span { font-family: var(--font-brand); font-weight: 700; letter-spacing: .1em; text-transform: lowercase; font-size: 1.125rem; }
.site-nav { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem 1.5rem; font-size: .875rem; letter-spacing: .03em; }
.site-nav a { color: rgba(251,249,244,.8); text-decoration: none; padding: .25rem 0; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--bronze); }
.site-header .btn { padding: .6rem 1.1rem; font-size: .75rem; }


/* Footer */
.site-footer { background: var(--onyx); color: var(--alabaster); border-top: 1px solid rgba(200,153,108,.3); margin-top: var(--space-16); padding: var(--space-12) 0 var(--space-8); }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; }
.site-footer p { margin: 0; font-size: .875rem; color: rgba(251,249,244,.6); }
.site-footer a { color: var(--bronze); }
.footer-links { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .875rem; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* Headings */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; letter-spacing: -.01em; }
h1 { font-size: clamp(1.9rem, 5vw, 3rem); margin: 0 0 var(--space-4); }
h2 { font-size: clamp(1.4rem, 3.5vw, 1.9rem); margin: var(--space-12) 0 var(--space-4); }
h3 { font-size: 1.25rem; margin: var(--space-8) 0 var(--space-3); }
.eyebrow { display: flex; align-items: center; gap: .6rem; margin: 0 0 var(--space-4); color: var(--bronze); font-weight: 700; font-size: .8rem; letter-spacing: .01em; text-transform: none; }
.eyebrow::before { content: ""; width: 2rem; height: 1px; background: var(--bronze); }
.eyebrow a { text-decoration: none; }

/* Post */
.post-head { padding: var(--space-12) 0 var(--space-6); }
.meta { color: var(--stone); font-size: .9rem; margin: 0; }
.answer { background: var(--onyx); color: var(--alabaster); border-radius: var(--radius-lg); padding: var(--space-6); margin: var(--space-6) 0 var(--space-8); }
.answer h2 { margin: 0 0 var(--space-2); font-family: var(--font-body); font-size: .8rem; letter-spacing: .01em; text-transform: none; color: var(--bronze); }
.answer p { margin: 0; font-size: 1.15rem; line-height: 1.6; }
.post-body > :first-child { margin-top: 0; }
.post-body p, .post-body ul, .post-body ol { margin: 0 0 var(--space-4); }
.post-body li { margin-bottom: var(--space-2); }
.post-body a { color: var(--onyx); text-decoration-color: var(--bronze); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.post-body blockquote { margin: var(--space-6) 0; padding: var(--space-4) var(--space-6); border-left: 4px solid var(--bronze); background: rgba(200,153,108,.1); border-radius: 0 var(--radius) var(--radius) 0; }
.post-body blockquote > :last-child { margin-bottom: 0; }
.post-body img { border-radius: var(--radius); margin: var(--space-4) 0; }
.post-body hr { border: 0; border-top: 1px solid rgba(116,108,97,.3); margin: var(--space-8) 0; }
.post-body code { background: rgba(116,108,97,.15); padding: .1em .35em; border-radius: 3px; font-size: .9em; }
.post-body pre { background: var(--onyx); color: var(--alabaster); padding: var(--space-4); border-radius: var(--radius); overflow-x: auto; line-height: 1.5; }
.post-body pre code { background: none; padding: 0; }
.post-body table { border-collapse: collapse; width: 100%; display: block; overflow-x: auto; }
.post-body th, .post-body td { border: 1px solid rgba(116,108,97,.3); padding: .5rem .75rem; text-align: left; }

/* FAQ */
.faqs h3 { font-size: 1.1rem; margin-top: var(--space-6); }
.faqs p { margin: 0; }

/* CTA */
.cta { background: var(--onyx); color: var(--alabaster); border-radius: var(--radius-lg); padding: var(--space-8) var(--space-6); margin: var(--space-12) 0; }
.cta h2 { margin: 0 0 var(--space-3); font-size: 1.6rem; }
.cta p { margin: 0 0 var(--space-6); color: rgba(251,249,244,.75); }
.cta-links { display: flex; flex-wrap: wrap; gap: .75rem; list-style: none; margin: 0; padding: 0; }
.cta-links li { margin: 0; }

/* Author + related */
.author { display: flex; gap: var(--space-4); align-items: flex-start; padding: var(--space-6) 0; border-top: 1px solid rgba(116,108,97,.25); border-bottom: 1px solid rgba(116,108,97,.25); }
.author .avatar { flex: none; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--onyx); color: var(--bronze); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; }
.author h2 { margin: 0 0 var(--space-1); font-size: 1.1rem; }
.author p { margin: 0; color: var(--stone); font-size: .95rem; }
.author .socials { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: var(--space-2); font-size: .9rem; }
.related h2 { font-size: 1.4rem; }
.related .cards { grid-template-columns: 1fr; }

/* Cards (index, tags, related) */
.cards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 48rem) { .cards { grid-template-columns: repeat(2, 1fr); } }
.card { background: var(--white); border: 1px solid rgba(116,108,97,.12); border-radius: var(--radius-lg); padding: var(--space-6); box-shadow: 0 1px 2px rgba(26,17,16,.05); }
.card:hover { box-shadow: 0 4px 14px rgba(26,17,16,.1); }
.card h2, .card h3 { margin: 0 0 var(--space-2); font-size: 1.2rem; }
.card h2 a, .card h3 a { text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { color: var(--stone); }
.card p { margin: 0; color: var(--stone); font-size: .95rem; }
.card .meta { margin-top: var(--space-3); font-size: .8rem; }

.page-head { padding: var(--space-12) 0 var(--space-8); }
.page-head p { color: var(--stone); max-width: 40rem; margin: 0; }
.tag-list { display: flex; flex-wrap: wrap; gap: .5rem; list-style: none; padding: 0; margin: var(--space-6) 0 0; }
.tag-list a { display: inline-block; border: 1px solid var(--stone); border-radius: 999px; padding: .15rem .8rem; font-size: .85rem; text-decoration: none; color: var(--stone); }
.tag-list a:hover, .tag-list a[aria-current] { border-color: var(--bronze); color: var(--onyx); background: rgba(200,153,108,.15); }
.pager { display: flex; justify-content: space-between; gap: 1rem; margin-top: var(--space-8); font-weight: 700; }
.pager a { color: var(--onyx); text-decoration-color: var(--bronze); text-underline-offset: 3px; }
.pager .spacer { flex: 1; }
.breadcrumb { font-size: .85rem; color: var(--stone); padding-top: var(--space-6); }
.breadcrumb a { color: var(--stone); }
.draft-banner { background: var(--bronze); color: var(--onyx); text-align: center; font-weight: 700; font-size: .85rem; padding: .5rem 1rem; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

/* ---------- Site pages (home, freebies, starter kit) ---------- */
.hero { background: var(--onyx); color: var(--alabaster); padding: var(--space-16) 0; position: relative; overflow: hidden; }
.hero::before { content: ""; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: min(60rem, 100%); height: 100%; background: rgba(200,153,108,.06); filter: blur(100px); pointer-events: none; }
.hero--short { padding: var(--space-12) 0; }
.hero-inner { position: relative; }
.hero-inner > h1, .hero-inner > .lead { max-width: 52rem; }
.hero h1 { font-size: clamp(2.1rem, 6vw, 3.6rem); line-height: 1.1; margin-bottom: var(--space-4); }
.lead { font-size: 1.15rem; color: rgba(251,249,244,.8); margin: 0 0 var(--space-8); max-width: 40rem; }
.actions { display: flex; flex-wrap: wrap; gap: var(--space-3); margin: 0; }
.section { padding: var(--space-16) 0; }
.section h2 { margin-top: 0; }
.section--dark { background: var(--onyx); color: var(--alabaster); }
.section--tint { background: rgba(200,153,108,.1); }
.band { text-align: center; }
.band p { color: rgba(251,249,244,.75); margin: 0 0 var(--space-6); }
.band .actions { justify-content: center; }
.more { margin: var(--space-8) 0 0; font-weight: 700; }
.more a, .card-link a, .note a { text-decoration-color: var(--bronze); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.cards--3 { grid-template-columns: 1fr; }
.cards--2 { grid-template-columns: 1fr; }
@media (min-width: 48rem) { .cards--2 { grid-template-columns: repeat(2, 1fr); } .cards--3 { grid-template-columns: repeat(3, 1fr); } }
.card h3 { font-size: 1.2rem; }
.card .label { color: var(--bronze); font-weight: 700; font-size: .8rem; letter-spacing: .01em; text-transform: none; margin: 0 0 var(--space-2); }
.card .tagline { font-family: var(--font-display); font-style: italic; color: var(--stone); margin: 0 0 var(--space-3); }
.card .card-link { margin-top: var(--space-4); font-weight: 700; color: var(--onyx); }
.card .actions { margin-top: var(--space-6); }
.card--dark { background: rgba(251,249,244,.05); border: 1px solid rgba(200,153,108,.25); box-shadow: none; }
.card--dark:hover { box-shadow: none; }
.card--dark h3 { color: var(--alabaster); }
.card--dark p { color: rgba(251,249,244,.75); }
.card--dark .label { color: var(--bronze); }
.read-wide { max-width: 52rem; }
.prose h2 { margin-top: var(--space-12); }
.prose h2:first-child { margin-top: 0; }
.prose p { margin: 0 0 var(--space-4); }
.prose a { text-decoration-color: var(--bronze); text-underline-offset: 3px; text-decoration-thickness: 2px; }
.note { color: var(--stone); font-size: .9rem; margin-top: var(--space-8); max-width: 44rem; }

/* Lead form */
.lead-form { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.lead-form label { display: grid; gap: var(--space-1); font-weight: 700; font-size: .9rem; }
.lead-form input[type="text"], .lead-form input[type="email"] { font: inherit; font-weight: 400; padding: .75rem 1rem; border: 1px solid rgba(116,108,97,.5); border-radius: var(--radius); background: var(--white); color: var(--onyx); width: 100%; }
.lead-form input:focus-visible { outline: 3px solid var(--bronze); outline-offset: 1px; }
.lead-form .check { display: flex; gap: var(--space-3); align-items: flex-start; font-weight: 400; font-size: .85rem; color: var(--stone); }
.lead-form .check input { margin-top: .3rem; flex: none; width: 1rem; height: 1rem; accent-color: var(--bronze); }
.lead-form .btn { cursor: pointer; font-family: var(--font-body); justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Home page visuals ---------- */
.hero-split { display: grid; gap: var(--space-12); align-items: center; position: relative; }
@media (min-width: 56rem) { .hero-split { grid-template-columns: 1.15fr 0.85fr; } }
.hero-media { position: relative; max-width: 26rem; justify-self: center; width: 100%; }
.portrait { position: relative; border-radius: var(--radius-lg); }
.portrait::before { content: ""; position: absolute; inset: 1rem -1rem -1rem 1rem; border: 2px solid var(--bronze); border-radius: var(--radius-lg); z-index: 0; }
.portrait img { position: relative; z-index: 1; display: block; width: 100%; height: auto; border-radius: var(--radius-lg); filter: grayscale(.15); }

.factbar { background: var(--bronze); color: var(--onyx); }
.factbar-list { list-style: none; margin: 0 auto; padding-top: var(--space-4); padding-bottom: var(--space-4); display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2) var(--space-8); font-size: .95rem; }
.factbar-list strong { font-family: var(--font-display); font-size: 1.4rem; margin-right: .35rem; }

.showcase { display: grid; gap: var(--space-8); align-items: center; }
@media (min-width: 56rem) { .showcase { grid-template-columns: 1fr 1fr; gap: var(--space-16); } }
.showcase-media img, .figure img { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); box-shadow: 0 12px 40px rgba(26,17,16,.25); }
.showcase-media--tall { max-width: 26rem; justify-self: center; width: 100%; }
.showcase-copy h2 { margin-top: 0; }
.showcase-copy .actions { margin-top: var(--space-6); }
.label-line { color: var(--bronze); font-weight: 700; font-size: .8rem; letter-spacing: .01em; text-transform: none; margin: 0 0 var(--space-3); }
.section--dark .showcase-copy p { color: rgba(251,249,244,.8); }
.section--dark .showcase-copy .label-line { color: var(--bronze); }
.layer-list { list-style: none; margin: var(--space-4) 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--space-2) var(--space-4); }
.layer-list li { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(116,108,97,.3); padding: var(--space-2) 0; }
.layer-list span { color: var(--stone); font-size: .9rem; }
.job-list { list-style: none; margin: var(--space-4) 0; padding: 0; }
.job-list li { padding: var(--space-3) 0; border-bottom: 1px solid rgba(116,108,97,.3); }
.job-list strong { display: block; }
.job-list span { color: var(--stone); font-size: .95rem; }
.btn--dark { color: var(--onyx); border-color: var(--onyx); }
.btn--dark:hover { background: rgba(26,17,16,.08); }

.demo { display: grid; gap: var(--space-8); align-items: center; margin-bottom: var(--space-12); }
@media (min-width: 56rem) { .demo { grid-template-columns: 1fr 1fr; gap: var(--space-16); } }
.chat { background: var(--onyx); border-radius: var(--radius-lg); padding: var(--space-6); display: grid; gap: var(--space-3); box-shadow: 0 12px 40px rgba(26,17,16,.25); }
.chat-label { margin: 0; color: rgba(251,249,244,.5); font-size: .8rem; letter-spacing: .01em; text-transform: none; }
.bubble { max-width: 90%; padding: .8rem 1rem; border-radius: 1rem; font-size: .98rem; line-height: 1.5; }
.bubble--in { justify-self: end; background: var(--bronze); color: var(--onyx); border-top-right-radius: .25rem; }
.bubble--out { justify-self: start; background: rgba(251,249,244,.1); color: var(--alabaster); border: 1px solid rgba(251,249,244,.12); border-top-left-radius: .25rem; }
.typing { display: none; }
.figure { margin: 0; }
.figure figcaption { color: var(--stone); font-size: .9rem; margin-top: var(--space-3); max-width: 46rem; }

/* Motion: CSS only, and switched off for people who ask for less movement */
@media (prefers-reduced-motion: no-preference) {
  .portrait { animation: float 7s ease-in-out infinite; }
  .card, .btn { transition: transform .2s ease, box-shadow .2s ease, opacity .2s ease; }
  .card:hover { transform: translateY(-3px); }
}
@keyframes bubble-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes typing-life { 0% { opacity: 0; max-height: 0; padding: 0 1rem; } 12% { opacity: 1; max-height: 3rem; padding: .7rem 1rem; } 88% { opacity: 1; max-height: 3rem; padding: .7rem 1rem; } 100% { opacity: 0; max-height: 0; padding: 0 1rem; margin: -.4rem 0; } }
@keyframes dot { 0%, 80%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-4px); opacity: 1; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Sections fade up as they scroll into view, where the browser supports it. Otherwise they simply show. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal { animation: reveal linear both; animation-timeline: view(); animation-range: entry 0% entry 30%; }
    @keyframes reveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
  }
}

/* The chat plays once, when it scrolls into view. home.html adds .armed and .play with a few lines of script.
   Without the script, or with reduced motion, both messages are simply shown. */
.chat.armed .bubble, .chat.armed .typing { opacity: 0; }
.chat.play .bubble--in { animation: bubble-in .5s .2s both ease-out; }
.chat.play .typing { display: flex; gap: .3rem; justify-self: start; padding: .7rem 1rem; background: rgba(251,249,244,.1); border-radius: 1rem; overflow: hidden; animation: typing-life 1.6s 1s both; }
.chat.play .typing span { width: .5rem; height: .5rem; border-radius: 50%; background: rgba(251,249,244,.6); animation: dot 1s infinite ease-in-out; }
.chat.play .typing span:nth-child(2) { animation-delay: .15s; }
.chat.play .typing span:nth-child(3) { animation-delay: .3s; }
.chat.play .bubble--out { animation: bubble-in .5s 2.6s both ease-out; }

.layer-detail { list-style: none; margin: var(--space-4) 0; padding: 0; display: grid; gap: var(--space-3); }
.layer-detail li { border-left: 4px solid var(--bronze); background: rgba(200,153,108,.1); padding: var(--space-3) var(--space-4); border-radius: 0 var(--radius) var(--radius) 0; }
.layer-detail span { color: var(--stone); font-size: .85rem; margin-left: .5rem; }
.figure--narrow { max-width: 26rem; margin: var(--space-8) auto; }

/* ---------- Starter Kit sales page ---------- */
.fine { color: rgba(251,249,244,.6); font-size: .85rem; margin: var(--space-4) 0 0; }
.video-pair { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
@media (min-width: 48rem) { .video-pair { grid-template-columns: 1fr 1fr; } }
.video-pair video { width: 100%; max-height: 32rem; background: #000; border-radius: var(--radius-lg); }
.tick-list { list-style: none; padding: 0; margin: var(--space-4) 0; }
.tick-list li { position: relative; padding-left: 1.9rem; margin-bottom: var(--space-3); }
.tick-list li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--bronze); font-weight: 700; }
.prose h3 { margin-top: var(--space-8); }
.prose h3 .count { font-family: var(--font-body); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--bronze); margin-left: .5rem; font-weight: 700; }
.prose ul { padding-left: 1.25rem; }
.prose li { margin-bottom: var(--space-2); }
.prose--dark, .prose--dark h2 { color: var(--alabaster); }
.prose--dark .tick-list li { color: rgba(251,249,244,.9); }
.faq-list details { border-bottom: 1px solid rgba(116,108,97,.3); padding: var(--space-4) 0; }
.faq-list summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: var(--space-4); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; color: var(--bronze); font-size: 1.4rem; line-height: 1; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: var(--space-3) 0 0; color: var(--stone); }
.sticky-cta { display: none; }
@media (max-width: 47.99rem) {
  .sticky-cta { display: block; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; padding: .75rem var(--gutter); background: rgba(26,17,16,.96); border-top: 1px solid rgba(200,153,108,.35); }
  .sticky-cta .btn { display: block; text-align: center; }
  body { padding-bottom: 4.5rem; }
}

/* ---------- Header menus ---------- */
.site-nav { display: none; }
.header-cta { display: none; }
.mobile-nav { margin-left: auto; position: relative; }
.mobile-nav summary { list-style: none; cursor: pointer; color: var(--alabaster); font-weight: 700; letter-spacing: .01em; text-transform: none; font-size: .8rem; padding: .55rem 1rem; border: 1px solid rgba(251,249,244,.35); border-radius: var(--radius); }
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav[open] summary { border-color: var(--bronze); color: var(--bronze); }
.mobile-nav nav { position: absolute; right: 0; top: calc(100% + .6rem); width: min(18rem, 86vw); background: var(--onyx); border: 1px solid rgba(200,153,108,.35); border-radius: var(--radius-lg); padding: var(--space-3); display: grid; gap: .1rem; box-shadow: 0 16px 40px rgba(0,0,0,.4); }
.mobile-nav nav a { color: var(--alabaster); text-decoration: none; padding: .7rem .8rem; border-radius: var(--radius); }
.mobile-nav nav a:hover { background: rgba(251,249,244,.08); color: var(--bronze); }
.mobile-nav nav a.btn { color: var(--onyx); text-align: center; margin-top: var(--space-2); }

@media (min-width: 56rem) {
  .site-header .wrap { flex-wrap: nowrap; }
  .mobile-nav { display: none; }
  .site-nav { display: flex; align-items: center; gap: 0 var(--space-8); margin-left: auto; }
  .header-cta { display: inline-block; padding: .6rem 1.1rem; font-size: .75rem; }
  .site-nav > a, .menu-btn { color: rgba(251,249,244,.85); text-decoration: none; background: none; border: 0; font: inherit; font-size: .9rem; letter-spacing: .03em; padding: .6rem 0; cursor: pointer; }
  .site-nav > a:hover, .menu:hover .menu-btn, .menu:focus-within .menu-btn, .site-nav a[aria-current], .menu.is-current .menu-btn { color: var(--bronze); }
  .menu-btn::after { content: ""; display: inline-block; width: .4rem; height: .4rem; margin: 0 0 .15rem .5rem; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg); transition: transform .2s ease; }
  .menu:hover .menu-btn::after, .menu:focus-within .menu-btn::after { transform: rotate(225deg) translate(-2px, -2px); }
  .menu { position: relative; }
  .menu-panel { list-style: none; margin: 0; padding: .6rem; position: absolute; left: 50%; top: 100%; min-width: 17rem; transform: translate(-50%, 8px); background: var(--onyx); border: 1px solid rgba(200,153,108,.35); border-radius: var(--radius-lg); box-shadow: 0 16px 40px rgba(0,0,0,.45); opacity: 0; visibility: hidden; transition: opacity .18s ease, transform .18s ease, visibility .18s; z-index: 60; }
  .menu-panel::before { content: ""; position: absolute; left: 0; right: 0; top: -.9rem; height: .9rem; } /* keeps the menu open while the mouse crosses the gap */
  .menu:hover .menu-panel, .menu:focus-within .menu-panel { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  .menu-panel a { display: grid; gap: .1rem; padding: .7rem .9rem; border-radius: var(--radius); text-decoration: none; color: var(--alabaster); }
  .menu-panel a:hover, .menu-panel a:focus-visible, .menu-panel a[aria-current] { background: rgba(251,249,244,.08); }
  .menu-panel strong { font-size: .95rem; }
  .menu-panel span { color: rgba(251,249,244,.6); font-size: .8rem; }
}
@media (max-width: 30rem) {
  .site-header .wrap { flex-wrap: nowrap; gap: .5rem; }
  .brand { gap: .5rem; min-width: 0; }
  .brand img { height: 1.9rem; }
  .brand span { font-size: .95rem; letter-spacing: .04em; white-space: nowrap; }
  .mobile-nav summary { padding: .5rem .8rem; }
}

/* ---------- Page width and side margins: matched to the Blueprint page ---------- */
@media (min-width: 64rem) { :root { --gutter: 3rem; } }
.wrap { max-width: calc(58rem + 2 * var(--gutter)); }
.site-header .wrap, .site-footer .wrap { max-width: 80rem; }

/* ---------- Blog search and topics ---------- */
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.blog-tools { margin-bottom: var(--space-8); display: grid; gap: var(--space-4); }
.search input { width: 100%; font: inherit; padding: .9rem 1.1rem; border: 1px solid rgba(116,108,97,.5); border-radius: var(--radius-lg); background: var(--white); color: var(--onyx); }
.search input:focus-visible { outline: 3px solid var(--bronze); outline-offset: 1px; }
.topic-row { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3); }
.topic-label { color: var(--stone); font-size: .8rem; font-weight: 700; letter-spacing: .01em; text-transform: none; }
.tag-list--row { margin: 0; }
.chip span { color: var(--stone); font-size: .75rem; margin-left: .25rem; }
.chip[aria-pressed="true"], .chip[aria-current="true"], .chip[aria-current="page"] { background: var(--onyx); border-color: var(--onyx); color: var(--alabaster); }
.chip[aria-pressed="true"] span, .chip[aria-current="true"] span, .chip[aria-current="page"] span { color: var(--bronze); }
.more-tags { flex-basis: 100%; }
.more-tags summary { cursor: pointer; display: inline-block; color: var(--stone); font-size: .85rem; font-weight: 700; padding: .15rem .1rem; text-decoration: underline; text-decoration-color: var(--bronze); text-underline-offset: 3px; }
.more-tags[open] .tag-list { margin-top: var(--space-3); }
.blog-status { margin: 0; color: var(--stone); font-size: .95rem; }

/* ---------- Blog redesign: dark header band, solid topic pills, cards with cover images ---------- */
.blog-hero { padding: var(--space-12) 0 var(--space-8); }
.blog-hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: var(--space-3); }
.blog-hero .lead { max-width: 36rem; font-size: 1.05rem; margin-bottom: var(--space-6); }
.blog-hero .eyebrow a { color: inherit; }
.blog-hero .search { margin-bottom: var(--space-4); max-width: 36rem; }
.blog-hero .search input { background: rgba(251,249,244,.08); border: 1px solid rgba(200,153,108,.45); color: var(--alabaster); padding: .85rem 1.1rem; border-radius: 999px; }
.blog-hero .search input::placeholder { color: rgba(251,249,244,.55); }
.blog-hero .search input:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; background: rgba(251,249,244,.12); }
.blog-hero .topic-row { gap: var(--space-2) var(--space-3); }
.blog-hero .tag-list a.chip { border: 1px solid rgba(251,249,244,.3); color: var(--alabaster); background: transparent; padding: .3rem .9rem; font-size: .85rem; }
.blog-hero .tag-list a.chip span { color: var(--bronze); }
.blog-hero .tag-list a.chip:hover { border-color: var(--bronze); background: rgba(200,153,108,.15); color: var(--alabaster); }
.blog-hero .tag-list a.chip[aria-pressed="true"], .blog-hero .tag-list a.chip[aria-current="true"], .blog-hero .tag-list a.chip[aria-current="page"] { background: var(--bronze); border-color: var(--bronze); color: var(--onyx); font-weight: 700; }
.blog-hero .tag-list a.chip[aria-pressed="true"] span, .blog-hero .tag-list a.chip[aria-current="true"] span, .blog-hero .tag-list a.chip[aria-current="page"] span { color: var(--onyx); }
.blog-hero .more-tags summary { color: var(--bronze); }

.blog-list { padding-top: var(--space-8); }
.blog-list .blog-status { margin-bottom: var(--space-6); }
.card--post { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.card--post .card-thumb { display: block; background: var(--onyx); }
.card--post .card-thumb img { display: block; width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; margin: 0; border-radius: 0; }
.card--post .card-body { padding: var(--space-6); display: flex; flex-direction: column; flex: 1; }
.card--post .label { color: var(--bronze); font-weight: 700; font-size: .8rem; letter-spacing: .01em; text-transform: none; margin: 0 0 var(--space-2); }
.card--post h2 { font-size: 1.25rem; line-height: 1.25; margin: 0 0 var(--space-3); }
.card--post p { margin: 0 0 var(--space-3); }
.card--post .meta { margin-top: auto; padding-top: var(--space-2); font-size: .8rem; }
.card--post:hover { transform: translateY(-3px); }

.section-intro { max-width: 40rem; color: var(--stone); margin: 0 0 var(--space-6); }

/* No gap between a dark closing band and the dark footer */
main:has(> section.section--dark:last-of-type) + .site-footer,
main:has(> section.hero:last-of-type) + .site-footer,
main:has(> section.section--dark:last-of-type) + .sales-footer { margin-top: 0; }

/* Checklist items in posts: checkbox instead of a bullet */
.post-body ul:has(> li > input[type="checkbox"]) { list-style: none; padding-left: 0; }
.post-body li > input[type="checkbox"] { width: 1.05rem; height: 1.05rem; margin: 0 .65rem 0 0; vertical-align: -.15rem; accent-color: var(--bronze); }

/* ---------- Author box and footer ---------- */
.btn--small { padding: .6rem 1.1rem; font-size: .75rem; }

.author { display: grid; grid-template-columns: auto 1fr; gap: var(--space-6); align-items: start; padding: var(--space-8) var(--space-6); margin: var(--space-12) 0; background: var(--white); border: 1px solid rgba(116,108,97,.2); border-left: 4px solid var(--bronze); border-radius: var(--radius-lg); box-shadow: 0 1px 2px rgba(26,17,16,.05); }
.author-photo { width: 6rem; height: 6rem; border-radius: 50%; object-fit: cover; border: 3px solid var(--bronze); display: block; }
.author-kicker { margin: 0 0 var(--space-1); color: var(--bronze); font-size: .8rem; font-weight: 700; letter-spacing: .01em; text-transform: none; }
.author h2 { margin: 0; font-size: 1.4rem; }
.author-role { margin: .1rem 0 var(--space-3); color: var(--stone); font-size: .9rem; }
.author-bio { margin: 0 0 var(--space-4); color: var(--onyx); font-size: 1rem; line-height: 1.6; }
.author-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-3) var(--space-6); }
.author-links { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin: 0; padding: 0; font-size: .9rem; }
.author-links a { color: var(--onyx); text-decoration-color: var(--bronze); text-underline-offset: 3px; text-decoration-thickness: 2px; }
@media (max-width: 36rem) { .author { grid-template-columns: 1fr; } .author-photo { width: 5rem; height: 5rem; } }

.site-footer { padding: var(--space-12) 0 var(--space-6); }
.site-footer .footer-grid { display: grid; gap: var(--space-8) var(--space-6); grid-template-columns: 1fr; }
@media (min-width: 40rem) { .site-footer .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 64rem) { .site-footer .footer-grid { grid-template-columns: 1.5fr repeat(3, 1fr); } }
.site-footer .footer-grid { justify-content: initial; flex-wrap: initial; }
.footer-brand .brand span { font-size: 1.1rem; }
.footer-tagline { margin: var(--space-3) 0 var(--space-4); max-width: 18rem; color: rgba(251,249,244,.75); font-size: .95rem; line-height: 1.5; }
.site-footer .btn { color: var(--onyx); }
.footer-col h2 { margin: 0 0 var(--space-3); font-family: var(--font-body); font-size: .8rem; font-weight: 700; letter-spacing: .01em; text-transform: none; color: var(--bronze); }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.footer-col a { color: rgba(251,249,244,.85); text-decoration: none; font-size: .95rem; }
.footer-col a:hover { color: var(--bronze); text-decoration: underline; text-underline-offset: 3px; }
.site-footer .footer-bottom { display: block; margin-top: var(--space-8); padding-top: var(--space-4); border-top: 1px solid rgba(251,249,244,.12); }
.footer-bottom p { margin: 0; font-size: .85rem; color: rgba(251,249,244,.6); }

/* ---------- Blog filters: search box + topic dropdown ---------- */
.blog-hero .filters { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; max-width: 46rem; margin: 0; }
.blog-hero .field--search { flex: 1 1 18rem; min-width: 0; }
.blog-hero .field--topic { flex: 0 1 15rem; }
.blog-hero .filters input[type="search"], .blog-hero .filters select {
  width: 100%; font: inherit; color: var(--alabaster); background: rgba(251,249,244,.08);
  border: 1px solid rgba(200,153,108,.45); border-radius: 999px; padding: .85rem 1.1rem;
}
.blog-hero .filters select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.6rem;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'><path d='M1 1l6 6 6-6' fill='none' stroke='%23C8996C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat; background-position: right 1.1rem center; }
.blog-hero .filters select option { color: var(--onyx); background: var(--white); }
.blog-hero .filters input::placeholder { color: rgba(251,249,244,.55); }
.blog-hero .filters input:focus-visible, .blog-hero .filters select:focus-visible { outline: 3px solid var(--bronze); outline-offset: 2px; background-color: rgba(251,249,244,.12); }
.clear-btn { font: inherit; font-size: .85rem; font-weight: 700; color: var(--bronze); background: none; border: 0; padding: .5rem .25rem; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.blog-hero noscript .tag-list { margin-top: var(--space-4); }
.blog-hero noscript .chip { border: 1px solid rgba(251,249,244,.3); color: var(--alabaster); }
@media (max-width: 36rem) { .blog-hero .field--topic { flex: 1 1 100%; } }


/* ---------- Sales pages (direct response, no navigation) ---------- */
.site-header--sales .wrap { flex-wrap: nowrap; }
.site-header--sales .brand { cursor: default; }
.header-price { display: none; margin: 0; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--bronze); }
@media (min-width: 48rem) { .header-price { display: block; } }
.price-band { background: var(--bronze); color: var(--onyx); text-align: center; padding: .5rem var(--gutter); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
@media (min-width: 48rem) { .price-band { display: none; } }
.em { color: var(--bronze); }
.sales-hero { padding: var(--space-16) 0; }
.sales-hero h1 { font-size: clamp(2.1rem, 6.5vw, 3.75rem); line-height: 1.08; max-width: 20ch; }
.sales-hero .lead { max-width: 36rem; }
.btn--big { display: block; width: 100%; text-align: center; padding: 1.15rem 1.75rem; font-size: .9rem; border-radius: .5rem; box-shadow: 0 0 22px rgba(200,153,108,.3); }
@media (min-width: 40rem) { .btn--big { display: inline-block; width: auto; } }
.trust { display: flex; flex-wrap: wrap; gap: .4rem 1rem; margin: var(--space-4) 0 0; padding: 0; list-style: none; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(251,249,244,.55); }
.trust--dark { color: var(--stone); justify-content: center; }
.sales-section { padding: var(--space-16) 0; }
.sales-narrow { max-width: 44rem; margin: 0 auto; padding: 0 var(--gutter); }
.sales-narrow > h2:first-child, .sales-narrow > .eyebrow + h2 { margin-top: 0; }
.sales-narrow p { margin: 0 0 var(--space-4); }
.cta-row { margin-top: var(--space-8); }
.video-single { margin: var(--space-6) auto 0; max-width: 24rem; }
.video-single video { width: 100%; max-height: 34rem; background: #000; border-radius: var(--radius-lg); }
.video-placeholder { margin: var(--space-6) auto 0; max-width: 24rem; aspect-ratio: 9 / 16; max-height: 34rem; display: grid; place-items: center; text-align: center; padding: var(--space-6); border: 2px dashed var(--bronze); border-radius: var(--radius-lg); color: var(--stone); font-size: .9rem; }
.demo-caption { text-align: center; color: var(--stone); margin-top: var(--space-4); }
.guess-list { counter-reset: guess; list-style: none; padding: 0; margin: var(--space-8) 0 0; display: grid; gap: var(--space-6); }
.guess-list li { counter-increment: guess; position: relative; padding-left: 3.25rem; }
.guess-list li::before { content: counter(guess, decimal-leading-zero); position: absolute; left: 0; top: -.1rem; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; line-height: 1; color: var(--bronze); }
.cost-list { list-style: none; padding: 0; margin: var(--space-8) 0 0; display: grid; gap: var(--space-4); }
.cost-list li { border-left: 4px solid var(--bronze); background: rgba(200,153,108,.1); padding: var(--space-4) var(--space-6); border-radius: 0 var(--radius) var(--radius) 0; }
.cost-list strong { display: block; font-family: var(--font-display); font-size: 1.1rem; margin-bottom: var(--space-1); }
.pull { font-family: var(--font-display); font-size: 1.2rem; font-style: italic; border-left: 4px solid var(--bronze); padding-left: var(--space-6); margin: var(--space-8) 0 0; }
.fix-list { list-style: none; padding: 0; margin: var(--space-8) 0 0; }
.fix-list li { display: grid; gap: .25rem; padding: var(--space-4) 0; border-bottom: 1px solid rgba(116,108,97,.3); }
.fix-when { font-weight: 700; }
.fix-then { color: var(--stone); }
.fix-then::before { content: "\2192\00a0"; color: var(--bronze); font-weight: 700; }
.math-box { background: var(--onyx); color: var(--alabaster); border-radius: var(--radius-lg); padding: var(--space-8); margin: var(--space-8) 0 0; }
.math-box p { margin: 0 0 var(--space-4); }
.math-box p:last-child { margin: 0; font-family: var(--font-display); font-size: 1.25rem; color: var(--bronze); }
.price-box { text-align: center; border: 2px solid var(--bronze); border-radius: var(--radius-lg); padding: var(--space-12) var(--space-6); background: var(--white); }
.price-box .price { font-family: var(--font-display); font-size: clamp(2.8rem, 9vw, 4.5rem); font-weight: 700; line-height: 1; margin: var(--space-3) 0; }
.price-box .price-sub { color: var(--stone); margin: 0 0 var(--space-6); }
.for-grid { display: grid; gap: var(--space-8); margin-top: var(--space-8); }
@media (min-width: 48rem) { .for-grid { grid-template-columns: 1fr 1fr; } }
.for-grid h3 { margin-top: 0; }
.for-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-3); }
.for-grid li { position: relative; padding-left: 1.9rem; }
.for-grid .yes li::before { content: "\2713"; position: absolute; left: 0; color: var(--bronze); font-weight: 700; }
.for-grid .no li::before { content: "\00d7"; position: absolute; left: 0; color: var(--stone); font-weight: 700; font-size: 1.2rem; line-height: 1.4; }
.bio { display: grid; gap: var(--space-6); align-items: start; margin-top: var(--space-6); }
@media (min-width: 40rem) { .bio { grid-template-columns: 7rem 1fr; } }
.bio img { width: 7rem; height: 7rem; border-radius: 50%; object-fit: cover; }
.bio p:last-child { margin-bottom: 0; }
.quote { margin: var(--space-6) 0 0; padding: var(--space-4) var(--space-6); border-left: 4px solid var(--bronze); background: rgba(200,153,108,.1); }
.quote p { margin: 0 0 var(--space-2); font-family: var(--font-display); font-style: italic; }
.quote cite { font-style: normal; font-size: .85rem; color: var(--stone); }
.sales-footer { background: var(--onyx); color: rgba(251,249,244,.6); text-align: center; padding: var(--space-8) var(--gutter); margin-top: var(--space-16); font-size: .85rem; }
.sales-footer p { margin: 0 0 .25rem; }
.sales-footer a { color: var(--bronze); }
.no-thanks { text-align: center; font-size: .85rem; color: var(--stone); margin-top: var(--space-6); }
.sales-section--demo { text-align: center; }
.sales-section--demo .cta-row { margin-top: var(--space-6); }
.demo-caption { margin-bottom: var(--space-6); }
.section--live { background: var(--onyx); color: var(--alabaster); }
.section--live h2 { color: var(--alabaster); }
.section--live .eyebrow { color: var(--bronze); }
.section--live .tick-list li { color: rgba(251,249,244,.85); }

/* ---------- Setup sales pages: an occasional nudge on the buy buttons ----------
   Every few seconds the button gives a quick little shake and flares up with a glow, then settles. It is a nudge, not a pulse.
   Only on pages that use the sales layout. Off for anyone who asks for less motion, and while hovered. */
@media (prefers-reduced-motion: no-preference) {
  body:has(.site-header--sales) .btn--big {
    animation: buy-nudge 4s ease-in-out 0s infinite;
  }
  body:has(.site-header--sales) .btn--big:hover,
  body:has(.site-header--sales) .btn--big:focus-visible { animation: none; }
}
@keyframes buy-nudge {
  0%, 60%, 100% { transform: translateX(0) rotate(0); box-shadow: 0 0 26px rgba(200,153,108,.4); filter: brightness(1); }
  66% { transform: translateX(-3px) rotate(-.5deg); box-shadow: 0 0 40px 8px rgba(200,153,108,.85), 0 0 80px rgba(200,153,108,.4); filter: brightness(1.12); }
  71% { transform: translateX(3px) rotate(.5deg); box-shadow: 0 0 40px 8px rgba(200,153,108,.85), 0 0 80px rgba(200,153,108,.4); filter: brightness(1.12); }
  76% { transform: translateX(-2px) rotate(-.35deg); box-shadow: 0 0 40px 8px rgba(200,153,108,.85), 0 0 80px rgba(200,153,108,.4); filter: brightness(1.12); }
  81% { transform: translateX(2px) rotate(.35deg); box-shadow: 0 0 40px 8px rgba(200,153,108,.85), 0 0 80px rgba(200,153,108,.4); filter: brightness(1.12); }
  86% { transform: translateX(0) rotate(0); box-shadow: 0 0 32px 4px rgba(200,153,108,.6); filter: brightness(1.06); }
}

/* buy-glow-base: a steady soft glow on the setup buttons, and a stronger one when someone reaches for them */
body:has(.site-header--sales) .btn--big { box-shadow: 0 0 26px rgba(200,153,108,.4); }
body:has(.site-header--sales) .btn--big:hover,
body:has(.site-header--sales) .btn--big:focus-visible { box-shadow: 0 0 44px 8px rgba(200,153,108,.75); filter: brightness(1.08); transform: translateY(-2px); }


/* ---------- Setup page footer ---------- */
.sales-footer a { color: var(--bronze); }
.sales-disclaimer { max-width: 56rem; margin: var(--space-6) auto 0; padding-top: var(--space-4); border-top: 1px solid rgba(251,249,244,.12); }
.sales-disclaimer p { font-size: .7rem; line-height: 1.6; color: rgba(251,249,244,.5); margin: 0 0 var(--space-2); }

.footer-notice { grid-column: 1 / -1; max-width: 46rem; margin-top: var(--space-2) !important; }
.site-footer .footer-bottom { display: grid; gap: var(--space-2); }

/* ---------- Setup sales pages: light hero ----------
   Cream hero with a dark header bar, so the page opens warm and easy to read. Bronze is too faint as text on cream,
   so words use a deeper bronze; bronze stays for lines, borders and the button. The Blueprint, Services and DM Automation pages keep their dark hero. */
.hero.sales-hero { background: var(--alabaster); color: var(--onyx); border-bottom: 1px solid rgba(116,108,97,.25); }
.hero.sales-hero::before { display: none; }
.hero.sales-hero .lead { color: rgba(26,17,16,.78); }
.hero.sales-hero .eyebrow { color: #8a5a2b; }
.hero.sales-hero .em { color: #8a5a2b; }
.hero.sales-hero .trust { color: var(--stone); }
.sales-footer { color: rgba(251,249,244,.8); }
.sales-disclaimer p { color: rgba(251,249,244,.7); }

/* ---------- Reviews: real messages and voice notes from class attendees ---------- */
.proof-list { display: grid; gap: var(--space-8); margin-top: var(--space-8); }
.proof-item { margin: 0; }
@media (min-width: 48rem) { .proof-list { grid-template-columns: repeat(2, 1fr); } .proof-item { grid-column: 1 / -1; } .proof-item--card { grid-column: auto; } }
.proof-item img, .proof-item video { display: block; width: 100%; height: auto; background: #111; border: 1px solid rgba(200,153,108,.55); border-radius: var(--radius-lg); }
.proof-item figcaption { display: grid; gap: .2rem; margin-top: var(--space-3); }
.proof-item q { font-family: var(--font-display); font-size: 1.1rem; font-style: italic; line-height: 1.4; quotes: "\201C" "\201D"; }
.proof-note { font-size: .95rem; line-height: 1.5; color: var(--ink, inherit); margin: .1rem 0 .15rem; }
.proof-item figcaption span { font-size: .8rem; font-weight: 700; letter-spacing: .01em; text-transform: none; color: var(--stone); }

.video-trio { margin: var(--space-6) 0; }
@media (min-width: 48rem) { .video-trio { grid-template-columns: repeat(3, 1fr); } }

/* ---------- Starter Kit price line: the full price crossed out, the founding member price beside it ---------- */
.price-line { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem .9rem; margin: 0 0 var(--space-6); }
.band .price-line { justify-content: center; }
.price-line s { color: rgba(251,249,244,.6); font-size: 1.3rem; text-decoration-thickness: 2px; }
.price-line strong { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--bronze); }
.price-line span { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(251,249,244,.85); }

/* Hero buttons on phones: the second button fills the row like the first one */
@media (max-width: 39.99rem) { .hero .actions .btn--ghost { display: block; width: 100%; text-align: center; } }

/* Starter Kit hero on cream, same as the setup pages: price line, small print and the second button need darker colours on a light background */
.hero.sales-hero .price-line s { color: var(--stone); }
.hero.sales-hero .price-line strong { color: #8a5a2b; }
.hero.sales-hero .price-line span { color: var(--onyx); }
.hero.sales-hero .fine { color: var(--stone); }
.hero.sales-hero .btn--ghost { color: #8a5a2b; border-color: #8a5a2b; }
.hero.sales-hero .btn--ghost:hover { background: rgba(138,90,43,.1); }

/* A single card on its own row is centred, not left in half a row */
@media (min-width: 48rem) { .proof-item--solo { grid-column: 1 / -1; max-width: calc(50% - var(--space-4)); justify-self: center; } }

/* Founding spots left: a small badge under the price */
.spots-left { display: inline-block; margin: 0 0 var(--space-6); padding: .35rem .85rem; border: 1px solid var(--bronze); border-radius: 999px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--bronze); }
.price-line + .spots-left { margin-top: calc(-1 * var(--space-3)); }
.band .spots-left { display: table; margin-left: auto; margin-right: auto; }
.hero.sales-hero .spots-left { color: #8a5a2b; border-color: #8a5a2b; }

/* ---------- Starter Kit offer: the kit, then each bonus in its own block ---------- */
.core-line { font-size: 1.1rem; }
.bonus-heading { margin-top: var(--space-8); font-family: var(--font-display); }
.bonus-card { margin: var(--space-4) 0; padding: var(--space-6); border: 1px solid rgba(200,153,108,.55); border-radius: var(--radius-lg); background: rgba(251,249,244,.05); }
.bonus-card .bonus-label { margin: 0 0 var(--space-1); color: var(--bronze); font-size: .75rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.bonus-card h3 { margin: 0 0 var(--space-2); font-size: 1.25rem; }
.bonus-card p { margin: 0 0 var(--space-3); }
.bonus-card .bonus-value { margin: 0; font-weight: 700; color: var(--bronze); }
.bonus-total { margin: var(--space-6) 0; padding: var(--space-4) var(--space-6); text-align: center; background: rgba(200,153,108,.14); border: 1px solid rgba(200,153,108,.45); border-radius: var(--radius); }
.bonus-total p { margin: 0 0 var(--space-2); }
.bonus-total p:last-child { margin: 0; }
.bonus-total strong { font-family: var(--font-display); font-size: 1.6rem; color: var(--bronze); }

/* A short beat before the guarantee */
.not-all { margin: var(--space-12) 0 var(--space-2); font-family: var(--font-display); font-size: 1.9rem; font-weight: 700; color: var(--bronze); }

/* Closing recap: the kit and every bonus once more, right before the button */
.recap { max-width: 36rem; margin: var(--space-6) auto; text-align: left; }
.recap .recap-title { margin: 0 0 var(--space-3); font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; }
.recap .tick-list { margin: 0 0 var(--space-3); }
.recap .tick-list li span { color: rgba(251,249,244,.7); font-size: .9rem; }
.recap .recap-total { margin: 0; font-weight: 700; color: var(--bronze); text-align: center; }

/* ---------- Starter Kit pages: call-out, before and after, steps, objections ---------- */
.callout { margin: 0 0 var(--space-3); font-family: var(--font-display); font-size: 1.3rem; font-style: italic; font-weight: 700; color: #8a5a2b; }
.pillars { display: grid; gap: var(--space-4); margin-top: var(--space-6); }
@media (min-width: 48rem) { .pillars { grid-template-columns: 1fr 1fr; } }
.pillar { padding: var(--space-6); border: 1px solid rgba(116,108,97,.3); border-radius: var(--radius-lg); background: var(--white, #fff); }
.pillar-name { margin: 0 0 var(--space-3); font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; }
.pillar p { margin: 0 0 var(--space-3); }
.pillar p span { display: inline-block; min-width: 4.2rem; margin-right: .4rem; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--stone); }
.pillar-new { font-weight: 700; }
.pillar-new span { color: #8a5a2b; }
.steps { padding-left: 1.4rem; display: grid; gap: var(--space-3); }
.objections { list-style: none; padding: 0; display: grid; gap: var(--space-4); }
.objections li { padding-left: var(--space-4); border-left: 4px solid var(--bronze); }

/* Problem-aware hero: a short silent loop instead of the kit card */
.hero-loop { display: block; width: 100%; height: auto; border-radius: var(--radius-lg); border: 1px solid rgba(116,108,97,.35); box-shadow: 0 12px 40px rgba(26,17,16,.18); background: var(--onyx); }

/* Starter Kit pages: a centred button at the end of several sections. Phones have the fixed button, so these stay hidden there. */
.kit-cta { display: none; }
@media (min-width: 48rem) {
  .kit-cta { display: block; margin: var(--space-10, 2.5rem) 0 0; text-align: center; }
  .kit-cta .btn--big { animation: none; }
  .kit-cta-note { margin: var(--space-3) 0 0; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); }
}

/* A long headline gets a smaller size, so the button still shows on the first screen */
.hero.sales-hero h1.h1-long { font-size: clamp(1.7rem, 3.3vw, 2.5rem); line-height: 1.15; max-width: none; }

/* Starter Kit hero, Alex-style: one centred column. Headline, sub-headline, visual, then price and button. */
.hero.sales-hero.hero--stack { padding: var(--space-10, 2.5rem) 0 var(--space-12); }
.hero-stack { text-align: center; }
.hero-stack .eyebrow { justify-content: center; }
.hero.sales-hero.hero--stack h1 { max-width: 26ch; margin-left: auto; margin-right: auto; font-size: clamp(1.9rem, 4.4vw, 3.1rem); line-height: 1.12; }
.hero.sales-hero.hero--stack h1.h1-long { max-width: 32ch; font-size: clamp(1.7rem, 3.5vw, 2.6rem); }
.hero-stack .lead { max-width: 44rem; margin-left: auto; margin-right: auto; }
.hero-stack .hero-media { max-width: 36rem; margin: var(--space-8) auto; }
.hero-stack .portrait { max-width: 20rem; margin: 0 auto; }
.hero-stack .price-line { justify-content: center; }
.hero-stack .spots-left { display: table; margin-left: auto; margin-right: auto; }
.hero-stack .actions { justify-content: center; }
.hero-stack .fine { max-width: 40rem; margin-left: auto; margin-right: auto; }

/* App badges under the hero sub-headline: a visitor sees their own tools in two seconds */
.app-row { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; list-style: none; padding: 0; margin: var(--space-6) auto 0; max-width: 46rem; }
.app-row li { display: inline-flex; align-items: center; gap: .5rem; padding: .45rem .85rem; border: 1px solid rgba(116,108,97,.35); border-radius: 999px; background: #fff; color: var(--onyx); font-weight: 700; font-size: .9rem; line-height: 1; }
.app-row img { width: 22px; height: 22px; flex: none; }
.app-row .app-more { background: transparent; border-style: dashed; color: var(--stone); }
@media (max-width: 39.99rem) { .app-row { gap: .5rem; } .app-row li { padding: .4rem .7rem; font-size: .82rem; } }

/* ---------- Masterclass replay pages (cold traffic) ---------- */
.replay-cta { margin: var(--space-8, 2rem) 0 0; text-align: center; }
.replay-price { margin: var(--space-3) 0 0; font-size: .85rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--stone); }
.consent { margin: var(--space-3) auto 0; max-width: 34rem; font-size: .8rem; line-height: 1.5; color: var(--stone); }
.section--dark .consent, .section--dark .replay-price { color: rgba(251,249,244,.7); }
.replay-note { font-size: .95rem; color: var(--stone); }
.replay-only { padding: var(--space-4) var(--space-5, 1.25rem); border-left: 4px solid var(--bronze); background: rgba(200,153,108,.12); }
.result-media { display: block; max-width: 36rem; margin: var(--space-6) auto; }
.result-media img, .result-media video { display: block; width: 100%; height: auto; border: 1px solid rgba(200,153,108,.55); border-radius: var(--radius-lg); background: #111; }
.video-placeholder.result-media { aspect-ratio: 16 / 9; max-height: none; max-width: 36rem; }
.replay-player { max-width: 48rem; margin: var(--space-6) auto; aspect-ratio: 16 / 9; }
.replay-player video, .replay-player iframe { display: block; width: 100%; height: 100%; border: 0; border-radius: var(--radius-lg); background: #111; }
.fit-grid { display: grid; gap: var(--space-6); margin-top: var(--space-6); }
@media (min-width: 48rem) { .fit-grid { grid-template-columns: 1fr 1fr; } }
.fit { padding: var(--space-5, 1.25rem); border: 1px solid rgba(116,108,97,.3); border-radius: var(--radius-lg); background: #fff; }
.fit h3 { margin-top: 0; }
.cross-list { list-style: none; padding: 0; margin: var(--space-4) 0 0; }
.cross-list li { position: relative; padding-left: 1.9rem; margin-bottom: var(--space-3); }
.cross-list li::before { content: "\2715"; position: absolute; left: 0; top: 0; color: var(--stone); font-weight: 700; }

/* ---------- Starter Kit hero: two demo clips, and group videos ---------- */
.hero-clips { display: flex; justify-content: center; gap: var(--space-4); margin: var(--space-8) auto var(--space-3); max-width: 38rem; }
.hero-clip { flex: 1 1 0; margin: 0; min-width: 0; }
.hero-clip video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; cursor: pointer; border-radius: var(--radius-lg); border: 1px solid rgba(116,108,97,.35); box-shadow: 0 12px 40px rgba(26,17,16,.18); background: var(--onyx); }
.hero-clip figcaption { margin-top: var(--space-3); font-weight: 700; font-size: .95rem; line-height: 1.3; }
.clip-tap { margin: 0 0 var(--space-6); font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--stone); text-align: center; }
@media (max-width: 40rem) {
  .hero-clips { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--space-3); padding-bottom: var(--space-2); }
  .hero-clip { flex: 0 0 62%; scroll-snap-align: center; }
}
.pillar-video { display: block; width: 100%; max-width: 15rem; height: auto; aspect-ratio: 9 / 16; margin: var(--space-4) 0 0; border-radius: var(--radius-lg); background: var(--onyx); }

/* ---------- Self-serve buy block ---------- */
.buy-block { margin: var(--space-6) 0 0; }
.buy-regular { margin: 0 0 var(--space-2); color: rgba(251,249,244,.7); font-weight: 700; }
.buy-regular s { text-decoration-thickness: 2px; }
.buy-price { margin: 0 0 var(--space-4); font-weight: 700; }
.buy-price strong { display: block; font-family: var(--font-display); font-size: 2.8rem; line-height: 1.1; color: var(--bronze); }
.buy-price span { font-size: .85rem; letter-spacing: .06em; text-transform: uppercase; color: rgba(251,249,244,.85); }
.buy-block .actions { margin: 0 0 var(--space-4); }
.buy-assure { list-style: none; padding: 0; margin: 0; font-size: .92rem; line-height: 1.5; text-align: left; max-width: 34rem; }
.buy-assure li { position: relative; padding-left: 1.7rem; margin-bottom: var(--space-2); }
.buy-assure li::before { content: "✓"; position: absolute; left: 0; top: 0; font-weight: 700; color: var(--bronze); }
.band .buy-block { text-align: center; }
.band .buy-assure { margin-left: auto; margin-right: auto; }

/* Home: the six worries get a rhythm, two wide cards and four narrow ones */
@media (min-width: 64rem) {
  #what-we-automate .cards { grid-template-columns: repeat(4, 1fr); }
  #what-we-automate .card { grid-column: span 1; }
  #what-we-automate .card:nth-child(1), #what-we-automate .card:nth-child(6) { grid-column: span 2; }
}
