/* Customer pages in the homepage (home-2) look: navy hero with the faint grid, Barlow Condensed
   capitals, DM Sans text, square corners, the bright blue for action. Used by plans.html and
   book.html (<body class="pub site">), loaded after public.css so it wins over the older card look. */
body.pub.site {
  --st-ink: #061827;
  --st-ink-soft: #12344f;
  --st-blue: #168bff;
  --st-blue-text: #0069ce;
  --st-cream: #f4f8fc;
  --st-mist: #dceeff;
  --st-line: rgba(6, 24, 39, 0.14);
  --st-muted: #4d6272;
  --st-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --st-body: "DM Sans", system-ui, sans-serif;
  --text-muted: var(--st-muted);
  margin: 0; padding: 0; min-height: 100vh; display: block;
  font-family: var(--st-body); color: var(--st-ink);
  background-color: var(--st-ink);
  background-image:
    radial-gradient(90% 60% at 80% -10%, rgba(22, 139, 255, 0.28), transparent 60%),
    linear-gradient(rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: auto, 64px 64px, 64px 64px;
  background-attachment: scroll;
}
body.pub.site *, body.pub.site *::before, body.pub.site *::after { box-sizing: border-box; }

/* ---------- hero (top of both pages) ---------- */
.st-wrap.st-narrow { max-width: 640px; }
.st-wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 20px 64px; }
.st-hero { padding: 26px 0 40px; color: #fff; }
.st-brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none;
  font: 800 22px/1 var(--st-display); letter-spacing: 0.06em; text-transform: uppercase; }
