/* Draco AI — shared dark theme, matched to dracoai.com
   Palette pulled from the live site:
     bg      #0d1117   panel   #161b22 / #1e293b
     accent  #4A6CF7   accent2 #3b82f6
     text    #e6e9f0   muted   #94a3b8 / #959CB1
     border  #232a36   success #10b981   danger #ef4444
   Font: Inter */

:root {
  --bg: #0d1117;
  --panel: #161b22;
  --panel-2: #1e293b;
  --accent: #4A6CF7;
  --accent-dark: #3b57d6;
  --accent-2: #3b82f6;
  --success: #10b981;
  --danger: #ef4444;
  --ink: #e6e9f0;
  --muted: #94a3b8;
  --border: #232a36;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.65;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* subtle radial glow behind the hero, like the marketing site */
body {
  background-image:
    radial-gradient(1200px 500px at 50% -10%, rgba(74, 108, 247, 0.12), transparent 70%);
  background-repeat: no-repeat;
}

/* ---- header ---- */
header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  border-bottom: 1px solid var(--border);
  background: rgba(13, 17, 23, 0.85);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 10;
}
header.site .brand img { height: 30px; width: auto; display: block; }
header.site .nav-cta {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  color: var(--accent);
}
header.site .nav-cta:hover {
  background: var(--accent);
  color: #fff;
  text-decoration: none;
}

/* ---- hero ---- */
.hero {
  text-align: center;
  padding: 72px 20px 32px;
}
.hero .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(74, 108, 247, 0.12);
  border: 1px solid rgba(74, 108, 247, 0.3);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.2;
}
.hero p.subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 620px;
  margin: 0 auto;
}

/* ---- layout ---- */
main {
  max-width: 720px;
  margin: 0 auto;
  padding: 8px 20px 72px;
}
main.narrow { max-width: 620px; }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

/* ---- prose (privacy / terms) ---- */
.prose h2 {
  font-size: 1.25rem;
  margin: 32px 0 10px;
  letter-spacing: -0.01em;
}
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { color: #c7cdd9; }
.prose strong { color: var(--ink); }
.prose ul { padding-left: 20px; }
.prose .callout {
  background: var(--panel-2);
  border: 1px solid var(--border);
  border-left: 3px solid var(--accent);
  border-radius: 10px;
  padding: 14px 16px;
  margin: 16px 0;
  color: #d6dbe6;
}
.prose .updated { color: var(--muted); font-size: 0.85rem; }

/* ---- form ---- */
label.field-label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin: 18px 0 6px;
}
input[type="text"],
input[type="tel"],
input[type="email"] {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--ink);
  background: #0b0e14;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input::placeholder { color: #5b6472; }
input:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 108, 247, 0.25);
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 22px 0 8px;
  padding: 16px;
  background: rgba(74, 108, 247, 0.07);
  border: 1px solid rgba(74, 108, 247, 0.25);
  border-radius: 12px;
}
.consent input[type="checkbox"] {
  margin-top: 4px;
  width: 18px; height: 18px;
  accent-color: var(--accent);
  flex: 0 0 auto;
}
.consent label { font-size: 0.86rem; color: #c7cdd9; line-height: 1.55; }

button.submit {
  width: 100%;
  margin-top: 22px;
  padding: 14px 18px;
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  background: var(--accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.15s, transform 0.05s;
}
button.submit:hover { background: var(--accent-dark); }
button.submit:active { transform: translateY(1px); }

.fine-print { font-size: 0.78rem; color: var(--muted); margin-top: 18px; line-height: 1.6; }

#status {
  display: none;
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
}
#status.ok  { display: block; background: rgba(16,185,129,0.12); color: #34d399; border: 1px solid rgba(16,185,129,0.35); }
#status.err { display: block; background: rgba(239,68,68,0.12);  color: #f87171; border: 1px solid rgba(239,68,68,0.35); }

/* ---- footer ---- */
footer.site {
  border-top: 1px solid var(--border);
  padding: 32px 20px;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
footer.site .tagline { margin: 0 0 8px; color: #aeb6c4; }
footer.site .links a { margin: 0 8px; color: var(--muted); }
footer.site .links a:hover { color: var(--accent); }

@media (max-width: 560px) {
  .hero h1 { font-size: 1.9rem; }
  .card { padding: 22px; }
}
