/* ============================================
   Barred Without Trial — Design System
   ============================================ */

:root {
  --navy: #1a2744;
  --navy-light: #243352;
  --gold: #c9a84c;
  --gold-light: #d4ba6a;
  --red: #c0392b;
  --red-light: #e74c3c;
  --white: #ffffff;
  --light: #f8f9fa;
  --gray-100: #f1f3f5;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-600: #868e96;
  --text: #2d3436;
  --text-light: #636e72;
  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  line-height: 1.75;
  font-size: 1rem;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--gold); }

h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  line-height: 1.25;
  color: var(--navy);
}

h1 { font-size: 2.25rem; font-weight: 900; }
h2 { font-size: 1.75rem; font-weight: 700; margin-bottom: 1.5rem; }
h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 1rem; }
h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

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

.container--narrow {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
  background: var(--navy);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 2px solid var(--gold);
}

.nav .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-brand {
  font-family: var(--font-heading);
  color: var(--gold);
  font-size: 1.2rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.02em;
}

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

.nav-links a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
  letter-spacing: 0.01em;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 1rem 1.5rem 1.5rem;
    gap: 0.5rem;
    border-bottom: 2px solid var(--gold);
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    display: block;
    padding: 0.5rem 0;
    font-size: 1rem;
  }
}

/* ============================================
   Hero
   ============================================ */
