@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   FLAGSTAFF SIDING — FRESH CSS
   Covers all 10 production pages. Written from scratch — no Tailwind compile.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS
   -------------------------------------------------------------------------- */

:root {
  /* Brand greens */
  --brand: #006e49;
  --brand-dark: #004d33;
  --brand-darker: #003d28;

  /* Brand blues */
  --brand-blue: #0052cc;
  --brand-blue-dark: #0042a8;
  --brand-blue-darker: #00348f;

  /* Brand slate */
  --brand-slate: #1e293b;

  /* Gray ramp */
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Red ramp */
  --red-50: #fef2f2;
  --red-100: #fee2e2;
  --red-500: #ef4444;
  --red-600: #dc2626;
  --red-700: #b91c1c;

  /* Green */
  --green-100: #dcfce7;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  /* Ring */
  --ring-offset-width: 0px;
  --ring-offset-color: #fff;
}

/* --------------------------------------------------------------------------
   2. RESET
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: var(--gray-200);
}

*::before,
*::after {
  content: none;
}

html {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  tab-size: 4;
  font-family: Inter, system-ui, sans-serif;
  font-feature-settings: normal;
  -webkit-tap-highlight-color: transparent;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  line-height: inherit;
}

hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}

abbr:where([title]) {
  text-decoration: underline dotted;
}

h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}

a {
  color: inherit;
  text-decoration: inherit;
}

b, strong {
  font-weight: bolder;
}

code, kbd, samp, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub { bottom: -0.25em; }
sup { top: -0.5em; }

table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}

button, input, optgroup, select, textarea {
  font-family: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}

button, select {
  text-transform: none;
}

button, [type='button'], [type='reset'], [type='submit'] {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}

:-moz-focusring {
  outline: auto;
}

:-moz-ui-invalid {
  box-shadow: none;
}

progress {
  vertical-align: baseline;
}

::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
  height: auto;
}

[type='search'] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

::-webkit-search-decoration {
  -webkit-appearance: none;
}

::file-selector-button {
  -webkit-appearance: button;
  font: inherit;
}

summary {
  display: list-item;
}

blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
  margin: 0;
}

fieldset {
  margin: 0;
  padding: 0;
}

legend {
  padding: 0;
}

ol, ul, menu {
  list-style: none;
  margin: 0;
  padding: 0;
}

textarea {
  resize: vertical;
}

input::placeholder, textarea::placeholder {
  color: var(--gray-500);
  opacity: 1;
}

img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}

img, video {
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none;
}

/* --------------------------------------------------------------------------
   3. BASE TEXT & FONT
   -------------------------------------------------------------------------- */

.font-sans {
  font-family: Inter, system-ui, sans-serif;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* --------------------------------------------------------------------------
   4. DISPLAY
   -------------------------------------------------------------------------- */

.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.grid { display: grid; }
.hidden { display: none; }
.invisible { visibility: hidden; }

/* --------------------------------------------------------------------------
   5. FLEXBOX
   -------------------------------------------------------------------------- */

.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }

/* --------------------------------------------------------------------------
   6. GRID COLUMNS (base — overridden by responsive variants)
   -------------------------------------------------------------------------- */

/* --------------------------------------------------------------------------
   7. SPACING — PADDING
   -------------------------------------------------------------------------- */

.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }

.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }

.pl-2 { padding-left: 0.5rem; }
.pb-16 { padding-bottom: 4rem; }
.pt-6 { padding-top: 1.5rem; }

/* --------------------------------------------------------------------------
   8. SPACING — MARGIN
   -------------------------------------------------------------------------- */

.mx-auto { margin-left: auto; margin-right: auto; }

.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }

.ml-3 { margin-left: 0.75rem; }

/* --------------------------------------------------------------------------
   9. SPACING — GAP
   -------------------------------------------------------------------------- */

.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

/* --------------------------------------------------------------------------
   10. SPACING — SPACE-Y (vertical rhythm between siblings)
   -------------------------------------------------------------------------- */

.space-y-2 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.5rem; }
.space-y-3 > :not([hidden]) ~ :not([hidden]) { margin-top: 0.75rem; }
.space-y-4 > :not([hidden]) ~ :not([hidden]) { margin-top: 1rem; }
.space-y-6 > :not([hidden]) ~ :not([hidden]) { margin-top: 1.5rem; }
.space-y-8 > :not([hidden]) ~ :not([hidden]) { margin-top: 2rem; }
.space-y-10 > :not([hidden]) ~ :not([hidden]) { margin-top: 2.5rem; }

/* --------------------------------------------------------------------------
   11. WIDTH
   -------------------------------------------------------------------------- */

