/* The one page at auditorofrecord.com as round 2 (docs/specs/41-home-page-round-2.md, sections 2, 4, 5 and
   7, in the look of docs/specs/40-the-look.md), written by hand: no framework, no build step. The type is
   Geist, the logo's face, from the page's own file in fonts/ (SIL Open Font License, fonts/OFL.txt), never
   from another host, with the system stack while it loads. Ink, the slate greys of the app's tokens, white,
   and the highlighter family as data colour: the map's ramp, the chart's gold bar and the Free tag, always as
   a fill under ink text, never as text, a link or a border. Three bands: the proof band on hi-100, the chart's
   band and the footer on ink. Phone first; one column and 24 px sides from 640 px; two columns from 1024 px.
   Contrast, from these hex values (spec 41, 2.5): ink on hi-100, hi-200, the highlighter and gold 17.40,
   16.19, 13.44 and 11.68:1; white on ink 18.59:1; slate-600 on hi-100 7.10:1; slate-300 on ink 12.51:1;
   slate-400 on ink 7.07:1; white at 80% on ink 12.04:1; slate-500 on white 4.76:1. One motion: the stroke
   drawn once, and not under reduced motion. Positions are classes, since the policy blocks style attributes. */

/* Geist as one variable file, which holds both weights the page uses (400 and 600) in fewer bytes than the
   two static files. The text never waits on it. */

