/* The "Solutions by need" pages and integrations.html (scripts/render-solutions.mjs): on top of styles.css, solutions.css and field.css */
.need-page .sol-hero h1 { font-size: clamp(40px, 4.7vw, 64px); }
.need-page main p a, .need-page main li a { color: var(--brand); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.need-page .section-heading > p a { color: var(--brand); }
.need-page .sol-features { padding-block: 40px 30px; }
.need-page .feature p { font-size: 13.5px; line-height: 1.65; }
.feature-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.need-page .fs-how { padding: 84px 0 96px; }

/* a card that leads to its own page (the pages by industry) */
.need-page .feature { display: flex; flex-direction: column; align-items: flex-start; }
.need-page .feature .text-link { margin-top: auto; padding-top: 14px; }
.partners-page .int-security { margin-top: 70px; }

/* the sample panel in the hero */
.need-panel { justify-self: end; width: min(100%, 470px); padding: 24px 24px 16px; border: 1px solid var(--line); border-radius: 26px; background: #fff; box-shadow: 0 30px 70px #142d331a; }
.need-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.need-panel-head strong { font: 600 17px var(--display); letter-spacing: -.02em; }
.need-panel-head small { margin-left: 4px; color: var(--muted); font: 500 12.5px var(--body); letter-spacing: 0; }
.need-chip { display: inline-flex; align-items: center; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--paper); color: var(--muted); font: 600 11.5px var(--body); white-space: nowrap; }
.need-chip.ok { background: #e3f4ea; color: #17774a; }
.need-chip.warn { background: #fdf1dc; color: #9a6208; }
.need-chip.bad { background: #fde8e5; color: #b3342b; }
.need-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.need-stats > div { padding: 12px 12px 10px; border-radius: 14px; background: var(--paper); }
.need-stats strong { display: block; font: 700 20px var(--display); letter-spacing: -.03em; }
.need-stats small { color: var(--muted); font-size: 11.5px; }
.need-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 14px; }
.need-tiles > div { padding: 14px 12px 12px; border-radius: 14px; background: #e3f4ea; }
.need-tiles > div.bad { background: #fde8e5; }
.need-tiles strong { display: block; font: 700 21px var(--display); letter-spacing: -.03em; }
.need-tiles span { display: block; margin-top: 2px; font-size: 12px; font-weight: 600; }
.need-tiles small { color: #17774a; font-size: 11.5px; font-weight: 600; }
.need-tiles .bad small { color: #b3342b; }
.need-bars { list-style: none; margin: 0 0 8px; padding: 0; display: grid; gap: 12px; }
.need-bars li { display: grid; grid-template-columns: 1fr auto; gap: 6px 12px; font-size: 13px; }
.need-bars li span { font-weight: 600; }
.need-bars li b { color: var(--muted); font-weight: 500; }
.need-bars li i { grid-column: 1 / -1; position: relative; height: 7px; border-radius: 4px; background: var(--paper); overflow: hidden; }
.need-bars li i::after { content: ''; position: absolute; inset: 0 auto 0 0; width: var(--w); border-radius: 4px; background: #1f9d62; }
.need-bars li i.bad::after { background: #cf3f36; }
.need-rows { list-style: none; margin: 0; padding: 0; }
.need-rows li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.need-rows li > span:nth-child(2) { flex: 1; min-width: 0; }
.need-mark { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: var(--brand-soft); color: var(--brand); font: 700 13px var(--display); }
.need-rows strong { display: block; font: 600 13.5px var(--display); letter-spacing: -.01em; }
.need-rows small { display: block; color: var(--muted); font-size: 12px; line-height: 1.45; }
.need-sample { margin: 10px 0 0; padding-top: 10px; border-top: 1px solid var(--line); color: #8a9892; font-size: 11px; text-align: right; }

/* what you need, and what comes out */
.need-needs { padding: 96px 0; background: #edf0eb; }
.need-needs-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 72px; align-items: start; }
.need-needs h2 { font-size: clamp(34px, 3.6vw, 50px); margin: 0 0 14px; }
.need-needs-lead { max-width: 520px; margin: 0 0 26px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.need-checks { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; max-width: 600px; }
.need-checks li { display: flex; gap: 14px; align-items: flex-start; color: #3f5560; font-size: 14.5px; line-height: 1.7; }
.need-checks .icon { width: 22px; height: 22px; padding: 4px; margin-top: 2px; border-radius: 50%; background: #fff; color: var(--brand); }
.need-needs-links { display: flex; flex-wrap: wrap; gap: 12px 28px; margin-top: 28px; }
.need-out { padding: 28px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.need-out > strong { display: block; margin-bottom: 16px; font: 700 19px var(--display); letter-spacing: -.03em; }
.need-out ul { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.need-out li { padding: 7px 12px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 12.5px; font-weight: 600; }
.need-out p { margin: 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }

/* questions, at this page's size */
.need-page .faq-section { padding-block: 84px 90px; }
.need-page .faq-layout > div > p { font-size: 14px; color: var(--muted); }
.need-page .faq-list summary { font-size: 15.5px; padding: 22px 0; }
.need-page .faq-list details > p { font-size: 14px; line-height: 1.8; color: var(--muted); max-width: 620px; }

/* the other solutions */
.need-related { padding-block: 0 30px; }
.need-related h2 { font-size: 30px; margin: 0 0 22px; letter-spacing: -.035em; }
.need-related-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
.need-link { display: grid; gap: 6px; align-content: start; padding: 20px; border: 1px solid var(--line); border-radius: 16px; background: #fff; transition: border-color .2s, transform .2s; }
.need-link:hover { border-color: var(--brand); transform: translateY(-2px); }
.need-link strong { font: 600 15.5px var(--display); letter-spacing: -.02em; }
.need-link span { color: var(--muted); font-size: 12.5px; line-height: 1.55; }

/* ---- integrations.html ---- */
.int-code { margin: 0; border-radius: 16px; background: #0e2a31; color: #e6efec; overflow: hidden; min-width: 0; }
.int-code figcaption { padding: 11px 18px; border-bottom: 1px solid #ffffff1a; color: #9fb7b3; font: 600 11.5px var(--body); letter-spacing: .06em; text-transform: uppercase; }
.int-code pre { margin: 0; padding: 18px; overflow-x: auto; }
.int-code code { font: 12.5px/1.7 ui-monospace, "SF Mono", Menlo, Consolas, monospace; white-space: pre; }
.int-hero-code { justify-self: end; width: min(100%, 520px); min-width: 0; }
.int-hero-code .int-code { box-shadow: 0 30px 70px #142d3333; }
.int-hero-code p { margin: 16px 4px 0; color: var(--muted); font-size: 13.5px; line-height: 1.7; }
.int-page main code:not(.int-code code) { padding: 2px 6px; border-radius: 6px; background: var(--brand-soft); color: var(--brand); font: 12.5px ui-monospace, "SF Mono", Menlo, Consolas, monospace; }
.int-ways { padding: 96px 0; margin-top: 70px; background: #edf0eb; }
.int-ways-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.int-ways-grid article { padding: 32px; border-radius: 22px; background: #fff; border: 1px solid var(--line); }
.int-way-kind { display: inline-block; margin-bottom: 14px; padding: 5px 11px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); font-size: 11.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.int-ways-grid h3 { margin: 0 0 10px; font-size: 26px; letter-spacing: -.035em; }
.int-ways-grid p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.int-ways-grid ul { margin: 0; padding: 0 0 0 18px; display: grid; gap: 8px; color: #3f5560; font-size: 13.5px; line-height: 1.6; }
.int-start { padding-block: 100px 40px; }
.int-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.int-steps > li { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 36px; align-items: start; padding: 30px; border: 1px solid var(--line); border-radius: 22px; background: #fff; }
.int-steps b { display: grid; place-items: center; width: 32px; height: 32px; margin-bottom: 14px; border-radius: 10px; background: var(--brand); color: #fff; font: 700 13px var(--display); }
.int-steps h3 { margin: 0 0 10px; font-size: 22px; letter-spacing: -.03em; }
.int-steps p { margin: 0 0 12px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }
.int-steps p.int-note { padding: 12px 14px; border-radius: 12px; background: #fdf1dc; color: #7a5210; font-size: 13.5px; }
.int-code-pair { display: grid; gap: 14px; min-width: 0; }
.int-security { padding: 96px 0 90px; margin-top: 60px; background: #edf0eb; }
.int-security-more { margin: 26px 0 0; color: var(--muted); font-size: 14px; }
.int-limits { padding-block: 100px 20px; }
.int-limits-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.int-limits h2 { font-size: clamp(32px, 3.4vw, 46px); margin: 0 0 16px; }
.int-limits p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.75; max-width: 380px; }
.int-limits table { width: 100%; border-collapse: collapse; }
.int-limits th, .int-limits td { padding: 16px 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 14px; line-height: 1.6; }
.int-limits tr:first-child th, .int-limits tr:first-child td { border-top: 1px solid var(--line); }
.int-limits th { width: 34%; padding-right: 20px; font: 600 14px var(--display); letter-spacing: -.01em; }
.int-limits td { color: #3f5560; }

@media (max-width: 1100px) {
  .need-panel, .int-hero-code { justify-self: center; width: min(100%, 560px); }
  .feature-grid.three { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .need-needs-grid { grid-template-columns: 1fr; gap: 40px; }
  .need-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .int-steps > li { grid-template-columns: 1fr; gap: 20px; }
  .int-limits-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 760px) {
  .need-panel { padding: 18px 16px 12px; border-radius: 20px; }
  .need-stats strong { font-size: 17px; }
  .need-tiles strong { font-size: 18px; }
  .feature-grid.three { grid-template-columns: 1fr; }
  .need-page .sol-features { padding-block: 20px 10px; }
  .need-page .fs-how { padding: 56px 0 64px; }
  .need-needs { padding: 64px 0; }
  .need-out { padding: 22px 20px; }
  .need-page .faq-section { padding-block: 56px 60px; }
  .need-page .faq-layout { grid-template-columns: 1fr; gap: 24px; }
  .need-related-grid { grid-template-columns: 1fr; }
  .need-related h2 { font-size: 25px; }
  .int-ways, .int-security { padding: 64px 0; margin-top: 40px; }
  .int-ways-grid { grid-template-columns: 1fr; }
  .int-ways-grid article { padding: 24px 20px; }
  .int-start { padding-block: 64px 20px; }
  .int-steps > li { padding: 22px 18px; }
  .int-code pre { padding: 14px; }
  .int-code code { font-size: 11.5px; }
  .int-limits { padding-block: 64px 10px; }
  .int-limits th { width: 40%; }
}
.need-page .feature .text-link .icon { width: 20px; height: 20px; padding: 0; margin: 0; border-radius: 0; background: none; }
