/* LegitCheck AI — legal documents stylesheet */

:root {
  --bg: #ffffff;
  --text: #1c1c1e;
  --text-muted: #5c5c66;
  --accent: #2568e1;
  --border: #e3e3e8;
  --card: #f6f7f9;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 32px 20px 64px;
}

header.doc-header {
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 28px;
}

h1 {
  font-size: 27px;
  line-height: 1.3;
  margin: 0 0 8px;
  font-weight: 700;
}

h2 {
  font-size: 20px;
  line-height: 1.35;
  margin: 36px 0 12px;
  font-weight: 700;
}

h3 {
  font-size: 17px;
  line-height: 1.4;
  margin: 22px 0 8px;
  font-weight: 600;
}

p {
  margin: 0 0 14px;
}

ul, ol {
  margin: 0 0 14px;
  padding-left: 24px;
}

li {
  margin-bottom: 8px;
}

a {
  color: var(--accent);
  text-decoration: none;
  word-break: break-word;
}

a:hover {
  text-decoration: underline;
}

.updated {
  color: var(--text-muted);
  font-size: 15px;
  margin: 0;
}

.lead {
  font-size: 17px;
}

.note {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  margin: 20px 0;
}

.note strong {
  display: block;
  margin-bottom: 6px;
}

.req-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px;
  font-size: 16px;
}

.req-table th,
.req-table td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.req-table th {
  width: 42%;
  color: var(--text-muted);
  font-weight: 600;
}

.doc-footer {
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 15px;
  color: var(--text-muted);
}

.doc-footer p {
  margin: 0 0 6px;
}

.doc-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 16px 0 4px;
  font-size: 15px;
}

/* Landing page */
.landing-hero {
  text-align: center;
  padding: 24px 0 8px;
}

.landing-hero h1 {
  font-size: 30px;
}

.landing-hero p {
  color: var(--text-muted);
  font-size: 17px;
}

.doc-list {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
}

.doc-list li {
  margin-bottom: 14px;
}

.doc-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
  background: var(--card);
  color: var(--text);
  transition: border-color 0.15s ease;
}

.doc-card:hover {
  border-color: var(--accent);
  text-decoration: none;
}

.doc-card .doc-card-title {
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text);
}

.doc-card .doc-card-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin: 0;
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }
  .wrap {
    padding: 24px 16px 48px;
  }
  h1 {
    font-size: 23px;
  }
  h2 {
    font-size: 18px;
  }
  .req-table th {
    width: 38%;
  }
}
