/* /serp product page (STATUS-GI): result types, sticky in-page nav, options, pricing, compare, FAQ.
   Builds on the v3 product page classes (ujpd-*) and tokens; everything here is scoped to .ujsp. */
.uj-v3 .ujsp code { font-family: var(--uj-mono); font-size: .92em; background: var(--uj-line2); border-radius: 5px; padding: 1px 5px; color: var(--uj-ink); }
.uj-v3 .ujsp pre code { background: none; padding: 0; border-radius: 0; color: inherit; font-size: inherit; }
.uj-v3 .ujsp .ujpd-codecard code { background: none; color: inherit; padding: 0; }

/* hero */
.uj-v3 .ujsp-hero h1.uj-h--xl { font-size: clamp(36px, 4.4vw, 58px); line-height: 1.05; }
.uj-v3 .ujsp-hero-note { margin-top: 16px; font-family: var(--uj-sans); font-size: 13.5px; color: var(--uj-muted); }
.uj-v3 .ujsp-hero .ujpd-codecard pre + pre { margin-top: 14px; padding-top: 14px; border-top: 1px solid #1F2937; }
.uj-v3 .ujsp-hero-json { max-height: 300px; overflow: auto; }

/* proof row */
.uj-v3 .ujsp-proof { background: var(--uj-paper); border-bottom: 1px solid var(--uj-line); }
.uj-v3 .ujsp-proof-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; padding-top: 26px; padding-bottom: 26px; }
.uj-v3 .ujsp-proof-row > div { display: flex; flex-direction: column; gap: 4px; }
.uj-v3 .ujsp-proof-v { font-family: var(--uj-mono); font-size: 26px; font-weight: 500; color: var(--uj-ink); letter-spacing: -0.02em; }
.uj-v3 .ujsp-proof-l { font-family: var(--uj-sans); font-size: 12.5px; color: var(--uj-muted); line-height: 1.45; }

/* sticky in-page nav: sticks under the site header on desktop, a sideways strip on phones */
.uj-v3 .ujsp-nav { position: sticky; top: 64px; z-index: 40; background: rgba(255,255,255,.94); -webkit-backdrop-filter: saturate(180%) blur(10px); backdrop-filter: saturate(180%) blur(10px); border-bottom: 1px solid var(--uj-line); }
.uj-v3 .ujsp-nav-in { display: flex; gap: 4px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: none; }
.uj-v3 .ujsp-nav-in::-webkit-scrollbar { display: none; }
.uj-v3 .ujsp-nav a { flex: 0 0 auto; padding: 6px 12px; border-radius: 999px; font-family: var(--uj-sans); font-size: 13.5px; font-weight: 500; color: var(--uj-muted); text-decoration: none; white-space: nowrap; }
.uj-v3 .ujsp-nav a:hover { color: var(--uj-ink); background: var(--uj-line2); }
.uj-v3 .ujsp-nav a.is-on { color: var(--uj-accent-ink); background: var(--uj-accent-soft); }
.uj-v3 .ujsp [id] { scroll-margin-top: 128px; }

/* section heads */
.uj-v3 .ujsp-head { padding-top: 88px; padding-bottom: 8px; }
.uj-v3 .ujsp-head p, .uj-v3 .ujsp-lede { margin-top: 14px; max-width: 720px; font-family: var(--uj-sans); font-size: 16.5px; color: var(--uj-muted); line-height: 1.6; }
.uj-v3 .ujsp-lede a, .uj-v3 .ujsp-note a { color: var(--uj-accent2); }
.uj-v3 .ujsp-sec { padding-top: 88px; padding-bottom: 88px; }
.uj-v3 .ujsp-h3 { margin: 40px 0 14px; font-family: var(--uj-sans); font-size: 18px; font-weight: 600; color: var(--uj-ink); }

