/* ============================================================
   ACCUFILER — CSS Foundation
   Design System v3.0
   Built: May 2026
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,500;0,700;1,400;1,500&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img, video, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

:root {
  --void:        #080E0B;
  --abyss:       #0D1812;
  --deep:        #111F17;
  --forest:      #1A3328;
  --panel:       #22402E;
  --border:      #2A4D38;
  --mist:        #3D6B50;
  --gold:        #C9A96E;
  --gold-light:  #E2C99A;
  --gold-pale:   #F0E4CC;
  --gold-dim:    #7A6140;
  --gold-bg:     rgba(201,169,110,0.07);
  --cream:       #F5EDD8;
  --cream-mid:   #EDE6D6;
  --cream-deep:  #E0D8C6;
  --ink:         #F5EDD8;
  --body-dark:   #C8BFA8;
  --muted-dark:  #7A8A80;
  --dim-dark:    #3D5048;
  --heading-light: #0D1812;
  --body-light:    #2A3D32;
  --muted-light:   #5A7060;
  --dim-light:     #8A9E94;
  --green-acc:   #4AB825;
  --red:         #C0392B;
  --serif:       'Playfair Display', Georgia, serif;
  --sans:        'DM Sans', system-ui, sans-serif;
  --sp1: 4px; --sp2: 8px; --sp3: 16px; --sp4: 24px;
  --sp5: 32px; --sp6: 48px; --sp7: 64px; --sp8: 96px; --sp9: 128px;
  --r-xs: 2px; --r-sm: 4px; --r-md: 8px; --r-lg: 14px; --r-xl: 20px; --r-2xl: 28px;
  --t-fast: 0.15s ease; --t-base: 0.25s ease; --t-slow: 0.4s ease;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.4);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.5);
  --container-sm: 640px; --container-md: 768px; --container-lg: 1024px;
  --container-xl: 1200px; --container-2xl: 1400px;
  --z-base: 0; --z-raised: 10; --z-dropdown: 100; --z-nav: 200; --z-modal: 300; --z-toast: 400;
}

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--body-light);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.container { width: 100%; max-width: var(--container-xl); margin: 0 auto; padding: 0 var(--sp4); }
.container-sm  { max-width: var(--container-sm);  }
.container-md  { max-width: var(--container-md);  }
.container-lg  { max-width: var(--container-lg);  }
.container-2xl { max-width: var(--container-2xl); }
@media (min-width: 768px)  { .container { padding: 0 var(--sp5); } }
@media (min-width: 1024px) { .container { padding: 0 var(--sp6); } }

.surface-dark   { background: var(--abyss);  color: var(--body-dark);  }
.surface-void   { background: var(--void);   color: var(--body-dark);  }
.surface-forest { background: var(--forest); color: var(--body-dark);  }
.surface-light  { background: var(--cream);  color: var(--body-light); }
.surface-cream  { background: var(--cream-mid); color: var(--body-light); }

.display-xl { font-family: var(--serif); font-size: clamp(36px,6vw,72px); font-weight: 500; line-height: 1.05; letter-spacing: -0.02em; }
.display-lg { font-family: var(--serif); font-size: clamp(28px,4vw,52px); font-weight: 500; line-height: 1.1;  letter-spacing: -0.02em; }
.display-md { font-family: var(--serif); font-size: clamp(22px,3vw,36px); font-weight: 500; line-height: 1.15; letter-spacing: -0.015em; }

h1, .h1 { font-family: var(--serif); font-size: clamp(28px,4vw,48px); font-weight: 500; line-height: 1.1;  letter-spacing: -0.02em;  }
h2, .h2 { font-family: var(--serif); font-size: clamp(22px,3vw,36px); font-weight: 500; line-height: 1.2;  letter-spacing: -0.015em; }
h3, .h3 { font-family: var(--sans);  font-size: clamp(16px,2vw,22px); font-weight: 500; line-height: 1.3;  }
h4, .h4 { font-family: var(--sans);  font-size: 18px; font-weight: 500; line-height: 1.4; }
h5, .h5 { font-family: var(--sans);  font-size: 15px; font-weight: 500; line-height: 1.5; }

.body-lg { font-size: 18px; line-height: 1.75; }
.body-md { font-size: 16px; line-height: 1.7;  }
.body-sm { font-size: 14px; line-height: 1.65; }
.body-xs { font-size: 12px; line-height: 1.6;  }

.label   { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; }
.eyebrow { font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); }

.text-ink      { color: var(--ink); }
.text-gold     { color: var(--gold); }
.text-gold-light { color: var(--gold-light); }
.text-muted    { color: var(--muted-dark); }
.text-dim      { color: var(--dim-dark); }
.text-heading  { color: var(--heading-light); }
.text-body     { color: var(--body-light); }
.text-success  { color: var(--green-acc); }
.text-error    { color: var(--red); }

.serif-italic { font-family: var(--serif); font-style: italic; color: var(--gold); }

.wordmark       { font-family: var(--sans); font-weight: 700; letter-spacing: -0.02em; line-height: 1; }
.wordmark .accu { font-weight: 700; }
.wordmark .filer { font-weight: 300; color: var(--gold); }
.wordmark-dark .accu  { color: var(--ink); }
.wordmark-dark .filer { color: var(--gold); }
.wordmark-light .accu  { color: var(--heading-light); }
.wordmark-light .filer { color: var(--forest); }

.divider        { width: 100%; height: 1px; background: var(--border); }
.divider-light  { width: 100%; height: 1px; background: var(--cream-deep); }
.divider-gold   { width: 100%; height: 1px; background: linear-gradient(90deg, var(--gold), transparent); }
.divider-gold-center { width: 100%; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--sp2); font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: 0.02em; padding: 12px 28px; border-radius: var(--r-md); border: none; cursor: pointer; transition: all var(--t-base); white-space: nowrap; text-decoration: none; }
.btn-primary   { background: var(--gold); color: var(--void); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: transparent; color: var(--body-dark); border: 1px solid var(--border); }
.btn-secondary:hover { border-color: var(--gold-dim); color: var(--gold); }
.btn-ghost     { background: transparent; color: var(--body-light); border: 1px solid var(--cream-deep); }
.btn-ghost:hover { border-color: var(--mist); color: var(--heading-light); }
.btn-sm { font-size: 12px; padding: 8px 18px; }
.btn-lg { font-size: 16px; padding: 16px 36px; }
.btn-xl { font-size: 17px; padding: 18px 44px; border-radius: var(--r-lg); }

.badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.badge-gold  { background: var(--gold-bg); color: var(--gold); border: 1px solid var(--gold-dim); }
.badge-green { background: rgba(74,184,37,0.08); color: #4AB825; border: 1px solid rgba(74,184,37,0.2); }
.badge-muted { background: rgba(255,255,255,0.05); color: var(--muted-dark); border: 1px solid var(--border); }

.card        { background: var(--cream);  border: 1px solid var(--cream-deep); border-radius: var(--r-lg); overflow: hidden; }
.card-dark   { background: var(--deep);   border: 1px solid var(--border);     border-radius: var(--r-lg); overflow: hidden; }
.card-forest { background: var(--forest); border: 1px solid var(--border);     border-radius: var(--r-lg); overflow: hidden; }
.card-body   { padding: var(--sp4); }
@media (min-width: 768px) { .card-body { padding: var(--sp5); } }

.callout         { padding: var(--sp3) var(--sp4); border-radius: 0 var(--r-sm) var(--r-sm) 0; border-left: 3px solid; font-size: 14px; line-height: 1.6; }
.callout-info    { background: rgba(26,110,168,0.08); border-color: #1A6EA8; color: #7EC8E3; }
.callout-require { background: var(--gold-bg); border-color: var(--gold-dim); color: var(--gold-light); }
.callout-warn    { background: rgba(201,169,110,0.07); border-color: #8A6040; color: var(--gold); }
.callout-error   { background: rgba(192,57,43,0.07); border-color: rgba(192,57,43,0.5); color: rgba(192,57,43,0.9); }

.form-group { display: flex; flex-direction: column; gap: var(--sp1); margin-bottom: var(--sp4); }
.form-label { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-dark); }
.form-label-light { font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted-light); }
.form-input, .form-select, .form-textarea { width: 100%; padding: 12px 16px; font-family: var(--sans); font-size: 14px; border-radius: var(--r-md); border: 1px solid var(--cream-deep); background: var(--cream); color: var(--heading-light); transition: border-color var(--t-fast); outline: none; appearance: none; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--gold); }
.form-input::placeholder, .form-textarea::placeholder { color: var(--dim-light); }
.form-input-dark, .form-select-dark, .form-textarea-dark { background: var(--forest); border-color: var(--border); color: var(--body-dark); padding: 12px 16px; width: 100%; font-family: var(--sans); font-size: 14px; border-radius: var(--r-md); transition: border-color var(--t-fast); outline: none; appearance: none; }
.form-input-dark:focus, .form-select-dark:focus, .form-textarea-dark:focus { border-color: var(--gold-dim); }
.form-textarea { resize: vertical; min-height: 120px; }

.grid { display: grid; }
.grid-2 { grid-template-columns: 1fr 1fr; }
.grid-3 { grid-template-columns: repeat(3,1fr); }
.grid-4 { grid-template-columns: repeat(4,1fr); }
.gap-1 { gap: var(--sp1); } .gap-2 { gap: var(--sp2); } .gap-3 { gap: var(--sp3); }
.gap-4 { gap: var(--sp4); } .gap-5 { gap: var(--sp5); } .gap-6 { gap: var(--sp6); }
@media (max-width: 767px) { .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; } }
@media (min-width: 768px) and (max-width: 1023px) { .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; } }

.flex { display: flex; } .flex-col { flex-direction: column; } .flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; } .items-start { align-items: flex-start; } .items-end { align-items: flex-end; }
.justify-center { justify-content: center; } .justify-between { justify-content: space-between; } .justify-end { justify-content: flex-end; }

.mt-1{margin-top:var(--sp1)}.mt-2{margin-top:var(--sp2)}.mt-3{margin-top:var(--sp3)}.mt-4{margin-top:var(--sp4)}.mt-5{margin-top:var(--sp5)}.mt-6{margin-top:var(--sp6)}.mt-7{margin-top:var(--sp7)}.mt-8{margin-top:var(--sp8)}
.mb-1{margin-bottom:var(--sp1)}.mb-2{margin-bottom:var(--sp2)}.mb-3{margin-bottom:var(--sp3)}.mb-4{margin-bottom:var(--sp4)}.mb-5{margin-bottom:var(--sp5)}.mb-6{margin-bottom:var(--sp6)}.mb-7{margin-bottom:var(--sp7)}.mb-8{margin-bottom:var(--sp8)}
.py-3{padding-top:var(--sp3);padding-bottom:var(--sp3)}.py-4{padding-top:var(--sp4);padding-bottom:var(--sp4)}.py-5{padding-top:var(--sp5);padding-bottom:var(--sp5)}.py-6{padding-top:var(--sp6);padding-bottom:var(--sp6)}.py-7{padding-top:var(--sp7);padding-bottom:var(--sp7)}.py-8{padding-top:var(--sp8);padding-bottom:var(--sp8)}.py-9{padding-top:var(--sp9);padding-bottom:var(--sp9)}
.px-3{padding-left:var(--sp3);padding-right:var(--sp3)}.px-4{padding-left:var(--sp4);padding-right:var(--sp4)}.px-5{padding-left:var(--sp5);padding-right:var(--sp5)}.px-6{padding-left:var(--sp6);padding-right:var(--sp6)}

.section-sm { padding-top: var(--sp6);  padding-bottom: var(--sp6);  }
.section-md { padding-top: var(--sp7);  padding-bottom: var(--sp7);  }
.section-lg { padding-top: var(--sp8);  padding-bottom: var(--sp8);  }
.section-xl { padding-top: var(--sp9);  padding-bottom: var(--sp9);  }

.text-center { text-align: center; } .text-left { text-align: left; } .text-right { text-align: right; }
.text-balance { text-wrap: balance; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }
.hide-mobile  { display: none; }
.hide-desktop { display: block; }
@media (min-width: 768px) { .hide-mobile { display: block; } .hide-desktop { display: none; } }

@keyframes fadeUp   { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn   { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideDown { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse    { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }
.animate-fade-up    { animation: fadeUp    0.5s ease forwards; }
.animate-fade-in    { animation: fadeIn    0.4s ease forwards; }
.animate-slide-down { animation: slideDown 0.3s ease forwards; }
.stagger > *:nth-child(1) { animation-delay: 0.05s; }
.stagger > *:nth-child(2) { animation-delay: 0.10s; }
.stagger > *:nth-child(3) { animation-delay: 0.15s; }
.stagger > *:nth-child(4) { animation-delay: 0.20s; }
.stagger > *:nth-child(5) { animation-delay: 0.25s; }
.stagger > *:nth-child(6) { animation-delay: 0.30s; }

::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: var(--abyss); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--mist); }
::selection { background: var(--gold); color: var(--void); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: var(--r-sm); }
hr { border: none; border-top: 1px solid var(--border); margin: var(--sp5) 0; }
hr.light { border-color: var(--cream-deep); }
hr.gold  { border-color: var(--gold-dim); opacity: 0.4; }
@media print { .no-print { display: none !important; } body { background: white; color: black; } }
