@import url('tokens.css');

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

:root {
  --brand-blue: #007aff;
  --cyan: var(--brand-blue);
  --green: #6ecf8a;
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --start-mobile-ui-lift: 0px;
  --layout-max: 480px;
}

@media (max-width: 767px) {
  :root {
    --start-mobile-ui-lift: 112px;
  }
}

@media (min-width: 768px) {
  :root {
    --layout-max: 720px;
  }
}

@media (min-width: 1200px) {
  :root {
    --layout-max: 960px;
  }
}

html, body {
  height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, select {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

#app {
  min-height: 100%;
  padding-bottom: var(--safe-bottom);
}

.screen {
  max-width: var(--layout-max);
  margin: 0 auto;
  min-height: 100vh;
}

.btn-primary {
  display: block;
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--flame);
  color: var(--btn-on-flame);
  font-size: 17px;
  font-weight: 600;
  text-align: center;
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

a.btn-primary,
a.btn-secondary {
  color: var(--btn-on-flame);
  text-decoration: none;
}

.btn-secondary {
  display: block;
  width: 100%;
  padding: 10px 20px;
  border-radius: 14px;
  border: 1.5px solid var(--flame);
  color: var(--btn-on-flame);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  background: var(--flame);
}

.ob-welcome-line1 {
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
}

.ob-welcome-line2 {
  font-size: clamp(36px, 10vw, 52px);
  font-weight: 900;
  line-height: 1.05;
  color: var(--flame);
}

.ob-info {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  margin: 16px 0;
}

.ob-info-icon {
  flex-shrink: 0;
  font-size: 18px;
  line-height: 1.3;
}

.ob-info p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: #ccc;
}

.ob-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  font-size: 16px;
}

.ob-input:-webkit-autofill,
.ob-input:-webkit-autofill:hover,
.ob-input:-webkit-autofill:focus,
.ob-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0 1000px var(--card) inset;
  -webkit-text-fill-color: var(--text);
  caret-color: var(--text);
}
