/* landing.css — squanfleet.com sign-in page: Squan hero on the left, the sign-in card on the right */
@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600&family=Inter:wght@400;500;600&display=swap');
html, body { height: 100%; }
/* One background for the whole page; the sign-in card floats on it, right of centre */
body.sq-landing { margin: 0; min-height: 100vh; display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(340px, 30vw);
  align-items: stretch !important; justify-content: stretch !important; font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(1100px 700px at 85% 10%, rgba(0, 170, 255, .28), transparent 60%),
              radial-gradient(900px 600px at 0% 110%, rgba(242, 107, 53, .32), transparent 60%),
              linear-gradient(135deg, #060a2c 0%, #11155e 45%, #0047a0 100%) fixed !important; }
body.sq-landing > .card { grid-column: 2; grid-row: 1; align-self: center; justify-self: start; position: relative; z-index: 2;
  width: 100%; max-width: 360px; margin: 40px 0; border-radius: 16px !important; overflow: hidden;
  background: rgba(255, 255, 255, .96) !important; backdrop-filter: blur(10px);
  box-shadow: 0 30px 80px rgba(2, 6, 30, .55), 0 0 0 1px rgba(255, 255, 255, .12) !important; }
body.sq-landing > .card .card-head .sq-login-logo { display: none; }          /* the hero carries the logo */
body.sq-landing > .card .card-head { padding: 20px 26px 14px !important; }
body.sq-landing > .card .card-head h1 { font-size: 17px !important; }
body.sq-landing > .card .card-head p { font-size: 12px !important; margin-top: 4px !important; }
body.sq-landing > .card .card-body { padding: 20px 26px 22px !important; }
body.sq-landing > .card input[type=text], body.sq-landing > .card input[type=password], body.sq-landing > .card input:not([type]) { padding: 9px 12px !important; font-size: 14px !important; box-sizing: border-box !important; width: 100% !important; }
body.sq-landing > .card label { font-size: 11.5px !important; }
body.sq-landing > .card .btn, body.sq-landing > .card button[type=submit] { padding: 10px !important; font-size: 14.5px !important; }
body.sq-landing > .card [class*="alert"], body.sq-landing > .card .msg, body.sq-landing > .card .notice { font-size: 12.5px !important; padding: 8px 12px !important; }
.sq-signin-title { grid-column: 2; grid-row: 1; align-self: start; justify-self: center; margin-top: 7vh; text-align: center; color: #11155e; }

/* ── Hero ───────────────────────────────────────────────────────── */
.sq-hero { grid-column: 1 / -1; grid-row: 1; position: relative; overflow: hidden; color: #fff; display: flex; flex-direction: column; padding: 44px 6vw 34px; min-height: 100vh; box-sizing: border-box; background: transparent; }
.sq-hero .sq-main { margin-right: max(380px, 32vw); }
.sq-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 10, 44, .55), rgba(6, 10, 44, 0) 70%); pointer-events: none; }
.sq-net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .9; }
.sq-net circle { animation: sq-twinkle 6s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes sq-twinkle { 0%, 100% { opacity: .25; } 50% { opacity: 1; filter: drop-shadow(0 0 6px #8fd3ff); } }
.sq-q { position: absolute; right: 18vw; top: 50%; width: min(46vw, 640px); opacity: .06; transform: translateY(-46%) rotate(-8deg); pointer-events: none; }
.sq-hero > .sq-top, .sq-hero > .sq-main, .sq-hero > .sq-foot { position: relative; z-index: 1; }
.sq-top { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sq-top img { height: 46px; width: auto; }
.sq-link { color: #fff; text-decoration: none; font: 600 12px/1 Inter, system-ui, sans-serif; letter-spacing: .14em; text-transform: uppercase; padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px; background: rgba(255, 255, 255, .06); backdrop-filter: blur(4px); transition: background .2s, border-color .2s; white-space: nowrap; }
.sq-link:hover { background: rgba(255, 255, 255, .16); border-color: #fff; } .sq-link:focus-visible { outline: 2px solid #f26b35; outline-offset: 3px; }
.sq-main { margin: auto 0; max-width: 640px; padding: 40px 0; }
.sq-kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 12px/1 Inter, sans-serif; letter-spacing: .22em; text-transform: uppercase; color: #ffb08f; }
.sq-kicker::before { content: ""; width: 34px; height: 2px; background: #f26b35; }
.sq-hero h2 { font: 600 clamp(44px, 6.2vw, 86px)/.98 Oswald, "Arial Narrow", Impact, sans-serif; letter-spacing: .01em; text-transform: uppercase; margin: 18px 0 18px; }
.sq-hero h2 span { color: transparent; -webkit-text-stroke: 1.5px rgba(255, 255, 255, .85); }
.sq-hero p.sq-lead { font-size: clamp(16px, 1.35vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .86); max-width: 560px; margin: 0 0 28px; }
.sq-feats { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 0 0 34px; }
.sq-feats li { display: flex; align-items: center; gap: 8px; font-size: 13.5px; padding: 8px 13px; border-radius: 10px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .14); }
.sq-feats svg { width: 16px; height: 16px; flex: none; stroke: #8fd3ff; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sq-cta { display: inline-flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; padding: 14px 22px; border-radius: 10px;
  background: #f26b35; box-shadow: 0 10px 30px rgba(242, 107, 53, .35); transition: transform .15s, box-shadow .15s; }
.sq-cta:hover { transform: translateY(-1px); box-shadow: 0 14px 34px rgba(242, 107, 53, .45); } .sq-cta:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.sq-cta small { font-weight: 500; opacity: .85; }
.sq-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 12px; color: rgba(255, 255, 255, .6); letter-spacing: .04em; }
.sq-foot b { color: rgba(255, 255, 255, .85); font-weight: 600; letter-spacing: .14em; }

@media (prefers-reduced-motion: reduce) { .sq-net circle { animation: none; } .sq-cta { transition: none; } }
@media (max-width: 960px) {
  body.sq-landing { grid-template-columns: 1fr; grid-template-rows: auto auto; }
  .sq-hero { grid-column: 1; grid-row: 1; min-height: 0; padding: 22px 22px 30px; } .sq-hero .sq-main { margin-right: 0; }
  .sq-main { padding: 26px 0 6px; } .sq-hero h2 { font-size: 40px; } .sq-feats, .sq-foot, .sq-cta { display: none; } .sq-hero p.sq-lead { margin-bottom: 8px; }
  .sq-q { width: 90vw; }
  body.sq-landing > .card { grid-column: 1; grid-row: 2; justify-self: center; width: calc(100% - 40px); margin: 0 auto 32px; }
}
