/* site.css — shared styles for all marketing & legal pages
 * 🎯 NAVY BLUE THEME — matches landing + app
 */

:root {
  /* ─── Backgrounds & borders ─── */
  --bg: #0b1220;
  --bg-2: #0f172a;
  --bg-3: #1e293b;
  --line: #1e2a44;
  --line-2: #334155;

  /* ─── Text ─── */
  --text: #e8e8ed;
  --text-dim: #94a3b8;
  --text-mute: #64748b;

  /* ─── Brand accent ─── */
  --green: #00ffa2;
  --green-bright: #5effbd;
  --green-glow: rgba(0, 255, 162, 0.4);

  /* ─── Signal colors ─── */
  --red: #ef4444;
  --red-glow: rgba(239, 68, 68, 0.4);
  --gold: #facc15;
  --gold-dim: #ca8a04;
  --cyan: #22d3ee;
  --blue: #3896fa;
  --purple: #a78bfa;

  /* ─── Fonts (both naming conventions work) ─── */
  --font-display: "Fraunces", Georgia, serif;
  --font-mono: "JetBrains Mono", Menlo, Consolas, monospace;
  --display: "Fraunces", Georgia, serif;
  --mono: "JetBrains Mono", Menlo, Consolas, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html, body { max-width: 100vw; overflow-x: hidden; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
::selection { background: var(--green); color: #000; }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--line-2); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-mute); }

/* ─── HEADER ─── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: var(--text);
  flex-shrink: 0;
}
.site-logo-mark { display: inline-block; width: 28px; height: 28px; flex-shrink: 0; }
.site-logo-em { color: var(--green); font-style: italic; }

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.site-nav-link { color: var(--text-dim); transition: color 0.2s; position: relative; }
.site-nav-link:hover { color: var(--text); }
.site-nav-link.active { color: var(--green); }
.site-nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--green);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.site-nav-link:hover::after,
.site-nav-link.active::after { transform: scaleX(1); }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: var(--green);
  color: var(--bg);
  border: 1px solid var(--green);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-primary:hover {
  background: var(--green-bright);
  box-shadow: 0 0 24px var(--green-glow);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line-2);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-ghost:hover { border-color: var(--text); background: var(--bg-2); }

/* ─── PAGE LAYOUT ─── */
.page { min-height: calc(100vh - 80px); padding: 80px 32px 60px; }
.page-inner { max-width: 880px; margin: 0 auto; }
.page-inner-wide { max-width: 1200px; margin: 0 auto; }

.page-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
  padding: 6px 12px;
  border: 1px solid rgba(0, 255, 162, 0.3);
  background: rgba(0, 255, 162, 0.05);
}
.page-eyebrow-dot {
  width: 5px;
  height: 5px;
  background: var(--green);
  border-radius: 50%;
  box-shadow: 0 0 6px var(--green);
}

.page-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 16px;
}
.page-title em { font-style: italic; color: var(--green); }

.page-lead {
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-dim);
  margin-bottom: 60px;
  max-width: 680px;
}

/* ─── CONTENT TYPOGRAPHY ─── */
.content h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.8px;
  margin: 60px 0 20px;
}
.content h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.4px;
  margin: 40px 0 14px;
}
.content h4 {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin: 32px 0 10px;
}
.content p {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 16px;
}
.content p strong { color: var(--text); font-weight: 600; }
.content p em { font-style: italic; color: var(--green); }

.content ul, .content ol { margin: 16px 0 16px 24px; padding-left: 0; }
.content li {
  font-family: var(--font-mono);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text-dim);
  margin-bottom: 8px;
  list-style: none;
  position: relative;
  padding-left: 18px;
}
.content li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 600;
}

.content a {
  color: var(--green);
  border-bottom: 1px solid rgba(0, 255, 162, 0.3);
  transition: border-color 0.2s;
}
.content a:hover { border-bottom-color: var(--green); }

.content code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--bg-2);
  padding: 2px 6px;
  border-radius: 3px;
  color: var(--green);
  border: 1px solid var(--line);
}

.content hr { border: none; border-top: 1px solid var(--line); margin: 48px 0; }

