:root {
  color-scheme: dark;
  background: var(--ctu-night);
  color: #f3f7ff;
  font-synthesis: none;
}
* { box-sizing: border-box; }
body { margin: 0; }
[hidden] { display: none !important; }
.login { min-height: 100svh; display: grid; grid-template-columns: minmax(340px, 1fr) minmax(480px, 1fr); }
.club {
  isolation: isolate;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(32px, 5vw, 76px);
  border-inline-end: 3px solid var(--ctu-sky);
  background: radial-gradient(ellipse at 75% 30%, #302955 0%, var(--ctu-night) 57%, var(--ctu-black) 100%);
}
.brand { display: flex; align-items: center; gap: clamp(16px, 2.4vw, 30px); font-weight: 800; font-size: clamp(28px, 3.1vw, 49px); letter-spacing: -.04em; line-height: 1.05; }
.brand img { width: clamp(104px, 12vw, 164px); height: auto; flex: none; object-fit: contain; }
.club-title { position: relative; padding-block: 46px; }
h1, h2, h3, p { margin: 0; }
h1 { color: #f1f0ff; font-size: clamp(56px, 8vw, 132px); font-weight: 800; letter-spacing: -.065em; line-height: .95; }
.club-title p { margin-top: 18px; color: var(--ctu-sky); font-size: clamp(17px, 2vw, 24px); }
.pitch { position: absolute; z-index: -1; width: 88%; max-width: 780px; aspect-ratio: .74; left: 39%; top: 16%; rotate: 22deg; border: 2px solid #becaff42; border-radius: 10px; }
.pitch span { position: absolute; top: 50%; width: 100%; border-top: 2px solid #becaff42; }
.pitch span::after { content: ""; display: block; width: 30%; aspect-ratio: 1; border: 2px solid #becaff42; border-radius: 50%; position: absolute; left: 35%; top: 0; transform: translateY(-50%); }
.pitch i, .pitch b { width: 63%; height: 16%; border: 2px solid #becaff42; position: absolute; left: 18.5%; }
.pitch i { top: -2px; border-top: 0; }
.pitch b { bottom: -2px; border-bottom: 0; }
.access { align-self: center; width: min(100%, 680px); margin: 0 auto; padding: 52px clamp(26px, 5vw, 78px); }
h2 { font-size: clamp(34px, 4vw, 51px); letter-spacing: -.04em; }
.intro { margin: 8px 0 28px; }
.workspace { border: 1px solid #4a4268; background: #201b35; border-radius: 14px; padding: clamp(18px,3vw,24px); margin-top: 16px; overflow-wrap: anywhere; }
p { color: #c4cee4; line-height: 1.55; }
.workspace-actions { display: grid; gap: 10px; }
.action { display: inline-flex; align-items: center; justify-content: center; font: inherit; font-weight: 760; text-decoration: none; border-radius: 9px; min-height: 44px; padding: 10px 14px; }
.primary { background: var(--ctu-lavender); color: var(--ctu-black); border: 1px solid transparent; }
.primary:hover { background: var(--ctu-sky); }
.secondary { background: #303255; color: #f4efff; border: 1px solid #7770a8; }
.secondary-link { display: inline-block; color: #c9ddff; margin: 12px 0 0; font-size: 14px; }
:is(a, summary):focus-visible { outline: 3px solid var(--ctu-sky); outline-offset: 3px; }
@media (max-width: 830px) {
  .login { grid-template-columns: 1fr; }
  .club { min-height: 238px; padding: 20px 24px; border-inline-end: 0; border-bottom: 3px solid var(--ctu-sky); }
  .brand img { width: clamp(92px, 24vw, 124px); }
  .club-title { padding-block: 21px 4px; }
  .club-title p { margin-top: 8px; }
  .pitch { max-width: 445px; left: 58%; top: -22%; }
  .access { padding-block: 30px; }
}

#account-form { display:grid; gap:8px; }
#account-form label { font-size:15px; font-weight:750; }
#account-form input { width:100%; border:1px solid #77718d; border-radius:8px; min-height:44px; padding:10px 12px; background:#191728; color:inherit; font:inherit; }
#account-form input + label, #submit-account { margin-top:10px; }
#password-hint, .login-help p { font-size:14px; }
button.action, .login-help summary { cursor:pointer; }
.login-help { margin:16px 0; color:#c9ddff; }
.login-help p { margin-top:8px; }
button.secondary-link { background:none; padding:8px 0; border:0; font:inherit; text-decoration:underline; cursor:pointer; }
:is(input, button):focus-visible { outline:3px solid var(--ctu-sky); outline-offset:3px; }
