/* PowerProof Home - theme styles. Mobile-first; system fonts for speed. */
:root {
  --forest: #0f2a44;
  --forest-2: #1d4e89;
  --forest-ink: #0a1c2e;
  --sand: #e6edf4;
  --sand-2: #f4f7fa;
  --gold: #f0a500;
  --gold-ink: #8a5a00;
  --charcoal: #1f2933;
  --slate: #475467;
  --sky: #8ec5ff;
  --sky-2: #dbeafe;
  --white: #ffffff;
  --line: #d9e2ec;
  --focus: #0b63ce;

  --bg: var(--white);
  --surface: var(--sand-2);
  --text: var(--charcoal);
  --muted: var(--slate);

  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(15, 42, 68, .06), 0 8px 24px rgba(15, 42, 68, .08);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 1.0625rem/1.65 var(--sans);
  text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--forest-2); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { color: var(--forest-ink); text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); color: var(--forest-ink); line-height: 1.15; letter-spacing: -.01em; margin: 1.6em 0 .5em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); margin-top: 0; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.25rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1.1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 10px; left: 10px; z-index: 1000; width: auto; height: auto; clip: auto; background: var(--white); padding: 10px 16px; border-radius: var(--r-sm); box-shadow: var(--shadow); }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.narrow { max-width: 760px; }