/* ─── CALLOUT ─── */
.callout {
  background: var(--bg-2);
  border-left: 3px solid var(--green);
  padding: 20px 24px;
  margin: 24px 0;
  border-radius: 0 4px 4px 0;
}
.callout-warn { border-left-color: var(--gold); }
.callout-danger { border-left-color: var(--red); }
.callout-label {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.callout-warn .callout-label { color: var(--gold); }
.callout-danger .callout-label { color: var(--red); }
.callout p { margin: 0; color: var(--text); font-size: 14px; line-height: 1.65; }

/* ─── FOOTER ─── */
.site-footer {
  background: #050507;
  border-top: 1px solid var(--line);
  padding: 60px 32px 32px;
}

.site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.site-footer-col-brand { max-width: 320px; }

.site-footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
}

.site-footer-tagline {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-dim);
  line-height: 1.6;
  margin-bottom: 16px;
}

.site-footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 16px;
}

.site-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.site-footer-col li {
  font-family: var(--font-mono);
  font-size: 13px;
}

.site-footer-col a {
  color: var(--text-dim);
  transition: color 0.2s;
}
.site-footer-col a:hover { color: var(--green); }

.site-footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--text-mute);
  flex-wrap: wrap;
  gap: 24px;
}

.site-footer-disclaimer {
  max-width: 900px;
  line-height: 1.7;
  flex: 1;
}

.site-footer-disclaimer strong { color: var(--text-dim); }

.site-footer-socials {
  display: flex;
  gap: 14px;
  flex-shrink: 0;
}
.site-footer-socials a { color: var(--text-mute); transition: color 0.2s; }
.site-footer-socials a:hover { color: var(--green); }

/* ─── PAGE-SPECIFIC ─── */

/* Contact form */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; margin-top: 20px; }
.form-field { margin-bottom: 20px; }
.form-field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 6px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  background: var(--bg-2);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 12px 14px;
  font-family: var(--font-mono);
  font-size: 14px;
  border-radius: 4px;
  transition: all 0.2s;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--green);
  box-shadow: 0 0 0 2px rgba(0, 255, 162, 0.15);
}
.form-field textarea {
  min-height: 140px;
  resize: vertical;
  font-family: var(--font-mono);
}

.contact-side {
  background: var(--bg-2);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 4px;
}
.contact-side h3,
.contact-side h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.contact-side p {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-dim);
  margin-bottom: 24px;
}
.contact-side a { color: var(--text); font-weight: 600; transition: color 0.2s; }
.contact-side a:hover { color: var(--green); }

/* FAQ accordion */
.faq-item { border-top: 1px solid var(--line); padding: 20px 0; }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-question {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: "+";
  color: var(--green);
  font-size: 28px;
  font-weight: 300;
  transition: transform 0.2s;
}
.faq-item[open] .faq-question::after { content: "−"; }
.faq-answer { margin-top: 14px; }
.faq-answer p {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--text-dim);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* Pricing cards */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
.pricing-card {
  background: var(--bg-2);
  border: 1px solid var(--line);
  padding: 32px 28px;
  transition: all 0.25s;
  position: relative;
}
.pricing-card:hover {
  border-color: var(--line-2);
  transform: translateY(-2px);
}
.pricing-card.featured { border-color: var(--green); }
.pricing-card.featured::before {
  content: "MOST POPULAR";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--green);
  color: var(--bg);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  padding: 4px 10px;
  border-radius: 2px;
}
.pricing-tier {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}
.pricing-price {
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 600;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--text);
}
.pricing-period {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-mute);
  margin-bottom: 24px;
}
.pricing-features {
  list-style: none !important;
  padding: 0 !important;
  margin: 24px 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pricing-features li {
  font-family: var(--font-mono);
  font-size: 13px !important;
  color: var(--text-dim);
  padding-left: 22px !important;
  list-style: none !important;
  position: relative;
}
.pricing-features li::before {
  content: "✓" !important;
  color: var(--green) !important;
  position: absolute;
  left: 0;
  font-weight: 700;
}
.pricing-features li.muted { color: var(--text-mute); }
.pricing-features li.muted::before {
  content: "·" !important;
  color: var(--text-mute) !important;
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .site-nav { gap: 16px; }
  .site-nav-link:not(.active) { display: none; }
  .site-footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .site-footer-col-brand { grid-column: 1 / -1; max-width: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 640px) {
  .site-header-inner { padding: 14px 20px; }
  .page { padding: 48px 20px 40px; }
  .page-title { font-size: 36px; letter-spacing: -1px; }
  .site-footer { padding: 40px 20px 24px; }
  .site-footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .site-footer-bottom { flex-direction: column; align-items: flex-start; }
  .content h2 { font-size: 26px; }
  .content h3 { font-size: 19px; }
}