/* ==========================================================================
   50_location_GM260909 · Atlas Wayfinder · base.css
   --------------------------------------------------------------------------
   Cartographic map dashboard for free browser games. Parchment base, deep
   navy ink, compass gold accent, terracotta callouts. All template CSS is
   self-contained under the `lo-` prefix.
   ========================================================================== */

:root {
  --lo-paper: #FFFFFF;
  --lo-paper-mid: #F6F6F3;
  --lo-paper-deep: #ECECE7;
  --lo-paper-edge: #DCDCD5;
  --lo-ink: #1E3A5F;
  --lo-ink-deep: #142847;
  --lo-ink-soft: #2E5078;
  --lo-gold: #C9A66B;
  --lo-gold-soft: #E5D7B5;
  --lo-terra: #B85C3D;
  --lo-terra-deep: #8B3E22;
  --lo-sea: #5B8AA6;
  --lo-olive: #6B6E3D;
  --lo-text: #2D2A24;
  --lo-text-soft: #5C5850;
  --lo-thread: rgba(30, 58, 95, 0.18);
  --lo-shadow: rgba(45, 36, 25, 0.12);
  --lo-shadow-strong: rgba(30, 58, 95, 0.26);
  --lo-divider: rgba(45, 36, 25, 0.18);
  --lo-paper-texture:
    repeating-linear-gradient(
      to bottom,
      transparent 0,
      transparent 33px,
      rgba(30, 58, 95, 0.025) 34px,
      transparent 35px
    ),
    radial-gradient(ellipse at top left, rgba(184, 92, 61, 0.03), transparent 65%),
    radial-gradient(ellipse at bottom right, rgba(30, 58, 95, 0.025), transparent 60%);
  --lo-font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --lo-font-mono: "IBM Plex Mono", "Menlo", "Consolas", monospace;
  --lo-font-body: "Inter", system-ui, -apple-system, sans-serif;
  --lo-transition: 180ms ease;
}

* { -moz-box-sizing: border-box; box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--lo-font-body);
  background: var(--lo-paper);
  color: var(--lo-text);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
  -webkit-transition: color var(--lo-transition);
  transition: color var(--lo-transition);
}

button {
  font-family: var(--lo-font-mono);
  cursor: pointer;
  background: transparent;
  border: 0;
  color: inherit;
}

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

input, textarea, select {
  font-family: var(--lo-font-mono);
  font-size: 14px;
  color: var(--lo-ink);
}

:focus-visible {
  outline: 2px dashed var(--lo-terra);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  * { -webkit-transition: none !important; transition: none !important; -webkit-animation: none !important; animation: none !important; }
  .lo-compass-rotor { -webkit-animation: none !important; animation: none !important; }
}

/* ----- App layout shell -------------------------------------------------- */

.lo-page {
  min-height: 100vh;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  background: var(--lo-paper-texture), var(--lo-paper);
}

.lo-main {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
     -moz-box-flex: 1;
          flex: 1 1 auto;
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
  padding: 0 0 48px;
}

/* ----- Header (wayfinder topbar) ---------------------------------------- */

.lo-topbar {
  background: var(--lo-paper-mid);
  border-bottom: 2px solid var(--lo-ink);
  padding: 14px 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 50;
}

.lo-topbar-inner {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 18px;
}

