/* Director Filing Desk — single stylesheet, no external dependencies */

/* Brand palette taken from the Director Filing Desk logo.
   Navy #1B2E52 and gold #BE9A63. The gold is used decoratively; a
   darkened gold is used for text and links so it stays readable. */
:root {
  --ink: #1B2E52;
  --ink-soft: #445975;
  --muted: #6E7E96;
  --line: #E2DFD8;
  --bg: #FBFAF8;
  --panel: #FFFFFF;
  --gold: #BE9A63;
  --accent: #8A6A34;
  --accent-soft: #FAF4EA;
  --flag: #0F5132;
  --flag-soft: #EAF3EE;
  --serif: "Poppins", "Avenir Next", "Century Gothic", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }

a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--ink); }

h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.18; letter-spacing: -0.01em; margin: 0 0 0.5em; }
h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.05rem); margin-top: 2.2em; }
h3 { font-size: 1.18rem; margin-top: 1.8em; font-family: var(--serif); font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.3em; padding-left: 1.25em; }
li { margin-bottom: 0.5em; }
strong { font-weight: 650; }

.eyebrow {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin: 0 0 1em;
}

/* Header */
.site-head {
  border-bottom: 1px solid var(--line);
  background: var(--panel);
  position: sticky;
  top: 0;
  z-index: 20;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 68px;
  flex-wrap: wrap;
}
.brand { display: block; line-height: 0; flex: none; }
.brand img { height: 34px; width: auto; display: block; }
@media (max-width: 460px) { .brand img { height: 27px; } }
.nav { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.nav a {
  font-size: 0.9rem;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}
.nav a:hover { color: var(--accent); }
.nav a.cta {
  background: var(--ink);
  color: #fff;
  padding: 9px 16px;
  border-radius: 4px;
  font-weight: 600;
}
.nav a.cta:hover { background: var(--accent); color: #fff; }

/* Hero */
.hero { padding: 68px 0 54px; border-bottom: 1px solid var(--line); }
.hero h1 { max-width: 20ch; }
.lede { font-size: 1.16rem; color: var(--ink-soft); max-width: 62ch; }

.proof {
  border-left: 3px solid var(--gold);
  background: var(--accent-soft);
  padding: 20px 24px;
  margin: 30px 0;
  max-width: 66ch;
  border-radius: 0 4px 4px 0;
}
.proof p:last-child { margin-bottom: 0; }
.proof .src { font-size: 0.85rem; color: var(--ink-soft); }

.btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 26px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-family: var(--sans);
}
.btn:hover { background: var(--accent); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; margin-top: 28px; }
.btn-note { font-size: 0.88rem; color: var(--muted); }

/* Sections */
section { padding: 56px 0; }
section.tint { background: var(--panel); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.grid { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 24px;
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }
.card .num {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  display: block;
  margin-bottom: 6px;
}
section.tint .card { background: var(--bg); }

/* Tables */
.table-wrap { overflow-x: auto; margin: 1.5em 0; }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; background: var(--panel); }
th, td { text-align: left; padding: 12px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted); font-weight: 700; }
tbody tr:last-child td { border-bottom: none; }

/* Notice */
.notice {
  border: 1px solid var(--line);
  border-left: 3px solid var(--flag);
  background: var(--flag-soft);
  padding: 18px 22px;
  border-radius: 0 4px 4px 0;
  font-size: 0.95rem;
  margin: 1.6em 0;
}
.notice p:last-child { margin-bottom: 0; }

/* FAQ */
details {
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
}
details summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 1.02rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details > *:not(summary) { margin-top: 12px; color: var(--ink-soft); }

/* Form */
.form-panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 32px;
  max-width: 720px;
}
.field { margin-bottom: 22px; }
.field label { display: block; font-weight: 650; font-size: 0.97rem; margin-bottom: 6px; }
.field .hint { font-size: 0.86rem; color: var(--muted); margin: 0 0 8px; }
.field input[type=text],
.field input[type=email],
.field input[type=tel],
.field select,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  font-size: 1rem;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 4px;
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.radios { display: grid; gap: 8px; }
.radios label {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.97rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 11px 13px;
  cursor: pointer;
  background: var(--bg);
  margin: 0;
}
.radios label:hover { border-color: var(--accent); }
.radios input { margin-top: 4px; flex: none; }
.req { color: var(--accent); font-weight: 700; }
.consent { font-size: 0.9rem; color: var(--ink-soft); display: flex; gap: 10px; align-items: flex-start; }
.consent input { margin-top: 5px; flex: none; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.form-status { margin-top: 16px; font-size: 0.95rem; font-weight: 600; }
.form-status.ok { color: var(--flag); }
.form-status.err { color: var(--accent); }

/* Footer */
.site-foot {
  background: var(--ink);
  color: #C8D2E0;
  padding: 46px 0 34px;
  font-size: 0.9rem;
  margin-top: 0;
}
.site-foot a { color: #fff; }
.foot-logo { height: 30px; width: auto; display: block; margin-bottom: 14px; }
.site-foot h4 { font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase; color: #93A3BA; margin: 0 0 12px; font-weight: 700; }
.foot-grid { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); margin-bottom: 30px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; }
.foot-grid li { margin-bottom: 7px; }
.foot-legal { border-top: 1px solid #2E4267; padding-top: 22px; color: #93A3BA; font-size: 0.84rem; }
.foot-legal p { margin-bottom: 0.7em; }

.crumbs { font-size: 0.85rem; color: var(--muted); padding: 18px 0 0; }
.crumbs a { color: var(--muted); }

.related { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin-top: 1.5em; }
.related a {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 16px 18px;
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.97rem;
}
.related a:hover { border-color: var(--accent); color: var(--accent); }

.updated { font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; margin-top: 40px; }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .hero { padding: 44px 0 38px; }
  section { padding: 42px 0; }
  .form-panel { padding: 22px; }
  .site-head .wrap { min-height: 0; padding-top: 12px; padding-bottom: 12px; }
  .nav { gap: 14px; }
}
