/* Custom work: the price tag, the offer cards, the proof strip, the add-ons, the estimate, the request block and the links to the page */
.pricetag{font-family:var(--font-mono);font-size:var(--type-h1);font-weight:700;line-height:1.15;letter-spacing:-.02em;font-variant-numeric:tabular-nums;font-variant-ligatures:none;white-space:nowrap}
.pricetag--small{font-size:1.125rem;line-height:1.35;letter-spacing:0}
.pricetag__from{color:var(--color-text-muted)}
.pricetag .mark-fill{display:inline-block;padding:0 6px}
.audience{margin-top:var(--space-head);max-width:var(--layout-max-text)}
.page--custom .trustline{margin-top:var(--space-head-small)}
.trustline .pricetag{display:inline;color:var(--color-text)}
.trustline__word{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.offers__grid{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-card-gap)}
.offer{display:flex;flex-direction:column;min-width:0;padding:var(--space-card-padding);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-card)}
.offer--featured{padding:calc(var(--space-card-padding) - 1px);border:2px solid var(--color-text)}
.offer > * + *{margin-top:12px}
.offer > p{max-width:var(--layout-max-text)}
.offer__price{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 8px}
.offer > .offer__delivery{margin-top:4px;font-weight:600}
.offer__delivery .label{font-weight:500}
.offer__part .label{margin-bottom:4px}
.offer__list{display:grid;gap:4px;font-size:.875rem;line-height:1.5}
.offer__list li{display:grid;grid-template-columns:16px minmax(0,1fr);gap:8px}
.offer__list .icon{margin-top:2px}
.offer__list--excludes{color:var(--color-text-secondary)}
.offer > .offer__act{display:grid}
.offer__more{display:grid;gap:12px;align-content:start;min-width:0}
.proof{margin-top:var(--space-section)}
.proof + .section{margin-top:var(--space-block)}
.proof + .section .rail{border-top:0;padding-top:0}
.proof__list{display:grid;grid-template-columns:minmax(0,1fr);border-top:2px solid var(--color-text)}
.proof__item{min-width:0;border-bottom:1px solid var(--color-border)}
.proof__link{display:grid;grid-template-columns:minmax(3.5rem,max-content) minmax(0,1fr);align-items:baseline;gap:0 12px;height:100%;padding:8px 0;color:inherit;text-decoration:none}
.proof__link:focus-visible{outline-offset:-3px}
.proof__value,.proof__label{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:.2em;text-decoration-color:var(--color-text-muted)}
.proof__note{margin-top:8px}
.addon__price{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 var(--space-inline);margin-top:2px;color:var(--color-text-muted)}
.addon__unit{white-space:nowrap}
.addon__price .pricetag{color:var(--color-text)}
.addon__in{display:block;margin-top:4px;color:var(--color-text-muted)}
.estimate-section{display:none}
.js .estimate-section{display:block}
.picks{min-width:0;max-width:var(--layout-max-text);margin:0;padding:0;border:0}
.picks legend{padding:0 0 4px;font-size:1.125rem;font-weight:600;line-height:1.35}
.rail__body .picks + .picks,.rail__body .picks + .estimate__result{margin-top:var(--space-block)}
.pick{display:flex;align-items:center;gap:12px;min-height:48px;padding:8px 0;border-bottom:1px solid var(--color-border);cursor:pointer}
.pick input{-webkit-appearance:none;appearance:none;flex:none;display:grid;place-content:center;width:20px;height:20px;margin:0;background:var(--color-surface);border:1px solid var(--color-text);border-radius:4px;cursor:inherit}
.pick input[type="radio"]{border-radius:50%}
.pick input:checked{background:var(--color-text)}
.pick input:checked::before{content:"";width:10px;height:10px;background:var(--color-surface);clip-path:polygon(12% 46%,0 62%,42% 100%,100% 18%,84% 4%,40% 68%)}
.pick input[type="radio"]:checked::before{width:8px;height:8px;border-radius:50%;clip-path:none}
.pick input[aria-disabled="true"]{background:var(--color-mat);border-color:var(--color-text-muted)}
.pick input[aria-disabled="true"]:checked{background:var(--color-text-muted)}
.pick__name{flex:1;min-width:0;font-weight:500}
.pick__price{flex:none;color:var(--color-text-secondary)}
.pick--locked{cursor:default}
.pick--blocked .pick__name{color:var(--color-text-secondary)}
.estimate__result{max-width:var(--layout-max-text);padding:var(--space-card-padding);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-card)}
.estimate__lines > div{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:0 16px;padding:8px 0;border-bottom:1px solid var(--color-border)}
.estimate__lines > div:first-child{padding-top:0}
.estimate__lines > div:last-child{padding-bottom:0;border-bottom:0}
.estimate__lines > div:not(:has(~ div:not([hidden]))){padding-bottom:0;border-bottom:0}
.estimate__lines .pricetag__from{font-weight:500}
.estimate__lines dt{color:var(--color-text-muted)}
.estimate__lines dd{font-weight:600}
.estimate__empty{color:var(--color-text-secondary)}
.estimate__after{max-width:var(--layout-max-text);margin-top:12px}
.estimate__after .more{margin-top:8px}
.estimate__after .link{font-weight:600}
.request > * + *{margin-top:var(--space-stack)}
.request__contact{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px}
.request__address{font-size:1.125rem;font-weight:700;line-height:1.35;overflow-wrap:anywhere}
.request__address .label{margin-right:8px;font-size:.8125rem;font-weight:500}
.request__address .link{-webkit-user-select:all;user-select:all}
.request__picked{display:grid;gap:4px;max-width:var(--layout-max-text);padding:var(--space-head) 0;border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border)}
.request__picked > div{display:flex;flex-wrap:wrap;gap:0 8px}
.request__picked dd{font-weight:600}
.copy{display:none}
.js .copy{display:flex}
.request > .copy{margin-top:12px}
.copy [data-copy-status]{min-height:1.5em;color:var(--color-text)}
.legal{margin-top:var(--space-block)}
.legal p{max-width:var(--layout-max-text)}
.legal .caption,.proof__note,.estimate__after .caption{max-width:54ch}
.legal .more{margin-top:0}
.page--custom .more .link,.page--sample .more .link{font-weight:600}
.legal .more + .caption{margin-top:var(--space-block)}
.legal .caption + .caption{margin-top:4px}
.hero--text .note{max-width:var(--layout-max-text);margin-top:var(--space-stack)}
.scope th,.scope td{padding-right:16px}
.scope td:last-child{padding-right:0;overflow-wrap:anywhere}
.scope td .link{color:var(--color-text)}
@media (max-width:767px){
  .page--custom .hero--text{padding-top:var(--space-stack)}
  .page--custom .hero .lead,.page--custom .audience{margin-top:var(--space-head-small)}
  .page--custom .hero--text .actions{margin-top:var(--space-stack)}
  .scope tbody th,.scope td{max-width:var(--layout-max-text)}
  .pick--blocked{flex-wrap:wrap;row-gap:0}
  .pick--blocked .pick__price{flex:1 1 100%;min-width:0;margin-left:32px}
  .estimate__after{margin-top:var(--space-stack)}
  .scope,.scope tbody,.scope tr,.scope th,.scope td{display:block}
  .scope thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
  .scope tr{padding:14px 0;border-bottom:1px solid var(--color-border)}
  .scope tbody tr:first-child{padding-top:0}
  .scope tbody th,.scope td{width:auto;padding:0;border:0}
  .scope td{margin-top:8px}
  .scope td::before{content:attr(data-label);display:block;font-family:var(--font-mono);font-size:.8125rem;font-weight:500;line-height:1.5;color:var(--color-text-muted)}
}
@media (min-width:768px){
  .proof__list{grid-template-columns:repeat(2,minmax(0,1fr))}
  .proof__link{display:block;padding:8px 16px var(--space-head) 0}
  .proof__label{display:block;margin-top:2px}
  .offers-section .rail{display:block}
  .offers-section .rail__head{position:static;margin-bottom:24px}
  .offers__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .offers__grid--5 .offer:last-child{grid-column:1 / -1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(5,auto) 1fr;column-gap:var(--space-card-gap);align-items:start}
  .offers__grid--5 .offer:last-child > *{grid-column:1}
  .offers__grid--5 .offer:last-child > .offer__more{grid-column:2;grid-row:1 / -1;margin-top:0}
  .trustline__word{position:static;width:auto;height:auto;overflow:visible;clip-path:none;white-space:normal}
  .scope tbody th{width:34%}
  .scope td:last-child{width:12rem}
}
@supports (grid-template-rows:subgrid){
  @media (min-width:768px){
    .offer{display:grid;grid-template-rows:subgrid;grid-row:span 7;row-gap:0}
    .offer__name{grid-row:1}
    .offer__price{grid-row:2}
    .offer__delivery{grid-row:3}
    .offer__act{grid-row:4}
    .offer__summary{grid-row:5}
    .offer__whom{grid-row:6}
    .offer__more{grid-row:7}
    .offers__grid--5 .offer:last-child{grid-row:auto}
    .offers__grid--5 .offer:last-child > *{grid-row:auto}
    .offers__grid--5 .offer:last-child > .offer__more{grid-row:1 / -1}
  }
}
@media (min-width:1024px){
  .proof__list{grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);grid-template-columns:none}
  .legal > *{margin-left:calc(var(--layout-rail) + 48px)}
}
@media (min-width:1024px){.page--custom{--space-section:72px}}
@media (forced-colors:active){
  .pick input{-webkit-appearance:auto;appearance:auto}
  .pick input:checked::before{content:none}
}


