/* /setters landing and the /setters/sign_up flow. Builds on landing.css and
   start_small.css. */

.tp-rs-legend { grid-template-columns: repeat(4, 1fr); }
.tp-rs-steps { grid-template-columns: repeat(5, 1fr); }
.tp-rs-mid-cta { justify-content: center; margin-top: 40px; }
.tp-rs-scorecard { max-width: 760px; }
.tp-rs-scorecard h3 { font-size: clamp(26px, 2.6vw, 34px); line-height: 1.08; letter-spacing: -0.02em; font-weight: 580; margin: 12px 0 14px; }
.tp-rs-scorecard p { color: var(--ink-3); font-size: 17px; margin: 0 0 16px; }

.tp-rs-ico { width: 15px; height: 15px; flex: 0 0 auto; vertical-align: -2px; margin-right: 6px; }
.tp-ss-thumb .tp-rs-ico, .tp-ss-send .tp-rs-ico { margin-right: 0; }

/* Signup flow pages */
.tp-rs-flow { max-width: 620px; }
.tp-rs-flow .tp-h2 { margin-top: 14px; }
.tp-rs-flow .tp-demo-form { margin-top: 28px; }
.tp-rs-card { margin-top: 28px; background: var(--white); border: 1px solid rgba(15,23,42,.1); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-md); display: grid; gap: 14px; }
.tp-rs-card p { margin: 0; color: var(--ink-3); font-size: 15.5px; }
.tp-rs-card form { margin: 0; }
.tp-rs-card .tp-btn { justify-content: center; }
.tp-rs-fine { margin: 0; font-size: 13.5px; color: var(--ink-4); }
.tp-rs-fine a, .tp-rs-card a:not(.tp-btn) { color: var(--ink); text-underline-offset: 3px; }
.tp-rs-notice { background: #ECFDF5; border: 1px solid #A7F3D0; color: #065F46; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.tp-rs-alert { background: #FFFBEB; border: 1px solid #FDE68A; color: #92400E; border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.tp-rs-email { font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.tp-rs-summary { display: grid; gap: 8px; margin: 0; }
.tp-rs-summary div { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; border-bottom: 1px solid rgba(15,23,42,.06); padding-bottom: 8px; }
.tp-rs-summary dt { color: var(--ink-3); }
.tp-rs-summary dd { margin: 0; font-weight: 560; color: var(--ink); text-align: right; overflow-wrap: anywhere; min-width: 0; }

/* Slug field: a joined input + domain suffix, with the slug controller's
   live status line (it toggles these utility class names). */
.tp-rs-slug { display: flex; align-items: stretch; }
.tp-rs-slug input { flex: 1 1 auto; min-width: 0; border-top-right-radius: 0 !important; border-bottom-right-radius: 0 !important; font-family: var(--f-mono); }
.tp-rs-slug-suffix { display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--paper-3); border-left: 0; border-radius: 0 10px 10px 0; background: var(--paper-2); color: var(--ink-3); font: 13px var(--f-mono); white-space: nowrap; flex: 0 0 auto; }
.tp-rs-slug input.is-valid { border-color: #059669; }
.tp-rs-slug input.is-invalid { border-color: #E11D48; }
.tp-rs-slug-status { min-height: 18px; margin: 0; font-size: 13px; font-weight: 400; }
.tp-rs-slug-status.text-emerald-600 { color: #059669; }
.tp-rs-slug-status.text-rose-600 { color: #E11D48; }
.tp-rs-slug-status.text-slate-400 { color: var(--ink-4); }
.tp-rs-hint { font-size: 12.5px; font-weight: 400; color: var(--ink-4); }
.tp-rs-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* Gym name combobox list: lives in <body>, outside .tp-shell and its
   color vars, fixed to the input (gym_combobox_controller.js) so the form
   never clips it. */
.tp-rs-combo-list { position: fixed; z-index: 60; margin: 0; padding: 4px; list-style: none; max-height: 280px; overflow-y: auto; background: #FFFFFF; border: 1px solid #ECE3D0; border-radius: 12px; box-shadow: 0 12px 32px rgba(15,23,42,.14); font-family: 'Geist', ui-sans-serif, -apple-system, system-ui, sans-serif; }
.tp-rs-combo-list[hidden] { display: none; }
.tp-rs-combo-list [role=option] { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 9px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; color: #0F172A; }
.tp-rs-combo-list [role=option][aria-selected=true] { background: #F5EFE3; }
.tp-rs-combo-name { font-weight: 560; min-width: 0; overflow-wrap: anywhere; }
.tp-rs-combo-place { flex: 0 0 auto; font-size: 12.5px; color: #94A3B8; }
.tp-rs-combo-list .is-add { border-top: 1px solid #ECE3D0; border-radius: 0 0 8px 8px; margin-top: 2px; }
.tp-rs-combo-list .is-add:first-child { border-top: 0; margin-top: 0; border-radius: 8px; }
.tp-demo-submit:disabled { opacity: .5; cursor: not-allowed; }

/* Grade spread mock in the Curve style of the staff chart (grade_curve area +
   dashed target line). */
.tp-rs-curve { padding: 6px 4px 0; align-items: flex-end; }
.tp-rs-curve svg { width: 100%; height: 44px; display: block; overflow: visible; }
.tp-rs-curve-area { fill: rgba(5,150,105,.16); }
.tp-rs-curve-line { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.tp-rs-curve-target { fill: none; stroke: var(--ink-3); stroke-width: 1.5; stroke-dasharray: 4 3; vector-effect: non-scaling-stroke; }

/* Brooklyn Uprising case study */
.tp-rs-case-grid { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 36px; }
.tp-rs-case-video { margin: 0; }
.tp-rs-video { position: relative; width: 100%; overflow: hidden; background: #000; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.tp-rs-video video { width: 100%; height: 100%; object-fit: contain; display: block; }
.tp-rs-case-video figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.tp-rs-chapters { list-style: none; margin: 12px 0 18px; padding: 0; display: grid; gap: 6px; }
.tp-rs-chapters button { width: 100%; display: grid; grid-template-columns: 44px 1fr; column-gap: 10px; text-align: left; padding: 10px 12px; border: 1px solid rgba(15,23,42,.08); border-radius: 12px; background: var(--white); color: var(--ink); font: inherit; cursor: pointer; }
.tp-rs-chapters button:hover, .tp-rs-chapters button:focus-visible { border-color: var(--accent); }
.tp-rs-chapter-t { grid-row: span 2; font: 12px var(--f-mono); color: var(--accent); padding-top: 2px; }
.tp-rs-chapters b { font-size: 14.5px; font-weight: 580; }
.tp-rs-chapters span:not(.tp-rs-chapter-t) { font-size: 13px; color: var(--ink-3); }
.tp-rs-case-link { font-size: 14.5px; font-weight: 560; color: var(--ink); text-underline-offset: 3px; }

/* Scorecard: real screens of member activity */
.tp-rs-scorecard-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: center; }
.tp-rs-score-shots { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; align-items: start; }
.tp-rs-score-shots figure { margin: 0; }
.tp-rs-score-shots img { width: 100%; height: auto; display: block; border-radius: 18px; border: 1px solid rgba(15,23,42,.1); box-shadow: var(--shadow-md); background: var(--white); }
.tp-rs-score-shots figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); text-align: center; }
.tp-rs-score-wide { margin-top: 18px; }
.tp-rs-score-wide img { width: 100%; height: auto; display: block; border-radius: var(--radius-lg); border: 1px solid rgba(15,23,42,.1); box-shadow: var(--shadow-md); }
.tp-rs-score-wide figcaption { margin-top: 8px; font-size: 12.5px; color: var(--ink-3); }

@media (max-width: 980px) {
  .tp-rs-steps { grid-template-columns: 1fr 1fr; }
  .tp-rs-case-grid, .tp-rs-scorecard-wrap { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .tp-rs-steps { grid-template-columns: 1fr; }
  .tp-rs-legend { display: flex; }
  .tp-rs-card { padding: 18px; }
  .tp-rs-slug input { padding-left: 10px; padding-right: 8px; }
  .tp-rs-slug-suffix { max-width: none; padding: 0 8px; font-size: 12px; }
  /* Phones: keep the intro short so the first field sits above the fold. */
  .tp-rs-signup .tp-demo-copy .tp-h2 { font-size: 30px; margin-top: 8px; }
  .tp-rs-signup .tp-demo-copy .tp-sh-sub { font-size: 15.5px; margin-bottom: 0; }
  .tp-rs-signup .tp-demo-points, .tp-rs-signup .tp-demo-alt { display: none; }
  .tp-rs-signup.tp-demo-section { padding-top: 24px; }
  .tp-rs-signup .tp-demo-grid { gap: 20px; }
  .tp-rs-summary div { flex-direction: column; gap: 2px; }
  .tp-rs-summary dd { text-align: left; }
}
