/* Commerce: hiring form, service plan toggle, Monthly VA, home promo strip, footer social links.
   Dark mode is the default; light mode is html[data-theme="light"]. */

/* ---------------------------------------------------------------- Home: promo strip under the header */
.promo-strip { background: #4DAB4B; color: #0B2415; overflow: hidden; border-bottom: 1px solid rgba(0,0,0,.12); font-size: 13.5px; font-weight: 800; letter-spacing: .02em; }
html[data-theme="light"] .promo-strip { background: #2F7D2E; color: #fff; border-bottom-color: #25662A; }
.promo-track { display: flex; width: max-content; animation: promo-scroll 38s linear infinite; }
.promo-strip:hover .promo-track { animation-play-state: paused; }
.promo-group { display: flex; flex-shrink: 0; }
.promo-item { display: inline-flex; align-items: center; padding: 8px 0; white-space: nowrap; }
.promo-item::after { content: "\2022"; margin: 0 26px; opacity: .6; }
@keyframes promo-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .promo-track { animation: none; width: auto; justify-content: center; }
  .promo-group + .promo-group, .promo-group .promo-item + .promo-item { display: none; }
  .promo-item::after { content: none; }
}

/* ---------------------------------------------------------------- Service page: "Choose your plan" (Hourly | Fixed price) */
.plan-modes { display: flex; flex-direction: column; }
.pm-input { position: absolute; opacity: 0; pointer-events: none; }
.pm-switch { align-self: center; display: inline-flex; gap: 4px; padding: 4px; margin-bottom: 28px; border-radius: 999px; background: var(--wash); border: 1px solid var(--line); }
.pm-switch label { display: inline-flex; align-items: center; gap: 8px; padding: 9px 22px; border-radius: 999px; font-weight: 800; font-size: 14.5px; color: var(--muted); cursor: pointer; user-select: none; }
.pm-switch label:hover { color: var(--ink); }
#pm-hourly:checked ~ .pm-switch label[for="pm-hourly"], #pm-fixed:checked ~ .pm-switch label[for="pm-fixed"] { background: #4DAB4B; color: #fff; }
#pm-hourly:focus-visible ~ .pm-switch label[for="pm-hourly"], #pm-fixed:focus-visible ~ .pm-switch label[for="pm-fixed"] { outline: 2px solid #4DAB4B; outline-offset: 2px; }
.pm-save { font-size: 11.5px; font-weight: 800; padding: 2px 8px; border-radius: 999px; background: #E3F4E3; color: #2F7D2E; }
.pm-panel { display: none; }
#pm-hourly:checked ~ .pm-panel-hourly, #pm-fixed:checked ~ .pm-panel-fixed { display: grid; }
.tier .amount .was { font-size: 20px; font-weight: 600; color: var(--muted); margin-right: 6px; text-decoration-thickness: 2px; }
.save-pill { display: inline-block; font-size: 12.5px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: #E3F4E3; color: #2F7D2E; border: 1px solid #BFE0BF; }
html:not([data-theme="light"]) .save-pill, html:not([data-theme="light"]) .pm-save { background: #17331F; color: #8FE08C; border-color: #2B5A36; }
html:not([data-theme="light"]) #pm-hourly:checked ~ .pm-switch label[for="pm-hourly"],
html:not([data-theme="light"]) #pm-fixed:checked ~ .pm-switch label[for="pm-fixed"] { color: #0B2415; }

/* ---------------------------------------------------------------- Hiring form: freelancer picker */
.talent-find { display: flex; gap: 8px; }
.talent-find .input { flex: 1; min-width: 0; }
.talent-pick { display: grid; gap: 8px; margin-top: 12px; max-height: 440px; overflow-y: auto; padding: 2px 4px 2px 2px; }
.talent-option { position: relative; }
.talent-option[hidden] { display: none; }
.talent-option input { position: absolute; opacity: 0; }
.talent-option label { display: flex; gap: 12px; align-items: flex-start; margin: 0; padding: 12px 84px 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: var(--card); }
.talent-option label > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.talent-option input:checked + label { border-color: #4DAB4B; box-shadow: 0 0 0 1px #4DAB4B inset; background: var(--wash); }
.talent-option input:focus-visible + label { outline: 2px solid #4DAB4B; outline-offset: 2px; }
.talent-auto label { padding-right: 14px; }
.talent-auto .avatar { background: #4DAB4B; color: #fff; font-size: 12px; }
.talent-svcs { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.talent-profile { position: absolute; top: 14px; right: 14px; font-weight: 700; color: var(--primary); }

/* ---------------------------------------------------------------- Monthly VA */
.va-plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.va-plan { gap: 12px; }
.va-plan .amount { font-size: 34px; }
.va-hours { font-weight: 800; font-size: 14px; color: #2F9E5B; }
html:not([data-theme="light"]) .va-hours { color: #7DD87A; }
.va-tagline { font-weight: 700; color: var(--ink); }
.va-plan .ticks { font-size: 14px; }
.va-custom { border-style: dashed; border-width: 2px; }
.va-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 24px; margin: 16px 0 6px; }
.va-facts dt { font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.va-facts dd { margin: 2px 0 0; font-weight: 600; }
.va-services { display: grid; gap: 4px; max-height: 480px; overflow-y: auto; }
.va-svc-group { border-bottom: 1px solid var(--line); }
.va-svc-group summary { cursor: pointer; font-weight: 800; padding: 9px 0; }
.va-svc-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; padding: 2px 0 12px; }
.va-svc-list .check { font-weight: 600; }
.va-svc-list [hidden], .va-svc-group[hidden] { display: none; }
@media (max-width: 1024px) { .va-plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .va-plans, .va-facts, .va-svc-list { grid-template-columns: 1fr; }
  .talent-option label { padding-right: 14px; padding-bottom: 32px; }
  .talent-profile { top: auto; bottom: 10px; right: auto; left: 66px; }
}

/* ---------------------------------------------------------------- Footer: social links */
.social-links { list-style: none; margin: 16px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.site-footer .social-links a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; margin: 0; border-radius: 50%; background: rgba(77,171,75,.16); color: inherit; transition: background .15s, color .15s; }
.site-footer .social-links a:hover, .site-footer .social-links a:focus-visible { background: #4DAB4B; color: #fff; }
.site-footer .social-links a:focus-visible { outline: 2px solid #4DAB4B; outline-offset: 2px; }
.social-links svg { display: block; }

/* ---------------------------------------------------------------- Free business audit */
/* Header pill: brand green with dark text (readable on the deep green header in both themes). */
html .site-header .nav a.nav-audit,
html .site-header .nav a.nav-audit:hover,
html .site-header .nav a.nav-audit:focus-visible,
html .site-header .nav a.nav-audit.active { display: inline-flex; align-items: center; padding: 6px 14px; margin: -6px 0; border-radius: 999px; background: #4DAB4B; color: #06231A; font-weight: 800; white-space: nowrap; box-shadow: 0 0 0 1px rgba(255,255,255,.18) inset, 0 2px 10px rgba(77,171,75,.35); transition: background .15s, box-shadow .15s; }
html .site-header .nav a.nav-audit:hover, html .site-header .nav a.nav-audit:focus-visible { background: #62C25F; }
html .site-header .nav a.nav-audit:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
html .site-header .nav a.nav-audit.active { box-shadow: 0 0 0 2px #C4F5C2; }
@media (min-width: 761px) and (max-width: 1200px) {
  .site-header .nav { gap: 18px; }
  html .site-header .nav a.nav-audit { padding: 6px 11px; font-size: 13.5px; }
}
@media (max-width: 760px) { html .site-header .nav.open a.nav-audit { align-self: flex-start; margin: 2px 0 0; } }
.site-footer a.footer-audit { font-weight: 800; color: #2F7D2E; }
html:not([data-theme="light"]) .site-footer a.footer-audit { color: #7DD87A; }
html:not([data-theme="light"]) .site-footer a.footer-audit:hover { color: #fff; }

/* Admin nav: number of new audits */
.nav-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; margin-left: 4px; border-radius: 999px; background: #4DAB4B; color: #06231A; font-size: 11.5px; font-weight: 800; }

/* Form */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.audit-form { position: relative; }
.audit-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; }
.audit-area { padding: 10px 12px; border: 1.5px solid var(--line); border-radius: 10px; background: var(--card); cursor: pointer; }
.audit-area:has(input:checked) { border-color: #4DAB4B; background: var(--wash); }
.audit-aside { position: sticky; top: 96px; }

/* Thanks page, My audits, admin detail */
.audit-checks { border: 0; padding: 0; margin: 0; min-width: 0; }
.audit-checks legend { padding: 0; margin-bottom: 8px; }
.audit-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; border-color: #4DAB4B; }
.audit-report { margin-top: 14px; padding: 16px; border-radius: 12px; background: var(--wash); border: 1px solid var(--line); }
.audit-report-body { line-height: 1.65; }
.audit-dl { grid-template-columns: 200px 1fr; }
.audit-dl dd { overflow-wrap: anywhere; }
.audit-dl dd.audit-long { white-space: pre-line; font-weight: 500; }
@media (max-width: 1024px) { .audit-aside { position: static; } }
@media (max-width: 760px) { .audit-areas, .audit-dl { grid-template-columns: 1fr; } }

/* Service page: compact header so "Choose your plan" shows on the first screen */
.svc-hero { padding-top: 30px; padding-bottom: 26px; }
.svc-hero h1 { margin: 10px 0 8px; font-size: clamp(26px, 4vw, 34px); }
.svc-hero .lead { font-size: 15.5px; line-height: 1.55; }
#plans { padding-top: 40px; }

/* The menu has grown (Monthly VA, Audit Your Business Free): use the menu button up to 1280px so it never overflows. */
@media (min-width: 761px) and (max-width: 1700px) {
  .site-header .nav { display: none; }
  .site-header .nav.open { display: flex; flex-direction: column; align-items: flex-start; position: absolute; left: 0; right: 0; top: 100%; background: #154A35; padding: 12px 24px 16px; border-bottom: 1px solid rgba(255,255,255,.08); gap: 12px; }
  .site-header .nav-toggle { display: inline-flex; }
}

/* ---------------------------------------------------------------- Service page: 4th "Custom" card */
.pricing.pm-panel { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tier-custom { border-style: dashed; border-width: 2px; }
.tier-custom .amount { font-size: 26px; }
@media (max-width: 1024px) { .pricing.pm-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .pricing.pm-panel { grid-template-columns: 1fr; } }
.custom-cta { margin: 0 0 28px; }

/* ---------------------------------------------------------------- Hiring form: order summary and freelancer table */
.order-summary { border: 2px solid #4DAB4B; }
.summary-list { margin: 0; display: grid; gap: 8px; }
.summary-list > div { display: flex; justify-content: space-between; gap: 16px; }
.summary-list dt { color: var(--muted); font-weight: 600; }
.summary-list dd { margin: 0; font-weight: 700; text-align: right; }
.summary-total { border-top: 1px solid var(--line); padding-top: 8px; margin-top: 2px; }
.summary-total dd { font-size: 20px; font-weight: 800; }
.talent-current { margin: 0 0 12px; }
.talent-table-wrap { margin-top: 12px; max-height: 520px; overflow-y: auto; }
.talent-table { width: 100%; border-collapse: collapse; }
.talent-table th { position: sticky; top: 0; background: var(--card); z-index: 1; text-align: left; }
.talent-table td, .talent-table th { padding: 10px 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.talent-table tr[hidden] { display: none; }
.talent-table input[type="radio"] { width: 18px; height: 18px; accent-color: #4DAB4B; }
.talent-row:has(input:checked) { background: var(--wash); box-shadow: inset 3px 0 0 #4DAB4B; }
.talent-who { display: flex; gap: 10px; align-items: center; cursor: pointer; margin: 0; }
.talent-who > span:last-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.talent-table .talent-profile { position: static; display: inline-block; margin-top: 4px; }
.talent-table .avatar-sm, .talent-auto .avatar { width: 32px; height: 32px; font-size: 12px; }
.nowrap { white-space: nowrap; }
@media (max-width: 760px) { .talent-table th:nth-child(4), .talent-table td[data-cell="fixed"] { display: none; } }

/* ---------------------------------------------------------------- Monthly VA: equal cards */
.va-plan { display: flex; flex-direction: column; gap: 12px; margin: 0; }
.va-price { min-height: 50px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
.va-price .amount { font-size: 34px; font-weight: 800; }
.va-price .amount small { font-size: 15px; color: var(--muted); font-weight: 600; }
.va-price-other[hidden] { display: none; }
.va-hours label, .va-notes label { display: block; font-weight: 700; margin-bottom: 4px; }
.va-tagline { min-height: 1.5em; }
.va-checklist { border: 0; margin: 0; padding: 0; display: grid; gap: 7px; align-content: start; }
.va-checklist .check { font-size: 14px; font-weight: 600; }
.va-checklist-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.va-more summary { cursor: pointer; font-weight: 800; color: var(--primary); padding: 6px 0; }
.va-more .va-services { max-height: 300px; }
.va-plan-action { margin-top: auto; padding-top: 6px; }
.va-plans-single { grid-template-columns: 1fr; }
@media (max-width: 760px) { .va-checklist-2 { grid-template-columns: 1fr; } }

/* Header: never wrap menu labels or buttons onto two lines */
.site-header .nav a, .site-header .mega-toggle, .site-header .btn, .site-header .user-menu summary { white-space: nowrap; }
.site-header .container { min-width: 0; }
.site-header .header-actions { flex-wrap: nowrap; }

/* Phones: keep the header on one line */
.nav-lang { display: none; }
@media (max-width: 760px) {
  .site-header .header-actions > .lang-form { display: none; }
  .site-header .nav.open .nav-lang { display: block; margin-top: 4px; }
  .site-header .header-actions { gap: 6px; }
  .site-header .user-menu summary { font-size: 0; gap: 4px; }
  .site-header .user-menu summary .avatar, .site-header .user-menu summary svg { font-size: 13px; }
  .site-header .logo { font-size: 18px; }
}
@media (max-width: 400px) {
  .site-header .header-actions .btn-sm { padding-left: 10px; padding-right: 10px; }
  .site-header .logo svg, .site-header .logo img { width: 26px; height: 26px; }
}
/* Phones, signed in (4 header buttons): tighter buttons and a smaller wordmark */
@media (max-width: 440px) {
  .site-header:has(.user-menu) .header-actions { gap: 3px; }
  .site-header:has(.user-menu) .header-actions > .btn-sm { padding-left: 8px; padding-right: 8px; }
  .site-header:has(.user-menu) .logo { font-size: 16px; gap: 6px; }
  .site-header:has(.user-menu) .user-menu summary { padding-left: 4px; padding-right: 4px; }
  .site-header:has(.user-menu) .container { gap: 10px; }
  .site-header:has(.user-menu) .icon-btn { width: 36px; min-width: 36px; padding: 0; }
}
@media (max-width: 360px) {
  .site-header:has(.user-menu) .logo-text { display: none; }
}
