:root {
  --bg: #fbfbfd;
  --ink: #101116;
  --muted: #626775;
  --line: #e7e9f0;
  --coral: #ff5c4a;
  --blue: #3979ff;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  background: linear-gradient(180deg, #ffffff 0%, var(--bg) 100%);
}

.login-shell {
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 24px;
}

.login-panel {
  width: min(440px, 100%);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 28px;
  background: white;
  box-shadow: 0 24px 70px rgba(32, 39, 61, 0.12);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 950;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  object-fit: cover;
}

.login-copy {
  margin-top: 34px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--coral);
  font-size: 12px;
  font-weight: 950;
}

h1 {
  margin: 0;
  font-size: 36px;
  line-height: 1.1;
}

p {
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.login-actions {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.login-button,
.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 16px;
  text-decoration: none;
  font-weight: 950;
  transition: transform 150ms ease, box-shadow 150ms ease, border-color 150ms ease;
}

.login-button {
  position: relative;
  color: var(--ink);
  background: white;
}

.login-button.google {
  border-color: #dadce0;
  color: #202124;
  background: #ffffff;
}

.login-button.apple {
  border-color: #111111;
  color: white;
  background: #000000;
}

.login-button:hover,
.ghost-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(32, 39, 61, 0.12);
}

.provider-icon {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  flex: 0 0 auto;
}

.google-icon {
  position: relative;
  border-radius: 50%;
  background:
    conic-gradient(from -45deg, #4285f4 0 25%, #34a853 0 50%, #fbbc05 0 75%, #ea4335 0 100%);
}

.google-icon::before {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: white;
}

.google-icon::after {
  content: "";
  position: absolute;
  right: -1px;
  top: 8px;
  width: 11px;
  height: 6px;
  border-radius: 0 0 6px 0;
  background: #4285f4;
}

.apple-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.ghost-link {
  border: 1px solid var(--line);
  color: var(--ink);
  background: white;
}
