/* FOIA FAST landing page.
   Public Sans (the U.S. Web Design System face) carries the page; Source Serif 4
   appears only inside the request letter, so the letter reads as a document. */

:root {
  --navy: #0f1e3d;
  --navy-2: #1c2d52;
  --orange: #f26a1b;
  --orange-ink: #c2510f; /* orange dark enough for text on white */
  --manila: #e6d5ae;
  --manila-edge: #cdb98a;
  --page: #f4f6f8;
  --paper: #ffffff;
  --ink: #0f1e3d;
  --slate: #56607a;
  --rule: #d9dee6;

  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;

  --measure: 34rem;
  --wrap: 72rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  font-feature-settings: "kern", "liga";
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; line-height: 1.12; font-weight: 700; letter-spacing: -0.015em; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; background: var(--navy); color: #fff; padding: .5rem 1rem; z-index: 10; }
.skip:focus { left: 1rem; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 2.875rem; padding: 0 1.25rem;
  border-radius: 6px; border: 1.5px solid transparent;
  font: 600 1rem/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: background-color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #dd5c10; }
.btn-quiet { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-quiet:hover { background: rgba(15, 30, 61, .06); }

/* ---------- header ---------- */
.site-header { background: var(--page); }
.site-header .wrap { display: flex; align-items: center; gap: 2rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .625rem; text-decoration: none; font-weight: 700; font-size: 1.0625rem; letter-spacing: -.01em; flex: none; }
.brand-logo { height: 2.75rem; width: auto; max-width: none; }
.nav { display: flex; gap: 1.75rem; margin-left: auto; }
.nav a { text-decoration: none; color: var(--slate); font-weight: 500; font-size: .9375rem; }
.nav a:hover { color: var(--navy); }
.header-actions { display: flex; align-items: center; gap: 1rem; }
.header-actions .signin { text-decoration: none; font-weight: 600; font-size: .9375rem; }
.header-actions .btn { min-height: 2.5rem; font-size: .9375rem; padding: 0 1rem; }
@media (max-width: 860px) { .nav { display: none; } .header-actions { margin-left: auto; } }
@media (max-width: 420px) {
  .header-actions .signin { display: none; }
  .header-actions .btn { padding: 0 .7rem; }
  .brand { gap: .4rem; }
  .brand-logo { height: 2.35rem; }
  .site-header .wrap { gap: .5rem; }
  .menu > summary { padding: 0 .55rem; }
}
@media (max-width: 360px) {
  .brand { font-size: .95rem; }
  .brand-logo { height: 2.1rem; }
  .header-actions .btn { padding: 0 .55rem; }
}

/* Mobile menu (QA5 AUTH-16). Below 860px the nav links are hidden, and below
   420px so is "Sign in", which left a phone visitor with a logo and one button.
   A <details> disclosure, not a scripted drawer: the CSP is script-src 'none'.
   It is keyboard-operable and announced as expanded/collapsed with no ARIA of
   our own. */
.site-header .wrap { position: relative; }
.menu { display: none; }
.menu > summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: .5rem;
  min-height: 2.5rem; padding: 0 .75rem; border: 1.5px solid var(--rule); border-radius: 8px;
  font-weight: 600; font-size: .9375rem; color: var(--navy); background: var(--paper);
}
.menu > summary::-webkit-details-marker { display: none; }
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 1rem; height: 2px; background: currentColor; border-radius: 1px;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -5px; }
.menu-icon::after { top: 5px; }
.menu[open] .menu-icon { background: transparent; }
.menu[open] .menu-icon::before { top: 0; transform: rotate(45deg); }
.menu[open] .menu-icon::after { top: 0; transform: rotate(-45deg); }
.menu-panel {
  position: absolute; left: var(--gutter); right: var(--gutter); top: calc(100% - .25rem); z-index: 20;
  display: flex; flex-direction: column; padding: .25rem 1rem;
  background: var(--paper); border: 1px solid var(--rule); border-radius: 10px;
  box-shadow: 0 12px 32px rgba(15, 30, 61, .14);
}
.menu-panel a {
  text-decoration: none; color: var(--navy); font-weight: 500; font-size: 1rem;
  padding: .875rem 0; border-bottom: 1px solid var(--rule);
}
.menu-panel a:last-child { border-bottom: 0; }
.menu-panel .menu-signin { font-weight: 700; color: var(--orange-ink); }
@media (max-width: 860px) { .menu { display: block; } .site-header .wrap { gap: .75rem; } }

/* ---------- hero ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3.5rem, 7vw, 6rem); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero h1 { font-size: clamp(2.5rem, 5.6vw, 4.25rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1.02; max-width: 11ch; }
.hero .lede { margin: 1.5rem 0 0; font-size: clamp(1.0625rem, 1.4vw, 1.1875rem); color: var(--slate); max-width: var(--measure); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero .assurances { list-style: none; margin: 1.25rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; font-size: .875rem; color: var(--slate); }
.hero .assurances li { position: relative; padding-left: 1.15rem; }
.hero .assurances li::before { content: ""; position: absolute; left: 0; top: .42em; width: .55rem; height: .3rem; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* The letter on its folder: the page's one bold object. Kept square on
   purpose: the letter sits inside the folder on an even 1.5rem margin and the
   notes line up with the letter's edges. */
.casefile { position: relative; padding: 1.5rem 0 1.5rem 1.5rem; }
.folder {
  position: absolute; inset: 0 1.5rem 0 0;
  background: var(--manila); border-radius: 4px 10px 6px 6px;
  box-shadow: inset 0 0 0 1px var(--manila-edge);
}
.folder::before { /* the tab */
  content: ""; position: absolute; top: -1.1rem; left: 1.25rem; width: 9.5rem; height: 1.25rem;
  background: var(--manila); border-radius: 6px 6px 0 0; box-shadow: inset 0 1px 0 var(--manila-edge), inset 1px 0 0 var(--manila-edge), inset -1px 0 0 var(--manila-edge);
}
.folder-label { position: absolute; top: -.95rem; left: 2rem; font-size: .75rem; font-weight: 600; color: #6b5a33; z-index: 1; }
.letter {
  position: relative; background: var(--paper); color: #1b2335;
  border: 1px solid #b4bcc8; border-radius: 6px;
  padding: clamp(1.25rem, 3vw, 2.25rem) clamp(1.25rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 2.25rem);
  font-family: var(--serif); font-size: clamp(.8125rem, 1.05vw, .9375rem); line-height: 1.6;
  box-shadow: 3px 4px 10px rgba(15,30,61,.12);
}
.letter p { margin: 0 0 .85em; }
.letter .meta { display: flex; justify-content: space-between; gap: 1rem; font-size: .9em; color: #4a5268; }
.letter .re { font-weight: 600; color: #1b2335; }
.letter .cite { background: linear-gradient(transparent 58%, rgba(242,106,27,.28) 58%); padding: 0 .1em; }
.letter .sig { margin-top: 1.25em; color: #4a5268; }
.letter .redline { height: .55em; background: #e9ecf1; border-radius: 2px; margin: .55em 0; }
.margin-note {
  position: absolute; font-family: var(--sans); font-size: .75rem; line-height: 1.35; color: var(--navy);
  background: #fff; border: 1.5px solid var(--navy); border-radius: 6px; padding: .45rem .6rem; max-width: 12.5rem;
  box-shadow: 3px 3px 0 var(--navy);
}
.margin-note strong { display: block; font-size: .8125rem; }
.note-cite { right: 0; top: 34%; max-width: 9.75rem; }
@media (min-width: 901px) { .letter { margin-right: 7.5rem; } }
@media (min-width: 561px) and (max-width: 900px) { .letter { margin-right: 9rem; } }
.note-hold { left: 1.5rem; bottom: -1rem; background: var(--orange); color: #fff; border-color: var(--navy); }
@media (max-width: 560px) {
  .margin-note { position: relative; inset: auto; z-index: 1; max-width: none; margin: .75rem 0 0; box-shadow: 3px 3px 0 var(--navy); }
  .casefile { padding: 1rem 1rem 1.75rem; }
  .folder { inset: 0; }
}

/* ---------- sections ---------- */
section { scroll-margin-top: 1rem; }
.band { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.band-white { background: var(--paper); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.band-navy { background: var(--navy); color: #e8ecf4; }
.section-head { max-width: 40rem; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.section-head h2 { font-size: clamp(1.875rem, 3.4vw, 2.625rem); letter-spacing: -0.025em; }
.section-head p { margin-top: 1rem; color: var(--slate); font-size: 1.125rem; }
.band-navy .section-head p { color: #b7c0d4; }

/* how it works: a real three-step sequence */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); counter-reset: step; }
.step { counter-increment: step; }
.step figure { margin: 0 0 1.25rem; background: var(--page); border: 1px solid var(--rule); border-radius: 8px; aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 1rem; }
.step figure svg { width: 100%; height: 100%; }
.step h3 { font-size: 1.25rem; display: flex; align-items: baseline; gap: .6rem; }
.step h3::before { content: counter(step); font-size: .875rem; font-weight: 700; color: #fff; background: var(--navy); width: 1.6rem; height: 1.6rem; border-radius: 50%; display: inline-grid; place-items: center; flex: none; transform: translateY(-.15rem); }
.step p { margin-top: .6rem; color: var(--slate); }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } .step figure { aspect-ratio: 16 / 9; } }

/* deadlines */
.clocks { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.clocks h2 { font-size: clamp(1.875rem, 3.4vw, 2.625rem); letter-spacing: -0.025em; }
.clocks .copy p { color: #b7c0d4; font-size: 1.125rem; max-width: 30rem; margin-top: 1rem; }
.clock-facts { display: grid; gap: 1px; background: rgba(255,255,255,.12); border-radius: 8px; overflow: hidden; margin-top: 2rem; max-width: 30rem; }
.clock-facts div { background: var(--navy-2); padding: 1rem 1.25rem; }
.clock-facts dt { font-weight: 700; color: #fff; }
.clock-facts dd { margin: .2rem 0 0; color: #b7c0d4; font-size: .9375rem; }
@media (max-width: 860px) { .clocks { grid-template-columns: 1fr; } }

/* audiences: three columns separated by rules, not cards */
.audiences { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.audience { padding: 0 clamp(1rem, 2.5vw, 2rem); border-left: 1px solid var(--rule); }
.audience:first-child { padding-left: 0; border-left: 0; }
.audience svg { width: 3.25rem; height: 3.25rem; margin-bottom: 1.25rem; }
.audience h3 { font-size: 1.25rem; }
.audience p { color: var(--slate); margin-top: .6rem; }
@media (max-width: 820px) {
  .audiences { grid-template-columns: 1fr; gap: 2rem; }
  .audience { padding: 0; border-left: 0; }
}

/* control & security */
.control { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
.control-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--rule); }
.control-list li { padding: 1.1rem 0; border-bottom: 1px solid var(--rule); display: grid; grid-template-columns: 1.75rem 1fr; gap: .75rem; }
.control-list svg { width: 1.5rem; height: 1.5rem; margin-top: .15rem; }
.control-list strong { display: block; }
.control-list span { color: var(--slate); font-size: .9875rem; }
@media (max-width: 860px) { .control { grid-template-columns: 1fr; } }

/* pricing */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; align-items: stretch; }
.plan { background: var(--paper); border: 1px solid var(--rule); border-radius: 10px; padding: 1.75rem; display: flex; flex-direction: column; }
.plan-featured { border: 2px solid var(--navy); }
.plan h3 { font-size: 1.25rem; }
.plan .price { margin: .9rem 0 .35rem; font-size: 2.75rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.plan .price small { font-size: 1rem; font-weight: 500; color: var(--slate); letter-spacing: 0; }
.plan .for { color: var(--slate); margin: .5rem 0 1.25rem; }
.plan ul { list-style: none; padding: 0; margin: 0 0 1.75rem; display: grid; gap: .55rem; font-size: .9875rem; }
.plan li { padding-left: 1.5rem; position: relative; }
.plan li::before { content: ""; position: absolute; left: .1rem; top: .5em; width: .7rem; height: .4rem; border-left: 2px solid var(--orange); border-bottom: 2px solid var(--orange); transform: rotate(-45deg); }
.plan .btn { margin-top: auto; }
.plan-note { margin-top: 1.5rem; color: var(--slate); font-size: .9375rem; max-width: 46rem; }
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; max-width: 30rem; } }

/* closing */
.closing { background: var(--navy); color: #e8ecf4; padding: clamp(3.5rem, 7vw, 5.5rem) 0; }
.closing .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; }
.closing h2 { font-size: clamp(1.75rem, 3.2vw, 2.5rem); max-width: 20ch; color: #fff; letter-spacing: -0.025em; }
.closing p { margin: .9rem 0 0; color: #b7c0d4; font-size: 1.0625rem; }
.closing-ctas { display: flex; flex-wrap: wrap; gap: .75rem; }

/* footer */
.site-footer { background: var(--navy); color: #b7c0d4; padding: 3rem 0 2.5rem; font-size: .9375rem; }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr repeat(2, 1fr); gap: 2rem; }
.site-footer .brand { color: #fff; }
.site-footer h3 { font-size: .9375rem; color: #fff; margin-bottom: .75rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .4rem; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.site-footer .legal { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.14); padding-top: 1.5rem; margin-top: 1rem; font-size: .875rem; }
@media (max-width: 720px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } .site-footer .about { grid-column: 1 / -1; } }

/* 404 */
.notfound { min-height: 60vh; display: grid; place-items: center; text-align: center; padding: 4rem 1rem; }
.notfound h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 1rem; }

/* former inline styles (the CSP allows no inline style attributes) */
.letter .addressee { margin-top: 1em; }
.redline-long { width: 92%; }
.redline-short { width: 64%; }
.calendar { margin: 0; }
.section-head-flush { margin-bottom: 0; }
.plan .price-custom { font-size: 2rem; line-height: 1.375; }
.footer-blurb { margin-top: 1rem; max-width: 22rem; }
.muted { color: var(--slate); }
.notfound-actions { margin-top: 1.5rem; display: flex; gap: .75rem; justify-content: center; flex-wrap: wrap; }

/* features: two columns of rule-separated items */
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(2rem, 5vw, 4.5rem); }
.features li { padding: 1.75rem 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 2.5rem 1fr; column-gap: 1rem; align-content: start; }
.features svg { width: 2rem; height: 2rem; grid-row: span 2; margin-top: .15rem; }
.features h3 { font-size: 1.1875rem; }
.features p { color: var(--slate); margin: .5rem 0 0; }
@media (max-width: 820px) { .features { grid-template-columns: 1fr; } }

/* faq: native disclosure, no script */
.faq-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.5rem 1.15rem 0; font-weight: 600; font-size: 1.0625rem; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: ""; position: absolute; right: .5rem; top: 1.45rem; width: .6rem; height: .6rem; border-right: 2px solid var(--navy); border-bottom: 2px solid var(--navy); transform: rotate(45deg); transition: transform .15s ease; }
.faq details[open] summary::after { transform: rotate(-135deg); top: 1.7rem; }
.faq details p { color: var(--slate); margin: 0 0 1.25rem; max-width: 40rem; }
.faq a, .section-head a, .site-footer .legal a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
@media (prefers-reduced-motion: reduce) { .faq summary::after { transition: none; } }
@media (max-width: 860px) { .faq-wrap { grid-template-columns: 1fr; } }

/* footer gained a Contact column */
.site-footer .wrap { grid-template-columns: 1.4fr repeat(3, 1fr); }
@media (max-width: 860px) { .site-footer .wrap { grid-template-columns: 1fr 1fr; } }

/* light-on-navy secondary button */
.btn-on-dark { border-color: rgba(255,255,255,.55); color: #fff; background: transparent; }
.btn-on-dark:hover { background: rgba(255,255,255,.08); border-color: #fff; }

/* facts strip under the hero: four facts, ruled, no numbers for show */
.facts { background: var(--paper); border-top: 1px solid var(--rule); }
.facts-list { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.facts-list > div { padding: 1.75rem clamp(1rem, 2vw, 1.75rem); border-left: 1px solid var(--rule); }
.facts-list > div:first-child { border-left: 0; padding-left: 0; }
.facts-list dt { font-weight: 700; font-size: 1rem; color: var(--navy); }
.facts-list dd { margin: .35rem 0 0; color: var(--slate); font-size: .9375rem; line-height: 1.5; }
@media (max-width: 900px) {
  .facts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-list > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--rule); }
  .facts-list > div:nth-child(-n+2) { border-top: 0; }
}
@media (max-width: 520px) { .facts-list { grid-template-columns: 1fr; } .facts-list > div:nth-child(2) { border-top: 1px solid var(--rule); } }

/* the deadline calendar fills its column (its width/height attributes are only
   the no-CSS fallback) */
.calendar svg { width: 100%; height: auto; }
