* { box-sizing: border-box; }

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("vendor/inter/inter-latin-300-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("vendor/inter/inter-latin-400-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("vendor/inter/inter-latin-500-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("vendor/inter/inter-latin-600-normal.woff2") format("woff2");
}

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("vendor/inter/inter-latin-700-normal.woff2") format("woff2");
}

cap-widget {
  --cap-widget-width: 100%;
  --cap-background: #fff;
  --cap-border-color: #d7dae0;
  --cap-border-radius: 10px;
  --cap-color: #374151;
  --cap-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  display: block;
}

body {
  margin: 0;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #111827;
  background: #f4f5f7;
}

.page {
  display: flex;
  min-height: 100vh;
}

.panel-left {
  flex: 1 1 50%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  background: #f7f8fa;
  overflow: hidden;
}

.panel-left .bg-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: blur(6px);
  pointer-events: none;
}

.content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
}

.logo {
  margin-bottom: 64px;
}

.logo img {
  height: 28px;
  width: auto;
  display: block;
}

.eyebrow {
  color: #3d5afe;
  font-weight: 300;
  font-size: 12px;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

h1 {
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.subtitle {
  color: #6b7280;
  font-size: 15px;
  line-height: 1.5;
  margin: 0 0 32px;
}

form label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
}

form input[type="text"],
form input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d7dae0;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 20px;
  background: #fff;
  outline: none;
  transition: border-color 0.15s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus {
  border-color: #3d5afe;
}

button[type="submit"] {
  width: 100%;
  padding: 13px 14px;
  background: #3549e0;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.15s ease, opacity 0.15s ease;
}

button[type="submit"]:hover {
  background: #2b3ec7;
}

button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

hr {
  border: none;
  border-top: 1px solid #e5e7eb;
  margin: 24px 0;
}

.checkbox-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #374151;
  cursor: pointer;
  margin: 16px 0 20px;
}

.checkbox-wrap {
  position: relative;
  display: inline-flex;
  width: 18px;
  height: 18px;
  min-width: 18px;
}

.checkbox-wrap input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.checkbox-box {
  position: absolute;
  inset: 0;
  border: 1.5px solid #d7dae0;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
  pointer-events: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}

.checkbox-box::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.checkbox-wrap input:hover ~ .checkbox-box {
  border-color: #3549e0;
}

.checkbox-wrap input:checked ~ .checkbox-box {
  background: #3549e0;
  border-color: #3549e0;
}

.checkbox-wrap input:checked ~ .checkbox-box::after {
  transform: rotate(45deg) scale(1);
}

.checkbox-wrap input:active ~ .checkbox-box {
  transform: scale(0.92);
}

.checkbox-wrap input:focus-visible ~ .checkbox-box {
  outline: 2px solid #3549e0;
  outline-offset: 2px;
}

.checkbox-row a {
  color: inherit;
}

.form-message {
  margin-top: 16px;
  font-size: 13px;
  min-height: 18px;
}

.form-message.success { color: #16a34a; }
.form-message.error { color: #dc2626; }

.footer {
  margin-top: 48px;
  font-size: 12px;
  color: #9ca3af;
}

.panel-right {
  flex: 1 1 50%;
  position: relative;
  overflow: hidden;
  display: none;
}

.panel-right .molecule {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 900px) {
  .panel-right { display: block; }
}
