/* This build's own rules on top of the approved design (loaded last on every page). */

/* The product-stage crops, moved out of the approved pages' inline style attributes (the CSP refuses them). */
.product-stage[data-crop="hero-dashboard"] { --focus-x: 50%; --focus-y: 30%; --crop-width: 525.714%; --crop-left: -205.357%; --crop-top: -104.651%; --detail-ratio: 1.6279; }
.product-stage[data-crop="award"] { --focus-x: 50%; --focus-y: 30%; --crop-width: 525.436%; --crop-left: -317.073%; --crop-top: -408.163%; --detail-ratio: 2.9286; }
.product-stage[data-crop="receiving"] { --focus-x: 50%; --focus-y: 30%; --crop-width: 424.789%; --crop-left: -3.944%; --crop-top: -178.512%; --detail-ratio: 2.9339; }
.product-stage[data-crop="quotes"] { --focus-x: 50%; --focus-y: 30%; --crop-width: 527.273%; --crop-left: -108.392%; --crop-top: -412.037%; --detail-ratio: 2.6481; }
.product-stage[data-crop="outlook"] { --focus-x: 50%; --focus-y: 30%; --crop-width: 704.673%; --crop-left: -12.150%; --crop-top: -348.936%; --detail-ratio: 1.5177; }
.product-stage[data-crop="quality"] { --focus-x: 50%; --focus-y: 30%; --crop-width: 424.789%; --crop-left: -3.944%; --crop-top: -177.391%; --detail-ratio: 3.0870; }
.product-stage[data-crop="shipping"] { --focus-x: 50%; --focus-y: 30%; --crop-width: 314.167%; --crop-left: -2.917%; --crop-top: -180.000%; --detail-ratio: 3.6923; }
.product-stage[data-crop="dashboard"] { --focus-x: 50%; --focus-y: 30%; --crop-width: 231.644%; --crop-left: -1.536%; --crop-top: -92.287%; --detail-ratio: 1.7934; }

/* Home's materials photo sits at right: -36px (prism-context-photography.css:38), 4px past the viewport whenever .wrap
   (32px side padding) fills it, about 761 to 1243px wide. Clip only that, horizontally; nothing visible changes. */
#workflow-checks { overflow-x: clip; }

/* The header's links (owner, 2026-11-05): after a thin divider, Sign in styled exactly as a nav link and Start 7-day
   trial as the one solid button (dev, P8-D5), or only the Request a demo button (prod, app links off), in one row that
   never wraps. The logo and the group take their own width and the nav centres between them. */