/* ---- header ---- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .96); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--forest-ink); }
.brand__mark { width: 38px; height: 38px; flex: none; }
.brand__name { font-family: var(--serif); font-size: 1.25rem; font-weight: 700; line-height: 1; }
.brand__tag { display: none; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 3px; }
.nav-toggle { display: inline-flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: var(--white); color: var(--forest-ink); font: 600 .95rem var(--sans); padding: 9px 14px; border-radius: 999px; cursor: pointer; }
.nav-toggle__icon, .nav-toggle__icon::before, .nav-toggle__icon::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; position: relative; }
.nav-toggle__icon::before, .nav-toggle__icon::after { content: ""; position: absolute; left: 0; }
.nav-toggle__icon::before { top: -6px; } .nav-toggle__icon::after { top: 6px; }
.primary-nav { display: none; }
.primary-nav.is-open { display: block; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); max-height: calc(100vh - 68px); overflow: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 8px var(--gutter) 20px; }
.primary-nav a { display: block; padding: 12px 4px; font-weight: 600; color: var(--forest-ink); text-decoration: none; border-bottom: 1px solid var(--sand); }
.primary-nav .menu-item--cta a, .primary-nav li:last-child a { color: var(--gold-ink); }
.primary-nav .current-menu-item > a, .primary-nav .current-menu-ancestor > a { color: var(--forest-2); text-decoration: underline; }
@media (min-width: 1080px) {
  .brand__tag { display: block; }
  .nav-toggle { display: none; }
  .primary-nav, .primary-nav.is-open { display: block; position: static; box-shadow: none; border: 0; background: none; max-height: none; overflow: visible; }
  .primary-nav ul { display: flex; flex-wrap: wrap; gap: 2px; padding: 0; justify-content: flex-end; }
  .primary-nav a { border: 0; padding: 8px 9px; font-size: .9rem; border-radius: 999px; }
  .primary-nav a:hover { background: var(--sand-2); }
  .primary-nav li:last-child a { background: var(--forest); color: var(--white); padding: 8px 16px; margin-left: 6px; }
  .primary-nav li:last-child a:hover { background: var(--forest-ink); }
}

/* ---- buttons ---- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 12px 24px; border-radius: 999px; font: 700 1rem/1.2 var(--sans); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn--gold { background: var(--gold); color: var(--forest-ink); }
.btn--gold:hover { background: #ffb81c; color: var(--forest-ink); }
.btn--ghost { border-color: currentColor; color: var(--white); }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); color: var(--white); }
.btn--forest { background: var(--forest); color: var(--white); }
.btn--forest:hover { background: var(--forest-ink); color: var(--white); }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } .btn:hover { transform: none; } }

/* ---- hero ---- */
.hero { position: relative; overflow: hidden; color: var(--white); background: linear-gradient(180deg, #16301f 0%, #0f2a44 45%, #1d4e89 100%); }
.hero__art { position: absolute; inset: auto 0 0 0; width: 100%; height: 62%; pointer-events: none; }
.hero__inner { position: relative; padding: clamp(56px, 10vw, 120px) 0 clamp(140px, 22vw, 240px); max-width: 780px; }
.eyebrow { display: inline-block; font: 700 .78rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.hero h1 { color: var(--white); font-size: clamp(2.4rem, 6.4vw, 4.4rem); }
.hero p.lede { font-size: clamp(1.1rem, 2.2vw, 1.3rem); color: #e8eef6; max-width: 640px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero__promise { margin-top: 26px; font-size: .92rem; color: var(--sky-2); letter-spacing: .02em; }

/* photo hero: full-bleed image, gradient keeps the headline readable on any crop */
.hero--photo { background: #0a1c2e; min-height: min(88vh, 760px); display: flex; align-items: center; }
.hero--photo > .wrap { width: 100%; }
.hero__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero--photo::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(6, 18, 32, .86) 0%, rgba(6, 18, 32, .62) 42%, rgba(6, 18, 32, .12) 75%), linear-gradient(0deg, rgba(6, 18, 32, .55) 0%, rgba(6, 18, 32, 0) 40%); }
.hero--photo .hero__inner { z-index: 2; padding: clamp(96px, 14vw, 160px) 0 clamp(72px, 10vw, 120px); }
.hero--photo h1 { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); }
@media (max-width: 700px) { .hero--photo::before { background: linear-gradient(0deg, rgba(6, 18, 32, .9) 0%, rgba(6, 18, 32, .55) 55%, rgba(6, 18, 32, .35) 100%); } }

/* page banner for hubs and pages with a featured image */
.page-banner { position: relative; min-height: clamp(300px, 42vw, 460px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; background: var(--forest-ink); }
.page-banner__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(6, 18, 32, .88) 0%, rgba(6, 18, 32, .35) 55%, rgba(6, 18, 32, .1) 100%); }
.page-banner__inner { position: relative; z-index: 2; padding-top: 72px; padding-bottom: 40px; }
.page-banner h1 { color: var(--white); margin: 0 0 10px; max-width: 900px; text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
.page-banner__lede { font-size: clamp(1.05rem, 2vw, 1.25rem); color: #e8eef6; max-width: 720px; margin: 0; }
.breadcrumbs--light, .breadcrumbs--light a { color: #dfe8e1; } .breadcrumbs--light { padding: 0 0 14px; font-size: .88rem; font-weight: 600; text-shadow: 0 1px 3px rgba(0, 0, 0, .85), 0 0 14px rgba(0, 0, 0, .6); } .breadcrumbs--light li + li::before { color: rgba(255, 255, 255, .45); }

/* photo hub cards */
.card--photo { padding-top: 0; overflow: hidden; }
.card__photo { display: block; width: calc(100% + 48px); max-width: none; margin: 0 -24px 16px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r) var(--r) 0 0; transition: transform .4s ease; }
.card--photo:hover .card__photo { transform: scale(1.03); }
.card--photo .card__icon { margin-top: -38px; position: relative; z-index: 1; box-shadow: var(--shadow); background: var(--white); }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; }
.entry__content img { height: auto; }
.entry__content figure.pph-figure { margin: 2em 0; }
.entry__content figure.pph-figure img { width: 100%; border-radius: var(--r); aspect-ratio: 16 / 9; object-fit: cover; }
.entry__content figure.pph-figure figcaption { font-size: .85rem; color: var(--muted); margin-top: 8px; }

/* ---- sections ---- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section--sand { background: var(--sand-2); }
.section--forest { background: var(--forest); color: #e8eef6; }
.section--forest h2, .section--forest h3 { color: var(--white); }
.section--forest a { color: var(--gold); }
.section__head { max-width: 720px; margin-bottom: 36px; }
.section__head h2 { margin-top: 0; }
.section__head p { color: var(--muted); font-size: 1.1rem; }
.section--forest .section__head p { color: #cbd8e6; }

.grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.card { position: relative; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.card h3 { margin: 10px 0 8px; font-size: 1.2rem; }
.card h3 a { color: var(--forest-ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.card:hover { border-color: var(--forest-2); }
.card:focus-within { outline: 3px solid var(--focus); outline-offset: 2px; }
.card p { color: var(--muted); margin: 0; font-size: .98rem; }
.card__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--sand); color: var(--forest); }
.card__icon svg { width: 24px; height: 24px; }
.card__meta { margin-top: auto; padding-top: 14px; font-size: .85rem; color: var(--muted); }

/* Start Here journey */
.journey { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 16px; }
@media (min-width: 900px) { .journey { grid-template-columns: repeat(5, 1fr); } }
.journey li { counter-increment: step; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); padding: 20px; position: relative; }
.journey li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: var(--white); font-weight: 700; margin-bottom: 10px; }
.journey h3 { margin: 0 0 6px; font-size: 1.05rem; }
.journey p { margin: 0; font-size: .95rem; color: var(--muted); }
.journey a { font-weight: 700; }

