/* H2ORoute landing page: the pricing section. Loaded last.
   Bryton 2026-11-16, on the old three plain cards and a hidden texting list:
   "this section is awful". Now: a truck picker with a fleet that fills in, plan
   cards that show the math and mark the one that fits, what every plan shares,
   and a texting calculator in the open. */

/* ---- how many trucks ---------------------------------------------------------------- */
.tpick{max-width:760px;margin:34px auto 0;background:#fff;border:1px solid var(--line);border-radius:24px;padding:22px 26px 20px;box-shadow:0 1px 2px rgba(10,37,64,.04),0 24px 44px -30px rgba(10,37,64,.4)}
.tpq{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}
.tpq label{font-size:20px;font-weight:800;color:var(--ink)}
.tpq output{font-size:20px;font-weight:800;color:#fff;background:linear-gradient(135deg,#0a6ede,#30c5ff);border-radius:999px;padding:7px 18px;font-variant-numeric:tabular-nums;box-shadow:0 10px 18px -10px #0a6ede}
.tprow{display:flex;align-items:center;gap:14px;margin-top:16px}
.tprow button{flex:none;width:48px;height:48px;border-radius:15px;border:1.500px solid #bcd3ec;background:#fff;color:var(--accent);font-size:26px;font-weight:800;line-height:1;cursor:pointer;transition:background .15s ease,transform .15s ease}
.tprow button:hover{background:#e7f2ff}
.tprow button:active{transform:scale(.9)}
.tpick input[type=range],.ptcalc input[type=range]{-webkit-appearance:none;appearance:none;flex:1;width:100%;height:12px;border-radius:12px;outline-offset:6px;cursor:pointer;background:linear-gradient(90deg,#0a6ede,#30c5ff) 0/var(--fill,10%) 100% no-repeat,#dde8f4}
.tpick input[type=range]::-webkit-slider-thumb,.ptcalc input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:32px;height:32px;border-radius:50%;background:#fff;border:4px solid #0a6ede;box-shadow:0 6px 14px -4px rgba(10,60,140,.6);transition:transform .15s ease}
.tpick input[type=range]::-moz-range-thumb,.ptcalc input[type=range]::-moz-range-thumb{width:26px;height:26px;border-radius:50%;background:#fff;border:4px solid #0a6ede;box-shadow:0 6px 14px -4px rgba(10,60,140,.6)}
.tpick input[type=range]:active::-webkit-slider-thumb,.ptcalc input[type=range]:active::-webkit-slider-thumb{transform:scale(1.150)}
.fleet{display:flex;flex-wrap:wrap;gap:6px;margin-top:18px;min-height:36px}
.fleet i{display:grid;place-items:center;width:36px;height:36px;border-radius:11px;background:#e7f2ff;animation:fleetIn .35s cubic-bezier(.2,.9,.3,1.5) both}
.fleet i:first-child{background:linear-gradient(135deg,#0a6ede,#30c5ff)}
.fleet svg{width:21px;height:21px;fill:none;stroke:#0a6ede;stroke-width:1.900;stroke-linecap:round;stroke-linejoin:round}
.fleet i:first-child svg{stroke:#fff}
@keyframes fleetIn{0%{opacity:0;transform:translateX(-14px) scale(.6)}100%{opacity:1;transform:none}}

/* ---- the three plans ----------------------------------------------------------------- */
.pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-top:30px;align-items:stretch}
.pcard{position:relative;display:flex;flex-direction:column;background:#fff;border:1.500px solid var(--line);border-radius:24px;padding:26px 24px 24px;box-shadow:0 1px 2px rgba(10,37,64,.04),0 22px 40px -30px rgba(10,37,64,.4);transition:transform .35s cubic-bezier(.2,.8,.2,1),box-shadow .35s ease,border-color .35s ease,opacity .35s ease;min-width:0}
.pcard.fit{border-color:#0a6ede;transform:translateY(-10px);box-shadow:0 0 0 4px rgba(10,110,222,.12),0 40px 60px -34px rgba(10,70,170,.6);background:linear-gradient(180deg,#f4f9ff,#fff 34%)}
.pcard.off{opacity:.55}
.pcard.off .pprice b{text-decoration:line-through;text-decoration-thickness:3px;text-decoration-color:#9fb4cc}
.ptag{position:absolute;left:24px;top:-15px;background:linear-gradient(135deg,#0a6ede,#30c5ff);color:#fff;font-weight:800;font-size:14px;letter-spacing:.04em;text-transform:uppercase;border-radius:999px;padding:6px 14px;box-shadow:0 10px 18px -10px #0a6ede;opacity:0;transform:translateY(8px) scale(.9);transition:opacity .3s ease,transform .3s cubic-bezier(.2,.9,.3,1.5)}
.pcard.fit .ptag{opacity:1;transform:none}
.phead{display:flex;gap:14px;align-items:center}
.pico{flex:none;display:grid;place-items:center;width:52px;height:52px;border-radius:16px;background:#e7f2ff;transition:background .3s ease}
.pico svg{width:28px;height:28px;fill:none;stroke:#0a6ede;stroke-width:1.800;stroke-linecap:round;stroke-linejoin:round;transition:stroke .3s ease}
.pcard.fit .pico{background:linear-gradient(135deg,#0a6ede,#30c5ff)}
.pcard.fit .pico svg{stroke:#fff}
.pcard h3{font-size:27px;line-height:1.100}
.pcard .who{font-size:16px;color:var(--muted);margin-top:3px}
.pprice{display:flex;align-items:baseline;gap:8px;margin-top:20px}
.pprice b{display:inline-block;font-size:60px;line-height:1;font-weight:800;letter-spacing:-.035em;color:var(--ink);font-variant-numeric:tabular-nums;transform-origin:left bottom}
.pprice b.tick{animation:priceTick .4s cubic-bezier(.2,.9,.3,1.4)}
@keyframes priceTick{0%{transform:translateY(10px) scale(.94);opacity:.3}100%{transform:none;opacity:1}}
.pprice small{font-size:17px;font-weight:700;color:var(--muted)}
.phow{margin-top:10px;font-size:16px;color:var(--text);min-height:48px}
.pper{min-height:34px;margin-top:4px}
.pper:not(:empty){display:inline-block;align-self:flex-start;font-size:15px;font-weight:800;color:var(--good);background:#e3f6ec;border-radius:999px;padding:6px 13px}
.plist{list-style:none;margin:16px 0 22px;padding:16px 0 0;border-top:1px solid var(--line);display:grid;gap:11px;font-size:16.500px;color:var(--ink);font-weight:600}
.plist li{position:relative;padding-left:32px;line-height:1.350}
.plist li::before{content:"";position:absolute;left:0;top:0;width:22px;height:22px;border-radius:50%;background:#12855a url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.500' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.500l4 4 8-9'/%3E%3C/svg%3E") center/13px no-repeat}
.plist li.plus{font-weight:800;color:var(--accent)}
.plist li.plus::before{background:#0a6ede url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.500' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center/13px no-repeat}
.plist i{font-style:normal;font-weight:800;font-size:13px;color:#0a4fa8;background:#e7f2ff;border-radius:6px;padding:2px 7px;margin-left:4px;white-space:nowrap}
.pcard .btn{margin-top:auto;justify-content:center;text-align:center;font-size:18px;padding:15px 20px}
.pall{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:26px}
.pall span{display:inline-flex;align-items:center;gap:8px;background:#fff;border:1px solid var(--line);border-radius:999px;padding:9px 16px;font-weight:700;font-size:16px;color:var(--ink)}
.pall span::before{content:"";width:9px;height:9px;border-radius:50%;background:var(--good)}

/* ---- texting, in the open ----------------------------------------------------------------- */
.ptext{display:grid;grid-template-columns:1.150fr .850fr;gap:26px;margin-top:30px;border-radius:26px;padding:32px;color:#fff;background:radial-gradient(520px 300px at 100% 0,rgba(48,197,255,.30),rgba(48,197,255,0) 70%),linear-gradient(135deg,#071d3a,#0b3a7a)}
.ptext .eyebrow{color:#7fdcff}
.ptext h3{color:#fff;font-size:30px;margin-top:8px}
.ptcopy > p{color:#c9dbef;font-size:18px;margin-top:10px}
.ptrows{margin-top:18px;display:grid;gap:8px}
.ptrows div{display:flex;justify-content:space-between;align-items:center;gap:14px;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.14);border-radius:14px;padding:12px 16px}
.ptrows span{font-size:16.500px;color:#dbe8f6}
.ptrows b{font-size:20px;font-weight:800;color:#fff;white-space:nowrap;font-variant-numeric:tabular-nums}
.ptcopy > p.ptfine{font-size:15px;color:#a9c3de;margin-top:12px}
.ptcalc{background:#fff;color:var(--ink);border-radius:20px;padding:22px;align-self:center;min-width:0}
.ptcalc label{display:block;font-size:16px;font-weight:700;color:var(--muted)}
.ptn{font-size:19px;font-weight:700;color:var(--text);margin:4px 0 14px}
.ptn b{font-size:34px;font-weight:800;color:var(--ink);letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.ptout{display:flex;align-items:baseline;flex-wrap:wrap;gap:6px 10px;margin-top:20px;padding-top:16px;border-top:1px solid var(--line)}
.ptout span{flex-basis:100%;font-size:16px;font-weight:700;color:var(--muted)}
.ptout b{font-size:48px;line-height:1;font-weight:800;letter-spacing:-.03em;color:var(--good);font-variant-numeric:tabular-nums}
.ptout small{font-size:17px;font-weight:700;color:var(--muted)}
.ptbub{display:grid;gap:6px;margin-top:16px;justify-items:end}
.ptbub span{background:#2a8be6;color:#fff;font-size:14.500px;font-weight:600;border-radius:14px 14px 4px 14px;padding:8px 12px;animation:ptIn 6s ease-in-out infinite both}
.ptbub span:nth-child(2){animation-delay:1s}
@keyframes ptIn{0%{opacity:0;transform:translateY(8px)}8%,88%{opacity:1;transform:none}100%{opacity:0}}

@media (max-width:980px){.pgrid{grid-template-columns:1fr;gap:26px;max-width:560px;margin-left:auto;margin-right:auto}.pcard.fit{transform:none}.phow,.pper{min-height:0}.ptext{grid-template-columns:1fr}}
@media (max-width:560px){.tpick{padding:18px 16px}.tpq label{font-size:18px}.tpq output{font-size:17px;padding:6px 14px}.tprow{gap:10px}.tprow button{width:44px;height:44px}.fleet i{width:30px;height:30px;border-radius:9px}.fleet svg{width:17px;height:17px}
  .pprice b{font-size:52px}.ptext{padding:22px 18px}.ptext h3{font-size:25px}.ptrows div{padding:11px 12px}.ptrows span{font-size:15.500px}.ptrows b{font-size:18px}.ptout b{font-size:42px}}
@media (prefers-reduced-motion:reduce){.fleet i,.pprice b.tick,.ptbub span{animation:none}.ptbub span{opacity:1}.pcard,.ptag{transition:none}}

/* ---- Solo or Team: two sides, three tiers each (Bryton 2026-11-17) ------------------------------ */
.side{display:grid;grid-template-columns:1fr 1fr;gap:8px;max-width:560px;margin:30px auto 0;background:#e3ecf6;border-radius:22px;padding:7px}
.sideb{font:inherit;text-align:center;border:0;border-radius:16px;padding:13px 12px;background:transparent;color:var(--text);cursor:pointer;transition:background .25s ease,box-shadow .25s ease,color .25s ease,transform .15s ease}
.sideb b{display:block;font-size:20px;color:var(--ink)}
.sideb span{display:block;font-size:15px;font-weight:600;margin-top:1px}
.sideb:active{transform:scale(.98)}
.sideb.on{background:#fff;box-shadow:0 10px 22px -12px rgba(10,37,64,.55)}
.sideb.on b{color:var(--accent)}
.tpick{margin-top:16px}
.tpick.one .tprow,.tpick.one .fleet{opacity:.55}
.pgrid[hidden]{display:none}
.pcard .ptag:empty{display:none}
@media (max-width:480px){.sideb b{font-size:18px}.sideb span{font-size:13.500px}}