.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-9 { width: 2.25rem; }
.w-10 { width: 2.5rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-full { width: 100%; }

/* --------------------------------------------------------------------------
   12. HEIGHT
   -------------------------------------------------------------------------- */

.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-9 { height: 2.25rem; }
.h-10 { height: 2.5rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-full { height: 100%; }

/* --------------------------------------------------------------------------
   13. MAX-WIDTH
   -------------------------------------------------------------------------- */

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-md { max-width: 28rem; }
.max-w-none { max-width: none; }
.max-h-96 { max-height: 24rem; }

/* --------------------------------------------------------------------------
   14. TYPOGRAPHY — FONT WEIGHT
   -------------------------------------------------------------------------- */

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

/* --------------------------------------------------------------------------
   15. TYPOGRAPHY — FONT SIZE
   -------------------------------------------------------------------------- */

.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }

/* --------------------------------------------------------------------------
   16. TYPOGRAPHY — LINE HEIGHT
   -------------------------------------------------------------------------- */

.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

/* --------------------------------------------------------------------------
   17. TYPOGRAPHY — ALIGNMENT & DECORATION
   -------------------------------------------------------------------------- */

.text-center { text-align: center; }
.underline { text-decoration-line: underline; }
.not-italic { font-style: normal; }

/* --------------------------------------------------------------------------
   18. TEXT COLOR
   -------------------------------------------------------------------------- */

.text-white { color: #fff; }
.text-brand { color: var(--brand); }
.text-brand-blue { color: var(--brand-blue); }
.text-brand-slate { color: var(--brand-slate); }
.text-gray-200 { color: var(--gray-200); }
.text-gray-300 { color: var(--gray-300); }
.text-gray-500 { color: var(--gray-500); }
.text-gray-600 { color: var(--gray-600); }
.text-gray-700 { color: var(--gray-700); }
.text-gray-800 { color: var(--gray-800); }
.text-gray-900 { color: var(--gray-900); }
.text-green-100 { color: var(--green-100); }
.text-red-500 { color: var(--red-500); }
.text-red-600 { color: var(--red-600); }

/* --------------------------------------------------------------------------
   19. BACKGROUND COLOR
   -------------------------------------------------------------------------- */

.bg-white { background-color: #fff; }
.bg-gray-50 { background-color: var(--gray-50); }
.bg-gray-100 { background-color: var(--gray-100); }
.bg-gray-900 { background-color: var(--gray-900); }
.bg-brand { background-color: var(--brand); }
.bg-brand-blue { background-color: var(--brand-blue); }
.bg-brand-slate { background-color: var(--brand-slate); }
.bg-red-50 { background-color: var(--red-50); }
.bg-red-100 { background-color: var(--red-100); }
.bg-red-600 { background-color: var(--red-600); }
.bg-opacity-50 { opacity: 0.5; }

/* --------------------------------------------------------------------------
   20. BORDER
   -------------------------------------------------------------------------- */

.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-gray-100 { border-color: var(--gray-100); }
.border-gray-200 { border-color: var(--gray-200); }
.border-gray-300 { border-color: var(--gray-300); }
.border-gray-700 { border-color: var(--gray-700); }
.border-white { border-color: #fff; }

/* --------------------------------------------------------------------------
   21. BORDER RADIUS
   -------------------------------------------------------------------------- */

.rounded { border-radius: 0.25rem; }
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

/* --------------------------------------------------------------------------
   22. SHADOW
   -------------------------------------------------------------------------- */

.shadow-sm { box-shadow: var(--shadow-sm); }
.shadow { box-shadow: var(--shadow); }
.shadow-lg { box-shadow: var(--shadow-lg); }
.shadow-2xl { box-shadow: var(--shadow-2xl); }

/* --------------------------------------------------------------------------
   23. OPACITY
   -------------------------------------------------------------------------- */

.opacity-25 { opacity: 0.25; }
.opacity-60 { opacity: 0.6; }
.opacity-75 { opacity: 0.75; }

/* --------------------------------------------------------------------------
   24. POSITION
   -------------------------------------------------------------------------- */

.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.z-50 { z-index: 50; }

/* --------------------------------------------------------------------------
   25. OVERFLOW & OBJECT
   -------------------------------------------------------------------------- */

.overflow-hidden { overflow: hidden; }
.object-cover { object-fit: cover; }

/* --------------------------------------------------------------------------
   26. CURSOR
   -------------------------------------------------------------------------- */

.cursor-pointer { cursor: pointer; }
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }

/* --------------------------------------------------------------------------
   27. TRANSITION & TRANSFORM
   -------------------------------------------------------------------------- */

.transition {
  transition-property: color, background-color, border-color, box-shadow;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.transition-all {
  transition-property: all;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.transition-colors {
  transition-property: color, background-color, border-color;
  transition-duration: 150ms;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
}
.transform { transform: translateX(0) translateY(0) scale(1); }
.scale-95 { transform: scale(0.95); }

/* --------------------------------------------------------------------------
   28. HOVER STATES
   -------------------------------------------------------------------------- */

.hover\:bg-brand-dark:hover { background-color: var(--brand-dark); }
.hover\:bg-brand-darker:hover { background-color: var(--brand-darker); }
.hover\:bg-brand-blue-dark:hover { background-color: var(--brand-blue-dark); }
.hover\:bg-brand-blue-darker:hover { background-color: var(--brand-blue-darker); }
.hover\:bg-red-700:hover { background-color: var(--red-700); }
.hover\:text-brand:hover { color: var(--brand); }
.hover\:text-brand-dark:hover { color: var(--brand-dark); }
.hover\:text-white:hover { color: #fff; }
.hover\:underline:hover { text-decoration-line: underline; }

/* --------------------------------------------------------------------------
   29. ACTIVE STATES
   -------------------------------------------------------------------------- */

.active\:bg-brand-darker:active { background-color: var(--brand-darker); }
.active\:bg-brand-blue-darker:active { background-color: var(--brand-blue-darker); }

/* --------------------------------------------------------------------------
   30. FOCUS STATES
   -------------------------------------------------------------------------- */

.focus\:border-brand-blue:focus { border-color: var(--brand-blue); }
.focus\:ring-2:focus {
  --ring-offset-width: 2px;
  box-shadow: 0 0 0 var(--ring-offset-width) var(--ring-offset-color), 0 0 0 calc(2px + var(--ring-offset-width)) var(--brand-blue);
}
.focus\:ring-brand-blue:focus {
  --ring-offset-width: 2px;
  box-shadow: 0 0 0 var(--ring-offset-width) var(--ring-offset-color), 0 0 0 calc(2px + var(--ring-offset-width)) var(--brand-blue);
}

/* --------------------------------------------------------------------------
   31. GROUP HOVER
   -------------------------------------------------------------------------- */

.group { }
.group:hover .group-hover\:text-brand { color: var(--brand); }

/* --------------------------------------------------------------------------
   32. ANIMATIONS
   -------------------------------------------------------------------------- */

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scale-in {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.animate-fade-in { animation: fade-in 0.2s ease-out; }
.animate-scale-in { animation: scale-in 0.3s ease-out; }
.animate-spin { animation: spin 1s linear infinite; }

/* --------------------------------------------------------------------------
   33. CUSTOM COMPONENT CLASSES
   -------------------------------------------------------------------------- */

.btn-primary {
  transition: all 0.2s ease;
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 110, 73, 0.3);
}

.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------------------
   34. FLAGSTAFF RESPONSIVE HEADER
   -------------------------------------------------------------------------- */

.flagstaff-desktop-nav {
  display: none;
}

.flagstaff-mobile-toggle {
  display: block;
}

.flagstaff-mobile-menu {
  display: none;
}

.flagstaff-mobile-menu.is-open {
  display: block;
}

/* --------------------------------------------------------------------------
   35. PROSE (privacy & terms pages)
   -------------------------------------------------------------------------- */

.prose {
  max-width: 65ch;
  font-size: 1rem;
  line-height: 1.75;
}

.prose p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 2em;
  margin-bottom: 1em;
  line-height: 1.25;
}

.prose h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-top: 1.6em;
  margin-bottom: 0.6em;
  line-height: 1.25;
}

.prose ul {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
  padding-left: 1.5em;
  list-style-type: disc;
}

.prose li {
  margin-top: 0.5em;
  margin-bottom: 0.5em;
}

.prose a {
  color: var(--brand);
  text-decoration: underline;
  font-weight: 500;
}

.prose strong {
  font-weight: 700;
}

.prose-lg {
  font-size: 1.125rem;
  line-height: 1.75;
}

.prose-lg p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.prose-lg h2 {
  font-size: 1.875rem;
  margin-top: 2em;
  margin-bottom: 1em;
}

/* --------------------------------------------------------------------------
   36. RESPONSIVE — sm (min-width: 640px)
   -------------------------------------------------------------------------- */

@media (min-width: 640px) {
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:inline { display: inline; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .sm\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .sm\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1; }
}

/* --------------------------------------------------------------------------
   37. RESPONSIVE — md (min-width: 768px)
   -------------------------------------------------------------------------- */

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

  .flagstaff-desktop-nav { display: flex; }
  .flagstaff-mobile-toggle,
  .flagstaff-mobile-menu { display: none !important; }
}

/* --------------------------------------------------------------------------
   38. RESPONSIVE — lg (min-width: 1024px)
   -------------------------------------------------------------------------- */

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-40 { padding-top: 10rem; padding-bottom: 10rem; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
}