/* File: /assets/css/site.css */
:root { --max: 980px; --pad: 18px; --content: 860px; }

body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  margin: 0;
  line-height: 1.55;
  color: #111;
}

a { color: inherit; }

/* Header / Footer */
.site-header, .site-footer { border-bottom: 1px solid #eee; }

.site-header {
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 14px var(--pad);
}

.site-header nav a {
  margin-left: 14px;
  text-decoration:none;
  opacity:.85;
}
.site-header nav a:hover { opacity:1; text-decoration:underline; }

.logo { font-weight: 750; text-decoration:none; letter-spacing:.2px; }

/* Main container */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px var(--pad) 60px;
}

h1 { font-size: 2.1rem; margin: 0 0 6px; }
h2 { margin-top: 22px; }

.lead { font-size: 1.1rem; opacity:.9; margin-top: 0; }

.cta {
  display:inline-block;
  padding: 10px 14px;
  border:1px solid #111;
  border-radius: 10px;
  text-decoration:none;
  margin-right:10px;
  background: #fff;
}
.cta.secondary { border-color:#bbb; opacity:.9; }

ul { padding-left: 18px; margin-top: 10px; }

/* =====================================================
   NEW: Shared content width block
   This is the “ruler” your eyes will follow.
   ===================================================== */
.content-wrap {
  max-width: var(--content);
  margin-left: auto;
  margin-right: auto;
}

/* Cards */
.cards {
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; }
}

.card {
  border:1px solid #eee;
  border-radius: 14px;
  padding: 12px;
}

.card p { margin: 10px 0; }

.kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  opacity:.7;
}

/* CTA row under cards */
.cards + p {
  margin-top: 14px;
  margin-bottom: 0;

  /* make it a real row */
  display: flex;
  gap: 12px;
  flex-wrap: wrap;

  /* default: left (good for mobile) */
  justify-content: flex-start;
}

/* On desktop, center the button pair under the 3 cards */
@media (min-width: 900px) {
  .cards + p {
    justify-content: center;
  }

  /* optional: remove the old margin-right spacing once we use gap */
  .cards + p .cta {
    margin-right: 0;
  }
}


/* Dual section */
.dual-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  margin-top: 26px;
  align-items: start;
}

@media (max-width: 900px) {
  .dual-section { grid-template-columns: 1fr; gap: 22px; }
}

.dual-section h2 { margin-top: 0; }

/* Let’s Get Started */
.get-started {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid #eee;
}

.get-started-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.phone { opacity: .85; }

/* Phone only on desktop */
.desktop-only { display: none; }
@media (min-width: 900px) {
  .desktop-only { display: inline; }
}

/* Footer */
.site-footer {
  border-top: 1px solid #eee;
  border-bottom: none;
  padding: 18px var(--pad);
}

.site-footer nav a {
  margin-right: 14px;
  text-decoration:none;
  opacity:.8;
}
.site-footer nav a:hover { opacity:1; text-decoration:underline; }


.cards + p .secondary {
  opacity: .75;
}
.cards + p .secondary:hover {
  opacity: .95;
}
