/* LandIntel — MLA-inspired clean UI (light, spacious, trustworthy).
   No framework. Static-site friendly for Netlify.
*/

:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --surface2:#f6f8f7;
  --text:#0b1a13;
  --muted:#4b5b55;
  --line:#e3e9e6;
  --brand:#017448;      /* deep green */
  --brand2:#FDB613;     /* warm gold accent */
  --danger:#b42318;
  --radius:18px;
  --shadow:0 10px 30px rgba(0,0,0,.06);
  --max:1140px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background:var(--bg);
  color:var(--text);
  line-height:1.5;
}

a{color:inherit; text-decoration:none}
a:hover{text-decoration:underline}

/* Layout */
.wrap{max-width:var(--max); margin:0 auto; padding:0 18px}
main.wrap{padding-top:26px; padding-bottom:56px}

/* Top bar */
.topbar{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar .nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}
.brand a{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:900;
  letter-spacing:.2px;
  padding:8px 10px;
  border-radius:999px;
  background:linear-gradient(180deg, rgba(0,107,63,.10), rgba(0,107,63,.04));
  border:1px solid rgba(0,107,63,.18);
}
.links{
  display:none;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  justify-content:center;
}
.links a{
  color:var(--muted);
  padding:8px 10px;
  border-radius:999px;
  border:1px solid transparent;
}
.links a:hover{
  color:var(--text);
  background:rgba(0,0,0,.03);
  border-color:var(--line);
}
.cta{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  background:var(--brand);
  color:white;
  font-weight:800;
  border:1px solid rgba(0,0,0,.05);
  box-shadow: 0 8px 18px rgba(0,107,63,.18);
}
.cta:hover{text-decoration:none; filter:brightness(.98)}

@media (min-width: 980px){
  .links{display:flex}
}

/* Cards + sections */
.card{
  background:var(--surface);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  padding:20px;
}
section{margin:22px 0}
.hero{
  position:relative;
}
.heroCard{
  padding:26px;
  background:
    radial-gradient(900px 320px at 20% 0%, rgba(0,107,63,.12), transparent 60%),
    radial-gradient(700px 320px at 80% 0%, rgba(202,166,0,.10), transparent 60%),
    var(--surface);
}
.hero .sub{color:var(--muted); font-size:1.05rem}
.hint{margin-top:10px; color:var(--muted)}
.hint strong{color:var(--text)}

h1{font-size:clamp(28px, 3.2vw, 46px); line-height:1.1; margin:0 0 10px}
h2{font-size:clamp(20px, 2.2vw, 30px); margin:0 0 10px}
h3{font-size:18px; margin:0 0 8px}
p{margin:0 0 12px}
.muted{color:var(--muted)}
.small{font-size:13px}

/* Grids */
.grid2{display:grid; gap:14px}
.grid3{display:grid; gap:14px}
@media (min-width: 920px){
  .grid2{grid-template-columns:1fr 1fr}
  .grid3{grid-template-columns:repeat(3, 1fr)}
}
.mini{
  background:var(--surface2);
  border:1px solid var(--line);
  border-radius:16px;
  padding:16px;
}
.mini h3{margin-bottom:6px}

/* Lists */
.list{margin:0; padding-left:18px}
.list li{margin:7px 0}

/* Buttons */
.btnRow{display:flex; gap:10px; flex-wrap:wrap}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:rgba(0,0,0,.02);
  color:var(--text);
  font-weight:800;
}
.btn:hover{text-decoration:none; background:rgba(0,0,0,.04)}
.btn.primary{
  background:var(--brand);
  border-color:rgba(0,0,0,.05);
  color:white;
}
.btn.primary:hover{filter:brightness(.98)}
.btn.secondary{
  background:rgba(202,166,0,.12);
  border-color:rgba(202,166,0,.25);
}


/* Tabs (accessibility-friendly) */
.tabs{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin:12px 0 14px;
}
.tabs [role="tab"]{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background:var(--surface2);
  color:var(--muted);
  font-weight:800;
  cursor:pointer;
}
.tabs [role="tab"][aria-selected="true"]{
  color:white;
  background:var(--brand);
  border-color:rgba(0,0,0,.05);
}
.panel{
  display:none;
  margin-top:8px;
  padding-top:6px;
}
.panel.show{display:block}



/* Notes */
.note{
  margin-top:12px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(180,35,24,.18);
  background:rgba(180,35,24,.06);
}
.note strong{color:var(--danger)}

/* Forms */
fieldset{
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:16px;
  margin:14px 0;
  background:var(--surface2);
}
legend{padding:0 8px; font-weight:900}
label{display:block; margin:10px 0; color:var(--muted); font-weight:700}
input,select,textarea{
  width:100%;
  margin-top:6px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:var(--surface);
  color:var(--text);
}
input::placeholder, textarea::placeholder{color:#7a8b84}

/* Footer */
.footer{
  border-top:1px solid var(--line);
  background:var(--surface2);
}
.footgrid{
  display:grid;
  gap:14px;
  padding:18px 0 26px;
}
@media(min-width:920px){
  .footgrid{grid-template-columns: 1.2fr 1fr .6fr; align-items:start}
}
.footlinks{display:flex; gap:12px; flex-wrap:wrap}
.brandline{font-weight:900}

/* Tables */
.table{width:100%; border-collapse:collapse}
.table th,.table td{padding:10px 8px; border-bottom:1px solid var(--line)}
.table th{text-align:left; color:var(--muted); font-weight:900}
.table td:last-child,.table th:last-child{text-align:right}

/* Small helpers */
code{background:rgba(0,0,0,.04); padding:2px 6px; border-radius:8px}
/* CTA */
.btn.ghost{background:transparent; border:1px solid var(--line); color:var(--text)}
.btn.ghost:hover{border-color:var(--brand); text-decoration:none}

/* Main wrap on inner pages */
main.wrap{max-width:var(--max); margin:0 auto; padding:22px 18px}

/* Footer signals */
footer{padding:24px 0; border-top:1px solid var(--line); background:var(--surface)}
.footer-links{max-width:var(--max); margin:0 auto; padding:0 18px; display:flex; gap:14px; flex-wrap:wrap; align-items:center}
footer small{display:block; max-width:var(--max); margin:10px auto 0; padding:0 18px; color:var(--muted)}
.signals{max-width:var(--max); margin:14px auto 0; padding:0 18px; display:flex; gap:12px; align-items:center; flex-wrap:wrap}
.signals-title{font-weight:800; color:var(--brand)}
.signals-text{color:var(--muted)}
.signals-qr{width:110px; height:110px; border-radius:12px; border:1px solid var(--line); object-fit:cover}



/* QR Code container */
.qr-box {
  width: 140px;
  height: 140px;
  background: #000;
  border-radius: 14px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* QR image */
.qr-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
  border-radius: 8px;
}
