/* Log-in pages only (spec 008 FR-33, design B chosen 13 Nov 2026).
   Colours and shapes from the ActOn card page; every page after log-in uses site.css (DESIGN.md). */
@font-face {
  font-family: "Outfit";
  src: url("fonts/Outfit-latin.woff2") format("woff2");  /* stored in the site: works without internet (OFL licence: fonts/OFL.txt) */
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --bg: #0B0B0C; --card: #141416; --line: #2A2A2E; --text: #F4F4F5; --muted: #A1A1AA;
  --cyan: #4FB6DD; --magenta: #D6187A;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: Outfit, system-ui, Arial, sans-serif; color: var(--text); background: var(--card); font-size: 15px; }
a { color: var(--cyan); }
.wrap { display: grid; grid-template-columns: 48% 1fr; min-height: 100vh; }

/* Left: brand panel */
.brand { position: relative; overflow: hidden; background: var(--bg); padding: 56px; display: flex; flex-direction: column;
  justify-content: space-between; gap: 32px; }
.brand > * { position: relative; }
.brand .logo { height: 54px; align-self: flex-start; }
.brand .o { position: absolute; right: -70px; top: 120px; width: 220px; height: 220px; border: 28px solid var(--cyan); border-radius: 56px; }
.brand .a { position: absolute; right: 0; bottom: 0; width: 150px; height: 190px; fill: var(--magenta); }
.brand .name { font-size: 40px; font-weight: 700; line-height: 1.1; margin: 0 0 14px; }
.brand .lead .muted { font-size: 16px; line-height: 1.5; max-width: 360px; margin: 0; }
.steps { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 26px; }
.steps span { border: 1px solid var(--line); border-radius: 999px; padding: 6px 13px; font-size: 13px; background: var(--card); }
.company { display: flex; flex-wrap: wrap; gap: 16px 26px; color: var(--muted); font-size: 12.5px; line-height: 1.6; }
.company > div { width: 250px; }
.company b { color: var(--text); font-weight: 600; }
.muted, .hint { color: var(--muted); }

/* Right: the form */
.side { display: grid; place-items: center; padding: 24px; }
.box { width: 390px; max-width: 100%; }
h1 { font-size: 28px; margin: 0 0 4px; }
.box p { line-height: 1.5; }
.form-grid { display: block; }
label { display: block; font-weight: 600; font-size: 14px; margin: 16px 0 7px; }
input:not([type=hidden]) { width: 100%; font: inherit; font-size: 16px; padding: 13px 14px; border: 1px solid var(--line);
  border-radius: 12px; background: var(--bg); color: var(--text); }
input::placeholder { color: #8E8E96; }
input:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(79, 182, 221, .3); }
.btn { display: block; width: 100%; margin-top: 22px; background: var(--cyan); color: #06222E; border: 0; border-radius: 14px;
  padding: 15px; font: 600 16px Outfit, Arial, sans-serif; cursor: pointer; text-align: center; text-decoration: none; }
.btn.plain { background: transparent; color: var(--cyan); border: 1px solid var(--line); }
.actions { display: block; }
.forgot { display: inline-block; margin-top: 16px; font-size: 14px; }
.foot { color: var(--muted); font-size: 13px; margin-top: 22px; }
.msg { border-radius: 12px; padding: 10px 13px; font-size: 14px; margin: 16px 0 0; background: rgba(79, 182, 221, .12);
  border: 1px solid rgba(79, 182, 221, .45); }
.msg.error, .errorlist { background: rgba(214, 24, 122, .14); border: 1px solid rgba(214, 24, 122, .5); color: #FFB3D6; }
.errorlist { list-style: none; border-radius: 10px; padding: 8px 12px; margin: 8px 0 0; font-size: 13px; }
.has-error input { border-color: var(--magenta); }
.req::after { content: " *"; color: #FF8FC4; }
.hint { font-size: 12.5px; margin-top: 6px; }

/* Narrow screens: form first, brand panel below */
@media (max-width: 900px) {
  .wrap { grid-template-columns: 1fr; }
  .side { order: -1; padding: 40px 20px; }
  .brand { padding: 32px 20px; }
}
