/* JetBrains Mono (SIL Open Font License), Latin, weights 500 to 700, self hosted for the port pages. */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 500 700; font-display: swap; src: url("/fonts/JetBrainsMono-latin.woff2?v=4f27206c4b") format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
/* Port pages (/ports and /ports/<number>, 23 November 2026). The bands, headings, verdict cards, FAQ and close come
   from the industry pages (industry-feed.css). The figures use the Top rankings' cards (public-ranking-cards.css,
   24 November 2026): mono figures, share of leader meters and the shared activity bars. Only what those two lack lives
   here: the list of cards on a band, and the ranked lists inside a card. Quiet surfaces: no
   borders, no nested boxes, no blur. */

/* A hero without a visual (the index): industry-feed.css sizes the copy to its content below 1100px, which suits a
   split hero that stacks, but here kept the subtitle at its full width and cut it off on phones. */
.port-page .industry-hero:not(.public-hero--split) .public-hero__copy { flex: 1 1 auto; }

/* Cards on a band, as the Top rankings list them. */
.port-page .card-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 2rem; }
.port-page .card-list .threat-row { backdrop-filter: none; }
/* A card holding one list: its title sits close to the first row. */
.port-page .card-list .port-list-card { gap: .35rem; }
/* The index list starts under the hero as the Top rankings' list does. */
.port-index.public-band { padding-top: 3.5rem; }
.port-rank-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }

/* A ranked list inside a card: mono rank, mono identifier and name, the count, and a share of leader meter under it. */
.port-rank { margin: .35rem 0 0; padding: 0; list-style: none; }
.port-rank__row { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr) auto; align-items: baseline; column-gap: .5rem; padding: .6rem 0 .65rem; }
.port-rank__row + .port-rank__row { border-top: 1px solid rgba(148, 163, 184, .08); }
.port-rank__label { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .55rem; min-width: 0; }
.port-rank__id { color: #22d3ee; font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .85rem; font-weight: 700; }
.port-rank__name { min-width: 0; color: #cbd5e1; font-size: .88rem; line-height: 1.45; overflow-wrap: anywhere; }
.port-rank__value { color: #e2e8f0; font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .85rem; font-variant-numeric: tabular-nums; font-weight: 700; }
.threat-row .port-rank__meter { display: block; grid-column: 2 / -1; margin-top: .45rem; }
.threat-row .port-rank__meter .volume-bar-fill { display: block; }

/* Why attackers want it: the card fits its text beside the service copy instead of stretching to the column's height
   (industry-feed.css stretches it for the industry pages), its title in the cards' mono label. */
.port-page .industry-observed-grid--positioned .industry-why { align-self: center; justify-content: flex-start; padding: 1.75rem 2rem; }
.port-page .industry-why h3 { color: #75859b; font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .75rem; font-weight: 600; letter-spacing: .06em; line-height: 1.4; text-transform: uppercase; }
.port-page .industry-why p { margin-top: .85rem; color: #cbd5e1; font-size: 1rem; line-height: 1.75; }

/* The index: one ranking card per port, the port number links its page. */
.port-index .port-index__list { margin: 0; padding: 0; list-style: none; }
.port-index .threat-row__action i { font-size: .7rem; }
.port-index__pending { margin: 0; color: #94a3b8; font-size: .88rem; }
/* The method line above the ranking (24 November 2026). */
.port-index__note { max-width: 52rem; margin: 0; }
.port-index .port-index__note + .port-index__list, .port-index .port-index__note + .port-index__pending { margin-top: 1.75rem; }

/* The service ranking: a short description and the main ports under the name, the ports in mono like the ids. */
.port-service__description { max-width: 52rem; margin: .4rem 0 0; color: #94a3b8; font-size: .88rem; line-height: 1.55; }
.port-service__ports { display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .45rem; margin: .45rem 0 0; color: #64748b; font-size: .8rem; }
.port-service__ports > span:first-child { margin-right: .2rem; color: #94a3b8; }
.port-service__port { color: #22d3ee; font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; font-size: .82rem; font-weight: 700; }
a.port-service__port:hover, a.port-service__port:focus-visible { color: #67e8f9; text-decoration: underline; }

/* Beyond the top 10 (24 November 2026): the Top rankings' explore card after the third card, with a link to the
   scanner. */
.port-page .card-list .port-explore-card { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 1.125rem; min-height: 8rem; padding: 1.25rem 1.5rem; border-radius: 8px; background: rgba(10, 14, 23, .78); box-shadow: 0 4px 18px rgba(0, 0, 0, .1); }
.port-explore-card__copy { min-width: 0; padding-right: 13rem; }
.port-explore-card__eyebrow { margin-bottom: .3rem; color: #22d3ee; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.port-explore-card h3 { margin: 0; color: #f8fafc; font-size: 1.15rem; font-weight: 700; }
.port-explore-card p { margin: .35rem 0 0; color: #94a3b8; font-size: .85rem; line-height: 1.5; }
.port-explore-card__link { position: absolute; top: 1.25rem; right: 1.5rem; display: inline-flex; align-items: center; gap: .45rem; color: #22d3ee; font-size: .82rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.port-explore-card__link:hover, .port-explore-card__link:focus-visible { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* The FAQ sits on the band like the other sections. */
.port-faq { margin-top: 2rem; }

@media (max-width: 880px) {
  .port-rank-grid { grid-template-columns: 1fr; }
}
@media (max-width: 639px) {
  /* As on the Top rankings: the service name and description take the width, Analyze goes under them. */
  .port-service .threat-row__top { flex-wrap: wrap; }
  .port-service .threat-row__identity { flex: 1 1 100%; }
  .port-service .threat-row__action { margin-left: 2.7rem; }
  .port-page .card-list .port-explore-card { flex-direction: column; align-items: flex-start; gap: .8rem; min-height: 0; }
  .port-explore-card__copy { padding-right: 0; }
  .port-explore-card__link { position: static; }
  .port-rank__row { grid-template-columns: 2.15rem minmax(0, 1fr) auto; }
  .port-page .industry-observed-grid--positioned .industry-why { padding: 1.4rem 1.25rem; }
}
