/* ============================================================
   EXO content pages: /blog, /vs, /tools
   built by EXO-TOOLS/website/pages/build.py on top of simple.css tokens
   easy reading first: big type, dark text, big tap targets, pictures over jargon
   ============================================================ */
[hidden]{display:none !important;}
.page{padding-bottom:clamp(24px,4vw,48px);}
.page-wrap{max-width:880px;}
.page-hub .page-wrap,.page-tools .page-wrap{max-width:1040px;}

.crumbs{font-size:16px;color:var(--muted);padding-top:20px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;}
.crumbs a{text-decoration:underline;text-underline-offset:3px;text-decoration-color:var(--line);}
.crumbs a:hover{color:var(--orange);}
.crumbs .sep{opacity:.5;}

.page-head{display:grid;grid-template-columns:1fr auto;gap:12px 28px;align-items:center;
  padding:clamp(28px,5vw,52px) 0 clamp(22px,3vw,30px);border-bottom:1px solid var(--line);margin-bottom:clamp(28px,4vw,44px);}
.page-head > *{grid-column:1;}
.page-head .head-art{grid-column:2;grid-row:1 / span 4;width:clamp(96px,14vw,150px);height:auto;filter:drop-shadow(0 18px 24px color-mix(in srgb,var(--ink) 16%,transparent));}
.page-head .kicker{font-size:15px;margin-bottom:0;color:var(--muted);}
.page-h1{font-family:var(--display);font-weight:600;letter-spacing:-.02em;font-size:clamp(36px,4.8vw,58px);line-height:1.06;text-wrap:balance;color:var(--ink);}
.page-lead{font-size:clamp(19px,1.7vw,22px);line-height:1.55;color:var(--ink);margin-top:6px;max-width:58ch;}
.byline{font-size:15px;color:var(--muted);margin-top:6px;}

/* ---------- prose ---------- */
.prose{font-size:19px;line-height:1.75;color:var(--ink);}
.prose > * + *{margin-top:1.05em;}
.prose p,.prose li{max-width:68ch;}
.prose h2{font-family:var(--display);font-weight:600;color:var(--ink);font-size:clamp(28px,3.2vw,36px);line-height:1.15;letter-spacing:-.015em;margin-top:2em;text-wrap:balance;}
.prose h3{font-family:var(--display);font-weight:600;color:var(--ink);font-size:clamp(22px,2.4vw,26px);line-height:1.25;margin-top:1.6em;}
.prose a{color:var(--ink);text-decoration:underline;text-decoration-color:var(--orange);text-underline-offset:4px;text-decoration-thickness:2px;}
.prose a:hover{text-decoration-thickness:3px;}
.prose strong{color:var(--ink);font-weight:700;}
.prose ul,.prose ol{padding-left:1.3em;}
.prose ul{list-style:disc;}
.prose ol{list-style:decimal;}
.prose li + li{margin-top:.5em;}
.prose li::marker{color:var(--orange);font-weight:700;}
.prose .note{font-size:16.5px;color:var(--muted);line-height:1.6;}

/* formula lines */
.formula{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:16px 20px;font-family:var(--mono);font-size:16px;line-height:1.7;color:var(--ink);overflow-x:auto;}

/* quick answer box at the top of vs pages and listicles */
.verdict{background:var(--card);border:2px solid var(--orange);border-radius:24px;padding:24px 26px;}
.verdict .v-k{font-family:var(--mono);font-size:15px;color:var(--muted);text-transform:lowercase;margin-bottom:8px;}
.verdict p{margin:0;color:var(--ink);}
.verdict p + p{margin-top:.6em;}

/* tables */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:20px;background:var(--card);}
.prose table{width:100%;border-collapse:collapse;font-size:17px;line-height:1.5;min-width:520px;}
.prose th,.prose td{text-align:left;padding:14px 16px;border-bottom:1px solid var(--line);vertical-align:top;}
.prose thead th{font-weight:700;font-size:15px;color:var(--ink);background:var(--paper-2);}
.prose tbody tr:last-child td{border-bottom:0;}
.prose td:first-child{font-weight:600;}
.prose td.hot{color:var(--orange);font-weight:700;}
.cell-art{display:flex;align-items:center;gap:12px;}
.cell-art img{width:44px;height:44px;flex-shrink:0;}

