@font-face {
  font-family: "LINE Seed EN";
  src: url("/auth/en-regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "LINE Seed KR";
  src: url("/auth/ko-regular.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "LINE Seed JP";
  src: url("/auth/ja-regular.woff2") format("woff2");
  font-display: swap;
}
:root {
  color-scheme: light;
  --paper: #f2f7fa;
  --surface: #ffffff;
  --ink: #193747;
  --line: #c4d7e0;
  --muted: #526f80;
  --button: #1d526a;
}
:root[data-theme="night"] {
  color-scheme: dark;
  --paper: #101f2d;
  --surface: #162e3e;
  --ink: #e3edf2;
  --line: #365064;
  --muted: #acbecb;
  --button: #b8d9e9;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: 24px;
  background: var(--paper);
  color: var(--ink);
  font:
    17px/1.8 "LINE Seed EN",
    "LINE Seed KR",
    "LINE Seed JP",
    sans-serif;
}
html:lang(ja) body {
  font-family: "LINE Seed EN", "LINE Seed JP", "LINE Seed KR", sans-serif;
}
main {
  width: 100%;
  max-width: 520px;
  margin: auto;
  padding: clamp(24px, 6vw, 56px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface);
}
.brand {
  font-size: 22px;
  margin-top: 0;
}
.brand span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 0.18em;
}
h1 {
  font-size: clamp(25px, 5vw, 34px);
  line-height: 1.4;
  margin: 40px 0 16px;
}
p {
  color: var(--muted);
}
a {
  color: inherit;
}
.button,
button {
  display: block;
  width: 100%;
  margin: 32px 0;
  min-height: 48px;
  padding: 12px 16px;
  text-align: center;
  background: var(--button);
  color: var(--paper);
  border: 0;
  border-radius: 12px;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}
nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 14px;
}
:focus-visible {
  outline: 3px solid var(--muted);
  outline-offset: 4px;
}
