/* docreq.com marketing site. Plain CSS, no build step. */

:root {
  --ink: #111827;
  --ink-2: #374151;
  --ink-3: #4b5563;
  --line: #e5e7eb;
  --night: #0b1220;
  --night-2: #111a2e;
  --night-line: #1e293b;
  --night-ink: #cbd5e1;
  --blue: #1d4ed8;
  --blue-dark: #1e3a8a;
  --blue-soft: #f1f5ff;
  --blue-line: #bfdbfe;
  --glow: #60a5fa;
  --soft: #f9fafb;
  --radius: 20px;
  --max: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    'Plus Jakarta Sans',
    system-ui,
    -apple-system,
    'Segoe UI',
    sans-serif;
  color: var(--ink);
  background: #fff;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--blue);
}
a:hover {
  color: var(--blue-dark);
}

h1,
h2,
h3 {
  margin: 0;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
img {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid var(--glow);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: #fff;
  color: var(--ink);
  padding: 8px 12px;
  border-radius: 8px;
  z-index: 10;
}
.skip-link:focus {
  left: 8px;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 96px 0;
}

.eyebrow {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.dark .eyebrow {
  color: var(--glow);
}

.h2 {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  line-height: 1.15;
}
.lead {
  font-size: 18px;
  color: var(--ink-2);
}
.center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
}
.btn-glow {
  background: var(--glow);
  color: var(--night);
}
.btn-glow:hover {
  background: #93c5fd;
  color: var(--night);
}
.btn-ghost {
  border-color: #334155;
  color: #fff;
  font-weight: 600;
}
.btn-ghost:hover {
  border-color: #64748b;
  color: #fff;
}
.btn-blue {
  background: var(--blue);
  color: #fff;
  border: 0;
}
.btn-blue:hover {
  background: var(--blue-dark);
  color: #fff;
}
.btn-blue:disabled {
  opacity: 0.7;
  cursor: progress;
}

/* Dark areas */
.dark {
  background: var(--night);
  color: #fff;
}
.dark .lead,
.dark p {
  color: var(--night-ink);
}

/* Header */
.site-header .wrap {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: #fff;
  text-decoration: none;
}
.brand img {
  display: block;
  height: 29px;
  width: auto;
}
.brand:hover {
  color: #fff;
}
.nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
  font-size: 15px;
}
.nav a {
  color: var(--night-ink);
  text-decoration: none;
}
.nav a:hover {
  color: #fff;
}
.nav .btn {
  min-height: 44px;
  padding: 0 18px;
  font-size: 15px;
  color: #fff;
}

/* Hero */
.hero {
  padding-top: 72px;
  text-align: center;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  padding: 6px 14px;
  border: 1px solid #334155;
  border-radius: 999px;
  font-size: 14px;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--glow);
  flex-shrink: 0;
}
.hero h1 {
  max-width: 900px;
  margin: 0 auto 20px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.hero .lead {
  max-width: 640px;
  margin: 0 auto 32px;
  font-size: clamp(17px, 2vw, 19px);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 64px;
}

/* Sample case table */
.preview {
  max-width: 980px;
  margin: 0 auto;
  background: #fff;
  color: var(--ink);
  border-radius: 16px 16px 0 0;
  text-align: left;
  box-shadow: 0 -10px 60px rgba(96, 165, 250, 0.18);
  overflow: hidden;
}
.preview-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 24px;
  border-bottom: 1px solid var(--line);
}
.preview-head span {
  font-size: 13px;
  color: var(--ink-3);
}
.table-scroll {
  overflow-x: auto;
}
.cases {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
  font-size: 15px;
}
.cases th {
  padding: 12px 8px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-3);
}
.cases td {
  padding: 14px 8px;
  border-top: 1px solid #f1f5f9;
}
.cases th:first-child,
.cases td:first-child {
  padding-left: 24px;
  font-weight: 600;
}
.cases th:last-child,
.cases td:last-child {
  padding-right: 24px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}
