/* GrindSplit Teams: the signed-out pages (body.site-mode). They use the main site's stylesheet
   (/assets/css/gs.css: header, phone menu, hero, sections, roster picture, footer) as-is; this file
   holds only the Teams pieces (the sign-in layout, the landing's extra blocks) and evens out the few
   class names the dashboard's stylesheet also uses. Everything here is scoped to .site-mode or its
   own classes, so the dashboard never sees it. */

/* ---------- shared names: let the main site's look win ---------- */
.site-mode.menu-open { overflow: hidden; }
.site-mode .mockbar { position: fixed; inset: auto 0 0 0; z-index: 60; }
.site-mode .nav__actions button.btn, .site-mode .menu__row button.btn { border: 0; }
.site-mode .nav__actions .btn[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--accent); }
.site-mode .roster .score { font: 700 14px/1 var(--body); min-width: 0; }
.site-mode .roster td { vertical-align: middle; }
.site-mode .cap svg.ic { width: 30px; height: 30px; }
.site-mode .teaser .btn--outline { border: 0; }

/* ---------- sign-in, sign-up, verify, terms, invites ---------- */
.hero.hero--auth { padding-bottom: clamp(56px, 8vw, 104px); min-height: min(100vh, 980px); }
.teams-auth__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 460px); align-items: start; gap: clamp(32px, 6vw, 88px); }
.auth-aside { padding-top: 28px; display: grid; gap: 24px; align-content: start; }
.auth-aside__title {
  margin: 0; font: 800 italic clamp(56px, 7vw, 100px)/.9 var(--display); letter-spacing: -.015em; text-transform: uppercase; color: var(--ink);
}
.auth-aside__title em { font-style: italic; color: var(--accent); }
.site-mode .auth-card {
  position: relative; width: 100%; display: grid; gap: 14px; padding: 32px 28px;
  background: var(--panel); border: 1px solid var(--line-strong); border-radius: 0;
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 120px -50px rgba(95, 212, 0, .4);
}
.site-mode .auth-card::before { content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; background: var(--accent); }
.site-mode .auth-title { font: 800 italic clamp(34px, 3.6vw, 44px)/.95 var(--display); text-transform: uppercase; letter-spacing: -.01em; }
.site-mode .auth-card .eyebrow { font: 700 13px/1.2 var(--display); letter-spacing: .2em; }
.site-mode .auth-card .muted { font-size: 16px; line-height: 1.5; }
.site-mode .auth-card a { color: var(--accent); }
.site-mode .auth-card .btn { width: 100%; }
.site-mode .auth-card .btn.google { clip-path: none; border-radius: 2px; }
.site-mode .auth-card .linkbtn { justify-self: start; }
.site-mode .auth-card .notice { font-size: 15px; }

/* ---------- the landing ---------- */
.teams-landing .hero__stage { min-height: 440px; }
.teams-landing .roster tbody tr { opacity: 1; transform: none; }
.teams-who-name { display: block; font-weight: 600; }
.teams-pos { display: block; color: var(--ink-3); font-size: 12px; }
.teams-ok { color: var(--ink-2); font-size: 13px; }
.teams-new { margin-left: 10px; vertical-align: middle; background: rgba(158, 232, 27, .14); color: var(--accent); }
.teams-who { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.teams-who__item { display: grid; gap: 12px; align-content: start; padding: 26px; background: var(--panel); border: 1px solid var(--line); }
.teams-who__item svg { width: 30px; height: 30px; color: var(--accent); }
.teams-who__item h3 { font-size: 26px; }
.teams-who__item p { color: var(--ink-2); font-size: 16px; }
.teams-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); counter-reset: step; }
.teams-steps li { counter-increment: step; display: grid; gap: 10px; align-content: start; padding: 26px 22px 26px 0; }
.teams-steps li + li { padding-left: 22px; border-left: 1px solid var(--line); }
.teams-steps li::before { content: "0" counter(step); font: 800 italic 52px/1 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--accent); }
.teams-steps h3 { font-size: 24px; }
.teams-steps p { color: var(--ink-2); font-size: 16px; }

@media (max-width: 960px) {
  .teams-landing .hero__stage { min-height: 0; }
  .teams-who { grid-template-columns: minmax(0, 1fr); }
  .teams-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .teams-steps li:nth-child(3) { padding-left: 0; border-left: 0; }
  .teams-steps li:nth-child(n + 3) { border-top: 1px solid var(--line); }
}
@media (max-width: 860px) {
  .hero.hero--auth { min-height: 0; padding-top: calc(var(--nav-h) + 20px); }
  .teams-auth__grid { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .auth-aside { padding-top: 0; gap: 0; }
  .auth-aside__title, .auth-aside .lede, .auth-aside .facts { display: none; }
}
@media (max-width: 560px) {
  .site-mode .auth-card { padding: 24px 18px; }
  .teams-steps { grid-template-columns: minmax(0, 1fr); }
  .teams-steps li, .teams-steps li + li { padding: 22px 0; border-left: 0; }
  .teams-steps li + li { border-top: 1px solid var(--line); }
  .teams-landing .hero__cta .btn { flex: 1 1 100%; }
  .teams-landing .roster th:nth-child(3), .teams-landing .roster td:nth-child(3) { display: none; }
}
