/* Contact page — two-column layout matching waitlist aesthetic */
:root {
  --bg: #07090E;
  --surface: #0D1117;
  --surface-2: #161B22;
  --border: #1C2333;
  --text: #E6EDF3;
  --text-muted: #8B949E;
  --accent: #0ABF9C;
  --accent-dim: rgba(10,191,156,0.12);
  --orange: #F4A636;
  --red: #F85149;
  --green: #3FB950;
  --radius: 10px;
  --label: 600 11px/1 'DM Sans', sans-serif;
  --body: 400 15px/1.6 'DM Sans', sans-serif;
}

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

body {
  background: var(--bg);
  color: var(--text);
  font: var(--body);
  min-height: 100vh;
}

/* Nav (inherits from theme.css — thin override) */
.nav { background: rgba(7,9,14,0.92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }

/* Page layout */
.ct-page {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh - 65px);
}

/* Left panel */
.ct-left {
  background: var(--surface);
  border-right: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
}
.ct-left-inner { max-width: 440px; width: 100%; }

.section-label {
  font: var(--label);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.ct-headline {
  font: 800 42px/1.1 'Rubik', sans-serif;
  color: var(--text);
  margin-bottom: 16px;
}

.ct-sub {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 0;
}

.ct-divider {
  height: 1px;
  background: var(--border);
  margin: 32px 0;
}

.ct-contacts { display: flex; flex-direction: column; gap: 20px; }

.ct-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.ct-contact-icon {
  width: 36px;
  height: 36px;
  background: var(--accent-dim);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.ct-contact-label { font: 500 13px/1.3 'DM Sans', sans-serif; color: var(--text-muted); margin-bottom: 2px; }
.ct-contact-link { font: 500 15px/1.3 'DM Sans', sans-serif; color: var(--accent); text-decoration: none; }
.ct-contact-link:hover { text-decoration: underline; }
.ct-contact-desc { font: 400 14px/1.4 'DM Sans', sans-serif; color: var(--text-muted); }

.ct-use-label { font: 500 13px/1.3 'DM Sans', sans-serif; color: var(--text-muted); margin-bottom: 12px; }
.ct-use-list { display: flex; flex-direction: column; gap: 10px; }
.ct-use-item { display: flex; align-items: center; gap: 10px; font: 400 14px/1.4 'DM Sans', sans-serif; color: var(--text); }

/* Right panel */
.ct-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 48px;
}

.ct-form-wrap { max-width: 440px; width: 100%; }

.ct-form-header { margin-bottom: 32px; }
.ct-form-header h2 { font: 700 28px/1.2 'Rubik', sans-serif; color: var(--text); margin-bottom: 8px; }
.ct-form-header p { color: var(--text-muted); font-size: 14px; }

/* Form */
.ct-form { display: flex; flex-direction: column; gap: 20px; }

.field-group { display: flex; flex-direction: column; gap: 6px; }

.field-label { font: 500 13px/1.3 'DM Sans', sans-serif; color: var(--text); }
.field-label .req { color: var(--orange); }

.field-input {
  background: var(--surface-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font: var(--body);
  padding: 11px 14px;
  outline: none;
  transition: border-color 0.15s;
  resize: none;
  width: 100%;
}
.field-input::placeholder { color: var(--text-muted); }
.field-input:focus { border-color: var(--accent); }
.field-input.error-field { border-color: var(--red); }

.field-textarea { resize: vertical; min-height: 120px; }

.field-error {
  font: 400 12px/1.4 'DM Sans', sans-serif;
  color: var(--red);
  display: none;
}

/* Form alert */
.form-alert {
  border-radius: 8px;
  padding: 12px 16px;
  font: 500 14px/1.4 'DM Sans', sans-serif;
  display: none;
}
.alert-success { background: rgba(63,185,80,0.1); border: 1px solid rgba(63,185,80,0.3); color: var(--green); }
.alert-error { background: rgba(248,81,73,0.1); border: 1px solid rgba(248,81,73,0.3); color: var(--red); }
.alert-info { background: var(--accent-dim); border: 1px solid rgba(10,191,156,0.3); color: var(--accent); }

/* Submit button */
.ct-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent);
  color: #07090E;
  border: none;
  border-radius: var(--radius);
  font: 600 15px/1 'DM Sans', sans-serif;
  padding: 14px 24px;
  cursor: pointer;
  transition: opacity 0.15s;
  width: 100%;
  margin-top: 4px;
}
.ct-submit:hover:not(:disabled) { opacity: 0.88; }
.ct-submit:disabled { opacity: 0.5; cursor: not-allowed; }
.ct-submit .btn-loading { display: none; }
.ct-submit .btn-loading svg { animation: spin 0.9s linear infinite; }

@keyframes spin { to { transform: rotate(360deg); } }

/* Responsive */
@media (max-width: 768px) {
  .ct-page { grid-template-columns: 1fr; }
  .ct-left { border-right: none; border-bottom: 1px solid var(--border); padding: 40px 24px; }
  .ct-right { padding: 40px 24px; }
  .ct-headline { font-size: 34px; }
}