/* Partner page. Tokens and spacing follow the Hoplo subpage families. */
.spp-page {
  --spp-ink: #171717;
  --spp-muted: #5c5a58;
  --spp-surface: #f5f5f2;
  --spp-card: #fbfbf8;
  --spp-line: #e7e7e3;
  --spp-accent: #007ec7;
  background: var(--spp-surface);
  color: var(--spp-ink);
  font-family: var(--font-neoris);
}

.spp-container { width: min(100% - 48px, 1160px); margin-inline: auto; }
.spp-hero { position: relative; min-height: 660px; display: flex; align-items: center; overflow: hidden; background: #10201e; }
.spp-hero-image, .spp-hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.spp-hero-image { object-fit: cover; object-position: center; }
.spp-hero-shade { background: linear-gradient(180deg, rgba(4, 13, 15, .5), rgba(4, 13, 15, .25) 35%, rgba(4, 13, 15, .68)); }
.spp-hero-content { position: relative; width: min(100% - 48px, 880px); margin: 0 auto; padding: 130px 0 95px; text-align: center; color: #fff; }
.spp-eyebrow { margin: 0 0 18px; color: var(--spp-accent); font-family: var(--font-ibm-plex-mono, monospace); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.spp-eyebrow-light { color: #b2e7ff; }
.spp-hero h1 { max-width: 14ch; margin: 0 auto; font-size: clamp(44px, 5.6vw, 76px); font-weight: 400; line-height: 1.04; letter-spacing: -.02em; text-wrap: balance; }
.spp-hero-intro { max-width: 64ch; margin: 25px auto 0; font-size: 18px; line-height: 1.6; color: rgba(255,255,255,.9); }
.spp-hero-link { display: inline-flex; align-items: center; gap: 9px; margin-top: 32px; padding: 12px 18px; border: 1px solid rgba(255,255,255,.46); border-radius: 8px; background: rgba(255,255,255,.08); color: #fff; font-size: 15px; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.spp-hero-link:hover { background: rgba(255,255,255,.17); transform: translateY(-2px); }

.spp-section { padding: 112px 0 120px; }
.spp-section-heading { max-width: 670px; margin-bottom: 43px; }
.spp-section-heading h2, .spp-closing h2 { margin: 0; font-size: clamp(34px, 4vw, 52px); font-weight: 400; line-height: 1.1; letter-spacing: -.015em; text-wrap: balance; }
.spp-section-heading > p:last-child, .spp-closing p:last-child { max-width: 60ch; margin: 18px 0 0; color: var(--spp-muted); font-size: 17px; line-height: 1.6; }
.spp-featured-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.spp-featured-card { min-width: 0; overflow: hidden; border: 1px solid var(--spp-line); border-radius: 16px; background: var(--spp-card); box-shadow: 0 2px 1px #fff, 0 16px 36px rgba(20,24,22,.05); }
.spp-featured-mark { display: flex; align-items: center; justify-content: center; height: 245px; padding: 50px; border-bottom: 1px solid var(--spp-line); background: linear-gradient(145deg, #e8eee8, #f3f5f1); }
.spp-featured-card-openai .spp-featured-mark { background: linear-gradient(145deg, #e7eceb, #f3f5f1); }
.spp-featured-mark img { display: block; width: min(100%, 350px); max-height: 135px; object-fit: contain; }
.spp-featured-card-openai .spp-featured-mark img { width: min(100%, 245px); }
.spp-featured-copy { padding: 36px 38px 40px; }
.spp-card-role { color: var(--spp-accent); font-family: var(--font-ibm-plex-mono, monospace); font-size: 12px; letter-spacing: .05em; text-transform: uppercase; }
.spp-featured-copy h3 { margin: 14px 0 0; font-size: 36px; line-height: 1.1; font-weight: 400; }
.spp-partner-status { margin: 12px 0 0; font-size: 15px; font-weight: 550; }
.spp-card-description { min-height: 76px; margin: 16px 0 25px; color: var(--spp-muted); font-size: 16px; line-height: 1.55; }
.spp-text-link { display: inline-flex; align-items: center; gap: 8px; color: var(--spp-ink); font-size: 15px; font-weight: 550; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; transition: color .2s ease, gap .2s ease; }
.spp-text-link:hover { color: var(--spp-accent); gap: 12px; }

.spp-network { border-top: 1px solid var(--spp-line); background: #eeeeea; }
.spp-network-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.spp-network-card { display: flex; flex-direction: column; min-width: 0; min-height: 405px; padding: 28px 29px 30px; border: 1px solid #e4e4e0; border-radius: 14px; background: var(--spp-card); }
.spp-network-top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; padding-bottom: 26px; border-bottom: 1px solid var(--spp-line); color: var(--spp-accent); font-family: var(--font-ibm-plex-mono, monospace); font-size: 11px; line-height: 1.4; text-transform: uppercase; letter-spacing: .04em; }
.spp-network-top span:last-child { text-align: right; }
.spp-network-mark { display: flex; align-items: center; height: 112px; padding: 18px 0; }
.spp-network-mark img { display: block; width: min(100%, 230px); max-height: 76px; object-fit: contain; object-position: left center; }
.spp-network-card-deployflow .spp-network-mark img { width: min(100%, 240px); }
.spp-network-card-jada .spp-network-mark img { width: min(100%, 205px); }
.spp-network-card h3 { margin: 4px 0 0; font-size: clamp(25px, 2.3vw, 31px); font-weight: 400; line-height: 1.15; }
.spp-network-card > p { margin: 15px 0 28px; color: var(--spp-muted); font-size: 15px; line-height: 1.58; }
.spp-network-card .spp-text-link { margin-top: auto; align-self: flex-start; }

.spp-closing { padding: 84px 0 94px; background: var(--spp-surface); }
.spp-closing-inner { display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.spp-contact-link { display: inline-flex; flex: none; align-items: center; gap: 12px; padding: 14px 18px; border-radius: 8px; background: var(--spp-ink); color: #fff; font-size: 15px; text-decoration: none; transition: background .2s ease, transform .2s ease; }
.spp-contact-link:hover { background: #006ca9; transform: translateY(-2px); }
.spp-page a:focus-visible { outline: 3px solid var(--spp-accent); outline-offset: 4px; }

@media (max-width: 900px) {
  .spp-section { padding: 80px 0; }
  .spp-network-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .spp-network-card { min-height: 370px; }
}
@media (max-width: 700px) {
  .spp-container { width: min(100% - 36px, 1160px); }
  .spp-hero { min-height: 600px; }
  .spp-hero-content { width: min(100% - 36px, 880px); padding: 130px 0 75px; }
  .spp-hero h1 { font-size: clamp(40px, 10vw, 58px); }
  .spp-hero-intro { font-size: 16px; }
  .spp-featured-grid, .spp-network-grid { grid-template-columns: 1fr; }
  .spp-featured-mark { height: 210px; padding: 38px; }
  .spp-featured-copy { padding: 28px 26px 32px; }
  .spp-card-description { min-height: 0; }
  .spp-network-card { min-height: 340px; }
  .spp-closing-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 390px) {
  .spp-hero h1 { font-size: 39px; }
  .spp-hero-link { margin-top: 24px; }
  .spp-network-card { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .spp-page a { transition: none; }
  .spp-page a:hover { transform: none; }
}
