:root {
  color-scheme: light;
  --page-bg: #f6f6f4;
  --surface: #ffffff;
  --ink: #202427;
  --body: #50575e;
  --secondary: #7b8289;
  --border: #e3e5e5;
  --accent: #d45d43;
  --focus: #344b66;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
html { min-height: 100%; }
body { min-height: 100vh; margin: 0; background: var(--page-bg); color: var(--ink); }
button, input { font: inherit; }
a { color: inherit; }
.page { min-height: 100vh; display: flex; flex-direction: column; }

.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.header-inner {
  max-width: 1180px;
  height: 80px;
  margin: 0 auto;
  padding: 0 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.brand img { display: block; flex: 0 0 auto; }
.brand-name { font-size: 22px; font-weight: 750; letter-spacing: -.06em; line-height: 1; }
.brand-name span { font-weight: 450; }
.header-right { display: flex; gap: 20px; align-items: center; font-size: 12px; color: #666e76; }
.header-rule { width: 1px; height: 17px; background: var(--border); }
.health { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.health-dot { width: 7px; height: 7px; background: #a2a9ac; border-radius: 50%; }
.health-dot.online { background: #31996b; }
.health-dot.offline { background: #bb6d49; }

.main {
  width: 100%;
  max-width: 1180px;
  margin: auto;
  padding: 96px 36px 114px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 430px;
  gap: clamp(52px, 8vw, 145px);
  align-items: center;
}
.introduction { padding-bottom: 18px; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 29px; font-size: 12px; font-weight: 650; color: #555e65; letter-spacing: .025em; }
.eyebrow-mark { display: inline-block; width: 19px; height: 3px; background: var(--accent); border-radius: 1px; }
.introduction h1 { max-width: 640px; margin: 0 0 24px; font-size: clamp(40px, 4.4vw, 59px); line-height: 1.12; letter-spacing: -.052em; font-weight: 680; }
.intro-text { max-width: 520px; margin: 0; font-size: 16px; line-height: 1.8; color: var(--body); }
.access-information { display: flex; gap: 17px; max-width: 515px; margin-top: 54px; padding-top: 24px; border-top: 1px solid #d9dcdc; }
.info-icon { display: grid; place-items: center; flex: 0 0 38px; width: 38px; height: 38px; color: #616a71; border: 1px solid #d9dcdc; border-radius: 8px; }
.access-information h2 { margin: 0 0 8px; font-size: 14px; letter-spacing: -.01em; font-weight: 650; }
.access-information p { margin: 0; max-width: 410px; font-size: 13px; line-height: 1.75; color: #747b81; }

.login-card { width: 100%; background: var(--surface); border: 1px solid #e0e2e2; border-radius: 10px; padding: 39px 40px 0; box-shadow: 0 8px 27px rgba(33, 41, 45, .035); }
.card-label { color: #737c83; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.card-heading h2 { margin: 13px 0 9px; font-size: 27px; line-height: 1.25; font-weight: 680; letter-spacing: -.035em; }
.card-heading p { margin: 0 0 31px; color: #7a8188; font-size: 13px; line-height: 1.55; }
.form-field { display: flex; flex-direction: column; gap: 9px; margin-bottom: 19px; }
.form-field label { font-size: 12px; color: #343b42; font-weight: 600; }
.form-field input { width: 100%; height: 46px; padding: 0 14px; border: 1px solid #d6dbdf; border-radius: 6px; outline: none; background: #fff; color: var(--ink); font-size: 14px; transition: border-color .14s, box-shadow .14s; }
.form-field input::placeholder { color: #a2a8ad; }
.form-field input:focus { border-color: var(--focus); box-shadow: 0 0 0 3px rgba(52, 75, 102, .11); }
.form-message { margin: -2px 0 0; font-size: 12px; line-height: 1.55; color: #b94033; }
.form-message:not(:empty) { margin-bottom: 15px; }
#submit-button { width: 100%; min-height: 46px; display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 11px 0 33px; padding: 11px 15px; background: #22292e; color: #fff; border: 1px solid #22292e; border-radius: 6px; font-size: 13px; font-weight: 620; cursor: pointer; transition: background .14s, border-color .14s; }
#submit-button:hover { background: #363f46; border-color: #363f46; }
#submit-button:focus-visible { outline: 3px solid #abc0d5; outline-offset: 2px; }
#submit-button:disabled { opacity: .75; cursor: default; }
.card-footnote { display: flex; align-items: center; gap: 10px; min-height: 64px; margin: 0 -40px; padding: 15px 40px; background: #fafafa; border-top: 1px solid #eceeee; border-radius: 0 0 10px 10px; color: #7b8388; font-size: 11px; line-height: 1.5; }
.card-footnote svg { flex: 0 0 auto; }
.login-help { margin: 20px 0 0; text-align: center; color: #848b8e; font-size: 12px; line-height: 1.6; }

.footer { max-width: 1108px; width: calc(100% - 72px); display: flex; gap: 24px; align-items: center; justify-content: space-between; margin: 0 auto; padding: 22px 0 26px; border-top: 1px solid #dedfde; color: #8b9295; font-size: 11px; }
@media (max-width: 900px) {
  .main { grid-template-columns: minmax(0, 1fr) 390px; gap: 36px; padding-top: 75px; padding-bottom: 80px; }
  .introduction h1 { font-size: 42px; }
  .login-card { padding: 34px 29px 0; }
  .card-footnote { margin: 0 -29px; padding-left: 29px; padding-right: 29px; }
}
@media (max-width: 760px) {
  .header-inner { height: 72px; padding: 0 24px; }
  .main { grid-template-columns: 1fr; gap: 49px; max-width: 600px; padding: 70px 24px 78px; }
  .introduction { padding-bottom: 0; }
  .introduction h1 { font-size: clamp(39px, 8vw, 51px); }
  .access-information { margin-top: 34px; }
  .footer { width: calc(100% - 48px); }
}
@media (max-width: 480px) {
  .header-inner { padding: 0 18px; }
  .brand-name { font-size: 21px; }
  .header-label, .header-rule { display: none; }
  .header-right { font-size: 11px; }
  .main { padding: 58px 18px 63px; gap: 39px; }
  .eyebrow { margin-bottom: 22px; font-size: 11px; }
  .introduction h1 { font-size: 38px; }
  .intro-text { font-size: 14px; line-height: 1.7; }
  .access-information { padding-top: 20px; }
  .login-card { padding: 28px 23px 0; }
  .card-heading h2 { font-size: 25px; }
  .card-footnote { margin: 0 -23px; padding-left: 23px; padding-right: 23px; }
  .footer { width: calc(100% - 36px); flex-wrap: wrap; gap: 9px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
