/* Partner page. Every colour and font comes from site.css tokens. */
.pt section { padding: 0; }
.pt .pt-hero { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: 0 0 40px 40px; padding: 136px 0 72px; }
.pt-hero .glow { width: 900px; height: 900px; inset-inline-end: -320px; top: -520px; }
.pt-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 48px; align-items: center; }
.pt-eyebrow { font: 500 13.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--volt); }
[dir="rtl"] .pt-eyebrow { font-family: var(--font); letter-spacing: 0; text-transform: none; font-size: 15px; }
.pt-hero h1 { margin: 16px 0 20px; font-size: clamp(38px, 4.7vw, 66px); line-height: .98; letter-spacing: -.045em; font-weight: 700; text-wrap: balance; }
[dir="rtl"] .pt-hero h1 { letter-spacing: 0; line-height: 1.2; font-size: clamp(38px, 5.2vw, 70px); }
.pt-hero h1 em { font-style: normal; color: var(--volt); white-space: nowrap; }
.pt-hero-lead { font-size: 19px; line-height: 1.5; color: var(--muted-dark); max-width: 520px; }
.pt-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; }
.pt-cta small { font-size: 14px; color: var(--muted-dark); }
.pt-who { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; padding: 0; list-style: none; }
.pt-who li { font-size: 13.5px; padding: 6px 12px; border-radius: 999px; background: rgba(255,255,255,.06); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); color: #dfe3dc; }

