/* Build S49: the partner programme pages, /partners and /partners/me (server/views/partners*.html).
   base.css gives the tokens, header, footer, buttons and inputs; this file adds the page's own parts only. */

.page-partners { background: var(--ground); color: var(--text); }
.page-partners .site-nav { gap: 20px; }
.page-partners .site-nav .btn { min-height: 40px; padding: 0 18px; font-size: 15px; }

.pt-hero { padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px); }
.pt-hero .eyebrow { margin-bottom: 14px; }
.pt-title { font-size: clamp(36px, 5.4vw, 68px); max-width: 900px; }
.pt-lede { margin-top: 20px; max-width: 720px; }
.pt-actions { margin-top: 28px; }

.page-partners .h-section { margin-bottom: 22px; }
.pt-text { max-width: 720px; font-size: 17px; line-height: 1.55; margin: 0 0 14px; }
.pt-small { font-size: 15px; color: var(--text-3); }
.pt-list, .pt-steps { max-width: 720px; margin: 8px 0 0; padding-left: 22px; font-size: 17px; line-height: 1.55; }
.pt-list li, .pt-steps li { margin: 8px 0; }
.pt-steps li strong { display: block; }

.pt-script { margin: 8px 0 0; max-width: 760px; padding: 20px 24px; border-left: 4px solid var(--accent); background: var(--paper); border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-size: 17px; line-height: 1.6; }

.pt-faq { margin: 0; max-width: 760px; }
.pt-faq dt { font-weight: 600; margin-top: 18px; font-size: 17px; }
.pt-faq dd { margin: 6px 0 0; font-size: 16px; line-height: 1.55; }

.pt-form { display: grid; gap: 16px; max-width: 560px; margin-top: 8px; }
.pt-field { display: grid; gap: 6px; }
.pt-field label { font-weight: 600; font-size: 15px; }
.pt-form .input, .pt-form .textarea { width: 100%; }
.pt-form .btn { justify-self: start; }
.pt-form-msg { padding: 12px 16px; border: var(--border); border-radius: var(--radius-sm); background: var(--paper); font-size: 15px; }
.pt-form-msg[data-tone="error"] { border-color: var(--danger); }
/* The honeypot: off screen, never display:none (some bots skip hidden fields). */
.pt-hp { position: absolute; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* /partners/me */
.pt-me { margin-top: 8px; }
.pt-h3 { font-size: 20px; font-weight: 700; margin: 28px 0 10px; }
.pt-link-row { display: flex; flex-wrap: wrap; gap: 10px; max-width: 640px; }
.pt-link-row .pt-link { flex: 1 1 260px; min-width: 0; font-family: var(--font-mono); font-size: 14px; }
.pt-copied { display: block; min-height: 22px; margin-top: 6px; font-size: 14px; color: var(--text-3); }
.pt-money { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; max-width: 640px; margin: 0; }
.pt-money div { padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--paper); }
.pt-money dt { font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); }
.pt-money dd { margin: 4px 0 0; font-size: 26px; font-weight: 800; }
.pt-table-wrap { max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.pt-table { width: 100%; min-width: 420px; border-collapse: collapse; font-size: 15px; }
.pt-table th, .pt-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.pt-table thead th { font-family: var(--font-mono); font-size: 13px; }

/* Build S100 (Matt, 7 Nov: "a call out for scanning the letter"): the note at the top for an agency that came from our
   letter or email (routes/pages.js agencyNote). */
.pt-note { max-width: 720px; margin: 0 0 28px; padding: 16px 20px; background: var(--paper); border: var(--border); border-left: 6px solid var(--accent); border-radius: var(--radius-sm, 8px); }
.pt-note p { margin: 0; font-size: 17px; line-height: 1.5; }
.pt-note .pt-note-hi { font-weight: 700; font-size: 20px; margin-bottom: 6px; }
.pt-note .pt-note-text a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; }
.pt-note .pt-note-sign { margin-top: 8px; color: var(--text-3); font-size: 15px; }

/* Build S102 (Matt, 8 Nov: "Yes, build all four"): that agency's short form under the note (routes/pages.js agencyPage),
   then the "See one first" link to the converter. */
.pt-quick { max-width: 560px; margin: 0 0 clamp(40px, 6vw, 64px); }
.pt-quick .pt-form { margin-top: 0; }
.pt-see { margin: 16px 0 0; font-size: 16px; line-height: 1.5; }
.pt-see a { color: var(--accent-dark); font-weight: 600; text-decoration: underline; }

/* Build S112: the Builder as a business, /builders/learn (server/views/builders-learn.html): the earnings table sits in
   the text column, with its note under it. */
.page-builders-learn .pt-table-wrap { max-width: 720px; margin: 10px 0 22px; }
.page-builders-learn .pt-table { min-width: 0; }
.page-builders-learn .pt-table caption { caption-side: bottom; text-align: left; padding-top: 10px; }
.page-builders-learn .pt-list li strong { margin-right: 4px; }
