/* Boundary — generated from tokens.json */
:root, [data-theme="light"] {
  --basalt: #141513; /* Brand black, one half of the identity. The mark on bone, ink on light grounds, primary buttons in the light theme, the dark page ground and app chrome. Bone text on it 13.5:1. */
  --bone: #e6ddc8; /* Brand bone, the other half: the App Store icon field, the mark on basalt, ink and primary buttons in the dark theme, and quiet bands on paper. Basalt text on it 13.5:1. On paper and white it is a ground only, never text or a thin line (1.2:1 and 1.3:1). */
  --paper: #f7f4ec; /* Light page ground. Basalt text on it 16.6:1. */
  --char: #1e1f1c; /* Raised dark surface: cards, sheets and panels on basalt. Bone text on it 12.2:1. */
  --coal: #0e0f0d; /* Sunken dark surface: wells and the phone bezel. Never a text color. */
  --coyote: #7e6040; /* Coyote brown, the warm supporting color: merch, packaging, print, chips and illustration. As a fill, bone type on it only at 24px and up (4.2:1). For coyote text use coyote-dark. */
  --coyote-dark: #6b5034; /* Coyote for text and links on light grounds: 6.7:1 on paper, 7.3:1 on surface-raised, 5.5:1 on bone. Not for text on dark grounds (2.4:1). */
  --tallgrass: #cdbb8f; /* Cured grass. Coyote's partner on dark grounds: links and warm text on basalt (9.6:1), char (8.7:1) and coal (10.1:1). Also a warm ground for print and merch with basalt text (9.6:1). */
  --sage: #8b977c; /* Lichen. Public-land tags, illustration and merch. Basalt text on it 5.9:1; no bone or white text on it (2.2:1). */
  --timber: #1f2b23; /* Deep forest green-black for alternate dark bands beside photography. Bone text on it 10.8:1. Never a text color. */
  --granite-200: #dcd5c5; /* Hairline dividers on paper and bone. */
  --granite-300: #bdb6a6; /* Disabled fills and borders on paper. */
  --granite-400: #9c978b; /* Muted text on basalt (6.2:1), char (5.6:1) and coal (6.6:1). */
  --granite-500: #77736a; /* Control borders on paper (4.2:1), surface-raised (4.6:1) and bone (3.4:1). Not for text. */
  --granite-600: #5a5750; /* Muted text on paper (6.5:1), surface-raised (7:1) and bone (5.3:1). */
  --granite-700: #6f6b62; /* Control borders on basalt (3.4:1), char (3.1:1) and coal (3.6:1). Not for text. */
  --granite-800: #2a2a26; /* Hairline dividers on basalt and char, and the hover fill of basalt buttons (bone label 10.6:1). */
  --surface: var(--paper); /* Page ground. */
  --surface-raised: #fffdf8; /* Cards, sheets, inputs and menus on surface. */
  --surface-sunken: var(--bone); /* Wells, quiet bands, tag fills and icon tiles. Bone in the light theme, so the brand color shows up in every light layout. */
  --ink: var(--basalt); /* Headings and body on surface, surface-raised and surface-sunken: 12.2:1 or more in both themes. */
  --ink-muted: var(--granite-600); /* Secondary text, captions and data labels on surface, surface-raised and surface-sunken: 5.3:1 or more in both themes. */
  --border: var(--granite-200); /* Hairline dividers. Decorative only; controls use border-strong. */
  --border-strong: var(--granite-500); /* Input and secondary-button borders: 3.1:1 or more on every surface in both themes. */
  --accent: var(--basalt); /* Primary button fill, the selected item and the active nav rule: basalt in the light theme, bone in the dark. 12.2:1 or more against every surface in both themes. */
  --accent-pressed: var(--granite-800); /* Hover and pressed state of accent fills, one step lighter in both themes. */
  --on-accent: var(--bone); /* Text and icons on accent and accent-pressed: 10.6:1 or more in both themes. */
  --accent-text: var(--coyote-dark); /* Links and the occasional warm word on surface, surface-raised and surface-sunken: 5.5:1 or more in both themes. */
  --focus-ring: var(--coyote-dark); /* Keyboard focus: a solid 2px ring with a 2px gap in the page color. 5.5:1 or more on every surface, and a different color from the basalt and bone fills it surrounds. */
  --success: #1d6582; /* Saved, downloaded, synced. Blue, so it never relies on red versus green. 4.8:1 or more on every surface; always with an icon or word. */
  --warning: #805500; /* Data getting old, download incomplete. 4.8:1 or more on every surface; always with an icon or word. */
  --danger: #b3261e; /* Errors only. Red appears nowhere else in Boundary, so it always means a problem. 4.8:1 or more on every surface; always with an icon and a plain sentence. */
  --glass: rgba(247,244,236,0.80); /* Search field, map buttons, the dock and readout pills floating over the map, with a 20px background blur. Text on it is ink. */
  --glass-line: rgba(20,21,19,0.10); /* 1px edge of glass pieces and the hairlines between stacked map buttons. */
  --sheet: rgba(247,244,236,0.97); /* Bottom sheets in the app. Ink on it 16.6:1 light, 12.2:1 dark; ink-muted 5.3:1 or more. */
  --land-forest: #9bc489; /* Forest Service land fill: 15% over aerial imagery, 24% over topo, with a 1.25px edge at 85%. */
  --land-blm: #e9cf6e; /* BLM land fill, at the same strengths as land-forest. */
  --land-state: #86a9de; /* State land fill, at the same strengths as land-forest. */
  --land-federal: #c9a7d8; /* Other federal land fill (refuges, Reclamation), at the same strengths as land-forest. */
  --map-district: #7e6040; /* Hunting district boundaries: 2px dashed 7/5 over a 4.5px casing. The dark value is for aerial imagery, the light value (coyote) for topo. */
  --mark-blaze: #f26a21; /* Default track color, and a waypoint and member color. Basalt icon on it 5.9:1. User content only, never brand work. */
  --mark-gold: #e8b04a; /* Waypoint and member color. Basalt icon on it 9.3:1. */
  --mark-sage: #9db97e; /* Waypoint and member color. Basalt icon on it 8.4:1. */
  --mark-sky: #6fb9d6; /* Waypoint and member color. Basalt icon on it 8.3:1. */
  --mark-rose: #e8877c; /* Waypoint and member color. Basalt icon on it 7.1:1. */
  --mark-violet: #b39ddb; /* Waypoint and member color. Basalt icon on it 7.6:1. */
  --mark-tan: #c08a5b; /* Waypoint and member color. Basalt icon on it 6.1:1. Bone is the eighth mark color. */
  --shadow-float: 0 1px 2px rgba(20,21,19,0.10), 0 10px 28px rgba(20,21,19,0.16); /* Only for things floating over a map or a photo: map controls, sheets, phone frames. */
}
[data-theme="dark"] {
  --surface: var(--basalt);
  --surface-raised: var(--char);
  --surface-sunken: var(--coal);
  --ink: var(--bone);
  --ink-muted: var(--granite-400);
  --border: var(--granite-800);
  --border-strong: var(--granite-700);
  --accent: var(--bone);
  --accent-pressed: var(--paper);
  --on-accent: var(--basalt);
  --accent-text: var(--tallgrass);
  --focus-ring: var(--tallgrass);
  --success: #6fb9d6;
  --warning: #e0ac52;
  --danger: #f28b82;
  --glass: rgba(20,21,19,0.66);
  --glass-line: rgba(230,221,200,0.16);
  --sheet: rgba(30,31,28,0.97);
  --map-district: #e0c78f;
  --shadow-float: 0 1px 2px rgba(0,0,0,0.40), 0 10px 28px rgba(0,0,0,0.45);
}
:root {
  --space-1: 4px; /* Icon-to-label gaps, tag padding. */
  --space-2: 8px; /* Tight stacks, chip gaps. */
  --space-3: 12px; /* Between a label and its control. */
  --space-4: 16px; /* Card padding on phones, list gaps. */
  --space-5: 24px; /* Card padding, gutters. */
  --space-6: 32px; /* Between groups inside a section. */
  --space-7: 48px; /* Section padding on phones. */
  --space-8: 64px; /* Between blocks in a section. */
  --space-9: 96px; /* Section padding on desktop. */
  --space-10: 128px; /* Hero and closing band padding on desktop. */
  --radius-sm: 6px; /* Tags and small chips. */
  --radius-md: 12px; /* Buttons, inputs and map controls, matching the app. */
  --radius-lg: 20px; /* Cards, sheets and photo cards. */
  --radius-xl: 28px; /* Phone screens and large sheets. */
  --radius-sheet: 30px; /* App bottom sheets. */
  --radius-dock: 32px; /* The app dock: a 64px capsule. */
  --radius-icon: 22.37%; /* App icon tile corners (iOS continuous corner approximation). */
  --radius-full: 999px; /* Pills and round markers. */
  --texture-on-dark: 0.16; /* Bone contour texture over basalt or timber. */
  --texture-on-light: 0.10; /* Basalt contour texture over paper or bone. */
  --scrim-max: 0.82; /* Darkest point of a basalt photo scrim under text. */
  --content-max: 1240px; /* Widest content column on the web. */
  --measure: 68ch; /* Longest line for body text. */
  --tap-min: 44px; /* Smallest touch target. */
  --app-control: 48px; /* App search field height and map button size. */
  --app-dock: 64px; /* App dock height; it floats 16px in from the sides and 20px above the bottom edge. */
  --font-display: "Archivo Expanded", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-heading: "Archivo SemiExpanded", "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Archivo", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
  --text-display-xl: 800 88px/0.98 var(--font-display); /* The one hero line on a page, usually over a photo. Scale to 56px on phones. */
  --text-display: 800 64px/1 var(--font-display); /* Section openers on photo bands and the closing call to action. 40px on phones. */
  --text-h1: 700 48px/52px var(--font-heading); /* Page and section titles. 34px on phones. */
  --text-h2: 700 36px/40px var(--font-heading); /* Section titles inside a page. */
  --text-h3: 700 24px/30px var(--font-heading); /* Feature and card titles. */
  --text-h4: 700 19px/24px var(--font-heading); /* Small titles, list heads, sheet titles in the app. */
  --text-body-lg: 400 20px/31px var(--font-sans); /* Hero and intro paragraphs, 60 to 72 characters a line. */
  --text-body: 400 17px/27px var(--font-sans); /* Default reading text. */
  --text-body-sm: 400 15px/23px var(--font-sans); /* Notes, footers, dense cards. */
  --text-label: 600 16px/20px var(--font-sans); /* Buttons, tabs, navigation. Sentence case. */
  --text-caption: 500 13px/18px var(--font-sans); /* Photo captions and small labels. Use ink-muted. */
  --text-data-lg: 500 17px/24px var(--font-mono); /* A single key readout: coordinates, acreage, elevation. */
  --text-data: 500 13px/18px var(--font-mono); /* Coordinates, elevation, acreage, distances and unit numbers. Data only, never headings or decoration. */
  --text-wordmark: 600 40px/1 var(--font-display); /* Reference only: the wordmark ships as outlined SVG in assets/Logos. Never retype it. */
}
.display-xl {
  font-family: var(--font-display);
  font-size: 88px;
  line-height: 0.98;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.display {
  font-family: var(--font-display);
  font-size: 64px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.h1 {
  font-family: var(--font-heading);
  font-size: 48px;
  line-height: 52px;
  font-weight: 700;
  letter-spacing: -0.005em;
}
.h2 {
  font-family: var(--font-heading);
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
  letter-spacing: 0;
}
.h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 30px;
  font-weight: 700;
  letter-spacing: 0;
}
.h4 {
  font-family: var(--font-heading);
  font-size: 19px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0;
}
.body-lg {
  font-family: var(--font-sans);
  font-size: 20px;
  line-height: 31px;
  font-weight: 400;
  letter-spacing: 0;
}
.body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 27px;
  font-weight: 400;
  letter-spacing: 0;
}
.body-sm {
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 23px;
  font-weight: 400;
  letter-spacing: 0;
}
.label {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 20px;
  font-weight: 600;
  letter-spacing: 0;
}
.caption {
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0;
}
.data-lg {
  font-family: var(--font-mono);
  font-size: 17px;
  line-height: 24px;
  font-weight: 500;
  letter-spacing: 0;
}
.data {
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 18px;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.wordmark {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.10em;
}
@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo SemiExpanded";
  src: url("fonts/ArchivoSemiExpanded-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo Expanded";
  src: url("fonts/ArchivoExpanded-Variable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