/* ranked app list in listicles */
.pick{background:var(--card);border:1px solid var(--line);border-radius:24px;padding:24px 26px;}
.pick h3{margin-top:0;display:flex;gap:12px;align-items:baseline;}
.pick .rank{font-family:var(--mono);font-size:17px;color:var(--muted);}
.pick .best{font-size:17px;color:var(--muted);margin-top:4px;}
.pick ul{margin-top:.6em;}

/* sources */
.sources{font-size:16px;color:var(--muted);line-height:1.6;}
.sources li{overflow-wrap:anywhere;}

/* ---------- FAQ ---------- */
.faq-block{margin-top:clamp(44px,6vw,68px);}
.faq-block h2,.related h2{font-family:var(--display);font-weight:600;font-size:clamp(28px,3vw,34px);letter-spacing:-.015em;margin-bottom:16px;color:var(--ink);}
.faq-list details{border-top:1px solid var(--line);padding:20px 0;}
.faq-list details:last-child{border-bottom:1px solid var(--line);}
.faq-list summary{cursor:pointer;font-weight:600;font-size:20px;line-height:1.4;color:var(--ink);list-style:none;display:flex;justify-content:space-between;gap:20px;}
.faq-list summary::-webkit-details-marker{display:none;}
.faq-list summary::after{content:"+";font-family:var(--mono);font-size:24px;line-height:1;color:var(--orange);}
.faq-list details[open] summary::after{content:"−";}
.faq-list details > div{margin-top:12px;color:var(--ink);font-size:18px;line-height:1.7;max-width:68ch;}

/* ---------- CTA ---------- */
.cta-card{margin-top:clamp(44px,6vw,68px);display:grid;grid-template-columns:auto 1fr auto;gap:22px;align-items:center;
  background:var(--t-orange);border-radius:var(--radius);padding:26px 28px;}
.cta-card img{width:80px;height:80px;}
.cta-k{font-family:var(--mono);font-size:15px;color:var(--muted);text-transform:lowercase;}
.cta-t{font-family:var(--display);font-weight:600;font-size:clamp(22px,2.4vw,26px);line-height:1.2;color:var(--ink);margin-top:2px;}
.cta-s{font-size:17px;color:var(--ink);margin-top:6px;max-width:52ch;line-height:1.55;}
.cta-card .btn{white-space:nowrap;padding:16px 26px;font-size:17px;}

/* ---------- related ---------- */
.related{margin-top:clamp(44px,6vw,68px);}
.rel-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:14px;}
.rel-card{display:flex;align-items:center;gap:14px;background:var(--card);border:1px solid var(--line);border-radius:20px;padding:16px 18px;transition:transform .3s var(--spring),border-color .2s;}
.rel-card img{width:56px;height:56px;flex-shrink:0;}
.rel-card:hover{transform:translateY(-2px);border-color:var(--orange);}
.rel-k{display:block;font-family:var(--mono);font-size:15px;color:var(--muted);text-transform:lowercase;}
.rel-t{display:block;font-weight:600;font-size:18px;color:var(--ink);line-height:1.3;}

