/* Public pages and the membership account share the product palette. */
:root {
  --forest: var(--tsx-primary);
  --gold: var(--tsx-cta);
  --paper: var(--tsx-bg);
  --ink: var(--tsx-ink);
  --muted: var(--tsx-text-2);
  --line: var(--tsx-border);
  --mint: var(--tsx-green-100);
  --radius: var(--tsx-r-xl);
}
.tsx-site { font-family: var(--tsx-font); }
.tsx-site :is(button,input,select,textarea) { font-family: inherit; }
.tsx-site :is(h1,h2,h3,.brand span,.price strong,.payment-info strong,.steps > article > span) {
  font-family: var(--tsx-font-display);
  font-stretch: 112%;
}
.tsx-site h1 { font-weight: 800; letter-spacing: -.03em; }
.tsx-site :is(.price,.checkout-summary,.membership-periods,.account-history) { font-variant-numeric: tabular-nums; }
.tsx-site :is(code,kbd,.company-code input) { font-family: var(--tsx-font-mono); }
.tsx-site .button {
  min-height: var(--tsx-h-md);
  border-radius: var(--tsx-r-md);
  font-weight: 600;
}
.tsx-site .button:hover { transform: none; text-decoration: none; }
.tsx-site .button.primary {
  background: var(--tsx-primary);
  border-color: var(--tsx-primary);
  color: white;
}
.tsx-site .button.primary:hover { background: var(--tsx-green-900); }
.tsx-site .button.tsx-btn--cta, .tsx-site[data-section=pricing] .price-card.featured .button.primary {
  background: var(--tsx-cta);
  border-color: transparent;
  color: var(--tsx-ink);
}
.tsx-site .button.tsx-btn--cta:hover, .tsx-site[data-section=pricing] .price-card.featured .button.primary:hover {
  background: var(--tsx-yellow-600);
}
.tsx-site :is(.site-header,.dark-section,.cta) .button.primary {
  background: var(--tsx-surface);
  color: var(--tsx-primary);
  border-color: var(--tsx-border-strong);
}
.tsx-site :is(.site-header,.dark-section,.cta) .button.primary:hover {
  background: var(--tsx-green-100);
  border-color: var(--tsx-green-400);
}
.tsx-site .form-card :is(input:not([type=checkbox],[type=radio]),select,textarea) {
  background: var(--tsx-surface);
  border-color: var(--tsx-border-strong);
  border-radius: var(--tsx-r-md);
}
.tsx-site .form-card :is(input,select,textarea)[aria-invalid=true],
.tsx-site .form-card input.input-validation-error {
  border-color: var(--tsx-danger-700);
  box-shadow: 0 0 0 2px var(--tsx-danger-100);
}
.tsx-site .button:disabled { opacity: .5; cursor: not-allowed; }
.tsx-site .notice { background: var(--tsx-yellow-50); border-color: var(--tsx-yellow-border); color: var(--tsx-yellow-ink); }
.tsx-site .code-status[data-state=available] { color: var(--tsx-primary); }
.tsx-site .code-status[data-state=invalid] { color: var(--tsx-danger-700); }
.tsx-site :is(a,button,input,select,textarea,summary):focus-visible {
  outline: 2px solid var(--tsx-primary);
  outline-offset: 3px;
}
.tsx-site :is(.site-footer,.dark-section) :focus-visible { outline-color: var(--tsx-cta); }
@media (max-width: 767px), (pointer: coarse) {
  .tsx-site :is(.button,.period-switch a,.menu-toggle) { min-height: 44px; }
}

.member-heading,.membership-signin .form-card{background:var(--tsx-surface,#fff);border:1px solid var(--tsx-border,#ddd9cf);border-radius:16px;padding:clamp(1.25rem,3vw,2rem)}
.member-summary{display:flex;flex-wrap:wrap;align-items:center;gap:1rem;margin-top:1rem}
.member-summary strong{background:#edf5ef;color:#164b3c;border-radius:8px;padding:.35rem .65rem}
.member-summary a,.journey-guide a{color:#124b39;text-underline-offset:3px}
.journey-guide{max-width:52rem;margin:2rem auto 5rem;padding:0 1rem}
.journey-guide details{padding:.9rem 1.15rem;background:#fff;border:1px solid #dedbd2;border-radius:.75rem;margin:.6rem 0}
.journey-guide summary{cursor:pointer;font-weight:700;min-height:44px;align-content:center}
.journey-guide p{max-width:65ch;line-height:1.6}
