/* Spike Industries — static marketing site.
   Reproduces the look of the previous Ghost "Source" theme:
   system font, white background, dark text (#15171a), pink accent (#FF1A75),
   left-logo header, centered hero, minimal footer. */

:root {
  --accent:    #FF1A75;
  --text:      #15171a;
  --muted:     #738a94;
  --bg:        #ffffff;
  --border:    #e5eaee;
  --container: 1200px;
  --content:   720px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu,
          Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}

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

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

body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; }

.viewport { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1 0 auto; }

/* ── Header ─────────────────────────────────────────────── */
.site-head { border-bottom: 1px solid var(--border); }
.site-head-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 20px 28px;
}
.site-head-logo img { height: 44px; width: auto; display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 28px; }
.site-nav a { color: var(--text); font-weight: 500; }
.site-nav a:hover { color: var(--accent); text-decoration: none; }
.site-nav a.is-current { color: var(--accent); }
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 0;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  color: var(--text);
}

/* ── Hero (home) ────────────────────────────────────────── */
.hero { padding: 80px 28px; }
.hero-inner { max-width: var(--content); margin: 0 auto; text-align: center; }
.hero-logo { max-height: 160px; width: auto; margin: 0 auto 32px; display: block; }
.hero-tagline { font-size: 24px; line-height: 1.4; margin: 0; }

/* ── Content pages (About / Contact) ────────────────────── */
.page { max-width: var(--content); margin: 0 auto; padding: 56px 28px 80px; }
.page h1 { font-size: 34px; line-height: 1.2; margin: 0 0 24px; }
.content p { margin: 0 0 20px; }

.reg-list, .contact-list { list-style: none; margin: 0 0 20px; padding: 0; }
.reg-list li { margin-bottom: 6px; }
.contact-item { margin-bottom: 16px; font-size: 18px; }
.contact-label { font-weight: 600; margin-right: 8px; }

/* ── Estimate embed ─────────────────────────────────────── */
.page--estimate { max-width: none; padding: 0; }
.page--estimate h1 {
  max-width: var(--content);
  margin: 40px auto 20px;
  padding: 0 28px;
}
.estimate-frame { display: block; width: 100%; height: 1400px; border: 0; }

/* ── Footer ─────────────────────────────────────────────── */
.site-foot { flex-shrink: 0; border-top: 1px solid var(--border); color: var(--muted); }
.site-foot-inner { max-width: var(--container); margin: 0 auto; padding: 28px; font-size: 14px; }
.site-foot a { color: var(--muted); }
.site-foot a:hover { color: var(--accent); text-decoration: none; }

/* ── Mobile ─────────────────────────────────────────────── */
@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .site-head-inner { flex-wrap: wrap; }
  .site-nav { flex-basis: 100%; display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav li { border-top: 1px solid var(--border); }
  .site-nav a { display: block; padding: 12px 0; }
  .hero { padding: 56px 20px; }
  .hero-tagline { font-size: 20px; }
  .page { padding: 40px 20px 64px; }
}
