/* Shared presentation: edit here; build.py reapplies hooks to generated pages. */
:root{--page-width:1180px;--gutter:22px;--ink:#1d1d1f;--sub:#6e6e73;--rule:#e5e5e7;--line:#e5e5e7;--bg:#fff;--paper:#fff;--gold:#0066cc;--wrap:1180px}
body[data-sb-page]{margin:0;background:#fff;color:#1d1d1f;font:16px/1.65 -apple-system,BlinkMacSystemFont,Inter,"Hiragino Sans","Yu Gothic",Meiryo,"Segoe UI",sans-serif}
body[data-sb-page] *{box-sizing:border-box}
body[data-sb-page] :is(.wrap,.wrap.wide){width:min(calc(100% - 44px),1180px);max-width:1180px;margin-inline:auto;padding-inline:0}
body[data-sb-page] .wrap .wrap{width:100%;padding-inline:0}
body[data-sb-page] :is(h1,h2,h3,h1 *,h2 *,h3 *){font-family:inherit;font-weight:600;font-style:normal;text-transform:none}
body[data-sb-page] h1{font-size:clamp(32px,4vw,48px);line-height:1.15;letter-spacing:-.025em;margin:28px 0 20px;max-width:none}
body[data-sb-page="home"] h1{font-size:clamp(36px,4.5vw,64px)}
body[data-sb-page] h2{font-size:28px;line-height:1.25;letter-spacing:-.015em;margin:28px 0 14px}
body[data-sb-page] h3{font-size:22px;line-height:1.3;margin:24px 0 12px}
body[data-sb-page] a{color:#0066cc}
body[data-sb-page] :is(header,header.site,footer,footer.site){background:#fff;color:#6e6e73}
body[data-sb-page] :is(header,header.site) .wrap{align-items:center;gap:16px 24px;min-height:72px;padding-block:16px}
body[data-sb-page] :is(.logo,.brand){font-family:inherit;font-weight:600;font-style:normal;text-transform:none;letter-spacing:0;color:#1d1d1f}
body[data-sb-page] :is(header,footer) :is(a,p,nav){font-family:inherit}
body[data-sb-page] :is(.card,.fees,.answer,.callout){background:#f5f5f7;color:#1d1d1f;border:0;border-radius:24px;padding:24px;min-width:0}
body[data-sb-page] :is(.card,.fees,.answer,.callout) :is(h2,h3):first-child{margin-top:0}
body[data-sb-page] :is(.kicker,.eyebrow,.label){font-family:inherit;text-transform:none;letter-spacing:0;color:#6e6e73}
body[data-sb-page] :is(.lead,.section-intro,.card p){color:#6e6e73}
body[data-sb-page] :is(button,input,select,textarea){font-family:inherit;font-size:16px;max-width:100%}
body[data-sb-page] :is(button,input:not([type=checkbox]):not([type=radio]),select){min-height:44px}
body[data-sb-page] :is(button,.btn,.button,.primary-action,.actions .primary){background:#0071e3;color:#fff;border:1px solid #0071e3;border-radius:12px;min-height:44px;padding:10px 18px;font-family:inherit;font-weight:600;text-decoration:none}
body[data-sb-page] :is(.cta,.price-action){display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#0066cc;border:1px solid #0066cc;border-radius:12px;min-height:44px;padding:8px 14px;font-family:inherit;text-decoration:none}
body[data-sb-page] :is(.cta,.price-action):hover{background:#0066cc;color:#fff}
body[data-sb-page] :is(a,button,input,select,textarea):focus-visible{outline:3px solid #0071e3;outline-offset:3px}
body[data-sb-page] .sb-table-scroll{max-width:100%;overflow-x:auto;overscroll-behavior-inline:contain;margin-block:16px;-webkit-overflow-scrolling:touch}
body[data-sb-page] table{font-family:inherit;font-size:16px;width:100%}
body[data-sb-page] :is(th,td){font-family:inherit}
body[data-sb-page] :is(.cards,.fees-row)>*{min-width:0}
body[data-sb-page] :is(img,svg,video){max-width:100%}
body[data-sb-page] :is(p,li,h1,h2,h3){overflow-wrap:break-word}
body[data-sb-page] .sb-site-header{background:#fff;border-bottom:1px solid #e5e5e7;position:relative;z-index:20}
body[data-sb-page] .sb-topline{display:flex;align-items:center;gap:24px;min-height:44px;padding-block:0}
body[data-sb-page] .sb-site-header{background:#f7f7f9}
body[data-sb-page] .sb-brand{font-size:13px;font-weight:600;color:#1d1d1f;text-decoration:none;flex-shrink:0}
body[data-sb-page] .sb-global-nav{display:flex;align-items:center;gap:22px;margin-left:0;font-size:13px}
body[data-sb-page] .sb-global-nav a{display:inline-flex;align-items:center;min-height:40px;text-decoration:none;white-space:nowrap;color:#42556a}
body[data-sb-page] .sb-global-nav a[aria-current]{color:#1d1d1f;font-weight:600}
body[data-sb-page] .sb-label-short{display:none}
body[data-sb-page] .sb-section-header{background:#fff;border-top:1px solid #ededf0}
body[data-sb-page] .sb-section-header header{border:0;background:#fff}
body[data-sb-page] .sb-section-header header .wrap{display:flex;align-items:center;justify-content:space-between;min-height:64px;padding-block:10px;gap:16px 24px}
body[data-sb-page] .sb-section-header header .logo{font-size:16px;border:0;letter-spacing:0;text-transform:none}
body[data-sb-page] .sb-section-header header nav{display:flex;align-items:center;flex-wrap:wrap;gap:4px 22px;margin:0 0 0 auto}
body[data-sb-page] .sb-section-header header nav a{display:inline-flex;align-items:center;min-height:32px;font-size:13px;letter-spacing:0;text-transform:none}
@media(max-width:800px){
 body[data-sb-page] .sb-topline{flex-wrap:wrap;gap:0 12px;padding-block:4px}
 body[data-sb-page] .sb-global-nav{width:100%;justify-content:flex-start;gap:12px;margin:0;font-size:13px}
 body[data-sb-page] .sb-label-wide{display:none}
 body[data-sb-page] .sb-label-short{display:inline}
 body[data-sb-page] .sb-section-header header.site .wrap{display:block;min-height:0;padding-block:4px}
 body[data-sb-page] .sb-section-header header .logo{display:none}
 body[data-sb-page] .sb-section-header header.site nav{overflow-x:auto;flex-wrap:nowrap;gap:20px;margin:0;scrollbar-width:thin}
 body[data-sb-page] .sb-section-header header nav a{min-height:40px;white-space:nowrap;flex-shrink:0}
}
body[data-sb-page] .sb-discovery{margin-block:32px}
body[data-sb-page] .sb-discovery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 32px}
body[data-sb-page] .sb-discovery-grid ul{padding-left:22px}
body[data-sb-page] .sb-discovery-grid li{margin-block:10px}
body[data-sb-page] .sb-discovery-grid>div:last-child:nth-child(odd){grid-column:1/-1}
body[data-sb-page] .sb-discovery-grid>div:last-child:nth-child(odd) ul{columns:2}
@media(max-width:700px){
 body[data-sb-page] .sb-discovery-grid>div:last-child:nth-child(odd) ul{columns:1}
 body[data-sb-page] .sb-discovery-grid{grid-template-columns:1fr}
 body[data-sb-page] h1{font-size:32px}
 body[data-sb-page="home"] h1{font-size:36px}
 body[data-sb-page] h2{font-size:25px}
 body[data-sb-page] h3{font-size:21px}
 body[data-sb-page] :is(.cards,.fees-row){grid-template-columns:1fr}
 body[data-sb-page] :is(.card,.fees,.answer,.callout){padding:24px}
 body[data-sb-page] :is(header,header.site) .wrap{gap:12px}
 body[data-sb-page] :is(header,header.site) nav{margin-left:0;flex-wrap:wrap;gap:10px 16px}
}
/* Shared golden portrait: same asset as costofsoftware.com. */
header .brand::before, .sb-section-header a.logo::before {
  content:"";display:inline-block;width:32px;height:32px;flex:0 0 32px;
  background:url('/favicon.png') center/contain no-repeat;vertical-align:middle;margin-right:9px;
}
.sb-brand::before{content:none}
body[data-sb-page] .sb-section-header a.logo :is(img,svg){display:none!important}
.sb-footer-brand{padding-top:16px;padding-bottom:8px}
.sb-footer-brand a{display:inline-flex;align-items:center;gap:9px;text-decoration:none;font-weight:600}
.sb-footer-brand img{display:block;width:32px;height:32px}

/* Domain home: calculator-first layout; shared typography stays above. */
body[data-sb-section="root"][data-sb-page="home"] .hero{max-width:none;text-align:center;padding:56px 0 40px}
body[data-sb-section="root"][data-sb-page="home"] .hero h1{max-width:960px;margin:0 auto 22px;line-height:1.08;letter-spacing:-.04em}
body[data-sb-section="root"][data-sb-page="home"] .hero .lead{max-width:740px;margin:0 auto 26px;font-size:20px;line-height:1.5}
body[data-sb-section="root"][data-sb-page="home"] .hero .actions{justify-content:center;gap:12px 24px}
body[data-sb-section="root"][data-sb-page="home"] .hero .primary{border-radius:999px}
body[data-sb-section="root"][data-sb-page="home"] .hero .primary:hover{background:#0077ed}
body[data-sb-section="root"][data-sb-page="home"] .hero-paths{display:flex;justify-content:center;flex-wrap:wrap;gap:8px 24px;margin:18px 0 0;font-size:14px}
body[data-sb-section="root"][data-sb-page="home"] .hero-paths a{display:inline-flex;align-items:center;min-height:44px}
body[data-sb-section="root"][data-sb-page="home"] #calculators{padding-block:24px 40px;scroll-margin-top:24px}
body[data-sb-section="root"][data-sb-page="home"] .research{padding-block:24px}
body[data-sb-section="root"][data-sb-page="home"] .research-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
body[data-sb-section="root"][data-sb-page="home"] .research-grid ul{padding-left:22px}
body[data-sb-section="root"][data-sb-page="home"] .research-grid li{margin-block:12px}
body[data-sb-section="root"][data-sb-page="home"] #price-examples{scroll-margin-top:24px}
@media(max-width:700px){
 body[data-sb-section="root"][data-sb-page="home"] .hero{padding-block:36px 24px}
 body[data-sb-section="root"][data-sb-page="home"] .hero .lead{font-size:17px}
 body[data-sb-section="root"][data-sb-page="home"] .research-grid{grid-template-columns:1fr;gap:0}
}
