@import url("https://fonts.googleapis.com/css2?family=Gabarito:wght@400;500;600;700&family=Titillium+Web:wght@400;600;700&display=swap");
@font-face{font-family:Parabole;src:url("../fonts/Parabole.woff2") format("woff2"),url("../fonts/Parabole.woff") format("woff");font-weight:400;font-style:normal;font-display:swap}

:root {
  --ink: #2a2727;
  --obi-primary-9: #002a47;
  --obi-primary-8: #00365c;
  --obi-primary-7: #4a6578;
  --obi-blue: #0057b7;
  --obi-bg: #000000;
  --obi-border: #d8dee4;
  --obi-card-shadow: 0 1px 2px rgba(0, 42, 71, 0.06), 0 8px 24px rgba(0, 42, 71, 0.06);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  background: #000000;
}

body.login-page {
  background: #000000;
  color: #ffffff;
  font-family: "Titillium Web", "Gabarito", Arial, sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.18rem);
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.55;
  overflow-x: hidden;
}

.login-shell {
  position: relative;
  min-height: auto;
  overflow: visible;
  background: #000000;
}

.login-footer {
  position: relative;
  display: block;
  width: 100%;
  line-height: 0;
  background: #000000;
}

.login-footer img {
  display: block;
  width: 100%;
  height: auto;
}

.site-legal {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  color: #ffffff;
  font-family: "Titillium Web", Arial, sans-serif;
  pointer-events: none;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent);
}

.site-legal__inner {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1.25rem 1.25rem 1.35rem;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.4;
  pointer-events: none;
}

.site-legal__inner p {
  margin: 0;
  color: #ffffff;
}

.site-legal__nav {
  display: flex;
  align-items: center;
  gap: 0.95rem;
  pointer-events: auto;
}

.site-legal__nav a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.15s ease, opacity 0.15s ease;
}

.site-legal__nav a:hover {
  color: #ffb347;
}

.site-legal__nav svg {
  display: block;
  width: 14px;
  height: 14px;
}

@media (min-width: 640px) {
  .site-legal__inner {
    padding: 1.35rem 1.75rem 1.5rem;
  }
}

.login-brand {
  position: relative;
  z-index: 20;
  width: auto;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 0 auto 2rem;
  color: #ffffff;
  text-decoration: none;
}

.login-brand img {
  width: 56px;
  height: 56px;
  flex: none;
  object-fit: contain;
  background: transparent;
}

.login-brand-name {
  margin-left: 0.45rem;
  font-family: Parabole, ui-serif, serif;
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -1px;
  white-space: nowrap;
}

.brand-tm {
  display: inline-block;
  margin-left: 0.12em;
  font-family: "Titillium Web", Arial, sans-serif;
  font-size: 0.42em;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  vertical-align: super;
  position: relative;
  top: -0.15em;
}

.login-main {
  position: relative;
  z-index: 10;
  min-height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding: 64px 24px 64px;
  background: #000000;
}

.login-card {
  position: relative;
  width: min(calc(100% - 32px), 1680px);
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 16px;
  background: #000000;
  box-shadow: none;
  text-align: center;
  overflow: hidden;
}

.login-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  padding: 36px 40px 40px;
  background: #000000;
}

.login-card h1 {
  margin: 0 0 0.75rem;
  font-family: Parabole, ui-serif, serif;
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -1px;
  color: #fff;
  text-shadow: none;
}

.login-lead {
  max-width: 32rem;
  margin: 0 0 1.75rem;
  font-size: clamp(1.05rem, 1.6vw, 1.18rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.82);
}

.login-waitlist {
  width: 100%;
  max-width: 28rem;
  text-align: left;
}

.login-waitlist label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: rgba(255, 255, 255, 0.75);
}

.login-waitlist input[type="email"] {
  width: 100%;
  margin-bottom: 1.25rem;
  padding: 0.85rem 0;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font: 400 1.05rem/1.2 "Titillium Web", Arial, sans-serif;
  outline: none;
}

.login-waitlist input[type="email"]:focus {
  border-bottom-color: #ffb347;
}

.login-waitlist button {
  --brand: #ffb347;
  --brand-dark: #f59e0b;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 0.5rem;
  padding: 9px 20px;
  border: 0;
  background: transparent;
  color: #0f0f0e;
  font: 400 17px/1.2 "Titillium Web", Arial, sans-serif;
  cursor: pointer;
}

.login-waitlist button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.login-waitlist button::before,
.login-waitlist button::after {
  content: "";
  position: absolute;
  z-index: 0;
  background: var(--brand);
  transition: background 0.2s ease;
}

.login-waitlist button::before {
  top: 0;
  left: 0;
  width: 85%;
  height: 92%;
}

.login-waitlist button::after {
  right: 0;
  bottom: 0;
  width: 85%;
  height: 92%;
}

.login-waitlist button:hover::before,
.login-waitlist button:hover::after {
  background: var(--brand-dark);
}

.login-waitlist button span {
  position: relative;
  z-index: 1;
}

.ok {
  display: none;
  margin-top: 1.5rem;
  color: #ffb347;
  font-size: 1.05rem;
  line-height: 1.5;
}

.ok.show { display: block; }

.waitlist-error {
  margin-top: 1rem;
  color: #fca5a5;
  font-size: 0.98rem;
  line-height: 1.5;
}

.login-info-panel {
  position: relative;
  z-index: 12;
  width: min(calc(100% - 32px), 1680px);
  margin-top: 72px;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  overflow: hidden;
  background: #0a0a0a;
  box-shadow: none;
}

.login-video {
  position: relative;
  grid-row: 1 / -1;
  min-height: 100%;
  padding: 22px 20px;
  background: #2f7a4f;
  color: #ffffff;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.login-video-overlay {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  max-width: 100%;
}

.login-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  color: var(--obi-primary-9);
  cursor: default;
  flex: none;
}

.login-play svg {
  width: 18px;
  height: 18px;
  margin-left: 2px;
}

.login-video p {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.18rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}

.login-column {
  padding: 18px 18px 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
}

.login-column:nth-child(5),
.login-column:nth-child(6) {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.login-column:nth-child(6) {
  grid-column: span 2;
}

.login-column h2 {
  margin: 0 0 10px;
  font-family: Parabole, ui-serif, serif;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -1px;
  color: #ffffff;
}

.login-column p {
  margin: 0;
  font-size: clamp(0.95rem, 1.6vw, 1.18rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1024px) {
  .login-info-panel {
    width: min(calc(100% - 32px), 1200px);
    margin-top: 56px;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }

  .login-video {
    grid-column: 1 / -1;
    grid-row: auto;
    min-height: 140px;
  }

  .login-column:nth-child(3) {
    border-left: 0;
  }

  .login-column:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .login-column:nth-child(6) {
    grid-column: auto;
  }
}

@media (min-width: 1024px) {
  .login-brand img {
    width: 72px;
    height: 72px;
  }

  .login-brand-name {
    margin-left: 0.55rem;
    font-size: 28px;
  }
}

@media (max-width: 768px) {
  .login-main {
    padding: 48px 20px 48px;
  }

  .login-info-panel {
    grid-template-columns: 1fr;
    width: calc(100% - 32px);
    margin-top: 48px;
  }

  .login-column,
  .login-column:nth-child(n + 2) {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }

  .login-column:nth-child(6) {
    grid-column: auto;
  }
}
