/* ============================================================
   RHQ MICRO-SITE — SHARED STYLESHEET
   To customize: update the CSS variables in :root below.
   ============================================================ */

/* ── BRAND VARIABLES ── */
:root {
  --brand:          #1C1C1E;   /* header background */
  --accent:         #E8622A;   /* active nav, CTAs, highlights */
  --accent-light:   #FDF0EA;   /* light accent for badges/backgrounds */
  --bg:             #F4F4F4;   /* page background */
  --card:           #FFFFFF;   /* card/surface background */
  --text:           #1C1C1E;   /* primary text */
  --text-sub:       #6B6B6B;   /* secondary/muted text */
  --border:         #E5E5E5;   /* dividers and borders */
  --header-h:       60px;
  --footer-h:       68px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; width: 100%; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ── BASE ── */
html { height: 100%; }
body {
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: #CACAC8;
  -webkit-font-smoothing: antialiased;
  min-height: 100%;
}

/* ── APP SHELL ── */
.app {
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  position: relative;
}

/* ── STICKY HEADER ── */
.app-header {
  position: fixed;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--header-h);
  background: var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.header-logo {
  font-family: 'Archivo', sans-serif;
  font-weight: 800;
  font-size: 20px;
  color: #FFFFFF;
  letter-spacing: -0.01em;
}

.header-logo em {
  font-style: normal;
  color: var(--accent);
}

/* ── SCROLL CONTENT ── */
.app-content {
  padding-top: var(--header-h);
  padding-bottom: calc(var(--footer-h) + 12px);
}

/* ── BOTTOM NAV ── */
.app-nav {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 480px;
  height: var(--footer-h);
  background: var(--card);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-around;
  z-index: 200;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  height: 100%;
  color: #ADADAD;
  transition: color 0.15s;
  -webkit-tap-highlight-color: transparent;
}

.nav-item i {
  font-size: 22px;
  line-height: 1;
}

.nav-item span {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.nav-item.active { color: var(--accent); }
.nav-item:not(.active):active { color: var(--text-sub); }

/* ── SECTION LABEL ── */
.section-eyebrow {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-sub);
  margin-bottom: 4px;
}

/* ── CARD ── */
.card {
  background: var(--card);
  border-radius: 14px;
  overflow: hidden;
}

/* ── BADGE ── */
.badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--accent);
  color: #fff;
}

.badge.light {
  background: var(--accent-light);
  color: var(--accent);
}

/* ── PRIMARY BUTTON ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Archivo', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 13px 24px;
  border-radius: 50px;
  background: var(--accent);
  color: #fff;
  transition: opacity 0.15s, transform 0.1s;
  -webkit-tap-highlight-color: transparent;
}

.btn:active { opacity: 0.85; transform: scale(0.98); }

.btn.outline {
  background: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn.dark {
  background: var(--brand);
  color: #fff;
}

.btn.full { width: 100%; }

/* ── IMAGE PLACEHOLDER ── */
.img-ph {
  background: #E8E8E8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #BCBCBC;
}

/* ── DIVIDER ── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0 16px;
}

/* ── PAGE PADDING ── */
.page-pad { padding: 20px 16px; }
.page-pad-x { padding: 0 16px; }
