/* Survival MD free sample. Discount family; real PDF download + page thumbnails + offer. Mobile first. */
:root {
  --night: #0e0a0a;
  --night-2: #1a1111;
  --blood: #b3191e;
  --blood-deep: #6d0e12;
  --ink: #17110f;
  --muted: #6c615b;
  --paper: #fbf7f1;
  --cream: #f3ebe0;
  --line: #e7ddd0;
  --amber: #ffc53d;
  --amber-2: #ffad0d;
  --amber-deep: #b86e00;
  --ok: #1f9d48;
  --display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --sans: "Source Sans 3", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--sans); font-size: 18px; line-height: 1.6; color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, picture { max-width: 100%; display: block; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 16px; }
h1, h2 { margin: 0 0 14px; line-height: 1.04; font-family: var(--display); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 7vw, 3.2rem); }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 800px; }
.hl { color: var(--blood); }
.kick { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--blood); margin-bottom: 12px; }
.kick.light { color: var(--amber); }
.lede { font-size: 1.12rem; color: var(--muted); }
.sec-h { margin-bottom: 28px; }
.sec-h.center { text-align: center; max-width: 760px; margin-left: auto; margin-right: auto; }
section { padding: 64px 0; }

.cta { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 18px 20px; border-radius: 12px; text-decoration: none; text-align: center;
  background: linear-gradient(180deg, var(--amber), var(--amber-2)); color: #1d1300; font-weight: 800; font-size: 1.15rem; line-height: 1.2;
  box-shadow: 0 5px 0 var(--amber-deep), 0 16px 34px rgba(255, 173, 13, .3); transition: transform .15s; }