.lo-brand {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 10px;
  font-family: var(--lo-font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: 1px;
  color: var(--lo-ink);
  white-space: nowrap;
}

.lo-brand:hover { color: var(--lo-terra); }

.lo-brand-mark {
  width: 36px;
  height: 36px;
  background: var(--lo-ink);
  border-radius: 50%;
  position: relative;
  display: inline-grid;
  place-items: center;
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
}

.lo-brand-mark::before,
.lo-brand-mark::after {
  content: "";
  position: absolute;
  background: var(--lo-gold);
}

.lo-brand-mark::before { width: 22px; height: 1.5px; }

.lo-brand-mark::after  { width: 1.5px; height: 22px; }

.lo-brand-name em {
  font-style: italic;
  color: var(--lo-terra);
  font-family: var(--lo-font-display);
}

.lo-brand-stamp {
  margin-left: 4px;
  padding: 3px 7px;
  font-family: var(--lo-font-mono);
  font-size: 9px;
  border: 1px dashed var(--lo-ink);
  letter-spacing: 1.5px;
  color: var(--lo-text-soft);
  background: rgba(255, 255, 255, 0.25);
}

.lo-coord-search {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
     -moz-box-flex: 1;
          flex: 1 1 auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: stretch;
  -webkit-align-items: stretch;
     -moz-box-align: stretch;
          align-items: stretch;
  max-width: 460px;
  margin-left: auto;
  border: 1.5px solid var(--lo-ink);
  background: var(--lo-paper);
  min-width: 0;
}

.lo-coord-search-prefix {
  padding: 8px 12px;
  font-family: var(--lo-font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--lo-terra);
  border-right: 1px dashed var(--lo-ink);
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
}

.lo-coord-search-input {
  -webkit-box-flex: 1;
  -webkit-flex: 1 1 auto;
     -moz-box-flex: 1;
          flex: 1 1 auto;
  border: 0;
  padding: 8px 12px;
  background: transparent;
  font-family: var(--lo-font-mono);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--lo-ink);
  min-width: 0;
}

.lo-coord-search-input:focus { outline: none; }

.lo-coord-search-trigger {
  background: var(--lo-ink);
  color: var(--lo-paper);
  padding: 0 14px;
  font-family: var(--lo-font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  border-left: 1.5px solid var(--lo-ink);
  cursor: pointer;
}

.lo-coord-search-trigger:hover { background: var(--lo-terra); }

.lo-nav-tags {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  gap: 6px;
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
}

.lo-nav-tag {
  font-family: var(--lo-font-mono);
  font-size: 10px;
  letter-spacing: 1px;
  padding: 5px 9px;
  border: 1px solid var(--lo-ink);
  background: var(--lo-paper);
  color: var(--lo-ink);
  text-transform: uppercase;
}

.lo-nav-tag.is-active {
  background: var(--lo-ink);
  color: var(--lo-paper);
}

/* ----- Footer (wayfinder legend) ---------------------------------------- */

.lo-footer {
  background: var(--lo-ink);
  color: var(--lo-paper);
  padding: 36px 0 18px;
  margin-top: 36px;
  border-top: 4px double var(--lo-gold);
}

.lo-footer-inner {
  width: min(100% - 32px, 1280px);
  margin: 0 auto;
}

.lo-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(239, 229, 208, 0.22);
}

.lo-footer-col h5 {
  font-family: var(--lo-font-display);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--lo-gold);
  margin: 0 0 10px;
}

.lo-footer-col p {
  font-size: 13px;
  line-height: 1.7;
  margin: 0 0 10px;
  color: var(--lo-paper);
}

.lo-footer-col a {
  display: block;
  font-family: var(--lo-font-mono);
  font-size: 12px;
  padding: 4px 0;
  color: var(--lo-paper);
  letter-spacing: 0.5px;
}

.lo-footer-col a:hover { color: var(--lo-gold); }

.lo-footer-bottom {
  padding-top: 14px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  gap: 12px;
  font-family: var(--lo-font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: rgba(239, 229, 208, 0.72);
}

/* ----- Image lazy loading ----------------------------------------------- */

.lo-lazy-image {
  background: var(--lo-paper-deep);
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-transition: opacity 260ms ease;
  transition: opacity 260ms ease;
  opacity: 0;
}

.lo-lazy-image[src^="data:"] {
  opacity: 0.3;
}

.lo-img-loaded {
  opacity: 1 !important;
}

.lo-img-failed {
  opacity: 0.4;
  background: var(--lo-ink);
}

/* ----- Advertisement classes (CSS-driven by common.js) ------------------ */

.lo-ad-frame {
  margin: 16px auto;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
}

.lo-ad-slot {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
     -moz-box-pack: center;
          justify-content: center;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  margin-inline: auto;
  min-height: 250px;
  max-width: 300px;
  width: 100%;
  background: var(--lo-paper-deep);
  border: 1px dashed var(--lo-text-soft);
}

.lo-ad-tag {
  text-align: center;
  font-family: var(--lo-font-mono);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--lo-terra);
  margin-bottom: 4px;
  text-transform: uppercase;
}

