@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* RPE Lift brand — color extracted from assets/images/logo.png */
:root {
  --brand: #5CE1E6;
  --brand-light: #8AEDF0;
  --brand-dark: #3BCAD0;
  --brand-rgb: 92, 225, 230;

  --blue: var(--brand);
  --blue2: var(--brand-light);

  --gold: #FBBF24;
  --green: #22C55E;
  --red: #EF4444;

  --bg: #080E0D;
  --surface: #0F1918;
  --surface2: #152422;
  --border: #1A2E2F;
  --border2: #234042;
  --text: #EDF9F8;
  --muted: #5A8A8E;
  --muted2: #A8CECA;
  --on-brand: #080E0D;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
}

a { color: var(--brand); text-decoration: none; }

.logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -.5px;
  color: var(--text);
  text-decoration: none;
}

.logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: rgba(8, 14, 13, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.back {
  font-size: .85rem;
  color: var(--muted2);
  text-decoration: none;
}

.back:hover { color: var(--text); }

.chip {
  display: inline-block;
  background: rgba(var(--brand-rgb), 0.1);
  border: 1px solid rgba(var(--brand-rgb), 0.22);
  color: var(--brand);
  border-radius: 999px;
  padding: .3rem .9rem;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.page-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 3.5rem 2rem 6rem;
}

.page-main h1 {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: .5rem;
}

.page-main .meta {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.page-main h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 2.5rem 0 .75rem;
}

.page-main p {
  font-size: .93rem;
  color: #C0C8DC;
  margin-bottom: .9rem;
}

.page-main ul,
.page-main ol {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-main li {
  font-size: .93rem;
  color: #C0C8DC;
  margin-bottom: .4rem;
}

.callout {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--brand);
  border-radius: 10px;
  padding: 1.1rem 1.4rem;
  margin: 1.75rem 0;
}

.callout p { margin: 0; font-size: .9rem; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
}

.site-footer a {
  color: var(--muted);
  margin: 0 .75rem;
}

.site-footer a:hover { color: var(--text); }

.btn-brand {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 1.75rem;
  background: var(--brand);
  color: var(--on-brand);
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  font-size: .9rem;
  box-shadow: 0 6px 20px rgba(var(--brand-rgb), 0.3);
  transition: transform .15s, opacity .15s;
}

.btn-brand:hover {
  opacity: .92;
  transform: translateY(-1px);
  text-decoration: none;
}

@media (max-width: 768px) {
  .site-nav,
  nav {
    padding: .75rem 1rem !important;
  }

  .logo {
    font-size: .95rem;
  }

  .logo img {
    width: 30px;
    height: 30px;
  }

  .page-main,
  main {
    padding: 2.5rem 1.25rem 4rem !important;
  }

  .page-main h1,
  main h1 {
    font-size: 1.85rem !important;
  }

  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .contact-card {
    flex-direction: column;
    align-items: stretch !important;
    text-align: center;
    padding: 1.5rem !important;
  }

  .contact-card .btn,
  .contact-card .btn-brand {
    width: 100%;
    justify-content: center;
  }

  .site-footer,
  footer {
    padding: 1.75rem 1rem !important;
  }

  .site-footer p:last-child,
  footer p:last-child {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .5rem 1rem;
  }

  .site-footer a,
  footer a {
    margin: 0 !important;
  }
}
