/* Wildlife Engine website. One stylesheet for every page. */
:root {
  color-scheme: light;
  --ground: #eef1ec;
  --paper: #f8faf6;
  --raised: #ffffff;
  --ink: #1b2620;
  --muted: #4f5d54;
  --line: #d3dbd3;
  --accent: #0b6fa4;        /* kingfisher blue */
  --accent-hover: #095a86;
  --accent-ink: #ffffff;
  --star: #a8700f;          /* ochre */
  --keep: #2f7d4f;
  --reject: #a4443b;
  --shadow: 0 1px 0 var(--line), 0 24px 48px -32px rgba(11, 60, 40, 0.5);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
  --radius: 10px;
  --gutter: 20px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --ground: #0e1511; --paper: #151e19; --raised: #1a241e; --ink: #e3eae4; --muted: #a2b0a6; --line: #29352e;
    --accent: #5ab8e8; --accent-hover: #7fc9ef; --accent-ink: #06202f; --star: #e0a73a; --keep: #5cc28a; --reject: #e0776c;
    --shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(0, 0, 0, 0.8);
  }
}
:root[data-theme="dark"] {
  color-scheme: dark;
  --ground: #0e1511; --paper: #151e19; --raised: #1a241e; --ink: #e3eae4; --muted: #a2b0a6; --line: #29352e;
  --accent: #5ab8e8; --accent-hover: #7fc9ef; --accent-ink: #06202f; --star: #e0a73a; --keep: #5cc28a; --reject: #e0776c;
  --shadow: 0 1px 0 var(--line), 0 24px 48px -28px rgba(0, 0, 0, 0.8);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.6 var(--body); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 3px; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--display); font-stretch: 118%; line-height: 1.1; text-wrap: balance; margin: 0; }
h1 { font-size: clamp(2.2rem, 5.4vw, 3.8rem); font-weight: 800; letter-spacing: -0.01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); font-weight: 750; }
h3 { font-size: 1.12rem; font-weight: 700; font-stretch: 112%; }
p { margin: 0; max-width: 64ch; }
ul, ol { margin: 0; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding-inline: var(--gutter); }
.muted { color: var(--muted); }
.small { font-size: 0.875rem; }
.eyebrow { font: 500 0.75rem/1.2 var(--mono); letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--accent); color: var(--accent-ink); padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 11px 20px; border-radius: 8px;
  font: 600 0.97rem/1.2 var(--body); border: 1px solid var(--accent); text-decoration: none; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.primary { background: var(--accent); color: var(--accent-ink); }
.btn.primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--accent-ink); }
.btn.ghost { background: transparent; color: var(--accent); }
.btn.ghost:hover { background: color-mix(in srgb, var(--accent) 12%, transparent); }
.btn.block { width: 100%; }
.cta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--ground) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; }
.site-head.scrolled { border-bottom-color: var(--line); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font: 800 1.12rem/1 var(--display); font-stretch: 125%; }
.brand img { width: 30px; height: 30px; }
.brand span { color: var(--accent); }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--ink); text-decoration: none; font-size: 0.95rem; padding-block: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--accent); }
.nav .btn, .nav .btn[aria-current="page"] { min-height: 40px; padding: 8px 16px; color: var(--accent-ink); }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--ink); border-radius: 8px; width: 44px; height: 44px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn svg { width: 22px; height: 22px; }

/* Hero */
.hero { padding-block: 56px 80px; display: flex; flex-direction: column; gap: 48px; align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center; max-width: 860px; }
.hero-copy .lede { max-width: 640px; }
.hero-copy .cta, .hero-copy .trust { justify-content: center; }
.hero figure { width: 100%; max-width: 1100px; }
.hero .caption { text-align: center; }
.lede { font-size: 1.15rem; color: var(--muted); }
.trust { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: 0.9rem; color: var(--muted); list-style: none; padding: 0; }
.trust li { display: inline-flex; align-items: center; gap: 6px; }
.trust svg { width: 16px; height: 16px; color: var(--keep); flex: none; }
.shot { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow); background: #111; }
.shot img { width: 100%; }
.caption { font-size: 0.82rem; color: var(--muted); margin-top: 10px; }

/* Sections */
section.band { padding-block: 80px; border-top: 1px solid var(--line); }
.band-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.band-head.center { align-items: center; text-align: center; }
.band-head.center p { margin-inline: auto; }

