/* heytruckdog.com page sections (home and 404). Brand tokens come from truckdog.css. */
:root{--td-white:#FFFFFF;--td-rust-dark:#A34E20;--td-chat:#EFEAE2}

/* Size-adjusted Arial fallbacks, so text keeps its size and line breaks while the Barlow files load (no jump).
   Numbers: average advance width of the page's own copy, Barlow face vs Arial (Liberation Sans, Arial's metric twin),
   and Barlow's ascent and descent divided by that ratio. Recompute if a font file changes. */
@font-face{font-family:"TD Display Fallback";src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold");font-weight:800;size-adjust:69.28%;ascent-override:144.34%;descent-override:28.87%;line-gap-override:0%}
@font-face{font-family:"TD Label Fallback";src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold");font-weight:600;size-adjust:82.27%;ascent-override:121.55%;descent-override:24.31%;line-gap-override:0%}
@font-face{font-family:"TD Body Fallback";src:local("Arial"),local("ArialMT"),local("Liberation Sans");font-weight:400;size-adjust:95.08%;ascent-override:105.18%;descent-override:21.04%;line-gap-override:0%}
@font-face{font-family:"TD Body Fallback";src:local("Arial Bold"),local("Arial-BoldMT"),local("Liberation Sans Bold");font-weight:600 700;size-adjust:90.72%;ascent-override:110.23%;descent-override:22.05%;line-gap-override:0%}
:root{
  --td-font-display:"Barlow Condensed","TD Display Fallback","Arial Narrow",Arial,sans-serif;
  --td-font-label:"Barlow Semi Condensed","TD Label Fallback","Arial Narrow",Arial,sans-serif;
  --td-font-body:"Barlow","TD Body Fallback",system-ui,-apple-system,"Segoe UI",Roboto,Arial,sans-serif;
}

.td-h1,.td-h2,.hs-h3{text-wrap:balance}
.hs-h3{font-family:var(--td-font-label);font-weight:600;font-size:21px;line-height:1.2;color:var(--td-green);margin:0 0 6px}
.hs-section{padding:56px 0}
.hs-section--alt{background:#fff;border-top:1px solid var(--td-line);border-bottom:1px solid var(--td-line)}
.hs-section--green{background:var(--td-green);color:var(--td-cream)}
.hs-narrow{max-width:820px}
.hs-lead{font-size:19px;margin:14px 0 0;max-width:62ch}

/* The trial button is the page's only coat-orange element (white on #B95A26 is 4.61:1; hover #A34E20). Other
   buttons (the 404 page's "Home page") keep the brand green. */
.hs-cta__btn.td-btn--primary{background:var(--td-rust);color:var(--td-white)}
.hs-cta__btn.td-btn--primary:hover{background:var(--td-rust-dark)}
.hs-cta__btn.td-btn--primary:focus-visible{outline-color:var(--td-green)}


/* Hero. Phones: text, then the alert, then the button. Wide screens: text and button left, alert right. */
.hs-hero{padding:14px 0 40px}
.hs-hero__grid{display:grid;gap:10px;grid-template-areas:"text" "proof" "act"}
.hs-hero__text{grid-area:text}
.hs-hero__proof{grid-area:proof}
.hs-hero__act{grid-area:act}
.hs-hero__text .td-label{margin:0 0 6px}
.hs-hero__h1{font-size:clamp(40px,10.5vw,72px)}
html[lang="es"] .hs-hero__h1{font-size:clamp(34px,8.6vw,62px)}
.hs-hero__sub{font-size:18px;line-height:1.45;margin:10px 0 0}
.hs-hero__caption{font-family:var(--td-font-label);font-weight:600;font-size:16.5px;line-height:1.3;color:var(--td-green);margin:0 0 8px}
@media (min-width:900px){.hs-hero__caption{font-size:18px}}
.hs-keep{font-weight:600;font-size:17.5px;line-height:1.35;margin:0 0 10px;color:var(--td-ink)}
@media (min-width:900px){.hs-keep{font-size:19px}}
@media (min-width:900px){
  .hs-hero{padding:56px 0 72px}
  .hs-hero__grid{grid-template-columns:1.15fr .85fr;grid-template-areas:"text proof" "act proof";gap:22px 56px;align-items:start}
  .hs-hero__proof{align-self:center}
  .hs-hero__sub{margin-top:16px;font-size:19px;line-height:1.5;max-width:40ch}
}

/* Call to action: one button, the full trial sentence and counsel's day-7 line right under it */
.hs-cta{display:grid;gap:10px;justify-items:start}
.hs-cta__btn{min-height:56px;font-size:20px;padding:0 28px;white-space:normal}
.hs-cta__trial{margin:0;font-size:16px;line-height:1.45;max-width:46ch;color:var(--td-ink)}
.hs-cta__reminder{margin:0;font-size:16px;line-height:1.45;max-width:46ch;font-weight:600;color:var(--td-green)}
.hs-cta--mid{margin-top:28px}
@media (max-width:600px){.hs-cta__btn{width:100%;min-height:56px;font-size:19px}}

/* Sample job alert, drawn as a chat: brand-green bar, white message on a warm chat background. No WhatsApp logo. */
.hs-alert{margin:0;max-width:380px;border-radius:16px;overflow:hidden;border:1px solid var(--td-line);box-shadow:0 10px 24px rgba(22,59,44,.12);background:var(--td-chat)}
.hs-chat__bar{display:flex;align-items:center;gap:8px;background:var(--td-green);color:var(--td-cream);padding:4px 12px;font-size:16px;line-height:1.4}
.hs-chat__bar img{width:20px;height:auto;background:var(--td-cream);border-radius:50%;padding:2px}
.hs-alert__example{margin-left:auto;font-family:var(--td-font-label);font-weight:600;font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--td-green);background:var(--td-cream);border-radius:999px;padding:1px 9px}
.hs-chat__body{display:grid;gap:6px;padding:8px 10px 10px}
.hs-chat__msg{position:relative;margin:0;background:#fff;border-radius:2px 12px 12px 12px;padding:7px 12px 8px;font-size:15px;line-height:1.32;box-shadow:0 1px 1px rgba(0,0,0,.08);color:var(--td-ink)}
.hs-chat__msg::before{content:"";position:absolute;left:-7px;top:0;border-top:9px solid #fff;border-left:8px solid transparent}
.hs-chat__msg p{margin:2px 0 0}
.hs-chat__time{margin-left:auto;padding-left:10px;font-family:var(--td-font-body);font-weight:400;letter-spacing:0;font-size:12px;color:var(--td-muted);white-space:nowrap}
.hs-chat__msg--quiet{padding:5px 12px;font-size:14.5px;line-height:1.3;color:var(--td-muted)}
.hs-nowrap{white-space:nowrap}
.hs-chat__msg--quiet .hs-dot{margin-right:6px;vertical-align:-1px}
.hs-chat__msg--quiet b{font-family:var(--td-font-label);font-weight:600;letter-spacing:.04em;color:var(--td-ink)}
.hs-alert__label{font-family:var(--td-font-label);font-weight:600;letter-spacing:.04em;font-size:16.5px;color:var(--td-ink);display:flex;align-items:center;gap:8px}
.hs-alert__urgent{font-weight:600;color:#A32D20}
.hs-dot{display:inline-block;width:11px;height:11px;border-radius:50%;background:#fff;border:2px solid #9A9488;flex-shrink:0;align-self:center}
.hs-dot--red{background:#D93A2B;border-color:#D93A2B}
@media (min-width:900px){.hs-alert{max-width:420px}.hs-chat__msg{font-size:16.5px}.hs-chat__msg--quiet{font-size:15px}}

/* How it works: compact numbered steps */
.hs-steps{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:12px}
.hs-step{position:relative;background:#fff;border:1px solid var(--td-line);border-radius:14px;padding:16px 16px 16px 60px}
.hs-step p{margin:0}
.hs-step__n{position:absolute;left:16px;top:15px;width:32px;height:32px;border-radius:50%;background:var(--td-tan);color:var(--td-green-dark);font-family:var(--td-font-display);font-weight:800;font-size:20px;display:flex;align-items:center;justify-content:center}
@media (min-width:900px){.hs-steps{grid-template-columns:repeat(3,1fr);gap:18px}.hs-step{padding:20px 20px 18px 68px}}

/* Trades: compact cards, the icon beside the name */
.hs-trades{list-style:none;margin:24px 0 0;padding:0;display:grid;gap:10px;grid-template-columns:1fr}
.hs-trade{display:grid;grid-template-columns:32px 1fr;column-gap:12px;align-items:center;border:1px solid var(--td-line);border-radius:14px;padding:14px 16px;background:var(--td-cream)}
.hs-trade .hs-h3{margin:0;font-size:20px}
.hs-trade p{grid-column:1 / -1;margin:6px 0 0;font-size:17px}
.hs-trade__icon{display:block;width:32px;height:32px;fill:none;stroke:var(--td-green);stroke-width:2.8;stroke-linecap:round;stroke-linejoin:round}
@media (min-width:520px){.hs-trades{grid-template-columns:repeat(2,1fr)}}
@media (min-width:900px){.hs-trades{grid-template-columns:repeat(3,1fr);gap:14px}.hs-trade{padding:18px}}

/* Counsel's never-do list: a "no" mark, never a check mark */
.hs-never__h{margin:22px 0 0}
.hs-never{list-style:none;margin:12px 0 0;padding:0;display:grid;gap:12px}
.hs-never li{position:relative;padding-left:34px;font-size:19px}
.hs-never li::before{content:"";position:absolute;left:2px;top:.32em;width:16px;height:16px;border:3px solid #A32D20;border-radius:50%;box-sizing:border-box;background:linear-gradient(45deg,transparent 43%,#A32D20 43%,#A32D20 57%,transparent 57%)}

/* Trust list */
.hs-checks{list-style:none;margin:26px 0 0;padding:0;display:grid;gap:12px}
.hs-checks li{position:relative;padding-left:34px;font-size:19px}
.hs-checks li::before{content:"";position:absolute;left:4px;top:.5em;width:14px;height:8px;border-left:3px solid var(--td-green);border-bottom:3px solid var(--td-green);transform:rotate(-45deg)}

/* Pricing: the value line, then the price card */
.hs-price{display:grid;gap:24px}
.hs-price__h{color:var(--td-cream)}
.hs-price__card{background:var(--td-cream);color:var(--td-ink);border-radius:16px;padding:24px 22px;border-top:6px solid var(--td-tan)}
.hs-price__big{font-family:var(--td-font-display);font-weight:800;font-size:54px;line-height:1;color:var(--td-green);margin:0}
.hs-price__lines{margin:14px 0 20px;padding-left:20px;display:grid;gap:8px}
.hs-price__entity{margin:16px 0 0;font-size:15px;color:var(--td-muted)}
@media (min-width:900px){.hs-price{grid-template-columns:1fr 1fr;align-items:center;column-gap:56px}.hs-price__h{font-size:clamp(44px,5.4vw,64px)}}

/* FAQ */
.hs-faq{margin-top:22px;border-top:1px solid var(--td-line)}
.hs-faq__item{border-bottom:1px solid var(--td-line)}
.hs-faq__item summary{cursor:pointer;list-style:none;padding:16px 36px 16px 0;position:relative;font-family:var(--td-font-label);font-weight:600;font-size:19px;color:var(--td-green);min-height:24px}
.hs-faq__item summary::-webkit-details-marker{display:none}
.hs-faq__item summary::after{content:"+";content:"+" / "";position:absolute;right:4px;top:12px;font-size:26px;line-height:1;color:var(--td-green)}
.hs-faq__item[open] summary::after{content:"–";content:"–" / ""}
.hs-faq__item summary:focus-visible{outline:3px solid var(--td-rust);outline-offset:3px}
.hs-faq__item p{margin:0 0 18px;max-width:62ch}
/* Open and close smoothly where the browser supports it, and never for people who turn motion off. */
@media (prefers-reduced-motion:no-preference){
  :root{interpolate-size:allow-keywords}
  .hs-faq__item::details-content{block-size:0;overflow:hidden;transition:block-size .25s ease,content-visibility .25s allow-discrete}
  .hs-faq__item[open]::details-content{block-size:auto}
}

/* Legal pages */
.hs-legal p{max-width:70ch;margin:0 0 14px}
.hs-legal .td-h2{margin-bottom:12px}
.hs-legal__version{color:var(--td-muted);font-size:16px}

/* Final call to action */
.hs-final .td-h2{margin-bottom:20px}

/* Request a call (Leon, Dec 1). Inline card, visibly quieter than the trial: outline button, cream chips (design expert). */
.hs-call-link{margin:12px 0 0;font-size:17px;line-height:1.4;color:var(--td-ink)}
.hs-call-link a{color:var(--td-green);font-weight:600;text-underline-offset:3px}
.hs-call-link a:focus-visible{outline:3px solid var(--td-rust);outline-offset:3px}
#call{scroll-margin-top:16px}
.hs-call__card{box-sizing:border-box;max-width:880px;margin:0 auto;background:#fff;border:1px solid var(--td-line);border-radius:16px;padding:24px 20px;display:grid;gap:20px}
.hs-call__pup{display:block;margin:0 0 10px}
.hs-call__intro .td-h2{margin-bottom:10px}
.hs-call__intro .hs-lead{margin:0}
.hs-call__form{display:grid;gap:16px}
.hs-field{display:grid;gap:6px}
.hs-field label,.hs-when legend{font-family:var(--td-font-label);font-weight:600;font-size:17px;line-height:1.3;color:var(--td-green)}
.hs-field__opt{font-weight:400;color:var(--td-muted)}
.hs-field input,.hs-field textarea{box-sizing:border-box;width:100%;min-height:48px;padding:10px 12px;border:1px solid #8C8476;border-radius:10px;background:#fff;color:var(--td-ink);font-family:var(--td-font-body);font-size:17px;line-height:1.4}
.hs-field textarea{resize:vertical}
.hs-field input:focus-visible,.hs-field textarea:focus-visible{outline:3px solid var(--td-rust);outline-offset:2px}
.hs-field input[aria-invalid="true"]{border-color:#A3261F;border-width:2px}
.hs-field__err,.hs-call__error{margin:0;color:#A3261F;font-size:16px;font-weight:600;line-height:1.4}
.hs-when{border:0;margin:0;padding:0;min-width:0}
.hs-when legend{padding:0;margin:0 0 6px}
.hs-when__opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.hs-when__opt{position:relative;display:block}
.hs-when__opt input{position:absolute;opacity:0;width:1px;height:1px;margin:0}
.hs-when__opt>span{box-sizing:border-box;display:flex;flex-wrap:wrap;column-gap:.3em;align-items:center;align-content:center;justify-content:center;min-height:48px;padding:6px 10px;border:1px solid #8C8476;border-radius:10px;background:var(--td-cream);font-family:var(--td-font-label);font-weight:600;font-size:16px;line-height:1.2;color:var(--td-green);text-align:center;cursor:pointer}
.hs-when__opt input:checked+span{background:var(--td-green);border-color:var(--td-green);color:var(--td-cream)}
.hs-when__opt input:focus-visible+span{outline:3px solid var(--td-rust);outline-offset:2px}
.hs-call__btn{justify-self:start;min-height:52px;background:#fff;color:var(--td-green);border:2px solid var(--td-green)}
.hs-call__btn:hover{background:var(--td-cream)}
.hs-call__btn:disabled{cursor:progress;opacity:.75}
.hs-call__consent{margin:0;font-size:15px;line-height:1.45;color:var(--td-muted)}
.hs-call__hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.hs-call__done{display:grid;justify-items:start;gap:10px;outline:none}
.hs-call__done[hidden],.hs-call__form[hidden],.hs-call__strings[hidden],.hs-field__err[hidden],.hs-call__error[hidden]{display:none}
.hs-call__thanks{margin:0;font-family:var(--td-font-label);font-weight:600;font-size:21px;line-height:1.3;color:var(--td-green)}
@media (min-width:768px){.hs-call__card{grid-template-columns:1fr 1.35fr;align-items:start;gap:32px;padding:32px}.hs-call__done{grid-column:2}}
@media (max-width:600px){.hs-call__btn{width:100%}}
