/* Shared styles for every Vantafied page */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --navy:      #0D1B3D;
  --teal:      #0F766E;
  --teal-light:#A7D7C1;
  --off-white: #F2F4F7;
  --white:     #ffffff;
  --text:      #1a2238;
  --muted:     #5a6a8a;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-logo-img { width: 48px; height: 48px; display: block; }

.nav-logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
}

.nav-logo-text span { color: var(--teal-light); }

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color .2s;
}

nav ul a:hover { color: var(--teal-light); }

.nav-cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: background .2s !important;
}

.nav-cta:hover { background: #0d6460 !important; color: var(--white) !important; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 2rem 5%;
  font-size: 0.825rem;
}

footer a { color: var(--teal-light); text-decoration: none; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-bottom: 0.75rem; }
.footer-links a { color: rgba(255,255,255,0.75); }
.footer-links a:hover { color: var(--teal-light); }

/* ── MOBILE MENU ── */
.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--white);
  transition: transform .2s, opacity .2s;
}

.nav-toggle:focus-visible { outline: 2px solid var(--teal-light); outline-offset: 2px; }

nav.open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
nav.open .nav-toggle span:nth-child(2) { opacity: 0; }
nav.open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy);
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 0.5rem 5% 1.25rem;
    box-shadow: 0 12px 24px rgba(0,0,0,0.25);
  }

  nav.open ul { display: flex; }

  nav ul a {
    display: block;
    padding: 0.85rem 0;
    font-size: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

  nav ul li:last-child a { border-bottom: 0; }

  nav ul .nav-cta {
    margin-top: 0.75rem;
    text-align: center;
    padding: 0.85rem 1.25rem;
  }
}

/* ── INNER PAGES (privacy, terms, support) ── */
.page-hero {
  background: var(--navy);
  color: var(--white);
  padding: 64px 5% 56px;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 760px;
  margin: 0 auto;
}

.page-hero p {
  color: rgba(255,255,255,0.7);
  max-width: 760px;
  margin: 0.75rem auto 0;
}

.page-body { padding: 56px 5% 80px; }

.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-size: 1.3rem; font-weight: 800; color: var(--navy); margin: 2.25rem 0 0.6rem; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 1rem; font-weight: 700; color: var(--navy); margin: 1.25rem 0 0.4rem; }
.prose p, .prose li { color: var(--text); font-size: 0.975rem; }
.prose p { margin-bottom: 0.9rem; }
.prose ul { padding-left: 1.25rem; margin-bottom: 0.9rem; }
.prose li { margin-bottom: 0.35rem; }
.prose a { color: var(--teal); font-weight: 600; }
.prose .note {
  background: var(--off-white);
  border-left: 4px solid var(--teal);
  border-radius: 8px;
  padding: 1rem 1.25rem;
  color: var(--muted);
  font-size: 0.9rem;
}

/* ── SUPPORT FORM ── */
.support-grid {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: start;
}

.form-card {
  background: var(--white);
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 2rem;
  box-shadow: 0 2px 20px rgba(13,27,61,0.06);
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1.1rem; }
.field label { font-size: 0.85rem; font-weight: 600; color: var(--navy); }
.field label .opt { font-weight: 400; color: var(--muted); }

.field input,
.field select,
.field textarea {
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  width: 100%;
}

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

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15,118,110,0.18);
}

.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit {
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  color: var(--white);
  background: var(--teal);
  border: 0;
  border-radius: 8px;
  padding: 0.9rem 2rem;
  cursor: pointer;
  transition: background .2s;
}

.btn-submit:hover { background: #0d6460; }

.form-fine { font-size: 0.8rem; color: var(--muted); margin-top: 1rem; }
.form-fine a { color: var(--teal); }

.alert-success {
  display: none;
  background: rgba(15,118,110,0.08);
  border: 1px solid rgba(15,118,110,0.35);
  color: var(--navy);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.alert-success.show { display: block; }

.side-card {
  background: var(--off-white);
  border-radius: 14px;
  padding: 1.75rem;
}

.side-card h2 { font-size: 1rem; font-weight: 700; color: var(--navy); margin-bottom: 0.4rem; }
.side-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 1.25rem; }
.side-card p:last-child { margin-bottom: 0; }
.side-card a { color: var(--teal); font-weight: 600; text-decoration: none; }

@media (max-width: 800px) {
  .support-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card { padding: 1.5rem; }
}
