/* Shared styles for Growth Accelerant secondary pages
   (request-access, thank-you, privacy, terms).
   The landing page (index.html) keeps its own inline styles. */

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

:root {
  --navy: #202020;
  --navy-light: #292929;
  --navy-mid: #333333;
  --indigo: #42ba90;
  --indigo-light: #5fd0a6;
  --cyan: #edc79b;
  --orange: #D57A66;
  --cream: #edc79b;
  --text-primary: #f9f4f5;
  --text-secondary: #b3aaa9;
  --text-muted: #857c7c;
  --border: rgba(66, 186, 144, 0.2);
  --border-subtle: rgba(255,255,255,0.06);
  --card-bg: rgba(41, 41, 41, 0.8);
}

html { scroll-behavior: smooth; }

body {
  background: var(--navy);
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

/* NAV (matches landing) */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 4rem;
  background: rgba(32, 32, 32, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}
.nav-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.logo-mark {
  width: 28px; height: 28px;
  background: var(--indigo);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700; color: white;
}
.nav-back {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s;
}
.nav-back:hover { color: var(--text-primary); }

/* LOGO */
.logo-img { height: 28px; width: auto; display: block; }
.nav-logo .wordmark { font-weight: 400; letter-spacing: -0.01em; }
.nav-logo .wordmark strong { font-weight: 700; }
.footer-logo strong { font-weight: 700; }


/* PAGE SHELL */
.page-main {
  flex: 1;
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  padding: 4rem 2rem 6rem;
}
.page-main.wide { max-width: 820px; }

.eyebrow {
  font-family: 'Poppins', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 1rem;
}
h1.page-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.page-intro {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 2.5rem;
}

/* LEGAL / PROSE */
.prose h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 2.25rem 0 0.75rem;
}
.prose p, .prose li {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}
.prose ul { padding-left: 1.25rem; margin-bottom: 0.75rem; }
.prose strong { color: var(--text-primary); font-weight: 500; }
.prose .updated {
  font-family: 'Poppins', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

/* FORM */
.form-card {
  background: var(--card-bg);
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 2.25rem;
}
.form-row { margin-bottom: 1.25rem; }
.form-row.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
label {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}
label .req { color: var(--cyan); }
input, select, textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 0.7rem 0.85rem;
  color: var(--text-primary);
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s, background 0.2s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: rgba(66, 186, 144,0.5);
  background: rgba(66, 186, 144,0.05);
}
textarea { min-height: 120px; resize: vertical; }
select { appearance: none; cursor: pointer; }
.field-hint { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.35rem; }

.btn-submit {
  width: 100%;
  background: var(--indigo);
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
  margin-top: 0.5rem;
}
.btn-submit:hover { background: var(--indigo-light); transform: translateY(-1px); }
.form-note { font-size: 0.75rem; color: var(--text-muted); text-align: center; margin-top: 1rem; }

/* THANK YOU */
.center-card {
  max-width: 520px;
  margin: 6rem auto;
  text-align: center;
  padding: 0 2rem;
}
.check-badge {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(74,222,128,0.12);
  color: #4ADE80;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1.75rem;
  border: 1px solid rgba(74,222,128,0.25);
}
.btn-primary {
  display: inline-block;
  background: var(--indigo);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  margin-top: 2rem;
}
.btn-primary:hover { background: var(--indigo-light); transform: translateY(-1px); }

/* FOOTER (matches landing) */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 2.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo {
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.footer-links { display: flex; gap: 2rem; list-style: none; }
.footer-links a {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--text-secondary); }
.footer-copy { font-size: 0.75rem; color: var(--text-muted); }

@media (max-width: 640px) {
  nav, footer { padding-left: 1.5rem; padding-right: 1.5rem; }
  .form-row.two { grid-template-columns: 1fr; }
}
