/* Omkar Pote — organic theme
   Linen ground, forest ink, moss and sage greens, an ochre accent taken from the
   e-book cover. Soft morphing blob shapes, generous radii, gentle looping icon motion.
   A deliberately single (light) theme: every colour is set explicitly. */
:root {
  --linen: #f2eee4; --paper: #fbf8f1; --sand: #e7dfcc; --line: #ddd5c4; --line-2: #cfc6b2;
  --ink: #1f2a22; --muted: #4d5a50; --faint: #5e6a5f;
  --moss: #3f5e45; --moss-dk: #2c4532; --sage: #b7c4a6; --sage-lt: #e4e9da; --fern: #dfe5d3;
  --forest: #17201a; --forest-2: #222d25; --forest-line: #3a4a3e; --on-forest: #f2eee4; --on-forest-muted: #b9c1b5;
  --ochre: #c08a2e; --gold: #e0b45a; --ochre-dk: #9a6c1c;
  --f-display: "Young Serif", Georgia, "Times New Roman", serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;
  --wrap: 76rem;
  --gutter: max(16px, env(safe-area-inset-left, 0px)); --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--linen); color: var(--ink); font-family: var(--f-body); font-size: 1.0625rem; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--linen); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--moss); }
a:hover { color: var(--moss-dk); }
:focus-visible { outline: 2px solid var(--ochre); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--f-display); font-weight: 400; line-height: 1.06; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.skip { position: absolute; left: 12px; top: -60px; background: var(--ink); color: var(--linen); padding: 8px 12px; z-index: 100; border-radius: 8px; }
.skip:focus { top: 12px; }
.wrap { max-width: var(--wrap); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.eyebrow { font-size: .8125rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre-dk); }
.muted { color: var(--muted); }