/* ---------- hubs ---------- */
.hub-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:20px;margin-top:8px;}
.hub-card{display:flex;flex-direction:column;background:var(--card);border:1px solid var(--line);border-radius:24px;overflow:hidden;transition:transform .3s var(--spring),border-color .2s,box-shadow .2s;}
.hub-card:hover{transform:translateY(-3px);border-color:var(--orange);box-shadow:0 14px 30px color-mix(in srgb,var(--ink) 8%,transparent);}
.hub-art{display:grid;place-items:center;height:170px;}
.hub-art img{width:120px;height:120px;transition:transform .4s var(--spring);}
.hub-card:hover .hub-art img{transform:scale(1.06) rotate(-3deg);}
.hub-body{display:flex;flex-direction:column;gap:10px;padding:20px 24px 22px;flex:1;}
.hub-pill{align-self:flex-start;font-size:14px;font-weight:600;color:var(--ink);background:var(--orange-soft);border-radius:999px;padding:4px 12px;}
.hub-t{font-family:var(--display);font-weight:600;font-size:23px;line-height:1.2;color:var(--ink);}
.hub-d{font-size:17px;color:var(--muted);line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.hub-foot{margin-top:auto;padding-top:8px;display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:15px;color:var(--muted);}
.hub-go{font-weight:600;color:var(--ink);white-space:nowrap;}
.hub-card:hover .hub-go{color:var(--orange);}
.hub-lead{flex-direction:row;margin:8px 0 20px;}
.hub-lead .hub-art{flex:0 0 44%;height:auto;min-height:260px;}
.hub-lead .hub-art img{width:160px;height:160px;}
.hub-lead .hub-body{padding:32px 36px;justify-content:center;}
.hub-lead .hub-t{font-size:clamp(26px,2.8vw,34px);}
.hub-lead .hub-d{font-size:19px;}
@media (max-width:700px){
  .hub-lead{flex-direction:column;}
  .hub-lead .hub-art{flex:none;min-height:0;height:190px;}
  .hub-lead .hub-art img{width:130px;height:130px;}
  .hub-lead .hub-body{padding:20px 24px 22px;}
  .hub-lead .hub-d{font-size:17px;}
  .hub-art{height:150px;}
}

/* ---------- calculators ---------- */
.calc{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(20px,3vw,32px);align-items:start;}
.calc-form{display:grid;gap:18px;}
.step{border:1px solid var(--line);border-radius:var(--radius);background:var(--card);padding:clamp(20px,3vw,28px);min-width:0;}
.step legend{float:left;width:100%;display:flex;align-items:center;gap:12px;font-family:var(--display);font-weight:600;font-size:clamp(22px,2.4vw,26px);color:var(--ink);margin-bottom:18px;}
.step legend + *{clear:both;}
.step-n{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:50%;background:var(--ink);color:var(--paper);font-size:18px;flex-shrink:0;}

.choices{display:grid;gap:12px;}
.choices.two{grid-template-columns:1fr 1fr;}
.choice{position:relative;display:flex;align-items:center;gap:14px;border:2px solid var(--line);border-radius:20px;padding:14px 16px;cursor:pointer;background:var(--paper);
  transition:border-color .15s,transform .2s var(--spring);min-height:76px;}
.choice:hover{border-color:color-mix(in srgb,var(--orange) 45%,var(--line));}
.choice input{position:absolute;opacity:0;pointer-events:none;}
.choice img{width:56px;height:56px;flex-shrink:0;}
.choice .c-t{display:block;font-weight:700;font-size:19px;color:var(--ink);line-height:1.25;}
.choice .c-s{display:block;font-size:16px;color:var(--muted);line-height:1.35;margin-top:2px;}
.choice::after{content:"";position:absolute;top:12px;right:12px;width:22px;height:22px;border-radius:50%;border:2px solid var(--line);background:var(--card);}
.choice:has(input:checked){border-color:var(--orange);}
.choice:has(input:checked)::after{border-color:var(--orange);background:var(--orange);box-shadow:inset 0 0 0 4px var(--card);}
.choice:has(input:focus-visible){outline:3px solid var(--orange);outline-offset:3px;}
.choices.stack .choice{min-height:72px;}
.choices.two .choice{flex-direction:column;text-align:center;justify-content:center;padding:18px 12px;}
.choices.two .choice img{width:64px;height:64px;}

.units{display:inline-flex;background:var(--paper-2);border-radius:999px;padding:5px;gap:4px;margin:18px 0 6px;}
.units label{cursor:pointer;}
.units input{position:absolute;opacity:0;pointer-events:none;}
.units span{display:block;font-weight:700;font-size:16px;color:var(--muted);border-radius:999px;padding:10px 18px;}
.units label:has(input:checked) span{background:var(--card);color:var(--ink);box-shadow:0 2px 8px -4px color-mix(in srgb,var(--ink) 30%,transparent);}
.units label:has(input:focus-visible) span{outline:3px solid var(--orange);}

.fields{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:14px;margin-top:12px;}
.field{display:grid;gap:8px;font-size:17px;font-weight:700;color:var(--ink);}
.field .box{display:flex;align-items:center;background:var(--paper);border:2px solid var(--line);border-radius:16px;padding:0 16px;min-height:60px;}
.field .box:focus-within{border-color:var(--orange);}
.field input{font:inherit;font-size:22px;font-weight:600;color:var(--ink);background:transparent;border:0;outline:0;width:100%;min-width:0;padding:12px 0;}
.field .unit{font-size:17px;font-weight:600;color:var(--muted);padding-left:8px;}
.field input::-webkit-inner-spin-button{opacity:1;}

.calc-out{position:sticky;top:100px;background:var(--ink);color:var(--paper);border-radius:var(--radius);padding:clamp(22px,3vw,30px);display:flex;flex-direction:column;gap:16px;}
.calc-out .say{font-size:19px;line-height:1.5;color:color-mix(in srgb,var(--paper) 82%,transparent);}
.calc-out .say b{color:var(--paper);}
.calc-big{font-family:var(--display);font-weight:600;font-size:clamp(56px,7vw,80px);line-height:1;color:var(--paper);}
.calc-big small{display:block;font-family:var(--sans);font-size:19px;font-weight:600;color:color-mix(in srgb,var(--paper) 72%,transparent);margin-top:8px;}
.calc-list{display:grid;gap:10px;background:color-mix(in srgb,var(--paper) 8%,transparent);border-radius:18px;padding:16px 18px;}
.calc-list div{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:17px;}
.calc-list b{font-size:20px;color:var(--paper);font-variant-numeric:tabular-nums;white-space:nowrap;}
.calc-list .dot{display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:8px;vertical-align:middle;}
.calc-bar{display:flex;height:16px;border-radius:999px;overflow:hidden;background:color-mix(in srgb,var(--paper) 14%,transparent);}
.calc-bar span{display:block;height:100%;}
.p-c{background:var(--orange);}
.c-c{background:var(--t-cyan);}
.f-c{background:var(--t-lilac);}
.calc-out .note{font-size:16px;color:color-mix(in srgb,var(--paper) 72%,transparent);}
.calc-out .cap{font-size:16px;font-weight:700;color:color-mix(in srgb,var(--paper) 72%,transparent);}

/* the selected activity level in the maintenance table */
.prose tr.is-you td{font-weight:700;color:var(--ink);}
.prose tr.is-you td:first-child{box-shadow:inset 4px 0 0 var(--orange);}

/* phones: the result rides along at the bottom until the full result card is on screen */
.calc-peek{display:none;}
@media (max-width:860px){
  .calc{grid-template-columns:1fr;}
  .calc-out{position:static;scroll-margin-top:110px;}
  .calc-peek{display:flex;align-items:center;justify-content:space-between;gap:12px;position:fixed;left:16px;right:16px;bottom:calc(14px + env(safe-area-inset-bottom));z-index:40;
    background:var(--ink);color:var(--paper);border-radius:20px;padding:14px 20px;min-height:60px;font-size:17px;font-weight:600;
    box-shadow:0 12px 30px -10px color-mix(in srgb,var(--ink) 55%,transparent);transition:opacity .2s,transform .2s;}
  .calc-peek b{font-family:var(--display);font-size:24px;}
  .prose .calc-peek{color:var(--paper);text-decoration:none;}
  .calc-peek[data-seen],.calc-peek[data-empty]{opacity:0;transform:translateY(20px);pointer-events:none;}
  body:has(.calc-peek) .foot{padding-bottom:100px;}
}

/* phones: every table row becomes a small card, each cell labeled by its column */
@media (max-width:640px){
  .table-wrap{border:0;background:none;overflow:visible;}
  .prose table,.prose tbody,.prose tr,.prose td{display:block;width:100%;min-width:0;}
  .prose thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);}
  .prose tr{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:12px 16px;margin-bottom:10px;}
  .prose td{border:0;padding:4px 0;}
  .prose td:first-child{font-weight:700;color:var(--ink);font-size:19px;padding-bottom:6px;}
  .prose td[data-label]:not(:first-child)::before{content:attr(data-label);display:block;font-size:15px;font-weight:600;color:var(--muted);}
  .prose tr.is-you td:first-child{box-shadow:none;}
  .prose tr.is-you{border:2px solid var(--orange);}
}
@media (max-width:760px){
  .page-head{grid-template-columns:1fr;}
  .page-head .head-art{grid-column:1;grid-row:auto;width:84px;order:-1;}
  .cta-card{grid-template-columns:auto 1fr;}
  .cta-card .btn{grid-column:1 / -1;}
  .prose{font-size:18.5px;}
}

/* citations: jump target stays visible under the sticky nav */
.sources li{scroll-margin-top:110px;}
.sources li:target{color:var(--ink);}