/* The partner's own pack page, as they will see it. */
.pt-pack { background: var(--paper); color: var(--text); border-radius: 24px; padding: 22px; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.08); transform: rotate(-1.2deg); }
[dir="rtl"] .pt-pack { transform: rotate(1.2deg); }
.pt-pack-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.pt-pack-top b { font-size: 17px; }
.pt-pack-top span { font-size: 13px; color: var(--muted); }
.pt-lic { display: flex; align-items: center; gap: 10px; padding: 12px 14px; background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-top: 8px; }
.pt-lic-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 1px; }
.pt-lic code { font: 600 14px var(--mono); letter-spacing: .03em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pt-lic small { font-size: 12.5px; color: var(--muted); }
.pt-lic.is-used { opacity: .55; }
.pt-lic.is-used code { text-decoration: line-through; }
.pt-send { flex: none; display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 13px; border-radius: 11px; background: var(--volt); color: var(--ink); font: 600 13.5px var(--font); box-shadow: inset 0 -2px 0 rgba(11,13,12,.14); }
.pt-send svg, .pt-step svg { width: 16px; height: 16px; flex: none; }

/* Sections */
.pt .pt-sec { padding: 72px 0; }
.pt .pt-sec + .pt-sec { padding-top: 0; }
.pt-h2 { font-size: clamp(30px, 3.8vw, 46px); line-height: 1.04; letter-spacing: -.04em; font-weight: 650; text-wrap: balance; max-width: 16ch; }
[dir="rtl"] .pt-h2 { letter-spacing: 0; line-height: 1.25; max-width: 20ch; }
.pt-sub { margin-top: 12px; font-size: 18px; color: var(--muted); max-width: 46ch; }

/* Money */
.pt-money { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 20px; margin-top: 32px; }
.pt-table { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 8px 24px; }
.pt-row { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 10px; align-items: baseline; padding: 16px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.pt-table { display: flex; flex-direction: column; justify-content: center; }
.pt-row:first-child { border-top: 0; font-size: 13px; color: var(--muted); padding: 12px 0 10px; }
.pt-row b { font-size: 18px; }
.pt-row span { font-size: 17px; }
.pt-row .pt-keep { font-weight: 700; color: var(--volt-text); font-size: 19px; }
.pt-calc { background: var(--ink); color: #fff; border-radius: 24px; padding: 24px; display: flex; flex-direction: column; gap: 14px; }
.pt-calc p { font-size: 15px; color: var(--muted-dark); }
.pt-seg { display: flex; gap: 8px; }
.pt-seg button { flex: 1; height: 44px; border: 0; border-radius: 12px; background: rgba(255,255,255,.07); color: #fff; font: 600 16px var(--font); font-variant-numeric: tabular-nums; cursor: pointer; transition: background .15s, color .15s, transform .15s var(--ease); }
.pt-seg button:hover { background: rgba(255,255,255,.12); }
.pt-seg button:active { transform: scale(.97); }
.pt-seg button[aria-pressed="true"] { background: var(--volt); color: var(--ink); }
.pt-total { font-size: clamp(54px, 7vw, 84px); line-height: 1; font-weight: 700; letter-spacing: -.04em; color: var(--volt); font-variant-numeric: tabular-nums; }
.pt-total small { font-size: 18px; font-weight: 500; letter-spacing: 0; color: var(--muted-dark); margin-inline-start: 8px; }
.pt-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; padding: 0; list-style: none; font-size: 15px; color: var(--text-2); }
.pt-facts li::before { content: "✓"; color: var(--volt-text); font-weight: 700; margin-inline-end: 7px; }

/* Steps, each shown */
.pt-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 32px; }
.pt-step { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; gap: 14px; }
.pt-step-shot { min-height: 150px; border-radius: 16px; background: var(--paper-2); padding: 14px; display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.pt-step h3 { font-size: 19px; letter-spacing: -.01em; }
[dir="rtl"] .pt-step h3 { letter-spacing: 0; }
.pt-step p { font-size: 15.5px; color: var(--text-2); }
.pt-step-n { font: 600 13px var(--mono); color: var(--volt-text); }
.pt-bubble { align-self: flex-end; max-width: 92%; background: #d9fdd3; color: #111b21; border-radius: 12px 12px 4px 12px; padding: 9px 11px; font-size: 13.5px; line-height: 1.4; }
[dir="rtl"] .pt-bubble { border-radius: 12px 12px 12px 4px; }
.pt-bubble a { color: #027eb5; word-break: break-all; }
.pt-bubble time { display: block; text-align: end; font-size: 11px; color: #667781; margin-top: 2px; }
.pt-active { background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 14px; }
.pt-active b { display: flex; align-items: center; gap: 8px; font-size: 16px; }
.pt-active b::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--volt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%230b0d0c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/20px; }
.pt-active span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--muted); }

/* Rules + close */
.pt-rules { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 40px; align-items: start; background: var(--paper-2); border-radius: 28px; padding: 36px; }
.pt-rules ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; font-size: 15.5px; color: var(--text-2); }
.pt-rules li b { display: block; color: var(--text); margin-bottom: 2px; }
.pt-close { background: var(--ink); color: #fff; border-radius: 32px; padding: 48px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; position: relative; overflow: hidden; }
.pt-close .glow { width: 620px; height: 620px; inset-inline-end: -200px; top: -360px; }
.pt-close h2 { position: relative; font-size: clamp(30px, 4vw, 52px); line-height: 1.02; letter-spacing: -.04em; font-weight: 700; max-width: 14ch; }
[dir="rtl"] .pt-close h2 { letter-spacing: 0; line-height: 1.25; max-width: 18ch; }
.pt-close h2 em { font-style: normal; color: var(--volt); }
.pt-close > div:not(.glow) { position: relative; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.pt-close small { font-size: 14px; color: var(--muted-dark); max-width: 34ch; }
.pt-fine { margin-top: 20px; font-size: 13.5px; color: var(--muted); max-width: 90ch; }

@media (max-width: 900px) {
  .pt .pt-hero { padding: 112px 0 48px; border-radius: 0 0 28px 28px; }
  .pt-hero-grid, .pt-money, .pt-rules { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .pt-steps { grid-template-columns: minmax(0, 1fr); }
  .pt-pack, [dir="rtl"] .pt-pack { transform: none; }
  .pt .pt-sec { padding: 52px 0; }
  .pt-rules { padding: 24px; }
  .pt-rules ul { grid-template-columns: 1fr; }
  .pt-close { padding: 28px; border-radius: 24px; }
  .pt-table { padding: 4px 16px; }
  .pt-row { grid-template-columns: 1.1fr 1fr 1fr 1fr; gap: 6px; }
  .pt-row b { font-size: 16px; } .pt-row span { font-size: 15px; } .pt-row .pt-keep { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .pt-seg button { transition: none; } }
