/* Product detail pages (/solutions/<id>/). Owner: Claude. Uses variables from site.css. */
.product-page main { overflow-x: clip; }
.pd-hero { background: radial-gradient(ellipse at top right, #183859, #091a31 66%); color: var(--white); padding-block: clamp(28px, 4vw, 48px) clamp(40px, 6vw, 80px); }
.pd-crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .35rem .5rem; padding: 0; margin: 0 0 clamp(1.4rem, 3vw, 2.4rem); font-size: .86rem; color: #b8c8da; }
.pd-crumbs li + li::before { content: "/"; margin-right: .5rem; color: #6f87a3; }
.pd-crumbs a { color: #dbe7f3; text-decoration: underline; text-underline-offset: .2em; }
.pd-crumbs [aria-current] { color: var(--white); font-weight: 700; }
.pd-hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(1.6rem, 4.5vw, 4.5rem); align-items: center; }
.pd-status { display: inline-block; margin-bottom: 1rem; padding: .3rem .7rem; border: 1px solid rgba(115,234,46,.55); border-radius: 999px; color: var(--green); font-size: .84rem; font-weight: 800; letter-spacing: .01em; }
.pd-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.9rem); line-height: 1.12; letter-spacing: -.035em; max-width: 17ch; }
.pd-lead { margin-top: 1.1rem; max-width: 42rem; color: #d8e6f2; font-size: clamp(1.02rem, 1.4vw, 1.18rem); line-height: 1.7; }
.pd-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.7rem; }
.pd-actions .button { gap: .45rem; }
.pd-primary { background: var(--green); color: var(--midnight); }
.pd-primary:hover { background: #8ff25a; }
.pd-secondary { border-color: rgba(255,255,255,.55); color: var(--white); }
.pd-secondary:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.pd-figure { position: relative; margin: 0; min-width: 0; }
.pd-figure img { display: block; width: 100%; aspect-ratio: 1.45; object-fit: cover; border-radius: 6px; background: #12284a; }
.pd-figure figcaption { position: absolute; left: .7rem; top: .7rem; background: rgba(7,21,44,.86); color: #f0f5fb; padding: .25rem .6rem; font-size: .78rem; font-weight: 700; border-radius: 3px; }
.pd-contain img { object-fit: contain; background: var(--white); padding: clamp(.6rem, 2vw, 1.4rem); }
.pd-facts { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0 1.4rem; margin: clamp(2rem, 4vw, 3.2rem) 0 0; }
.pd-facts div { border-top: 2px solid var(--green); padding-top: .8rem; }
.pd-facts dt { color: #9fb4cb; font-size: .82rem; font-weight: 700; }
.pd-facts dd { margin: .3rem 0 0; font-weight: 800; font-size: clamp(.98rem, 1.3vw, 1.1rem); line-height: 1.45; }
.pd-toc { position: sticky; top: 76px; z-index: 3; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--line); }
.pd-toc .wrap { display: flex; gap: .3rem 1.6rem; overflow-x: auto; scrollbar-width: thin; }
.pd-toc a { flex: 0 0 auto; padding: .95rem 0 .85rem; font-size: .9rem; font-weight: 750; color: var(--muted); border-bottom: 3px solid transparent; }
.pd-toc a:hover, .pd-toc a:focus-visible { color: var(--navy); border-bottom-color: var(--green-dark); }
.product-page main section[id] { scroll-margin-top: 130px; }
.pd-section { padding-block: clamp(52px, 7vw, 100px); }
.pd-section h2 { font-size: clamp(1.7rem, 3.3vw, 2.8rem); line-height: 1.2; letter-spacing: -.03em; max-width: 26ch; }
.pd-intro { margin-top: .9rem; max-width: 50rem; color: var(--muted); line-height: 1.7; }
.pd-tint { background: var(--paper); }
.pd-table-wrap { margin-top: 1.8rem; overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--white); }
.pd-table-wrap:focus-visible { outline: 3px solid var(--green-dark); outline-offset: 2px; }
.pd-table { width: 100%; min-width: 720px; border-collapse: collapse; font-size: .95rem; }
.pd-table th, .pd-table td { padding: .95rem 1rem; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); line-height: 1.55; }
.pd-table thead th { background: var(--navy); color: var(--white); font-size: .86rem; font-weight: 750; }
.pd-table tbody th { color: var(--navy); font-weight: 800; white-space: nowrap; }
.pd-table tbody tr:last-child > * { border-bottom: 0; }
.pd-table:not(.pd-stack) td { white-space: nowrap; }
.pd-table tbody tr:nth-child(even) { background: #f7f9fb; }
.pd-scroll { display: none; margin-top: .6rem; font-size: .82rem; color: var(--muted); }
.pd-cards { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: clamp(.8rem, 1.6vw, 1.3rem); margin-top: 2rem; }
.pd-cards article { background: var(--white); border-top: 3px solid var(--green-dark); padding: clamp(1.1rem, 2vw, 1.6rem); border-radius: 0 0 6px 6px; }
.pd-cards h3 { font-size: 1.15rem; margin-bottom: .9rem; color: var(--navy); }
.pd-list { list-style: none; padding: 0; margin: 0; }
.pd-list li { display: flex; gap: .55rem; align-items: flex-start; line-height: 1.55; }
.pd-list li + li { margin-top: .55rem; }
.pd-list svg { flex: 0 0 18px; width: 18px; height: 18px; margin-top: .2rem; color: var(--green-dark); }
.pd-forms { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; margin-top: 1.8rem; }
.pd-forms article { border: 1px solid var(--line); border-radius: 6px; padding: 1.2rem; }
.pd-forms h3 { font-size: 1.08rem; color: var(--navy); }
.pd-forms p { margin-top: .5rem; color: var(--muted); line-height: 1.55; }
.pd-forms .pd-models { color: var(--green-dark); font-weight: 800; font-size: .88rem; }
.pd-thumb { position: relative; margin: -1.2rem -1.2rem 1rem; background: var(--white); border-bottom: 1px solid var(--line); border-radius: 6px 6px 0 0; overflow: hidden; }
.pd-thumb img { display: block; width: 100%; height: 170px; object-fit: contain; padding: .8rem; }
.pd-thumb figcaption, .pd-inline-fig figcaption { position: absolute; left: .5rem; top: .5rem; background: rgba(7,21,44,.82); color: #f0f5fb; padding: .15rem .5rem; font-size: .72rem; font-weight: 700; border-radius: 3px; }
.pd-inline-fig { position: relative; margin: 1.8rem 0 0; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; background: var(--white); }
.pd-inline-fig img { display: block; width: 100%; max-height: 380px; object-fit: contain; }
.pd-spec-row { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 1.4rem; align-items: start; margin-top: 1.8rem; }
.pd-spec-row .pd-inline-fig, .pd-spec-row .pd-spec { margin-top: 0; }
.pd-special-img { display: block; width: 100%; height: 160px; object-fit: cover; border-radius: 4px; margin-bottom: .8rem; }
.pd-imgnote { font-size: .8rem; }
.pd-sub { margin-top: 2.6rem; font-size: 1rem; color: var(--navy); }
.pd-sub + .pd-table-wrap { margin-top: .8rem; }
.pd-calc { display: grid; grid-template-columns: 1.2fr .8fr; gap: 1rem; margin-top: 1.8rem; }
.pd-formula { margin: 0; padding: clamp(1.2rem, 2.4vw, 1.8rem); background: var(--navy); color: var(--white); border-radius: 6px; font-size: clamp(1.02rem, 1.6vw, 1.3rem); font-weight: 800; line-height: 1.55; }
.pd-example { padding: 1.2rem 1.4rem; border: 1px solid var(--line); border-left: 4px solid var(--green-dark); border-radius: 6px; }
.pd-example h3 { font-size: .95rem; color: var(--navy); }
.pd-example p { margin-top: .5rem; color: var(--muted); line-height: 1.6; }
.pd-inputs { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); gap: 1rem; margin: 1.6rem 0 0; }
.pd-inputs div { border-top: 2px solid var(--navy); padding-top: .7rem; }
.pd-inputs dt { font-weight: 800; color: var(--navy); }
.pd-inputs dd { margin: .35rem 0 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }
.pd-spec { margin-top: 1.8rem; max-width: 52rem; }
.pd-spec dl { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.pd-spec dl div { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line); }
.pd-spec dl div:nth-child(odd) { border-right: 1px solid var(--line); }
.pd-spec dt { color: var(--muted); font-weight: 700; }
.pd-spec dd { margin: 0; font-weight: 800; color: var(--navy); text-align: right; }
.pd-note-small { margin-top: .6rem; font-size: .85rem; color: var(--muted); }
.pd-callout { margin-top: 1.8rem; padding: 1.3rem 1.5rem; background: #eef6e9; border-left: 4px solid var(--green-dark); border-radius: 6px; max-width: 56rem; }
.pd-callout p { line-height: 1.65; }
.pd-callout-links { display: flex; flex-wrap: wrap; gap: .4rem 1.4rem; margin-top: .7rem; }
.pd-callout-links a, .pd-sources a { color: var(--green-dark); font-weight: 800; text-decoration: underline; text-underline-offset: .2em; }
.pd-after { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.2rem; margin-top: 2.4rem; align-items: start; }
.pd-history h3, .pd-special h3 { font-size: 1.05rem; color: var(--navy); margin-bottom: .8rem; }
.pd-timeline { list-style: none; padding: 0; margin: 0; border-left: 2px solid var(--line); }
.pd-timeline li { position: relative; padding: 0 0 1rem 1.2rem; display: grid; gap: .15rem; line-height: 1.5; }
.pd-timeline li::before { content: ""; position: absolute; left: -6px; top: .4rem; width: 10px; height: 10px; border-radius: 50%; background: var(--green-dark); }
.pd-date { font-weight: 800; color: var(--navy); font-size: .9rem; }
.pd-special article { padding: 1rem 1.1rem; border: 1px solid var(--line); border-radius: 6px; }
.pd-special article + article { margin-top: .8rem; }
.pd-special h4 { font-size: 1rem; color: var(--navy); }
.pd-special p { margin-top: .4rem; color: var(--muted); line-height: 1.6; }
.pd-linkcard { display: grid; gap: .4rem; padding: 1.3rem 1.4rem; background: var(--navy); color: var(--white); border-radius: 6px; }
.pd-linkcard span { color: #b8c8da; font-size: .9rem; }
.pd-linkcard strong { color: var(--green); }
.pd-linkcard:hover { background: #213a5f; }
.pd-dark { background: var(--navy); color: var(--white); }
.pd-dark .eyebrow { color: var(--green); }
.pd-dark .pd-intro { color: #c6d5e4; }
.pd-prep { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; margin-top: 1.8rem; }
.pd-prep > div { padding: 1.4rem 1.5rem; border: 1px solid rgba(255,255,255,.18); border-radius: 6px; background: rgba(255,255,255,.04); }
.pd-prep h3 { font-size: 1.08rem; margin-bottom: .9rem; }
.pd-dark .pd-list svg { color: var(--green); }
.pd-dark .pd-list li { color: #e3ecf5; }
.pd-faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(1.4rem, 4vw, 4rem); }
.pd-faq details { border-bottom: 1px solid var(--line); }
.pd-faq details:first-child { border-top: 1px solid var(--line); }
.pd-faq summary { cursor: pointer; padding: 1.1rem 0; font-weight: 800; color: var(--navy); line-height: 1.5; }
.pd-faq details p { padding: 0 0 1.2rem; color: var(--muted); line-height: 1.7; }
.pd-sources { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .5rem; }
.pd-rel-h { margin-top: clamp(2.6rem, 5vw, 4rem); }
.pd-related { list-style: none; padding: 0; margin: 1.4rem 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .9rem; }
.pd-related a { display: grid; gap: .35rem; height: 100%; padding: 1.1rem 1.2rem; background: var(--white); border: 1px solid var(--line); border-radius: 6px; }
.pd-related a:hover { border-color: var(--green-dark); }
.pd-related strong { color: var(--navy); }
.pd-related span { font-size: .86rem; color: var(--muted); line-height: 1.5; }
@media (max-width: 1080px) {
  .pd-cards, .pd-forms { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .pd-inputs { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .pd-facts { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem 1.4rem; }
}
@media (max-width: 900px) {
  .pd-toc { top: 66px; }
  .pd-hero-grid, .pd-calc, .pd-prep, .pd-faq-grid { grid-template-columns: 1fr; }
  .pd-figure { max-width: 640px; }
  .pd-spec-row { grid-template-columns: 1fr; }
  .pd-scroll { display: block; }
}
@media (max-width: 700px) {
  .pd-stack-wrap { overflow: visible; border: 0; background: transparent; }
  .pd-stack { min-width: 0; }
  .pd-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .pd-stack, .pd-stack tbody, .pd-stack tr, .pd-stack th, .pd-stack td { display: block; width: 100%; }
  .pd-stack tr { background: var(--white) !important; border: 1px solid var(--line); border-radius: 6px; padding: .9rem 1rem; }
  .pd-stack tr + tr { margin-top: .7rem; }
  .pd-stack tbody th { padding: 0 0 .5rem; border: 0; white-space: normal; font-size: 1.02rem; }
  .pd-stack td { padding: .45rem 0 0; border: 0; }
  .pd-stack td::before { content: attr(data-label); display: block; font-size: .78rem; font-weight: 800; color: var(--green-dark); }
}
@media (max-width: 600px) {
  .pd-cards, .pd-forms, .pd-inputs, .pd-facts { grid-template-columns: 1fr; }
  .pd-spec dl { grid-template-columns: 1fr; }
  .pd-spec dl div:nth-child(odd) { border-right: 0; }
  .pd-actions .button { width: 100%; }
  .pd-hero h1 { font-size: clamp(1.9rem, 8.4vw, 2.4rem); }
}
@media (prefers-reduced-motion: reduce) { .product-page * { scroll-behavior: auto !important; transition: none !important; } }