.hero {
  background: var(--navy);
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.hero h1 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero .subtitle {
  color: var(--gold);
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.hero .lead {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.hero .case-number {
  display: inline-block;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(201,168,76,0.4);
  padding: 0.35rem 1rem;
  border-radius: 2px;
}

@media (min-width: 768px) {
  .hero { padding: 5rem 0 4.5rem; }
  .hero h1 { font-size: 3.5rem; }
  .hero .subtitle { font-size: 1.35rem; }
}

/* ============================================
   Stats Row
   ============================================ */
.stats {
  background: var(--white);
  padding: 3rem 0;
  border-bottom: 1px solid var(--gray-200);
}

.stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem 1rem;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 900;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-number.red { color: var(--red); }
.stat-number.gold { color: var(--gold); }

.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

@media (min-width: 768px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
  .stat-number { font-size: 2.75rem; }
}

/* ============================================
   Sections
   ============================================ */
.section {
  padding: 3.5rem 0;
}

.section--navy {
  background: var(--navy);
  color: var(--white);
}

.section--navy h2,
.section--navy h3 {
  color: var(--white);
}

.section--light {
  background: var(--light);
}

.section--white {
  background: var(--white);
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

@media (min-width: 768px) {
  .section { padding: 5rem 0; }
}

/* ============================================
   Doolittle Blockquote
   ============================================ */
.blockquote-dramatic {
  background: var(--navy);
  padding: 3.5rem 0;
  position: relative;
}

.blockquote-dramatic blockquote {
  border-left: 4px solid var(--gold);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.blockquote-dramatic blockquote p {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.blockquote-dramatic blockquote p:last-of-type {
  margin-bottom: 1.25rem;
}

.blockquote-dramatic .attribution {
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.blockquote-dramatic .attribution span {
  color: rgba(255,255,255,0.6);
  font-weight: 400;
}

@media (min-width: 768px) {
  .blockquote-dramatic { padding: 5rem 0; }
  .blockquote-dramatic blockquote { padding: 2rem 2rem 2rem 2.5rem; }
  .blockquote-dramatic blockquote p { font-size: 1.65rem; }
}

/* ============================================
   Share Button
   ============================================ */
.share-btn-wrap {
  text-align: center;
  margin-top: 2rem;
}

.share-btn {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.75rem 1.75rem;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: background 0.2s;
}

.share-btn:hover {
  background: var(--gold-light);
}

.share-confirm {
  display: none;
  color: #27ae60;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.share-confirm.show {
  display: block;
}

/* ============================================
   Timeline
   ============================================ */
.timeline {
  position: relative;
  padding-left: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-300);
}

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.35rem;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--gold);
  z-index: 1;
}

.timeline-dot--red {
  background: var(--red);
  box-shadow: 0 0 0 2px var(--red);
}

.timeline-dot--blue {
  background: #3498db;
  box-shadow: 0 0 0 2px #3498db;
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.25rem;
}

.timeline-date--red {
  color: var(--red);
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.timeline-text {
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.7;
}

.timeline-text .legal-cite {
  font-size: 0.85rem;
  color: var(--gray-600);
  font-style: italic;
}

@media (min-width: 768px) {
  .timeline { padding-left: 3rem; }
  .timeline-dot { left: -3rem; }
}

/* ============================================
   Tables
   ============================================ */
.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.5rem 0;
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.table th {
  background: var(--navy);
  color: var(--white);
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.table td {
  padding: 0.65rem 1rem;
  border-bottom: 1px solid var(--gray-200);
  white-space: nowrap;
}

.table tbody tr:hover {
  background: var(--gray-100);
}

.table .row-red {
  background: #fdf0ef !important;
  font-weight: 700;
}

.table .row-red td {
  color: var(--red);
  border-bottom: 2px solid var(--red);
}

/* ============================================
   Document List
   ============================================ */
.doc-section {
  margin-bottom: 2.5rem;
}

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

.doc-list li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
  line-height: 1.5;
}

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

.doc-date {
  display: inline-block;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 600;
  min-width: 140px;
}

.doc-note {
  display: block;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.2rem;
  font-style: italic;
}

.doc-link {
  display: inline-block;
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  margin-left: 0.5rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}

.doc-link:hover {
  color: var(--gold-light);
  text-decoration: underline;
}

.table .doc-link {
  margin-left: 0;
  font-size: 0.78rem;
}

/* ============================================
   Cards
   ============================================ */
.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 4px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.card--navy {
  background: var(--navy-light);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--white);
}

.card--navy h3,
.card--navy h4 {
  color: var(--gold);
}

.card--navy p {
  color: rgba(255,255,255,0.85);
}

.card--bordered-gold {
  border-left: 4px solid var(--gold);
}

.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cards-grid--2 { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Key Points / Issue List
   ============================================ */
.key-points {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}

.key-point {
  padding: 1.5rem;
  border-left: 3px solid var(--gold);
  background: var(--light);
}

.key-point h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.key-point p {
  font-size: 0.95rem;
  color: var(--text-light);
}

@media (min-width: 768px) {
  .key-points { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Page Headers (inner pages)
   ============================================ */
.page-header {
  background: var(--navy);
  padding: 3rem 0;
  text-align: center;
  border-bottom: 2px solid var(--gold);
}

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

.page-header p {
  color: rgba(255,255,255,0.7);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}

@media (min-width: 768px) {
  .page-header { padding: 4rem 0; }
}

/* ============================================
   Updates
   ============================================ */
.update-placeholder {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-light);
  font-size: 1rem;
}

.update-placeholder .icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  opacity: 0.4;
}

/* ============================================
   CTA Nav Links
   ============================================ */
.cta-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.cta-link {
  display: block;
  background: var(--navy-light);
  color: var(--white);
  text-decoration: none;
  padding: 1.25rem 1.5rem;
  border-left: 3px solid var(--gold);
  transition: background 0.2s, border-color 0.2s;
}

.cta-link:hover {
  background: var(--navy);
  border-color: var(--gold-light);
}

.cta-link .cta-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.25rem;
  color: var(--white);
}

.cta-link .cta-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

@media (min-width: 768px) {
  .cta-links { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================
   Footer
   ============================================ */
.footer {
  background: var(--navy);
  padding: 2.5rem 0;
  border-top: 2px solid var(--gold);
  text-align: center;
}

.footer p {
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* ============================================
   Utility
   ============================================ */
.text-gold { color: var(--gold); }
.text-red { color: var(--red); }
.text-navy { color: var(--navy); }
.text-white { color: var(--white); }
.text-light { color: var(--text-light); }
.text-center { text-align: center; }
.text-small { font-size: 0.85rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

/* Plain English callout */
.plain {
  background: var(--light);
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.5rem;
  font-size: 0.95rem;
  color: var(--text);
}

.plain strong {
  color: var(--navy);
}

.section--navy .plain {
  background: rgba(255,255,255,0.08);
  border-left-color: var(--gold);
  color: rgba(255,255,255,0.9);
}

/* ============================================
   Print
   ============================================ */
@media print {
  .nav, .footer, .nav-toggle { display: none; }
  body { font-size: 12pt; color: #000; }
  .hero, .section--navy, .blockquote-dramatic { background: #fff !important; color: #000 !important; }
  .hero h1, .section--navy h2 { color: #000 !important; }
}
