/* BuiltSOFTHUB product pages: payroll.builtsofthub.com, lts.builtsofthub.com
   and crm.builtsofthub.com (2026-11-13). Loaded AFTER /style.css, which holds
   the colours, type, nav, buttons, sections and footer shared with
   builtsofthub.com. This file adds only what a product page needs: the
   product lockup (gray BuiltSOFTHUB wordmark over the red product name), the
   product hero, feature cards and the small forms. One copy for all three
   hosts: crm.conf falls back to this directory for it. */
@font-face { font-family: Inter; src: url("/fonts/inter-variable-latin.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

/* Product lockup */
.lockup { display: inline-flex; flex-direction: column; flex: none; line-height: 1; text-decoration: none; }
.lockup .wm { display: block; height: 8px; width: 62px; background: url("/brand/builtsofthub-wordmark-gray.png") no-repeat left center / contain; }
@media (min-resolution: 2dppx) { .lockup .wm { background-image: url("/brand/builtsofthub-wordmark-gray-2x.png"); } }
.lockup .product-name { margin-top: 2px; font-family: Inter, sans-serif; font-weight: 900; font-size: 32px; line-height: 0.8; color: #EB3323; letter-spacing: -0.03em; }
@media (max-width: 480px) { .lockup .wm { height: 7px; width: 54px; } .lockup .product-name { font-size: 27px; } .js .nav-toggle { margin-left: auto; } }

/* Hero */
.pr-hero { padding: 88px 0 56px; background: radial-gradient(900px 420px at 50% -10%, var(--brand-50), transparent 70%), var(--white); }
.pr-hero h1 { max-width: 14em; margin: 0 auto; }
.pr-hero .lede { margin: 22px auto 0; }
.pr-hero .actions { margin-top: 32px; }
.pr-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.pr-pills li { padding: 6px 14px; border-radius: 999px; background: var(--white); border: 1px solid var(--hair); font-size: var(--fs-sm); font-weight: 600; box-shadow: var(--shadow-sm); }
.pr-small { margin-top: 12px; color: var(--graphite); font-size: 13px; text-align: center; }
.pr-small a { color: var(--brand-press); text-decoration: underline; text-underline-offset: 3px; }

/* Email form (Request a demo) */
.pr-notify { display: flex; gap: 10px; max-width: 520px; margin: 32px auto 0; }
.pr-notify input[type=email] { flex: 1; min-width: 0; height: 52px; padding: 0 16px; border: 1px solid #CDD0D6; border-radius: 10px; font: inherit; font-size: 16px; background: var(--white); }
.pr-notify input[type=email]:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.pr-notify .btn { height: 52px; padding: 0 26px; font-size: 16px; }
.pr-more { max-width: 520px; margin: 14px auto 0; text-align: left; }
.pr-more summary { cursor: pointer; color: var(--graphite); font-size: var(--fs-sm); list-style: none; text-align: center; }
.pr-more summary::-webkit-details-marker { display: none; }
.pr-more summary::after { content: " +"; }
.pr-more[open] summary::after { content: " \2212"; }
.pr-more .grid { display: grid; gap: 14px; margin-top: 14px; }
.pr-more label { display: block; margin-bottom: 6px; font-size: var(--fs-sm); font-weight: 500; }
.pr-more input[type=text] { width: 100%; height: 46px; padding: 0 12px; border: 1px solid #CDD0D6; border-radius: 8px; font: inherit; font-size: 16px; }
.pr-size { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0; }
.pr-size legend { margin-bottom: 6px; font-size: var(--fs-sm); font-weight: 500; }
.pr-size label { margin: 0; }
.pr-size input { position: absolute; opacity: 0; pointer-events: none; }
.pr-size span { display: inline-block; padding: 8px 14px; border: 1px solid var(--hair); border-radius: 999px; font-size: var(--fs-sm); font-weight: 500; cursor: pointer; background: var(--white); }
.pr-size input:checked + span { border-color: var(--brand); background: var(--brand-50); color: var(--brand-deep); }
.pr-size input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.pr-msg { margin-top: 12px; text-align: center; font-size: var(--fs-sm); font-weight: 500; color: var(--brand-deep); min-height: 1.4em; }
.pr-done { max-width: 520px; margin: 32px auto 0; padding: 22px 24px; border-radius: 12px; background: var(--brand-50); border: 1px solid var(--brand-100); font-weight: 500; text-align: center; }
.pr-done[hidden], .pr-form[hidden] { display: none; }

/* Cards and feature grids */
.pr-card { background: var(--white); border: 1px solid var(--hair); border-radius: 16px; box-shadow: var(--shadow-sm); padding: 24px; }
.pr-feat { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.pr-feat--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pr-feat .pr-card h3 { font-size: 18px; margin-top: 14px; }
.pr-feat .pr-card > h3:first-child { margin-top: 0; }
.pr-feat .pr-card p { margin-top: 8px; color: var(--graphite); font-size: var(--fs-sm); }
.pr-pillar ul { margin-top: 14px; display: grid; gap: 8px; }
.pr-pillar li { position: relative; padding-left: 22px; font-size: var(--fs-sm); color: var(--ink); }
.pr-pillar li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); }
.pr-ico { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--brand-50); color: var(--brand-deep); }
.pr-ico svg { width: 22px; height: 22px; }
.pr-note { max-width: 760px; margin: 36px auto 0; text-align: center; color: var(--graphite); }
.pr-cta { margin-top: 44px; }
.actions.center { justify-content: center; }

/* Integrations (BuiltCRM) */
.pr-int { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.pr-int li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 12px; background: var(--white); border: 1px solid var(--hair); border-radius: 12px; text-align: center; font-size: 14px; font-weight: 500; }
.pr-int img { width: 32px; height: 32px; object-fit: contain; border-radius: 6px; }

/* Plans (BuiltCRM) */
.pr-price { display: flex; flex-direction: column; text-align: center; }
.pr-price.is-featured { border-color: var(--brand); box-shadow: 0 8px 24px rgba(235,51,35,.10); }
.pr-feat .pr-price .amount { margin: 10px 0 6px; color: var(--ink); font-size: 36px; font-weight: 600; letter-spacing: -0.02em; }
.pr-feat .pr-price .amount span { font-size: var(--fs-sm); font-weight: 500; color: var(--graphite); }
.pr-price ul { display: grid; gap: 8px; margin: 18px 0 22px; text-align: left; }
.pr-price .btn { margin-top: auto; }

/* Pay run preview (BuiltPAYROLL) */
.pr-calc { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.pr-rows { display: grid; gap: 10px; }
.pr-row { display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr)) 36px; gap: 8px; align-items: end; }
.pr-row label { display: block; font-size: 12px; color: var(--graphite); margin-bottom: 4px; }
.pr-row input { width: 100%; height: 42px; padding: 0 10px; border: 1px solid #CDD0D6; border-radius: 8px; font: inherit; font-size: 15px; background: var(--white); }
.pr-row input:focus-visible { outline: 2px solid var(--brand); outline-offset: 1px; }
.pr-del { width: 36px; height: 42px; border: 1px solid var(--hair); border-radius: 8px; background: var(--white); color: var(--graphite); cursor: pointer; font-size: 18px; line-height: 1; }
.pr-del:hover { border-color: var(--ink); color: var(--ink); }
.pr-add { margin-top: 14px; }
.pr-sum h3 { font-size: 15px; color: var(--graphite); font-weight: 500; }
.pr-total { font-size: clamp(36px, 4vw, 48px); font-weight: 600; letter-spacing: -0.02em; margin: 6px 0 18px; font-variant-numeric: tabular-nums; }
.pr-line { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-top: 1px solid var(--hair); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.pr-line span:first-child { color: var(--graphite); }
.pr-stub { margin-top: 18px; display: grid; gap: 8px; }
.pr-stubrow { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-radius: 10px; background: var(--tint); font-size: var(--fs-sm); font-variant-numeric: tabular-nums; }
.pr-stubrow small { display: block; color: var(--graphite); font-size: 12px; }
.pr-ot { color: var(--brand-deep); }
.pr-disc { margin-top: 14px; color: var(--graphite); font-size: 12.5px; }
.pr-toggle { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; font-size: var(--fs-sm); }
.pr-toggle select { height: 38px; padding: 0 10px; border: 1px solid #CDD0D6; border-radius: 8px; font: inherit; font-size: 15px; background: var(--white); }
@media (prefers-reduced-motion: no-preference) {
  .pr-total, .pr-line span:last-child { transition: color .2s ease; }
  .pr-flash { color: var(--brand); }
}

@media (max-width: 1080px) {
  .pr-feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pr-feat--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .pr-calc { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .pr-hero { padding: 56px 0 40px; }
  .pr-notify { flex-direction: column; }
  .pr-notify input[type=email] { flex: none; }
  .pr-feat, .pr-feat--3 { grid-template-columns: minmax(0, 1fr); }
  .pr-row { grid-template-columns: repeat(3, minmax(0, 1fr)) 36px; }
  .pr-row .f-name { grid-column: 1 / 4; }
  .pr-row .f-del { grid-row: 1; grid-column: 4; }
  .pr-row + .pr-row { padding-top: 10px; border-top: 1px solid var(--hair); }
  .pr-int { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
