:root {
  color-scheme: light;
  --jm-bg-a: #1b66d2;
  --jm-bg-b: #00a3c7;
  --jm-card: rgba(255, 255, 255, 0.96);
  --jm-text: #172b4d;
  --jm-muted: #5e6c84;
  --jm-accent: #0376da;
  --jm-accent-dark: #0052cc;
  --jm-border: rgba(9, 30, 66, 0.15);
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--jm-text);
  background: linear-gradient(135deg, var(--jm-bg-a), var(--jm-bg-b));
}

.jm-page {
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 40vw);
  overflow: hidden;
}

.jm-hero {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 42px min(7vw, 88px);
  min-height: 100vh;
}

.jm-header { display: flex; align-items: center; gap: 14px; color: white; font-weight: 700; font-size: 22px; }
.jm-logo { width: 44px; height: 44px; border-radius: 14px; background: white; display: grid; place-items: center; box-shadow: 0 16px 44px rgba(0, 0, 0, 0.18); }
.jm-logo-dot { width: 22px; height: 22px; border-radius: 50%; border: 6px solid var(--jm-accent); display: block; }

.jm-card {
  width: min(680px, 100%);
  background: var(--jm-card);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 28px;
  padding: clamp(28px, 5vw, 56px);
  box-shadow: 0 28px 80px rgba(9, 30, 66, 0.26);
  backdrop-filter: blur(10px);
}

h1 { margin: 0; font-size: clamp(36px, 6vw, 64px); line-height: 1.02; letter-spacing: -0.04em; }
.jm-subtitle { margin: 22px 0 34px; color: var(--jm-muted); font-size: 19px; line-height: 1.55; }

.jm-form { display: flex; gap: 12px; width: 100%; }
.jm-form input {
  flex: 1;
  min-width: 0;
  height: 54px;
  border: 1px solid var(--jm-border);
  border-radius: 12px;
  padding: 0 16px;
  font-size: 16px;
  outline: none;
  background: white;
}
.jm-form input:focus { border-color: var(--jm-accent); box-shadow: 0 0 0 4px rgba(3, 118, 218, 0.16); }
button {
  height: 54px;
  border: 0;
  border-radius: 12px;
  padding: 0 20px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}
.jm-form button { color: white; background: var(--jm-accent); }
.jm-form button:hover { background: var(--jm-accent-dark); }

.jm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.jm-actions button { height: 42px; color: var(--jm-text); background: #eef4ff; border: 1px solid #d8e5ff; }
.jm-actions button:hover { background: #e3eeff; }

.jm-footer { color: rgba(255, 255, 255, 0.9); display: flex; gap: 16px; flex-wrap: wrap; font-size: 14px; }
.jm-status { font-weight: 700; }

.jm-side { position: relative; min-height: 100vh; }
.jm-bubble { position: absolute; border-radius: 36px; background: rgba(255,255,255,0.18); box-shadow: inset 0 0 0 1px rgba(255,255,255,0.22); }
.jm-bubble-one { width: 340px; height: 220px; top: 14%; right: 16%; transform: rotate(-12deg); }
.jm-bubble-two { width: 240px; height: 160px; top: 48%; right: 38%; transform: rotate(14deg); }
.jm-bubble-three { width: 420px; height: 260px; bottom: -70px; right: -60px; transform: rotate(-7deg); }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

@media (max-width: 840px) {
  .jm-page { grid-template-columns: 1fr; }
  .jm-side { display: none; }
  .jm-form { flex-direction: column; }
  .jm-form button { width: 100%; }
}