/* Photo strip: the problem, in pictures */
.strip { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 12px; }
.strip figure { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--paper); }
.strip img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3 / 2; }
.strip figure:first-child { grid-row: span 2; }
.strip figure:first-child img { aspect-ratio: auto; }
.tag { position: absolute; left: 10px; bottom: 10px; display: inline-flex; gap: 8px; align-items: center; padding: 5px 10px; border-radius: 6px;
  background: rgba(10, 16, 13, 0.78); color: #f1f5f2; font: 500 0.78rem/1.2 var(--mono); }
.tag .stars { color: #f0b84a; letter-spacing: 0.06em; }
.tag .keep { color: #7fd1a0; }
.tag .rej { color: #f19a90; }

/* Steps */
.steps { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; counter-reset: s; }
.steps li { display: flex; flex-direction: column; gap: 10px; counter-increment: s; }
.steps li::before { content: counter(s); font: 600 0.85rem/1 var(--mono); color: var(--accent); border: 1px solid var(--accent); border-radius: 50%;
  width: 30px; height: 30px; display: grid; place-items: center; }

/* Feature grid */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 10px; }
.feature .ico { width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center; color: var(--accent); background: color-mix(in srgb, var(--accent) 12%, transparent); }
.feature .ico svg { width: 22px; height: 22px; }

/* Split section with facts */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.split .copy { display: flex; flex-direction: column; gap: 14px; }
.facts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.facts div { background: var(--paper); padding: 18px; display: flex; flex-direction: column; gap: 4px; }
.facts b { font: 600 1.7rem/1.1 var(--mono); font-variant-numeric: tabular-nums; }
.facts span { font-size: 0.88rem; color: var(--muted); }
.fine { font-size: 0.82rem; color: var(--muted); margin-top: 12px; }
.named { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.named li { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.named em { color: var(--muted); font-size: 0.85rem; }
.photo-card { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--paper); }
.photo-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.photo-card .body { padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; }

/* Works with */
.logos { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; }
.logos li { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 6px 14px; font-size: 0.9rem; }

/* Pricing */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; position: relative; }
.plan.main { border: 2px solid var(--accent); box-shadow: var(--shadow); }
.plan .badge { position: absolute; top: -12px; left: 24px; background: var(--accent); color: var(--accent-ink); font: 600 0.75rem/1 var(--body); padding: 6px 10px; border-radius: 999px; }
.price { font: 600 2.4rem/1 var(--mono); font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.price small { font: 400 0.9rem var(--body); color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; font-size: 0.95rem; flex: 1; }
.plan li { display: flex; gap: 8px; align-items: flex-start; }
.plan li svg { width: 18px; height: 18px; color: var(--keep); flex: none; margin-top: 3px; }
.plan .btn { margin-top: 4px; }
.guarantee { max-width: none; display: flex; gap: 12px; align-items: center; justify-content: center; text-align: center; margin-top: 28px; color: var(--muted); font-size: 0.95rem; flex-wrap: wrap; }
.guarantee svg { width: 20px; height: 20px; color: var(--keep); }

/* Compare table */
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
table { border-collapse: collapse; width: 100%; min-width: 520px; font-size: 0.95rem; }
th, td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
th { font-weight: 600; font-size: 0.85rem; color: var(--muted); }
td:not(:first-child), th:not(:first-child) { text-align: center; }
tr:last-child td { border-bottom: none; }
.yes { color: var(--keep); font-weight: 600; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 820px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; padding-block: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.4rem/1 var(--mono); color: var(--accent); flex: none; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 18px; color: var(--muted); }

/* Final call to action */
.closing { position: relative; border-radius: 14px; overflow: hidden; min-height: 380px; display: flex; align-items: flex-end; color: #f3f6f4; }
.closing img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.closing::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 14, 11, 0.86) 0%, rgba(8, 14, 11, 0.55) 55%, rgba(8, 14, 11, 0.1) 100%); }
.closing .inner { position: relative; z-index: 1; padding: 40px; display: flex; flex-direction: column; gap: 16px; max-width: 560px; }
.closing p { color: #d3ddd6; }
.closing .btn.primary { background: #5ab8e8; border-color: #5ab8e8; color: #06202f; }
.closing .btn.ghost { color: #f3f6f4; border-color: rgba(243, 246, 244, 0.6); }

/* Download page */
.dl-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.dl { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.dl.main { border: 2px solid var(--accent); }
.dl svg.os { width: 34px; height: 34px; color: var(--ink); }
.dl .btn[aria-disabled="true"] { opacity: 0.55; pointer-events: none; border-color: var(--line); color: var(--muted); }
.req { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 0.92rem; color: var(--muted); }

/* Text pages (privacy, terms, refunds) */
.page-head { padding-block: 56px 32px; display: flex; flex-direction: column; gap: 12px; }
.prose { max-width: 760px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 14px; }
.prose h2 { font-size: 1.35rem; margin-top: 22px; }
.prose ul { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
.prose p, .prose li { color: var(--ink); }
.callout { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--accent); border-radius: 8px; padding: 16px 18px; }

/* Footer */
.site-foot { border-top: 1px solid var(--line); padding-block: 48px 40px; font-size: 0.9rem; color: var(--muted); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 28px; }
.foot-grid h3 { font: 600 0.8rem/1.2 var(--mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink); margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.foot-grid a { color: var(--muted); text-decoration: none; }
.foot-grid a:hover { color: var(--accent); }
.foot-base { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }

@media (max-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 32px 56px; gap: 32px; }
  .steps { grid-template-columns: 1fr 1fr; }
  .features, .plans, .dl-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  :root { --gutter: 16px; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ground); border-bottom: 1px solid var(--line); padding: 8px var(--gutter) 16px; }
  .nav.open { display: flex; }
  .nav a { padding-block: 12px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 12px; border-bottom: 1px solid var(--accent); }
  section.band { padding-block: 56px; }
  .strip { grid-template-columns: 1fr 1fr; }
  .strip figure:first-child { grid-column: span 2; grid-row: auto; }
  .strip figure:first-child img { aspect-ratio: 3 / 2; }
  .steps, .features, .plans, .dl-grid, .facts { grid-template-columns: 1fr; }
  .closing .inner { padding: 24px; }
  .closing::after { background: linear-gradient(0deg, rgba(8, 14, 11, 0.9) 0%, rgba(8, 14, 11, 0.5) 70%, rgba(8, 14, 11, 0.2) 100%); }
}
@media (max-width: 480px) {
  .foot-grid { grid-template-columns: 1fr; }
  .cta .btn { width: 100%; }
}

/* Help page: video with chapters, then the written guide */
.help-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.help-tabs a { border: 1px solid var(--line); background: var(--paper); border-radius: 999px; padding: 8px 16px; text-decoration: none; color: var(--ink); font-size: 0.95rem; }
.help-tabs a:hover { border-color: var(--accent); color: var(--accent); }
.video-block { display: grid; grid-template-columns: minmax(0, 340px) 1fr; gap: 40px; align-items: start; }
.video { position: relative; width: 100%; aspect-ratio: 720 / 1710; border-radius: 18px; overflow: hidden; background: #0b0f0d; border: 1px solid var(--line); box-shadow: var(--shadow); }
.video img, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video button.play { position: absolute; inset: 0; width: 100%; border: 0; padding: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.video button.play span { width: 76px; height: 76px; border-radius: 50%; background: rgba(10, 16, 13, 0.82); display: grid; place-items: center; transition: transform .18s; }
.video button.play:hover span { transform: scale(1.06); }
.video button.play svg { width: 30px; height: 30px; color: #fff; margin-left: 4px; }
.chapters { list-style: none; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 0 24px; border-top: 1px solid var(--line); }
.chapters li { border-bottom: 1px solid var(--line); }
.chapters button { width: 100%; display: flex; gap: 14px; align-items: baseline; padding: 11px 0; background: none; border: 0; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.chapters button:hover { color: var(--accent); }
.chapters .t { font: 500 0.85rem var(--mono); color: var(--accent); min-width: 3.2em; }
.guide { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 48px; align-items: start; }
.toc { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 2px; font-size: 0.9rem; }
.toc a { color: var(--muted); text-decoration: none; padding: 5px 10px; border-left: 2px solid var(--line); }
.toc a:hover { color: var(--accent); border-left-color: var(--accent); }
.guide .prose { padding-bottom: 0; }
.guide .prose h2 { scroll-margin-top: 84px; }
.guide .prose h3 { font-size: 1.05rem; margin-top: 10px; }
.guide .table-wrap table { min-width: 460px; }
.guide .table-wrap td:not(:first-child), .guide .table-wrap th:not(:first-child) { text-align: left; }
.guide ol { padding-left: 22px; display: flex; flex-direction: column; gap: 6px; }
kbd { font: 500 0.82em var(--mono); border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 1px 6px; background: var(--paper); }
@media (max-width: 960px) {
  .video-block { grid-template-columns: minmax(0, 1fr); }
  .video { max-width: 340px; margin-inline: auto; }
  .guide { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 6px; }
  .toc a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; }
}
@media (max-width: 560px) { .chapters { grid-template-columns: 1fr; } .guide .table-wrap table { min-width: 0; } .guide th, .guide td { padding: 10px 12px; } }
.region-line { display: flex; gap: 10px 16px; align-items: center; justify-content: center; flex-wrap: wrap; max-width: none; margin-top: 12px; font-size: 0.92rem; color: var(--muted); }
.region-line label { display: inline-flex; gap: 8px; align-items: center; }
.region-line select { font: inherit; color: var(--ink); background: var(--paper); border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; min-height: 40px; max-width: 220px; cursor: pointer; }
