/* go.precisiondocs.ai: the video page, the free site analysis form, the thank-you
   page. Served outside the dashboard's Basic Auth, so it carries its own copy of
   the dashboard tokens (dashboard.css) rather than loading that file: the same
   PrecisionDocs colorway, cyan the one accent, flat tone-stacked surfaces,
   hairline borders, no shadows. System fonts only, so the page makes no
   third-party request (the landing CSP allows none). */
:root {
  color-scheme: dark;
  --canvas: #0a0a0a;
  --section: #141414;
  --card: #1e1e1e;
  --edge: #313131;
  --text: #ffffff;
  --text-2: #a7a7a7;
  --text-3: #7c7c7c;
  --accent: #22d3ee;
  --accent-strong: #06b6d4;
  --accent-dim: rgba(34, 211, 238, 0.1);
  --accent-line: rgba(34, 211, 238, 0.4);
  --risk: #f87171;
  --risk-line: rgba(248, 113, 113, 0.4);
  --font-sans:
    ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Inter,
    sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image:
    linear-gradient(var(--section) 1px, transparent 1px),
    linear-gradient(90deg, var(--section) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
}

::selection {
  background: rgba(34, 211, 238, 0.28);
}

a {
  color: var(--accent);
}

.lp-top {
  padding: 20px 24px;
  border-bottom: 1px solid var(--card);
  background: rgba(10, 10, 10, 0.85);
}

.lp-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.lp-main {
  flex: 1;
  width: 100%;
  max-width: 880px;
  margin: 0 auto;
  padding: 48px 24px 64px;
}

.lp-hero {
  margin-bottom: 28px;
}

.lp-hero-tight {
  max-width: 640px;
}

.lp-eyebrow {
  margin: 0 0 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
}

h1 {
  margin: 0 0 14px;
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  font-weight: 650;
}

.lp-lede {
  margin: 0;
  max-width: 640px;
  color: var(--text-2);
  font-size: 18px;
}

.lp-video {
  margin: 0 0 28px;
}

.lp-video video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
}

.lp-meta {
  margin: 8px 0 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--text-3);
}

.lp-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.lp-actions-one {
  grid-template-columns: 1fr;
  max-width: 420px;
}

.lp-choice {
  padding: 20px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--section);
}

.lp-choice p {
  margin: 12px 0 0;
  color: var(--text-2);
  font-size: 14px;
}

.lp-btn {
  display: block;
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.lp-btn-primary {
  background: var(--accent);
  color: #001318;
}

.lp-btn-primary:hover {
  background: var(--accent-strong);
}

.lp-btn-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--edge);
}

.lp-btn-secondary:hover {
  border-color: var(--accent-line);
  background: var(--accent-dim);
}

.lp-btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.lp-btn:focus-visible,
.lp-field input:focus-visible,
.lp-field textarea:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.lp-banner {
  margin: 0 0 20px;
  padding: 12px 16px;
  border: 1px solid var(--risk-line);
  border-radius: var(--radius);
  color: var(--risk);
}

.lp-form {
  max-width: 640px;
  padding: 28px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--section);
}

.lp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 16px;
}

.lp-field {
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  min-width: 0;
}

.lp-field label,
.lp-field legend {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 600;
}

.lp-opt {
  font-weight: 400;
  color: var(--text-3);
}

.lp-field input[type="text"],
.lp-field input[type="email"],
.lp-field input[type="tel"],
.lp-field textarea {
  width: 100%;
  padding: 11px 12px;
  border: 1px solid var(--edge);
  border-radius: var(--radius);
  background: var(--canvas);
  color: var(--text);
  font: inherit;
}

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

.lp-field input[type="file"] {
  width: 100%;
  color: var(--text-2);
  font: inherit;
  font-size: 14px;
}

.lp-radios {
  display: flex;
  gap: 24px;
}

.lp-radios label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 400;
}

.lp-radios input {
  accent-color: var(--accent);
}

.lp-hint {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--text-3);
}

.lp-err {
  margin: 6px 0 0;
  font-size: 13px;
  color: var(--risk);
}

.lp-field-error input,
.lp-field-error textarea {
  border-color: var(--risk-line);
}

/* The trap field: off screen for people, still in the form for a bot. */
.lp-hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.lp-submit {
  margin-top: 8px;
}

.lp-fine {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--text-3);
}

.lp-foot {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px;
  border-top: 1px solid var(--card);
  font-size: 13px;
  color: var(--text-3);
}

.lp-foot a {
  color: var(--text-3);
}

@media (max-width: 640px) {
  .lp-main {
    padding: 32px 16px 48px;
  }
  .lp-actions,
  .lp-grid {
    grid-template-columns: 1fr;
  }
  .lp-form {
    padding: 20px 16px;
  }
}
