/* Velotrak website — the Box Theory product page (a free tool). The product-page layout rules are the
   Footprint page's (footprint.css), copied so this page doesn't load the Footprint's chart CSS; all on bible tokens. */
.pp-hero{ padding:56px 0 28px; display:grid; grid-template-columns:minmax(0,1fr) 340px; gap:48px; align-items:start; }
.pp-hero .copy{ display:grid; gap:18px; }
.crumb{ font-size:13px; color:var(--text-low); }
.crumb a{ color:var(--text-low); } .crumb a:hover{ color:var(--text-hi); }
.buybox{ padding:22px; display:grid; gap:16px; }
.buybox .free{ display:grid; gap:6px; }
.buybox .free .t-h3{ margin:0; }
.buybox .facts{ display:grid; gap:8px; padding-top:14px; border-top:1px solid var(--line); font-size:13px; color:var(--text-mid); }
.buybox .facts div{ display:flex; justify-content:space-between; gap:12px; }
.buybox .facts span:first-child{ color:var(--text-low); }
.buybox .act{ display:grid; gap:10px; }
@media (max-width:900px){ .pp-hero{ grid-template-columns:1fr; gap:28px; padding-top:40px; } .buybox{ max-width:420px; } }
figure{ margin:0; }
figcaption{ font-size:13px; line-height:1.45; color:var(--text-low); margin-top:10px; max-width:72ch; }
.fig-wide{ margin:28px 0 8px; }   /* the page's full width, like the hero above (Daniel, 2026-10-21) */
.chartart img{ display:block; width:100%; height:auto; }
.bt-sec{ padding:36px 0 4px; display:grid; gap:12px; }
.bt-sec .read{ max-width:none; }
.bt-sec p{ margin:0; }
.bt-sec strong{ color:var(--text-hi); }
.bt-steps{ margin:0; padding-left:22px; display:grid; gap:8px; }
.bt-panel{ display:grid; gap:14px; }
.bt-panel h3{ margin:0 0 4px; }
.bt-panel{ gap:24px; }
.bt-group{ display:grid; gap:12px; }
.bt-group .t-h4{ margin:0 0 2px; }
.buybox .btn{ white-space:normal; height:auto; min-height:48px; padding:12px 20px; line-height:1.3; text-align:center; }   /* the long "Download Velotrak Box Theory (v1.0)" label wraps instead of overflowing */
.buybox .btn svg{ flex:none; }

/* ===== "The box" tab (BOX_THEORY_PAGE_SCOPE.md): velotrak_box_theory_page_v2.html's styles, scoped to .bt-theory.
   Mockup tokens → the site's: card → --panel, card2 → --raised, card3 → --channel, line2 → --line-strong,
   text/muted/dim → --text-hi/-mid/-low, orange/orange2/orange-dim → --accent/--accent-text/--accent-soft.
   The illustrations are chart art: dark in both themes (like the Footprint charts), so the colours drawn inside
   them (--sellz, --buyz, --orange, #161b22) are fixed. --blue is the one new accent (reject-and-rotate). ===== */