@media print{
  .estimate__result{position:static}
  .page--custom .actions,.page--custom .btn,.page--custom .offer__act,.page--custom .copy,.page--custom .estimate-section,.page--custom .more,.page--sample .more{display:none}
  .offers__grid{display:block}
  .offer,.offers__grid--5 .offer:last-child{display:block}
  .offer + .offer{margin-top:var(--space-card-gap)}
  .offer__name,.offer__price,.offer__delivery,.offer__summary,.offer__part .label,.offers-section .rail__head{break-after:avoid}
  .offer__example{break-before:avoid}
  .offer__part,.offer__list li,.offer > p{break-inside:avoid}
}

/* The result of the estimate sticks to the bottom of a phone screen only when the screen is high enough (40em) and, by the rule in
   site.js, when three rows stay clear above the card with every row of the result. Else the card is in the flow. */
@media (max-width:767px) and (min-height:40em){
  .estimate:not([data-flow]) .estimate__result{position:sticky;bottom:calc(var(--consent-height,0px) + var(--space-stack));z-index:1}
  .estimate:not([data-flow]) .estimate__result::before,.estimate:not([data-flow]) .estimate__result::after{content:"";position:absolute;left:-1px;right:-1px;height:var(--space-stack);background:var(--color-bg)}
  .estimate:not([data-flow]) .estimate__result::before{bottom:calc(100% + 1px)}
  .estimate:not([data-flow]) .estimate__result::after{top:calc(100% + 1px)}
  .estimate:not([data-flow]) .pick input{scroll-margin-bottom:calc(var(--result-height,0px) + 2 * var(--space-stack))}
}
.estimate .estimate__result.estimate__result--probe{position:absolute;visibility:hidden}

