/* Jackstand agency site — same system as the client template.
   Slate + Teal, mobile-first, no dependencies. */

*, *::before, *::after { box-sizing: border-box; }

:root {
  --primary: #1E293B;
  --primary-dark: #0F172A;
  --accent: #0D9488;
  --accent-dark: #0F766E;
  --on-accent: #FFFFFF;

  --bg: #ffffff;
  --bg-alt: #f4f6f8;
  --text: #1a202c;
  --muted: #5b6573;
  --line: #dde3ea;
  --radius: 10px;
  --wrap: 60rem;
}

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
a:hover { color: var(--primary-dark); }

h1, h2, h3 { line-height: 1.15; margin: 0 0 0.75rem; }
h1 { font-size: 1.75rem; font-weight: 800; }
h2 { font-size: 1.375rem; font-weight: 700; }
h3 { font-size: 1.0625rem; font-weight: 700; }
p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 1rem; }
.muted { color: var(--muted); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border: 0; border-radius: var(--radius);
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  min-height: 3rem;
}
.btn-lg { width: 100%; font-size: 1.1875rem; padding: 1rem 1.5rem; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-accent:hover { background: var(--accent-dark); color: var(--on-accent); }

/* Header */
.site-header {
  background: var(--primary);
  color: #fff;
  position: sticky; top: 0; z-index: 10;
}
.header-row {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem;
  min-height: 3.5rem; padding-top: 0.5rem; padding-bottom: 0.5rem;
}
.brand { color: #fff; text-decoration: none; font-weight: 800; font-size: 1.125rem; line-height: 1.2; }
.header-mail {
  display: inline-flex; align-items: center; gap: 0.4rem;
  text-decoration: none; font-weight: 700; white-space: nowrap;
  font-size: 1rem;
  padding: 0.5rem 0.75rem; border-radius: var(--radius);
  background: var(--accent); color: var(--on-accent);
}
.header-mail:hover { background: var(--accent-dark); color: var(--on-accent); }

/* Hero */
.hero { background: var(--primary-dark); color: #fff; padding: 2.5rem 0 2.75rem; }
.hero h1 { color: #fff; }
.hero-tag {
  font-size: 1.25rem; font-weight: 700; color: var(--accent);
  margin: 0 0 0.75rem; letter-spacing: 0.01em;
}
.hero-sub { font-size: 1.0625rem; opacity: 0.92; margin-bottom: 1.25rem; max-width: 38rem; }
.hero-note { margin: 1rem 0 0; font-size: 0.9375rem; opacity: 0.85; }

/* Sections */
.section { padding: 2.25rem 0; }
.section-alt { background: var(--bg-alt); }

/* Feature list — same shape as the template's services list */
.features { display: grid; gap: 0.5rem; }
.features li {
  padding: 0.75rem 1rem;
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  font-weight: 600;
}
.section-alt .features li { background: #fff; }

/* Price */
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.25rem 1.25rem 1.5rem; max-width: 30rem;
}
.price { font-size: 2.5rem; font-weight: 800; color: var(--primary); margin: 0; line-height: 1.1; }
.price span { font-size: 1.0625rem; font-weight: 600; color: var(--muted); }
.price-terms { display: grid; gap: 0.25rem; margin: 1rem 0 1.25rem; }
.price-terms li { display: flex; gap: 0.5rem; font-weight: 600; }
.price-terms li::before { content: "✓"; color: var(--accent); font-weight: 800; }

/* Terms page */
.prose { max-width: 44rem; }
.prose h2 { margin-top: 2rem; }
.prose ul { list-style: disc; padding-left: 1.25rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.4rem; }
.updated { color: var(--muted); font-size: 0.9375rem; }

/* Footer */
.site-footer {
  background: var(--primary); color: #fff;
  padding: 2rem 0 2.5rem; font-size: 0.9375rem;
}
.site-footer a { color: #fff; }
.site-footer p { margin: 0 0 0.4rem; }
.footer-name { font-weight: 800; font-size: 1.125rem; }
.footer-links { margin-top: 1rem; display: flex; gap: 1rem; flex-wrap: wrap; }
.footer-credit { margin-top: 1.25rem; opacity: 0.75; }

@media (min-width: 40em) {
  h1 { font-size: 2.25rem; }
  h2 { font-size: 1.625rem; }
  .btn-lg { width: auto; }
  .hero { padding: 3.5rem 0 4rem; }
  .section { padding: 3rem 0; }
  .features { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 48em) {
  .brand { font-size: 1.25rem; }
}