/* ---------- Motion ---------- */
@keyframes blob { 0%,100% { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; } 33% { border-radius: 40% 60% 58% 42% / 48% 62% 38% 52%; } 66% { border-radius: 54% 46% 38% 62% / 38% 52% 48% 62%; } }
@keyframes float { 0%,100% { transform: translateY(0) rotate(-1.5deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes nudge { 0%,100% { transform: translateX(0); } 50% { transform: translateX(4px); } }
@keyframes draw { 0% { stroke-dashoffset: 40; } 45%,100% { stroke-dashoffset: 0; } }
@keyframes blink { 0%,100% { opacity: .2; } 50% { opacity: 1; } }
@keyframes grow { 0%,100% { transform: scale(.86); } 50% { transform: scale(1.06); } }
@keyframes sweep { 0%,100% { transform: translate(0,0); } 25% { transform: translate(3px,-2px); } 75% { transform: translate(-3px,2px); } }
@keyframes ring { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes meetL { 0%,100% { transform: translateX(-3px); } 50% { transform: translateX(1px); } }
@keyframes meetR { 0%,100% { transform: translateX(3px); } 50% { transform: translateX(-1px); } }
@keyframes rise { 0%,100% { transform: scaleY(.7); } 50% { transform: scaleY(1); } }
@keyframes pop { 0% { transform: scale(.6); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
@keyframes drift { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.blob { animation: blob 14s ease-in-out infinite; }
.blob-rev { animation: blob 14s ease-in-out infinite reverse; }
.floaty { animation: float 6s ease-in-out infinite; }
.bob { animation: bob 5s ease-in-out infinite; }
.arrow { display: inline-block; animation: nudge 1.6s ease-in-out infinite; }
svg .sweep { animation: sweep 3s ease-in-out infinite; }
svg .blink { animation: blink 1.4s infinite; }
svg .blink.d2 { animation-delay: .2s; } svg .blink.d3 { animation-delay: .4s; }
svg .draw { stroke-dasharray: 40; animation: draw 2.4s ease-in-out infinite; }
svg .ring { transform-box: fill-box; transform-origin: center; animation: ring 2s ease-out infinite; }
svg .grow { transform-box: fill-box; transform-origin: 50% 100%; animation: grow 3s ease-in-out infinite; }
svg .meetL { animation: meetL 2.6s ease-in-out infinite; } svg .meetR { animation: meetR 2.6s ease-in-out infinite; }
svg .rise { transform-box: fill-box; transform-origin: 50% 100%; animation: rise 2.4s ease-in-out infinite; }
svg .rise.d2 { animation-delay: .3s; } svg .rise.d3 { animation-delay: .6s; }
svg.bobbing { animation: bob 3s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; } }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; font: 600 1rem/1 var(--f-body); text-decoration: none; padding: 1.05em 1.6em; border-radius: 999px; border: 1.5px solid transparent; cursor: pointer; white-space: nowrap; }
.btn-buy { background: var(--moss); color: #f8f5ec; font-weight: 700; }
.btn-buy:hover { background: var(--moss-dk); color: #f8f5ec; }
.btn-gold { background: var(--gold); color: var(--forest); font-weight: 700; }
.btn-gold:hover { background: #ebc26c; color: var(--forest); }
.btn-line { border-color: var(--ink); color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--linen); }
.btn-lg { font-size: 1.0625rem; padding: 1.15em 1.8em; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: color-mix(in srgb, var(--linen) 94%, transparent); backdrop-filter: blur(8px); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; position: relative; }
.brand { display: flex; align-items: center; gap: .6rem; font-family: var(--f-display); font-size: 1.375rem; color: var(--ink); text-decoration: none; white-space: nowrap; }
.brand:hover { color: var(--ink); }
.brand .mark { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; width: 34px; height: 34px; background: var(--moss); color: var(--linen); display: grid; place-items: center; font-size: .9rem; animation: blob 10s ease-in-out infinite; }
.nav-links { display: flex; align-items: center; gap: 1.6rem; list-style: none; margin: 0; padding: 0; }
.nav-links > li > a:not(.btn), .dropdown summary { font-size: .9375rem; font-weight: 500; color: var(--muted); text-decoration: none; cursor: pointer; }
.nav-links > li > a:not(.btn):hover, .dropdown summary:hover, .nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--ochre); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.nav-links .btn { padding: .8em 1.25em; font-size: .9375rem; background: var(--ink); color: var(--linen); }
.nav-links .btn:hover { background: var(--moss); color: var(--linen); }
.dropdown { position: relative; }
.dropdown summary { list-style: none; display: inline-flex; gap: .35em; align-items: center; }
.dropdown summary::-webkit-details-marker { display: none; }
.dropdown summary::after { content: "▾"; font-size: .8em; }
.dropdown ul { position: absolute; right: 0; top: calc(100% + 14px); min-width: 13rem; list-style: none; margin: 0; padding: .5rem; background: var(--paper); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 18px 40px -24px rgba(31,42,34,.45); }
.dropdown li a, .dropdown li span { display: block; padding: .65rem .85rem; font-size: .9375rem; color: var(--ink); text-decoration: none; border-radius: 12px; }
.dropdown li a:hover { background: var(--sage-lt); }
.is-off { color: var(--faint) !important; }
.is-off small { font-size: .75rem; }
.nav-toggle { display: none; background: none; border: 1.5px solid var(--ink); border-radius: 999px; padding: 8px 16px; font: 600 .9rem var(--f-body); color: var(--ink); cursor: pointer; }
@media (max-width: 780px) {
  .nav-toggle { display: inline-flex; }
  .nav-links { display: none; position: absolute; left: calc(-1 * var(--gutter)); right: calc(-1 * var(--gutter-r)); top: 100%; flex-direction: column; align-items: stretch; gap: 0; background: var(--linen); border-bottom: 1px solid var(--line); padding: 8px var(--gutter-r) 20px var(--gutter); }
  .nav-links.open { display: flex; }
  .nav-links > li { border-top: 1px solid var(--line); }
  .nav-links > li:first-child { border-top: 0; }
  .nav-links > li > a:not(.btn), .dropdown summary { display: flex; padding: 14px 0; font-size: 1.0625rem; }
  .dropdown ul { position: static; border: 0; box-shadow: none; background: transparent; padding: 0 0 8px; }
  .nav-links .btn { margin-top: 14px; width: 100%; }
}

/* ---------- Shared blocks ---------- */
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem); }
.h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 2.9rem); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chip { display: inline-flex; align-items: center; gap: .5rem; font-size: .875rem; font-weight: 600; padding: .45rem .9rem; border-radius: 999px; background: var(--sage-lt); color: var(--moss); }
.chip svg { width: 18px; height: 18px; flex: none; }
.icon { width: 40px; height: 40px; flex: none; }

/* Hero */
.hero { position: relative; padding-block: clamp(2rem, 1rem + 4vw, 4rem) clamp(4rem, 3rem + 4vw, 6rem); }
.hero::before { content: ""; border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; position: absolute; left: -160px; top: -40px; width: 420px; height: 420px; background: var(--fern); opacity: .7; animation: blob 18s ease-in-out infinite; z-index: -1; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .9fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.pill { display: inline-flex; align-items: center; gap: .6rem; background: var(--paper); border: 1px solid var(--line); padding: .5rem 1rem; border-radius: 999px; font-size: .875rem; font-weight: 600; color: var(--moss); }
.pill svg { width: 18px; height: 18px; }
.hero h1 { font-size: clamp(2.7rem, 1.6rem + 4.4vw, 4.75rem); margin-top: 1.5rem; letter-spacing: -.02em; }
.hero h1 span { color: var(--moss); }
.hero .lede { margin-top: 1.5rem; font-size: 1.25rem; color: var(--muted); max-width: 32rem; }
.actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.portrait-wrap { position: relative; width: 100%; max-width: 27rem; aspect-ratio: 1/1; justify-self: end; }
.portrait-wrap::before { content: ""; border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; position: absolute; inset: -18px; background: var(--ochre); opacity: .22; animation: blob 14s ease-in-out infinite reverse; }
.portrait-wrap img { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; position: relative; width: 100%; height: 100%; object-fit: cover; animation: blob 14s ease-in-out infinite; }
.badge { position: absolute; left: -24px; bottom: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: .85rem 1.1rem; box-shadow: 0 18px 40px -24px rgba(31,42,34,.5); animation: bob 5s ease-in-out infinite; }
.badge strong { display: block; font-family: var(--f-body); font-weight: 700; font-size: 1.5rem; letter-spacing: -.01em; line-height: 1; color: var(--moss); }
.badge span { font-size: .8125rem; color: var(--muted); }
@media (max-width: 820px) { .hero-grid { grid-template-columns: minmax(0,1fr); } .portrait-wrap { justify-self: center; max-width: 18rem; order: -1; } .badge { left: -8px; } }

/* Dark e-book panel */
.panel { position: relative; overflow: hidden; background: var(--forest); color: var(--on-forest); border-radius: 40px; padding: clamp(2rem, 1rem + 4vw, 4rem) clamp(1.5rem, .5rem + 4vw, 3.5rem); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.panel::before { content: ""; border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; position: absolute; right: -120px; top: -140px; width: 420px; height: 420px; background: var(--moss); opacity: .35; animation: blob 16s ease-in-out infinite; }
.panel > * { position: relative; }
.panel .cover { width: 100%; max-width: 20rem; justify-self: center; border-radius: 18px; animation: float 6s ease-in-out infinite; }
.panel .eyebrow { color: var(--gold); }
.panel h2 { font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem); margin-top: .75rem; }
.panel .tag { margin-top: 1rem; font-size: 1.25rem; color: #c9cfc4; }
.panel .chips { margin-top: 1.75rem; }
.panel .chip { background: transparent; border: 1px solid var(--forest-line); color: var(--on-forest); font-weight: 500; }
.panel .btn-line { border-color: #6b7a6e; color: var(--on-forest); }
.panel .btn-line:hover { background: var(--on-forest); color: var(--forest); }
@media (max-width: 820px) { .panel { grid-template-columns: minmax(0,1fr); } .panel .cover { max-width: 15rem; } }

.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 3rem; align-items: center; }
.split .h2 { font-size: clamp(2rem, 1.4rem + 2vw, 2.75rem); }
.split p { font-size: 1.1875rem; color: var(--muted); }
.split .link { display: inline-block; margin-top: 1rem; font-weight: 600; text-decoration: none; }
@media (max-width: 820px) { .split { grid-template-columns: minmax(0,1fr); gap: 1rem; } }

/* E-book page */
.book-hero { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; padding-block: clamp(1.5rem, 1rem + 3vw, 3rem) clamp(4rem, 3rem + 4vw, 6rem); }
.cover-stage { position: relative; display: grid; place-items: center; padding: 1.5rem; }
.cover-stage::before { content: ""; border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; position: absolute; inset: 0; background: var(--fern); animation: blob 16s ease-in-out infinite; }
.cover-stage img { position: relative; width: 100%; max-width: 21rem; border-radius: 18px; box-shadow: 0 40px 60px -30px rgba(23,32,26,.6); animation: float 6s ease-in-out infinite; }
.book-hero h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.5rem); margin-top: .9rem; letter-spacing: -.02em; }
.book-hero .lede { margin-top: 1.25rem; font-size: 1.25rem; color: var(--muted); max-width: 33rem; }
.book-hero .chips { margin-top: 1.5rem; }
.book-hero .btn { margin-top: 2.25rem; }
.secure { margin-top: .75rem; font-size: .8125rem; color: var(--faint); }
@media (max-width: 820px) { .book-hero { grid-template-columns: minmax(0,1fr); } .cover-stage img { max-width: 15rem; } }

.dark-band { background: var(--forest); color: var(--on-forest); border-radius: 48px 48px 0 0; }
.verbs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(10.5rem, 100%), 1fr)); gap: 1rem; margin-top: 2.75rem; }
.verb { background: var(--forest-2); border-radius: 28px; padding: 1.6rem 1.4rem; display: flex; flex-direction: column; gap: .85rem; }
.verb h3 { font-size: 1.625rem; }
.verb p { font-size: .875rem; color: var(--on-forest-muted); }

