:root {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #222536;
  background: #fafaf9;
  --accent: #5261df;
  --soft: #edf0ff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
a {
  color: var(--accent);
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.55;
}
.entry {
  display: flex;
  min-height: 100vh;
}
.promo {
  width: 48%;
  padding: 64px 56px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 15% 20%, var(--soft), transparent 70%),
    linear-gradient(150deg, #f0f1f7, #e8ebf4);
}
.wordmark {
  font-size: 24px;
  font-weight: 750;
  letter-spacing: -1px;
}
.eyebrow {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.promo h1 {
  font-size: clamp(34px, 4.3vw, 64px);
  letter-spacing: -0.05em;
  line-height: 1.07;
  max-width: 620px;
  font-weight: 600;
}
.promo p {
  font-size: 18px;
  line-height: 1.7;
  max-width: 530px;
  color: #626775;
}
.promo small {
  color: #697082;
}
.form-area {
  width: 52%;
  display: grid;
  place-items: center;
  padding: 48px 32px;
}
.card {
  width: min(410px, 100%);
}
.card h2 {
  font-size: 30px;
  letter-spacing: -1px;
  margin: 35px 0 12px;
}
.muted {
  color: #6c7080;
  font-size: 14px;
  line-height: 1.6;
}
.form {
  display: grid;
  gap: 18px;
  margin-top: 26px;
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 550;
}
input {
  padding: 13px 14px;
  border: 1px solid #d9dce5;
  border-radius: 10px;
  background: white;
  color: #202436;
  min-width: 0;
  width: 100%;
}
input:focus {
  border-color: var(--accent);
}
.primary,
.secondary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border-radius: 10px;
  padding: 13px 18px;
  font-size: 14px;
  font-weight: 600;
  min-height: 46px;
  text-decoration: none;
}
.primary {
  background: var(--accent);
  color: white;
  border: 1px solid var(--accent);
}
.secondary {
  background: white;
  color: #33394d;
  border: 1px solid #d9dce5;
}
.primary:hover,
.secondary:hover {
  text-decoration: none;
  filter: brightness(0.97);
}
.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.actions > * {
  flex: 1;
}
.divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 22px 0;
  color: #858a97;
  font-size: 12px;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: #e4e5ec;
  flex: 1;
}
.footer {
  margin-top: 26px;
  font-size: 13px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.notice {
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--soft);
  line-height: 1.55;
  font-size: 14px;
  margin-top: 20px;
}
.notice.error {
  background: #ffebeb;
  color: #a82c2c;
}
.hidden,
[hidden] {
  display: none;
}
.check {
  display: flex;
  align-items: flex-start;
  line-height: 1.5;
}
.check input {
  width: auto;
  margin: 3px 0;
}
.code {
  font-size: 30px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.16em;
  font-weight: 700;
}
.account {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
}
.sidebar {
  padding: 32px 22px;
  border-right: 1px solid #e3e5ed;
  background: white;
}
.sidebar nav {
  display: grid;
  gap: 5px;
  margin-top: 40px;
}
.sidebar a {
  padding: 11px 14px;
  border-radius: 9px;
  color: #646a7b;
  font-size: 14px;
}
.sidebar a[aria-current] {
  background: var(--soft);
  color: var(--accent);
  font-weight: 650;
}
.workspace {
  padding: 48px 6vw;
  max-width: 1140px;
  width: 100%;
}
.workspace h1 {
  font-size: 34px;
  letter-spacing: -1px;
}
.panel {
  padding: 28px;
  margin: 24px 0;
  border: 1px solid #e1e4ed;
  border-radius: 16px;
  background: white;
}
.panel h2 {
  font-size: 18px;
  margin: 0 0 10px;
}
.panel .form {
  max-width: 440px;
}
.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid #eef0f4;
}
.row:last-child {
  border: 0;
}
.row p {
  margin: 5px 0;
}
.badge {
  padding: 5px 9px;
  font-size: 12px;
  background: var(--soft);
  color: var(--accent);
  border-radius: 7px;
}
.session {
  word-break: break-word;
}
.back {
  display: inline-block;
  margin-bottom: 18px;
  font-size: 13px;
}
@media (max-width: 760px) {
  .entry {
    display: block;
  }
  .promo {
    width: 100%;
    min-height: 180px;
    padding: 28px;
  }
  .promo h1 {
    font-size: 32px;
    margin: 20px 0 10px;
  }
  .promo p {
    font-size: 15px;
    margin: 0;
  }
  .promo small {
    display: none;
  }
  .form-area {
    width: 100%;
    padding: 30px 24px;
  }
  .card h2 {
    margin-top: 12px;
  }
  .account {
    display: block;
  }
  .sidebar {
    padding: 20px;
    border-bottom: 1px solid #e3e5ed;
  }
  .sidebar nav {
    display: flex;
    overflow: auto;
    margin: 18px 0 0;
  }
  .sidebar nav a {
    white-space: nowrap;
  }
  .workspace {
    padding: 25px 20px;
  }
  .panel {
    padding: 22px;
  }
  .row {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto;
  }
}
html[data-product="content-hub"] {
  --accent: #db512f;
  --soft: #ffede3;
}
html[data-product="content-hub"] .promo {
  background:
    radial-gradient(circle at 5% 15%, #ffe0ce, transparent 65%),
    linear-gradient(150deg, #fff5ee, #f5ddd6);
}
html[data-product^="academy"] {
  --accent: #7354c4;
  --soft: #f0eafb;
}
