:root {
  color-scheme: light;
  font: 16px/1.5 "Segoe UI", system-ui, sans-serif;
  color: #17283a;
  background: #edf1f4;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100svh; display: grid; place-items: center; padding: 32px; }
.entrance {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  width: min(100%, 1080px);
  min-height: 560px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce5eb;
  border-radius: 28px;
  box-shadow: 0 20px 70px #17283a14;
}

.welcome {
  display: grid;
  align-content: start;
  gap: 38px;
  padding: clamp(32px, 5vw, 68px);
  background: radial-gradient(ellipse at 90% 15%, #234a59, transparent 70%), #16293b;
  color: #f4f8fb;
}

.brand { display: flex; gap: 12px; align-items: center; margin: 0; font-weight: 720; font-size: 1.45rem; letter-spacing: -.035em; }
.brand-icon {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  gap: 3px;
  padding: 9px;
  border-radius: 10px;
  background: #b5f0d9;
}
.brand-icon i { background: #19443f; width: 7px; height: 7px; border-radius: 2px; }
.brand-icon i:nth-child(2) { opacity: .43; }
h2 { margin: 0; font-size: clamp(2rem, 4.2vw, 3.35rem); line-height: 1.08; letter-spacing: -.055em; }
.intro p { color: #c5d5df; max-width: 37ch; margin: 16px 0 0; }

.preview { margin: 0; padding: 14px 16px 9px; background: #f8fafc; border-radius: 15px; color: #223a4b; box-shadow: 0 12px 36px #06162435; }
.preview figcaption { display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; font-size: .875rem; font-weight: 680; margin-bottom: 10px; }
.preview-tag { background: #d9f5e7; color: #22573f; padding: 3px 9px; border-radius: 20px; font-size: .75rem; }
.preview table { width: 100%; border-collapse: collapse; text-align: center; font: inherit; font-size: .8rem; font-variant-numeric: tabular-nums; }
.preview th, .preview td { border-top: 1px solid #e1e9ef; padding: 9px 2px; }
.preview th:first-child { text-align: left; }
.preview thead th { color: #465d70; }
.preview td:last-child { color: #27634e; font-weight: 700; }

.signin { display: grid; align-items: center; padding: clamp(28px, 5vw, 68px); }
.signin-content { width: 100%; max-width: 360px; margin: auto; }
h1 { margin: 0; font-size: clamp(1.8rem, 3vw, 2.45rem); line-height: 1.15; letter-spacing: -.045em; }
.signin-content > p { margin: 10px 0 28px; color: #506475; }
form { display: grid; gap: 8px; }
label { font-size: .9rem; font-weight: 630; }
input, button { font: inherit; }
input {
  min-width: 0;
  min-height: 50px;
  margin-bottom: 10px;
  padding: 11px 13px;
  border: 1px solid #aabac6;
  border-radius: 9px;
  color: #17283a;
  background: #fff;
}
button {
  margin-top: 6px;
  min-height: 50px;
  background: #12614f;
  color: #fff;
  border: 0;
  border-radius: 9px;
  font-weight: 690;
  cursor: pointer;
}
button:hover { background: #0f5143; }
input:focus-visible, button:focus-visible { outline: 3px solid #167a67; outline-offset: 3px; }
.notice { margin: -10px 0 16px; border-radius: 9px; padding: 10px 12px; color: #812c27; background: #fff0ee; font-size: .9rem; }

@media (max-width: 760px) {
  body { padding: 16px; align-items: start; }
  .entrance { grid-template-columns: 1fr; min-height: auto; border-radius: 20px; }
  .welcome { padding: 24px; gap: 0; }
  .intro, .preview { display: none; }
  .signin { padding: 32px 24px 36px; align-items: start; }
}

