/* Survival MD new edition. Discount family; edition timeline, new-features gallery, comparison table. 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; }
.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; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
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; }

/* hero + timeline */
.hero { padding: 44px 0 60px; color: #f6efe9; background: radial-gradient(900px 520px at 75% 60%, rgba(179, 25, 30, .4), transparent 62%), var(--night); }
.hero-h { text-align: center; max-width: 860px; margin: 0 auto 36px; }
.hero h1 { font-size: clamp(2.5rem, 8.6vw, 4.6rem); }
.hero h1 span { display: block; color: var(--amber); }
.sub { font-size: 1.15rem; color: #dacfc8; }
.evo { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; max-width: 1000px; margin: 0 auto; }
.ed { margin: 0; text-align: center; }
.ed-n { display: inline-block; font-family: var(--mono); font-size: .76rem; text-transform: uppercase; color: #a99c94; margin-bottom: 10px; }
.ed-img img { margin: 0 auto; border-radius: 4px; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.ed.old .ed-img img { width: 80%; filter: saturate(.7) brightness(.85); }
.ed.new { grid-column: 1 / -1; }
.ed.new .ed-n { color: #1d1300; background: var(--amber); padding: 3px 10px; border-radius: 5px; font-weight: 600; }
.ed.new .ed-img img { width: min(280px, 70%); box-shadow: 0 30px 60px rgba(0, 0, 0, .6), 0 0 0 3px var(--amber); }
.ed figcaption { margin-top: 12px; display: flex; flex-direction: column; align-items: center; line-height: 1; }
.ed figcaption b { font-family: var(--display); font-size: 2.6rem; color: #fff; }
.ed.new figcaption b { font-size: 3.6rem; color: var(--amber); }
.ed figcaption span { font-size: .8rem; color: #a99c94; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; margin-top: 4px; }
.arrow { display: none; font-size: 2.4rem; color: var(--amber); align-self: center; }

/* story */
.story { background: #fff; }
.letter { font-family: var(--serif); font-size: 1.15rem; line-height: 1.7; }
.letter strong { font-family: var(--sans); }

/* new features */
.newfeat { background: var(--paper); }
.nws { display: grid; gap: 16px; }
.nw { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.nw img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.nw figcaption { padding: 16px 18px 18px; }
.nw b { display: block; font-family: var(--display); text-transform: uppercase; font-size: 1.5rem; line-height: 1.1; margin-bottom: 4px; }
.nw span { color: var(--muted); font-size: .97rem; }

/* compare */
.compare { background: var(--cream); }
.tbl-wrap { max-width: 900px; margin: 0 auto; overflow-x: auto; border-radius: 16px; background: #fff; box-shadow: 0 18px 50px rgba(40, 10, 5, .12); }
table { width: 100%; min-width: 540px; border-collapse: collapse; font-size: .97rem; }
th, td { padding: 13px 14px; border-top: 1px solid var(--line); text-align: center; }
thead th { border-top: 0; font-family: var(--display); font-size: 1.15rem; text-transform: uppercase; background: #faf6ef; }
thead th.us { background: var(--night); color: var(--amber); }
tbody th { text-align: left; font-weight: 700; }
td { color: var(--muted); }
td.us { background: #fff8e6; color: var(--ink); font-weight: 800; }
.yes svg { width: 22px; height: 22px; color: var(--ok); display: inline-block; vertical-align: middle; }
.no { color: #c8bdb3; font-size: 1.4rem; font-weight: 800; }

/* offer */
.offer { background: var(--night); color: #f6efe9; }
.offer-grid { display: grid; gap: 30px; align-items: center; }
.offer figure { margin: 0; }
.offer h2 { color: #fff; }
.offer p { color: #dacfc8; }
.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: 460px; }
.mini { list-style: none; padding: 0; margin: 16px 0 0; display: grid; gap: 8px; color: #cbbfb7; font-size: .95rem; }
.mini li { display: flex; gap: 8px; align-items: center; }
.mini svg { width: 18px; height: 18px; color: var(--ok); }

/* 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; }

.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) { .nws { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) {
  .evo { grid-template-columns: 1fr auto 1fr auto 1.25fr; gap: 20px; }
  .ed.new { grid-column: auto; }
  .arrow { display: block; }
  .ed.new .ed-img img { width: 100%; }
  .nws { grid-template-columns: repeat(4, 1fr); }
  .offer-grid { grid-template-columns: 1fr 1fr; gap: 56px; }
  .sticky { display: none; }
  .site-footer { padding-bottom: 30px; }
}

/* hype */
.hype { background: var(--night); color: #f6efe9; }
.hype h2 { color: #fff; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; max-width: 1000px; margin: 0 auto; }
.st { text-align: center; padding: 20px 10px; border-radius: 14px; background: var(--night-2); border: 1px solid #3a2626; }
.st b { display: block; font-family: var(--display); font-size: 3rem; line-height: 1; color: var(--amber); }
.st span { font-size: .85rem; color: #cbbfb7; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; }
.hype-p { max-width: 720px; margin: 26px auto 0; text-align: center; font-size: 1.15rem; color: #dacfc8; }
.hype-p strong { color: var(--amber); }
/* gallery */
.gallery { background: #fff; }
.igs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ig { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.ig button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.ig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .4s ease; }
.ig button:hover img { transform: scale(1.04); }
.ig figcaption { padding: 10px 12px 12px; }
.ig b { display: block; font-size: .98rem; line-height: 1.25; }
.ig span { display: block; font-size: .85rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.g-cta { max-width: 460px; margin: 30px auto 0; }
.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: 8px; 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; }
@media (min-width: 640px) { .stats { grid-template-columns: repeat(3, 1fr); } .igs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 960px) { .stats { grid-template-columns: repeat(6, 1fr); } .igs { grid-template-columns: repeat(4, 1fr); gap: 14px; } }
@media (max-width: 639px) {
  table { min-width: 0; font-size: .86rem; }
  th, td { padding: 10px 6px; }
  tbody th { width: 46%; }
  thead th { font-size: .95rem; }
  .yes svg { width: 20px; height: 20px; }
}
