/* Absolv - Founder's first year. Page specific styling.
 *
 * Loaded after flow.css and deadlines.css, and built from their tokens and
 * components: the company picker (.co), the date list (.dl), the provenance
 * chips (.tag) and the panels all come from /tools/filing-deadlines unchanged,
 * so the two tools read as one family. Only what is new lives here: the
 * register summary, done and passed rows, the "keep an eye on" list, the single
 * call to action, and the rules page.
 */

/* ------------------------------------------------------- register summary */

.fy-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(9.5rem, 1fr));
  gap: .9rem 1.25rem;
  margin: 0 0 2rem;
  padding: 1.1rem 1.25rem;
  background: var(--paper-2);
  border: 1px solid var(--paper-edge);
  border-radius: 10px;
}
.fy-fact-k {
  display: block;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-faded);
  margin-bottom: .2rem;
}
.fy-fact-v { display: block; font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; line-height: 1.25; color: var(--ink); }

/* ------------------------------------------------------- timeline states */

/* Done: quiet, with a tick, because it needs nothing from the founder. */
.dl-done .dl-title, .dl-done .dl-date { color: var(--ink-faded); }
.dl-done .dl-title::before { content: "\2713\00a0"; color: var(--status-ok); }
.dl-done .dl-count { color: var(--status-ok); }

/* Passed: no alarm colour, just a calm label. The copy says what to do. */
.dl-past .dl-count { color: var(--ink-faded); }

.dl-today, .dl-soon { border-left-color: var(--orange); }

/* Not filed yet: the one state that asks for action now. Orange edge and
 * wash, no red, and the copy stays calm. */
.dl-overdue { border-left-color: var(--orange-deep); background: linear-gradient(90deg, var(--orange-wash), transparent 55%); }

/* ------------------------------------------------------- keep an eye on */

.fy-watch { list-style: none; margin: 0 0 2rem; padding: 0; display: grid; gap: .7rem; }
.fy-watch li {
  padding: 1rem 1.15rem;
  background: var(--paper-card);
  border: 1px solid var(--paper-edge);
  border-radius: 10px;
}
.fy-watch .dl-title { font-size: 1.02rem; }
.fy-watch p { margin: .35rem 0 0; font-size: .89rem; line-height: 1.55; color: var(--ink-muted); max-width: 68ch; }

/* ------------------------------------------------------ the one CTA ---- */

.fy-cta {
  background: var(--paper-2);
  border: 1px solid var(--paper-edge);
  border-left: 3px solid var(--orange);
  border-radius: 0 12px 12px 0;
  padding: 1.4rem 1.5rem;
  margin: 2.25rem 0 1.5rem;
}
.fy-cta h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; line-height: 1.25; margin: 0 0 .5rem; }
.fy-cta p { margin: 0 0 1.1rem; font-size: .95rem; color: var(--ink-2); max-width: 54ch; }

.fy-disclaimer { margin: 0 0 1rem; font-size: .84rem; line-height: 1.55; color: var(--ink-faded); max-width: 66ch; }

.fy-rules-link { font-size: .9rem; margin: 1.25rem 0 1.5rem; }
.fy-rules-link a, .fy-disclaimer a { color: var(--ink-2); text-decoration-color: var(--orange); text-underline-offset: 3px; }
.fy-rules-link a:hover, .fy-disclaimer a:hover { color: var(--orange-deep); }

/* ------------------------------------------------------------ rules page */

.fy-toc { columns: 2 15rem; column-gap: 1.75rem; margin: 0 0 2.5rem; padding: 1.1rem 1.25rem 1.1rem 2.6rem; background: var(--paper-2); border: 1px solid var(--paper-edge); border-radius: 10px; }
.fy-toc li { break-inside: avoid; font-size: .93rem; line-height: 1.5; margin: 0 0 .35rem; }
.fy-toc a { color: var(--ink-2); text-decoration-color: var(--orange); text-underline-offset: 3px; }

.fy-rule { margin: 0 0 2.25rem; scroll-margin-top: 5rem; }
.fy-rule h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin: 0 0 .75rem;
  padding-bottom: .45rem;
  border-bottom: 1px solid var(--rule-soft);
}
.fy-rule ul { margin: 0 0 .75rem; padding-left: 1.15rem; }
.fy-rule li { font-size: .95rem; line-height: 1.6; color: var(--ink-2); margin: 0 0 .4rem; }
.fy-src { font-size: .8rem; line-height: 1.55; color: var(--ink-faded); margin: 0; overflow-wrap: anywhere; }
.fy-src a { color: inherit; }

.fy-crumbs { font-family: var(--font-mono); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faded); margin: 0 0 1.25rem; }
.fy-crumbs a { color: inherit; }