@font-face {
  font-family: "Geist";
  src: url("fonts/Geist-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #111317;
  --slate-700: #314158;
  --slate-600: #45556c;
  --slate-500: #62748e;
  --slate-400: #90a1b9;
  --slate-300: #cad5e2;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --white: #ffffff;
  --hi-100: #fff8d6;
  --hi-200: #fff0a8;
  --highlighter: #FFD84D;
  --gold: #FFC42D;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: "Geist", ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

p,
h1,
h2,
h3,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

/* The container: 1152 px with its sides, 16 px on a phone and 24 px from 640 px. */

.wrap {
  width: 100%;
  max-width: 1152px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

/* Links: ink and underlined; each link, button and field shows a 2 px ink ring on keyboard focus. */

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

a:focus-visible,
button:focus-visible,
input:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* The header: the logo and Sign in, over a slate-200 rule. */

.bar {
  border-bottom: 1px solid var(--slate-200);
}

.bar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo {
  display: block;
  width: auto;
  height: 24px;
}

.signin {
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.signin:hover {
  text-decoration: underline;
}

/* The hero: the words and the form, then the map; side by side from 1024 px. */

.hero {
  display: grid;
  gap: 24px;
  padding-top: 28px;
  padding-bottom: 32px;
}

.eyebrow {
  color: var(--slate-600);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

h1 {
  margin-top: 12px;
  font-size: 30px;
  line-height: 36px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* The stroke: the pen's two passes from the logo behind the one phrase the page is about (spec 40, 3.4),
   stretched to the phrase and drawn once from the left in 400 ms (spec 41, section 7). The phrase keeps to
   one line, as the logo's marked word does. A file, since the policy admits no data URL. */

.mark {
  background: url("mark.svg") no-repeat;
  background-size: 100% 100%;
  padding: 0 0.13em;
  margin: 0 -0.13em;
  white-space: nowrap;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
  /* After a two-second pause (Aaron, 2026-10-21), the stroke draws in 400 ms; "both" keeps it undrawn
     through the pause and drawn after. */
  animation: stroke 400ms ease-out 2s 1 both;
}

@keyframes stroke {
  from {
    background-size: 0% 100%;
  }
  to {
    background-size: 100% 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mark {
    animation: none;
  }
}

.lead {
  margin-top: 16px;
  max-width: 520px;
  color: var(--slate-600);
  font-size: 16px;
  line-height: 24px;
}

/* Find your firm: the field and the page's one solid button, the type-ahead's list under the field. */

.find {
  margin-top: 28px;
}

.find label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.find-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.find-field {
  position: relative;
  flex: 1;
}

.find input {
  display: block;
  width: 100%;
  height: 48px;
  margin: 0;
  padding: 0 14px;
  border: 1px solid var(--slate-300);
  border-radius: 4px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 16px;
  -webkit-appearance: none;
  appearance: none;
}

.find input:focus {
  border-color: var(--ink);
}

.find input::placeholder {
  color: var(--slate-400);
  opacity: 1;
}

.button {
  height: 48px;
  margin: 0;
  padding: 0 20px;
  border: 0;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font: inherit;
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.button:hover {
  background: var(--slate-700);
}

.note {
  margin-top: 10px;
  color: var(--slate-500);
  font-size: 14px;
  line-height: 20px;
}

.find-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 2;
  margin-top: 4px;
  border: 1px solid var(--slate-200);
  border-radius: 4px;
  background: var(--white);
  box-shadow: 0 8px 24px rgba(17, 19, 23, 0.08);
  font-size: 14px;
  line-height: 20px;
}

.find-list li {
  border-top: 1px solid var(--slate-100);
}

.find-list li:first-child {
  border-top: 0;
}

.find-list a {
  display: block;
  padding: 8px 14px;
  color: var(--ink);
  text-decoration: none;
}

.find-list .place {
  margin-left: 2px;
  color: var(--slate-500);
}

.find-list [aria-selected="true"] {
  background: var(--hi-100);
}

.find-list [aria-selected="true"] .place {
  color: var(--slate-600);
}

.find-empty {
  padding: 8px 14px;
  color: var(--slate-600);
}

/* The map: 52 tiles in an 11 by 8 grid, each placed by its row and column class, coloured by its step of the
   ramp (build_site.RAMP); the card the script shows over it. */

.atlas {
  min-width: 0;
}

.map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(11, minmax(0, 1fr));
  gap: 4px;
}

.tile {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 0.86;
  border-radius: 4px;
  color: var(--ink);
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  user-select: none;
}

.tile[role="button"] {
  cursor: pointer;
}

.tile:focus {
  outline: none;
}

.tile:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.tile[aria-pressed="true"] {
  box-shadow: 0 0 0 1px var(--white), 0 0 0 3px var(--ink);
}

.q1 {
  background: var(--hi-100);
}

.q2 {
  background: var(--hi-200);
}

.q3 {
  background: var(--highlighter);
}

.q4 {
  background: var(--gold);
}

.q5 {
  background: var(--ink);
  color: var(--white);
}

.row-1 { grid-row: 1; }
.row-2 { grid-row: 2; }
.row-3 { grid-row: 3; }
.row-4 { grid-row: 4; }
.row-5 { grid-row: 5; }
.row-6 { grid-row: 6; }
.row-7 { grid-row: 7; }
.row-8 { grid-row: 8; }
.col-1 { grid-column: 1; }
.col-2 { grid-column: 2; }
.col-3 { grid-column: 3; }
.col-4 { grid-column: 4; }
.col-5 { grid-column: 5; }
.col-6 { grid-column: 6; }
.col-7 { grid-column: 7; }
.col-8 { grid-column: 8; }
.col-9 { grid-column: 9; }
.col-10 { grid-column: 10; }
.col-11 { grid-column: 11; }

.tip {
  position: absolute;
  z-index: 3;
  min-width: 190px;
  max-width: 260px;
  padding: 10px 12px;
  border-radius: 4px;
  background: var(--ink);
  color: var(--white);
  font-size: 13px;
  line-height: 18px;
  box-shadow: 0 8px 24px rgba(17, 19, 23, 0.2);
  pointer-events: none;
}

.tip strong {
  display: block;
  font-weight: 600;
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: 12px;
  color: var(--slate-500);
  font-size: 12px;
  line-height: 16px;
}

.swatch {
  display: inline-block;
  width: 14px;
  height: 10px;
  margin-right: 4px;
  border-radius: 2px;
  vertical-align: -1px;
}

.caption {
  margin-top: 8px;
  color: var(--slate-500);
  font-size: 14px;
  line-height: 20px;
}

/* The proof band: the three counts and the date line on hi-100, two by two on a phone; a pinned state's name
   above its figures and the two controls under the date line. */

.proof {
  background: var(--hi-100);
}

.proof-grid {
  display: grid;
  gap: 16px;
  padding-top: 24px;
  padding-bottom: 24px;
  align-items: center;
}

.counts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.figure {
  display: block;
  font-size: 28px;
  line-height: 32px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.label {
  display: block;
  margin-top: 4px;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 20px;
}

.dated {
  color: var(--slate-600);
  font-size: 14px;
  line-height: 20px;
}

.pin-name {
  grid-column: 1 / -1;
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}

.pin-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  font-size: 14px;
  line-height: 20px;
}

.pin-actions button {
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

/* What your firm sees: three cards, each a hairline with an ink top rule. */

.offer {
  padding-top: 48px;
  padding-bottom: 48px;
}

h2 {
  font-size: 24px;
  line-height: 32px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.cards {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.cards li {
  padding: 20px;
  border: 1px solid var(--slate-200);
  border-top: 3px solid var(--ink);
  border-radius: 4px;
}

.cards li p + p {
  margin-top: 8px;
  color: var(--slate-600);
  font-size: 14px;
  line-height: 20px;
}

.name {
  font-size: 18px;
  line-height: 28px;
  font-weight: 600;
}

.tag {
  margin-left: 8px;
  padding: 1px 6px;
  border: 1px solid var(--slate-300);
  border-radius: 4px;
  color: var(--slate-700);
  font-size: 12px;
  line-height: 16px;
  vertical-align: 2px;
}

.tag.free {
  border-color: transparent;
  background: var(--hi-200);
  color: var(--ink);
}

.closing {
  margin-top: 24px;
  color: var(--slate-600);
}

/* The ink band: the words, then the chart of audits by year (the narrow one on a phone). */

.band {
  background: var(--ink);
  color: var(--white);
}

.band-grid {
  display: grid;
  gap: 24px;
  padding-top: 48px;
  padding-bottom: 48px;
  align-items: center;
}

.band p {
  margin-top: 12px;
  color: var(--slate-300);
}

.band b {
  color: var(--white);
  font-weight: 600;
}

.charts {
  position: relative;
  min-width: 0;
}

.chart {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
  font-family: inherit;
  font-variant-numeric: tabular-nums;
}

.chart-wide {
  display: none;
}

.chart text {
  font-size: 11px;
}

.chart .value {
  fill: var(--white);
}

.chart .yr {
  fill: var(--white);
  fill-opacity: 0.8;
}

.bar {
  fill: var(--white);
}

.bar.gold {
  fill: var(--gold);
}

.bar.so-far {
  fill: var(--slate-500);
}

.year:focus {
  outline: none;
}

.year:focus-visible {
  outline: 2px solid var(--white);
  outline-offset: 2px;
}

/* The sources in three columns from 1024 px. */

.sources {
  display: grid;
  gap: 20px;
  padding-top: 32px;
  padding-bottom: 32px;
}

h3 {
  margin-bottom: 6px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.sources p {
  color: var(--slate-600);
  font-size: 14px;
  line-height: 20px;
}

/* The footer band: the year from the counts' date, then Terms, Privacy and Sign in in white. */

.footband {
  background: var(--ink);
  color: var(--slate-400);
  font-size: 14px;
  line-height: 20px;
}

.footband-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.footband a {
  color: var(--white);
  text-decoration: none;
}

.footband a:hover {
  text-decoration: underline;
}

.footband a:focus-visible {
  outline-color: var(--white);
}

.foot-links a + a {
  margin-left: 16px;
}

/* The 404 page. */

.missing {
  padding-top: 32px;
  padding-bottom: 48px;
}

.home {
  margin-top: 24px;
}

@media (min-width: 640px) {
  .wrap {
    padding-left: 24px;
    padding-right: 24px;
  }

  .logo {
    height: 28px;
  }

  h1 {
    font-size: 40px;
    line-height: 44px;
  }

  .lead {
    font-size: 18px;
    line-height: 28px;
  }

  .find-row {
    flex-direction: row;
  }

  .proof-grid {
    padding-top: 32px;
    padding-bottom: 32px;
  }

  .counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .figure {
    font-size: 36px;
    line-height: 40px;
  }

  .atlas {
    max-width: 640px;
  }

  .chart-wide {
    display: block;
    max-width: 640px;
  }

  .chart-narrow {
    display: none;
  }

  .missing {
    padding-top: 64px;
    padding-bottom: 64px;
  }
}

@media (min-width: 1024px) {
  .atlas {
    max-width: none;
  }

  .hero {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px;
    align-items: center;
    padding-top: 56px;
    padding-bottom: 48px;
  }

  .proof-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 1.2fr);
    gap: 24px;
  }

  .offer {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
  }

  .band-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
    gap: 48px;
  }

  .sources {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 32px;
    padding-top: 48px;
    padding-bottom: 48px;
  }
}
