@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap");

/* ————————————————————————————————
   Tokens — pulled from allylawson.com/app.css
   ———————————————————————————————— */
:root {
  --bg:          #FFFFFF;
  --ink:         #111029;
  --ink-soft:    #6B6B6B;
  --ink-faint:   #9F9FA9;
  --accent:      #4C40F7;
  --dark:        #00113B;
  --line:        #DBDEE1;
  --line-soft:   #EFEFEF;
  --error:       #C0392B;
  --error-soft:  #FBEAEA;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Poppins', sans-serif;
  -webkit-font-smoothing: antialiased;
}

/* ————————————————————————————————
   Signature — concentric circle outlines,
   echoing .work__circles on the main site
   ———————————————————————————————— */
.circles {
  position: fixed;
  top: 50%;
  right: -420px;
  transform: translateY(-50%);
  width: 1024px;
  height: 1024px;
  border-radius: 50%;
  border: 1px solid rgba(17, 16, 41, 0.08);
  pointer-events: none;
  z-index: 0;
}

.circles:before,
.circles:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1px solid rgba(17, 16, 41, 0.08);
}

.circles:before { width: 700px; height: 700px; }
.circles:after   { width: 1420px; height: 1420px; }

/* ————————————————————————————————
   Layout
   ———————————————————————————————— */
.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 48px 32px;
}

.masthead {
  max-width: 420px;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 56px;
}

.mark {
  display: inline-block;
  text-decoration: none;
}

.mark img {
  display: block;
  height: 48px;
  width: auto;
}

.tagline {
  margin: 14px 0 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--accent);
  letter-spacing: 0.01em;
}

main.entry {
  max-width: 420px;
  margin: auto auto;
  width: 100%;
  animation: rise 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 16px;
}

.title {
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 2.4rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.dek {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink-soft);
  margin: 0 0 40px;
  max-width: 36ch;
}

/* ————————————————————————————————
   Form
   ———————————————————————————————— */
.form { display: flex; flex-direction: column; gap: 24px; }

.field { display: flex; flex-direction: column; gap: 8px; }

label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--ink);
}

.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

input[type="password"],
input[type="text"] {
  width: 100%;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  color: var(--ink);
  background: var(--line-soft);
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 16px 52px 16px 18px;
  transition: border-color 0.15s ease, background 0.15s ease;
}

input[type="password"]::placeholder { color: var(--ink-faint); }

input[type="password"]:hover {
  border-color: var(--line);
}

input[type="password"]:focus-visible {
  outline: none;
  background: #fff;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(76, 64, 247, 0.12);
}

.toggle {
  position: absolute;
  right: 16px;
  background: none;
  border: none;
  font-family: 'Poppins', sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--ink-faint);
  cursor: pointer;
}

.toggle:hover { color: var(--accent); }

/* Button — matches .btn / .btn_purple from the main site */
.btn {
  min-width: 240px;
  height: 64px;
  border-radius: 18px;
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.25s;
  margin-top: 4px;
}

.btn_purple {
  background: var(--accent);
  color: #fff;
}

.btn_purple:hover { transform: translateY(-2px); }
.btn_purple:active { transform: translateY(2px); }

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.error {
  font-size: 0.85rem;
  color: var(--error);
  background: var(--error-soft);
  padding: 12px 16px;
  border-radius: 12px;
  margin: 0;
}

/* ————————————————————————————————
   Motion
   ———————————————————————————————— */
@keyframes rise {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  main.entry { animation: none; }
}

/* ————————————————————————————————
   Small screens
   ———————————————————————————————— */
@media (max-width: 480px) {
  .page { padding: 32px 24px; }
  .title { font-size: 1.7rem; }
  .btn { width: 100%; min-width: 0; }
  .circles { right: -520px; }
}
