/* CourtReady LLC — Production Stylesheet */
/* System font stack, no external dependencies */

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

:root {
  --navy: #1a2332;
  --navy-light: #243044;
  --slate: #3d4f5f;
  --gray-dark: #5a6a7a;
  --gray-mid: #8494a4;
  --gray-light: #b8c4ce;
  --gray-pale: #e2e8ee;
  --off-white: #f4f6f8;
  --white: #ffffff;
  --accent: #4a7c8f;
  --accent-hover: #3b6573;
  --text-primary: #1a2332;
  --text-secondary: #3d4f5f;
  --text-muted: #5a6a7a;
  --border: #d1d9e0;
  --shadow-sm: 0 1px 3px rgba(26, 35, 50, 0.08);
  --shadow-md: 0 4px 12px rgba(26, 35, 50, 0.1);
  --radius: 4px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3 {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: 400;
  line-height: 1.3;
  color: var(--navy);
}

h1 {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
}

h2 {
  font-size: 1.625rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
  color: var(--slate);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

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

a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* Layout */
.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: 4.5rem 0;
}

section:nth-child(even) {
  background-color: var(--off-white);
}

/* Header / Nav */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--navy);
  box-shadow: var(--shadow-md);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.875rem;
  padding-bottom: 0.875rem;
}

.site-logo {
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.02em;
}

.site-logo span {
  font-weight: 700;
}

.site-nav {
  display: flex;
  gap: 1.75rem;
  list-style: none;
}

.site-nav a {
  color: var(--gray-light);
  font-size: 0.875rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

/* Hero */
.hero {
  background-color: var(--navy);
  color: var(--white);
  padding: 5rem 0 4.5rem;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 0.75rem;
}

.hero .subheading {
  font-size: 1.125rem;
  color: var(--gray-light);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.hero p {
  color: var(--gray-light);
  max-width: 600px;
  margin: 0 auto 2rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: var(--accent);
  color: var(--white);
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  border: 1px solid transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.btn-primary:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--gray-mid);
}

.service-card h3 {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.service-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

/* Deliverables */
.deliverables-list {
  list-style: none;
  max-width: 640px;
  margin: 2rem auto 0;
}

.deliverables-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9375rem;
}

.deliverables-list li::before {
  content: "\2014\00a0";
  color: var(--accent);
}

.deliverables-list li:last-child {
  border-bottom: none;
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.step {
  text-align: center;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--navy);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  border-radius: 50%;
  margin-bottom: 0.75rem;
}

.step h3 {
  font-family: "Times New Roman", Times, Georgia, serif;
  font-weight: 700;
  font-size: 0.9375rem;
  text-align: center;
}

.step p {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.process-note {
  margin-top: 2.5rem;
  padding: 1.25rem 1.5rem;
  background-color: var(--white);
  border-left: 3px solid var(--accent);
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* About */
.about-content {
  max-width: 640px;
  margin: 0 auto;
}

/* Disclaimers */
.disclaimers-content {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem;
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.disclaimers-content p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.disclaimers-content p:last-child {
  margin-bottom: 0;
}

/* Contact Form */
.contact-section {
  text-align: center;
}

.contact-form {
  max-width: 520px;
  margin: 2rem auto 0;
  text-align: left;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate);
  margin-bottom: 0.375rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-primary);
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(74, 124, 143, 0.15);
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-notice {
  font-size: 0.8125rem;
  color: var(--gray-mid);
  margin-top: 0.75rem;
}

.contact-email {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.contact-email a {
  font-weight: 600;
}

/* Footer */
.site-footer {
  background-color: var(--navy);
  color: var(--gray-mid);
  padding: 2rem 0;
  text-align: center;
  font-size: 0.8125rem;
}

.site-footer a {
  color: var(--gray-light);
}

.site-footer a:hover {
  color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.375rem;
  }

  .site-nav {
    gap: 1rem;
  }

  .site-nav a {
    font-size: 0.75rem;
  }

  section {
    padding: 3rem 0;
  }

  .hero {
    padding: 3.5rem 0 3rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .site-header .container {
    flex-direction: column;
    gap: 0.75rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .process-steps {
    grid-template-columns: 1fr;
  }
}

/* Print */
@media print {
  .site-header,
  .btn-primary,
  .contact-form {
    display: none;
  }

  body {
    font-size: 12pt;
    color: #000;
  }

  section {
    padding: 1.5rem 0;
    background-color: #fff;
  }

  a {
    color: #000;
  }

  a::after {
    content: " (" attr(href) ")";
    font-size: 0.8em;
  }
}

/* FAQ Section */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-item h3 {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.faq-item p {
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Contact Info */
.contact-info {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.contact-info p {
  margin-bottom: 0.5rem;
}

.contact-info a {
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid var(--navy);
}

.contact-info a:hover {
  color: var(--accent);
  border-color: var(--accent);
}