/* AI projects have their own scope and agreement, separate from Obsidian estimates. */
.ai-services{scroll-margin-top:calc(var(--layout-header-height) + 20px)}
.ai-services h2 + .lead{margin-top:var(--space-head);max-width:var(--layout-max-text)}
.ai-services p + p,.ai-services-terms p + p{margin-top:12px}
.ai-services-grid{display:grid;gap:var(--space-card-gap);margin-top:var(--space-block)}
.ai-service-card{display:flex;flex-direction:column;min-width:0;padding:var(--space-card-padding);background:var(--color-surface);border:1px solid var(--color-border);border-radius:var(--radius-card)}
.ai-service-card > .rules{flex:1}
.ai-service-card > * + *{margin-top:16px}
.ai-service-card h3{font-size:1.25rem}
.ai-service-price{font-weight:700;font-size:1.125rem}
.ai-service-card summary{cursor:pointer;text-decoration:underline;text-underline-offset:.2em;min-height:44px}
.ai-service-card details pre{margin-top:12px;white-space:pre-wrap;overflow-wrap:anywhere}
.ai-services-terms{margin-top:var(--space-block);max-width:var(--layout-max-text)}
@media(min-width:1024px){.ai-services-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media print{.ai-services-grid{display:block}.ai-service-card + .ai-service-card{margin-top:24px}.ai-service-card{break-inside:avoid}}

.offers-section .rail__head .small,.rail__body .offers__note,.offer > .offer__whom,.offer__list,.proof__label,.page--custom .rail__body p.small,.page--sample .rail__body p.small{max-width:calc(var(--layout-max-text) * .875)}