.contents-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 1rem; }
.contents-head p, .contents-foot { font-size: .875rem; color: var(--faint); }
.parts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); gap: 1.1rem; margin-top: 2.5rem; }
.part { background: var(--paper); border-radius: 28px; padding: 1.6rem 1.6rem 1.5rem; }
.part-head { display: flex; justify-content: space-between; align-items: baseline; gap: .75rem; }
.part-head h3 { font-size: 1.625rem; }
.part-head span { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre-dk); }
.part ol { list-style: none; margin: .9rem 0 0; padding: 0; display: grid; gap: .5rem; font-size: .9375rem; }
.part li { display: grid; grid-template-columns: 1.6rem minmax(0,1fr); gap: .5rem; }
.part li b { color: var(--ochre-dk); }
.part.kit { background: var(--moss); color: var(--on-forest); }
.part.kit .part-head span, .part.kit li b { color: var(--gold); }
.contents-foot { margin-top: 1rem; }

.starts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1rem; margin-top: 2rem; }
.start { border: 1.5px solid var(--line-2); border-radius: 28px; padding: 1.4rem; }
.start b { display: block; }
.start span { display: block; margin-top: .35rem; font-size: .9375rem; color: var(--muted); }

.author-card { background: var(--sage-lt); border-radius: 40px; padding: clamp(1.75rem, 1rem + 3vw, 3rem); display: flex; flex-wrap: wrap; gap: 2rem 2.5rem; align-items: center; }
.author-card img { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; width: 150px; height: 150px; object-fit: cover; animation: blob 12s ease-in-out infinite; }
.author-card .txt { flex: 1 1 22rem; min-width: 0; }
.author-card .eyebrow { color: var(--moss); }
.author-card p { margin-top: .6rem; font-family: var(--f-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.65rem); line-height: 1.3; }

