/* ───────────────────────────────────────────────
   Second Watch Capital — Landing Page Styles
   ─────────────────────────────────────────────── */

/* ── Reset & Base ── */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  color: #1a1a1a;
  background: #000;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── Hero Section ── */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  background: #000;
  text-align: center;
  padding: 48px 24px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  animation: fadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.logo {
  width: clamp(200px, 25vw, 320px);
  height: auto;
  margin-bottom: 32px;
  object-fit: contain;
}

.brand-name {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 400;
  font-size: clamp(2.75rem, 6vw, 5rem);
  letter-spacing: 0.14em;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
}

.brand-sub {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 300;
  font-size: clamp(1.1rem, 2.5vw, 1.75rem);
  letter-spacing: 0.5em;
  color: #c5a04e;
  margin-bottom: 56px;
}

.tagline {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 300;
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.6;
  max-width: 700px;
}

/* ── Disclaimer Section ── */
.disclaimer-section {
  background: #fff;
  padding: 80px 32px 200px;
}

.disclaimer-container {
  max-width: 840px;
  margin: 0 auto;
}

.disclaimer-heading {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-align: center;
  color: #1a1a1a;
  margin-bottom: 24px;
}

.disclaimer-body p {
  font-family: 'Lato', 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.75;
  color: #333;
  margin-bottom: 20px;
}

.disclaimer-body p:last-child {
  margin-bottom: 0;
}

.disclaimer-body .legal-caps {
  font-weight: 400;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #222;
}

.disclaimer-body strong {
  font-weight: 400;
}

/* ── Buttons ── */
.disclaimer-actions {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 56px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  font-family: 'Lato', 'Helvetica Neue', Helvetica, sans-serif;
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 0;
  cursor: pointer;
  transition: background 180ms cubic-bezier(0.16, 1, 0.3, 1),
              color 180ms cubic-bezier(0.16, 1, 0.3, 1),
              border-color 180ms cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-outline {
  color: #1a1a1a;
  background: transparent;
  border: 1px solid #1a1a1a;
}

.btn-outline:hover {
  background: #1a1a1a;
  color: #fff;
}

.btn-primary {
  color: #fff;
  background: #1a1a1a;
  border: 1px solid #1a1a1a;
}

.btn-primary:hover {
  background: #c5a04e;
  border-color: #c5a04e;
  color: #fff;
}

.btn-full {
  width: 100%;
  text-align: center;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ── Modals ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 250ms cubic-bezier(0.16, 1, 0.3, 1),
              visibility 250ms;
  padding: 24px;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: #fff;
  width: 100%;
  max-width: 500px;
  padding: 52px 44px;
  position: relative;
  transform: translateY(12px);
  transition: transform 300ms cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #999;
  cursor: pointer;
  line-height: 1;
  padding: 4px;
  transition: color 180ms;
}

.modal-close:hover {
  color: #1a1a1a;
}

.modal-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 400;
  font-size: 1.75rem;
  letter-spacing: 0.04em;
  color: #1a1a1a;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.55;
}

/* ── Forms ── */
.modal-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 24px;
}

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

.form-group label {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
}

.form-group .required {
  color: #c5a04e;
}

.form-group input:not([type="checkbox"]),
.form-group textarea {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 1rem;
  padding: 14px 16px;
  border: 1px solid #ddd;
  background: #fafafa;
  color: #1a1a1a;
  outline: none;
  transition: border-color 180ms;
  border-radius: 0;
  -webkit-appearance: none;
}

.form-group input:not([type="checkbox"]):focus,
.form-group textarea:focus {
  border-color: #1a1a1a;
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group-checkbox {
  gap: 0;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.95rem;
  text-transform: none;
  letter-spacing: 0;
}

.checkbox-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-top: 1px;
  accent-color: #1a1a1a;
  cursor: pointer;
  flex-shrink: 0;
  -webkit-appearance: checkbox;
  appearance: checkbox;
}

.checkbox-text {
  font-family: 'Lato', sans-serif;
  font-weight: 300;
  font-size: 0.95rem;
  color: #333;
  line-height: 1.45;
}

.form-message {
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  min-height: 1.2em;
}

.form-message.error {
  color: #b33;
}

.form-message.success {
  color: #2a7d2a;
}

/* ── Success State ── */
.modal-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 20px 0;
}

.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1a1a1a;
  color: #c5a04e;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.modal-success .modal-title {
  margin-bottom: 8px;
}

.modal-success .modal-subtitle {
  margin-bottom: 0;
}

/* ── Animation ── */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── Responsive ── */
@media (max-width: 480px) {
  .logo {
    width: 180px;
    height: auto;
    margin-bottom: 24px;
  }

  .brand-sub {
    margin-bottom: 36px;
  }

  .tagline br {
    display: none;
  }

  .disclaimer-section {
    padding: 48px 20px 200px;
  }

  .modal {
    padding: 36px 24px;
  }

  .disclaimer-actions {
    flex-direction: column;
    align-items: center;
  }

  .disclaimer-actions .btn {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  .hero-content {
    animation: none;
  }
}
