/* Appalachian Integrations — plain, utilitarian, honest. Low-voltage trade. */

:root {
  --bg: #f5f6f8;
  --bg-elev: #eceef1;
  --bg-dark: #1a2330;
  --text: #1a1f26;
  --text-dim: #45505c;
  --text-muted: #7a8694;
  --accent: #2f5d8a;
  --accent-deep: #234a70;
  --line: #d2d7dd;
  --border: #d2d7dd;
  --white: #ffffff;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'SF Mono', 'JetBrains Mono', 'Menlo', 'Consolas', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--accent-deep); }

.container { max-width: 980px; margin: 0 auto; padding: 0 24px; }

header {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}
.nav { display: flex; align-items: center; justify-content: space-between; }
.logo {
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.logo strong { color: var(--accent); font-weight: 700; }
.nav-links { display: flex; gap: 22px; list-style: none; }
.nav-links a {
  color: var(--text-dim);
  font-size: 14px;
  text-decoration: none;
  font-weight: 500;
}
.nav-links a:hover { color: var(--accent); }

.hero {
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}
.hero-inner { text-align: center; }
.hero-logo { width: min(280px, 70%); height: auto; display: block; margin: 0 auto 28px; }
.hero h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.12;
  margin-bottom: 18px;
  color: var(--text);
  letter-spacing: -0.02em;
  font-weight: 700;
}
.hero p.lead {
  font-size: 18px;
  color: var(--text-dim);
  max-width: 620px;
  margin: 0 auto 26px;
}
.tagline {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 8px;
}
.hero-inner .cta-row { justify-content: center; }

.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 3px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-deep); border-color: var(--accent-deep); color: var(--white); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--accent-deep); border-color: var(--accent); }
.btn-ghost:hover { background: var(--accent); color: var(--white); text-decoration: none; }
.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }

section { padding: 54px 0; }
section + section { border-top: 1px solid var(--line); }

h2 {
  font-size: 28px;
  margin-bottom: 14px;
  color: var(--text);
  letter-spacing: -0.01em;
  font-weight: 700;
}
h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; color: var(--text); }
.section-lead { color: var(--text-dim); max-width: 640px; margin-bottom: 34px; font-size: 17px; }

.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}
.service {
  background: var(--white);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent);
  border-radius: 3px;
  padding: 24px;
}
.service h3 { margin-bottom: 10px; }
.service p { color: var(--text-dim); font-size: 15px; }
.service ul { margin-top: 12px; padding-left: 18px; color: var(--text-dim); font-size: 14px; }
.service li { margin-bottom: 4px; }

.process {
  margin-top: 8px;
  border-left: 2px solid var(--accent);
  padding-left: 24px;
}
.process-step { position: relative; padding-bottom: 24px; }
.process-step:last-child { padding-bottom: 0; }
.process-step::before {
  content: '';
  position: absolute;
  left: -32px;
  top: 6px;
  width: 13px;
  height: 13px;
  background: var(--accent);
  border-radius: 2px;
  border: 3px solid var(--bg);
}
.process-step h3 { font-size: 16px; margin-bottom: 4px; }
.process-step p { color: var(--text-dim); font-size: 15px; }

.contact {
  background: var(--bg-elev);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 720px) { .contact { grid-template-columns: 1fr; } }
.contact-info p { margin-bottom: 8px; font-size: 15px; color: var(--text); }
.contact-info p strong { display: inline-block; min-width: 84px; color: var(--text); }

form .field { margin-bottom: 14px; }
form label {
  display: block;
  font-size: 13px;
  color: var(--text);
  font-weight: 600;
  margin-bottom: 4px;
}
form input, form select, form textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--text);
  padding: 10px 12px;
  border-radius: 3px;
  font-family: var(--sans);
  font-size: 15px;
}
form input:focus, form select:focus, form textarea:focus { outline: none; border-color: var(--accent); }
form textarea { min-height: 100px; resize: vertical; }

.legal { max-width: 760px; margin: 0 auto; }
.legal h1 { font-size: 30px; margin-bottom: 6px; font-weight: 700; }
.legal .updated { color: var(--text-muted); font-size: 13px; margin-bottom: 28px; }
.legal h2 { font-size: 18px; margin-top: 28px; margin-bottom: 10px; color: var(--accent-deep); }
.legal p, .legal li { color: var(--text-dim); margin-bottom: 10px; font-size: 15px; }
.legal ul, .legal ol { padding-left: 22px; }

footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  background: var(--bg-elev);
  padding: 28px 0;
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 28px; margin-bottom: 20px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 { font-size: 15px; color: var(--text); margin-bottom: 10px; font-weight: 600; }
footer p, footer a { color: var(--text-dim); font-size: 13px; line-height: 1.6; display: block; text-decoration: none; margin-bottom: 4px; }
footer a:hover { color: var(--accent-deep); text-decoration: underline; }
.footer-meta {
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
