/* HANAVI — early-access registration page. Depends on /css/styles.css for Inter + base reset. */

:root {
  --reg-navy: #10182A;
  --reg-surface: #18263E;
  --reg-white: #EFF5FF;
  --reg-blue: #3154F4;
  --reg-violet: #4F46E5;
}

.reg-page {
  background: var(--reg-navy);
  color: var(--reg-white);
  font-family: 'Inter', system-ui, sans-serif;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.reg-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* header */

.reg-header {
  border-bottom: 1px solid rgba(239, 245, 255, 0.08);
}

.reg-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.reg-header__logo img {
  display: block;
  height: auto;
  width: 170px;
}

.reg-langswitch {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}

.reg-langswitch a {
  color: rgba(239, 245, 255, 0.6);
  text-decoration: none;
  padding: 4px;
}

.reg-langswitch a:hover {
  color: var(--reg-white);
}

.reg-langswitch a[aria-current='page'] {
  color: var(--reg-white);
  border-bottom: 2px solid var(--reg-blue);
}

.reg-langswitch__sep {
  color: rgba(239, 245, 255, 0.3);
}

/* main layout */

.reg-main {
  flex: 1;
  padding-top: 32px;
  padding-bottom: 64px;
}

.reg-breadcrumb {
  font-size: 13px;
  color: rgba(239, 245, 255, 0.55);
  margin: 0 0 24px;
}

.reg-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

@media (min-width: 900px) {
  .reg-layout {
    grid-template-columns: minmax(0, 1fr) 560px;
    align-items: start;
    gap: 56px;
  }
}

.reg-intro {
  min-width: 0;
}

.reg-h1 {
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.15;
  font-weight: 700;
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

.reg-lead {
  font-size: 16px;
  line-height: 1.6;
  color: rgba(239, 245, 255, 0.78);
  margin: 0 0 28px;
  max-width: 52ch;
}

.reg-shot {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(239, 245, 255, 0.1);
  background: var(--reg-surface);
}

.reg-shot::before {
  content: '';
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--reg-blue), var(--reg-violet));
}

.reg-shot img {
  display: block;
  width: 100%;
  height: auto;
}

/* form panel */

.reg-panel {
  background: var(--reg-surface);
  border: 1px solid rgba(239, 245, 255, 0.08);
  border-radius: 12px;
  padding: 32px;
  width: 100%;
  max-width: 560px;
}

.reg-h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 12px;
}

.reg-panel p {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(239, 245, 255, 0.82);
  margin: 0 0 16px;
}

.reg-alert {
  background: rgba(239, 245, 255, 0.06);
  border: 1px solid rgba(239, 245, 255, 0.2);
  border-left: 3px solid var(--reg-blue);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  margin-bottom: 20px;
}

.reg-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reg-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.reg-field label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(239, 245, 255, 0.9);
}

.reg-field input[type='email'],
.reg-field select {
  min-height: 44px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(239, 245, 255, 0.2);
  background: var(--reg-navy);
  color: var(--reg-white);
  font-size: 15px;
  font-family: inherit;
}

.reg-field input[type='email']::placeholder {
  color: rgba(239, 245, 255, 0.4);
}

.reg-field input[type='email']:focus-visible,
.reg-field select:focus-visible,
.reg-button:focus-visible,
.reg-langswitch a:focus-visible {
  outline: 2px solid var(--reg-blue);
  outline-offset: 2px;
}

.reg-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(239, 245, 255, 0.78);
  cursor: pointer;
}

.reg-checkbox input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.reg-honeypot {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.reg-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 24px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(90deg, var(--reg-blue), var(--reg-violet));
  color: var(--reg-white);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  width: 100%;
}

.reg-button:hover {
  filter: brightness(1.08);
}

.reg-button--link {
  width: auto;
}

.reg-helper {
  font-size: 13px;
  color: rgba(239, 245, 255, 0.55);
}

/* footer */

.reg-footer {
  border-top: 1px solid rgba(239, 245, 255, 0.08);
  padding: 24px 0;
}

.reg-footer__support {
  margin: 0;
  font-size: 13px;
  color: rgba(239, 245, 255, 0.5);
}

@media (max-width: 480px) {
  .reg-panel {
    padding: 24px;
  }
}
