/* =============================================================================
   Partnerships page + Partner brochure
   Uses the site tokens from app.css (brand, ink, hairline, radius, fonts).
   One typeface only: General Sans (var(--font-sans)). Numbers use tabular figures.
   Prefix: pt- (partnerships, shared form bits) and br- (brochure document).
   ============================================================================= */

/* ---- form ------------------------------------------------------------------ */
.pt-field { display: flex; flex-direction: column; gap: 0.375rem; }
.pt-field label { font-size: 15px; font-weight: 500; color: var(--color-ink); }
.pt-input {
  font: inherit; font-size: 15.5px; color: var(--color-ink); background: #fff;
  border: 1px solid var(--color-hairline); border-radius: 12px; padding: 12px 14px;
  width: 100%; min-height: 48px; transition: border-color 0.15s, box-shadow 0.15s;
}
.pt-input:hover { border-color: #c8cadb; }
.pt-input:focus { outline: none; border-color: var(--color-brand); box-shadow: 0 0 0 3px var(--color-brand-tint); }
.pt-input[aria-invalid="true"] { border-color: var(--color-bad); }
.pt-input::placeholder { color: #8f95ab; }
.pt-opt {
  display: flex; align-items: flex-start; gap: 0.75rem; background: #fff;
  border: 1px solid var(--color-hairline); border-radius: 14px; padding: 0.8rem 0.95rem;
  cursor: pointer; transition: border-color 0.15s, background-color 0.15s;
}
.pt-opt:hover { border-color: #c8cadb; }
.pt-opt input { accent-color: var(--color-brand); margin: 3px 0 0; width: 16px; height: 16px; flex: none; }
.pt-opt b { display: block; font-size: 15px; font-weight: 600; color: var(--color-ink); }
.pt-opt small { display: block; font-size: 13.5px; color: var(--color-ink-soft); line-height: 1.45; }
.pt-opt:has(input:checked) { border-color: var(--color-brand); background: var(--color-brand-wash); }
.pt-hp { position: absolute !important; inset-inline-start: -9999px !important; width: 1px; height: 1px; overflow: hidden; }
.pt-err { font-size: 14px; color: var(--color-bad); font-weight: 500; }
.pt-turnstile { min-height: 0; }
.pt-turnstile:empty { display: none; }
.pt-done {
  border-radius: 14px; background: var(--color-brand-wash); border: 1px solid var(--color-brand-tint);
  color: var(--color-brand-deep); padding: 14px 16px; font-size: 15px; font-weight: 500;
}
.pt-done a { color: var(--color-brand); text-decoration: underline; }

/* ---- small labels (sans, never mono) --------------------------------------- */
.pt-lab { display: block; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-brand-deep); }

/* ---- lists ------------------------------------------------------------------ */
.pt-x {
  width: 24px; height: 24px; border-radius: 50%; background: #fbeff1; color: #b8334a; flex: none;
  display: grid; place-items: center; font-size: 14px; font-weight: 600; margin-top: 2px;
}
.pt-steps { counter-reset: s; display: grid; gap: 0.85rem; margin: 0; padding: 0; list-style: none; }
.pt-steps li { position: relative; padding-inline-start: 2rem; counter-increment: s; font-size: 14.5px; color: var(--color-ink-soft); }
.pt-steps li b { display: block; color: var(--color-ink); font-weight: 600; font-size: 15px; }
.pt-steps li::before {
  content: counter(s); position: absolute; inset-inline-start: 0; top: 1px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--color-brand-wash); color: var(--color-brand-deep);
  font-size: 12px; font-weight: 600; display: grid; place-items: center;
}
.pt-dots { list-style: none; padding: 0; display: grid; gap: 0.5rem; }
.pt-dots li { position: relative; padding-inline-start: 1.15rem; font-size: 14.5px; color: var(--color-ink-soft); }
.pt-dots li::before { content: ""; position: absolute; inset-inline-start: 0; top: 0.6em; width: 6px; height: 6px; border-radius: 50%; background: var(--color-brand-lift); }
.pt-rings { list-style: none; padding: 0; display: grid; gap: 0.6rem; }
.pt-rings li { position: relative; padding-inline-start: 1.7rem; font-size: 16px; color: var(--color-ink-soft); }
.pt-rings li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0.35em; width: 13px; height: 13px;
  border-radius: 50%; background: var(--color-brand-wash); border: 2px solid var(--color-brand);
}

/* ---- image cards ----------------------------------------------------------- */
.pt-img { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-page-cool); }
.pt-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pt-img-chip {
  position: absolute; display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border: 1px solid rgba(16, 18, 35, 0.08);
  border-radius: 999px; padding: 0.5rem 0.85rem; font-size: 13px; font-weight: 600; color: var(--color-ink);
  box-shadow: 0 10px 30px -14px rgba(16, 18, 35, 0.35); white-space: nowrap;
}
.pt-img-chip i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; flex: none; }
.pt-track-img { aspect-ratio: 16 / 10; }
.pt-hero-img { aspect-ratio: 4 / 3; }
.pt-lift { box-shadow: 0 24px 60px -24px rgba(16, 18, 35, 0.25); border-color: var(--color-brand-tint) !important; }

