:root {
  --deep-basin-navy: #0b1f3b;
  --petroleum-slate: #2b3642;
  --graphite: #111827;
  --parchment: #f6f2ea;
  --mist-gray: #e6e9ed;
  --sandstone: #d6c5a3;
  --copper-seal: #864726;
  --field-gray: #5f6c76;
  --sage: #4f6b5b;
  --rust: #a0442e;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 8px 24px rgba(11, 31, 59, 0.08);
  --container-padding-left: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, -apple-system, sans-serif;
  background: var(--parchment);
  color: var(--graphite);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--deep-basin-navy);
  text-decoration: none;
}

a:hover {
  color: var(--copper-seal);
}

a.underlined {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.link {
  font-weight: 600;
  font-size: 1.35rem;
  text-decoration: none;
}

.link:hover {
  color: var(--copper-seal);
}

:focus-visible {
  outline: 2px solid var(--copper-seal);
  outline-offset: 2px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "IBM Plex Serif", "IBM Plex Sans", serif;
  color: var(--deep-basin-navy);
  margin: 0 0 12px 0;
  line-height: 1.2;
}

.eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--field-gray);
}

p {
  margin: 0 0 16px 0;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  padding-left: var(--container-padding-left);
}

.skip-link {
  position: absolute;
  top: -60px;
  left: 24px;
  background: var(--parchment);
  color: var(--deep-basin-navy);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--mist-gray);
  font-weight: 600;
  z-index: 40;
}

.skip-link:focus {
  top: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--deep-basin-navy);
  border-bottom: 1px solid rgba(246, 242, 234, 0.18);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 24px;
  padding-left: var(--container-padding-left);
  position: relative;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand .wordmark {
  font-size: clamp(1.15rem, 2.4vw, 1.9rem);
  font-weight: 600;
  white-space: nowrap;
}

.brand .tagline {
  font-size: clamp(0.6rem, 2.4vw, 0.85rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246, 242, 234, 0.72);
  line-height: 1.2;
}

.brand img {
  width: clamp(36px, 8vw, 64px);
  height: auto;
}

.wordmark {
  font-family: "IBM Plex Serif", "IBM Plex Sans", serif;
  font-weight: 600;
  color: var(--deep-basin-navy);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.nav a {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--petroleum-slate);
}

.nav a:hover {
  background: rgba(214, 197, 163, 0.4);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(246, 242, 234, 0.5);
  background: transparent;
  color: var(--parchment);
  cursor: pointer;
  padding: 0;
  flex-direction: column;
  gap: 4px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
}

.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(11, 31, 59, 0.98);
  display: none;
  z-index: 60;
}

.mobile-nav.open {
  display: flex;
}

.mobile-nav-inner {
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  text-align: center;
}

.mobile-nav a {
  color: var(--parchment);
  font-size: 1.15rem;
  font-weight: 600;
  text-decoration: none;
}

.mobile-nav a:hover {
  color: var(--copper-seal);
}

.mobile-nav-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(246, 242, 234, 0.5);
  background: transparent;
  color: var(--parchment);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

body.nav-open {
  overflow: hidden;
}

.site-header .wordmark,
.site-header .nav a {
  color: var(--parchment);
}

.site-header .nav a:hover {
  background: rgba(214, 197, 163, 0.2);
  color: var(--parchment);
}


.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--mist-gray);
  padding: 80px 0;
  background: var(--parchment);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero::before {
  background-image: url("/patterns/plss-grid.svg");
  background-size: 280px 280px;
  opacity: 0.12;
}

.hero::after {
  background-image: url("/img/tileable-land-survey-pattern.png");
  background-size: 320px 320px;
  opacity: 0.05;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
}

.hero .eyebrow {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--petroleum-slate);
  margin-bottom: 12px;
}

.hero p.lede {
  font-size: 1.1rem;
  color: var(--petroleum-slate);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

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

@media (min-width: 900px) {
  .hero-grid {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
  }

  .hero-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .site-header .nav-toggle {
    position: absolute;
    left: calc(env(safe-area-inset-left) + 12px);
    top: 50%;
    transform: translateY(-50%);
    z-index: 3;
  }

  :root {
    --container-padding-left: 64px;
  }
}

.section {
  position: relative;
  padding: 64px 0;
}

.section.pattern-grid::before,
.section.pattern-polygons::before,
.section.pattern-survey::before,
.section.pattern-polygon-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.08;
}

.section.pattern-grid::before {
  background-image: url("/patterns/plss-grid.svg");
  background-size: 220px 220px;
}

.section.pattern-polygons::before {
  background-image: url("/patterns/lease-polygons.svg");
  background-size: 240px 200px;
}

.section.pattern-survey::before {
  background-image: url("/img/tileable-land-survey-pattern.png");
  background-size: 260px 260px;
}

.section.pattern-polygon-tile::before {
  background-image: url("/img/tileable-polygon-background.png");
  background-size: 260px 260px;
}

.section > .container {
  position: relative;
  z-index: 1;
}

.section-header {
  max-width: 640px;
  margin-bottom: 32px;
}

.section-header .eyebrow {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--field-gray);
}

