/* brand-components.css. GENERATED from alpha-insights/config/brand_tokens.json by scripts/build_brand_outputs.py. Do not edit. brand-lint: generated
   Shared component layer built from the round 6 homepage. Every class is tp- prefixed and reads only brand.css variables.
   Components: wrap, header/nav, footer, button, card, plans, form, table, panel, chip, kicker, figure, notice, empty and error states. */

/* base (only inside .tp-scope so old page bodies are not restyled by accident) */
.tp-scope{font-family:var(--tp-font-sans);font-size:var(--tp-fs-body);line-height:var(--tp-lh-body);color:var(--tp-c-ink);background:var(--tp-c-paper);-webkit-font-smoothing:antialiased}
.tp-scope *,.tp-scope *::before,.tp-scope *::after{box-sizing:border-box}
.tp-scope :where(h1,h2,h3,h4){font-weight:600;letter-spacing:-0.02em;text-wrap:balance;color:var(--tp-c-ink);margin:0}
.tp-scope :where(h1){font-size:var(--tp-fs-h1);line-height:var(--tp-lh-h1)}
.tp-scope :where(h2){font-size:var(--tp-fs-h2);line-height:var(--tp-lh-h2)}
.tp-scope :where(h3){font-size:var(--tp-fs-h3);line-height:var(--tp-lh-h3)}
.tp-scope :where(h4){font-size:var(--tp-fs-h4);line-height:var(--tp-lh-h4)}
.tp-scope :where(p){text-wrap:pretty;margin:0}
.tp-scope :where(a){color:inherit}
.tp-scope :where(img){max-width:100%;height:auto}
.tp-scope :focus-visible{outline:2px solid var(--tp-c-focus);outline-offset:4px;border-radius:var(--tp-r-sm)}
.tp-wrap{max-width:var(--tp-w-max);margin:0 auto;padding:0 var(--tp-gutter)}
.tp-prose{max-width:var(--tp-w-prose)}
.tp-num,.tp-figure{font-family:var(--tp-font-mono);font-variant-numeric:tabular-nums;letter-spacing:-0.01em}
.tp-up{color:var(--tp-c-up)}.tp-down{color:var(--tp-c-down)}.tp-flat{color:var(--tp-c-neutral)}
.tp-fine{font-size:var(--tp-fs-small);line-height:var(--tp-lh-small);color:var(--tp-c-ink-3)}
.tp-kicker{font-size:var(--tp-fs-small);line-height:var(--tp-lh-small);font-weight:600;color:var(--tp-c-gold-text);margin:0 0 var(--tp-s-4)}
.tp-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.tp-skip{position:absolute;left:-9999px}
.tp-skip:focus{left:16px;top:16px;z-index:100;background:var(--tp-c-ink);color:var(--tp-c-paper);padding:8px 12px;border-radius:var(--tp-r-md)}

/* button */
.tp-btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--tp-s-3);padding:8px 12px;min-height:40px;border-radius:var(--tp-r-md);border:1px solid var(--tp-c-ink);background:var(--tp-c-ink);color:var(--tp-c-paper);font:600 var(--tp-fs-body)/var(--tp-lh-body) var(--tp-font-sans);text-decoration:none;white-space:nowrap;cursor:pointer;transition:transform var(--tp-t-slow) var(--tp-ease),background-color var(--tp-t-base) var(--tp-ease),color var(--tp-t-base) var(--tp-ease)}
.tp-btn:hover{background:var(--tp-c-ink-hover);color:var(--tp-c-paper)}
/* old shells set link colour with more weight than .tp-btn; keep button text readable in the frame and in the page */
body a.tp-btn{color:var(--tp-c-paper)}
body a.tp-btn:hover{color:var(--tp-c-paper)}
body a.tp-btn--gold,body a.tp-btn--gold:hover{color:var(--tp-c-ink)}
body a.tp-btn--ghost,body a.tp-btn--ghost:hover{color:var(--tp-c-ink)}
.tp-btn:active{transform:scale(.98)}
.tp-btn[disabled],.tp-btn[aria-disabled="true"]{opacity:.5;cursor:not-allowed}
.tp-btn--gold{background:var(--tp-c-gold);border-color:var(--tp-c-gold);color:var(--tp-c-ink)}
.tp-btn--gold:hover{background:var(--tp-c-gold-hover);color:var(--tp-c-ink)}
.tp-btn--ghost{background:transparent;color:var(--tp-c-ink);border-color:var(--tp-c-line)}
.tp-btn--ghost:hover{background:var(--tp-c-cream);color:var(--tp-c-ink)}
.tp-btn--sm{font-size:var(--tp-fs-small);line-height:var(--tp-lh-small)}
.tp-btn--lg{padding:12px 24px;min-height:48px}
.tp-btn--block{display:flex;width:100%}
@media (pointer:coarse){.tp-btn{min-height:48px;padding:12px 16px}}