.bt-theory{ --sellz:rgba(215,56,60,.22); --buyz:rgba(61,196,106,.22); --orange:#f26b21; --blue:#8fa3c0; --chart:#161b22; }   /* full width: everything below the hero lines up with it */
.bt-theory .sec{ margin-top:72px; }
.bt-theory h2{ margin:0 0 6px; }
.bt-theory .sec > p.lead{ font-size:19px; color:var(--text-mid); margin:0 0 26px; }
.bt-theory p{ margin:0 0 14px; }
.bt-theory svg text{ font-family:var(--font); }
.bt-theory b{ color:var(--text-hi); }

.bt-theory .lineage{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:0 0 20px; }
.bt-theory .lcard{ background:var(--panel); border-radius:14px; overflow:hidden; border:1px solid var(--line); }
.bt-theory .lcard svg{ display:block; width:100%; height:auto; background:var(--chart); }
.bt-theory .lcard .body{ padding:18px 20px 20px; }
.bt-theory .lcard .when{ font-size:13px; color:var(--accent-text); margin-bottom:4px; }
.bt-theory .lcard h4{ margin:0 0 8px; font-size:18px; font-weight:600; color:var(--text-hi); }
.bt-theory .lcard p{ color:var(--text-mid); font-size:15px; margin:0 0 8px; }
.bt-theory .lcard .rule{ display:inline-block; background:var(--channel); border-radius:6px; padding:3px 9px; font-size:13px; color:var(--text-hi); margin:4px 6px 0 0; }
.bt-theory .lineage-foot{ background:var(--raised); border-left:3px solid var(--accent); border-radius:0 10px 10px 0; padding:14px 18px; color:var(--text-hi); font-size:15px; }
@media (max-width:680px){ .bt-theory .lineage{ grid-template-columns:1fr; } }

.bt-theory .tl{ display:grid; grid-template-columns:repeat(3,1fr); gap:0; margin:26px 0 0; position:relative; }
.bt-theory .tl::before{ content:""; position:absolute; left:8%; right:8%; top:11px; height:2px; background:var(--line-strong); }
.bt-theory .tl div{ position:relative; padding:28px 14px 0; text-align:center; }
.bt-theory .tl div::before{ content:""; position:absolute; left:50%; top:6px; width:12px; height:12px; margin-left:-6px; border-radius:50%; background:var(--page); border:2px solid var(--line-strong); }
.bt-theory .tl div.now::before{ background:var(--accent); border-color:var(--accent); }
.bt-theory .tl b{ display:block; font-size:14px; }
.bt-theory .tl span{ font-size:13px; color:var(--text-mid); }

.bt-theory .two{ display:grid; grid-template-columns:1fr 1fr; gap:18px; margin:0 0 18px; }
.bt-theory .rd{ background:var(--panel); border-radius:14px; overflow:hidden; border:1px solid var(--line); }
.bt-theory .rd svg{ display:block; width:100%; height:auto; background:var(--chart); }
.bt-theory .rd .body{ padding:18px 20px 20px; }
.bt-theory .rd h4{ margin:0 0 6px; font-size:18px; display:flex; align-items:center; gap:10px; color:var(--text-hi); }
.bt-theory .rd h4 i{ width:10px; height:10px; border-radius:50%; display:inline-block; }
.bt-theory .rd.brk h4 i{ background:var(--accent); } .bt-theory .rd.rev h4 i{ background:var(--blue); }
.bt-theory .rd .who{ font-size:13px; color:var(--text-low); margin-bottom:10px; }
.bt-theory .rd p{ font-size:15px; color:var(--text-mid); margin-bottom:10px; }
.bt-theory .rd ul{ margin:0; padding:0; list-style:none; }
.bt-theory .rd li{ font-size:14px; color:var(--text-hi); padding:6px 0 6px 18px; position:relative; border-top:1px solid var(--line); }
.bt-theory .rd li::before{ content:""; position:absolute; left:0; top:13px; width:8px; height:8px; border-radius:2px; background:var(--line-strong); }
.bt-theory .rd.brk li::before{ background:var(--accent); } .bt-theory .rd.rev li::before{ background:var(--blue); }
.bt-theory .verdict{ display:grid; grid-template-columns:auto 1fr; gap:16px; align-items:center; background:var(--raised); border-radius:12px; padding:16px 18px; }
.bt-theory .verdict .ico{ width:46px; height:46px; border-radius:10px; background:var(--accent-soft); display:grid; place-items:center; }
.bt-theory .verdict p{ margin:0; font-size:15px; color:var(--text-hi); }
@media (max-width:680px){ .bt-theory .two{ grid-template-columns:1fr; } }

.bt-theory .wt{ background:var(--panel); border-radius:16px; padding:14px; margin:0 0 8px; border:1px solid var(--line); box-shadow:0 18px 40px rgba(0,0,0,.28); }
.bt-theory .wt-head{ display:flex; align-items:center; justify-content:space-between; padding:4px 6px 12px; }
.bt-theory .wt-head .t{ font-weight:600; color:var(--text-hi); }
.bt-theory .wt-head .t small{ color:var(--accent-text); font-weight:400; margin-left:6px; }
.bt-theory .seg{ display:inline-flex; background:var(--channel); border-radius:9px; padding:3px; }
.bt-theory .seg button{ background:transparent; border:0; color:var(--text-mid); font:inherit; font-size:13px; padding:6px 12px; border-radius:7px; cursor:pointer; }
.bt-theory .seg button.on{ background:var(--panel); color:var(--text-hi); box-shadow:0 1px 3px rgba(0,0,0,.4); }
.bt-theory .seg button:focus-visible{ outline:2px solid var(--accent-text); }
.bt-theory .wt svg{ width:100%; height:auto; display:block; border-radius:10px; background:var(--chart); }
.bt-theory .steps{ display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:12px; }
.bt-theory .step{ background:var(--channel); border-radius:10px; padding:12px 14px; opacity:.45; transition:opacity .3s, background .3s; border:1px solid transparent; }
.bt-theory .step.on{ opacity:1; background:var(--raised); border-color:var(--line-strong); }
.bt-theory .step b{ display:block; font-size:14px; margin-bottom:2px; }
.bt-theory .step span{ font-size:13px; color:var(--text-mid); }
@media (max-width:680px){ .bt-theory .steps{ grid-template-columns:1fr; } .bt-theory .wt-head{ flex-direction:column; align-items:flex-start; gap:8px; } }
.bt-theory .small{ font-size:13px; color:var(--text-low); }

.bt-theory .uses{ display:grid; grid-template-columns:1fr 1fr; gap:14px; margin:0; }
.bt-theory .use{ background:var(--panel); border:1px solid var(--line); border-radius:12px; padding:16px 18px; display:grid; grid-template-columns:44px 1fr; gap:14px; }
.bt-theory .use svg{ width:44px; height:44px; background:var(--chart); border-radius:9px; }
.bt-theory .use b{ display:block; font-size:15px; margin-bottom:2px; }
.bt-theory .use span{ font-size:14px; color:var(--text-mid); }
.bt-theory .use.wide{ grid-column:1/-1; }
@media (max-width:680px){ .bt-theory .uses{ grid-template-columns:1fr; } }

.bt-theory .faq{ background:var(--panel); border:1px solid var(--line); border-radius:14px; padding:4px 20px; }
.bt-theory details{ border-bottom:1px solid var(--line); padding:12px 0; }
.bt-theory details:last-child{ border-bottom:0; }
.bt-theory summary{ cursor:pointer; font-weight:600; color:var(--text-hi); list-style:none; display:flex; justify-content:space-between; align-items:center; gap:12px; }
.bt-theory summary::-webkit-details-marker{ display:none; }
.bt-theory summary::after{ content:"+"; color:var(--accent-text); font-weight:400; font-size:22px; line-height:1; }
.bt-theory details[open] summary::after{ content:"\2013"; }
.bt-theory details p{ margin:8px 0 4px; color:var(--text-mid); font-size:15px; }
.bt-theory .src{ font-size:13px; color:var(--text-low); margin-top:28px; padding-top:14px; border-top:1px solid var(--line); }
#box.pp-pane{ padding-top:40px; }
