@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ob-blue: #0500ff;
  --ob-blue-soft: #4b4bff;
  --ob-text: #1b1b1c;
  --ob-muted: #6b6b7b;
  --ob-btn-primary: #b4b0ff;
  --ob-btn-primary-hover: #8f87ff;
  --ob-btn-secondary: #f0f0f2;
  --ob-btn-secondary-text: #5c5c66;
  --ob-line: #e6e6ea;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

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

body.ob-page {
  font-family: Inter, system-ui, -apple-system, sans-serif;
  background: #fff;
  color: var(--ob-text);
  -webkit-font-smoothing: antialiased;
}

.ob-shell {
  min-height: calc(100vh - 44px);
  width: 100%;
  display: grid;
  grid-template-columns: minmax(300px, 46vw) minmax(0, 1fr);
  align-items: center;
  padding: 0;
}

.ob-visual {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  align-self: stretch;
  min-height: calc(100vh - 44px);
  padding: 0;
  margin: 0;
}

.ob-visual .ob-hero {
  width: min(560px, 46vw);
  max-width: none;
  height: auto;
  aspect-ratio: 1 / 1;
  display: block;
  margin-left: 0;
  overflow: visible;
  pointer-events: none;
  user-select: none;
}

.ob-panel {
  max-width: 420px;
  width: 100%;
  justify-self: center;
  align-self: center;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: left;
}

.ob-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 36px;
  text-decoration: none;
  color: inherit;
}

.ob-logo svg {
  width: 34px;
  height: 38px;
  flex-shrink: 0;
}

.ob-logo-text {
  display: flex;
  gap: 6px;
  font-size: 20px;
  letter-spacing: -0.02em;
  line-height: 1;
}

.ob-logo-text strong {
  color: var(--ob-blue);
  font-weight: 800;
}

.ob-logo-text span {
  color: #3d3dff;
  font-weight: 600;
}

.ob-title {
  margin: 0 0 28px;
  font-size: clamp(28px, 3.2vw, 36px);
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #111;
  max-width: 16ch;
}

.ob-terms {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 22px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--ob-muted);
}

.ob-terms input {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--ob-blue);
  flex-shrink: 0;
  cursor: pointer;
}

.ob-terms a {
  color: var(--ob-blue);
  text-decoration: none;
  font-weight: 600;
}

.ob-terms a:hover {
  text-decoration: underline;
}

.ob-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ob-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 14px 20px;
  border: 0;
  border-radius: 999px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease, transform 0.1s ease;
}

.ob-btn:active {
  transform: scale(0.99);
}

.ob-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

.ob-btn-primary {
  background: var(--ob-btn-primary);
  color: #fff;
}

.ob-btn-primary:not(:disabled):hover {
  background: var(--ob-btn-primary-hover);
  opacity: 1;
}

.ob-btn-secondary {
  background: var(--ob-btn-secondary);
  color: var(--ob-btn-secondary-text);
}

.ob-btn-secondary:not(:disabled):hover {
  background: #e6e6ea;
}

.ob-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 28px 0 18px;
  color: #9a9aa8;
  font-size: 13px;
  white-space: nowrap;
}

.ob-divider::before,
.ob-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: var(--ob-line);
}

.ob-divider-icon {
  display: inline-flex;
  margin-left: 4px;
  vertical-align: -2px;
}

.ob-qr {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ob-blue);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.ob-qr:hover {
  text-decoration: underline;
}

.ob-qr svg {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .ob-shell {
    grid-template-columns: 1fr;
    padding: 24px 20px 40px;
    align-items: flex-start;
  }

  .ob-visual {
    min-height: 240px;
    order: -1;
    justify-content: center;
  }

  .ob-visual .ob-hero {
    width: min(360px, 88vw);
    margin: 0 auto;
  }

  .ob-panel {
    justify-self: center;
    padding: 12px 0 0;
  }

  .ob-title {
    max-width: none;
  }
}

@media (max-width: 640px) {
  .ob-shell {
    min-height: calc(100vh - 64px);
  }

  .ob-visual {
    min-height: 200px;
  }
}
