/* Same-platform partnership details, sharing the signed-in blue glass palette. */
.home-partnership-page {
  --hp-line: var(--forge-line, var(--border));
  --hp-ink: var(--text);
  --hp-muted: var(--text-secondary, var(--muted));
  --hp-accent: var(--accent);
  --hp-soft: var(--forge-soft, var(--accent-soft));
  max-width: 940px; margin-inline: auto; min-width: 0; color: var(--hp-ink);
}
.home-partnership-page svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.hp-nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 19px; }
body.ui-polished .hp-back { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 10px 14px 10px 10px; border: 1px solid var(--hp-line); border-radius: 14px; background: var(--hp-soft); box-shadow: var(--ui-control-shadow); color: var(--hp-ink); font-size: 13px; font-weight: 550; }
.hp-back svg { width: 23px; height: 23px; }
.hp-nav-caption { color: var(--muted); font-size: 11px; line-height: 1.5; text-align: right; }
.hp-hero { position: relative; isolation: isolate; overflow: hidden; border: 1px solid var(--hp-line); border-radius: 26px; padding: 26px 24px 19px; background: var(--forge-panel, var(--surface)); box-shadow: var(--forge-shadow, var(--ui-shadow)); }
.hp-hero::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 100% 0, rgba(105, 191, 255, .18), transparent 65%); pointer-events: none; }
.hp-hero-copy { position: relative; z-index: 1; }
.hp-eyebrow { display: inline-block; color: var(--hp-accent); font-size: 9px; line-height: 1.5; font-weight: 550; letter-spacing: .16em; }
.hp-hero h1 { margin: 17px 0 15px; font-size: clamp(24px, 6.1vw, 32px); line-height: 1.46; letter-spacing: -.045em; font-weight: 650; }
.hp-hero h1 span { display: block; }
.hp-hero p { margin: 0; max-width: 570px; color: var(--hp-muted); font-size: 12px; line-height: 1.95; }
.hp-hero-art { display: block; position: relative; width: 232px; max-width: 80%; height: auto; margin: -6px auto -8px; pointer-events: none; }
.hp-principles { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 16px; border-top: 1px solid var(--hp-line); }
.hp-principles span { display: flex; align-items: center; gap: 6px; color: var(--hp-muted); font-size: 11px; white-space: nowrap; }
.hp-principles i { width: 4px; height: 4px; border-radius: 50%; background: var(--hp-accent); opacity: .8; }
.hp-section { margin: 29px 0 0; }
.hp-section-head { display: flex; align-items: flex-start; gap: 11px; margin: 0 1px 17px; }
.hp-section-index { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; width: 30px; height: 31px; border-radius: 10px; background: var(--hp-soft); color: var(--hp-accent); font-size: 11px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hp-section-head h2 { margin: 1px 0 5px; color: var(--hp-ink); font-size: 16px; font-weight: 600; line-height: 1.5; letter-spacing: -.02em; }
.hp-section-head p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.6; }
.hp-directions { display: grid; gap: 11px; }
.hp-direction { display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: 19px 18px; border: 1px solid var(--hp-line); border-radius: 20px; background: var(--forge-panel, var(--surface)); box-shadow: var(--forge-shadow, var(--ui-shadow)); }
.hp-direction-icon { display: grid; place-items: center; flex: 0 0 38px; height: 39px; color: var(--hp-accent); border: 1px solid var(--hp-line); border-radius: 12px; background: var(--hp-soft); }
.hp-direction div { min-width: 0; }
.hp-direction h3, .hp-process h3 { margin: 1px 0 7px; color: var(--hp-ink); font-size: 13px; font-weight: 600; line-height: 1.5; }
.hp-direction p, .hp-process p { margin: 0; color: var(--hp-muted); font-size: 11.5px; line-height: 1.85; }
.hp-process { list-style: none; padding: 0 6px; margin: 0; }
.hp-process li { position: relative; display: flex; align-items: flex-start; gap: 16px; min-width: 0; padding: 1px 0 23px; }
.hp-process li:not(:last-child)::before { content: ''; position: absolute; width: 1px; top: 36px; bottom: 5px; left: 16px; background: var(--hp-line); }
.hp-process li:last-child { padding-bottom: 0; }
.hp-step-number { display: grid; place-items: center; flex: 0 0 33px; height: 33px; border: 1px solid var(--hp-line); border-radius: 50%; background: var(--surface-2); color: var(--hp-accent); font-size: 10px; font-weight: 600; font-variant-numeric: tabular-nums; }
.hp-process li > div { min-width: 0; padding-top: 3px; }
.hp-contact { margin-top: 30px; padding: 20px 18px 17px; border: 1px solid var(--hp-line); border-radius: 22px; background: var(--forge-panel, var(--surface)); box-shadow: var(--forge-shadow, var(--ui-shadow)); }
.hp-contact-heading { display: flex; align-items: center; gap: 11px; padding-bottom: 17px; border-bottom: 1px solid var(--hp-line); }
.hp-contact-icon { display: grid; place-items: center; flex: 0 0 35px; height: 36px; border-radius: 11px; background: var(--hp-soft); color: var(--hp-accent); }
.hp-contact-heading > div { flex: 1; min-width: 0; }
.hp-contact-heading h2 { margin: 0 0 5px; font-size: 14px; line-height: 1.5; font-weight: 600; }
.hp-contact-heading p { margin: 0; color: var(--muted); font-size: 10.5px; line-height: 1.5; }
.hp-contact-badge { flex-shrink: 0; padding: 5px 8px; border: 1px solid var(--hp-line); border-radius: 8px; font-size: 9px; line-height: 1.5; color: var(--muted); background: var(--hp-soft); }
.hp-contact-list { margin: 4px 0 0; }
.hp-contact-list > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 15px 0; }
.hp-contact-list > div + div { border-top: 1px solid var(--hp-line); }
.hp-contact-list dt { color: var(--hp-muted); font-size: 11.5px; }
.hp-contact-list dd { margin: 0; color: var(--muted); font-size: 11px; }
.hp-contact-note { margin: 1px 0 0; padding-top: 12px; border-top: 1px solid var(--hp-line); color: var(--muted); font-size: 10px; line-height: 1.8; }
.hp-boundary { display: flex; align-items: flex-start; gap: 8px; margin: 17px 4px 20px; color: var(--muted); }
.hp-boundary svg { width: 15px; height: 15px; margin-top: 2px; opacity: .8; }
.hp-boundary p { margin: 0; font-size: 9.5px; line-height: 1.85; }
body.ui-polished .hp-related { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; min-height: 64px; padding: 14px 17px; border: 1px solid var(--hp-line); border-radius: 17px; background: var(--hp-soft); color: var(--hp-accent); text-align: left; box-shadow: var(--ui-control-shadow); }
.hp-related small { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9.5px; }
.hp-related b { display: block; font-size: 13px; font-weight: 550; }
body.ui-polished .home-partnership-page button:focus-visible { outline: 2px solid var(--hp-accent); outline-offset: 3px; }
:root[data-theme="light"] .hp-hero { background: linear-gradient(130deg, #fcfeff, #edf6ff 58%, #dceeff); }
:root[data-theme="light"] .hp-hero-art { filter: saturate(1.1) contrast(1.035); }
@media (max-width: 350px) {
  .hp-hero { padding: 23px 18px 18px; }
  .hp-hero h1 { font-size: 23px; }
  .hp-hero-art { width: 208px; }
  .hp-principles { gap: 7px; }
  .hp-principles span { gap: 5px; font-size: 10px; }
  .hp-direction { padding: 17px 15px; gap: 11px; }
  .hp-direction p, .hp-process p { font-size: 11px; }
  .hp-contact { padding: 18px 15px 15px; }
  .hp-contact-heading { gap: 8px; }
  .hp-contact-heading h2 { font-size: 13px; }
}
@media (min-width: 700px) {
  .hp-nav { margin-bottom: 24px; }
  .hp-hero { min-height: 310px; padding: 37px 35px 24px; }
  .hp-hero-copy { max-width: 60%; }
  .hp-hero h1 { font-size: 34px; }
  .hp-hero p { font-size: 13px; }
  .hp-hero-art { position: absolute; right: 22px; top: 20px; width: 310px; max-width: 36%; margin: 0; }
  .hp-principles { max-width: 440px; margin-top: 30px; }
  .hp-section { margin-top: 35px; }
  .hp-directions { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; }
  .hp-direction { flex-direction: column; gap: 15px; padding: 23px 20px; }
  .hp-direction-icon { width: 42px; min-height: 42px; }
  .hp-direction h3 { font-size: 14px; }
  .hp-direction p { font-size: 12px; }
  .hp-process { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 25px; padding: 0 2px; }
  .hp-process li { padding-bottom: 0; gap: 12px; }
  .hp-process li:not(:last-child)::before { display: none; }
  .hp-contact { margin-top: 33px; padding: 24px; }
  .hp-contact-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 32px; }
  .hp-contact-list > div + div { border-top: 0; }
}