.cta:hover { transform: translateY(-2px); }
.cta svg { width: 22px; height: 22px; flex: none; }
.dlbtn { display: flex; align-items: center; justify-content: center; gap: 14px; width: 100%; max-width: 480px; padding: 16px 22px; border-radius: 14px; text-decoration: none;
  background: linear-gradient(180deg, #2fbf5d, #1f9d48); color: #fff; font-weight: 800; font-size: 1.3rem; line-height: 1.15; box-shadow: 0 5px 0 #136b30, 0 16px 34px rgba(31, 157, 72, .35); transition: transform .15s; }
.dlbtn:hover { transform: translateY(-2px); }
.dlbtn svg { width: 30px; height: 30px; flex: none; }
.dlbtn small { display: block; font-family: var(--mono); font-size: .72rem; font-weight: 500; opacity: .85; margin-top: 3px; }
.mini { list-style: none; padding: 0; margin: 14px 0 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: .9rem; color: #cbbfb7; }
.mini li { display: flex; align-items: center; gap: 6px; }
.mini svg { width: 17px; height: 17px; color: var(--ok); }

/* hero */
.hero { padding: 44px 0 56px; color: #f6efe9; background: radial-gradient(800px 500px at 25% 45%, rgba(179, 25, 30, .42), transparent 62%), var(--night); }
.hero-grid { display: grid; gap: 34px; align-items: center; }
.hero-book { position: relative; width: min(280px, 64vw); margin: 0 auto; }
.hero-book img { border-radius: 4px 12px 12px 4px; box-shadow: 0 40px 80px rgba(0, 0, 0, .6); transform: perspective(1200px) rotateY(10deg); }
.tag { position: absolute; right: -16px; top: -14px; width: 104px; height: 104px; border-radius: 50%; display: grid; place-items: center; text-align: center; background: #2fbf5d; color: #fff; font-family: var(--display); font-weight: 800; font-size: 1.35rem; line-height: 1; text-transform: uppercase; transform: rotate(10deg); border: 3px dashed rgba(255, 255, 255, .5); box-shadow: 0 10px 24px rgba(31, 157, 72, .45); }
.hero h1 { font-size: clamp(2.5rem, 8.6vw, 4.4rem); }
.hero h1 span { display: block; color: var(--amber); }
.sub { font-size: 1.15rem; color: #dacfc8; }
.sub strong { color: #fff; }

/* thumbnails */
.inside { background: var(--paper); }
.thumbs { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.th { margin: 0; }
.th button { display: block; width: 100%; padding: 6px; background: #fff; border: 1px solid var(--line); border-radius: 8px; cursor: zoom-in; box-shadow: 0 8px 22px rgba(40, 10, 5, .08); transition: transform .2s; }
.th button:hover { transform: translateY(-3px); }
.th img { border-radius: 3px; }
.th figcaption { margin-top: 8px; font-size: .86rem; color: var(--muted); line-height: 1.3; }
.th figcaption b { display: block; font-family: var(--mono); font-size: .72rem; color: var(--blood); }
.offer-th button { border: 3px solid var(--amber-2); box-shadow: 0 10px 28px rgba(255, 173, 13, .35); }
.offer-th figcaption b { color: var(--amber-deep); }
.mid { display: flex; justify-content: center; margin-top: 30px; }

/* next */
.next { background: #fff; border-top: 1px solid var(--line); }
.letter { font-family: var(--serif); font-size: 1.15rem; line-height: 1.7; }
.letter .big { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.8rem, 6vw, 2.6rem); line-height: 1.05; color: var(--blood); border-left: 6px solid var(--blood); padding-left: 16px; margin: 24px 0 0; }

/* offer */
.offer { background: var(--night); color: #f6efe9; }
.offer-grid { display: grid; gap: 30px; align-items: center; }
.offer figure { margin: 0; }
.offer h2 { color: #fff; }
.stack { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 8px; }
.stack li { display: flex; gap: 10px; align-items: flex-start; color: #e6dbd3; }
.stack b { color: #fff; }
.stack svg { width: 20px; height: 20px; flex: none; margin-top: 3px; color: var(--ok); }
.price { display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; margin: 6px 0 18px; }
.price s { font-family: var(--display); font-size: 2rem; color: #a99c94; text-decoration-color: #ff4d42; text-decoration-thickness: 3px; }
.price b { font-family: var(--display); font-size: 4rem; line-height: 1; color: var(--amber); }
.price span { color: #cbbfb7; font-size: .95rem; }
.offer .cta { max-width: 480px; }
.note { margin: 12px 0 0; font-size: .88rem; color: #a99c94; }

/* faq */
.faq-sec h2 { font-size: clamp(1.8rem, 6vw, 2.6rem); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; position: relative; font-weight: 800; font-size: 1.08rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.6rem; color: var(--blood); }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { color: #3c322e; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 70; background: rgba(8, 5, 5, .94); display: flex; align-items: center; justify-content: center; padding: 50px 14px 14px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 100%; width: auto; height: auto; border-radius: 6px; background: #fff; cursor: default; }
.lb-x { position: absolute; top: 6px; right: 10px; width: 44px; height: 44px; border: 0; background: none; color: #fff; font-size: 2.2rem; line-height: 1; cursor: pointer; }

.sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; display: flex; gap: 12px; align-items: center; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(14, 10, 10, .96); color: #fff; transform: translateY(110%); transition: transform .3s; }
.sticky.show { transform: none; }
.sticky .sp { display: flex; align-items: baseline; gap: 8px; white-space: nowrap; }
.sticky .sp s { color: #a99c94; font-size: .9rem; }
.sticky .sp b { font-family: var(--display); font-size: 1.8rem; color: var(--amber); }
.sticky .cta { flex: 1; padding: 13px 12px; font-size: 1rem; box-shadow: 0 3px 0 var(--amber-deep); }

.site-footer { background: #070505; color: #8c7f77; text-align: center; padding: 30px 16px 96px; font-size: .9rem; }
.site-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; margin: 10px 0; }
.site-footer a { color: #c9bdb5; }
.site-footer .fine { font-size: .8rem; max-width: 640px; margin: 10px auto 0; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

@media (min-width: 640px) { .thumbs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) {
  .hero-grid { grid-template-columns: .8fr 1.2fr; gap: 56px; }
  .hero-book { width: 300px; }
  .thumbs { grid-template-columns: repeat(6, 1fr); }
  .offer-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .sticky { display: none; }
  .site-footer { padding-bottom: 30px; }
}
.cards { display: grid; gap: 12px; }
.card { padding: 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; }
.ic { width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: #fdecec; color: var(--blood); margin-bottom: 12px; }
.ic svg { width: 26px; height: 26px; }
.card b { display: block; font-size: 1.15rem; margin-bottom: 4px; }
.card p { margin: 0; color: var(--muted); font-size: .98rem; }
.filecard { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: center; max-width: 760px; margin: 30px auto 0; padding: 18px 20px; background: #fff; border: 2px solid var(--ink); border-radius: 16px; box-shadow: 6px 6px 0 var(--ink); }
.filecard .pdf { width: 48px; height: 48px; color: var(--blood); }
.filecard > div b { display: block; font-size: .98rem; word-break: break-word; }
.filecard > div span { font-family: var(--mono); font-size: .78rem; color: var(--muted); }
.filecard .dlbtn { grid-column: 1 / -1; max-width: none; }
.dlbtn.sm { padding: 12px 18px; font-size: 1.05rem; }
.dlbtn.sm small { display: none; }
@media (min-width: 640px) { .cards { grid-template-columns: 1fr 1fr; } .filecard { grid-template-columns: 48px 1fr auto; } .filecard .dlbtn { grid-column: auto; width: auto; } }
@media (min-width: 960px) { .cards { grid-template-columns: repeat(4, 1fr); } }
.taste { display: grid; gap: 12px; max-width: 980px; margin: 0 auto; }
.tz { padding: 22px 20px; background: #fff; border: 1px solid var(--line); border-radius: 16px; border-top: 4px solid var(--blood); }
.tz b { display: block; font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; margin-bottom: 6px; }
.tz p { margin: 0; color: var(--muted); }
@media (min-width: 760px) { .taste { grid-template-columns: repeat(3, 1fr); } }
