:root {
  color: #365344;
  background: #e3e1d7;
  font-family: "Open Sans", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    linear-gradient(rgba(54, 83, 68, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(54, 83, 68, 0.045) 1px, transparent 1px),
    #e3e1d7;
  background-size: 44px 44px;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.font-headline {
  font-family: "League Spartan", Arial, sans-serif;
  letter-spacing: 0;
}

.bg-night {
  background-color: #365344 !important;
}

.bg-forest {
  background-color: #365344 !important;
}

.bg-alabaster\/50 {
  background-color: rgba(227, 225, 215, 0.5) !important;
}

.bg-ecru {
  background-color: #cbb783 !important;
}

.bg-paper {
  background-color: #e3e1d7 !important;
}

.bg-paper\/80 {
  background-color: rgba(227, 225, 215, 0.8) !important;
}

.bg-paper\/90 {
  background-color: rgba(227, 225, 215, 0.9) !important;
}

.bg-night\/15 {
  background-color: rgba(54, 83, 68, 0.15) !important;
}

.text-night {
  color: #365344 !important;
}

.text-forest {
  color: #365344 !important;
}

.text-ecru {
  color: #cbb783 !important;
}

.text-alabaster {
  color: #e3e1d7 !important;
}

.text-alabaster\/55 {
  color: rgba(227, 225, 215, 0.55) !important;
}

.text-alabaster\/76 {
  color: rgba(227, 225, 215, 0.76) !important;
}

.text-alabaster\/78 {
  color: rgba(227, 225, 215, 0.78) !important;
}

.text-alabaster\/82 {
  color: rgba(227, 225, 215, 0.82) !important;
}

.text-white {
  color: #e3e1d7 !important;
}

.text-night\/70 {
  color: rgba(54, 83, 68, 0.7) !important;
}

.text-night\/76 {
  color: rgba(54, 83, 68, 0.76) !important;
}

.text-night\/78 {
  color: rgba(54, 83, 68, 0.78) !important;
}

.text-night\/82 {
  color: rgba(54, 83, 68, 0.82) !important;
}

.border-night {
  border-color: #365344 !important;
}

.border-forest {
  border-color: #365344 !important;
}

.border-ecru {
  border-color: #cbb783 !important;
}

.border-night\/15 {
  border-color: rgba(54, 83, 68, 0.15) !important;
}

.border-night\/18 {
  border-color: rgba(54, 83, 68, 0.18) !important;
}

.border-night\/20 {
  border-color: rgba(54, 83, 68, 0.2) !important;
}

.border-alabaster\/12 {
  border-color: rgba(227, 225, 215, 0.16) !important;
}

.border-alabaster\/18 {
  border-color: rgba(227, 225, 215, 0.18) !important;
}

.border-alabaster\/25 {
  border-color: rgba(227, 225, 215, 0.25) !important;
}

.hover\:bg-ecru:hover {
  background-color: #cbb783 !important;
}

.hover\:bg-night:hover {
  background-color: #365344 !important;
}

.hover\:text-night:hover {
  color: #365344 !important;
}

.hover\:text-white:hover {
  color: #e3e1d7 !important;
}

.brand-wordmark {
  display: block;
  width: clamp(8.5rem, 15vw, 12rem);
  height: auto;
}

.architectural-lines {
  background-image:
    linear-gradient(rgba(227, 225, 215, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(227, 225, 215, 0.14) 1px, transparent 1px);
  background-size: 32px 32px;
}

.field {
  width: 100%;
  border: 1px solid rgba(54, 83, 68, 0.42);
  background: rgba(255, 255, 255, 0.72);
  padding: 0.85rem 0.95rem;
  color: #365344;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease;
  border-radius: 0;
  font-size: 1rem;
  line-height: 1.5;
  letter-spacing: 0;
}

.field:focus {
  border-color: #365344;
  background: #ffffff;
}

.label {
  display: block;
  margin-bottom: 0.45rem;
  color: rgba(54, 83, 68, 0.68);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.panel {
  border: 1px solid rgba(54, 83, 68, 0.18);
  background: rgba(227, 225, 215, 0.92);
}

.dark-panel {
  border: 1px solid rgba(227, 225, 215, 0.2);
  background: #365344;
}

.market-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(54, 83, 68, 0.22);
  border-bottom: 1px solid rgba(54, 83, 68, 0.22);
}

.market-stat {
  min-width: 0;
  padding: 1rem 1rem 1rem 0;
}

.market-stat + .market-stat {
  border-left: 1px solid rgba(54, 83, 68, 0.18);
  padding-left: 1rem;
}

.market-label {
  margin: 0 0 0.45rem;
  color: rgba(54, 83, 68, 0.62);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.2;
  text-transform: uppercase;
}

.market-value {
  margin: 0;
  color: #365344;
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.15;
}

.grayscale {
  filter: grayscale(1) contrast(0.95) brightness(1.04);
}

@media (max-width: 640px) {
  .market-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .market-stat:nth-child(3) {
    border-left: 0;
  }

  .market-stat:nth-child(n + 3) {
    border-top: 1px solid rgba(54, 83, 68, 0.18);
  }
}
