/* Mobile is the base layout. Larger screens reuse the existing desktop design. */
@import url('styles.css?v=20261011-mobile');

html { -webkit-text-size-adjust: 100%; scroll-padding-top: 20px; }
[hidden] { display: none !important; }
.button .button-label { min-width: 0; flex: 0 1 auto; font: inherit; line-height: inherit; overflow-wrap: break-word; }
.button > span[aria-hidden] { flex-shrink: 0; }
.deliverable > div { min-width: 0; }
.hero-manuscript { width: min(720px, 100%); margin: 28px auto; }
.hero-manuscript img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border: 1px solid #69513a; border-radius: 6px; background: #1b1510; }
.hero-manuscript figcaption { margin-top: 8px; font: 9px/1.6 var(--mono); color: #999284; }
.hero-video-frame { position: relative; }
.hero-video-frame video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border: 1px solid #69513a; border-radius: 6px; background: #1b1510; }
.vsl-play { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; width: 100%; border: 0; border-radius: 6px; background: #0005; color: #fff; font: 700 clamp(12px, 2.8vw, 18px)/1.4 var(--body); text-shadow: 0 1px 5px #000; cursor: pointer; }
.vsl-play-icon { display: grid; place-items: center; width: clamp(48px, 13vw, 76px); height: clamp(48px, 13vw, 76px); padding-left: 4px; border: 1px solid #ecb488; border-radius: 50%; background: #a33622; font-size: clamp(20px, 5vw, 30px); box-shadow: 0 6px 24px #0006; }
.vsl-play small { display: block; margin-top: 3px; font: 400 11px/1.4 var(--mono); }
.vsl-play:focus-visible { outline: 3px solid #f1c577; outline-offset: 4px; }
.hero-vsl + .button { margin-bottom: 24px; }
.book-preview { width: min(560px, 100%); margin: 22px 0 0; }
.book-preview + .preview-button { margin-top: 16px; }
.preview-button { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; margin-top: 22px; padding: 12px 17px; border: 1px solid #806b43; border-radius: 4px; background: #191916; color: #e8d7ae; font: 600 14px/1.4 var(--body); cursor: pointer; text-align: left; }
.preview-button:hover { background: #30291e; }
.preview-button:focus-visible, .preview-close:focus-visible { outline: 3px solid #bd943d; outline-offset: 4px; }
.preview-button span { font-size: 11px; }
body.preview-open { overflow: hidden; }
.preview-open .mobile-access { visibility: hidden; }
.preview-dialog { width: min(520px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid #76603c; border-radius: 10px; background: #11110f; color: #ede6d8; overflow-y: auto; box-shadow: 0 24px 100px #0009; }
.preview-dialog::backdrop { background: #000d; backdrop-filter: blur(4px); }
.preview-dialog-inner { padding: 18px; }
.preview-header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.preview-header h2 { margin: 4px 0 0; font: 600 25px/1.15 var(--heading); text-transform: none; }
.preview-eyebrow { color: #bda479; font: 9px/1.5 var(--mono); letter-spacing: .1em; }
.preview-close { flex: 0 0 44px; width: 44px; height: 44px; border: 1px solid #574a34; border-radius: 50%; color: #e8d7ae; background: #211e18; font: 28px/1 sans-serif; cursor: pointer; }
.product-motion { display: block; width: 100%; max-height: min(600px, calc(100dvh - 180px)); aspect-ratio: 2 / 3; object-fit: contain; background: #11110f; border-radius: 5px; }
.preview-dialog .preview-note { margin: 12px 0 0; color: #b6ae9f; font: 12px/1.6 var(--body); }
@media (max-width: 359px) { .preview-dialog-inner { padding: 12px; } .preview-header h2 { font-size: 22px; } }

@media (max-width: 899px) {
  .wrap { width: min(760px, calc(100% - 40px)); }
  .reading { width: min(760px, calc(100% - 40px)); }
  .masthead { height: auto; min-height: 64px; gap: 12px; justify-content: space-between; }
  .brand { font: 11px/1.3 var(--mono); letter-spacing: .06em; gap: 6px; flex-shrink: 0; }
  .brand-eye { font-size: 23px; margin-right: 2px; }
  .file-id { display: none; }
  .nav-access { font: 9px/1.5 var(--mono); padding-block: 12px; margin-left: 0; }
  .nav-access span { margin-left: 4px; }
  .hero-inner { padding: 28px 0 30px; }
  .eyebrow { display: block; max-width: 350px; font: 500 9px/1.8 var(--mono); letter-spacing: .02em; margin: 0 auto 20px; text-wrap: balance; }
  .eyebrow > span:first-child { font-size: 13px; }
  .hero h1 { font-size: clamp(29px, 8.2vw, 46px); line-height: 1.08; letter-spacing: -.01em; overflow-wrap: break-word; }
  .headline-red { margin-top: 5px; }
  .hero-revelation { font-size: 18px; line-height: 1.55; margin-top: 20px; text-wrap: pretty; }
  .hero-manuscript { margin-block: 22px; }
  .rule { max-width: 260px; margin-block: 18px; gap: 16px; }
  .rule span { flex: 1; width: auto; }
  .rule i { font-size: 21px; }
  .hero-sub { font-size: 15px; line-height: 1.75; margin-bottom: 24px; }
  .button { width: 100%; max-width: 540px; min-height: 64px; padding: 17px 16px; font-size: 18px; line-height: 1.25; letter-spacing: .025em; gap: 12px; text-align: center; }
  .button > span[aria-hidden] { font-size: 22px; }
  .button:hover { transform: none; }
  .read-on { margin-top: 18px; padding: 8px 0; font: 10px/1.6 var(--mono); letter-spacing: .08em; }
  .read-on span { margin-left: 8px; }
  .hero-index { width: min(760px, calc(100% - 40px)); margin: auto; padding-block: 16px; gap: 10px; font: 8px/1.6 var(--mono); }
  .hero-index span:last-child { display: none; }
  .narrative, .chapter, .archive, .access { padding: 48px 0; }
  .section-code { font: 500 9px/1.6 var(--mono); letter-spacing: .08em; gap: 10px; margin-bottom: 20px; overflow-wrap: anywhere; }
  .section-code > span { font-size: 13px; padding-right: 10px; flex-shrink: 0; }
  h2, .access h2 { font-size: clamp(30px, 8.5vw, 40px); line-height: 1.12; margin-bottom: 24px; overflow-wrap: break-word; }
  .reading > p:not(.section-code) { font-size: 16px; }
  p + p { margin-top: 20px; }
  .statement { margin-top: 28px !important; padding-left: 16px; font-size: 19px !important; line-height: 1.6; }
  .statement strong { margin-top: 6px; }
  .tesla-quote { padding-block: 22px; margin-block: 26px; }
  .tesla-quote figcaption { font-size: 10px; }
  .tesla-quote blockquote { font-size: 24px; line-height: 1.45; }
  .offer-intro { width: 100%; }
  .deliverables { margin-top: 28px; }
  .deliverable { grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 26px 0; }
  .item-number { display: flex; align-items: center; gap: 12px; font: 11px/1.5 var(--mono); padding-top: 0; }
  .item-number span { display: inline; font-size: 22px; line-height: 1; margin-top: 0; }
  .item-label { font: 500 9px/1.7 var(--mono); letter-spacing: .06em; margin-bottom: 10px; }
  .deliverable h3 { font-size: clamp(27px, 7.5vw, 33px); line-height: 1.15; margin-bottom: 14px; overflow-wrap: break-word; }
  .deliverable h3 br { display: none; }
  .deliverable > div > p:not(.item-label) { font-size: 16px; }
  .optional { padding-bottom: 0; }
  .deliverable .optional-note { font-size: 11px !important; line-height: 1.8 !important; margin-top: 16px !important; padding-left: 12px; }
  .price-area { margin-block: 28px; }
  .price { font-size: 100px; line-height: 1; margin-block: 14px; }
  .price > span:first-child { font-size: 36px; padding-top: 12px; }
  .price > span:nth-child(2) { font-size: 55px; }
  .currency-note { line-height: 1.8; }
  .checkout-button { max-width: 660px; font-size: 19px; }
  .guarantee { gap: 12px; margin-top: 28px; padding-top: 24px; }
  .guarantee-icon { flex-shrink: 0; width: 44px; height: 51px; font-size: 32px; line-height: 46px; }
  .guarantee p { font-size: 12px; line-height: 1.6; }
  footer { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; padding: 30px 0 calc(100px + env(safe-area-inset-bottom, 0px)); }
  footer p { font-size: 11px; line-height: 1.8; }
  .mobile-access { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; left: 12px; right: 12px; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); padding: 14px 18px; font-size: 17px; line-height: 1.3; }
  .mobile-access span { flex-shrink: 0; }
}

@media (max-width: 359px) {
  .wrap, .reading, .hero-index { width: calc(100% - 32px); }
  .brand { font-size: 10px; gap: 4px; }
  .brand-eye { font-size: 19px; }
  .nav-access { font-size: 8px; }
  .button { font-size: 17px; padding-inline: 12px; gap: 8px; }
  .guarantee p span { display: none; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .wrap, .reading, .hero-index { width: min(760px, calc(100% - 64px)); }
  .hero-inner { padding-top: 44px; }
  .hero-revelation { font-size: 21px; }
  .hero-sub { font-size: 17px; }
  .narrative, .chapter, .archive, .access { padding-block: 64px; }
  .reading > p:not(.section-code) { font-size: 18px; }
  .deliverable { grid-template-columns: 70px minmax(0, 1fr); gap: 24px; padding-block: 32px; }
  .item-number { display: block; padding-top: 5px; }
  .item-number span { display: block; margin-top: 18px; font-size: 30px; }
  .offer-intro { width: min(760px, 100%); }
}

@media (min-width: 900px) { .mobile-access { display: none; } }
