/* Homepage: a hands-on workflow and inspectable evidence. */
.home-trust { border-block: 1px solid #D6D0C4; background: #EEEBE2; padding-block: 24px; }
.home-trust-row { display: flex; align-items: center; gap: 24px; }
.home-trust-row p { flex: 1; font-size: 12px; line-height: 1.6; color: #44423C; }
.home-trust-row p strong { display: block; font-size: 14px; color: #1A1A18; }
.home-trust-row > a { flex-shrink: 0; font-size: 12px; color: #A23A22; text-decoration: underline; text-underline-offset: 4px; }
.deployment-options h3 { font-size: 17px; font-weight: 600; }
.deployment-options p { margin-top: 10px; color: #44423C; font-size: 14px; line-height: 1.7; }
.calculator-disclosure > summary { display: flex; align-items: center; justify-content: space-between; gap: 24px; list-style: none; cursor: pointer; }
.calculator-disclosure > summary::-webkit-details-marker { display: none; }
.calculator-title { display: block; margin-top: 8px; font-size: clamp(24px,3vw,36px); font-weight: 650; line-height: 1.2; letter-spacing: -.025em; }
.calculator-hint { display: block; margin-top: 12px; color: #44423C; font-size: 14px; line-height: 1.6; }
.calculator-toggle { flex-shrink: 0; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #A23A22; color: #A23A22; font-size: 24px; }
.calculator-disclosure[open] .calculator-toggle { transform: rotate(45deg); }
@media(max-width:800px) { .home-trust-row { flex-wrap: wrap; gap: 16px; } .home-trust-row p { flex-basis: 100%; } }
.home-eyebrow { color: #A23A22; font: 600 10px/1.7 'JetBrains Mono', monospace; text-transform: uppercase; letter-spacing: .14em; }
.home-hero { padding-block: 132px 64px; overflow: hidden; }
.home-hero-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 48px; align-items: center; }
.home-hero h1 { margin-top: 20px; font-size: clamp(38px, 4.2vw, 60px); line-height: 1.06; letter-spacing: -.035em; font-weight: 700; }
.home-hero-copy { margin-top: 24px; font-size: 17px; line-height: 1.65; color: #44423C; }
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.home-demo-note { margin-top: 16px; font-size: 13px; line-height: 1.6; color: #44423C; }
.home-provider-note { margin-top: 12px; max-width: 510px; font-size: 12px; line-height: 1.6; color: #6F6B64; }
.home-proof { padding-block: 32px 40px; background: #EEEBE2; border-block: 1px solid #D6D0C4; }
.home-proof-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.home-proof-heading h2 { margin-top: 4px; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
.home-proof-maker { display: flex; align-items: center; gap: 12px; color: #44423C; font-size: 11px; }
.home-proof-maker img { width: 60px; height: auto; }
.home-proof-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.home-proof-card { margin: 0; min-width: 0; border: 1px solid #D6D0C4; border-radius: 8px; background: white; overflow: hidden; }
.home-proof-screen { display: grid; grid-template-columns: 128px 1fr; gap: 16px; align-items: center; padding: 16px; color: #1A1A18; }
.home-proof-screen:hover { background: #F3F1E9; }
.home-proof-screen img { display: block; width: 128px; height: 90px; object-fit: cover; object-position: left; border: 1px solid #D6D0C4; border-radius: 4px; }
.home-proof-screen strong { display: block; font-size: 14px; line-height: 1.4; }
.home-proof-screen small { display: block; margin-top: 8px; color: #A23A22; font-size: 12px; }
.home-proof-card figcaption { padding: 0 16px 16px; color: #6F6B64; font-size: 12px; line-height: 1.6; }
.home-proof-scope { padding: 18px; }
.home-proof-scope h3 { margin-top: 8px; font-size: 16px; font-weight: 600; }
.home-proof-scope p { margin-top: 8px; color: #6F6B64; font-size: 12px; line-height: 1.6; }
.home-proof-scope a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 8px; color: #A23A22; font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; }
.home-mobile-demo { display: none; }
.home-mobile-demo[hidden] { display: none; }
@media (max-width: 1100px) {
  .home-hero-grid { gap: 32px; }
  .home-proof-screen { grid-template-columns: 1fr; }
  .home-proof-screen img { width: 100%; height: auto; aspect-ratio: 16/9; object-fit: contain; }
}
@media (max-width: 800px) {
  .home-hero { padding-block: 108px 40px; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .home-hero h1 { max-width: 600px; }
  .home-hero-copy { max-width: 600px; }
  .home-proof-grid { grid-template-columns: 1fr 1fr; }
  .home-proof-scope { grid-column: 1 / -1; }
}
@media (max-width: 519px) {
  .home-hero { padding-top: 98px; }
  .home-hero h1 { margin-top: 16px; font-size: 38px; }
  .home-hero-copy { margin-top: 18px; font-size: 15px; }
  .home-hero-actions { margin-top: 22px; }
  .home-hero-actions .home-button { flex: 1 1 auto; padding-inline: 12px; font-size: 13px; }
  .home-demo-note { font-size: 12px; }
  .home-proof-grid { grid-template-columns: 1fr; }
  .home-proof-screen { grid-template-columns: 112px 1fr; }
  .home-proof-screen img { width: 112px; height: auto; }
  .home-mobile-demo { display: flex; position: fixed; bottom: 0; inset-inline: 0; z-index: 60; padding: 10px 20px calc(10px + env(safe-area-inset-bottom)); border-top: 1px solid #D6D0C4; background: #F3F1E9; }
  .home-mobile-demo .home-button { width: 100%; }
  body.homepage { padding-bottom: 76px; }
}
@media print { .home-mobile-demo { display: none !important; } }

/* Short homepage: product walkthrough and compact buying information. */
.cut-section { position: relative; padding-block: 72px; scroll-margin-top: 84px; }
.home-anchor { display: block; position: absolute; top: 0; scroll-margin-top: 84px; }
.cut-heading { max-width: 760px; }
.cut-heading h2 { margin-top: 16px; font-size: clamp(28px, 3.2vw, 42px); font-weight: 700; line-height: 1.12; letter-spacing: -.025em; }
.cut-intro { margin-top: 16px; font-size: 15px; line-height: 1.65; color: #6F6B64; }
.home-walkthrough { background: #1A1A18; color: #F3F1E9; }
.home-walkthrough .home-eyebrow, .home-walkthrough .hx em { color: #E88970; }
.home-walkthrough .cut-intro { color: #C4BFB4; }
.cut-product-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-block: 32px 24px; gap: 16px; }
.cut-product-tab { display: flex; align-items: baseline; gap: 10px; padding-block: 14px; border-bottom: 1px solid #44423C; color: #C4BFB4; text-align: left; cursor: pointer; font-size: 14px; }
.cut-product-tab .pg-index { font: 500 10px 'JetBrains Mono', monospace; }
.cut-product-tab.is-active, .cut-product-tab:hover { color: #F3F1E9; }
.cut-product-tab.is-active .pg-index { color: #E88970; }
.cut-product-tab .pg-name { padding: 0; border: 0; }
.cut-product-tab.is-active { border-color: #E88970; }
.cut-product-image { position: relative; display: flex; justify-content: center; overflow: hidden; border: 1px solid #44423C; border-radius: 8px; background: #EEEBE2; }
.cut-product-image img { display: block; max-width: 100%; max-height: 490px; width: auto; height: auto; object-fit: contain; }
.cut-enlarge { position: absolute; right: 12px; bottom: 12px; padding: 8px 12px; border: 1px solid #D6D0C4; border-radius: 5px; background: #F3F1E9; color: #1A1A18; font-size: 11px; }
.cut-product-caption { display: grid; grid-template-columns: 1fr 1.2fr; align-items: start; gap: 32px; margin-top: 24px; min-height: 75px; }
.cut-product-caption h3 { font-size: 22px; line-height: 1.3; font-weight: 600; }
.cut-product-caption p { font-size: 14px; line-height: 1.7; color: #C4BFB4; }
.cut-viewer-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; padding-top: 20px; border-top: 1px solid #44423C; }
.cut-viewer-footer p { font-size: 12px; color: #C4BFB4; }
.cut-viewer-footer a, .cut-nojs a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: #E88970; text-decoration: underline; text-underline-offset: 4px; }
.cut-nojs { font-size: 13px; margin-top: 20px; }
.cut-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 32px; }
.cut-card { display: flex; flex-direction: column; border: 1px solid #D6D0C4; background: #FFF; border-radius: 8px; padding: 24px; }
.cut-card h3 { margin-top: 12px; font-size: 20px; line-height: 1.3; font-weight: 600; }
.cut-card p { flex: 1; margin-top: 12px; font-size: 14px; line-height: 1.7; color: #6F6B64; }
.cut-link { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-top: 16px; font-size: 13px; font-weight: 600; color: #A23A22; text-decoration: underline; text-underline-offset: 4px; }
.cut-comparison { position: relative; margin-top: 56px; scroll-margin-top: 84px; }
.cut-comparison > h3 { font-size: 26px; font-weight: 600; letter-spacing: -.02em; }
.cut-table-scroll { margin-top: 24px; overflow-x: auto; border: 1px solid #525252; }
.cut-table { width: 100%; min-width: 550px; border-collapse: collapse; text-align: left; font-size: 14px; line-height: 1.65; }
.cut-table th, .cut-table td { padding: 18px 22px; vertical-align: top; }
.cut-table thead th { background: #262626; color: #FFF; font-size: 13px; }
.cut-table tbody tr { border-top: 1px solid #8D8D8D; }
.cut-table th { font-weight: 600; }
.cut-table th:first-child { width: 20%; }
.cut-table td { width: 40%; }
.cut-table tbody th, .cut-table td { background: #FFF; color: #161616; }
.cut-table th + th, .cut-table td { border-left: 1px solid #8D8D8D; }
.cut-table thead th:last-child { background: #6E2617; }
.cut-table tbody td:last-child { background: #8E321F; color: #FFF; border-color: #C97563; }
.cut-comparison-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 16px; }
.cut-comparison-links a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; color: #A23A22; text-decoration: underline; text-underline-offset: 4px; }
.cut-raised { background: #EEEBE2; border-block: 1px solid #D6D0C4; }
.cut-deployment { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; }
.cut-deployment-list article + article { border-top: 1px solid #D6D0C4; margin-top: 20px; padding-top: 20px; }
.cut-deployment-list h3 { font-size: 17px; font-weight: 600; }
.cut-deployment-list p { font-size: 14px; line-height: 1.7; color: #6F6B64; margin-top: 8px; }
.cut-calc-details { margin-top: 24px; padding-top: 18px; border-top: 1px solid #D6D0C4; }
.cut-calc-details summary { cursor: pointer; font-size: 13px; font-weight: 600; line-height: 1.6; color: #A23A22; }
.cut-details-body { padding-top: 20px; }
.cut-formula { margin-top: 16px; padding: 12px; background: #EEEBE2; font: 500 11px/1.7 'JetBrains Mono', monospace; }
.cut-assumption { margin-top: 12px; color: #6F6B64; font-size: 12px; line-height: 1.7; }
.cut-demo-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 36px; }
.cut-demo-steps li { display: flex; gap: 16px; }
.cut-demo-steps li > span { flex-shrink: 0; display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #D6D0C4; border-radius: 50%; font: 500 11px 'JetBrains Mono', monospace; color: #A23A22; }
.cut-demo-steps h3 { font-size: 16px; font-weight: 600; }
.cut-demo-steps p { margin-top: 8px; font-size: 13px; line-height: 1.7; color: #6F6B64; }
.cut-close .home-hero-actions { margin-top: 36px; }
@media (max-width: 800px) {
  .cut-section { padding-block: 48px; }
  .cut-card-grid, .cut-deployment, .cut-demo-steps { grid-template-columns: 1fr; }
  .cut-deployment { gap: 32px; }
  .cut-card-grid { gap: 16px; }
  .cut-product-tabs { gap: 8px; }
  .cut-product-tab { display: grid; gap: 6px; font-size: 12px; }
  .cut-product-caption { grid-template-columns: 1fr; gap: 12px; min-height: 155px; }
  .cut-product-caption h3 { font-size: 20px; }
  .cut-product-image img { max-height: none; width: 100%; }
  .cut-enlarge { padding: 5px 8px; font-size: 10px; bottom: 8px; right: 8px; }
  .cut-table th, .cut-table td { padding: 14px; }
}

/* A once-per-visit history animation leads into the actual product screens. */
.proof-trail { display: flex; align-items: center; gap: 32px; margin-bottom: 20px; padding: 20px 24px; background: white; border: 1px solid #D6D0C4; border-radius: 8px; }
.proof-trail-label { width: 120px; flex-shrink: 0; color: #6F6B64; font-size: 11px; line-height: 1.6; }
.proof-trail ol { position: relative; flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.proof-trail ol::before, .proof-trail ol::after { content: ''; position: absolute; top: 12px; left: 12.5%; width: 75%; height: 2px; background: #D6D0C4; transform-origin: left; }
.proof-trail ol::after { background: #2864CB; }
.proof-trail li { position: relative; z-index: 1; display: grid; justify-items: center; gap: 5px; font-size: 12px; font-weight: 600; text-align: center; }
.proof-trail li small { font-size: 10px; font-weight: 400; color: #6F6B64; }
.proof-trail-dot { display: grid; place-items: center; width: 26px; height: 26px; margin-bottom: 3px; border-radius: 50%; background: #2864CB; color: white; border: 3px solid white; box-shadow: 0 0 0 1px #CFD5DF; }
.proof-trail.will-animate ol::after { transform: scaleX(0); }
.proof-trail.will-animate .proof-trail-dot { background: #E7ECF4; color: #E7ECF4; }
.proof-trail.is-visible ol::after { transform: scaleX(1); transition: transform 1.5s ease .15s; }
.proof-trail.is-visible .proof-trail-dot { background: #2864CB; color: white; transition: background .2s, color .2s; transition-delay: calc(var(--step) * .45s); animation: proof-check .4s ease both; animation-delay: calc(var(--step) * .45s); }
.home-proof-screen img { transition: transform .3s ease; }
.home-proof-screen:hover img, .home-proof-screen:focus-visible img { transform: scale(1.04); }
@keyframes proof-check { from { transform: scale(.75); } to { transform: scale(1); } }

/* Compact scroll-driven gallery. Short screens and reduced motion keep tabs. */
.gallery-scroll-hint, .pg-pinned .gallery-manual-hint { display: none; }
.pg-pinned .gallery-scroll-hint { display: inline; }
.pg-pinned .cut-product-tabs { margin-block: 20px 16px; }
.pg-pinned .cut-product-caption { margin-top: 16px; }
.pg-pinned .cut-viewer-footer { margin-top: 12px; padding-top: 8px; }
@media (max-width: 800px) {
 .proof-trail { display: block; padding: 16px; }
 .proof-trail-label { display: block; width: auto; margin-bottom: 14px; }
 .proof-trail li { font-size: 10px; }
 .proof-trail li small { font-size: 9px; }
 .pg-pinned .cut-heading h2 { margin-top: 8px; font-size: 28px; }
 .pg-pinned .cut-intro { margin-top: 8px; font-size: 12px; }
 .pg-pinned .cut-product-tabs { margin-block: 12px; }
 .pg-pinned .cut-product-tab { padding-block: 8px; }
 .pg-pinned .cut-product-caption { min-height: 130px; gap: 8px; margin-top: 12px; }
 .pg-pinned .cut-product-caption h3 { font-size: 18px; }
 .pg-pinned .cut-product-caption p { font-size: 12px; }
 .pg-pinned .cut-viewer-footer p { display: none; }
}
@media (prefers-reduced-motion: reduce) {
 .home-proof-screen img, .proof-trail ol::after, .proof-trail .proof-trail-dot { transition: none !important; animation: none !important; }
 .proof-trail.will-animate ol::after { transform: none; }
 .proof-trail.will-animate .proof-trail-dot { background: #2864CB; color: white; }
}