.header-row:has(.header-links) { grid-template-columns: auto minmax(0, 1fr) auto; }
.header-row:has(.header-links) .site-nav { justify-content: center; }
.header-row:has(.header-links) .site-nav a { white-space: nowrap; }
.header-links { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.header-links::before { content: ""; align-self: center; width: 1px; height: 22px; margin-right: 8px; background: var(--line); }
/* Sign in as .site-nav a (style.css:119-120 and prism-v3.css's 12px), with the nav's padding at each width below. */
.header-text-link { padding: 9px 18px; border-radius: 10px; color: var(--navy); font-size: 12px; font-weight: 350; text-decoration: none; }
.header-text-link:hover { color: var(--navy); background: #F1F6F9; }
.header-links .button-small { margin-left: 6px; }
@media (max-width: 1279px) {
  .header-row:has(.header-links) .site-nav { gap: 2px; }
  .header-row:has(.header-links) .site-nav a { padding: 9px 9px; }
  .header-links .button-small { padding: 9px 16px; min-height: 40px; font-size: 13px; }
  .header-text-link { padding: 9px 9px; }
}
@media (max-width: 1100px) {
  .header-row:has(.header-links) { gap: 14px; }
  .header-row:has(.header-links) .site-nav { gap: 0; }
  .header-row:has(.header-links) .site-nav a { padding: 9px 6px; }
  .header-links { gap: 0; }
  .header-links::before { margin-right: 4px; }
  .header-links .button-small { margin-left: 4px; padding: 8px 12px; font-size: 12.5px; }
  .header-text-link { padding: 9px 6px; }
}
@media (max-width: 1000px) {
  /* The nav moves into the Menu below: no divider is needed before the links. */
  .header-links::before { display: none; }
}
@media (max-width: 760px) {
  /* Sign in and the trial: under the logo, on a row of its own, as the Menu is below it. A lone Request a demo
     button stays beside the logo, as before. */
  .header-links:has(.header-text-link) { order: 2; flex-basis: 100%; justify-content: flex-start; }
  .header-links .button-small { margin-left: auto; }
}

/* Pricing (owner, 2026-11-05). The Monthly / Annual switch: pricing.js shows it and sets body[data-billing]; without
   script there is no data-billing, so both prices stay visible. */
.billing-switch { display: inline-flex; gap: 4px; margin-top: 28px; padding: 5px; border: 1px solid var(--line); border-radius: 999px; background: #FFF; }
.billing-switch[hidden] { display: none; }
.billing-switch button { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 20px; border: 0; border-radius: 999px; background: transparent; color: var(--navy); font: 400 15px/1 var(--font); cursor: pointer; }
.billing-switch button[aria-pressed="true"] { background: var(--navy); color: #FFF; }
.billing-switch button:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; }
.billing-save { padding: 4px 9px; border-radius: 999px; background: var(--soft); color: var(--teal-on-soft); font-size: 12px; }
body[data-billing="month"] .price-year, body[data-billing="year"] .price-month { display: none; }
.pricing-plans { padding: 8px 0 24px; }
.pricing-plans .plan { position: relative; overflow: visible; }
.plan-badge { position: absolute; top: -14px; left: 28px; font-size: 12px; box-shadow: 0 4px 12px rgba(11, 124, 119, .14); }
/* Equal cards whose rows line up across all three (owner, 2026-11-05): each card is a subgrid of the same seven rows
   (head, for, prices, sub-line with the divider under it, facts, the features link, button), so a row is as tall as
   its tallest card, Enterprise's two-line sub-line included, and every button sits at the bottom. */
.pricing-plans .plan { display: grid; grid-row: span 7; grid-template-rows: subgrid; row-gap: 0; }
.plan-for { margin-top: 14px; color: var(--muted); font-size: 15.5px; line-height: 1.5; }
.plan-prices .plan-price { margin-top: 18px; }
.plan-prices .plan-price.price-year { margin-top: 10px; }
body[data-billing] .plan-prices .plan-price.price-year { margin-top: 18px; }
.plan-facts { list-style: none; margin: 16px 0 0; padding: 0; color: var(--ink); font-size: 15.5px; }
.plan-all { margin: 12px 0 24px; font-size: 15.5px; }
.plan-all a { color: var(--teal-on-soft); font-weight: 500; text-underline-offset: 3px; }
.pricing-plans .plan .button { align-self: end; }
.plan-facts li { padding: 4px 0; }
.plan-facts strong { font-weight: 500; }
.plans-note { margin-top: 24px; text-align: center; color: var(--ink); font-size: 16px; }
.plans-subnote { max-width: 860px; margin: 10px auto 0; text-align: center; color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.user-types { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; margin-bottom: 24px; }
.users-table td > span { display: block; }
.users-table td > span + span { margin-top: 4px; }
.users-table .plan-per { font-weight: 350; }
.compare th[scope="col"]:not(:first-child), .compare td { text-align: center; }
.compare tbody th[scope="row"] { font-weight: 400; }
.includes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 24px; }
.include-group { padding: 24px; }
.include-group h3 { font-size: 13px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-on-soft); }
.include-group .ticks { margin-top: 10px; }
@media (max-width: 1000px) {
  .includes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .user-types, .includes { grid-template-columns: minmax(0, 1fr); }
  .billing-switch button { padding: 0 14px; }
  #users .table-card, #every-plan-includes .table-card { padding: 14px 10px; }
  .compare th, .compare td, .users-table th, .users-table td { padding: 10px 8px; font-size: 13.5px; }
  .compare thead th, .users-table thead th { font-size: 10.5px; letter-spacing: .04em; }
  .compare tbody th[scope="row"] { width: 26%; }
  .users-table .plan-per { display: block; font-size: 12.5px; }
}

/* Contact (owner, 2026-11-05): the form beside "What happens next". */
.contact-hero { padding-bottom: 8px; }
.contact-section .contact-grid { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 32px; }
.contact-form { padding: 32px; }
.contact-form h2 { font-size: 24px; margin-bottom: 8px; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
.field { display: grid; gap: 6px; margin-top: 16px; }
.field label { color: var(--ink); font-size: 14.5px; font-weight: 400; }
.field .optional { color: var(--muted); font-weight: 350; }
.field input, .field select, .field textarea { width: 100%; min-height: 46px; padding: 10px 14px; border: 1px solid #C9D6E2; border-radius: 10px; background: #FFF; color: var(--text); font: 350 16px/1.4 var(--font); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--teal); }
.hp-field { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form .button { margin-top: 24px; width: 100%; }
.form-note { margin-top: 12px; color: var(--muted); font-size: 14px; text-align: center; }
.contact-aside { display: grid; gap: 20px; align-content: start; }
.aside-block { padding: 28px; }
.aside-block h2 { font-size: 22px; }
.aside-block p { margin-top: 8px; color: var(--muted); font-size: 15.5px; }
.aside-block .text-link { margin-top: 10px; }
.next-steps { margin: 14px 0 0; padding-left: 22px; color: var(--text); font-size: 15.5px; line-height: 1.55; }
.next-steps li + li { margin-top: 8px; }
.aside-email { padding: 0 4px; color: var(--muted); font-size: 16px; }
.actions-center { justify-content: center; }
@media (max-width: 1000px) {
  .contact-section .contact-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .form-row { grid-template-columns: minmax(0, 1fr); }
  .contact-form, .aside-block { padding: 24px 20px; }
}

/* Photo credits. */
.credits { display: grid; gap: 24px; max-width: 900px; }
.credit img { display: block; width: 100%; height: auto; margin: 16px 0; border-radius: 20px; }
.credit-source { overflow-wrap: anywhere; font-size: 14px; }
.credit-note { font-size: 14px; }
