:root {
  --ink: #f4f2e9;
  --muted: rgba(244, 242, 233, 0.66);
  --panel: rgba(16, 31, 23, 0.78);
  --line: rgba(255, 255, 255, 0.16);
  --green: #0fa95a;
  --yellow: #fee500;
}

* { box-sizing: border-box; }

html, body { min-height: 100%; }
html { background: #fff; }

body {
  margin: 0 auto;
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  background: #10261b;
  font-family: "Pretendard", "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
}

button, a { font: inherit; }

.scene {
  position: fixed;
  inset: 0;
  width: min(100%, 460px);
  margin-inline: auto;
}

.scene {
  background: url("./assets/korean-clear-farmroad-v7.png") center center / cover no-repeat;
}

.site-header {
  position: fixed;
  z-index: 2;
  top: 0;
  left: 0;
  right: 0;
  max-width: 460px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  padding: 24px;
}

.brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 9px;
  color: #fff;
  text-decoration: none;
}

.brand-grid {
  width: 24px;
  height: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  margin-right: 3px;
}

.brand-grid i {
  border: 1.5px solid rgba(255, 255, 255, 0.92);
  border-radius: 1px;
}

.brand-grid i:nth-child(2),
.brand-grid i:nth-child(3) { background: rgba(255, 255, 255, 0.9); }

.brand-name {
  font: 700 23px/1 "Arial", sans-serif;
  letter-spacing: 0.14em;
}

.brand-number {
  font: 400 11px/1 "Arial", sans-serif;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.72);
}

.brand-caption {
  display: none;
  margin-left: 18px;
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.58);
  font-size: 9px;
  letter-spacing: 0.28em;
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 26px;
  padding: 100px 20px 58px;
}

.brand-message {
  width: min(100%, 460px);
  align-self: center;
  padding: 0;
  text-shadow: 0 1px 3px rgba(6, 16, 11, 0.85), 0 0 1px #10261b;
}

.brand-message p {
  margin: 0 0 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.68);
}

.brand-message h1 {
  margin: 0;
  font-size: clamp(34px, 11vw, 44px);
  line-height: 1.12;
  letter-spacing: -0.055em;
  font-weight: 500;
}

.login-card {
  width: 100%;
  max-width: 460px;
  padding: 30px 24px 24px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--panel);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px) saturate(105%);
  -webkit-backdrop-filter: blur(18px) saturate(105%);
}

.card-head { margin-bottom: 22px; }

.eyebrow {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.3em;
}

.login-card h2 {
  margin: 0;
  font-size: 30px;
  line-height: 1.25;
  letter-spacing: -0.04em;
  font-weight: 600;
}

.desc {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.actions { display: flex; justify-content: center; gap: 20px; }

.social-btn {
  flex: 0 0 52px;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 1px solid transparent;
  border-radius: 50%;
  padding: 13px;
  color: #111;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease, border-color 160ms ease;
}

.social-btn svg { display: block; width: 26px; height: 26px; }

.social-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.social-btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.naver { background: var(--green); color: #fff; }
.kakao { background: var(--yellow); }
.google { background: rgba(255, 255, 255, 0.96); }

.status {
  min-height: 20px;
  margin: 14px 0 0;
  color: #ffb4a9;
  font-size: 12px;
  line-height: 1.5;
}

.signup-note {
  margin: 8px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
}

.site-footer {
  position: fixed;
  z-index: 2;
  left: 4.5vw;
  right: 4.5vw;
  bottom: 28px;
  display: none;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.42);
  font-size: 8px;
  letter-spacing: 0.24em;
}