/* ---- brochure document ----------------------------------------------------- */
.br-page { background: var(--color-page-cool); }
.br-doc { max-width: 920px; margin: 0 auto; background: #fff; border-inline: 1px solid var(--color-hairline); min-height: 100vh; }
@media (max-width: 920px) { .br-doc { border-inline: 0; } }
.br-pad { padding: clamp(26px, 4.5vw, 48px); }
.br-cover { position: relative; isolation: isolate; overflow: hidden; background: var(--color-deep); color: #c3c8dc; }
.br-cover-img { position: absolute; inset: 0; z-index: -2; }
.br-cover-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.6; }
.br-cover-veil { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(15, 18, 34, 0.45) 0%, rgba(15, 18, 34, 0.8) 50%, rgba(15, 18, 34, 0.97) 100%); }
.br-meta { display: flex; flex-wrap: wrap; gap: 10px 28px; padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 14px; color: #a9b0c8; }
.br-meta b { display: block; color: #fff; font-weight: 600; font-size: 15px; margin-bottom: 2px; }
.br-conf { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: #a9b0c8; }
.br-sec { border-top: 1px solid var(--color-hairline); }
.br-num { display: flex; align-items: baseline; gap: 12px; margin-bottom: 14px; }
.br-num i { font-style: normal; font-size: 12.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--color-brand-deep); background: var(--color-brand-wash); border-radius: 8px; padding: 3px 9px; }
.br-h2 { font-size: clamp(1.4rem, 2.3vw, 1.8rem); line-height: 1.15; }
.br-lede { font-size: 17px; line-height: 1.6; color: var(--color-ink-soft); }
.br-box { background: var(--color-page-cool); border: 1px solid var(--color-hairline); border-radius: 16px; padding: 18px 20px; }
.br-box h3 { font-size: 17px; line-height: 1.3; margin-bottom: 7px; }
.br-box p { font-size: 15px; color: var(--color-ink-soft); }
.br-box p + p { margin-top: 8px; }
.br-box strong, .br-box b { color: var(--color-ink); font-weight: 600; }
.br-box .pt-dots { margin-top: 9px; }
.br-box .pt-dots li { font-size: 15px; }
.br-table { width: 100%; border-collapse: collapse; margin-top: 20px; font-size: 15px; }
.br-table th { text-align: start; font-size: 11.5px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink-soft); padding: 0 14px 10px 0; border-bottom: 1px solid var(--color-hairline); }
.br-table td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--color-hairline-soft); vertical-align: top; color: var(--color-ink-soft); }
.br-table tr:last-child td { border-bottom: 0; }
.br-table tr.hi td { background: #fafaff; }
.br-tier { font-weight: 600; color: var(--color-ink); white-space: nowrap; }
.br-gate { font-weight: 600; color: var(--color-ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.br-tier em, .br-gate em { display: block; font-style: normal; font-size: 13px; font-weight: 400; color: var(--color-ink-soft); margin-top: 2px; white-space: normal; }
.br-pct { font-size: 24px; font-weight: 600; color: var(--color-brand); letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.br-note { margin-top: 18px; background: #e7f5ef; border-inline-start: 3px solid #0b7a4e; border-radius: 0 12px 12px 0; padding: 15px 18px; }
.br-note b { color: #0b7a4e; font-weight: 600; font-size: 15.5px; }
.br-note p { font-size: 15px; color: var(--color-ink); margin-top: 5px; }
.br-warn { margin-top: 18px; background: var(--color-brand-wash); border: 1px solid var(--color-brand-tint); border-radius: 12px; padding: 15px 18px; font-size: 15px; color: var(--color-brand-deep); }
.br-warn b { font-weight: 600; }
.br-steps { margin: 16px 0 0; padding-inline-start: 20px; display: grid; gap: 9px; font-size: 16px; color: var(--color-ink-soft); }
.br-steps li::marker { color: var(--color-brand); font-weight: 600; }
.br-cta { background: var(--color-deep); color: #c3c8dc; }
.br-cta h2 { color: #fff; }
.br-cta a { color: #fff; font-weight: 600; }
.br-fine { margin-top: 20px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 13.5px; line-height: 1.6; color: #a9b0c8; }
.br-dl { position: fixed; top: 16px; inset-inline-end: 16px; z-index: 60; }
@media (max-width: 700px) { .br-dl { top: auto; bottom: 14px; inset-inline-end: 14px; } }
.br-figure { overflow: hidden; border-radius: 16px; border: 1px solid var(--color-hairline); background: var(--color-page-cool); }
.br-figure img { width: 100%; height: 100%; object-fit: cover; display: block; }

@page { size: A4; margin: 11mm 11mm 12mm; }
@media print {
  html, body { background: #fff !important; font-size: 10.5pt; }
  .br-page { background: #fff; }
  .br-doc { max-width: none; border: 0; min-height: 0; }
  .br-pad { padding: 22px 26px; }
  .br-cover { padding: 30px 26px 26px; }
  .br-cover .mb-12 { margin-bottom: 26px !important; }
  .br-cover h1 { font-size: 30pt; }
  .br-h2 { font-size: 16pt; }
  .br-lede { font-size: 11pt; }
  .br-box p, .br-box .pt-dots li, .br-table, .br-warn, .br-note p, .pt-rings li, .br-steps { font-size: 10.5pt; }
  .br-box { padding: 12px 14px; border-radius: 10px; }
  .br-table td { padding: 8px 10px 8px 0; }
  .br-pct { font-size: 15pt; }
  .br-figure { border-radius: 10px; }
  .br-num { margin-bottom: 8px; }
  .br-num i, .br-h2 { break-after: avoid; }
  .br-box, .br-note, .br-warn, .br-figure, .br-table tr, .br-table thead { break-inside: avoid; }
  .br-cover, .br-cta { break-inside: avoid; }
  .br-cta { break-before: auto; }
  .br-cover, .br-cta, .br-num i, .br-warn, .br-note, .br-box, .pt-x, .eyebrow { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .br-dl { display: none !important; }
  a[href^="http"]::after, a[href^="mailto"]::after { content: ""; }
}
