/* ── Design System ────────────────────────────── */
:root {
  --color-primary: #1a3a2a;
  --color-primary-light: #2d5a3f;
  --color-accent: #e85d3a;
  --color-accent-light: #f07b5e;
  --color-surface: #faf8f5;
  --color-surface-alt: #f0ede6;
  --color-text: #1a1a1a;
  --color-text-light: #666;
  --color-border: #e0dcd5;
  --color-success: #2e7d32;
  --color-warning: #f57c00;

  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'SF Mono', 'Menlo', monospace;

  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 5rem;

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);

  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 2rem;
  --text-4xl: 2.5rem;
  --text-5xl: 3.5rem;
}

/* ── Reset ──────────────────────────────────── */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:var(--font-body);
  font-size:var(--text-base);
  line-height:1.65;
  color:var(--color-text);
  background:var(--color-surface);
  -webkit-font-smoothing:antialiased;
}

/* ── Typography ─────────────────────────────── */
h1,h2,h3{font-family:var(--font-display);line-height:1.2}
h1{font-size:var(--text-5xl)}
h2{font-size:var(--text-3xl)}
h3{font-size:var(--text-xl)}
p+p{margin-top:var(--space-md)}

/* ── Links ──────────────────────────────────── */
a{color:var(--color-accent);text-decoration:none;transition:color 0.15s}
a:hover{color:var(--color-accent-light)}

/* ── Layout ─────────────────────────────────── */
.container{max-width:64rem;margin:0 auto;padding:0 var(--space-lg)}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* ── Hero ───────────────────────────────────── */
.hero-section{
  background:linear-gradient(135deg,var(--color-primary),var(--color-primary-light));
  color:#fff;padding:var(--space-2xl) var(--space-lg);position:relative;overflow:hidden
}
.hero-section::after{
  content:'';position:absolute;inset:0;background:url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L55 55 L5 55Z' fill='rgba(255,255,255,0.03)'/%3E%3C/svg%3E") repeat;
  pointer-events:none
}
.hero-content{position:relative;z-index:1;max-width:40rem}
.hero-badge{
  display:inline-block;background:rgba(255,255,255,0.15);backdrop-filter:blur(4px);
  padding:var(--space-xs) var(--space-md);border-radius:var(--radius-full);
  font-size:var(--text-sm);font-weight:600;margin-bottom:var(--space-lg)
}
.hero-title{font-size:clamp(2rem,5vw,var(--text-5xl));font-weight:900;margin-bottom:var(--space-md);letter-spacing:-0.02em}
.hero-subtitle{font-size:var(--text-lg);color:rgba(255,255,255,0.85);margin-bottom:var(--space-lg);line-height:1.6}