/* header and nav (floating, translucent) */
.tp-nav{position:fixed;top:12px;left:50%;transform:translateX(-50%);z-index:50;display:flex;align-items:center;gap:var(--tp-s-6);padding:8px 8px 8px 16px;border-radius:var(--tp-r-xl);border:1px solid var(--tp-c-line);background:var(--tp-glass);backdrop-filter:blur(16px) saturate(1.4);-webkit-backdrop-filter:blur(16px) saturate(1.4);max-width:calc(100vw - 24px);font-family:var(--tp-font-sans)}
.tp-nav__brand{display:flex;align-items:center;gap:var(--tp-s-3);font-weight:600;font-size:var(--tp-fs-body);text-decoration:none;white-space:nowrap;color:var(--tp-c-ink);min-height:44px}
.tp-nav__brand img,.tp-footer__brand img{height:24px;width:auto;max-width:none;flex:none;display:block}
.tp-nav__links{display:flex;gap:var(--tp-s-2);list-style:none;padding:0;margin:0}
.tp-nav__links a{display:block;white-space:nowrap;padding:8px 12px;border-radius:var(--tp-r-md);font-size:var(--tp-fs-small);line-height:var(--tp-lh-small);font-weight:500;text-decoration:none;color:var(--tp-c-ink-2);transition:background-color var(--tp-t-base) var(--tp-ease),color var(--tp-t-base) var(--tp-ease)}
.tp-nav__links a:hover,.tp-nav__links a[aria-current]{background:var(--tp-c-cream);color:var(--tp-c-ink)}
.tp-nav__acts{display:flex;gap:var(--tp-s-3);align-items:center}
.tp-nav__burger{display:none;width:48px;height:48px;border-radius:var(--tp-r-md);border:1px solid var(--tp-c-line);background:transparent;position:relative;cursor:pointer}
.tp-nav__burger span{position:absolute;left:14px;right:14px;height:2px;background:var(--tp-c-ink);border-radius:2px;transition:transform var(--tp-t-slow) var(--tp-ease),opacity var(--tp-t-base) var(--tp-ease)}
.tp-nav__burger span:nth-child(1){top:18px}.tp-nav__burger span:nth-child(2){top:23px}.tp-nav__burger span:nth-child(3){top:28px}
.tp-nav__burger[aria-expanded="true"] span:nth-child(1){transform:translateY(5px) rotate(45deg)}
.tp-nav__burger[aria-expanded="true"] span:nth-child(2){opacity:0}
.tp-nav__burger[aria-expanded="true"] span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}
.tp-nav-spacer{height:88px}
.tp-menu{position:fixed;inset:0;z-index:49;background:var(--tp-glass-solid);padding:96px var(--tp-gutter) 32px;display:none;flex-direction:column;gap:var(--tp-s-3);overflow:auto}
.tp-menu[data-open="true"]{display:flex}
.tp-menu a{display:flex;align-items:center;min-height:48px;font-size:var(--tp-fs-h3);line-height:var(--tp-lh-h3);font-weight:600;text-decoration:none;color:var(--tp-c-ink)}
@media (max-width:1024px){
  .tp-nav{left:12px;right:12px;transform:none;justify-content:space-between}
  .tp-nav__links{display:none}
  .tp-nav__acts .tp-btn--ghost{display:none}
  .tp-nav__burger{display:block}
}