.pill i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.pill-done {
  background: #dcfce7;
  color: #14532d;
}
.pill-done i {
  background: #16a34a;
}
.pill-part {
  background: #fef3c7;
  color: #78350f;
}
.pill-part i {
  background: #d97706;
}
.pill-none {
  background: #fee2e2;
  color: #7f1d1d;
}
.pill-none i {
  background: #dc2626;
}

/* Grids and cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 24px;
}
.row {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: center;
}
.row > * {
  flex: 1 1 420px;
  min-width: 0;
}
.card {
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #fff;
}
.card h3 {
  margin-bottom: 8px;
  font-size: 21px;
  font-weight: 700;
}
.card p {
  color: var(--ink-3);
}
.card-blue {
  background: var(--blue-soft);
  border-color: var(--blue-line);
}

.checks {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--ink-2);
}
.checks li {
  display: flex;
  gap: 12px;
}
.checks svg {
  flex-shrink: 0;
  margin-top: 3px;
}
.bullets {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.step-num {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}
.step {
  border: 0;
  background: var(--blue-soft);
}
.step p {
  color: var(--ink-2);
}

/* Phone mockup */
.phone {
  position: relative;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  padding: 9px;
  border-radius: 54px;
  background: linear-gradient(145deg, #2b3445, #0b1220 45%, #1c2433);
  box-shadow:
    inset 0 0 0 1.5px #3b4558,
    0 30px 60px rgba(11, 18, 32, 0.28);
}
/* Side buttons: action + volume on the left, power on the right. */
.phone::before,
.phone::after {
  content: '';
  position: absolute;
  width: 3px;
  border-radius: 2px;
  background: #2b3445;
}
.phone::before {
  left: -3px;
  top: 112px;
  height: 104px;
  box-shadow: 0 -34px 0 -8px #2b3445;
}
.phone::after {
  right: -3px;
  top: 150px;
  height: 72px;
}
.phone-screen {
  aspect-ratio: 9 / 19.5;
  border-radius: 45px;
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.phone-status {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 22px 0 28px;
  height: 46px;
  font-size: 14px;
  font-weight: 700;
  color: var(--ink);
}
.phone-island {
  position: absolute;
  left: 50%;
  top: 11px;
  width: 88px;
  height: 26px;
  margin-left: -44px;
  border-radius: 999px;
  background: #000;
}
.phone-app {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 16px 0;
}
.phone-app .phone-title {
  margin-top: -6px;
}
.phone-browser {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 8px;
  background: #f3f4f6;
  border-top: 1px solid var(--line);
}
.phone-url {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 8px 0;
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  color: var(--ink-2);
  box-shadow: 0 1px 3px rgba(17, 24, 39, 0.08);
}
.phone-url svg {
  color: var(--ink-3);
}
.phone-home {
  width: 110px;
  height: 4px;
  border-radius: 999px;
  background: var(--ink);
}
.phone-firm {
  font-size: 13px;
  color: var(--ink-3);
}
.phone-title {
  font-size: 20px;
  font-weight: 800;
}
.bar {
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  overflow: hidden;
}
.bar span {
  display: block;
  width: 60%;
  height: 100%;
  background: #d97706;
}
.doc {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  font-size: 14px;
  font-weight: 600;
}
.doc small {
  display: block;
  margin-top: 2px;
  font-size: 12px;
  font-weight: 500;
  color: #991b1b;
}
.doc-returned {
  border-color: #fecaca;
  background: #fef2f2;
}
.tag {
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 999px;
}
.tag-done {
  color: #14532d;
  background: #dcfce7;
}
.tag-returned {
  color: #7f1d1d;
  background: #fee2e2;
}
.tag-warn {
  color: #78350f;
  background: #fef3c7;
}
.tag-upload {
  font-size: 13px;
  color: #fff;
  background: var(--blue);
  padding: 6px 14px;
}

/* AI section */
.ai-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 48px;
}
.ai-card {
  flex: 1 1 340px;
  min-width: 0;
  padding: 32px;
  border-radius: var(--radius);
  background: var(--night-2);
  border: 1px solid var(--night-line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.ai-card h3 {
  font-size: 22px;
  font-weight: 700;
  color: #fff;
}
.ai-demo {
  margin-top: auto;
  padding: 16px;
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.dark .ai-demo p {
  color: var(--ink-2);
}
.ai-demo-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 15px;
}
.chat-q {
  align-self: flex-end;
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 14px 14px 4px 14px;
  background: var(--blue);
}
.dark .ai-demo .chat-q {
  color: #fff;
}
.chat-a {
  align-self: flex-start;
  max-width: 92%;
  padding: 10px 12px;
  border-radius: 14px 14px 14px 4px;
  background: #f1f5f9;
}
.chat-a ul {
  margin: 6px 0 0;
  padding-left: 18px;
}
.drafted {
  display: flex;
  gap: 8px;
  align-items: center;
}
.coverage {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.ai-demo .bar span {
  background: #d97706;
}
.dark .ai-demo .coverage-note {
  font-size: 13px;
  color: var(--ink-3);
}
.ai-note {
  margin-top: 32px;
  font-size: 15px;
}

/* Security band */
.secure {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  padding: 48px;
  border-radius: 24px;
}
.secure > div:first-child {
  flex: 1 1 320px;
  min-width: 0;
}
.secure-list {
  flex: 2 1 520px;
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 20px 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.secure-list strong {
  display: block;
  color: #fff;
}
.secure-list li {
  color: #e2e8f0;
}

/* Pilot and form */
.pilot {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
}
.pilot > * {
  flex: 1 1 400px;
  min-width: 0;
}
.price {
  margin: 8px 0 32px;
  font-size: 28px;
  font-weight: 800;
}
.faq details {
  padding: 14px 0;
  border-top: 1px solid var(--line);
}
.faq details:last-child {
  border-bottom: 1px solid var(--line);
}
.faq summary {
  font-weight: 600;
  cursor: pointer;
}
.faq details p {
  margin-top: 8px;
  color: var(--ink-3);
}

.demo-form {
  padding: 36px;
  border-radius: 24px;
  background: var(--blue-soft);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.demo-form h3 {
  font-size: 26px;
  font-weight: 800;
}
.field-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  gap: 16px;
}
.demo-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.demo-form input,
.demo-form select,
.demo-form textarea {
  font: inherit;
  font-weight: 500;
  padding: 12px 14px;
  border: 1px solid #93c5fd;
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
}
.demo-form textarea {
  resize: vertical;
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-note {
  font-size: 13px;
  color: var(--ink-3);
}
.form-status {
  font-size: 15px;
  font-weight: 600;
}
.form-status.ok {
  color: #14532d;
}
.form-status.error {
  color: #991b1b;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
}
.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  padding-top: 32px;
  padding-bottom: 32px;
  font-size: 14px;
  color: var(--ink-3);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.site-footer a {
  color: var(--ink-3);
}

/* Legal pages */
.legal {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
}
.legal h1 {
  font-size: clamp(32px, 5vw, 44px);
  font-weight: 800;
  margin-bottom: 8px;
}
.legal h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 40px 0 12px;
}
.legal p,
.legal li {
  color: var(--ink-2);
  margin-bottom: 12px;
}
.legal ul {
  padding-left: 22px;
}
.draft-note {
  margin: 16px 0 32px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fef3c7;
  color: #78350f;
  font-weight: 600;
}

@media (max-width: 600px) {
  .section {
    padding: 72px 0;
  }
  .card,
  .ai-card,
  .demo-form {
    padding: 24px;
  }
  .secure {
    padding: 32px 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