/* ── Buttons ────────────────────────────────── */
.btn{
  display:inline-flex;align-items:center;gap:var(--space-sm);font-weight:700;
  padding:0.85rem 2rem;border-radius:var(--radius-md);font-size:var(--text-base);
  cursor:pointer;transition:all 0.2s;border:none;text-decoration:none
}
.btn-primary{background:var(--color-accent);color:#fff}
.btn-primary:hover{background:#d44a29;color:#fff;transform:translateY(-1px);box-shadow:var(--shadow-md)}
.btn-secondary{background:rgba(255,255,255,0.15);color:#fff}
.btn-secondary:hover{background:rgba(255,255,255,0.25);color:#fff}
.btn-outline{background:transparent;color:var(--color-primary);border:2px solid var(--color-primary)}
.btn-outline:hover{background:var(--color-primary);color:#fff}

/* ── Stats Bar ──────────────────────────────── */
.stats-section{
  background:var(--color-primary);color:#fff;padding:var(--space-xl) var(--space-lg)
}
.stats-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:var(--space-lg);
  max-width:48rem;margin:0 auto;text-align:center
}
.stat-value{font-family:var(--font-display);font-size:clamp(1.5rem,3vw,2.5rem);font-weight:900}
.stat-label{font-size:var(--text-sm);color:rgba(255,255,255,0.7);margin-top:var(--space-xs)}

/* ── Cards ──────────────────────────────────── */
.card-grid{display:grid;gap:var(--space-md)}
@media(min-width:768px){.card-grid.cols-2{grid-template-columns:repeat(2,1fr)}.card-grid.cols-3{grid-template-columns:repeat(3,1fr)}}
.card{
  background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-lg);
  padding:var(--space-lg);transition:all 0.2s;box-shadow:var(--shadow-sm)
}
.card:hover{box-shadow:var(--shadow-md);transform:translateY(-2px)}
.card-icon{font-size:2rem;margin-bottom:var(--space-sm);display:block}
.card-title{font-family:var(--font-display);font-weight:700;margin-bottom:var(--space-xs);color:var(--color-primary)}
.card-text{color:var(--color-text-light);font-size:var(--text-sm);line-height:1.5}

/* ── Callout ────────────────────────────────── */
.callout{
  border-left:4px solid var(--color-accent);padding:var(--space-md) var(--space-lg);
  background:var(--color-surface-alt);border-radius:0 var(--radius-md) var(--radius-md) 0
}
.callout-title{font-weight:700;margin-bottom:var(--space-xs);color:var(--color-accent)}
.callout-green{border-color:var(--color-success)}.callout-green .callout-title{color:var(--color-success)}

/* ── Header ─────────────────────────────────── */
.site-header{
  background:var(--color-primary);color:#fff;padding:var(--space-md) var(--space-lg)
}
.site-header .container{display:flex;justify-content:space-between;align-items:center}
.site-header a{color:rgba(255,255,255,0.8)}.site-header a:hover{color:#fff}
.page-header{padding:var(--space-xl) var(--space-lg);color:#fff}
.page-header a{color:rgba(255,255,255,0.8);font-size:var(--text-sm)}
.page-header a:hover{color:#fff}

/* ── Form ───────────────────────────────────── */
.form-group{margin-bottom:var(--space-md)}
.form-label{display:block;font-weight:600;margin-bottom:var(--space-xs);font-size:var(--text-sm)}
.form-input{
  width:100%;padding:0.75rem 1rem;border:1px solid var(--color-border);border-radius:var(--radius-md);
  font-size:var(--text-base);font-family:inherit;transition:border-color 0.15s
}
.form-input:focus{outline:none;border-color:var(--color-accent);box-shadow:0 0 0 3px rgba(232,93,58,0.1)}

/* ── Timeline ───────────────────────────────── */
.timeline-item{display:flex;gap:var(--space-lg);padding:var(--space-md) 0}
.timeline-marker{
  width:12px;height:12px;background:var(--color-accent);border-radius:50%;
  margin-top:6px;flex-shrink:0;position:relative
}
.timeline-marker::after{
  content:'';position:absolute;top:12px;left:5px;width:2px;
  height:calc(100% + var(--space-md));background:var(--color-border)
}
.timeline-item:last-child .timeline-marker::after{display:none}
.timeline-date{font-size:var(--text-sm);font-weight:700;color:var(--color-accent);margin-bottom:var(--space-xs)}
.timeline-text{color:var(--color-text-light)}

/* ── Document List ──────────────────────────── */
.doc-item{
  display:flex;align-items:center;gap:var(--space-md);padding:var(--space-md);
  background:#fff;border:1px solid var(--color-border);border-radius:var(--radius-md);
  margin-bottom:var(--space-sm);transition:all 0.15s;text-decoration:none;color:inherit
}
.doc-item:hover{border-color:var(--color-accent);box-shadow:var(--shadow-sm)}
.doc-icon{font-size:1.5rem;flex-shrink:0}
.doc-name{font-weight:700;color:var(--color-primary)}
.doc-meta{font-size:var(--text-sm);color:var(--color-text-light)}

/* ── Footer ─────────────────────────────────── */
.site-footer{
  background:var(--color-primary);color:rgba(255,255,255,0.7);
  padding:var(--space-xl) var(--space-lg);margin-top:auto
}
.footer-grid{display:grid;gap:var(--space-lg);max-width:48rem;margin:0 auto}
@media(min-width:768px){.footer-grid{grid-template-columns:repeat(3,1fr)}}
.footer-grid h3{color:#fff;font-size:var(--text-base);margin-bottom:var(--space-sm)}
.footer-grid a{color:rgba(255,255,255,0.6);font-size:var(--text-sm)}
.footer-grid a:hover{color:#fff}