/* one block per result type */
.uj-v3 .ujsp-type { padding: 56px 0; border-bottom: 1px solid var(--uj-line); }
.uj-v3 .ujsp-type:last-child { border-bottom: 0; padding-bottom: 88px; }
.uj-v3 .ujsp-type-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 48px; align-items: start; }
.uj-v3 .ujsp-type-eyebrow { display: flex; align-items: center; gap: 10px; font-family: var(--uj-sans); font-size: 13px; font-weight: 500; color: var(--uj-muted); }
.uj-v3 .ujsp-type-h { margin: 14px 0 0; font-family: var(--uj-sans); font-size: clamp(22px, 2.2vw, 28px); line-height: 1.2; font-weight: 600; letter-spacing: -0.015em; color: var(--uj-ink); }
.uj-v3 .ujsp-type-intro { margin-top: 12px; font-family: var(--uj-sans); font-size: 15.5px; color: var(--uj-muted); line-height: 1.6; }
.uj-v3 .ujsp-sub { margin-top: 22px; font-family: var(--uj-mono); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: var(--uj-muted2); }
.uj-v3 .ujsp-fields { margin: 10px 0 0; display: grid; grid-template-columns: minmax(0, auto) 1fr; gap: 8px 14px; font-family: var(--uj-sans); font-size: 14px; line-height: 1.5; }
.uj-v3 .ujsp-fields dt { margin: 0; }
.uj-v3 .ujsp-fields dd { margin: 0; color: var(--uj-muted); }
.uj-v3 .ujsp-uses { margin: 10px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.uj-v3 .ujsp-uses li { position: relative; padding-left: 16px; font-family: var(--uj-sans); font-size: 14px; color: var(--uj-muted); line-height: 1.5; }
.uj-v3 .ujsp-uses li::before { content: ""; position: absolute; left: 0; top: .6em; width: 6px; height: 6px; border-radius: 50%; background: var(--uj-accent); }
.uj-v3 .ujsp-uses strong { color: var(--uj-ink); font-weight: 600; }
.uj-v3 .ujsp-links { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; font-family: var(--uj-sans); font-size: 14px; }
.uj-v3 .ujsp-links a:not(.uj-btn) { color: var(--uj-accent2); font-weight: 500; text-decoration: none; }
.uj-v3 .ujsp-links a:not(.uj-btn):hover { text-decoration: underline; }
.uj-v3 .ujsp-type-code { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.uj-v3 .ujsp-type-code .ujpd-codecard { padding: 18px 20px; box-shadow: 0 14px 36px rgba(15,23,42,0.14); }
.uj-v3 .ujsp-type-code .ujpd-codecard-bar { margin-bottom: 10px; }
.uj-v3 .ujsp-json pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.uj-v3 .ujsp-extra { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.uj-v3 .ujsp-extra-card { padding: 20px 22px; border: 1px solid var(--uj-line); border-radius: var(--uj-r-lg); background: var(--uj-paper); }
.uj-v3 .ujsp-extra-card h4 { margin: 0; font-family: var(--uj-sans); font-size: 15.5px; font-weight: 600; color: var(--uj-ink); }
.uj-v3 .ujsp-extra-card p { margin: 6px 0 0; font-family: var(--uj-sans); font-size: 14px; color: var(--uj-muted); line-height: 1.55; }

/* options + pagination tables */
.uj-v3 .ujsp-table-wrap { margin-top: 24px; overflow-x: auto; border: 1px solid var(--uj-line); border-radius: var(--uj-r-lg); background: #fff; }
.uj-v3 .ujsp-table { width: 100%; border-collapse: collapse; font-family: var(--uj-sans); font-size: 14px; min-width: 720px; }
.uj-v3 .ujsp-table--2 { min-width: 0; }
.uj-v3 .ujsp-table th, .uj-v3 .ujsp-table td { padding: 11px 14px; border-bottom: 1px solid var(--uj-line); text-align: left; vertical-align: top; line-height: 1.5; }
.uj-v3 .ujsp-table thead th { font-size: 11.5px; text-transform: uppercase; letter-spacing: .06em; font-weight: 500; color: var(--uj-muted); background: var(--uj-paper); }
.uj-v3 .ujsp-table tbody tr:last-child th, .uj-v3 .ujsp-table tbody tr:last-child td { border-bottom: 0; }
.uj-v3 .ujsp-table td { color: var(--uj-muted); }
.uj-v3 .ujsp-table td:first-child, .uj-v3 .ujsp-table tbody th { color: var(--uj-ink); font-weight: 500; white-space: nowrap; }

/* pricing note, compare strip */
.uj-v3 .ujsp-note { margin-top: 24px; font-family: var(--uj-sans); font-size: 14px; color: var(--uj-muted); line-height: 1.6; max-width: 900px; }
.uj-v3 .ujsp-cmp { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.uj-v3 .ujsp-cmp-card { display: flex; flex-direction: column; gap: 10px; padding: 22px; border: 1px solid var(--uj-line); border-radius: var(--uj-r-lg); background: #fff; text-decoration: none; color: inherit; transition: border-color .16s, box-shadow .16s; }
.uj-v3 a.ujsp-cmp-card:hover { border-color: var(--uj-accent); box-shadow: 0 14px 32px -16px rgba(249,115,22,0.45); }
.uj-v3 .ujsp-cmp-t { font-family: var(--uj-sans); font-size: 16px; font-weight: 600; color: var(--uj-ink); }
.uj-v3 .ujsp-cmp-row { display: flex; justify-content: space-between; gap: 12px; font-family: var(--uj-sans); font-size: 13.5px; color: var(--uj-muted); border-top: 1px solid var(--uj-line2); padding-top: 8px; }
.uj-v3 .ujsp-cmp-row strong { color: var(--uj-ink); font-weight: 500; text-align: right; }
.uj-v3 .ujsp-cmp-card p { margin: 0; font-family: var(--uj-sans); font-size: 14px; color: var(--uj-muted); line-height: 1.55; }
.uj-v3 .ujsp-cmp-more { margin-top: auto; font-family: var(--uj-sans); font-size: 13.5px; font-weight: 500; color: var(--uj-accent2); text-decoration: none; }
.uj-v3 .ujsp-cmp-card--plain .ujsp-cmp-more { margin-top: 0; }

/* FAQ */
.uj-v3 .ujsp-faq-wrap { padding-top: 88px; padding-bottom: 88px; max-width: 860px; }
.uj-v3 .ujsp-faq-list { margin-top: 28px; }
.uj-v3 .ujsp-faq { border-bottom: 1px solid var(--uj-line); }
.uj-v3 .ujsp-faq > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 4px; font-family: var(--uj-sans); font-size: 16.5px; font-weight: 600; color: var(--uj-ink); }
.uj-v3 .ujsp-faq > summary::-webkit-details-marker { display: none; }
.uj-v3 .ujsp-faq-chev { transition: transform .2s ease; color: var(--uj-accent); flex: 0 0 auto; display: inline-flex; }
.uj-v3 .ujsp-faq[open] .ujsp-faq-chev { transform: rotate(180deg); }
.uj-v3 .ujsp-faq > p { margin: 0; padding: 0 4px 22px; font-family: var(--uj-sans); font-size: 15px; color: var(--uj-muted); line-height: 1.6; }

@media (max-width: 1100px) {
  .uj-v3 .ujsp-proof-row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .uj-v3 .ujsp-type-grid { grid-template-columns: 1fr; gap: 28px; }
  .uj-v3 .ujsp-cmp { grid-template-columns: 1fr; }
  .uj-v3 .ujsp-head { padding-top: 64px; }
  .uj-v3 .ujsp-sec, .uj-v3 .ujsp-faq-wrap { padding-top: 64px; padding-bottom: 64px; }
  .uj-v3 .ujsp-nav { position: static; }
  .uj-v3 .ujsp [id] { scroll-margin-top: 72px; }
}
@media (max-width: 640px) {
  .uj-v3 .ujsp-proof-row { grid-template-columns: 1fr 1fr; }
  .uj-v3 .ujsp-extra { grid-template-columns: 1fr; }
  .uj-v3 .ujsp-fields { grid-template-columns: 1fr; gap: 2px; }
  .uj-v3 .ujsp-fields dd { margin-bottom: 8px; }
  .uj-v3 .ujsp-type { padding: 44px 0; }
}
