/* OE landing splash — matches frontend/templates/login.html theme */
@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Sans+Condensed:wght@600;700&display=swap");

:root {
  --oe-black: #070708;
  --oe-ink: #151516;
  --oe-white: #fff;
  --oe-soft: #f4f0ea;
  --oe-red: #e31b23;
  --oe-red-deep: #9c0f16;
  --oe-steel: #7f858a;
}

* { box-sizing: border-box; }

html, body {
  margin: 0; min-height: 100vh;
  background: var(--oe-black);
  color: var(--oe-white);
  font-family: "IBM Plex Sans", system-ui, sans-serif;
}

.splash {
  min-height: 100vh;
  display: flex; flex-direction: column;
  background:
    radial-gradient(1200px 600px at 70% -10%, rgba(227, 27, 35, .18), transparent 60%),
    linear-gradient(160deg, #0b0b0d 0%, #070708 70%);
  position: relative; overflow: hidden;
}
.splash::before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 46px 46px; pointer-events: none;
}
.redline {
  position: absolute; left: 0; right: 0; top: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--oe-red), transparent);
  animation: scan 6s linear infinite;
}
@keyframes scan { 0% { transform: translateY(0); } 100% { transform: translateY(100vh); } }

.splash-top {
  display: flex; align-items: center; gap: 14px;
  padding: 26px 34px; position: relative; z-index: 2;
}
.splash-mark {
  width: 40px; height: 40px; background: var(--oe-red); border-radius: 3px;
  display: grid; place-items: center; font-weight: 800; font-size: 16px;
  font-family: "IBM Plex Sans Condensed";
}
.splash-title { font-family: "IBM Plex Sans Condensed"; font-weight: 700; font-size: 20px; letter-spacing: .5px; }
.splash-title small { display: block; font-size: 12px; color: var(--oe-steel); font-weight: 500; letter-spacing: 2px; }

.splash-body {
  flex: 1; display: grid; place-items: center; padding: 20px; position: relative; z-index: 2;
}
.splash-inner { width: 100%; max-width: 760px; }
.splash-inner h1 {
  font-family: "IBM Plex Sans Condensed"; font-size: clamp(30px, 5vw, 48px);
  line-height: 1.05; margin: 0 0 10px; font-weight: 700;
}
.splash-inner .kick { color: var(--oe-red); font-weight: 700; letter-spacing: 2px; text-transform: uppercase; font-size: 12px; margin-bottom: 14px; }
.splash-inner .desc { color: #c9cdd1; max-width: 560px; margin: 0 0 30px; font-size: 16px; }

.paths { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .paths { grid-template-columns: 1fr; } }
.path {
  display: block; padding: 22px; text-decoration: none; color: var(--oe-white);
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.03);
  transition: border-color .15s, background .15s;
}
.path:hover { text-decoration: none; border-color: var(--oe-red); background: rgba(227,27,35,.06); }
.path .ico { font-size: 22px; margin-bottom: 12px; }
.path h3 { margin: 0 0 6px; font-size: 17px; font-weight: 700; }
.path p { margin: 0 0 14px; color: var(--oe-steel); font-size: 13px; }
.path .go { color: var(--oe-red); font-weight: 700; font-size: 13px; letter-spacing: .5px; }
.path.primary { border-color: rgba(227,27,35,.4); background: rgba(227,27,35,.08); }

.splash-foot { padding: 18px 34px; color: var(--oe-steel); font-size: 12px; position: relative; z-index: 2; letter-spacing: 1px; }

/* auth card (login / register) reuse the splash background */
.auth-stack { width: 100%; max-width: 440px; margin: 0 auto; }
.auth-card {
  width: 100%; max-width: 440px; margin: 0 auto;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  padding: 30px;
}
.declaration {
  margin-top: 16px; padding: 16px 18px;
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.10);
  border-left: 3px solid var(--oe-red);
  font-size: 12px; color: #c9cdd1; line-height: 1.55;
}
.declaration h3 {
  margin: 0 0 8px; font-size: 12px; color: #fff;
  text-transform: uppercase; letter-spacing: 0.06em;
}
.declaration p { margin: 0 0 8px; }
.declaration p:last-child { margin-bottom: 0; color: var(--oe-steel); font-size: 11px; }
.auth-card h2 { font-family: "IBM Plex Sans Condensed"; font-size: 24px; margin: 0 0 4px; }
.auth-card .sub { color: var(--oe-steel); font-size: 13px; margin: 0 0 22px; }
.auth-card label { display: block; font-size: 12px; color: #c9cdd1; margin: 0 0 6px; font-weight: 600; }
.auth-card .field { margin-bottom: 16px; }
.auth-card input {
  width: 100%; padding: 12px 13px; background: #0d0d10; border: 1px solid rgba(255,255,255,.15);
  color: #fff; font-family: inherit; font-size: 14px; border-radius: 0;
}
.auth-card input:focus { outline: none; border-color: var(--oe-red); }
.auth-btn {
  width: 100%; padding: 13px; background: var(--oe-red); color: #fff; border: none;
  font-weight: 700; font-size: 15px; cursor: pointer; font-family: inherit;
}
.auth-btn:hover { background: var(--oe-red-deep); }
.auth-btn:disabled { opacity: .5; cursor: not-allowed; }
.auth-alt { text-align: center; margin-top: 18px; font-size: 13px; color: var(--oe-steel); }
.auth-alt a { color: var(--oe-red); font-weight: 600; }
.auth-msg { padding: 10px 12px; font-size: 13px; margin-bottom: 16px; }
.auth-msg.error { background: rgba(227,27,35,.12); border: 1px solid var(--oe-red-deep); color: #ffb3b6; }
.auth-msg.ok { background: rgba(31,138,76,.12); border: 1px solid #1f8a4c; color: #a9e8c2; }
.back { color: var(--oe-steel); font-size: 13px; }
.back a { color: var(--oe-steel); }
