/* TrailTruth download page */
:root {
  --bg: #f7f5ef; --fg: #17201a; --muted: #56605a; --card: #ffffff; --line: #e3dfd3;
  --accent: #1f5a3a; --accent-fg: #ffffff; --accent-soft: #e4efe7; --warm: #b4541f; --warn-bg: #fff4d6; --warn-fg: #4a3800;
  --shadow: 0 1px 2px rgba(23,32,26,.06), 0 8px 24px rgba(23,32,26,.08);
  --r: 18px;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0f1411; --fg: #e9eee9; --muted: #a3ada6; --card: #18201b; --line: #2a342d; --accent: #7fc79b; --accent-fg: #0b1a10;
    --accent-soft: #1b2b21; --warm: #f0a35e; --warn-bg: #2d2610; --warn-fg: #f3d98a; --shadow: 0 1px 2px rgba(0,0,0,.4), 0 8px 24px rgba(0,0,0,.35); color-scheme: dark; }
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--fg); font: 17px/1.55 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; -webkit-font-smoothing: antialiased; }
a { color: var(--accent); }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--card); padding: 8px 12px; z-index: 10; }
.skip:focus { left: 8px; }

.top { position: sticky; top: 0; z-index: 5; background: color-mix(in srgb, var(--bg) 85%, transparent); backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px); border-bottom: 1px solid var(--line); padding-top: env(safe-area-inset-top); }
.row { display: flex; align-items: center; justify-content: space-between; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 19px; color: var(--fg); text-decoration: none; letter-spacing: -.01em; }
.brand img { border-radius: 8px; }
.pill { background: var(--accent); color: var(--accent-fg); text-decoration: none; font-weight: 650; font-size: 15px; padding: 10px 16px; border-radius: 999px; min-height: 44px; display: inline-flex; align-items: center; }

.hero { padding: 48px 0 40px; }
.heroGrid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-weight: 700; font-size: 15px; }
h1 { font-size: clamp(34px, 5.4vw, 56px); line-height: 1.06; letter-spacing: -.025em; margin: 0 0 18px; }
h2 { font-size: clamp(26px, 3.6vw, 36px); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 10px; }
h3 { font-size: 18px; margin: 0 0 6px; letter-spacing: -.01em; }
.lede { font-size: 19px; color: var(--muted); margin: 0 0 26px; max-width: 34em; }
.ctaRow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }
.note { color: var(--muted); font-size: 15px; }
.places { margin: 22px 0 0; color: var(--muted); font-size: 15px; }
.places b { color: var(--fg); }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 14px 24px; border-radius: 14px; font-weight: 700; font-size: 17px; text-decoration: none; border: 0; cursor: pointer; }
.btn.primary { background: var(--accent); color: var(--accent-fg); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn.big { width: 100%; min-height: 58px; font-size: 19px; }

.phone { margin: 0; justify-self: center; width: 100%; max-width: 300px; }
.phone img { display: block; width: 100%; height: auto; border-radius: 36px; border: 8px solid #111; box-shadow: var(--shadow), 0 30px 60px rgba(23,32,26,.18); background: #111; }
.phone figcaption { text-align: center; color: var(--muted); font-size: 15px; margin-top: 12px; }

section { padding: 56px 0; }
.sub { color: var(--muted); margin: 0 0 26px; max-width: 40em; }
.get { background: var(--accent-soft); }
.getCard { background: var(--card); border-radius: 24px; box-shadow: var(--shadow); padding: 28px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: center; }
#getPhone { grid-template-columns: 1fr; gap: 18px; }
.qrBox { background: #fff; border-radius: 16px; padding: 14px; border: 1px solid var(--line); }
.qr { width: 220px; height: 220px; }
.qr svg { display: block; width: 100%; height: 100%; }
.bigSteps { margin: 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 16px; }
.bigSteps li { counter-increment: s; position: relative; padding-left: 50px; min-height: 36px; font-size: 18px; }
.bigSteps li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--accent); color: var(--accent-fg);
  display: grid; place-items: center; font-weight: 800; font-size: 16px; }
.ico svg { width: 20px; height: 20px; vertical-align: -3px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tabs { display: flex; gap: 6px; background: var(--accent-soft); padding: 4px; border-radius: 12px; }
.tabs button { flex: 1; min-height: 44px; border: 0; border-radius: 9px; background: transparent; font: inherit; font-weight: 650; color: var(--muted); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--card); color: var(--fg); box-shadow: 0 1px 3px rgba(0,0,0,.12); }
.tip { color: var(--muted); font-size: 15px; margin: 0; }
.tip.center { text-align: center; margin-top: 20px; }
.linkBtn { border: 0; background: none; padding: 0; font: inherit; color: var(--accent); font-weight: 700; text-decoration: underline; cursor: pointer; min-height: 24px; }

.featGrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 26px; }
.feat { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.feat p { margin: 0; color: var(--muted); font-size: 15.5px; }
.fi { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent); font-weight: 800; font-size: 20px; margin-bottom: 14px; }
.shots { background: var(--card); }
.shotRow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 30px; }
.checks { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 14px; }
.checks li { padding-left: 34px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M6 12.5l4 4 8-9" fill="none" stroke="%231f5a3a" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') center/14px no-repeat; }
.warn { background: var(--warn-bg); color: var(--warn-fg); border-radius: 14px; padding: 16px 18px; margin: 0; }
.foot { padding: 28px 0 calc(28px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; border-top: 1px solid var(--line); }
.foot p { margin: 4px 0; }

@media (max-width: 900px) {
  .featGrid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .hero { padding: 28px 0 24px; }
  .heroGrid { grid-template-columns: 1fr; gap: 28px; }
  .heroPhone { max-width: 250px; }
  .lede { font-size: 17px; }
  .wrap { padding: 0 16px; }
  section { padding: 40px 0; }
  .getCard { grid-template-columns: 1fr; padding: 20px; gap: 20px; }
  .qrBox { justify-self: center; }
  .featGrid { grid-template-columns: 1fr; gap: 12px; }
  .feat { display: grid; grid-template-columns: 44px 1fr; gap: 0 14px; padding: 16px; }
  .feat .fi { grid-row: span 2; margin: 0; }
  .shotRow { grid-template-columns: 1fr; gap: 36px; }
  .shotRow .phone { max-width: 260px; }
  .bigSteps li { font-size: 17px; }
}

.cases { background: var(--bg); }
.caseGrid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 8px; }
.case { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 10px; }
.case p { margin: 0; }
.caseMeta { font-weight: 750; font-size: 18px; letter-spacing: -.01em; }
.caseMeta span { font-weight: 500; color: var(--muted); font-size: 15px; }
.caseFix { background: var(--accent-soft); border-radius: 12px; padding: 12px 14px; font-size: 15.5px; }
.src { font-size: 14px; color: var(--muted); margin-top: auto !important; }
@media (max-width: 760px) { .caseGrid { grid-template-columns: 1fr; gap: 12px; } .case { padding: 18px; } }
.foot a, #getTerms a { color: var(--accent); }
