/* /partners — the referral program for accounting firms (mockup M7).
   Rides on static/css/how-it-works.css (the page reuses its .hiw shell,
   cards, dark band, FAQ accordion and final CTA); only the pt- rules the
   mockup added live here. Scoped under .pt so the file is inert elsewhere. */

.pt .pt-ic-x { stroke-width: 2.2; }
.pt .pt-ic-ok { stroke-width: 2.4; }

.pt-hero .hiw-h1 { font-size: clamp(34px, 4.4vw, 54px); }
.pt-hero .hiw-h1 em { display: block; }

/* the worked example under the hero */
.pt-math { margin: 30px auto 0; max-width: 940px; padding: 18px 18px 14px; }
.pt-math-cap { text-align: left; }
.pt-math ol { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 768px) { .pt-math ol { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; } }
.pt-math li { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px; border-radius: 12px; background: var(--wash); text-align: left; position: relative; }
@media (min-width: 768px) {
  .pt-math li { border-radius: 0; background: transparent; border-left: 1px solid var(--rule); }
  .pt-math li:first-child { border-left: 0; }
}
.pt-math b { font-size: 30px; line-height: 1.1; font-weight: 700; letter-spacing: -.03em; color: var(--accent); font-variant-numeric: tabular-nums; }
.pt-math li:nth-child(2) b { color: var(--live); }
.pt-math span { font-size: 13.5px; color: var(--ink2); }
.pt-math p.hiw-xs { margin-top: 10px; text-align: left; padding: 0 2px; }

/* how it works */
.pt-steps { display: grid; gap: 10px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 768px) { .pt-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pt-steps li { display: flex; flex-direction: column; gap: 8px; padding: 18px; }
.pt-steps .pt-n { display: inline-flex; align-items: center; gap: 10px; }
.pt-steps .pt-n i { font-style: normal; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: var(--accent); color: #fff; font-weight: 700; font-size: 14px; }
.pt-steps b { font-size: 17px; font-weight: 600; color: var(--accent); }
.pt-steps span { font-size: 14.5px; color: var(--ink2); }

/* who it's for */
.pt-who { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 900px) { .pt-who { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pt-who .hiw-card { padding: 20px; }
.pt-who h3 { display: flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 600; color: var(--accent); }
.pt-who ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.pt-who li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--ink2); }
.pt-who li svg { margin-top: 3px; }
.pt-yes h3 .hiw-tile { background: #E6F4EE; color: var(--live); }
.pt-yes li svg { color: var(--live); }
.pt-no h3 .hiw-tile { background: #FBEDEF; color: #B23A4C; }
.pt-no li svg { color: #B23A4C; }
.pt-who .pt-note { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule); font-size: 13.5px; color: var(--ink3); }

/* the terms band */
.pt-terms-g { position: relative; z-index: 1; display: grid; gap: 10px; grid-template-columns: 1fr; margin: 0; padding: 0; list-style: none; }
@media (min-width: 640px) { .pt-terms-g { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .pt-terms-g { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.pt-terms-g li { display: flex; flex-direction: column; gap: 8px; padding: 16px; border-radius: 12px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.pt-terms-g .hiw-tile { width: 34px; height: 34px; background: rgba(255,255,255,.12); color: #fff; }
.pt-terms-g b { font-size: 16px; font-weight: 600; }
.pt-terms-g span { font-size: 14px; line-height: 1.5; color: rgba(255,255,255,.78); }
.pt-agreement { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 600; color: #fff; }
.pt-agreement .hiw-ic-s { color: #9CC6E8; }

/* apply */
.pt-apply { display: grid; gap: 20px; align-items: start; }
@media (min-width: 900px) { .pt-apply { grid-template-columns: 300px 1fr; gap: 48px; } }
.pt-apply-sec { scroll-margin-top: 72px; }
.pt-apply-lead { margin-top: 4px; }
.pt-form { padding: 22px; display: grid; gap: 14px; grid-template-columns: 1fr; margin: 0; }
@media (min-width: 640px) { .pt-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.pt-f { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pt-f.wide { grid-column: 1 / -1; }
.pt-f label { font-size: 13.5px; font-weight: 600; color: var(--accent); }
.pt-in { height: 46px; width: 100%; padding: 0 14px; border-radius: 10px; border: 1px solid var(--rule2); background: #fff; font: inherit; font-size: 15px; color: var(--ink); }
.pt-in::placeholder { color: var(--ink4); opacity: 1; }
.pt-in:focus { outline: 2px solid var(--blue); outline-offset: 1px; border-color: var(--blue); }
.pt-f.num .pt-in { max-width: 200px; }
.pt-f.has-err .pt-in { border-color: #B23A4C; }
.pt-err { font-size: 13px; color: #B23A4C; }
.pt-form-msg { grid-column: 1 / -1; padding: 10px 12px; border-radius: 10px; font-size: 14px; color: #7A2E0A; background: #FFF6EC; border: 1px solid #F3D3B0; }
.pt-form-foot { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; padding-top: 4px; }
.pt-form-foot .hiw-small { margin: 0; }
.pt-form-foot button { border: 0; cursor: pointer; font: inherit; font-size: 16px; font-weight: 600; }
/* the honeypot: out of sight and out of the tab order, but still in the form */
.pt-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }
.pt-thanks { display: flex; gap: 14px; align-items: flex-start; padding: 22px; }
.pt-thanks .hiw-tile { background: #E6F4EE; color: var(--live); }
.pt-thanks b { display: block; font-size: 17px; font-weight: 600; color: var(--accent); }
.pt-thanks p { margin-top: 6px; font-size: 15px; color: var(--ink2); }

.pt-final-wrap .hiw-final { margin-top: 0; }

@media (max-width: 767px) {
  .pt-hero .hiw-h1 { font-size: 30px; }
  .pt-hero .hiw-lead { font-size: 16px; }
  .pt-math { margin-top: 22px; padding: 14px; }
  .pt-math ol { gap: 6px; }
  .pt-math li { flex-direction: row; align-items: baseline; gap: 12px; padding: 10px 12px; }
  .pt-math b { font-size: 22px; min-width: 104px; flex: none; }
  .pt-math span { font-size: 13px; }
}