/* ----- Cards ------------------------------------------------------------ */

.lo-card-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.lo-card {
  cursor: pointer;
  background: var(--lo-paper);
  border: 1.5px solid var(--lo-ink);
  padding: 10px;
  position: relative;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  gap: 8px;
  color: var(--lo-ink);
  box-shadow: 3px 3px 0 var(--lo-shadow);
  -webkit-transition: box-shadow var(--lo-transition), -webkit-transform var(--lo-transition);
  transition: box-shadow var(--lo-transition), -webkit-transform var(--lo-transition);
  transition: transform var(--lo-transition), box-shadow var(--lo-transition);
  transition: transform var(--lo-transition), box-shadow var(--lo-transition), -webkit-transform var(--lo-transition);
}

.lo-card:hover {
  -webkit-transform: translate(-2px, -2px);
          transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 var(--lo-terra);
}

.lo-card-coord {
  position: absolute;
  top: 6px;
  left: 6px;
  font-family: var(--lo-font-mono);
  font-size: 8px;
  color: var(--lo-paper);
  background: var(--lo-ink);
  padding: 2px 5px;
  letter-spacing: 1px;
  z-index: 2;
}

.lo-card-pin {
  position: absolute;
  top: 12px;
  right: 10px;
  width: 10px;
  height: 10px;
  background: var(--lo-terra);
  border: 1.5px solid var(--lo-ink);
  border-radius: 50%;
  z-index: 2;
}

.lo-card-pin::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 1px;
  height: 5px;
  background: var(--lo-ink);
}

.lo-card-thumb {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: -webkit-linear-gradient(315deg, var(--lo-sea), var(--lo-ink));
  background: linear-gradient(135deg, var(--lo-sea), var(--lo-ink));
  border: 1px solid var(--lo-ink);
  position: relative;
  overflow: hidden;
}

.lo-card-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    -webkit-gradient(linear, left top, left bottom, color-stop(60%, transparent), to(rgba(0,0,0,0.18))),
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(255,255,255,0.04) 8px 9px);
  background:
    -webkit-linear-gradient(transparent 60%, rgba(0,0,0,0.18)),
    -webkit-repeating-linear-gradient(45deg, transparent 0 8px, rgba(255,255,255,0.04) 8px 9px);
  background:
    linear-gradient(transparent 60%, rgba(0,0,0,0.18)),
    repeating-linear-gradient(45deg, transparent 0 8px, rgba(255,255,255,0.04) 8px 9px);
}

.lo-card-thumb > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lo-card-info {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  gap: 3px;
}

.lo-card-name {
  font-family: var(--lo-font-display);
  font-size: 14px;
  font-weight: 600;
  color: var(--lo-ink);
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lo-card-category {
  font-family: var(--lo-font-mono);
  font-size: 9px;
  color: var(--lo-terra);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ----- Section -------------------------------------------------------- */

.lo-section {
  padding: 32px 0 16px;
  position: relative;
}

.lo-section::before {
  content: attr(data-region);
  position: absolute;
  top: 12px;
  right: 0;
  font-family: var(--lo-font-mono);
  font-size: 9px;
  color: var(--lo-text-soft);
  letter-spacing: 2px;
}

.lo-section-head {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: end;
  -webkit-align-items: flex-end;
     -moz-box-align: end;
          align-items: flex-end;
  -webkit-box-pack: justify;
  -webkit-justify-content: space-between;
     -moz-box-pack: justify;
          justify-content: space-between;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--lo-ink);
  position: relative;
  gap: 14px;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
}

.lo-section-head::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--lo-terra);
}

.lo-section-head-text {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  gap: 4px;
}

.lo-section-title {
  font-family: var(--lo-font-display);
  font-size: 24px;
  color: var(--lo-ink);
  font-weight: 600;
  letter-spacing: 1px;
  margin: 0;
}

