/* Hub /signin page (mockup). Same tokens, fonts and button look as app.css. Design owned by Romina. */
@font-face {
  font-family: "Varela Round";
  src: url("/signin/assets/varela-round-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Nunito;
  src: url("/signin/assets/nunito-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: Nunito;
  src: url("/signin/assets/nunito-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --ivory: #f7f2e8;
  --ink: #061b33;
  --navy: #061b33;
  --muted: #3d4f66;
  --red: #e01b1b;
  --shadow: 0 1px 2px rgba(20, 33, 61, 0.06), 0 8px 24px rgba(20, 33, 61, 0.08);
  --radius: 16px;
  --column: 480px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--ivory);
  color: var(--ink);
  font-family: Nunito, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.5;
}

h1 {
  font-family: "Varela Round", Nunito, sans-serif;
  font-weight: 400;
  font-size: 2rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 8px;
  color: var(--ink);
}

p { margin: 0 0 10px; }
a { color: #1764b4; }
img { max-width: 100%; }

.topbar { background: var(--navy); color: #fff; }

.topbar-inner,
.wrap {
  width: min(var(--column), 100%);
  margin: 0 auto;
}

.topbar-inner { min-height: 56px; padding: 8px 16px; display: flex; align-items: center; }

.brand { display: inline-flex; align-items: center; min-height: 44px; min-width: 0; color: #fff; text-decoration: none; }
.brand img { height: 40px; width: auto; max-width: 46vw; display: block; }

.wrap { padding: 24px 16px 40px; }

.signin-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 24px 20px;
}

.eyebrow { margin: 0 0 4px; font-weight: 800; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.lede { color: var(--muted); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  margin-top: 14px;
  border: 0;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: 800 1.05rem Nunito, sans-serif;
  text-decoration: none;
  padding: 12px 18px;
}

.button:hover { background: #c41414; }
.button.secondary { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.button.secondary:hover { background: #fff; }
.button:focus-visible, a:focus-visible { outline: 3px solid #1764b4; outline-offset: 2px; }

.fine { margin: 16px 0 0; font-size: 0.9rem; color: var(--muted); text-align: center; }
.manage { margin: 20px 0 0; font-size: 0.85rem; text-align: center; }
.manage a { color: var(--muted); }
