/* ============================================================
   SylanOps - the sign-in screen
   A standalone page: no site header, no footer, just the card
   on a soft field of colour.
   ============================================================ */

.signin-body { background: #f7fbfe; }

.signin {
  position: relative; min-height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; align-items: center;
  padding: 2.6rem 1.5rem 2rem;
  background:
    radial-gradient(1100px 520px at 50% -8%, #ffffff 0%, rgba(255, 255, 255, 0) 60%),
    linear-gradient(160deg, #f4faff 0%, #f7fbfe 45%, #f2fbfb 100%);
}

/* ---------- close, back to the public site ---------- */
.signin-close {
  position: absolute; top: 1.4rem; right: 1.5rem; z-index: 2;
  display: grid; place-items: center; width: 38px; height: 38px;
  border-radius: 50%; color: #5b7186; background: rgba(255, 255, 255, .7);
  border: 1px solid #e4edf6; box-shadow: 0 6px 16px rgba(23, 63, 105, .07);
  transition: color .15s ease, background .15s ease, border-color .15s ease, transform .15s ease;
}
.signin-close svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.signin-close:hover { color: #0f2743; background: #fff; border-color: #d8e5f0; transform: rotate(90deg); }

/* ---------- the shapes ---------- */
.signin-blobs { position: absolute; inset: 0; pointer-events: none; }
.sb { position: absolute; border-radius: 50%; }
.sb-tl {
  width: 420px; height: 420px; top: -215px; left: -120px;
  background: radial-gradient(circle at 55% 60%, #cfe0fb 0%, rgba(216, 233, 252, .55) 55%, rgba(255, 255, 255, 0) 72%);
}
.sb-bl {
  width: 640px; height: 520px; left: -220px; bottom: -240px; border-radius: 50% 50% 46% 54%;
  background: radial-gradient(circle at 60% 35%, #cdeaf0 0%, rgba(205, 234, 240, .5) 50%, rgba(255, 255, 255, 0) 74%);
}
.sb-br {
  width: 460px; height: 400px; right: -190px; bottom: -180px;
  background: radial-gradient(circle at 40% 40%, #d6e6fb 0%, rgba(214, 230, 251, .5) 55%, rgba(255, 255, 255, 0) 75%);
}
.sb-dot {
  width: 74px; height: 74px; top: 44px; right: 96px;
  background: radial-gradient(circle at 40% 40%, #eaf3fd, rgba(234, 243, 253, 0) 72%);
}
.sb-arc { position: absolute; width: 330px; height: 330px; top: 130px; right: -110px; }
.sb-arc-2 { width: 260px; height: 260px; top: 175px; right: -70px; }

/* ---------- brand ---------- */
.signin-brand { position: relative; z-index: 1; text-align: center; margin-bottom: 1.25rem; }
.signin-brand img { height: 50px; width: auto; margin: 0 auto .5rem; }
.signin-brand p { margin: 0; font-size: .88rem; color: #5b7186; }

/* ---------- the three columns ---------- */
.signin-stage {
  position: relative; z-index: 1; width: 100%; max-width: 1360px;
  display: grid; grid-template-columns: 1fr minmax(0, 540px) 1fr;
  align-items: center; gap: 2rem;
}

.signin-pitch { justify-self: start; padding-left: 0; }
.signin-pitch h1 {
  font-size: clamp(2rem, 3.35vw, 3.16rem); font-weight: 800; letter-spacing: -.035em;
  line-height: 1.1; margin: 0 0 1.05rem; color: #0f2743;
}
.signin-pitch h1 .hl { color: var(--cyan); }
.pitch-rule { display: block; width: 52px; height: 4px; border-radius: 4px; background: var(--blue); margin-bottom: 1.2rem; }
.signin-pitch p { margin: 0; color: #5b7186; font-size: 1rem; line-height: 1.6; }

/* ---------- the card ---------- */
.signin-card {
  background: #fff; border-radius: 18px; padding: 1.85rem 1.95rem 1.65rem;
  box-shadow: 0 24px 60px rgba(23, 63, 105, .10), 0 2px 6px rgba(23, 63, 105, .04);
}
.signin-card h2 { font-size: 1.72rem; font-weight: 800; letter-spacing: -.02em; text-align: center; margin: 0 0 .35rem; color: #0f2743; }
.signin-sub { text-align: center; font-size: .74rem; color: #6b8199; margin: 0 0 1.35rem; }

.sf-field { margin-bottom: .8rem; }
.sf-field label { display: block; font-size: .72rem; font-weight: 600; color: #26405a; margin-bottom: .32rem; }

.sf-input { position: relative; display: flex; align-items: center; }
.sf-input input {
  width: 100%; font: inherit; font-size: .8rem; color: var(--ink);
  padding: .7rem 2.4rem .7rem 2.6rem;
  background: #f4f8fc; border: 1px solid #e4edf6; border-radius: 11px;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.sf-input input::placeholder { color: #9db2c6; }
.sf-input input:focus { outline: none; background: #fff; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 111, 235, .13); }
.sf-ico { position: absolute; left: .9rem; display: inline-flex; color: #8ba3ba; pointer-events: none; }
.sf-ico svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; }
.sf-toggle {
  position: absolute; right: .55rem; display: inline-flex; padding: .35rem; cursor: pointer;
  background: none; border: 0; color: #8ba3ba; border-radius: 8px;
}
.sf-toggle:hover { color: #26405a; background: #edf3f9; }
.sf-toggle svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.7; }

.sf-row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin: .1rem 0 .95rem; }
.sf-check { display: inline-flex; align-items: center; gap: .45rem; font-size: .74rem; color: #5b7186; cursor: pointer; }
.sf-check input { width: 15px; height: 15px; accent-color: var(--blue); cursor: pointer; }
.sf-forgot { font-size: .74rem; font-weight: 500; color: var(--blue); }

.sf-submit {
  display: flex; align-items: center; justify-content: center; gap: .6rem; width: 100%;
  padding: .82rem 1rem; border: 0; border-radius: 12px; cursor: pointer;
  background: linear-gradient(95deg, #1f6feb 0%, #1899c9 55%, #10b3b3 100%); color: #fff;
  font: inherit; font-size: .92rem; font-weight: 700;
  box-shadow: 0 12px 26px rgba(24, 122, 200, .32);
  transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}
.sf-submit:hover { transform: translateY(-1px); box-shadow: 0 16px 32px rgba(24, 122, 200, .38); filter: saturate(1.05); }
.sf-submit svg { width: 17px; height: 17px; stroke: currentColor; fill: none; stroke-width: 1.8; }

.sf-or { display: flex; align-items: center; gap: 1rem; margin: .85rem 0 .75rem; color: #9db2c6; }
.sf-or::before, .sf-or::after { content: ''; flex: 1; height: 1px; background: #e6eef6; }
.sf-or span { font-size: .66rem; font-weight: 700; letter-spacing: .1em; }

.sf-foot { margin: 0; text-align: center; font-size: .71rem; color: #6b8199; white-space: nowrap; }
.sf-foot a { color: var(--blue); font-weight: 500; }

/* ---------- handwriting ---------- */
.signin-note { justify-self: end; align-self: end; padding: 0 clamp(0rem, 3vw, 3.5rem) 1.5rem 0; }
.signin-note .script { font-size: 1.62rem; color: #12233c; }
.signin-note .swoosh { width: 144px; height: 25px; color: #0aaed8; margin: 0 0 0 2rem; }

/* ---------- the three marks along the bottom ---------- */
.signin-marks {
  position: relative; z-index: 1; list-style: none; margin: 2.1rem 0 0; padding: 0;
  display: flex; align-items: center; justify-content: center; gap: 0;
}
.signin-marks li {
  display: flex; align-items: center; gap: .7rem;
  padding: 0 1.7rem; font-size: .76rem; font-weight: 500; line-height: 1.32; color: #4a6076;
}
.signin-marks li + li { border-left: 1px solid #dee9f2; }
/* The tile styles live with the sections; this page needs its own copy. */
.signin-marks .tile {
  width: 44px; height: 44px; flex: none; border-radius: 50%;
  display: grid; place-items: center; color: var(--tone, var(--blue));
  background: linear-gradient(150deg, var(--tone-soft-2, #eff6ff), var(--tone-soft, #dbeafe));
}
.signin-marks .tile svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.7; }

/* ---------- narrower screens ----------
   A laptop with Windows display scaling turned up (125-150%, common on
   this machine's panel) reports a CSS width well under its physical
   pixel count, so this range covers real laptops, not just tablets.
   The note stays on screen - it moves below the card instead of
   vanishing - down to phone widths. */
@media (max-width: 1100px) {
  .signin-stage { grid-template-columns: minmax(0, 540px); justify-content: center; }
  .signin-pitch { display: none; }
  .signin-note {
    justify-self: center; align-self: auto; text-align: center;
    padding: .4rem 0 0; margin-top: -.2rem;
  }
  .signin-note .swoosh { margin: 0 auto; }
}
@media (max-width: 620px) {
  .signin { padding: 2rem 1.1rem 1.6rem; }
  .signin-card { padding: 1.6rem 1.4rem 1.5rem; }
  .signin-marks { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .signin-marks li { padding: 0; }
  .signin-marks li + li { border-left: 0; }
  .signin-note { display: none; }
  /* readable on a phone, and the small links easy to tap */
  .signin-sub { font-size: .82rem; }
  .sf-field label { font-size: .8rem; }
  .sf-forgot { font-size: .82rem; display: inline-flex; align-items: center; min-height: 40px; }
  .sf-row { font-size: .82rem; }
  .sf-row input[type="checkbox"] { width: 20px; height: 20px; }
  .sf-foot { font-size: .8rem; white-space: normal; }
  .sf-foot a { display: inline-block; padding: .5rem .1rem; }
}