.lo-section-title em {
  font-style: italic;
  color: var(--lo-terra);
}

.lo-section-sub {
  font-family: var(--lo-font-mono);
  font-size: 10px;
  color: var(--lo-text-soft);
  letter-spacing: 1.5px;
}

.lo-section-action {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-box;
  display: inline-flex;
  -webkit-box-align: center;
  -webkit-align-items: center;
     -moz-box-align: center;
          align-items: center;
  gap: 8px;
  font-family: var(--lo-font-mono);
  font-size: 10px;
  color: var(--lo-ink);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1.5px solid var(--lo-ink);
  background: var(--lo-paper);
  -webkit-flex-shrink: 0;
          flex-shrink: 0;
}

.lo-section-action::after { content: "→"; font-size: 13px; color: var(--lo-terra); }

.lo-section-action:hover { background: var(--lo-ink); color: var(--lo-paper); }

.lo-section-action:hover::after { color: var(--lo-gold); }

/* ----- Responsive ------------------------------------------------------- */

@media (max-width: 1050px) {
  .lo-card-grid { grid-template-columns: repeat(4, 1fr); }
  .lo-footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .lo-topbar-inner { gap: 14px; }
}

@media (max-width: 480px) {
  .lo-topbar { padding: 10px 0; }
  .lo-topbar-inner { -webkit-flex-wrap: wrap; flex-wrap: wrap; gap: 10px; }
  .lo-brand { font-size: 18px; }
  .lo-brand-mark { width: 30px; height: 30px; }
  .lo-brand-stamp { display: none; }
  .lo-coord-search { width: 100%; -webkit-box-ordinal-group: 4; -webkit-order: 3; -moz-box-ordinal-group: 4; order: 3; margin-left: 0; }
  .lo-coord-search-prefix { font-size: 9px; padding: 6px 8px; }
  .lo-coord-search-input { font-size: 11px; }
  .lo-nav-tags { display: none; }
  .lo-card-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .lo-card-name { font-size: 13px; }
  /* On mobile, the Northern Realm and Eastern Shores grids cap at 8 cards;
     the 9th onward stays hidden so the homepage doesn't scroll forever. */
  #loNorthernGrid > .lo-card:nth-child(n+9),
  #loEasternGrid > .lo-card:nth-child(n+9) {
    display: none;
  }
  .lo-section { padding: 22px 0 10px; }
  .lo-section::before { font-size: 8px; top: 8px; }
  .lo-section-title { font-size: 18px; }
  .lo-section-action { font-size: 9px; padding: 5px 10px; }
  .lo-footer-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
  .lo-footer-bottom { font-size: 10px; }
}

/* ==========================================================================
   50_location_GM260909 · Atlas Wayfinder · legal-base.css
   Shared layout for privacy.html / terms.html / contact.html
   ========================================================================== */

.lo-legal-main {
  padding: 32px 0 8px;
}

.lo-legal-card {
  background: var(--lo-paper);
  border: 1.5px solid var(--lo-ink);
  padding: 32px 36px;
  position: relative;
  box-shadow: 4px 4px 0 var(--lo-shadow);
  margin-bottom: 12px;
}

.lo-legal-card-stamp {
  position: absolute;
  top: -10px;
  left: 28px;
  background: var(--lo-ink);
  color: var(--lo-paper);
  font-family: var(--lo-font-mono);
  font-size: 10px;
  padding: 4px 10px;
  letter-spacing: 2px;
}

.lo-legal-card h1 {
  font-family: var(--lo-font-display);
  font-size: 36px;
  font-weight: 600;
  color: var(--lo-ink);
  letter-spacing: 0.5px;
  margin: 0 0 12px;
  line-height: 1.1;
}

.lo-legal-card h1 em {
  font-style: italic;
  color: var(--lo-terra);
}

.lo-legal-meta {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  gap: 18px;
  -webkit-flex-wrap: wrap;
          flex-wrap: wrap;
  padding: 10px 0 14px;
  border-bottom: 1px dashed var(--lo-ink);
  margin-bottom: 20px;
  font-family: var(--lo-font-mono);
  font-size: 11px;
  letter-spacing: 1px;
  color: var(--lo-text-soft);
}

