/* 1st Move — generated from tokens.json */
:root, [data-theme="light"] {
  --pine: #1f3b32; /* The dependable dark base. All body and heading text on paper (10.8:1), paper-raised (11.9:1) and stone-100 (9.7:1). Also the logo plate, dark bands, the app top bar and the business marker on the map. */
  --pine-soft: #2e5246; /* One step up from pine: hover on pine surfaces, the raised panel inside a pine band. Paper text on it holds 7.7:1. */
  --paper: #f6f1e7; /* The warm off-white page background. Also the text and logo colour on pine (10.8:1), pine-soft (7.7:1) and brick (4.9:1). */
  --paper-raised: #fffcf6; /* Cards, inputs, tables, map popups and email bodies, set on paper. Takes the same text tokens as paper. */
  --stone-100: #ece5d8; /* Quiet fills: table header row, filter chips at rest, the selected tab track. pine (9.7:1), stone-800 (8.9:1) and stone-600 (4.9:1) read on it; brick text does not (4.4:1). */
  --stone-200: #d9d0bf; /* Hairlines and dividers between rows and sections. Decorative only (1.4:1): never the only border on a control. */
  --stone-500: #857d6e; /* Borders of inputs, selects and checkboxes; icons beside a label; minor map labels. 3.6:1 on paper, 4.0:1 on paper-raised, 3.3:1 on stone-100. Not for running text. */
  --stone-600: #686155; /* Muted text: captions, timestamps, table meta, helper text. 5.4:1 on paper, 6.0:1 on paper-raised, 4.9:1 on stone-100. */
  --stone-800: #3f3b34; /* Secondary text a step softer than pine: sublines, table cells, email body copy. 9.9:1 on paper, 10.9:1 on paper-raised. */
  --brick: #ae4a27; /* The one warm accent (Pittsburgh brick). Primary button fill with on-brick text (4.9:1); links on paper (4.9:1) and paper-raised (5.4:1); the ordinal underline in the logo on light grounds; price-mid on the map. One brick button per view. */
  --brick-strong: #8e3a1e; /* Hover and pressed state for brick buttons and links (paper on it 6.7:1). Text on brick-tint (5.8:1). */
  --brick-tint: #f3ded2; /* Soft highlight: the 'New this month' tag, the unlock banner, a selected table row. Text on it is pine (9.4:1) or brick-strong (5.8:1), never brick (4.3:1). */
  --brick-light: #dc8d63; /* Brick for dark grounds: the ordinal underline in the logo plate, links on pine (4.6:1). Also price-low on the map. Never text on paper (2.3:1). */
  --brick-deep: #6b2812; /* The darkest brick step: price-high on the map (8.8:1 on map-land). */
  --on-brick: var(--paper); /* Text and icons on a brick fill (4.9:1). Use this, not white. */
  --focus-ring: var(--brick); /* Keyboard focus: a 2px gap in the surface colour, then a solid 2px ring. 4.9:1 on paper, 5.4:1 on paper-raised. On pine grounds the ring is paper instead. */
  --map-land: #ede7da; /* Ground colour of the map. */
  --map-road: #fbf8f1; /* Streets on the map, drawn lighter than the land like a printed street map. */
  --map-water: #a7c2cf; /* Rivers and lakes (the Allegheny, Monongahela and Ohio). Context fill only; never encodes data. */
  --map-area: #c5d3b9; /* Sage fill for the selected neighborhood and for parks. Decorative (1.3:1 on map-land), so always outlined with map-boundary. */
  --map-boundary: #5f7b58; /* Neighborhood outlines and the distance ring around the business (3.8:1 on map-land). Lines only, not text (4.2:1 on paper). */
  --price-low: var(--brick-light); /* Sale dots under $250k. Dots are 10px with a 2px paper-raised ring (2.1:1 on map-land; the legend and the table carry the value too). */
  --price-mid: var(--brick); /* Sale dots from $250k to $500k (4.5:1 on map-land). */
  --price-high: var(--brick-deep); /* Sale dots over $500k (8.8:1 on map-land). The three price steps are one hue, light to dark, so the order reads without colour vision. */
  --shadow-float: 0 1px 2px rgba(31, 59, 50, 0.10), 0 6px 16px rgba(31, 59, 50, 0.10); /* Map popups and the legend card that sit on top of the map. Nothing else casts a shadow. */
}
:root {
  --space-1: 4px; /* Gap between an icon and its label; between a stat and its caption. */
  --space-2: 8px; /* Inside chips and tags; between stacked label and control. */
  --space-3: 12px; /* Table cell padding (vertical); gap between filter controls. */
  --space-4: 16px; /* Card padding on small screens; button horizontal padding is space-5. */
  --space-5: 24px; /* Card padding; gap between cards; button horizontal padding. */
  --space-6: 32px; /* Gap between sections inside the app. */
  --space-7: 48px; /* Page margins on desktop; space above a landing section head. */
  --space-8: 64px; /* Between landing page sections. */
  --radius-sm: 4px; /* Tags, table row highlights, the blurred-address bar. */
  --radius-md: 8px; /* Buttons, inputs, selects, stat cards. */
  --radius-lg: 14px; /* Large panels: the map frame, the hero card, the email card. */
  --radius-pill: 999px; /* Filter chips and the 'New' tag. */
  --font-display: Bitter, Rockwell, Georgia, serif;
  --font-sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --text-display: 600 56px/60px var(--font-display); /* Landing page hero only. One per page, sentence case. */
  --text-h1: 600 40px/46px var(--font-display); /* Page titles and landing section heads. */
  --text-h2: 600 28px/34px var(--font-display); /* Section heads in the app and on landing pages. */
  --text-stat: 600 44px/48px var(--font-display); /* The big number on a stat card. Whole numbers with thousands commas; never a decimal. */
  --text-h3: 700 20px/28px var(--font-sans); /* Card and panel titles. */
  --text-lead: 400 20px/30px var(--font-sans); /* Sublines under display and h1 headlines. */
  --text-body: 400 17px/26px var(--font-sans); /* Default text everywhere. 17px is the floor for anything a customer has to read. */
  --text-body-strong: 700 17px/26px var(--font-sans); /* Emphasis inside body copy and prices. */
  --text-button: 700 17px/24px var(--font-sans); /* Button and tab labels. Sentence case, verb first. */
  --text-table: 400 16px/24px var(--font-sans); /* Table cells and filter values. Turn on tabular figures (font-variant-numeric: tabular-nums) for prices, dates and distances. */
  --text-small: 400 15px/22px var(--font-sans); /* Captions, legends, footnotes. The smallest size we use. */
  --text-label: 700 14px/18px var(--font-sans); /* Form and filter labels above a control, stat card labels. Sentence case, never all caps. */
}
.display {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 60px;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.h1 {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 46px;
  font-weight: 600;
  letter-spacing: -0.005em;
}
.h2 {
  font-family: var(--font-display);
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  letter-spacing: 0;
}
.stat {
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 48px;
  font-weight: 600;
  letter-spacing: 0;
}
.h3 {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
  letter-spacing: 0;
}
.lead {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 30px;
  font-weight: 400;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 26px;
  font-weight: 400;
  letter-spacing: 0;
}
.body-strong {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 26px;
  font-weight: 700;
  letter-spacing: 0;
}
.button {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0;
}
.table {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  letter-spacing: 0;
}
.small {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 22px;
  font-weight: 400;
  letter-spacing: 0;
}
.label {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
@font-face {
  font-family: "Bitter";
  src: url("fonts/Bitter-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/PublicSans-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/PublicSans-latin-wght.woff2") format("woff2");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
