:root {
  color-scheme: light;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #064c32;
  color: #0c241a;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }

body {
  min-width: 320px;
  margin: 0;
  background:
    radial-gradient(circle at 88% 100%, rgba(58, 123, 94, .7), transparent 38rem),
    radial-gradient(circle at 8% 0%, rgba(41, 111, 80, .6), transparent 33rem),
    #064c32;
}

a { color: inherit; }
a:focus-visible { outline: 3px solid #f6c843; outline-offset: 4px; }

.skip-link {
  position: fixed; top: 12px; left: 12px; z-index: 2; padding: 10px 14px;
  transform: translateY(-160%); border-radius: 8px; background: #fff; color: #064c32; font-weight: 700;
}
.skip-link:focus { transform: translateY(0); }

.page-shell {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: min(100% - 32px, 460px); min-height: 100dvh; margin: 0 auto; padding: 24px 0;
}

.login-card {
  width: 100%; padding: clamp(28px, 6vw, 40px); border: 1px solid #b6d3c3;
  border-radius: 20px; background: rgba(255, 255, 255, .96); box-shadow: 0 20px 50px rgba(11, 53, 35, .16);
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: #064c32; text-decoration: none; font-size: 1.35rem; font-weight: 800; letter-spacing: -.04em; }
.brand-mark { width: 38px; height: 38px; }
.copy { margin: 30px 0 26px; }

.eyebrow { margin: 0 0 10px; color: #176848; font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
h1 { margin: 0; font-family: Georgia, "Times New Roman", serif; font-size: clamp(2.55rem, 10vw, 3.8rem); font-weight: 700; letter-spacing: -.06em; line-height: .94; }
.copy > p:last-child { max-width: 31rem; margin: 20px 0 0; color: #385648; font-size: clamp(1rem, 2.8vw, 1.13rem); line-height: 1.55; }

.login-action {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 60px;
  padding: 14px 18px 14px 22px; border-radius: 12px; background: #064c32; box-shadow: 0 10px 20px rgba(6, 76, 50, .17);
  color: #fff; font-weight: 800; text-decoration: none;
}
.login-action:hover { background: #0a6040; }
.login-action span:last-child { font-size: 1.45rem; line-height: 1; }

.new-account { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; color: #526d60; font-size: .94rem; }
.new-account a { color: #064c32; font-weight: 800; text-underline-offset: 3px; white-space: nowrap; }
.new-account a span { padding-left: 3px; font-size: 1.15rem; }
.new-to-poko { margin: 22px 0 0; color: #526d60; font-size: .88rem; line-height: 1.5; }
.new-to-poko a { color: #064c32; font-weight: 700; text-underline-offset: 3px; }
.site-footer { display: flex; justify-content: center; gap: 18px; margin-top: 16px; color: #d8ebe0; font-size: .78rem; }
.site-footer a { text-underline-offset: 3px; }

@media (max-width: 420px) {
  .page-shell { width: min(100% - 24px, 460px); padding: 16px 0; }
  .login-card { border-radius: 18px; }
  .copy { margin-top: 26px; }
  .new-account { align-items: flex-start; flex-direction: column; gap: 6px; }
}
