/*
Theme Name: Online Advertising Playbook
Theme URI: https://onlineadvertisingplaybook.com/
Author: Denny Cartwright
Description: Custom theme for The Small Business Google Ads and Meta Ads Playbooks: 2027 Editions.
Version: 1.1.3
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: online-advertising-playbook
*/

:root {
  --navy-950: #031226;
  --navy-900: #061a34;
  --navy-800: #0b294d;
  --blue: #0568f4;
  --blue-bright: #1689ff;
  --gold: #f3b62b;
  --gold-light: #ffd769;
  --paper: #f5f7fa;
  --background: #ffffff;
  --foreground: #0a1b31;
  --card: #ffffff;
  --card-foreground: #0a1b31;
  --popover: #ffffff;
  --popover-foreground: #0a1b31;
  --primary: #0568f4;
  --primary-foreground: #ffffff;
  --secondary: #e8f1ff;
  --secondary-foreground: #06254b;
  --muted: #eef2f7;
  --muted-foreground: #526176;
  --accent: #fff0c7;
  --accent-foreground: #3d2a00;
  --border: #d7e0eb;
  --input: #cbd6e4;
  --ring: #1689ff;
  --destructive: #b42318;
}

.dark {
  --background: #031226;
  --foreground: #f7fbff;
  --card: #071c38;
  --card-foreground: #f7fbff;
  --popover: #071c38;
  --popover-foreground: #f7fbff;
  --primary: #1689ff;
  --primary-foreground: #ffffff;
  --secondary: #0b294d;
  --secondary-foreground: #ffffff;
  --muted: #102d50;
  --muted-foreground: #b9c8da;
  --accent: #f3b62b;
  --accent-foreground: #031226;
  --border: #24405f;
  --input: #385474;
  --ring: #5cb0ff;
  --destructive: #ff7c70;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Aptos, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
main { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }
:where(button, input, textarea, select) { font: inherit; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: white; color: #061a34; padding: .8rem 1rem; border-radius: .5rem; font-weight: 800; }
.skip-link:focus { top: 1rem; }
.shell { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 42px; padding: .65rem 1rem; border: 1px solid transparent; border-radius: .5rem; text-decoration: none; font-weight: 800; line-height: 1.2; transition: background .16s ease, border-color .16s ease, color .16s ease; }
.button-primary { background: var(--blue); color: white; }
.button-primary:hover { background: #0458ce; }
.button-outline { border-color: var(--border); background: transparent; color: var(--navy-900); }
.button-outline:hover { border-color: var(--blue); background: #eef5ff; }
.icon-box { display: inline-grid; place-items: center; flex: none; width: 34px; height: 34px; color: var(--blue); border: 1px solid currentColor; border-radius: 50%; font-size: 1rem; font-weight: 900; line-height: 1; }
.site-header { position: sticky; top: 0; z-index: 40; border-bottom: 1px solid rgba(255,255,255,.12); background: rgba(3,18,38,.94); color: white; backdrop-filter: blur(16px); }
.header-inner { min-height: 74px; display: flex; align-items: center; gap: 2rem; }
.wordmark { display: flex; align-items: center; gap: .7rem; text-decoration: none; font-weight: 800; letter-spacing: -.02em; }
.wordmark-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 2px solid var(--gold); color: var(--gold); font-size: .7rem; letter-spacing: .08em; border-radius: 50%; }
.desktop-nav { display: flex; gap: 1.4rem; margin-left: auto; font-size: .88rem; color: #c8d4e4; }
.desktop-nav a { text-decoration: none; }
.desktop-nav a:hover { color: white; }
.nav-cta { background: var(--gold); color: #061a34; font-weight: 800; min-height: 40px; padding-inline: 1rem; }
.nav-cta:hover { background: var(--gold-light); }
.hero { position: relative; overflow: hidden; background: radial-gradient(circle at 76% 52%, #063f91 0%, #072856 24%, #031226 56%); color: white; }
.hero::after { content: ""; position: absolute; inset: 0; opacity: .22; pointer-events: none; background-image: linear-gradient(rgba(43,126,219,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(43,126,219,.22) 1px, transparent 1px); background-size: 42px 42px; mask-image: linear-gradient(to left, black, transparent 70%); }
.hero-grid { position: absolute; right: 0; bottom: 12%; width: 46%; height: 2px; background: linear-gradient(90deg, transparent, var(--gold)); transform: rotate(-10deg); transform-origin: right; opacity: .6; }
.hero-inner { min-height: 570px; display: grid; grid-template-columns: .94fr 1.06fr; align-items: center; gap: clamp(2rem, 4vw, 3.5rem); position: relative; z-index: 1; }
.hero-copy { padding-block: 4rem; }
.eyebrow { margin: 0 0 1.2rem; color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-weight: 900; font-size: .78rem; }
.hero h1 { margin: 0; max-width: 680px; font-family: "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif; font-size: clamp(3.25rem, 5.25vw, 5.25rem); line-height: .88; letter-spacing: -.05em; text-transform: uppercase; }
.hero h1 span { color: var(--blue-bright); }
.hero-lead { max-width: 620px; margin: 1.5rem 0 0; color: #f2f6fb; font-size: clamp(1.05rem, 1.35vw, 1.22rem); line-height: 1.5; }
.hero-for { max-width: 610px; color: #afc0d5; font-size: .94rem; line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.hero-actions a { min-height: 50px; padding-inline: 1.3rem; font-weight: 800; }
.button-gold { background: var(--gold); color: #061a34; }
.button-gold:hover { background: var(--gold-light); }
.button-ghost-light { border-color: rgba(255,255,255,.34); background: rgba(255,255,255,.04); color: white; }
.button-ghost-light:hover { background: rgba(255,255,255,.1); color: white; }
.hero-points { display: flex; flex-wrap: wrap; gap: .55rem 1rem; list-style: none; margin: 1.5rem 0 0; padding: 0; color: #d7e2ef; font-size: .82rem; }
.hero-points li { display: flex; align-items: center; gap: .4rem; }
.hero-points svg { width: 17px; color: var(--gold); }
.hero-book { position: relative; align-self: end; }
.hero-book img { position: relative; z-index: 1; width: min(590px, 100%); margin-inline: auto; filter: drop-shadow(0 34px 45px rgba(0,0,0,.42)); }
.book-glow { position: absolute; inset: 18% 12% 8%; background: #0759cf; filter: blur(65px); opacity: .65; }
.edition-chip { position: absolute; z-index: 2; right: 0; bottom: 4rem; display: flex; align-items: center; gap: .7rem; background: rgba(3,18,38,.94); border: 1px solid #31547b; padding: .65rem .8rem; box-shadow: 0 14px 35px rgba(0,0,0,.25); }
.edition-chip strong { color: var(--gold); font-size: 1.4rem; }
.edition-chip span { color: #b9c8da; font-size: .7rem; line-height: 1.3; }
.format-preview { background: var(--paper); border-bottom: 1px solid var(--border); }
.format-preview-inner { padding-block: 3rem; display: grid; grid-template-columns: 1.05fr 1.2fr; gap: 1rem 3rem; align-items: center; }
.eyebrow-dark { color: #0c5dcc; margin-bottom: .75rem; }
.format-preview h2 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.5rem); line-height: 1.05; letter-spacing: -.035em; }
.price-row { display: grid; grid-template-columns: repeat(3, 1fr); background: white; border: 1px solid var(--border); }
.price-row div { padding: 1.1rem 1.2rem; border-right: 1px solid var(--border); }
.price-row div:last-child { border-right: 0; }
.price-row span, .price-row strong { display: block; }
.price-row span { color: var(--muted-foreground); font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; }
.price-row strong { margin-top: .25rem; font-size: 1.45rem; color: var(--navy-900); }
.listing-note { grid-column: 2; margin: 0; color: var(--muted-foreground); font-size: .82rem; }
.mini-footer { background: var(--navy-950); color: #9cb0c7; font-size: .78rem; }
.mini-footer .shell { display: flex; justify-content: space-between; gap: 1rem; padding-block: 1.2rem; }
.button-large { min-height: 48px; padding-inline: 1.25rem; font-weight: 800; }
.mobile-menu { display: none; position: relative; }
.mobile-menu summary { display: flex; align-items: center; gap: .45rem; list-style: none; cursor: pointer; min-height: 44px; padding: .4rem; color: white; font-weight: 800; }
.mobile-menu summary::-webkit-details-marker { display: none; }
.mobile-menu nav { position: absolute; right: 0; top: calc(100% + .7rem); width: min(300px, calc(100vw - 28px)); padding: .65rem; background: #071c38; border: 1px solid #31547b; box-shadow: 0 22px 50px rgba(0,0,0,.4); }
.mobile-menu nav a { display: block; padding: .78rem .85rem; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.08); }
.mobile-menu nav a:last-child { border-bottom: 0; }

.trust-strip { background: white; border-bottom: 1px solid var(--border); }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.trust-grid > p { display: flex; gap: .85rem; align-items: flex-start; margin: 0; padding: 1.45rem 1.4rem; border-right: 1px solid var(--border); }
.trust-grid > p:first-child { padding-left: 0; }
.trust-grid > p:last-child { border-right: 0; padding-right: 0; }
.trust-grid svg, .trust-grid .icon-box { flex: none; width: 34px; color: var(--blue); }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { color: var(--navy-900); margin-bottom: .2rem; font-size: .9rem; }
.trust-grid span { color: var(--muted-foreground); font-size: .8rem; line-height: 1.45; }
.section { padding-block: clamp(3.75rem, 6vw, 6rem); }
.section-paper { background: var(--paper); }
.section-heading { max-width: 760px; margin-bottom: 3rem; }
.section-heading.centred { margin-inline: auto; text-align: center; }
.section-heading h2, .audience-copy h2, .worksheet-feature h2, .author-intro h2, .prose-large h2, .outcome-grid h2, .resource-cta h2, .author-page-section h2 {
  margin: 0; color: var(--navy-900); font-size: clamp(2.05rem, 3.8vw, 3.8rem); line-height: 1; letter-spacing: -.045em;
}
.section-heading > p:last-child, .split-heading > p, .prose-large > p, .worksheet-feature > div:last-child > p, .audience-copy > p, .outcome-grid p, .resource-cta p { color: var(--muted-foreground); line-height: 1.75; }
.split-heading { max-width: none; display: grid; grid-template-columns: 1.35fr .65fr; gap: 4rem; align-items: end; }
.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); border-left: 1px solid var(--border); }
.value-card { min-height: 275px; position: relative; background: white; padding: 2rem; border-right: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.value-card > svg, .value-card > .icon-box { width: 36px; height: 36px; color: var(--blue); margin-bottom: 2rem; }
.value-card h3 { margin: 0 0 .75rem; font-size: 1.25rem; letter-spacing: -.025em; color: var(--navy-900); }
.value-card p { margin: 0; color: var(--muted-foreground); line-height: 1.65; font-size: .93rem; }
.card-number { position: absolute; top: 1.4rem; right: 1.5rem; color: #adbac9; font-weight: 900; font-size: .74rem; letter-spacing: .1em; }
.section-action { margin-top: 2rem; display: flex; justify-content: flex-end; }
.audience-section { background: var(--navy-900); color: white; overflow: hidden; position: relative; }
.audience-section::after { content: ""; position: absolute; inset: 0 0 0 55%; opacity: .25; background-image: linear-gradient(rgba(22,137,255,.28) 1px, transparent 1px), linear-gradient(90deg, rgba(22,137,255,.28) 1px, transparent 1px); background-size: 34px 34px; transform: skew(-8deg); }
.audience-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(3rem, 8vw, 8rem); position: relative; z-index: 1; }
.audience-copy h2, .author-intro h2, .outcome-grid h2 { color: white; }
.audience-copy > p { color: #b9c8da; }
.audience-list { border-top: 1px solid #31547b; }
.audience-list article { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.35rem 0; border-bottom: 1px solid #31547b; }
.audience-list svg { color: var(--gold); margin-top: .15rem; }
.audience-list h3 { margin: 0 0 .35rem; font-size: 1.05rem; }
.audience-list p { margin: 0; color: #aebfd3; font-size: .9rem; line-height: 1.55; }
.worksheet-feature { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(3rem, 9vw, 9rem); }
.worksheet-visual { min-height: 460px; position: relative; display: grid; place-items: center; }
.worksheet-sheet { position: relative; z-index: 2; width: min(370px, 86%); min-height: 430px; padding: 2.3rem; background: white; border: 1px solid #cbd6e4; box-shadow: 0 28px 65px rgba(5,27,57,.18); transform: rotate(-2.5deg); }
.worksheet-sheet::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 9px; background: linear-gradient(90deg, var(--gold) 0 24%, var(--blue) 24% 100%); }
.worksheet-sheet span { color: var(--blue); font-size: .7rem; font-weight: 900; letter-spacing: .16em; }
.worksheet-sheet strong { display: block; margin: .7rem 0 2.8rem; color: var(--navy-900); font-size: 2rem; line-height: 1; letter-spacing: -.04em; }
.worksheet-sheet i { display: block; height: 38px; margin-bottom: 1rem; border-bottom: 2px solid #dce4ee; }
.worksheet-sheet b { display: block; margin-top: 3rem; padding: .8rem; background: var(--navy-900); color: white; font-size: .7rem; text-align: center; letter-spacing: .08em; }
.sheet-back { position: absolute; z-index: 1; background: #d6e7ff; transform: translate(35px, 16px) rotate(4deg); }
.tick-list { list-style: none; padding: 0; margin: 1.8rem 0 2rem; display: grid; gap: .7rem; }
.tick-list li { position: relative; padding-left: 1.6rem; color: var(--navy-800); font-weight: 700; }
.tick-list li::before { content: "✓"; position: absolute; left: 0; color: var(--blue); font-weight: 900; }
.author-intro { background: linear-gradient(115deg, #082244, #031226); color: white; }
.author-grid { display: grid; grid-template-columns: .55fr 1.45fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.author-monogram { min-height: 360px; display: grid; place-items: center; position: relative; border: 1px solid #31547b; background: radial-gradient(circle, #0b4d9f, #061a34 68%); }
.author-monogram::after { content: ""; width: 65%; aspect-ratio: 1; border: 2px solid var(--gold); border-radius: 50%; position: absolute; }
.author-monogram span { position: relative; z-index: 1; font-size: clamp(4rem, 8vw, 7rem); font-weight: 900; letter-spacing: -.08em; }
.author-grid > div:last-child > p { color: #b9c8da; line-height: 1.75; max-width: 720px; }
.author-grid a, .outcome-grid a, .section-action.light-action a { display: inline-flex; align-items: center; gap: .5rem; color: var(--gold); font-weight: 800; text-underline-offset: 5px; }
.faq-preview .section-heading { margin-bottom: 1.8rem; }
.faq-list, .faq-page-list { border-top: 1px solid var(--border); }
.faq-list details, .faq-page-list details { border-bottom: 1px solid var(--border); }
.faq-list summary, .faq-page-list summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 1rem; cursor: pointer; padding: 1.35rem 0; color: var(--navy-900); font-size: 1.05rem; font-weight: 800; }
.faq-list summary::-webkit-details-marker, .faq-page-list summary::-webkit-details-marker { display: none; }
.faq-list summary span, .faq-page-list summary span { display: grid; place-items: center; width: 30px; height: 30px; flex: none; border: 1px solid var(--border); color: var(--blue); }
.faq-list details[open] summary span, .faq-page-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p, .faq-page-list details p { max-width: 850px; margin: 0; padding: 0 3.5rem 1.5rem 0; color: var(--muted-foreground); line-height: 1.7; }
.faq-page-list { max-width: 900px; }
.faq-page-list summary { padding-block: 1.6rem; font-size: 1.12rem; }
.buy-section { padding-block: clamp(4.5rem, 8vw, 7rem); background: radial-gradient(circle at 50% 0%, #0b4b9a, #031226 58%); color: white; }
.buy-section.compact { padding-block: 5rem; }
.light-heading h2 { color: white; }
.light-heading > p:last-child { color: #b9c8da; }
.format-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 1020px; margin-inline: auto; }
.format-card { padding: 1.5rem; background: rgba(7,28,56,.92); border: 1px solid #31547b; display: grid; grid-template-columns: auto 1fr auto; gap: 1rem; align-items: center; }
.format-card > svg, .format-card > .icon-box { color: var(--gold); width: 34px; height: 34px; }
.format-card h3, .format-card p { margin: 0; }
.format-card h3 { font-size: 1rem; }
.format-card p { color: #93a9c1; font-size: .72rem; margin-top: .2rem; }
.format-card > strong { font-size: 1.5rem; color: white; }
.format-card button { grid-column: 1 / -1; min-height: 46px; border: 1px dashed #4d6989; background: #102d50; color: #9fb1c5; display: flex; align-items: center; justify-content: center; gap: .5rem; font-weight: 800; cursor: not-allowed; }
.format-card button svg { width: 16px; }
.site-footer { background: #020d1c; color: #9cb0c7; }
.footer-grid { display: grid; grid-template-columns: 1.25fr .65fr .75fr; gap: 4rem; padding-block: 4rem; }
.footer-brand p { max-width: 480px; line-height: 1.7; font-size: .9rem; }
.footer-grid nav { display: grid; align-content: start; gap: .7rem; }
.footer-grid nav h2 { margin: 0 0 .5rem; color: white; text-transform: uppercase; letter-spacing: .12em; font-size: .7rem; }
.footer-grid nav a { text-decoration: none; font-size: .85rem; }
.footer-grid nav a:hover { color: white; }
.footer-bottom { border-top: 1px solid #18324f; display: flex; justify-content: space-between; gap: 2rem; padding-block: 1.4rem; font-size: .75rem; }

.page-hero { position: relative; overflow: hidden; background: radial-gradient(circle at 80% 30%, #0a4d9e, #061a34 52%, #031226); color: white; }
.page-hero::after { content: ""; position: absolute; width: 54%; height: 170%; right: -5%; top: -40%; border-left: 1px solid rgba(243,182,43,.65); transform: rotate(17deg); background-image: linear-gradient(rgba(22,137,255,.22) 1px, transparent 1px), linear-gradient(90deg, rgba(22,137,255,.22) 1px, transparent 1px); background-size: 38px 38px; }
.page-hero-inner { position: relative; z-index: 1; padding-block: clamp(4.5rem, 10vw, 8.5rem); }
.page-hero h1 { max-width: 950px; margin: 0; font-size: clamp(3rem, 7vw, 6.5rem); line-height: .91; letter-spacing: -.06em; font-family: "Arial Narrow", "Helvetica Neue Condensed", Impact, sans-serif; text-transform: uppercase; }
.page-hero-inner > p:last-child { max-width: 760px; margin: 1.7rem 0 0; color: #c1cfdf; font-size: 1.18rem; line-height: 1.65; }
.book-approach-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.cover-panel { position: relative; width: min(390px, 100%); margin-inline: auto; }
.cover-panel::before { content: ""; position: absolute; inset: 7% -10% -6% 12%; background: #0c67df; filter: blur(40px); opacity: .32; }
.cover-panel img { position: relative; box-shadow: 0 32px 75px rgba(2,13,28,.32); }
.prose-large > p { font-size: 1.04rem; }
.prose-large blockquote, .affiliate-disclosure blockquote { margin: 2rem 0; padding: 1.4rem 1.6rem; border-left: 5px solid var(--gold); background: #fff6da; color: var(--navy-900); font-size: 1.2rem; font-weight: 800; line-height: 1.55; }
.topic-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--border); }
.topic-grid article { display: grid; grid-template-columns: auto 1fr; gap: 1rem; padding: 1.5rem 2rem 1.5rem 0; border-bottom: 1px solid var(--border); }
.topic-grid article:nth-child(odd) { border-right: 1px solid var(--border); }
.topic-grid article:nth-child(even) { padding-left: 2rem; }
.topic-grid svg, .topic-grid .icon-box { color: var(--blue); width: 34px; }
.topic-grid h3 { margin: 0 0 .35rem; color: var(--navy-900); font-size: 1rem; }
.topic-grid p { margin: 0; color: var(--muted-foreground); font-size: .88rem; line-height: 1.55; }
.outcome-section { background: var(--navy-900); color: white; }
.outcome-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: end; }
.outcome-grid p { color: #b9c8da; }
.parts-list { display: grid; gap: 1.25rem; }
.part-card { display: grid; grid-template-columns: .85fr 1.15fr; background: white; border: 1px solid var(--border); }
.part-intro { padding: 2rem; background: var(--navy-900); color: white; }
.part-intro span { color: var(--gold); text-transform: uppercase; letter-spacing: .15em; font-size: .7rem; font-weight: 900; }
.part-intro h2 { margin: .65rem 0; font-size: 1.75rem; line-height: 1.08; letter-spacing: -.035em; }
.part-intro p { margin: 0; color: #aebfd3; line-height: 1.6; font-size: .88rem; }
.part-card ol { margin: 0; padding: 1.5rem 2.2rem 1.5rem 3.8rem; display: grid; align-content: center; }
.part-card li { padding: .45rem 0 .45rem .4rem; color: var(--navy-800); border-bottom: 1px solid #e6ebf2; font-size: .94rem; }
.part-card li:last-child { border-bottom: 0; }
.part-card li::marker { color: var(--blue); font-weight: 900; }
.appendices-section { background: var(--navy-900); color: white; }
.appendices-section .section-heading h2 { color: white; }
.appendices-section .split-heading > p { color: #b9c8da; }
.appendix-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid #31547b; border-left: 1px solid #31547b; }
.appendix-grid article { min-height: 210px; padding: 1.5rem; border-right: 1px solid #31547b; border-bottom: 1px solid #31547b; }
.appendix-grid span { display: grid; place-items: center; width: 34px; height: 34px; color: var(--gold); border: 1px solid var(--gold); font-size: .75rem; font-weight: 900; }
.appendix-grid h3 { margin: 1.2rem 0 .5rem; font-size: 1.05rem; }
.appendix-grid p { margin: 0; color: #9fb1c5; font-size: .84rem; line-height: 1.55; }
.light-action { justify-content: flex-start; }
.resource-notice { background: #fff4d6; border-bottom: 1px solid #ebd38d; }
.resource-notice .shell { padding-block: 1.2rem; display: flex; gap: 1rem; align-items: flex-start; }
.resource-notice svg { color: #8a5b00; }
.resource-notice strong { color: #563a00; }
.resource-notice p { margin: .2rem 0 0; color: #6d5521; font-size: .86rem; }
.resource-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.resource-card { padding: 1.7rem; background: white; border: 1px solid var(--border); }
.resource-top { display: flex; justify-content: space-between; align-items: center; color: var(--blue); }
.resource-top span { color: #9aa9ba; font-size: .7rem; font-weight: 900; letter-spacing: .12em; }
.resource-card h2 { margin: 1.5rem 0 .65rem; color: var(--navy-900); font-size: 1.25rem; }
.resource-card p { min-height: 3.8rem; margin: 0 0 1.5rem; color: var(--muted-foreground); line-height: 1.6; font-size: .9rem; }
.resource-card button { width: 100%; min-height: 45px; border: 1px dashed #a9b7c8; background: #f0f3f7; color: #7b8998; font-weight: 800; cursor: not-allowed; }
.resource-card small { display: block; margin-top: .65rem; color: #8a98a9; text-align: center; }
.resource-cta { padding-block: 4rem; background: #0b294d; color: white; }
.resource-cta .shell { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.resource-cta h2 { color: white; }
.resource-cta p { color: #b9c8da; }
.author-page-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.author-portrait-placeholder { min-height: 520px; padding: 2rem; display: grid; place-items: center; align-content: center; position: relative; overflow: hidden; background: radial-gradient(circle, #0b4d9f, #031226 70%); color: white; border: 1px solid #31547b; }
.author-portrait-placeholder::before { content: ""; position: absolute; width: 95%; aspect-ratio: 1; border: 2px solid var(--gold); border-radius: 50%; }
.author-portrait-placeholder span { position: relative; z-index: 1; font-size: 7rem; font-weight: 900; letter-spacing: -.09em; }
.author-portrait-placeholder small { position: absolute; bottom: 1.3rem; left: 1.3rem; right: 1.3rem; z-index: 1; color: #9fb1c5; text-align: center; line-height: 1.4; }
.portrait-line { position: absolute; left: 12%; right: 12%; bottom: 4.8rem; height: 2px; background: var(--gold); }
.prose-large > a { display: inline-flex; align-items: center; gap: .5rem; color: var(--blue); font-weight: 800; }
.author-principles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.author-principles article { padding: 1.6rem; background: white; border: 1px solid var(--border); }
.author-principles svg, .author-principles .icon-box { color: var(--blue); }
.author-principles h2 { margin: 1.2rem 0 .5rem; font-size: 1.2rem; color: var(--navy-900); }
.author-principles p { margin: 0; color: var(--muted-foreground); line-height: 1.6; }
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 1rem; }
.contact-main { grid-row: span 2; padding: 2.2rem; background: var(--navy-900); color: white; }
.contact-main > svg, .contact-main > .icon-box { color: var(--gold); width: 42px; height: 42px; }
.contact-main h2 { margin: 3rem 0 1rem; font-size: clamp(2rem, 4vw, 3.6rem); word-break: break-word; }
.contact-main > p:last-child { color: #b9c8da; line-height: 1.7; }
.contact-topics { display: grid; gap: 1rem; }
.contact-topics article, .contact-placeholder { padding: 1.4rem; background: white; border: 1px solid var(--border); }
.contact-topics article { display: grid; grid-template-columns: auto 1fr; gap: .3rem 1rem; }
.contact-topics svg, .contact-topics .icon-box { grid-row: span 2; color: var(--blue); }
.contact-topics h2, .contact-topics p { margin: 0; }
.contact-topics h2 { font-size: 1rem; color: var(--navy-900); }
.contact-topics p, .contact-placeholder p { color: var(--muted-foreground); line-height: 1.55; font-size: .86rem; }
.contact-placeholder { background: #fff7df; border-color: #ead697; }
.legal-copy { max-width: 820px; padding: clamp(2rem, 6vw, 5rem); background: white; border: 1px solid var(--border); box-shadow: 0 18px 60px rgba(6,26,52,.07); }
.legal-status { display: flex; justify-content: space-between; gap: 1rem; margin: 0 0 3rem; padding: 1rem; background: #fff3cf; border-left: 4px solid var(--gold); color: #573d05; font-size: .8rem; }
.legal-copy h2 { margin: 2.2rem 0 .7rem; color: var(--navy-900); font-size: 1.35rem; letter-spacing: -.02em; }
.legal-copy p, .legal-copy li { color: #3f4e61; line-height: 1.75; }
.legal-copy mark { padding: .05rem .25rem; background: #fff0bd; color: #5c4108; }
.legal-copy a { color: #005bd4; text-underline-offset: 4px; }
.legal-copy blockquote { margin: 1.4rem 0; padding: 1.2rem 1.4rem; background: #eef5ff; border-left: 4px solid var(--blue); color: var(--navy-900); font-weight: 800; }
.policy-table { overflow-x: auto; border: 1px solid var(--border); }
.policy-table table { width: 100%; border-collapse: collapse; min-width: 640px; }
.policy-table th, .policy-table td { padding: .8rem; text-align: left; border-bottom: 1px solid var(--border); font-size: .84rem; }
.policy-table th { background: var(--navy-900); color: white; }

/* Dual-book series */
.dual-hero { background: radial-gradient(circle at 78% 46%, #0d4c94 0%, #062754 29%, #031226 65%); }
.dual-book-hero { align-self: center; justify-self: end; width: 100%; max-width: 640px; padding-inline: 1rem; }
.dual-book-hero img { width: 100%; border-radius: .9rem; box-shadow: 0 28px 65px rgba(0,0,0,.38); object-fit: contain; object-position: center; }
.dual-book-hero .edition-chip { left: 2.2rem; right: auto; bottom: 1.3rem; }
.dual-book-hero .book-glow { inset: 12% 4%; background: linear-gradient(135deg, #0568f4, #18b9f4); opacity: .45; }
.books-showcase { scroll-margin-top: 72px; }
.book-card-grid { display: grid; gap: 1.4rem; }
.book-feature-card { display: grid; grid-template-columns: minmax(230px,.62fr) 1.38fr; min-height: 480px; background: white; border: 1px solid var(--border); box-shadow: 0 22px 60px rgba(3,18,38,.08); overflow: hidden; }
.book-feature-cover { display: grid; place-items: center; padding: 2.2rem; background: radial-gradient(circle at 50% 36%, #11477c, #04162c 68%); }
.book-meta .book-feature-cover { background: radial-gradient(circle at 50% 36%, #07538c, #020914 70%); }
.book-feature-cover img { width: min(255px,100%); max-height: 390px; object-fit: contain; box-shadow: 0 25px 55px rgba(0,0,0,.45); }
.book-feature-copy { padding: clamp(2rem,4vw,3.5rem); display: flex; flex-direction: column; justify-content: center; }
.book-platform { margin: 0 0 .7rem; color: var(--blue); text-transform: uppercase; letter-spacing: .16em; font-size: .72rem; font-weight: 900; }
.book-meta .book-platform { color: #089ee8; }
.book-feature-copy h2, .inside-book h2 { margin: 0; color: var(--navy-900); font-size: clamp(1.9rem,3.3vw,3.15rem); line-height: 1.02; letter-spacing: -.045em; }
.book-feature-copy > p:not(.book-platform) { color: var(--muted-foreground); line-height: 1.7; }
.book-stats { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.1rem 0 1.25rem; }
.book-stats span { padding: .45rem .7rem; border: 1px solid var(--border); background: var(--paper); color: var(--navy-800); font-size: .76rem; font-weight: 800; }
.book-feature-copy ul, .detail-point-list { list-style: none; margin: 0 0 1.7rem; padding: 0; display: grid; gap: .7rem; }
.book-feature-copy li, .detail-point-list li { display: flex; align-items: flex-start; gap: .65rem; color: var(--navy-800); line-height: 1.5; font-size: .9rem; }
.book-feature-copy li > span, .detail-point-list li > span:first-child { flex: none; color: var(--blue); font-weight: 900; }
.book-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; color: var(--blue); font-weight: 900; text-underline-offset: 4px; }
.listing-status { color: #6c7b8e; font-size: .82rem; font-weight: 800; }
.system-section { background: radial-gradient(circle at 50% 0%, #0c4d97, #061a34 52%, #031226); color: white; }
.principle-grid { display: grid; grid-template-columns: repeat(4,1fr); border-top: 1px solid #31547b; border-left: 1px solid #31547b; }
.principle-grid article { min-height: 235px; padding: 1.5rem; border-right: 1px solid #31547b; border-bottom: 1px solid #31547b; }
.principle-grid article > span { color: var(--gold); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.principle-grid .icon-box { display: grid; width: 34px; height: 34px; margin: 2rem 0 1.25rem; color: #37baf2; }
.principle-grid h3 { margin: 0 0 .65rem; font-size: 1.15rem; }
.principle-grid p { margin: 0; color: #adc0d5; line-height: 1.6; font-size: .88rem; }
.campaign-image { overflow: hidden; border: 1px solid #c8d4e3; background: var(--navy-950); box-shadow: 0 28px 65px rgba(5,27,57,.18); }
.campaign-image img { width: 100%; min-height: 350px; object-fit: cover; object-position: 60% center; }
.purchase-books { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; max-width: 1080px; margin-inline: auto; }
.purchase-book { padding: 1.4rem; background: rgba(7,28,56,.94); border: 1px solid #31547b; }
.purchase-meta { border-color: #1779a7; }
.purchase-book-head { display: grid; grid-template-columns: 92px 1fr; gap: 1.1rem; align-items: center; }
.purchase-book-head img { width: 92px; height: 138px; object-fit: cover; box-shadow: 0 13px 30px rgba(0,0,0,.35); }
.purchase-book-head p { margin: 0 0 .4rem; color: var(--gold); text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; font-weight: 900; }
.purchase-meta .purchase-book-head p { color: #37baf2; }
.purchase-book-head h3 { margin: 0; font-size: 1.6rem; line-height: 1.05; letter-spacing: -.035em; }
.purchase-formats { margin: 1.2rem 0; border-top: 1px solid #31547b; }
.purchase-formats > div { display: grid; grid-template-columns: auto 1fr auto; gap: .7rem; align-items: center; padding: .75rem .2rem; border-bottom: 1px solid #24405f; }
.purchase-formats .icon-box { width: 22px; height: 22px; color: var(--gold); border: 0; }
.purchase-formats span { color: #c5d2e1; font-size: .85rem; }
.purchase-formats strong { font-size: 1rem; }
.purchase-book > a, .purchase-book > button { width: 100%; min-height: 48px; display: flex; align-items: center; justify-content: center; gap: .5rem; border: 1px solid transparent; padding: .65rem 1rem; font-weight: 900; text-decoration: none; }
.purchase-book > a { background: var(--gold); color: var(--navy-950); }
.purchase-book > button { border-style: dashed; border-color: #4d6989; background: #102d50; color: #9fb1c5; cursor: not-allowed; }
.purchase-meta > a { background: #25baf4; }
.inside-book-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.2rem; }
.inside-book { padding: clamp(1.5rem,4vw,2.6rem); background: white; border: 1px solid var(--border); }
.inside-book-head { display: grid; grid-template-columns: 128px 1fr; gap: 1.4rem; align-items: center; padding-bottom: 1.5rem; border-bottom: 1px solid var(--border); }
.inside-book-head img { width: 128px; height: 196px; object-fit: cover; box-shadow: 0 15px 36px rgba(3,18,38,.22); }
.inside-book-head h2 { font-size: clamp(1.6rem,3vw,2.5rem); }
.inside-book-head > div > p:last-child { color: var(--muted-foreground); font-size: .82rem; font-weight: 800; }
.inside-book ol { list-style: none; margin: 1.2rem 0 1.5rem; padding: 0; }
.inside-book li { display: grid; grid-template-columns: 38px 1fr; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid #e5ebf2; }
.inside-book li > span { color: var(--blue); font-size: .72rem; font-weight: 900; letter-spacing: .08em; }
.inside-book h3 { margin: 0; color: var(--navy-900); font-size: 1rem; }
.inside-book > a { display: inline-flex; align-items: center; gap: .45rem; color: var(--blue); font-weight: 900; }

@media (max-width: 900px) {
  .desktop-nav { display: none; }
  .nav-cta { margin-left: auto; }
  .mobile-menu { display: block; }
  .hero-inner { min-height: auto; grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 4rem 0 1rem; }
  .hero h1 { font-size: clamp(3.15rem, 10.5vw, 5.5rem); }
  .hero-book { width: min(620px, 100%); margin-inline: auto; }
  .dual-book-hero { justify-self: center; padding-inline: clamp(.5rem, 3vw, 1rem); }
  .format-preview-inner { grid-template-columns: 1fr; }
  .listing-note { grid-column: 1; }
  .trust-grid, .value-grid, .format-cards, .appendix-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid > p:first-child { padding-left: 1.4rem; }
  .trust-grid > p:nth-child(2) { border-right: 0; }
  .trust-grid > p:last-child { grid-column: 1 / -1; border-top: 1px solid var(--border); padding-left: 1.4rem; }
  .split-heading, .audience-grid, .worksheet-feature, .author-grid, .book-approach-grid, .outcome-grid, .author-page-grid, .resource-cta .shell { grid-template-columns: 1fr; gap: 3rem; }
  .part-card { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .book-feature-card { grid-template-columns: 1fr; }
  .book-feature-cover { padding-block: 3rem; }
  .principle-grid { grid-template-columns: 1fr 1fr; }
  .purchase-books, .inside-book-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .shell { width: min(100% - 28px, 1180px); }
  .header-inner { min-height: 66px; }
  .wordmark > span:last-child { display: none; }
  .nav-cta { display: none; }
  .mobile-menu { margin-left: auto; }
  .hero-copy { padding-top: 3.5rem; }
  .hero h1 { font-size: clamp(2.75rem, 14vw, 4.35rem); }
  .hero-lead { font-size: 1.07rem; }
  .hero-actions { display: grid; }
  .hero-actions a { width: 100%; }
  .hero-points { display: grid; }
  .edition-chip { right: -.2rem; bottom: 1.5rem; }
  .price-row { grid-template-columns: 1fr; }
  .price-row div { border-right: 0; border-bottom: 1px solid var(--border); }
  .price-row div:last-child { border-bottom: 0; }
  .mini-footer .shell { display: grid; }
  .trust-grid, .value-grid, .format-cards, .topic-grid, .appendix-grid, .resource-grid, .author-principles, .contact-grid { grid-template-columns: 1fr; }
  .trust-grid > p { border-right: 0; border-bottom: 1px solid var(--border); padding-inline: 0; }
  .trust-grid > p:first-child, .trust-grid > p:last-child { padding-left: 0; }
  .trust-grid > p:last-child { grid-column: auto; border-top: 0; border-bottom: 0; }
  .section { padding-block: 4rem; }
  .split-heading { gap: 1rem; }
  .value-card { min-height: auto; }
  .audience-section::after { inset: 45% -30% -20% 15%; }
  .worksheet-visual { min-height: 410px; }
  .worksheet-sheet { min-height: 380px; padding: 1.6rem; }
  .sheet-back { transform: translate(14px, 12px) rotate(3deg); }
  .author-monogram { min-height: 280px; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { display: grid; }
  .page-hero-inner { padding-block: 4.5rem; }
  .topic-grid article, .topic-grid article:nth-child(even) { padding: 1.3rem 0; border-right: 0; }
  .cover-panel::before { right: 0; }
  .part-card ol { padding: 1.2rem 1.5rem 1.2rem 3rem; }
  .appendix-grid article { min-height: auto; }
  .resource-card p { min-height: auto; }
  .author-portrait-placeholder { min-height: 420px; }
  .contact-main { grid-row: auto; }
  .legal-copy { padding: 1.4rem; }
  .legal-status { display: grid; }
  .book-feature-card { min-height: auto; }
  .book-feature-cover img { max-height: 400px; }
  .book-feature-copy { padding: 1.7rem; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid article { min-height: auto; }
  .purchase-book-head { grid-template-columns: 76px 1fr; }
  .purchase-book-head img { width: 76px; height: 114px; }
  .inside-book-head { grid-template-columns: 88px 1fr; }
  .inside-book-head img { width: 88px; height: 135px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