/* posts */
.post-card__img { aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-sm); width: 100%; background: var(--sand); margin-bottom: 8px; }
.post-card__cat { font: 700 .74rem/1 var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--gold-ink); }

/* portal */
.portal { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .portal { grid-template-columns: 1.1fr 1fr; } }
.portal ul.ticks { list-style: none; padding: 0; margin: 20px 0; }
.ticks li { padding-left: 30px; position: relative; margin: 8px 0; }
.ticks li::before { content: ""; position: absolute; left: 0; top: .35em; width: 18px; height: 18px; border-radius: 50%; background: var(--gold) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%2314271d' stroke-width='2.5'/%3E%3C/svg%3E") center/12px no-repeat; }
.panel { background: var(--white); color: var(--text); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); box-shadow: var(--shadow); }

/* trust band */
.trust { display: grid; gap: 20px; }
@media (min-width: 900px) { .trust { grid-template-columns: repeat(3, 1fr); } }
.trust h3 { margin-top: 0; }

/* founder */
.founder { display: grid; gap: 28px; align-items: center; }
@media (min-width: 860px) { .founder { grid-template-columns: 220px 1fr; } }
.founder__photo { width: 200px; height: 200px; border-radius: 50%; background: var(--sand); display: grid; place-items: center; color: var(--forest); overflow: hidden; }

/* newsletter band */
.newsletter-band { display: grid; gap: 24px; align-items: center; }
@media (min-width: 900px) { .newsletter-band { grid-template-columns: 1fr 1fr; } }

