/* Production additions on top of the approved prototype styles */
html { scroll-behavior: smooth; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
.skip-link { position: absolute; left: -9999px; top: 8px; background: #D8B66E; color: #081424; padding: 8px 14px; border-radius: 6px; z-index: 100; font-weight: 700; }
.skip-link:focus { left: 12px; }
.hero { position: relative; overflow: hidden; }
.hero-copy { min-width: 0; }
.hero-mockup-seamless picture { display: block; }
.hero-mockup-seamless img { animation: floatIn .9s ease-out both; }
@keyframes floatIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.optin-card { position: relative; scroll-margin-top: 16px; }
.form-input { transition: border-color .15s, box-shadow .15s; }
.form-input:focus { outline: none; border-color: #C69E4E; box-shadow: 0 0 0 3px rgba(216,182,110,0.35); }
.form-input[aria-invalid="true"] { border-color: #B3261E; box-shadow: 0 0 0 3px rgba(179,38,30,0.12); }
.field-error { color: #B3261E; font-size: 12.5px; font-weight: 600; margin-top: 4px; min-height: 0; }
.field-error:empty { display: none; }
.consent-group { margin: 4px 0 10px; }
.consent-label { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; line-height: 1.5; color: #3E4C5D; cursor: pointer; }
.consent-label input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: #0B192C; }
.consent-label a { color: #0B192C; font-weight: 700; text-decoration: underline; }
.cta-btn { cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, background .12s; }
.cta-btn:hover { background: #E5C57B; transform: translateY(-1px); box-shadow: 0 12px 26px rgba(155,117,44,0.42); }
.cta-btn:focus-visible, .final-cta-btn:focus-visible, .sticky-cta a:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.cta-btn[disabled] { opacity: .7; cursor: progress; transform: none; }
.form-status { font-size: 13px; margin-top: 10px; text-align: center; font-weight: 600; color: #B3261E; }
.form-status:empty { display: none; }
.hp-field { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.success-view { text-align: center; padding: 18px 4px 6px; outline: none; }
.success-view h2 { font-family: 'Source Serif Pro', serif; font-size: 25px; line-height: 1.2; color: var(--navy); margin-bottom: 12px; }
.success-view p { font-size: 15px; color: var(--muted); margin-bottom: 12px; }
.success-view .tip { font-size: 13.5px; background: #F7F2E6; border: 1px solid #E3D3AE; border-radius: 6px; padding: 10px 12px; text-align: left; }
.success-icon { width: 58px; height: 58px; border-radius: 50%; background: #1B7A5A; color: #fff; font-size: 30px; font-weight: 700; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; }
.tool-card, .peek-card { transition: transform .18s ease, box-shadow .18s ease; }
.tool-card:hover, .peek-card:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(11,25,44,0.10); }
.final-cta-btn { transition: transform .12s ease, background .12s; }
.final-cta-btn:hover { background: #E5C57B; transform: translateY(-1px); }
.faq-section { padding: 56px 24px; background: #FFFFFF; border-top: 1px solid var(--border); }
.faq-inner { max-width: 780px; }
.faq-section .sec-head { margin-bottom: 24px; }
.faq-item { border: 1px solid var(--border); border-radius: 8px; background: var(--ivory-soft); margin-bottom: 12px; }
.faq-item summary { cursor: pointer; list-style: none; padding: 16px 48px 16px 18px; font-family: 'Source Serif Pro', serif; font-weight: 700; font-size: 17px; color: var(--navy); position: relative; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; position: absolute; right: 18px; top: 50%; transform: translateY(-50%); color: var(--gold-dark); font-size: 22px; font-weight: 700; }
.faq-item[open] summary::after { content: '–'; }
.faq-item p { padding: 0 18px 16px; font-size: 15px; color: var(--muted); }
.footer .f-links { margin-bottom: 10px; }
.footer a { color: var(--gold); }
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(8,20,36,0.96); border-top: 1px solid rgba(216,182,110,0.4); display: none; }
.sticky-cta a { display: block; text-align: center; background: #D8B66E; color: #081424; font-weight: 700; font-size: 16px; padding: 14px; border-radius: 6px; text-decoration: none; }
@media (max-width: 760px) {
  .sticky-cta:not([hidden]) { display: block; }
  .faq-section { padding: 40px 16px; }
  .success-view h2 { font-size: 22px; }
  .trust-micro { gap: 8px 16px; font-size: 13px; }
  .value-strip { flex-wrap: wrap; gap: 6px; }
  body.has-sticky { padding-bottom: 76px; }
}
@media (min-width: 761px) and (max-width: 1020px) {
  .hero-inner { grid-template-columns: 1fr; max-width: 640px; }
  .peek-grid, .cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* v3 offer layout: hero composition, inside section, page strip, more band */
.hero h1 span em { font-style: italic; }
.hero-visual { position: relative; width: 100%; max-width: 560px; aspect-ratio: 560 / 330; height: auto; margin: 6px 0 18px; }
.hero-visual picture { position: absolute; display: block; }
.hero-visual img { display: block; width: 100%; height: auto; border-radius: 4px; }
.hv-book { left: 4%; top: 6px; width: 37%; transform: rotate(-4deg); z-index: 2; box-shadow: 0 24px 48px rgba(0,0,0,0.55); animation: floatIn .9s ease-out both; }
.hv-extra { left: 36%; top: 0; width: 41%; transform: rotate(3deg); z-index: 1; background: #fff; box-shadow: 0 24px 48px rgba(0,0,0,0.5); border: 1px solid rgba(216,182,110,0.5); animation: floatIn 1.1s ease-out both; }
.hv-tag { position: absolute; right: 2%; top: 36%; z-index: 3; background: #D8B66E; color: #081424; border-radius: 8px; padding: 10px 14px; font-family: 'Source Serif Pro', serif; font-weight: 700; font-size: 20px; line-height: 1.1; box-shadow: 0 10px 24px rgba(0,0,0,0.35); text-align: center; }
.hv-tag span { display: block; font-family: 'Source Sans Pro', sans-serif; font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; margin-bottom: 3px; }
.hero-available { font-size: 15px; line-height: 1.5; color: #DCE3EC; margin-bottom: 16px; max-width: 580px; border-left: 3px solid #C69E4E; padding-left: 12px; }
.hero-available strong { color: #FFFFFF; }
.inside-section { background: #FFFFFF; border-bottom: 1px solid var(--border); }
.inside-note { text-align: center; margin-top: 22px; font-size: 15px; color: var(--muted); font-style: italic; }
.page-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 36px; }
.page-thumb { background: #F0ECE2; border: 1px solid var(--border); border-radius: 10px; padding: 12px; }
.page-thumb img { display: block; width: 100%; border-radius: 4px; box-shadow: 0 6px 16px rgba(11,25,44,0.12); background: #fff; }
.page-thumb figcaption { margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--navy); text-align: center; }
.more-band { text-align: center; }
.more-inner { max-width: 760px; margin: 0 auto; }
.more-inner h2 { font-family: 'Source Serif Pro', serif; font-size: 30px; color: var(--navy); margin-bottom: 10px; }
.more-inner p { font-size: 16.5px; color: var(--muted); }
.optin-card h2 { margin-bottom: 8px; }
@media (max-width: 1020px) { .page-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) {
  /* width:100% is required: abs-positioned <picture> children do not give the box a width,
     and margin-inline:auto on a grid item would otherwise shrink it to 0 (covers invisible). */
  .hero-visual { width: 100%; max-width: 380px; aspect-ratio: 380 / 250; height: auto; margin: 4px auto 16px; }
  .hv-tag { font-size: 17px; padding: 8px 10px; }
  .hero-available { font-size: 14.5px; }
  .page-strip { gap: 12px; }
  .page-thumb { padding: 8px; }
  .page-thumb figcaption { font-size: 12px; }
  .more-inner h2 { font-size: 24px; }
}

/* Mobile: bring the opt-in form right after the headline (form above the fold) */
@media (max-width: 760px) {
  .hero-copy { display: contents; }
  .hero-inner > *, .hero-copy > * { min-width: 0; }
  .pill-kicker { order: 1; justify-self: start; margin-bottom: 0; }
  .hero h1 { order: 2; margin-bottom: 0; }
  .hero-sub { order: 3; margin-bottom: 0; }
  .hero { padding: 16px 16px 36px; } /* 10px less top padding than styles.css mobile (26px) */
  .optin-card { order: 4; padding: 12px 18px 10px; } /* tighter than styles.css mobile (22px 18px 20px), so the CTA fits fully above the 844px fold */
  .hero-visual { order: 5; }
  .hero-available { order: 6; margin-bottom: 0; }
  .trust-micro { order: 7; }
  .hero-inner { gap: 16px; }
}