/* footer */
.tp-footer{padding:var(--tp-s-9) 0;border-top:1px solid var(--tp-c-line);font-size:var(--tp-fs-small);line-height:var(--tp-lh-small);color:var(--tp-c-ink-2);background:var(--tp-c-paper);font-family:var(--tp-font-sans)}
.tp-footer .tp-wrap{display:flex;flex-wrap:wrap;gap:16px 32px;justify-content:space-between;align-items:center}
.tp-footer nav{display:flex;gap:var(--tp-s-6);flex-wrap:wrap}
.tp-footer a{display:inline-flex;align-items:center;min-height:44px;color:inherit;text-decoration:none}
.tp-footer a:hover{color:var(--tp-c-ink);text-decoration:underline}
.tp-footer p{flex-basis:100%;max-width:800px;margin:0}

/* card, panel, chip, tag */
.tp-card{border-radius:var(--tp-r-xl);border:1px solid var(--tp-c-line);background:var(--tp-c-white);padding:var(--tp-s-6)}
.tp-card--lift{box-shadow:var(--tp-sh-card);transition:transform var(--tp-t-slow) var(--tp-ease),box-shadow var(--tp-t-base) var(--tp-ease)}
.tp-card--lift:hover{transform:translateY(-2px);box-shadow:var(--tp-sh-card-hover)}
.tp-panel{border-radius:var(--tp-r-xl);background:var(--tp-c-cream);padding:var(--tp-s-7)}
.tp-panel--gold{background:var(--tp-c-gold);color:var(--tp-c-ink);border-radius:var(--tp-r-xxl);padding:var(--tp-s-10)}
.tp-chip{display:inline-flex;align-items:center;gap:var(--tp-s-3);padding:8px 12px;border-radius:var(--tp-r-pill);border:1px solid var(--tp-c-line);background:var(--tp-c-white);font-size:var(--tp-fs-small);line-height:var(--tp-lh-small);font-weight:500}
.tp-chip i{color:var(--tp-c-gold-text);font-size:16px}
.tp-tag{display:inline-block;padding:4px 8px;border-radius:6px;background:var(--tp-c-gold);color:var(--tp-c-ink);font-size:var(--tp-fs-micro);line-height:var(--tp-lh-micro);font-weight:600}

/* plans block (tier names and prices come from the ontology, see template-parts) */
.tp-plans{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:var(--tp-s-5);align-items:stretch}
.tp-plan{border-radius:var(--tp-r-xl);border:1px solid var(--tp-c-line);background:var(--tp-c-white);padding:var(--tp-s-6);display:flex;flex-direction:column;gap:var(--tp-s-5)}
.tp-plan--main{border-color:var(--tp-c-ink);background:var(--tp-c-cream)}
.tp-plan h3{font-size:var(--tp-fs-h4);line-height:var(--tp-lh-h4)}
.tp-plan__price{font-family:var(--tp-font-mono);font-size:var(--tp-fs-h2);line-height:var(--tp-lh-h2);font-weight:600}
.tp-plan__price small{font-family:var(--tp-font-sans);font-size:var(--tp-fs-small);line-height:var(--tp-lh-small);font-weight:500;color:var(--tp-c-ink-2)}
.tp-plan ul{list-style:none;padding:0;margin:0;display:grid;gap:var(--tp-s-3);flex:1}
.tp-plan li{display:flex;gap:var(--tp-s-3)}
.tp-plan li i{color:var(--tp-c-gold-text);font-size:20px;margin-top:2px;flex:none}

