@font-face {
  font-family: Jakarta;
  src: url("/brand/jakarta.woff2") format("woff2");
  font-display: swap;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #f6f8fc;
  color: #142238;
  font-family: Jakarta, system-ui, sans-serif;
  line-height: 1.6;
}
a {
  color: #2d64de;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
button,
a,
input {
  touch-action: manipulation;
}
button,
a {
  outline-offset: 5px;
}
header {
  max-width: 1240px;
  margin: auto;
  padding: 28px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
header > a:not(.brand) {
  font-size: 14px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #142238;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.7px;
}
.brand img {
  border-radius: 9px;
  background: #142238;
}
.login-layout {
  max-width: 1140px;
  min-height: 70vh;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 90px;
  align-items: center;
  padding: 50px 40px 70px;
}
.eyebrow {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #2d64de;
}
.intro h2 {
  font-size: clamp(38px, 4vw, 58px);
  line-height: 1.13;
  letter-spacing: -2px;
  margin: 24px 0;
}
.intro > p:not(.eyebrow) {
  max-width: 400px;
  color: #53637a;
  font-size: 16px;
}
.intro-line {
  width: 60px;
  height: 4px;
  background: #2d64de;
  margin: 40px 0 24px;
}
.quiet {
  font-size: 13px !important;
}
.login-panel {
  background: #fff;
  border: 1px solid #e1e7f0;
  border-radius: 22px;
  padding: 36px;
  box-shadow: 0 20px 60px #23396408;
}
.mark {
  display: grid;
  place-items: center;
  background: #edf3ff;
  color: #2d64de;
  width: 46px;
  height: 46px;
  border-radius: 13px;
  font-weight: 800;
}
.login-panel h1 {
  font-size: 27px;
  letter-spacing: -0.8px;
  margin: 20px 0 6px;
}
.login-panel > p {
  color: #58677c;
  font-size: 14px;
  margin: 0 0 24px;
}
label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  margin: 20px 0 8px;
}
input {
  width: 100%;
  height: 48px;
  border: 1px solid #aebdce;
  border-radius: 9px;
  padding: 10px 12px;
  color: #142238;
  background: #fff;
}
input:focus-visible {
  outline: 2px solid #2d64de;
  outline-offset: 2px;
}
.primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  background: #2d64de;
  color: #fff;
  border: 0;
  border-radius: 9px;
  padding: 13px 17px;
  min-height: 48px;
  font-weight: 700;
  cursor: pointer;
}
.login-panel .primary {
  width: 100%;
  margin-top: 26px;
}
.primary:hover {
  background: #2254c3;
}
.login-panel .privacy {
  font-size: 12px;
  line-height: 1.7;
  margin: 22px 0 0;
  color: #637186;
}
.notice {
  background: #fff3f1;
  color: #9d3026 !important;
  padding: 12px;
  border-radius: 8px;
}
.account {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
}
.avatar {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: #e6eeff;
  color: #2554b2;
  border-radius: 50%;
  font-weight: 700;
}
.text-button {
  border: 0;
  background: transparent;
  color: #526179;
  cursor: pointer;
  min-height: 44px;
  padding: 8px 12px;
}
.dashboard {
  max-width: 1240px;
  margin: auto;
  padding: 45px 40px 90px;
  min-height: 75vh;
}
.dashboard h1 {
  font-size: clamp(28px, 3.4vw, 42px);
  letter-spacing: -1.5px;
  line-height: 1.2;
  margin: 14px 0;
}
.subtitle {
  color: #58677c;
}
.section-label {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin: 48px 0 20px;
}
.section-label h2 {
  font-size: 18px;
  margin: 0;
}
.section-label > span {
  font-size: 12px;
  color: #637186;
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.app-card {
  background: #fff;
  border: 1px solid #dfe6f0;
  border-radius: 16px;
  padding: 27px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.app-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  background: #edf3ff;
  color: #2d64de;
  border-radius: 12px;
  font-size: 28px;
}
.badge {
  font-size: 10px;
  font-weight: 700;
  border-radius: 6px;
  padding: 5px 8px;
  white-space: nowrap;
}
.pending {
  background: #edf0f5;
  color: #506079;
}
.development {
  background: #edf3ff;
  color: #2456bb;
}
.ready {
  background: #e8f5ed;
  color: #1c6f3b;
}
.app-card h3 {
  font-size: 20px;
  letter-spacing: -0.5px;
  line-height: 1.4;
  margin: 24px 0 12px;
}
.app-card > p {
  color: #59687e;
  font-size: 13px;
  margin: 0 0 28px;
}
.card-bottom {
  margin-top: auto;
}
.card-bottom button {
  width: 100%;
}
.card-bottom button:disabled {
  border: 1px solid #e1e7ef;
  border-radius: 8px;
  min-height: 44px;
  background: #f7f9fc;
  color: #617086;
  font-size: 13px;
  font-weight: 600;
}
.card-bottom small {
  display: block;
  font-size: 11px;
  color: #68788e;
  margin-top: 12px;
}
.message-page {
  max-width: 700px;
  margin: 100px auto;
  padding: 30px;
}
.message-page .primary {
  display: inline-flex;
}
footer {
  max-width: 1240px;
  margin: auto;
  padding: 26px 40px;
  border-top: 1px solid #e1e7ef;
  color: #637186;
  font-size: 12px;
}
@media (max-width: 1000px) {
  .login-layout {
    gap: 40px;
    grid-template-columns: 1fr 400px;
  }
  .app-grid {
    gap: 15px;
  }
  .app-card {
    padding: 20px;
  }
}
@media (max-width: 800px) {
  header {
    padding: 22px;
  }
  .login-layout {
    display: block;
    padding: 28px 22px 50px;
    max-width: 500px;
    min-height: auto;
  }
  .intro {
    display: none;
  }
  .login-panel {
    padding: 28px;
  }
  .dashboard {
    padding: 26px 22px 55px;
  }
  .app-grid {
    grid-template-columns: 1fr;
  }
  .app-card {
    padding: 25px;
  }
  .account > span:not(.avatar) {
    display: none;
  }
  .dashboard h1 {
    letter-spacing: -1px;
  }
  .section-label {
    margin-top: 35px;
  }
  footer {
    padding: 24px 22px;
  }
  .brand {
    font-size: 17px;
  }
  .card-bottom small {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }
}