/* About */
.about-hero { display: grid; grid-template-columns: minmax(0, 20rem) minmax(0, 1fr); gap: clamp(2rem, 5vw, 3.5rem); align-items: center; padding-block: clamp(1.5rem, 1rem + 3vw, 3rem) clamp(3rem, 2rem + 4vw, 5rem); }
.about-hero .portrait-wrap { justify-self: start; max-width: 20rem; }
.about-hero h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.25rem); }
.about-hero p { margin-top: 1.25rem; font-size: 1.3rem; color: var(--muted); max-width: 36rem; }
@media (max-width: 760px) { .about-hero { grid-template-columns: minmax(0,1fr); } .about-hero .portrait-wrap { max-width: 14rem; } }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); gap: 1.1rem; }
.fact { background: var(--paper); border: 1px solid var(--line); border-radius: 32px; padding: 1.8rem 1.7rem; display: flex; flex-direction: column; gap: .85rem; }
.fact h3 { font-size: 1.625rem; line-height: 1.15; }
.fact p { font-size: .9375rem; color: var(--muted); }
.fact.dark { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.fact.dark h3 { font-size: 2.5rem; line-height: 1; }
.fact.dark p { color: var(--on-forest-muted); }
.quote-card { background: var(--sage-lt); border-radius: 40px; padding: clamp(1.75rem, 1rem + 3vw, 3rem); display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; justify-content: space-between; }
.quote-card p { flex: 1 1 26rem; font-family: var(--f-display); font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); line-height: 1.3; }

