:root {
  --navy: #0b1524;
  --navy2: #122238;
  --ink: #0f172a;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #f5f7fa;
  --white: #fff;
  --teal: #0ea5a4;
  --teal-d: #0b7f7e;
  --amber: #f59e0b;
  --radius: 18px;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.35; margin: 0; letter-spacing: 0.01em; }
p { margin: 0; }
button, input { font: inherit; }

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--teal-d);
  margin-bottom: 10px;
}
.eyebrow.light { color: #7ee7e5; }
.muted { color: var(--muted); }
.fine { font-size: 12px; color: var(--muted); line-height: 1.6; }

.logo { width: 40px; height: 40px; flex: none; }

/* ---------- Login ---------- */
.login-page { background: var(--navy); }

.login-wrap {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  min-height: 100vh;
}

.brand-panel {
  position: relative;
  padding: 64px;
  color: #e7eef7;
  background:
    radial-gradient(900px 500px at 85% 10%, rgba(14, 165, 164, 0.28), transparent 60%),
    linear-gradient(160deg, #0b1524 0%, #102033 55%, #0b1524 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
/* grid lines removed */
.brand-panel > * { position: relative; z-index: 1; }

.brand-top {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 56px;
}
.brand-top .logo { width: 44px; height: 44px; }

.brand-panel h1 {
  font-size: clamp(30px, 3.4vw, 46px);
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 22px;
}
.brand-panel > p {
  color: #a9b8ca;
  max-width: 30em;
  font-size: 15px;
}
.brand-points {
  list-style: none;
  padding: 0;
  margin: 40px 0 0;
  display: grid;
  gap: 14px;
}
.brand-points li {
  position: relative;
  padding-left: 30px;
  color: #d6e2ef;
  font-size: 14px;
}
.brand-points li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 9px;
  width: 12px;
  height: 7px;
  border-left: 2px solid var(--teal);
  border-bottom: 2px solid var(--teal);
  transform: rotate(-45deg);
}
.brand-foot {
  margin-top: 56px !important;
  font-size: 12px !important;
  letter-spacing: 0.08em;
  color: #6f8199 !important;
}

.login-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 64px clamp(28px, 6vw, 88px);
}
.login-card h2 { font-size: 26px; margin-bottom: 8px; }
.login-card form { margin-top: 28px; display: grid; gap: 10px; }
.login-card label { font-size: 13px; font-weight: 700; color: #334155; }
.login-card input {
  width: 100%;
  padding: 15px 16px;
  border: 1px solid #cbd5e1;
  border-radius: 12px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.login-card input:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 165, 164, 0.16);
}

.btn-primary {
  margin-top: 8px;
  background: var(--teal);
  color: #fff;
  border: 0;
  border-radius: 12px;
  padding: 15px 20px;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s, transform 0.1s;
}
.btn-primary:hover { background: var(--teal-d); }
.btn-primary:active { transform: translateY(1px); }

.error {
  margin-top: 18px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: 13px;
}
.demo-hint {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}
.demo-hint code {
  background: #eef2f7;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 13px;
  color: #0f172a;
}
.login-card .fine { margin-top: 34px; }