.lo-legal-meta em {
  font-style: normal;
  color: var(--lo-ink);
  font-weight: 600;
}

.lo-legal-section {
  margin-bottom: 22px;
}

.lo-legal-section h2 {
  font-family: var(--lo-font-display);
  font-size: 22px;
  font-weight: 600;
  color: var(--lo-ink);
  margin: 0 0 8px;
  letter-spacing: 0.5px;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-align: baseline;
  -webkit-align-items: baseline;
     -moz-box-align: baseline;
          align-items: baseline;
  gap: 12px;
}

.lo-legal-section h2 span {
  font-family: var(--lo-font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  color: var(--lo-terra);
  border: 1px solid var(--lo-terra);
  padding: 2px 8px;
}

.lo-legal-section p,
.lo-legal-section li {
  font-size: 14px;
  line-height: 1.7;
  color: var(--lo-text);
  margin: 0 0 10px;
}

.lo-legal-section ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.lo-legal-section ul li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 8px;
}

.lo-legal-section ul li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--lo-terra);
  font-family: var(--lo-font-mono);
}

.lo-legal-section strong {
  color: var(--lo-ink);
  font-weight: 700;
}

.lo-legal-section code {
  font-family: var(--lo-font-mono);
  font-size: 12px;
  background: var(--lo-paper-mid);
  padding: 2px 6px;
  border: 1px dashed var(--lo-ink);
  color: var(--lo-ink);
}

.lo-legal-section a {
  color: var(--lo-terra);
  border-bottom: 1px dashed var(--lo-terra);
}

.lo-legal-section a:hover { color: var(--lo-ink); border-bottom-color: var(--lo-ink); }

/* ----- Contact form ----------------------------------------------------- */

.lo-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 16px;
}

.lo-form-field {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -webkit-flex-direction: column;
     -moz-box-orient: vertical;
     -moz-box-direction: normal;
          flex-direction: column;
  gap: 4px;
}

.lo-form-field-full {
  grid-column: 1 / -1;
}

.lo-form-label {
  font-family: var(--lo-font-mono);
  font-size: 10px;
  letter-spacing: 1.5px;
  color: var(--lo-text-soft);
  text-transform: uppercase;
}

.lo-form-input,
.lo-form-textarea {
  border: 1.5px solid var(--lo-ink);
  background: var(--lo-paper);
  padding: 10px 12px;
  font-family: var(--lo-font-mono);
  font-size: 13px;
  color: var(--lo-ink);
}

.lo-form-textarea { min-height: 140px; resize: vertical; }

.lo-form-input:focus,
.lo-form-textarea:focus {
  outline: none;
  border-color: var(--lo-terra);
  background: var(--lo-paper-mid);
}

.lo-form-submit {
  grid-column: 1 / -1;
  padding: 12px 24px;
  background: var(--lo-ink);
  color: var(--lo-paper);
  border: 1.5px solid var(--lo-ink);
  font-family: var(--lo-font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  justify-self: start;
}

.lo-form-submit:hover { background: var(--lo-terra); }

.lo-form-feedback {
  grid-column: 1 / -1;
  padding: 10px 14px;
  border: 1px dashed var(--lo-terra);
  background: var(--lo-paper-mid);
  font-family: var(--lo-font-mono);
  font-size: 12px;
  color: var(--lo-ink);
  letter-spacing: 0.5px;
}

@media (max-width: 1050px) {
  .lo-legal-card { padding: 28px 28px; }
  .lo-legal-card h1 { font-size: 30px; }
}

@media (max-width: 480px) {
  .lo-legal-main { padding: 22px 0 8px; }
  .lo-legal-card { padding: 22px 18px; }
  .lo-legal-card h1 { font-size: 24px; }
  .lo-legal-card-stamp { left: 18px; }
  .lo-legal-section h2 { font-size: 18px; }
  .lo-legal-section h2 span { font-size: 9px; padding: 2px 6px; }
  .lo-form { grid-template-columns: 1fr; }
  .lo-form-submit { justify-self: stretch; }
}