/* ---- breadcrumbs ---- */
.breadcrumbs { font-size: .88rem; color: var(--muted); padding-top: 18px; }
.breadcrumbs ol { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.breadcrumbs li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumbs a { color: var(--muted); }

/* ---- articles and pages ---- */
.entry { padding-top: 28px; padding-bottom: 72px; }
.entry__header { max-width: 820px; margin-bottom: 28px; }
.entry__meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--muted); font-size: .92rem; margin-top: 10px; }
.entry__content { max-width: 760px; }
.entry__content > * + h2 { margin-top: 2em; }
.entry__content ul, .entry__content ol { padding-left: 1.3em; }
.entry__content li { margin: .3em 0; }
.entry__content blockquote { margin: 1.5em 0; padding: 4px 0 4px 20px; border-left: 4px solid var(--gold); color: var(--forest-ink); font-family: var(--serif); font-size: 1.2rem; }
.entry__content table { width: 100%; border-collapse: collapse; margin: 1.5em 0; font-size: .96rem; display: block; overflow-x: auto; }
.entry__content th, .entry__content td { border-bottom: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.entry__content th { background: var(--sand-2); color: var(--forest-ink); }
.entry__content img { border-radius: var(--r-sm); }
.entry__content .wp-block-image figcaption { font-size: .85rem; color: var(--muted); }
.entry__featured { margin: 0 0 32px; }
.entry__featured img { width: 100%; border-radius: var(--r); aspect-ratio: 16 / 9; object-fit: cover; }
.note, .owner-review { background: var(--sky-2); border-left: 4px solid var(--sky); padding: 14px 18px; border-radius: var(--r-sm); margin: 1.4em 0; }
.legal-meta { font-size: .9rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; margin-top: 32px; }

.pph-disclosure { display: block; font-size: .9rem; background: var(--sand-2); border: 1px solid var(--line); border-radius: var(--r-sm); padding: 12px 16px; margin: 0 0 1.5em; color: var(--slate); }

.author-box { display: grid; grid-template-columns: 64px 1fr; gap: 16px; align-items: start; background: var(--sand-2); border-radius: var(--r); padding: 20px; margin: 48px 0 24px; max-width: 760px; }
.author-box img { border-radius: 50%; }
.author-box h2 { font-size: 1.1rem; margin: 0 0 4px; }
.author-box p { margin: 0; font-size: .95rem; color: var(--muted); }

.next-step { max-width: 760px; background: var(--forest); color: #e8eef6; border-radius: var(--r); padding: 24px; margin: 24px 0; }
.next-step h2 { color: var(--white); margin: 0 0 8px; font-size: 1.3rem; }

.archive-head { padding-top: 40px; padding-bottom: 8px; }
.pagination { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.pagination .page-numbers { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.pagination .current { background: var(--forest); color: var(--white); border-color: var(--forest); }

/* search form */
.search-form { display: flex; gap: 8px; max-width: 560px; }
.search-form input[type="search"] { flex: 1; min-height: 48px; border: 1px solid var(--line); border-radius: 999px; padding: 0 18px; font: inherit; }

/* FAQ */
.pph-faq { border-bottom: 1px solid var(--line); padding: 4px 0; }
.pph-faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0; }
.pph-faq summary::-webkit-details-marker { display: none; }
.pph-faq summary::after { content: "+"; font-size: 1.5rem; color: var(--forest-2); line-height: 1; }
.pph-faq[open] summary::after { content: "\2212"; }
.pph-faq summary h3 { margin: 0; font-size: 1.1rem; }
.pph-faq__a { padding: 0 0 14px; color: var(--slate); }

/* ---- sticky CTA ---- */
.sticky-cta { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 12px; background: var(--forest-ink); color: var(--white); border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25); font-size: .92rem; transform: translateY(140%); transition: transform .25s ease; }
.sticky-cta.is-visible { transform: none; }
.sticky-cta a.btn { min-height: 40px; padding: 8px 16px; font-size: .9rem; }
.sticky-cta__close { background: none; border: 0; color: #cbd8e6; font-size: 1.4rem; line-height: 1; cursor: pointer; padding: 6px 10px; }
@media (min-width: 760px) { .sticky-cta { left: auto; right: 20px; bottom: 20px; max-width: 460px; } }

/* ---- footer ---- */
.site-footer { background: var(--forest-ink); color: #cbd8e6; padding: 56px 0 32px; font-size: .95rem; }
.site-footer a { color: #e8eef6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: var(--white); }
.footer-grid { display: grid; gap: 28px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h2 { font-family: var(--sans); color: var(--white); font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 12px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin: 6px 0; }
.footer-legal { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; font-size: .85rem; display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between; }
.footer-disclosure { font-size: .85rem; color: #a9bcae; max-width: 560px; }

@media print {
  .site-header, .site-footer, .sticky-cta, .breadcrumbs, .pph-actions, .next-step, .author-box { display: none !important; }
  body { font-size: 12pt; }
}

/* category archives: start-with strip (1.1.3) */
.archive-links { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin: 14px 0 28px; }
.archive-links__label { font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--gold-ink); margin-right: 4px; }
.archive-links a { display: inline-flex; align-items: center; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--sand-2); color: var(--forest); font-weight: 600; font-size: .92rem; text-decoration: none; transition: background .15s, border-color .15s; }
.archive-links a:hover, .archive-links a:focus-visible { background: var(--sand); border-color: var(--forest-2); }

/* 1.1.7: free-book mockups on conversion points */
.newsletter-band__books { display: block; width: 100%; max-width: 520px; height: auto; margin: -10px 0 8px -12px; filter: drop-shadow(0 18px 28px rgba(15, 42, 68, .18)); }
.next-step--books { display: grid; gap: 18px; align-items: center; max-width: 820px; padding: 22px 24px; background: radial-gradient(120% 90% at 0% 0%, rgba(240, 165, 0, .2), transparent 55%), linear-gradient(160deg, #0f2a44, #0a1c2e); }
@media (min-width: 720px) { .next-step--books { grid-template-columns: 280px 1fr; } }
.next-step__media img { display: block; width: 100%; height: auto; }
.next-step__eyebrow { margin: 0 0 4px; font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: #ffd37a; }
.next-step--books h2 { font-family: var(--serif); font-size: 1.45rem; }
.next-step--books strong { color: #fff; }
.next-step__ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 8px; }
.next-step__more { font-size: .9rem; color: #c9d4cc; margin: 0; }
.next-step--books a:not(.btn) { color: #ffd37a; }
.pph-book { display: block; width: 100%; height: auto; margin: -6px auto 6px; filter: drop-shadow(0 16px 24px rgba(15, 42, 68, .16)); }
.pph-book--sm { max-width: 300px; margin: 0 0 10px; }

/* 1.1.8: the bridge only styles its opt-in form on singular views, so the home band styles its own */
.newsletter-band .codex-reach-optin, .newsletter-band .codex-reach-optin * { box-sizing: border-box; }
.newsletter-band .codex-reach-optin { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; }
.newsletter-band .codex-reach-optin-header { display: block; margin: 0 0 14px; }
.newsletter-band .codex-reach-optin-thumb { display: none; }
.newsletter-band .codex-reach-optin-headline { margin: 0; font-family: var(--serif); font-size: 1.3rem; font-weight: 700; color: var(--forest-ink); line-height: 1.2; }
.newsletter-band .codex-reach-optin-description { margin: 6px 0 0; color: var(--slate); font-size: .95rem; }
.newsletter-band .codex-reach-optin-form { display: grid; gap: 12px; margin: 0; }
.newsletter-band .codex-reach-optin-field { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.newsletter-band .codex-reach-optin-field > span { font-size: .9rem; font-weight: 700; color: var(--forest-ink); }
.newsletter-band .codex-reach-optin-field input[type="text"], .newsletter-band .codex-reach-optin-field input[type="email"] { width: 100%; min-height: 48px; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: 12px; background: #fff; font-size: 1rem; }
.newsletter-band .codex-reach-optin-field input:focus { outline: 3px solid rgba(240, 165, 0, .35); outline-offset: 1px; border-color: var(--gold); }
.newsletter-band .codex-reach-optin-consent { display: flex; align-items: flex-start; gap: 10px; font-size: .88rem; color: var(--slate); margin: 0; line-height: 1.4; }
.newsletter-band .codex-reach-optin-consent input { margin-top: 3px; width: 18px; height: 18px; flex: 0 0 auto; accent-color: var(--forest); }
.newsletter-band .codex-reach-optin-submit { min-height: 50px; padding: .8rem 1.2rem; border: 0; border-radius: 999px; background: var(--gold); color: var(--forest-ink); font-weight: 800; font-size: 1rem; cursor: pointer; box-shadow: 0 10px 22px rgba(240, 165, 0, .3); transition: transform .15s ease, background .15s ease; }
.newsletter-band .codex-reach-optin-submit:hover, .newsletter-band .codex-reach-optin-submit:focus-visible { background: #ffb81c; transform: translateY(-1px); }
.newsletter-band .codex-reach-optin-notice { padding: .75rem .9rem; border-radius: 12px; margin: 0 0 12px; }
.newsletter-band .codex-reach-optin-success { background: rgba(22, 163, 74, .1); border: 1px solid rgba(22, 163, 74, .25); }
.newsletter-band .codex-reach-optin-error { background: rgba(220, 38, 38, .1); border: 1px solid rgba(220, 38, 38, .25); color: #7f1d1d; }
@media (min-width: 640px) { .newsletter-band .codex-reach-optin-form { grid-template-columns: 1fr 1fr; } .newsletter-band .codex-reach-optin-consent, .newsletter-band .codex-reach-optin-submit, .newsletter-band .codex-reach-optin-notice { grid-column: 1 / -1; } }
.next-step__media { background: radial-gradient(90% 80% at 50% 40%, #f4f7fa, #e2d3b6); border-radius: 14px; padding: 10px; }
