/* Guides on getpinehold.com (AEO answer pages). Same type and colors as the homepage (public/marketing/style.css):
   Manrope headings, DM Sans text, charcoal ink, one blue accent, an eggshell page, always light. Plain HTML, answer and tables first. */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Manrope:wght@500;600;800&display=swap');
:root { color-scheme: light; --ink: #1f1f1f; --soft: #5e5850; --line: #dcd4ca; --wash: #f4f1ec; --tint: #e8eafa; --blue: #3a4bcc; --blue-dark: #2f3da8; }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: #faf8f3; color: var(--ink); font: 17px/1.7 'DM Sans', system-ui, sans-serif; }
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
.site-head { display: flex; align-items: center; gap: 16px 28px; padding: 16px 6%; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; background: #faf8f3; }
.site-head .head-cta { padding: 11px 18px; font-size: 14px; white-space: nowrap; }
.brand { font: 800 25px/1 'Manrope', sans-serif; letter-spacing: -1px; color: var(--ink); text-decoration: none; display: flex; align-items: center; gap: 9px; }
.brand::before { content: ''; width: 40px; height: 40px; flex: 0 0 40px; background: url(/marketing/brand/pinehold-mark.svg) center/contain no-repeat; }
.site-head nav { display: flex; gap: 18px; font-size: 14px; font-weight: 600; flex-wrap: wrap; margin-left: auto; }
.site-head nav a { color: var(--ink); text-decoration: none; }
main { max-width: 860px; margin: 0 auto; padding: 56px 24px 72px; }
.label { font: 600 11px 'DM Sans', sans-serif; letter-spacing: 2px; color: var(--blue); text-transform: uppercase; margin: 0; }
h1, h2, h3 { font-family: 'Manrope', sans-serif; font-weight: 600; color: var(--ink); }
h1 { font-size: clamp(34px, 5vw, 52px); line-height: 1.12; letter-spacing: -1.6px; margin: 14px 0 18px; }
h2 { font-size: clamp(24px, 3vw, 31px); line-height: 1.25; letter-spacing: -0.8px; margin: 52px 0 14px; }
h3 { font-size: 19px; margin: 28px 0 8px; }
.meta { color: var(--soft); font-size: 14px; margin: 0 0 28px; }
.answer { background: var(--tint); border-left: 4px solid var(--blue); border-radius: 0 10px 10px 0; padding: 20px 24px; margin: 0 0 8px; }
.answer p { margin: 0 0 10px; }
.answer p:last-child { margin: 0; }
.answer strong { color: var(--ink); }
.table-wrap { overflow-x: auto; margin: 18px 0 8px; border: 1px solid var(--line); border-radius: 10px; }
table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
caption { text-align: left; padding: 14px 18px 0; color: var(--soft); font-size: 13px; }
th, td { text-align: left; vertical-align: top; padding: 13px 18px; border-top: 1px solid var(--line); }
thead th { background: var(--wash); border-top: 0; font-size: 13px; font-weight: 600; color: var(--soft); }
td.num, th.num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
tr.us td, tr.us th { background: var(--tint); }
.note { color: var(--soft); font-size: 14px; }
.est { color: var(--soft); font-size: 12px; font-weight: 500; letter-spacing: .5px; text-transform: uppercase; }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
.faq h3 { margin-top: 24px; }
.cta { margin: 56px 0 0; padding: 30px 28px; background: var(--wash); border: 1px solid var(--line); border-radius: 12px; }
.cta h2 { margin: 0 0 8px; }
.cta p { margin: 0 0 18px; color: var(--soft); }
.button { display: inline-block; background: var(--blue); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 14px 22px; border-radius: 7px; }
.button:hover { background: var(--blue-dark); color: #fff; }
.fine { color: var(--soft); font-size: 12px; line-height: 1.6; margin-top: 12px; }
.sources { font-size: 14px; color: var(--soft); }
.sources li { margin: 4px 0; }
.related { margin-top: 40px; font-size: 15px; }
.site-foot { padding: 28px 6%; background: #f4f1ec; color: var(--soft); font-size: 13px; display: flex; gap: 18px; flex-wrap: wrap; }
.site-foot strong { color: var(--ink); letter-spacing: 1px; }
.site-foot .wordmark { font: 800 16px/1 'Manrope', sans-serif; letter-spacing: -0.5px; }
@media (max-width: 1100px) {
  .site-head { padding: 10px 16px; flex-wrap: wrap; gap: 8px 12px; }
  .site-head .head-cta { margin-left: auto; padding: 9px 14px; font-size: 13px; }
  .site-head nav { order: 3; width: 100%; margin-left: 0; gap: 16px; font-size: 13px; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
  .site-head nav::-webkit-scrollbar { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  main { padding: 36px 16px 56px; }
}
.guide-list { list-style: none; padding: 0; }
.guide-list li { margin: 0 0 18px; }
.guide-list a { font-weight: 600; font-size: 18px; text-decoration: none; }
.guide-list a:hover { text-decoration: underline; }
.guide-list .note { margin: 4px 0 0; }
.offer-link { margin: 18px 0 0; font-size: 15px; font-weight: 600; }
.toc { margin: 22px 0 0; padding: 14px 20px 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 15px; line-height: 1.5; }
.toc-title { margin: 0 0 6px; font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--soft); }
.toc ol { margin: 0; padding-left: 20px; }
.toc li { margin: 4px 0; }
.toc a { text-decoration: none; }
.toc a:hover { text-decoration: underline; }
main h2[id] { scroll-margin-top: 110px; }
/* Left rail (wide screens): the "On this page" list stays in view with the CTA under it; guides.js marks the current section.
   Narrow screens: inline jump list under the answer box, only for 5+ sections; the header CTA covers the offer. */
.toc-offer, .toc-cta { display: none; }
.toc a.current { font-weight: 600; color: var(--ink); }
@media (max-width: 1179px) { .toc-short { display: none; } }
@media (min-width: 1180px) {
  main { max-width: 1200px; padding-left: 340px; position: relative; }
  .toc { position: absolute; left: 24px; top: 56px; bottom: 72px; width: 268px; margin: 0; padding: 0; border: 0; }
  .toc-inner { position: sticky; top: 100px; display: flex; flex-direction: column; max-height: calc(100vh - 124px); }
  .toc ol { list-style: none; padding: 0 0 0 2px; overflow-y: auto; min-height: 0; border-left: 1px solid var(--line); }
  .toc li { margin: 0; }
  .toc ol a { display: block; padding: 6px 0 6px 14px; margin-left: -1px; border-left: 2px solid transparent; color: var(--soft); font-size: 14px; }
  .toc ol a:hover { color: var(--ink); text-decoration: none; }
  .toc ol a.current { border-left-color: var(--blue); color: var(--ink); }
  .toc-offer { display: block; margin: 20px 0 10px; font-size: 14px; line-height: 1.45; color: var(--ink); font-weight: 600; }
  .toc-cta { display: block; text-align: center; }
}
/* Procore tool map (pinehold-vs-procore): group rows inside the table. */
.tool-map tr.group th { background: var(--wash); color: var(--soft); font-size: 13px; letter-spacing: .3px; padding-top: 10px; padding-bottom: 10px; }
/* Landing pages (e.g. /procore-migration): a lede and actions under the H1, a clickable before/after of one record,
   numbered steps and a three-up row. Same type and colors as the guides. */
.landing .lede { font-size: 20px; line-height: 1.6; color: var(--soft); max-width: 680px; margin: 0 0 24px; }
.hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin: 0 0 44px; }
.text-link { font-weight: 600; font-size: 15px; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.ba { border: 1px solid var(--line); border-radius: 14px; padding: 22px 24px 26px; background: var(--wash); }
.ba-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ba-head h2 { margin: 0; font-size: 22px; }
.ba-head .note { margin: 0; font-size: 13px; }
.ba-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin: 16px 0 18px; }
.ba-tabs button { font: 600 14px 'DM Sans', sans-serif; color: var(--soft); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.ba-tabs button:hover { color: var(--ink); }
.ba-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.ba-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 16px; align-items: stretch; }
.ba-side { background: #fff; border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; min-width: 0; }
.ba-tag { margin: 0 0 10px; font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--soft); }
.after .ba-tag { color: var(--blue); }
.ba-file { margin: 0 0 8px; font-size: 13px; font-weight: 600; }
.ba-sheet { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; }
.ba-sheet table { min-width: 0; font: 12.5px/1.45 ui-monospace, SFMono-Regular, Menlo, monospace; }
.ba-sheet th, .ba-sheet td { padding: 6px 10px; border-top: 1px solid var(--line); white-space: nowrap; }
.ba-sheet tr:first-child th, .ba-sheet tr:first-child td { border-top: 0; }
.ba-sheet th { background: var(--wash); color: var(--soft); font-weight: 500; }
.ba-sheet .pairs th { width: 1%; border-right: 1px solid var(--line); }
.ba-sheet .pairs td { white-space: normal; }
.ba-sheet .grid thead th { font-size: 12px; }
.ba-arrow { align-self: center; font-size: 22px; color: var(--blue); }
.rec-num { margin: 0; font-size: 13px; color: var(--soft); font-weight: 600; }
.rec-title { margin: 2px 0 12px; font: 600 18px/1.35 'Manrope', sans-serif; }
.rec-fields { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 0 0 12px; font-size: 14px; }
.rec-fields dt { color: var(--soft); }
.rec-fields dd { margin: 0; font-weight: 500; }
.rec-foot { margin: 0; padding-top: 10px; border-top: 1px solid var(--line); font-size: 13px; color: var(--soft); }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li { counter-increment: step; position: relative; padding: 0 0 6px 46px; margin: 0 0 14px; }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--tint); color: var(--blue); font: 700 14px/30px 'Manrope', sans-serif; text-align: center; }
.trio { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.trio > div { border: 1px solid var(--line); border-radius: 10px; padding: 4px 18px 10px; }
.trio h3 { font-size: 17px; margin: 14px 0 4px; }
.trio p { margin: 0 0 8px; font-size: 15px; color: var(--soft); }
@media (max-width: 760px) {
  .ba { padding: 18px 14px 20px; }
  .ba-grid { grid-template-columns: minmax(0, 1fr); }
  .ba-arrow { transform: rotate(90deg); justify-self: center; }
  .trio { grid-template-columns: minmax(0, 1fr); }
  .landing .lede { font-size: 18px; }
}
/* Product clip on the migration page (public/marketing/motion): 16:9 stage plus its 40px player bar. */
.landing .clip { container-type: inline-size; margin: 8px 0 6px; }
.landing .clip iframe { display: block; width: 100%; height: calc(56.25cqw + 40px); border: 0; }
