*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --pink: #e8185b;
  --pink-dark: #c8144f;
  --navy: #1a2540;
  --navy-light: #243050;
  --muted: #9da8c8;
  --text: #0f1623;
  --text-light: #4a5568;
  --bg: #f5f6fa;
  --white: #ffffff;
  --border: #dde2f0;
  --field-bg: #eef1f8;
  --radius: 12px;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow-x: hidden;
}

/* Background grid */
.bg-grid {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(26,37,64,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,37,64,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.container {
  position: relative;
  z-index: 1;
  max-width: 1100px;
  margin: 0 auto;
  padding: 3rem 2rem 2rem;
  flex: 1;
}

/* Header / Brand */
.hero {
  text-align: center;
  margin-bottom: 3rem;
}

.brand {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -2px;
}

.brand .hi  { color: var(--pink); }
.brand .pa  { color: var(--muted); }
.brand .mar { color: var(--navy); }

.sub {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 0.5rem;
}

/* Split layout */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

/* Left column */
.left-col {
  padding-top: 1rem;
}

.left-col h1 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  font-weight: 700;
  line-height: 1.3;
  color: var(--navy);
  margin-bottom: 1rem;
}

.desc {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 1.75rem;
}

.features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.features li {
  font-size: 0.9rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 500;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--pink);
  border-radius: 50%;
  flex-shrink: 0;
}

.reply-note {
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding-top: 1rem;
}

/* Right column — form card */
.form-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 2rem;
  box-shadow: 0 4px 24px rgba(26,37,64,0.06);
}

.form-card h2 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.25rem;
}

.form-sub {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

/* Form fields */
.field {
  margin-bottom: 0.9rem;
}

input, textarea {
  width: 100%;
  padding: 11px 14px;
  background: var(--field-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.875rem;
  font-family: var(--font-body);
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

input:focus, textarea:focus {
  border-color: var(--pink);
  background: var(--white);
}

input.invalid, textarea.invalid {
  border-color: #e53e3e;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

.err {
  display: block;
  font-size: 0.75rem;
  color: #e53e3e;
  margin-top: 3px;
  min-height: 1rem;
}

/* Submit button */
button[type="submit"] {
  width: 100%;
  padding: 13px;
  background: var(--pink);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 0.25rem;
}

button[type="submit"]:hover  { background: var(--pink-dark); }
button[type="submit"]:active { transform: scale(0.98); }
button[type="submit"]:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-arrow {
  transition: transform 0.2s;
}

button[type="submit"]:hover .btn-arrow {
  transform: translateX(4px);
}

.privacy {
  font-size: 0.72rem;
  color: var(--muted);
  text-align: center;
  margin-top: 0.6rem;
}

/* Success / Error messages */
.success-msg,
.error-msg {
  display: none;
  text-align: center;
  padding: 1.25rem;
  border-radius: 8px;
  margin-top: 1rem;
}

.success-msg {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}

.success-icon {
  display: block;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.success-msg p {
  font-size: 0.9rem;
  font-weight: 500;
}

.error-msg {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #991b1b;
  font-size: 0.875rem;
}

/* Footer */
footer {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 1.5rem;
  font-size: 0.75rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 2rem 1.25rem 1.5rem;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .left-col {
    padding-top: 0;
  }

  .brand {
    font-size: 3.5rem;
  }
}