.section-header p {
  color: var(--field-gray);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.grid-5 {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card {
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid var(--mist-gray);
  border-radius: 20px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
}

.card.small {
  padding: 16px;
  box-shadow: none;
}

.card h3 {
  font-size: 1.2rem;
}

.card p {
  color: var(--field-gray);
  font-size: 0.95rem;
}

.card .link {
  font-weight: 600;
  font-size: 0.9rem;
}

.image-card {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--mist-gray);
  border-radius: 20px;
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.image-card .caption {
  margin-top: 12px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--field-gray);
}

.button-primary {
  background: var(--copper-seal);
  color: var(--parchment);
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.button-primary:hover {
  background: var(--deep-basin-navy);
}

.button-secondary {
  background: transparent;
  color: var(--deep-basin-navy);
  border: 1px solid var(--deep-basin-navy);
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
}

.button-secondary:hover {
  border-color: var(--copper-seal);
  color: var(--copper-seal);
}

.callout {
  border-radius: 20px;
  border: 1px solid rgba(11, 31, 59, 0.3);
  padding: 16px 20px;
  background: var(--parchment);
  font-size: 0.9rem;
  color: var(--petroleum-slate);
}

.callout.compliance {
  border-color: rgba(79, 107, 91, 0.5);
  background: rgba(79, 107, 91, 0.1);
}

.callout.risk {
  border-color: rgba(160, 68, 46, 0.5);
  background: rgba(160, 68, 46, 0.1);
}

.cta-band {
  background: var(--deep-basin-navy);
  border-top: 1px solid rgba(246, 242, 234, 0.18);
  border-bottom: 1px solid rgba(246, 242, 234, 0.18);
  padding: 48px 0;
}

.cta-band h3 {
  color: var(--parchment);
}

.cta-band p {
  color: rgba(246, 242, 234, 0.72);
}

.cta-band .button-secondary {
  color: var(--parchment);
  border-color: var(--parchment);
}

.cta-band .button-secondary:hover {
  border-color: var(--copper-seal);
  color: var(--copper-seal);
}

.cta-band .button-primary:hover {
  background: var(--copper-seal);
  box-shadow: 0 0 0 2px rgba(246, 242, 234, 0.25);
}

.cta-band .cta-inner {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 900px) {
  .cta-band .cta-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.tag-pill {
  border: 1px solid var(--mist-gray);
  border-radius: 999px;
  padding: 10px 16px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--petroleum-slate);
  background: rgba(255, 255, 255, 0.8);
}

.list {
  padding-left: 20px;
  margin: 0;
}

.list li {
  margin-bottom: 10px;
  color: var(--petroleum-slate);
}

.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--mist-gray);
  border-radius: 12px;
  overflow: hidden;
}

.table th,
.table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--mist-gray);
  text-align: left;
}

.table thead {
  background: var(--parchment);
  color: var(--field-gray);
}

.site-footer {
  border-top: 1px solid rgba(246, 242, 234, 0.18);
  background: var(--deep-basin-navy);
  padding: 40px 0;
  font-size: 0.85rem;
  color: rgba(246, 242, 234, 0.75);
}

.site-footer .wordmark {
  color: var(--parchment);
}

.site-footer strong {
  color: var(--parchment);
}

.site-footer a {
  color: var(--parchment);
}

.site-footer a:hover {
  color: var(--copper-seal);
}


.footer-grid {
  display: grid;
  gap: 24px;
}

@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr 0.6fr;
  }
}

.footer-brand {
  display: flex;
  gap: 12px;
}

.footer-links a {
  display: block;
  margin-bottom: 6px;
}

.meta {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--field-gray);
}

.site-footer .meta {
  color: rgba(246, 242, 234, 0.55);
}

.form {
  display: grid;
  gap: 16px;
}

.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form label {
  display: grid;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--field-gray);
}

.form input,
.form textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--mist-gray);
  padding: 10px 12px;
  font-size: 0.9rem;
  font-family: "IBM Plex Sans", sans-serif;
}

.form .status {
  font-size: 0.9rem;
}

.process-icon {
  margin-top: 0;
  height: 72px;
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.process-icon img {
  height: 56px;
  width: 56px;
  object-fit: contain;
}

.process-step {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
}

.process-step-title {
  margin-top: 8px;
  min-height: 0;
}

.process-step-text {
  margin-top: 6px;
  min-height: 0;
}

.stat-card {
  text-align: center;
}

.stat-value {
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 600;
  color: var(--deep-basin-navy);
}

.stat-label {
  margin-top: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--field-gray);
}

.status.success {
  color: var(--sage);
}

.status.error {
  color: var(--rust);
}

.print-button {
  border: 1px solid var(--deep-basin-navy);
  background: transparent;
  color: var(--deep-basin-navy);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 600;
}

.print-button:hover {
  border-color: var(--copper-seal);
  color: var(--copper-seal);
}

.no-print {
  display: block;
}

@media print {
  @page {
    margin: 0.5in;
  }

  body {
    background: #ffffff;
    color: #111827;
  }

  .no-print,
  .site-header,
  .site-footer {
    display: none !important;
  }

  .card,
  .image-card,
  .callout,
  .table {
    box-shadow: none;
  }
}
