@font-face { font-family: "Plex Sans"; src: url(/img/IBMPlexSans-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Sans"; src: url(/img/IBMPlexSans-SemiBold.ttf) format("truetype"); font-weight: 600 700; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url(/img/IBMPlexMono-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }

:root {
  --bg: #F6F4EF; --surface: #FFFFFE; --alt: #EDEAE2; --ink: #1B2422; --muted: #5E6B67; --line: #D9D5CB;
  --green: #0B4F4A; --green-ink: #FFFFFE; --tag: #E9B35F; --tag-ink: #1C1A14; --tag-edge: #C8913A;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121917; --surface: #1A2321; --alt: #161E1C; --ink: #E4E7E2; --muted: #9AA7A2; --line: #2C3835;
    --green: #7CC3B5; --green-ink: #0E1A18; --tag: #E2B169; --tag-ink: #1C1A14; --tag-edge: #B98A45;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 18px/1.55 "Plex Sans", system-ui, sans-serif; }
a { color: var(--green); text-underline-offset: 3px; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { line-height: 1.15; margin: 0; font-weight: 600; }
h1 { font-size: clamp(34px, 6vw, 54px); letter-spacing: -0.5px; }
h2 { font-size: clamp(27px, 4vw, 36px); }
h3 { font-size: 21px; }
p { margin: 0; }
code, .mono { font-family: "Plex Mono", ui-monospace, monospace; font-size: 0.9em; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.band { background: var(--surface); }
section { padding: 64px 0; }

.top { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 20px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 22px; color: var(--ink); text-decoration: none; margin-right: auto; }
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.top nav { display: flex; gap: 20px; flex-wrap: wrap; }

/* The rescue tag: manila label, chamfered left end, punched hole. */
.tag { display: inline-block; position: relative; align-self: start; justify-self: start; background: var(--tag); color: var(--tag-ink); font: 500 13px/1 "Plex Mono", ui-monospace, monospace; letter-spacing: 0.06em; text-transform: uppercase; padding: 8px 14px 8px 30px; clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 calc(100% - 10px), 0 10px); }
.tag::before { content: ""; position: absolute; left: 12px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 1.5px rgba(28,26,20,0.35); }
.band .tag::before, .plan .tag::before { background: var(--surface); }

.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 440px), 1fr)); gap: 48px; align-items: center; padding-top: 32px; }
.hero .copy { display: grid; gap: 20px; }
.lead { font-size: 20px; color: var(--muted); }
.ctas { display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 26px; border-radius: 6px; font-weight: 600; text-decoration: none; border: 1px solid var(--green); }
.btn-primary { background: var(--green); color: var(--green-ink); }
.btn-store { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn-ghost { color: var(--green); background: transparent; }
.fine { font-size: 16px; color: var(--muted); }

.player { position: relative; width: 100%; aspect-ratio: 16 / 9; border: 1px solid var(--line); border-radius: 10px; padding: 0; cursor: pointer; overflow: hidden; background: var(--alt) url(/img/video-thumb.jpg) center/cover; box-shadow: 0 18px 50px rgba(27,36,34,0.16); }
.player span { position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 84px; height: 84px; border-radius: 50%; background: var(--green); display: grid; place-items: center; }
.player span::after { content: ""; border-left: 26px solid var(--green-ink); border-top: 16px solid transparent; border-bottom: 16px solid transparent; margin-left: 6px; }
.player:disabled { cursor: default; }
.player:disabled span { display: none; }
.player:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid var(--tag-edge); outline-offset: 3px; }
.player iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.pains { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; margin-top: 28px; }
.pains blockquote { margin: 0; padding: 0 0 0 18px; border-left: 3px solid var(--tag); }
.pains blockquote p { font-size: 19px; }
.pains cite { display: block; margin-top: 8px; font-style: normal; font-size: 15px; color: var(--muted); }

.steps { display: grid; gap: 56px; margin-top: 36px; }
.step { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 32px; align-items: center; }
.step h3 { margin-bottom: 4px; }
.step p { color: var(--muted); margin-top: 8px; }
.shot { margin: 0; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 8px 30px rgba(27,36,34,0.12); }

.private { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; margin-top: 28px; }
.private div { background: var(--surface); border: 1px solid var(--line); border-radius: 10px; padding: 24px; }
.private p { color: var(--muted); margin-top: 6px; }

.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 24px; margin-top: 32px; }
.plan { background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 28px; display: grid; gap: 8px; align-content: start; }
.plan.featured { border: 2px solid var(--green); }
.price { font-size: 40px; font-weight: 600; }
.price small { font-size: 16px; font-weight: 400; color: var(--muted); }
.plan p, .plan li { color: var(--muted); }
.plan ul { margin: 0; padding-left: 20px; }
.plan .btn { margin-top: 12px; }

.faq { max-width: 800px; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { font-weight: 600; font-size: 20px; cursor: pointer; }
details p { color: var(--muted); margin-top: 10px; }

.closing { text-align: center; display: grid; gap: 18px; justify-items: center; }

footer { padding: 32px 0 48px; color: var(--muted); font-size: 16px; }
footer .wrap { display: flex; gap: 12px 20px; flex-wrap: wrap; }

.doc { max-width: 780px; padding-top: 24px; padding-bottom: 64px; }
.doc h1 { font-size: clamp(31px, 5vw, 44px); margin-bottom: 8px; }
.doc h2 { font-size: 26px; margin: 36px 0 10px; }
.doc p + p, .doc ul + p, .doc p + ul { margin-top: 12px; }
.doc .meta { color: var(--muted); }
.doc ul, .doc ol { padding-left: 22px; }
.doc blockquote { margin: 16px 0; padding: 4px 0 4px 18px; border-left: 3px solid var(--tag); }
.doc table { width: 100%; border-collapse: collapse; font-size: 16px; }
.doc th, .doc td { text-align: left; vertical-align: top; padding: 10px 8px; border-bottom: 1px solid var(--line); }
.tablewrap { overflow-x: auto; margin-top: 12px; }

@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