/* Insights + centered states */
.center-state { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.25rem; padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(5rem, 4rem + 4vw, 7.5rem); position: relative; }
.center-state .orb { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; width: 150px; height: 150px; background: var(--sage-lt); display: grid; place-items: center; animation: blob 12s ease-in-out infinite; }
.center-state .orb svg { width: 64px; height: 64px; }
.center-state h1 { font-size: clamp(2.6rem, 1.8rem + 3vw, 4rem); margin-top: .75rem; }
.center-state .lede { font-size: 1.25rem; color: var(--muted); max-width: 33rem; }
.post-list { display: grid; max-width: 46rem; margin-inline: auto; padding-bottom: 5rem; }
.post-row { display: grid; gap: .4rem; padding: 1.6rem 0; border-top: 1px solid var(--line); text-decoration: none; color: var(--ink); }
.post-row h2 { font-size: 1.75rem; }
.post-row:hover h2 { color: var(--moss); }
.post-row p, .post-row small { color: var(--muted); }
.article-head { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) 2rem; max-width: 46rem; }
.article-head h1 { font-size: clamp(2.2rem, 1.5rem + 3vw, 3.5rem); margin-top: .75rem; }
.article-head .lede { margin-top: 1rem; font-size: 1.25rem; color: var(--muted); }
.prose { max-width: 42rem; font-size: 1.125rem; line-height: 1.75; padding-bottom: 5rem; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-size: 1.75rem; margin-top: 2em; }
.prose .table-scroll { overflow-x: auto; }
.prose table { width: 100%; border-collapse: collapse; font-size: .9375rem; }
.prose th, .prose td { text-align: left; padding: .6em .8em; border-bottom: 1px solid var(--line); }
.legal-head { padding-block: clamp(2.5rem, 2rem + 3vw, 4rem) 1.5rem; }
.legal-head h1 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem); }
.legal-head p { margin-top: .75rem; font-size: .8125rem; color: var(--faint); }

/* Thank-you */
.thanks .dot { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; position: absolute; opacity: .4; animation: blob 10s ease-in-out infinite, drift 6s ease-in-out infinite; }
.thanks .dot.a { left: 6%; top: 40px; width: 70px; height: 70px; background: var(--gold); }
.thanks .dot.b { right: 8%; top: 160px; width: 110px; height: 110px; background: var(--sage); animation-direction: normal, reverse; }
.check-orb { border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; width: 160px; height: 160px; background: var(--moss); display: grid; place-items: center; animation: blob 10s ease-in-out infinite, pop .6s ease-out both; }
.check-orb svg { width: 72px; height: 72px; }
.check-orb path { stroke-dasharray: 40; animation: draw 1.4s .3s ease-out both; }
.next-card { margin-top: 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: 32px; padding: 1.6rem 1.8rem; max-width: 35rem; text-align: left; display: flex; gap: 1.25rem; align-items: flex-start; }
.next-card img { width: 72px; border-radius: 8px; flex: none; }
.next-card span { display: block; margin-top: .35rem; font-size: .9375rem; color: var(--muted); }
.small { font-size: .875rem; color: var(--faint); }

/* Footer */
.site-footer { background: var(--sand); margin-top: 0; }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-block: 3rem 1.5rem; }
.foot .brand-name { font-family: var(--f-display); font-size: 1.375rem; }
.foot p { margin-top: .5rem; font-size: .875rem; color: var(--muted); }
.foot ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .9rem 1.6rem; font-size: .9375rem; }
.foot ul a { color: var(--ink); text-decoration: none; }
.foot ul a:hover { text-decoration: underline; }
.foot-base { padding-bottom: 2rem; font-size: .8125rem; color: var(--faint); }