.st-brand img { width: 38px; height: 38px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.58); object-fit: cover; }
.st-eyebrow { position: relative; overflow: hidden; display: inline-flex; align-items: center; gap: 10px; margin: 44px 0 0;
  padding: 8px 16px 8px 14px; border-radius: 999px; font: 700 14px/1.2 var(--st-body); color: #fff;
  background: linear-gradient(135deg, rgba(22, 139, 255, 0.16), rgba(255, 255, 255, 0.05));
  border: 1px solid rgba(124, 192, 255, 0.35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 10px 30px -14px rgba(22, 139, 255, 0.7); }
.st-eyebrow i { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 10px rgba(62, 224, 143, 0.9); flex: none; }
.st-title { margin: 18px 0 16px; font: 800 clamp(58px, 15vw, 104px)/0.86 var(--st-display); letter-spacing: -0.035em;
  text-transform: uppercase; color: #fff; text-wrap: balance; }
.st-title > span { display: block; }
.st-title .st-blue { color: var(--st-blue); }
.st-sub { margin: 0; max-width: 34em; color: rgba(255, 255, 255, 0.8); font-size: 17px; line-height: 1.65; text-wrap: pretty; }

/* ---------- white panel that holds the content ---------- */
body.pub.site .auth-card.st-panel { width: 100%; max-width: none; margin: 0; padding: 30px 26px 30px; border: 0; border-radius: 0;
  background: #fff; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); position: relative; }
body.pub.site .st-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--st-blue); }

/* buttons: the homepage's blue button with navy text */
body.pub.site .btn-primary, body.pub.site .auth-submit, .st-button {
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 56px; padding: 0 26px;
  position: relative; overflow: hidden; isolation: isolate; border: 0; border-radius: 0; cursor: pointer;
  background: var(--st-blue); color: var(--st-ink); font: 700 16px/1 var(--st-body);
  box-shadow: 0 12px 30px -12px rgba(22, 139, 255, 0.9);
  transition: background 180ms ease, transform 220ms cubic-bezier(.2, .8, .2, 1);
}
body.pub.site .btn-primary:hover, body.pub.site .auth-submit:hover { background: var(--st-ink); color: #fff; transform: translateY(-2px); }
body.pub.site .btn-primary:disabled, body.pub.site .auth-submit:disabled { opacity: 0.6; transform: none; cursor: default; }
body.pub.site .btn-primary::after, body.pub.site .auth-submit::after { content: ""; display: block; width: 18px; height: 18px; flex: none;
  background: currentColor; transition: transform 180ms ease;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat; }
body.pub.site .btn-primary:hover::after, body.pub.site .auth-submit:hover::after { transform: translateX(4px); }
body.pub.site .btn-ghost { border-radius: 0; min-height: 56px; border: 1px solid var(--st-line); background: #fff; color: var(--st-ink); font: 700 16px/1 var(--st-body); }
body.pub.site :focus-visible { outline: 3px solid var(--st-blue); outline-offset: 2px; }

/* ---------- form fields ---------- */
body.pub.site label { color: var(--st-ink); font: 600 14px/1.3 var(--st-body); }
body.pub.site input[type="text"], body.pub.site input[type="tel"], body.pub.site input[type="email"], body.pub.site input[type="number"],
body.pub.site input[type="date"], body.pub.site select, body.pub.site textarea {
  width: 100%; min-height: 52px; padding: 13px 14px; border-radius: 0; font: 400 16px/1.3 var(--st-body); color: var(--st-ink);
  background: var(--st-cream); border: 1px solid var(--st-line); border-bottom: 2px solid rgba(6, 24, 39, 0.28);
  transition: border-color 200ms ease, background-color 200ms ease, box-shadow 200ms ease;
}
body.pub.site textarea { min-height: 104px; }
body.pub.site input:focus, body.pub.site select:focus, body.pub.site textarea:focus {
  outline: none; background: #fff; border-color: var(--st-line); border-bottom-color: var(--st-blue); box-shadow: 0 6px 18px -10px rgba(22, 139, 255, 0.8);
}
body.pub.site input[type="checkbox"] { accent-color: var(--st-blue); width: 20px; height: 20px; min-height: 20px; border-radius: 0; }
body.pub.site .auth-error { border-radius: 0; }

/* ---------- booking form ---------- */
.st-step { margin: 0 0 8px; padding: 0; border: 0; min-width: 0; }
.st-step + .st-step { margin-top: 26px; padding-top: 26px; border-top: 1px solid var(--st-line); }
.st-step legend { display: flex; align-items: center; gap: 12px; padding: 0; margin: 0 0 18px;
  font: 800 28px/1 var(--st-display); letter-spacing: -0.01em; text-transform: uppercase; color: var(--st-ink); }
.st-step legend b { display: grid; place-items: center; width: 34px; height: 34px; flex: none; font: 800 19px/1 var(--st-display);
  color: var(--st-blue-text); border: 2px solid var(--st-blue); transition: background-color 250ms ease, color 250ms ease, transform 300ms cubic-bezier(.2, .9, .3, 1.4); }
.st-step:focus-within legend b { background: var(--st-blue); color: var(--st-ink); transform: rotate(-6deg) scale(1.08); }
body.pub.site .form-row { margin-bottom: 18px; }
body.pub.site .form-row > label .st-opt { font-weight: 400; color: var(--st-muted); }

/* the ballpark: a dark panel like the homepage estimator, with a big price readout */
body.pub.site .book-estimate-box { margin: 6px 0 0; padding: 20px; border: 0; border-radius: 0; background: var(--st-ink); color: #fff; position: relative; overflow: hidden; }
body.pub.site .book-estimate-box::before { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 139, 255, 0.45), transparent 70%); pointer-events: none; }
body.pub.site .book-estimate-box label { color: rgba(255, 255, 255, 0.8); }
body.pub.site .book-estimate-row { gap: 12px; margin-bottom: 12px; position: relative; }
body.pub.site .book-estimate-row label { font-size: 13px; margin-bottom: 6px; }
body.pub.site .book-estimate-row select, body.pub.site .book-estimate-row input {
  background: rgba(255, 255, 255, 0.08); color: #fff; border: 1px solid rgba(255, 255, 255, 0.22); border-bottom: 2px solid rgba(255, 255, 255, 0.4); border-radius: 0; }
body.pub.site .book-estimate-row select option { color: var(--st-ink); }
body.pub.site .book-estimate-row input::placeholder { color: rgba(255, 255, 255, 0.55); }
body.pub.site .book-estimate-row select:focus, body.pub.site .book-estimate-row input:focus { background: rgba(255, 255, 255, 0.14); border-bottom-color: var(--st-blue); }
body.pub.site .book-estimate-box .book-estimate-checkbox { color: #fff; font-size: 14px; gap: 10px; position: relative; }
body.pub.site .book-estimate-result { position: relative; min-height: 0; margin-top: 16px; font: 800 40px/1 var(--st-display); letter-spacing: -0.01em; color: var(--st-blue); }
body.pub.site .book-estimate-result:empty { margin-top: 0; }
body.pub.site .book-estimate-result:empty + .book-estimate-hint { margin-top: 14px; }
body.pub.site .book-estimate-hint { position: relative; font-size: 13px; color: rgba(255, 255, 255, 0.7); margin-top: 8px; }
body.pub.site .book-photos-hint { font-size: 13px; color: var(--st-muted); }
body.pub.site input[type="file"]::file-selector-button { border-radius: 0; border: 1px solid var(--st-ink); background: #fff; color: var(--st-ink); font: 700 14px var(--st-body); }
body.pub.site input[type="file"]::file-selector-button:hover { background: var(--st-ink); color: #fff; }
body.pub.site .book-photo-thumb { border-radius: 0; }
body.pub.site #book-submit { width: 100%; margin-top: 6px; }
body.pub.site .book-success h2 { font: 800 40px/0.95 var(--st-display); text-transform: uppercase; letter-spacing: -0.02em; color: var(--st-ink); }
body.pub.site .book-success svg { color: #22c55e; }

/* ---------- plans page ---------- */
body.pub.site .plans-wrap { max-width: none; }
body.pub.site #plans-sheet { background: transparent; border: 0; border-radius: 0; box-shadow: none; overflow: visible; margin: 0; }
body.pub.site .pq-list { display: flex; flex-direction: column; gap: 18px; }
body.pub.site .pq-row { position: relative; display: grid; grid-template-columns: 1fr; gap: 22px; padding: 28px 24px; border: 0; border-radius: 0;
  background: #fff; color: var(--st-ink); box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.7); overflow: hidden; }
body.pub.site .pq-row .pkg-row-name { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 6px;
  font: 800 38px/0.9 var(--st-display); letter-spacing: -0.02em; text-transform: uppercase; color: inherit; }
body.pub.site .pq-row .pkg-row-ribbon { margin: 0; padding: 6px 10px; border-radius: 0; background: var(--st-blue); color: var(--st-ink);
  font: 700 13px/1 var(--st-body); letter-spacing: 0; text-transform: none; }
body.pub.site .pq-row .pkg-row-freq { font-size: 15px; color: var(--st-muted); margin: 0 0 12px; }
body.pub.site .pq-row .pkg-row-tagline { font-size: 16px; line-height: 1.6; color: var(--st-ink); margin: 0 0 18px; max-width: 40em; }
body.pub.site .pkg-row-features { gap: 10px; margin: 0; padding: 18px 0 0; border-top: 1px solid var(--st-line); }
body.pub.site .pkg-row-features li { font-size: 15px; line-height: 1.45; gap: 12px; align-items: flex-start; }
body.pub.site .pkg-feature-icon { width: 22px; height: 22px; border-radius: 50%; margin-top: -1px; }
body.pub.site .pkg-feature-yes .pkg-feature-icon { background: #22c55e; color: #fff; }
body.pub.site .pkg-feature-yes .pkg-feature-icon svg { width: 12px; height: 12px; }
body.pub.site .pkg-feature-no .pkg-feature-icon { background: transparent; box-shadow: inset 0 0 0 1.5px rgba(6, 24, 39, 0.22); color: var(--st-muted); opacity: 1; }
body.pub.site .pkg-feature-no .pkg-feature-icon svg { width: 10px; height: 10px; }
body.pub.site .pkg-feature-yes .pkg-feature-text { color: var(--st-ink); }
body.pub.site .pkg-feature-no .pkg-feature-text { color: var(--st-muted); text-decoration-color: rgba(77, 98, 114, 0.6); }

/* the saving is the number people came for: big and blue */
body.pub.site .pq-row-price { min-width: 0; text-align: left; align-items: flex-start; gap: 16px; padding-top: 22px; border-top: 1px solid var(--st-line); }
body.pub.site .pkg-row-save { display: block; padding: 0; border: 0; border-radius: 0; background: none; color: var(--st-blue-text);
  font: 800 54px/0.9 var(--st-display); letter-spacing: -0.02em; text-transform: uppercase; }
body.pub.site .pkg-row-save svg { display: none; }
body.pub.site .pkg-row-save small { display: block; margin-top: 6px; font: 500 14px/1.3 var(--st-body); letter-spacing: 0; text-transform: none; color: var(--st-muted); }
body.pub.site .pkg-row-plain-label { font: 700 16px/1.3 var(--st-body); color: var(--st-muted); }
body.pub.site .pq-row [data-proceed-plan] { width: 100%; }

/* the most popular plan: dark, like the homepage plan card, with a soft blue light in its corner */
body.pub.site .pq-row.is-hot { background: var(--st-ink); color: #fff; box-shadow: 0 0 0 2px var(--st-blue), 0 40px 80px -40px rgba(22, 139, 255, 0.8); }
body.pub.site .pq-row.is-hot::before { content: ""; position: absolute; right: -90px; top: -90px; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 139, 255, 0.5), transparent 70%); pointer-events: none; }
body.pub.site .pq-row.is-hot > * { position: relative; }
body.pub.site .pq-row.is-hot .pkg-row-freq, body.pub.site .pq-row.is-hot .pkg-row-save small { color: rgba(255, 255, 255, 0.75); }
body.pub.site .pq-row.is-hot .pkg-row-tagline, body.pub.site .pq-row.is-hot .pkg-feature-yes .pkg-feature-text { color: #fff; }
body.pub.site .pq-row.is-hot .pkg-feature-no .pkg-feature-text { color: rgba(255, 255, 255, 0.7); }
body.pub.site .pq-row.is-hot .pkg-row-features, body.pub.site .pq-row.is-hot .pq-row-price { border-color: rgba(255, 255, 255, 0.16); }
body.pub.site .pq-row.is-hot .pkg-row-save { color: #4aa6ff; }

@media (min-width: 720px) {
  .st-wrap { padding: 0 32px 96px; }
  .st-hero { padding: 32px 0 56px; }
  body.pub.site .auth-card.st-panel { padding: 40px 44px; }
  body.pub.site .pq-row { grid-template-columns: 1fr 230px; gap: 36px; padding: 36px 40px; }
  body.pub.site .pq-row-price { padding: 0 0 0 32px; border-top: 0; border-left: 1px solid var(--st-line); align-self: stretch; justify-content: center; }
  body.pub.site .pkg-row-features { columns: 2; column-gap: 28px; display: block; }
  body.pub.site .pkg-row-features li { break-inside: avoid; margin-bottom: 10px; }
}

/* sign-up sheet that opens from a plan */
body.pub.site .plan-signup-card { border-radius: 0; padding: 28px 24px; }
body.pub.site .plan-signup-card h3 { font: 800 34px/0.95 var(--st-display); text-transform: uppercase; letter-spacing: -0.02em; }
body.pub.site .plan-signup-card input { border-radius: 0; }
body.pub.site .plans-fs-close { background: rgba(255, 255, 255, 0.12); border: 1px solid rgba(255, 255, 255, 0.3); width: 40px; height: 40px; }
body.pub.site .plans-error { color: #fff; }

/* ---------- motion: one entrance, then motion only where people act ---------- */
@media (prefers-reduced-motion: no-preference) {
  .st-brand, .st-eyebrow, .st-sub { animation: st-fade 700ms cubic-bezier(.2, .8, .2, 1) both; }
  .st-eyebrow { animation-delay: 120ms; }
  .st-title > span { animation: st-rise 800ms cubic-bezier(.2, .8, .2, 1) both; animation-delay: 220ms; }
  .st-title > span + span { animation-delay: 340ms; }
  .st-sub { animation-delay: 460ms; }
  body.pub.site .st-panel, body.pub.site #plans-sheet { animation: st-panel 900ms 540ms cubic-bezier(.2, .8, .2, 1) both; }
  /* a glint crosses the tag now and then, as on the homepage */
  .st-eyebrow::after { content: ""; position: absolute; top: 0; bottom: 0; left: -40%; width: 30%; pointer-events: none;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.28), transparent); transform: skewX(-18deg); animation: st-glint 5s 2.2s ease-in-out infinite; }
  .st-eyebrow i { position: relative; }
  .st-eyebrow i::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #3ee08f; animation: st-ping 2s ease-out infinite; }
  /* the ballpark price pops when it changes */
  body.pub.site .book-estimate-result.st-pop { animation: st-pop 450ms cubic-bezier(.2, .9, .3, 1.4); }
  /* a light sweeps the main button when you point at it */
  body.pub.site .btn-primary::before, body.pub.site .auth-submit::before { content: ""; position: absolute; inset: -40% auto -40% -60%; width: 40%; z-index: -1;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.5), transparent); transform: skewX(-18deg); opacity: 0; pointer-events: none; }
  body.pub.site .btn-primary:hover::before, body.pub.site .auth-submit:hover::before { animation: st-sweep 800ms ease; }
  /* the popular plan's light drifts slowly */
  body.pub.site .pq-row.is-hot::before { animation: st-drift 7s ease-in-out infinite alternate; }
}
@keyframes st-fade { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes st-rise { from { opacity: 0; transform: translateY(0.4em); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(0 0 -10% 0); } }
@keyframes st-panel { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: none; } }
@keyframes st-glint { 0% { left: -40%; } 22%, 100% { left: 130%; } }
@keyframes st-ping { 0% { transform: scale(1); opacity: 0.9; } 100% { transform: scale(3.2); opacity: 0; } }
@keyframes st-pop { 0% { transform: scale(0.9); opacity: 0.4; } 60% { transform: scale(1.04); opacity: 1; } 100% { transform: none; } }
@keyframes st-sweep { 0% { left: -60%; opacity: 1; } 100% { left: 130%; opacity: 1; } }
@keyframes st-drift { from { transform: translate(0, 0); } to { transform: translate(-80px, 60px); } }
/* the tag always starts its own line under the logo */
.st-eyebrow { display: flex; width: fit-content; }
/* fieldset legends sit on the border by default, which split the divider line; float them into normal flow */
.st-step legend { float: left; width: 100%; }
.st-step legend + * { clear: both; }
/* plans: keep the page a comfortable width, and the button on one line */
body.pub.site .plans-wrap.st-wrap { max-width: 1120px; }
body.pub.site .pq-row [data-proceed-plan] { white-space: nowrap; }
@media (min-width: 720px) { body.pub.site .pq-row { grid-template-columns: 1fr 260px; } }
body.pub.site .plan-signup-actions { display: flex; gap: 10px; }
body.pub.site .plan-signup-actions .btn { white-space: nowrap; }
body.pub.site #plan-signup-submit { flex: 1; }

/* =====================================================================================
   Customer link pages (invoice, account, quote, accept-quote, track, rate) and sign-in.
   Same shell as plans/book: small hero (logo + tag), one white square panel, help line.
   ===================================================================================== */
body.pub.site .st-panel { position: relative; width: 100%; max-width: none; margin: 0; padding: 30px 26px; border: 0; border-radius: 0;
  background: #fff; color: var(--st-ink); text-align: left; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, 0.7); }
body.pub.site .st-panel::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--st-blue); }
.st-hero.st-hero-sm { padding: 26px 0 26px; }
.st-hero.st-hero-sm .st-eyebrow { margin-top: 30px; }
body.pub.site .auth-brand, body.pub.site .account-brand { display: none; }
body.pub.site .auth-title, body.pub.site h1.auth-title { margin: 0 0 10px; font: 800 clamp(40px, 11vw, 56px)/0.9 var(--st-display); letter-spacing: -0.025em;
  text-transform: uppercase; color: var(--st-ink); text-wrap: balance; }
body.pub.site .auth-subtitle { font: 400 16px/1.6 var(--st-body); color: var(--st-muted); margin: 0 0 20px; }
body.pub.site .auth-hint { color: var(--st-muted); }
.st-help { margin: 22px 0 0; color: rgba(255, 255, 255, 0.78); font-size: 15px; }
.st-help a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
body.pub.site .pub-help a { color: var(--st-blue-text); }
.st-note { margin: 14px 0 0; font-size: 14px; color: var(--st-muted); text-align: center; }
@media (min-width: 720px) { body.pub.site .st-panel { padding: 40px 44px; } }

/* ---------- live tracking ---------- */
body.pub.site.pg-track .st-panel { text-align: center; }
body.pub.site .trk-emoji { display: grid; place-items: center; width: 64px; height: 64px; margin: 4px auto 18px; font-size: 0; color: var(--st-blue); border: 2px solid var(--st-blue); }
body.pub.site .trk-emoji svg { width: 34px; height: 34px; }
body.pub.site .trk-eta { margin: 14px 0 6px; font: 800 clamp(64px, 20vw, 96px)/0.85 var(--st-display); letter-spacing: -0.03em; text-transform: uppercase; color: var(--st-blue-text); }
body.pub.site .trk-sub { font-size: 16px; color: var(--st-muted); margin: 8px 0 0; }
body.pub.site .trk-road { position: relative; height: 10px; margin: 28px 0 8px; border-radius: 0; background: var(--st-cream); overflow: visible; box-shadow: inset 0 0 0 1px var(--st-line); }
body.pub.site .trk-road span { position: absolute; left: 0; top: 0; bottom: 0; border-radius: 0; background: var(--st-blue); transition: width 0.8s ease; }
body.pub.site .trk-road span::after { content: ""; position: absolute; right: -9px; top: 50%; width: 18px; height: 18px; margin-top: -9px; border-radius: 50%;
  background: #fff; border: 4px solid var(--st-blue); box-shadow: 0 0 0 6px rgba(22, 139, 255, 0.18); }
body.pub.site .trk-ends { display: flex; justify-content: space-between; font-size: 13px; color: var(--st-muted); }
body.pub.site .trk-note { font-size: 13px; color: var(--st-muted); margin-top: 22px; }

/* ---------- rating ---------- */
body.pub.site .rate-stars { gap: 6px; margin: 22px 0 10px; }
body.pub.site .rate-star { width: 56px; height: 56px; font-size: 46px; color: #d7e3ee; }
body.pub.site .rate-star:hover, body.pub.site .rate-star.active { color: #f2b53a; transform: none; }
body.pub.site .rate-star-label { min-height: 30px; margin-bottom: 14px; font: 800 26px/1 var(--st-display); letter-spacing: -0.01em; text-transform: uppercase; color: var(--st-ink); }
body.pub.site #rate-submit { width: 100%; }
body.pub.site #rate-google-link { width: 100%; margin-top: 10px; }
body.pub.site .rate-result svg, body.pub.site .quote-result svg { color: #22c55e; }

/* ---------- accept a quote ---------- */
body.pub.site .quote-price { margin: 18px 0 6px; text-align: left; font: 800 clamp(84px, 26vw, 128px)/0.85 var(--st-display); letter-spacing: -0.03em; color: var(--st-blue-text); }
body.pub.site .quote-address { text-align: left; font-size: 16px; color: var(--st-muted); margin-bottom: 26px; padding-bottom: 22px; border-bottom: 1px solid var(--st-line); }
body.pub.site #quote-accept { width: 100%; }
body.pub.site .quote-decline-link { color: var(--st-muted); font-size: 15px; min-height: 44px; }

/* ---------- account ---------- */
body.pub.site .st-hi { margin: 0 0 6px; font: 800 clamp(48px, 14vw, 72px)/0.88 var(--st-display); letter-spacing: -0.03em; text-transform: uppercase; color: var(--st-ink); }
body.pub.site .account-hi { font-size: 16px; color: var(--st-muted); margin: 0 0 26px; }
body.pub.site .account-section-title { margin: 30px 0 12px; font: 800 24px/1 var(--st-display); letter-spacing: -0.01em; text-transform: uppercase; color: var(--st-ink); }
body.pub.site .account-hi + .account-section-title { margin-top: 0; }
body.pub.site .account-next-card { position: relative; overflow: hidden; margin: 0 0 8px; padding: 22px 22px 20px; border: 0; border-radius: 0; background: var(--st-ink); color: #fff; }
body.pub.site .account-next-card::before { content: ""; position: absolute; right: -70px; top: -70px; width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgba(22, 139, 255, 0.5), transparent 70%); pointer-events: none; }
body.pub.site .account-next-when { position: relative; font: 800 clamp(40px, 12vw, 56px)/0.9 var(--st-display); letter-spacing: -0.02em; text-transform: uppercase; color: #4aa6ff; }
body.pub.site .account-next-time { position: relative; margin-top: 8px; font: 700 18px/1.3 var(--st-body); }
body.pub.site .account-next-meta { position: relative; margin-top: 4px; font-size: 15px; color: rgba(255, 255, 255, 0.75); }
body.pub.site .account-invoice-row { padding: 14px 0; border-bottom: 1px solid var(--st-line); font-size: 15px; }
body.pub.site .account-invoice-row span { font-weight: 700; font-variant-numeric: tabular-nums; }
body.pub.site .account-invoice-date { font-size: 13px; color: var(--st-muted); }
body.pub.site .account-invoice-link { color: var(--st-blue-text); min-height: 44px; display: inline-flex; align-items: center; }
body.pub.site .account-empty { font-size: 15px; color: var(--st-muted); }
body.pub.site .account-actions { margin-top: 26px; gap: 10px; }
body.pub.site .account-action-btn { min-height: 56px; padding: 0 18px; border-radius: 0; border: 1px solid var(--st-line); background: var(--st-cream);
  font: 700 16px/1 var(--st-body); color: var(--st-ink); display: flex; align-items: center; justify-content: space-between; transition: background-color 180ms ease; }
body.pub.site .account-action-btn::after { content: "+"; font: 800 26px/1 var(--st-display); color: var(--st-blue-text); transition: transform 250ms ease; }
body.pub.site .account-action-btn[aria-expanded="true"]::after { transform: rotate(45deg); }
body.pub.site .account-action-btn:hover { background: #fff; }
body.pub.site .account-action-panel, body.pub.site .referral-panel { margin-top: 0; padding: 18px; border: 1px solid var(--st-line); border-top: 0; border-radius: 0; background: #fff; }
body.pub.site .account-action-panel label, body.pub.site .referral-panel label { color: var(--st-ink); font-size: 14px; margin-bottom: 6px; }
body.pub.site .account-action-panel input, body.pub.site .account-action-panel textarea, body.pub.site .referral-panel input { border-radius: 0; margin-bottom: 12px; }
body.pub.site .account-action-save, body.pub.site .referral-save { min-height: 52px; border-radius: 0; background: var(--st-blue); color: var(--st-ink); font: 700 16px/1 var(--st-body); width: 100%; }
body.pub.site .account-action-status, body.pub.site .referral-status { font-size: 14px; }
body.pub.site .referral-prompt { margin-top: 30px; padding: 24px 22px; border: 0; border-radius: 0; background: var(--st-mist); }
body.pub.site .referral-prompt-title { font: 800 30px/0.95 var(--st-display); letter-spacing: -0.02em; text-transform: uppercase; color: var(--st-ink); }
body.pub.site .referral-prompt-sub { color: var(--st-ink); }
body.pub.site .referral-prompt-btn { min-height: 56px; border-radius: 0; background: var(--st-ink); color: #fff; font: 700 16px/1 var(--st-body); width: 100%; border: 0; cursor: pointer; }
body.pub.site .referral-prompt-btn:hover { background: var(--st-blue); color: var(--st-ink); }
body.pub.site .referral-panel { background: #fff; border: 0; margin-top: 12px; }

/* ---------- invoice ---------- */
body.pub.site .invoice-header { margin-bottom: 22px; padding-bottom: 20px; border-bottom: 1px solid var(--st-line); }
body.pub.site .invoice-logo { width: 46px; height: 46px; border: 2px solid var(--st-line); box-shadow: none; }
body.pub.site .invoice-to { font-size: 14px; color: var(--st-muted); line-height: 1.45; }
body.pub.site .invoice-to strong { font-size: 16px; color: var(--st-ink); }
body.pub.site .invoice-brand-contact { font-size: 13px; }
body.pub.site .st-inv-title { margin: 0 0 8px; font: 800 clamp(44px, 12vw, 64px)/0.88 var(--st-display); letter-spacing: -0.03em; text-transform: uppercase; color: var(--st-ink); }
body.pub.site .invoice-meta { font-size: 15px; line-height: 1.55; color: var(--st-muted); margin-bottom: 22px; }
body.pub.site .invoice-meta strong { color: var(--st-ink); }
body.pub.site .invoice-paid-stamp, body.pub.site .st-due { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px; padding: 7px 12px; border: 0; border-radius: 0;
  font: 700 14px/1 var(--st-body); letter-spacing: 0; text-transform: none; }
body.pub.site .invoice-paid-stamp { background: #e3f6ea; color: #157347; }
body.pub.site .st-due { background: var(--st-mist); color: var(--st-ink); }
body.pub.site .invoice-table th { font: 700 13px/1 var(--st-body); letter-spacing: 0; text-transform: none; color: var(--st-muted); border-bottom: 2px solid var(--st-ink); padding-bottom: 10px; }
body.pub.site .invoice-table td { font-size: 15px; border-bottom: 1px solid var(--st-line); padding: 14px 12px 14px 0; font-variant-numeric: tabular-nums; }
body.pub.site .invoice-total-row td { padding-top: 18px; font: 800 22px/1 var(--st-display); text-transform: uppercase; letter-spacing: 0; vertical-align: baseline; }
body.pub.site .invoice-total-row td:last-child { font-size: 44px; letter-spacing: -0.02em; color: var(--st-blue-text); }
body.pub.site .invoice-cur { font: 600 14px var(--st-body); color: var(--st-muted); }
body.pub.site .invoice-gst { font-size: 14px; }
body.pub.site .invoice-pay { margin-top: 22px; padding: 18px 20px; border: 0; border-left: 4px solid var(--st-blue); border-radius: 0; background: var(--st-cream); font-size: 15px; }
body.pub.site .invoice-pay-title { font: 800 22px/1 var(--st-display); text-transform: uppercase; letter-spacing: 0; margin-bottom: 8px; }
body.pub.site .invoice-card-pay button { width: 100%; }
body.pub.site .invoice-card-pay-note { font-size: 13px; }
body.pub.site .invoice-banner { border-radius: 0; }
body.pub.site .invoice-footer { font-size: 14px; border-top-color: var(--st-line); }
body.pub.site .invoice-print-btn { min-height: 48px; font-size: 15px; }
body.pub.site .invoice-close-btn, body.pub.site .plans-fs-close { border-radius: 50%; background: rgba(255, 255, 255, 0.12); color: #fff; border: 1px solid rgba(255, 255, 255, 0.3); box-shadow: none; width: 40px; height: 40px; top: 20px; right: 16px; }
/* line items stack on a phone instead of squeezing into four narrow columns */
@media (max-width: 560px) {
  body.pub.site .invoice-table thead { display: none; }
  body.pub.site .invoice-table, body.pub.site .invoice-table tbody { display: block; }
  body.pub.site .invoice-table tr { display: grid; grid-template-columns: auto auto 1fr; align-items: baseline; gap: 4px 6px; padding: 14px 0; border-bottom: 1px solid var(--st-line); }
  body.pub.site .invoice-table td { display: block; padding: 0; border: 0; font-size: 15px; }
  body.pub.site .invoice-table td:nth-child(1) { grid-column: 1 / -1; font-weight: 600; color: var(--st-ink); }
  body.pub.site .invoice-table td:nth-child(2) { color: var(--st-muted); }
  body.pub.site .invoice-table td:nth-child(2)::after { content: " \00D7"; }
  body.pub.site .invoice-table td:nth-child(3) { color: var(--st-muted); }
  body.pub.site .invoice-table td:nth-child(4) { justify-self: end; font-weight: 700; }
  body.pub.site .invoice-table .invoice-total-row { grid-template-columns: 1fr auto; border-bottom: 0; padding-top: 18px; }
  body.pub.site .invoice-table .invoice-total-row td { padding: 0; }
  body.pub.site .invoice-table .invoice-total-row td:nth-child(1) { grid-column: auto; }
  body.pub.site .invoice-table .invoice-total-row td:nth-child(2) { color: var(--st-blue-text); justify-self: end; font-size: 44px; }
  body.pub.site .invoice-table .invoice-total-row td:nth-child(2)::after { content: none; }
}
@media print {
  body.pub.site { background: #fff !important; }
  body.pub.site .st-hero, body.pub.site .st-help, body.pub.site .invoice-close-btn { display: none !important; }
  body.pub.site .st-panel { box-shadow: none; padding: 0; animation: none !important; }
  body.pub.site .st-panel::before { display: none; }
}

/* ---------- plan quote by text (quote.html) ---------- */
body.pub.site .pkg-row-regular { font: 600 18px/1 var(--st-body); color: var(--st-muted); text-decoration: line-through; }
body.pub.site .pkg-row-discounted { font: 800 56px/0.9 var(--st-display); letter-spacing: -0.02em; color: var(--st-ink); }
body.pub.site .pq-row.is-hot .pkg-row-discounted { color: #fff; }
body.pub.site .pq-row.is-hot .pkg-row-regular { color: rgba(255, 255, 255, 0.65); }
body.pub.site .pq-row .pq-row-price .pkg-row-save { font-size: 26px; }
body.pub.site .plan-row-actions { justify-content: flex-start; margin-top: 22px; }
body.pub.site .pkg-row-features:not(.pkg-row-features--matrix) li::before { content: ""; flex: none; position: static; width: 22px; height: 22px; border-radius: 50%; background: #22c55e
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 13l4 4L19 7'/%3E%3C/svg%3E") center / 12px no-repeat; margin-top: -1px; }
body.pub.site .pkg-row-features:not(.pkg-row-features--matrix) li { display: flex; padding-left: 0; }

/* ---------- motion for the link pages: the price or time rises in once ---------- */
@media (prefers-reduced-motion: no-preference) {
  body.pub.site .st-panel { animation: st-panel 900ms 380ms cubic-bezier(.2, .8, .2, 1) both; }
  body.pub.site .trk-eta, body.pub.site .quote-price, body.pub.site .account-next-when { animation: st-rise 800ms 700ms cubic-bezier(.2, .8, .2, 1) both; }
  body.pub.site .trk-road span::after { animation: st-ring 1.8s ease-out infinite; }
  body.pub.site .rate-star.st-pop { animation: st-star 420ms cubic-bezier(.2, .9, .3, 1.5); }
  body.pub.site .account-action-panel:not([hidden]), body.pub.site .referral-panel:not([hidden]) { animation: st-open 300ms cubic-bezier(.2, .8, .2, 1); }
}
@keyframes st-ring { 0% { box-shadow: 0 0 0 0 rgba(22, 139, 255, 0.45); } 100% { box-shadow: 0 0 0 16px rgba(22, 139, 255, 0); } }
@keyframes st-star { 0% { transform: scale(0.6) rotate(-20deg); } 60% { transform: scale(1.25) rotate(6deg); } 100% { transform: none; } }
@keyframes st-open { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
body.pub.site .trk-eta { font-size: clamp(52px, 14vw, 96px); white-space: nowrap; }
/* quote page: features readable on the dark popular plan; button sits under the price */
body.pub.site .pq-row.is-hot .pkg-row-features li { color: #fff; }
body.pub.site .pg-quote .plan-row-actions, body.pub.site.pg-quote .plan-row-actions { width: 100%; margin-top: 8px; }
body.pub.site.pg-quote .plan-row-actions .btn { width: 100%; white-space: nowrap; }
/* sign-in: the password box matches the other fields */
body.pub.site input[type="password"] { width: 100%; min-height: 52px; padding: 13px 14px; border-radius: 0; font: 400 16px/1.3 var(--st-body); color: var(--st-ink);
  background: var(--st-cream); border: 1px solid var(--st-line); border-bottom: 2px solid rgba(6, 24, 39, 0.28); }
body.pub.site input[type="password"]:focus { outline: none; background: #fff; border-bottom-color: var(--st-blue); box-shadow: 0 6px 18px -10px rgba(22, 139, 255, 0.8); }
