*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --accent:          #5856D6;
  --accent-soft:     rgba(88,86,214,0.12);
  --bg:              #FFFFFF;
  --bg-secondary:    #F2F2F7;
  --separator:       #C6C6C8;
  --label:           #000000;
  --label-secondary: rgba(60,60,67,0.60);
  --label-tertiary:  rgba(60,60,67,0.30);
  --success:         #34C759;
  --danger:          #FF3B30;
  --radius-sm: 8px; --radius-md: 12px; --radius-lg: 16px;
}
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  background: var(--bg); color: var(--label);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 200;
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  background: rgba(255,255,255,0.82);
  border-bottom: 1px solid var(--separator);
  padding: 0 48px; height: 52px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--label); }
.nav-logo img { height: 28px; width: auto; }
.nav-logo-text { font-size: 17px; font-weight: 600; letter-spacing: -0.4px; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-size: 15px; color: var(--label-secondary); text-decoration: none; transition: color 0.15s; }
.nav-links a:hover { color: var(--label); }
.nav-actions { display: flex; align-items: center; gap: 12px; }
.btn-ghost {
  font-size: 15px; font-weight: 500; color: var(--accent);
  background: none; border: none; cursor: pointer;
  padding: 7px 12px; border-radius: var(--radius-sm);
  text-decoration: none; transition: background 0.15s;
}
.btn-ghost:hover { background: var(--accent-soft); }
.btn-primary {
  font-size: 15px; font-weight: 600; color: #fff;
  background: var(--accent); border: none; cursor: pointer;
  padding: 8px 18px; border-radius: 100px;
  text-decoration: none; letter-spacing: -0.2px;
  transition: opacity 0.15s, transform 0.1s; white-space: nowrap;
}
.btn-primary:hover { opacity: 0.88; transform: scale(0.985); }

/* ── Page layout ── */
.contact-page { padding: 64px 24px 96px; }
.contact-wrap { max-width: 560px; margin: 0 auto; }

.page-eyebrow {
  font-size: 13px; font-weight: 600; letter-spacing: 0.5px;
  text-transform: uppercase; color: var(--accent); margin-bottom: 12px;
}
.page-title {
  font-size: 36px; font-weight: 700; letter-spacing: -0.8px;
  line-height: 1.15; margin-bottom: 12px;
}
.page-sub {
  font-size: 16px; color: var(--label-secondary);
  margin-bottom: 40px; padding-bottom: 32px;
  border-bottom: 1px solid var(--separator);
}
.page-sub a { color: var(--accent); text-decoration: none; }
.page-sub a:hover { text-decoration: underline; }

/* ── Form ── */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block; font-size: 13px; font-weight: 500;
  color: var(--label-secondary); margin-bottom: 6px;
}
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 13px;
  border: 1px solid var(--separator); border-radius: var(--radius-sm);
  font-size: 15px; font-family: inherit; color: var(--label); background: var(--bg);
  outline: none; transition: border-color 0.15s, box-shadow 0.15s;
  -webkit-appearance: none; appearance: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--label-tertiary); }
.form-textarea { resize: vertical; min-height: 140px; line-height: 1.5; }
.form-select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%233C3C43' stroke-opacity='.6' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 36px; cursor: pointer; }

.submit-btn {
  width: 100%; padding: 13px; background: var(--accent); color: white;
  border: none; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 600; font-family: inherit;
  cursor: pointer; transition: opacity 0.15s, transform 0.1s;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; margin-top: 8px;
}
.submit-btn:hover { opacity: 0.88; transform: scale(0.99); }
.submit-btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

.spinner {
  width: 18px; height: 18px; border: 2px solid rgba(255,255,255,0.4);
  border-top-color: white; border-radius: 50%; display: none;
  animation: spin 0.65s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Success / error messages ── */
.form-success {
  display: none; background: rgba(52,199,89,0.1);
  border: 1px solid rgba(52,199,89,0.3); border-radius: var(--radius-md);
  padding: 16px 20px; margin-top: 20px;
  font-size: 15px; color: #1a7a37;
}
.form-error {
  display: none; background: rgba(255,59,48,0.08);
  border: 1px solid rgba(255,59,48,0.2); border-radius: var(--radius-md);
  padding: 16px 20px; margin-top: 20px;
  font-size: 15px; color: #c0392b;
}

/* ── Alternate contact ── */
.alt-contact {
  margin-top: 40px; padding-top: 32px; border-top: 1px solid var(--separator);
  font-size: 14px; color: var(--label-secondary); text-align: center;
}
.alt-contact a { color: var(--accent); text-decoration: none; }
.alt-contact a:hover { text-decoration: underline; }

/* ── Footer ── */
footer {
  padding: 40px 48px; border-top: 1px solid var(--separator);
  display: flex; align-items: center; justify-content: space-between;
}
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { height: 22px; width: auto; }
.footer-links { display: flex; gap: 28px; list-style: none; }
.footer-links a { font-size: 13px; color: var(--label-tertiary); text-decoration: none; transition: color 0.15s; }
.footer-links a:hover { color: var(--label-secondary); }
.footer-copy { font-size: 13px; color: var(--label-tertiary); }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: var(--separator); border-radius: 3px; }

@media (max-width: 600px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .contact-page { padding: 40px 20px 72px; }
  .page-title { font-size: 28px; }
  footer { padding: 32px 24px; flex-direction: column; gap: 20px; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; gap: 16px 24px; }
}
  
.footer-brand-text { font-size: 14px; font-weight: 600; }
#_gotcha { display: none; }