/* Thank-you downloads */
@keyframes dl { 0%,100% { transform: translateY(-2px); } 50% { transform: translateY(2px); } }
svg .dl { animation: dl 1.4s ease-in-out infinite; }
.downloads { display: grid; gap: 1rem; width: 100%; max-width: 40rem; margin-top: 1rem; }
.dl-card { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 1.1rem 1.25rem; text-align: left; text-decoration: none; color: var(--ink); }
.dl-card:hover { border-color: var(--moss); color: var(--ink); }
.dl-card.main { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.dl-card.main:hover { color: var(--on-forest); }
.dl-card img { width: 64px; border-radius: 8px; flex: none; }
.kit-icon { width: 64px; height: 64px; flex: none; display: grid; place-items: center; background: var(--sage-lt); border-radius: 62% 38% 46% 54% / 60% 44% 56% 40%; animation: blob 10s ease-in-out infinite; }
.dl-text { flex: 1 1 12rem; min-width: 0; }
.dl-text b { display: block; font-size: 1.125rem; }
.dl-text small { display: block; font-size: .875rem; opacity: .8; margin-top: .15rem; }
.dl-card .btn { padding: .9em 1.3em; }
.next-card { margin-top: 1rem; }
/* Legal pages */
.legal h2 { font-size: 1.4rem; margin-top: 2.2em; }
.legal ul { padding-left: 1.25rem; }
.legal li + li { margin-top: .4em; }

/* Chapter flow strip (e-book contents) */
@keyframes glow { 0%,100% { background: var(--paper); } 12% { background: var(--gold); } 24% { background: var(--paper); } }
.flow { display: flex; flex-wrap: wrap; align-items: center; gap: .45rem; max-width: 46rem; }
.flow-label { font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ochre-dk); margin-right: .25rem; }
.flow-step { font-size: .8125rem; font-weight: 600; padding: .35rem .75rem; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); animation: glow 7s ease-in-out infinite; }
.flow-arrow { color: var(--faint); font-size: .8rem; }

/* Contact */
.contact-head { padding-block: clamp(2rem, 1.5rem + 3vw, 3.5rem) 2rem; }
.contact-head h1 { font-size: clamp(2.6rem, 1.6rem + 4vw, 4.25rem); }
.contact-head .lede { margin-top: 1rem; font-size: 1.25rem; color: var(--muted); max-width: 34rem; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1.5rem; padding-bottom: clamp(4rem, 3rem + 4vw, 6rem); align-items: start; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-form { background: var(--paper); border: 1px solid var(--line); border-radius: 32px; padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); display: grid; gap: 1.1rem; }
.field { display: grid; gap: .4rem; }
.field label { font-weight: 600; font-size: .9375rem; }
.field small { font-weight: 400; color: var(--faint); }
.field input, .field textarea { font: inherit; font-size: 1rem; color: var(--ink); background: var(--linen); border: 1.5px solid var(--line-2); border-radius: 16px; padding: .85rem 1rem; width: 100%; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--moss); background: #fff; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: #b4532a; }
.contact-form .btn { justify-self: start; }
.form-status { font-size: .9375rem; min-height: 1.4em; color: var(--muted); }
.form-status.ok { color: var(--moss); font-weight: 600; }
.form-status.err { color: #9c4321; }
.contact-side { display: grid; gap: 1rem; }
.side-card { display: flex; align-items: center; gap: 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: 28px; padding: 1.25rem 1.4rem; text-decoration: none; color: var(--ink); min-width: 0; }
.side-card:hover { border-color: var(--moss); color: var(--ink); }
.side-card span { min-width: 0; }
.side-card small { display: block; font-size: .8125rem; color: var(--faint); }
.side-card b { display: block; font-size: 1.0625rem; overflow-wrap: anywhere; }
.side-card.dark { background: var(--forest); border-color: var(--forest); color: var(--on-forest); }
.side-card.dark small { color: var(--on-forest-muted); }
.side-card.dark:hover { color: var(--on-forest); }
.contents-head { flex-direction: column; align-items: flex-start; gap: 1.1rem; }
.flow { max-width: none; }
