/* FilingIQ. Tokens and rules from 03 Branding/Brand Guidelines.md (approved 9 November 2026). */
:root {
  --navy: #142B45; --teal: #087F8C; --deep-teal: #066672; --bright-teal: #4FC3CC;
  --sky: #DDF2F3; --ivory: #FAF7F2; --oatmeal: #E9DFD1; --slate: #526277; --white: #FFFFFF; --line: #DDD5C8;
  --neutral: #4A4F57; --neutral-bg: #EDE8E0;
  --progress: #1F4E8C; --progress-bg: #E4EEFA;
  --due: #7A4A00; --due-bg: #FFF1D6;
  --late: #A4261B; --late-bg: #FDE8E6;
  --ok: #17663A; --ok-bg: #E0F4E7;
}
* { box-sizing: border-box; }
body {
  margin: 0; background: var(--ivory); color: var(--navy);
  font-family: Inter, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.55;
}
h1, h2, h3 { font-family: Manrope, Inter, "Segoe UI", Arial, sans-serif; letter-spacing: -0.02em; margin: 0; }
a { color: var(--deep-teal); }
:focus-visible { outline: 3px solid var(--deep-teal); outline-offset: 2px; }
.wrap { max-width: 1040px; margin: 0 auto; padding: 0 16px; }

.site-header { background: var(--white); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; }
.logo { display: block; height: 32px; width: auto; }
.who { font-size: 14px; color: var(--slate); overflow-wrap: anywhere; text-align: right; }

.btn {
  display: inline-block; background: var(--teal); color: var(--white); font-weight: 600;
  padding: 12px 20px; border-radius: 999px; text-decoration: none; border: 1.5px solid var(--teal);
}
.btn.small { padding: 8px 16px; font-size: 14px; }
.btn.ghost { background: transparent; color: var(--deep-teal); border-color: var(--deep-teal); }
.actions { display: flex; flex-wrap: wrap; gap: 8px; }

/* Home page */
.hero { padding: 72px 0 64px; }
.hero .inner { max-width: 720px; }
.hero h1 { font-size: clamp(40px, 6vw, 56px); font-weight: 800; line-height: 1.05; letter-spacing: -0.03em; }
.hero .support { margin: 12px 0 0; font-weight: 600; color: var(--deep-teal); }
.hero .lead { font-size: 19px; color: var(--slate); margin: 8px 0 28px; max-width: 560px; }
.band { background: var(--oatmeal); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-top: 32px; padding-bottom: 32px; }
.three h2 { font-size: 17px; font-weight: 700; }
.three p { margin: 4px 0 0; font-size: 14px; }
.site-footer { padding: 20px 0 40px; font-size: 13px; color: var(--slate); }

/* App */
.page { padding-top: 32px; padding-bottom: 64px; }
.page h1 { font-size: 28px; font-weight: 700; }
.sub { color: var(--slate); margin: 4px 0 24px; }
.filters { display: flex; flex-wrap: wrap; gap: 8px; align-items: end; margin-bottom: 16px; }
.filters label { font-size: 12px; font-weight: 600; color: var(--slate); display: block; margin-bottom: 4px; }
select {
  font: inherit; font-size: 14px; color: var(--navy); background: var(--white);
  border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px;
}
.card { background: var(--white); border: 1px solid var(--line); border-radius: 16px; overflow-x: auto; }
.card.pad { padding: 24px; }
table { border-collapse: collapse; width: 100%; min-width: 620px; font-size: 14px; }
th { text-align: left; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--slate); font-weight: 600; }
th, td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
td .muted { color: var(--slate); font-size: 13px; display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-block; font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 999px; white-space: nowrap; }
.chip.neutral { background: var(--neutral-bg); color: var(--neutral); }
.chip.progress { background: var(--progress-bg); color: var(--progress); }
.chip.due { background: var(--due-bg); color: var(--due); }
.chip.late { background: var(--late-bg); color: var(--late); }
.chip.submitted { background: var(--sky); color: var(--deep-teal); }
.chip.accepted { background: var(--ok-bg); color: var(--ok); }
