/* SmartPitch live one-pager — additions on top of main.css
 *
 *   1. Register-interest form card
 *   2. Nav tweaks for a page with no menu links
 */

/* ─── Form card ─── */
.form-card {
  margin: 44px auto 0;
  max-width: 620px;
  text-align: left;
  background: rgba(12, 17, 28, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 34px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-field { display: flex; flex-direction: column; }
.form-field-full { grid-column: 1 / -1; }

.form-field label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-field label .opt {
  color: var(--dim);
  letter-spacing: 1px;
  text-transform: none;
}

.form-field input,
.form-field textarea {
  width: 100%;
  background: rgba(7, 11, 20, 0.6);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 12px 14px;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 96px; }

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(46, 229, 157, 0.15);
}

.form-submit {
  width: 100%;
  margin-top: 22px;
  font-size: 16px;
}

.form-note {
  margin-top: 14px;
  font-size: 12.5px;
  color: var(--dim);
  text-align: center;
}

.form-error {
  margin-top: 14px;
  font-size: 14px;
  color: var(--warn);
  text-align: center;
}

/* Honeypot — parked far off-screen, invisible to humans */
.form-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ─── Thank-you state ─── */
.form-thanks { text-align: center; padding: 48px 34px; }
.form-thanks-head {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
}
.form-thanks-sub { color: var(--muted); }
.form-preview-note {
  margin-top: 18px;
  font-size: 12.5px;
  color: var(--dim);
}

/* ─── Legal page (privacy policy) ─── */
.legal-page { padding: 140px 0 90px; }
.legal-h1 {
  font-size: clamp(30px, 4vw, 44px);
  margin-bottom: 6px;
}
.legal-content .docmeta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--dim);
  margin-bottom: 34px;
}
.legal-content h2 {
  font-size: 20px;
  margin: 34px 0 10px;
}
.legal-content p, .legal-content li { color: var(--muted); font-size: 15.5px; }
.legal-content b { color: var(--text); }
.legal-content ul { list-style: disc; margin: 0 0 12px 22px; }
.legal-content li { margin-bottom: 7px; }
.legal-content p { margin-bottom: 12px; }
.legal-content table {
  border-collapse: collapse;
  width: 100%;
  margin: 14px 0 18px;
  font-size: 14.5px;
}
.legal-content th, .legal-content td {
  border: 1px solid var(--line);
  padding: 9px 12px;
  text-align: left;
  vertical-align: top;
  color: var(--muted);
}
.legal-content th { color: var(--text); font-weight: 600; }
.legal-back { margin-top: 40px; }
.legal-back a { color: var(--brand); font-size: 14px; }
.footer-links a { color: var(--muted); font-size: 13px; }
.footer-links a:hover { color: var(--brand); }
.form-note a { color: var(--brand); text-decoration: underline; }

/* ─── Nav: no menu links on this page ─── */
/* Keep the register button visible on mobile (main.css hides it in
   favour of the hamburger, which this page doesn't have). */
@media (max-width: 900px) {
  .nav-right .btn-cta { display: inline-flex; }

  /* On phones the hero collapses to content height, which lands the
     absolutely-positioned scroll cue on the hero button. Drop the cue
     nearly to the hero's bottom edge — the hero itself must not grow,
     or the cover-fit photo visibly zooms. */
  .hero-scroll { bottom: 8px; }
}

@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .form-card { padding: 26px 20px; }
}