/* form */
.tp-form{display:grid;gap:var(--tp-s-5)}
.tp-field{display:grid;gap:var(--tp-s-2)}
.tp-field label,.tp-label{font-size:var(--tp-fs-small);line-height:var(--tp-lh-small);font-weight:500;color:var(--tp-c-ink)}
.tp-input,.tp-select,.tp-textarea{width:100%;min-height:48px;padding:12px 16px;border-radius:var(--tp-r-md);border:1px solid var(--tp-c-line);background:var(--tp-c-white);color:var(--tp-c-ink);font:400 var(--tp-fs-body)/var(--tp-lh-body) var(--tp-font-sans);transition:border-color var(--tp-t-base) var(--tp-ease)}
.tp-input:hover,.tp-select:hover,.tp-textarea:hover{border-color:var(--tp-c-ink-3)}
.tp-input:focus,.tp-select:focus,.tp-textarea:focus{outline:2px solid var(--tp-c-focus);outline-offset:2px;border-color:var(--tp-c-ink)}
.tp-input[aria-invalid="true"],.tp-field--error .tp-input{border-color:var(--tp-c-error)}
.tp-field__error{font-size:var(--tp-fs-small);line-height:var(--tp-lh-small);color:var(--tp-c-error)}
.tp-field__hint{font-size:var(--tp-fs-small);line-height:var(--tp-lh-small);color:var(--tp-c-ink-3)}
.tp-check{display:flex;gap:var(--tp-s-3);align-items:flex-start;font-size:var(--tp-fs-small);line-height:var(--tp-lh-small)}
.tp-check input{width:20px;height:20px;accent-color:var(--tp-c-ink);flex:none;margin:0}
.tp-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}

/* table */
.tp-table-wrap{overflow-x:auto;border:1px solid var(--tp-c-line);border-radius:var(--tp-r-xl);background:var(--tp-c-white)}
.tp-table{width:100%;border-collapse:collapse;font-size:var(--tp-fs-small);line-height:var(--tp-lh-small)}
.tp-table th{text-align:left;font-weight:600;color:var(--tp-c-ink-2);padding:12px 16px;border-bottom:1px solid var(--tp-c-line);white-space:nowrap;background:var(--tp-c-paper)}
.tp-table td{padding:12px 16px;border-bottom:1px solid var(--tp-c-line);color:var(--tp-c-ink)}
.tp-table tr:last-child td{border-bottom:0}
.tp-table td.tp-num,.tp-table th.tp-num{text-align:right}
.tp-table tbody tr:hover{background:var(--tp-c-paper)}

/* notice, empty state, error state */
.tp-notice{border-radius:var(--tp-r-lg);border:1px solid var(--tp-c-line);background:var(--tp-c-cream);padding:var(--tp-s-5);font-size:var(--tp-fs-small);line-height:var(--tp-lh-small)}
.tp-notice--error{border-color:var(--tp-c-error);background:var(--tp-c-white);color:var(--tp-c-error)}
.tp-notice--ok{border-color:var(--tp-c-up);background:var(--tp-c-white)}
.tp-state{text-align:center;padding:var(--tp-s-10) var(--tp-s-6);border:1px dashed var(--tp-c-line);border-radius:var(--tp-r-xl);background:var(--tp-c-white);display:grid;gap:var(--tp-s-4);justify-items:center}
.tp-state img{width:48px;height:48px}
.tp-state h3{font-size:var(--tp-fs-h4);line-height:var(--tp-lh-h4)}
.tp-state p{color:var(--tp-c-ink-2);max-width:480px}

@media (prefers-reduced-motion:reduce){.tp-scope *,.tp-nav *,.tp-btn,.tp-card--lift{transition:none!important;animation:none!important}}

/* X1244 6 Dec a11y: contrast and target size fixes that live in the brand layer, not the page templates. */
.tp-pmpro__kicker{color:var(--tp-c-gold-text)}
.tp-resp-panel p a{display:inline-block;padding:5px 0;min-height:24px;box-sizing:border-box}
p.tp-pmpro__kicker.tp-pmpro__kicker{color:var(--tp-c-gold-text)}
.tpl-about .p-nav a.btn.ghost{color:#fff}
