/* ===========================================================
   RAPIDSTAMPS — shared styles
   =========================================================== */

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

:root {
  --yellow: #FFD700;
  --black: #111111;
  --bg: #fafafa;
  --bg-alt: #ffffff;
  --text: #1a1a1a;
  --text-muted: #666666;
  --text-light: #999999;
  --border: #e5e5e5;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  padding: 18px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: rgba(250, 250, 250, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: inline-flex;
  align-items: baseline;
  background: var(--black);
  padding: 10px 14px 7px;
  border-radius: 3px;
  line-height: 1;
  text-decoration: none;
}

.nav-logo .nav-rapid,
.nav-logo .nav-stamps {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 24px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.nav-logo .nav-rapid { color: var(--yellow); }
.nav-logo .nav-stamps { color: white; }

.nav-links {
  display: inline-flex;
  align-items: center;
  gap: 20px;
}

.nav-signin {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  text-decoration: none;
  transition: opacity 0.2s;
}

.nav-signin:hover { opacity: 0.6; }

.nav-cta {
  background: var(--yellow);
  color: var(--black);
  border: none;
  padding: 9px 20px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.3px;
  cursor: pointer;
  border-radius: 3px;
  transition: transform 0.15s;
  text-decoration: none;
  display: inline-block;
}

.nav-cta:hover { transform: translateY(-1px); }

/* ── PAGE HEADER (sub-pages) ── */
.page-header {
  max-width: 720px;
  margin: 0 auto;
  padding: 140px 32px 32px;
  width: 100%;
}

.page-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 7vw, 80px);
  color: var(--text);
  line-height: 1;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

.page-title span {
  display: inline-block;
  border-bottom: 4px solid var(--yellow);
  padding-bottom: 2px;
}

.page-intro {
  font-size: 17px;
  color: var(--text);
  line-height: 1.6;
  max-width: 580px;
}

/* ── FAQ (operators + customers) ── */
.faq-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 32px 40px;
}

.section-heading {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--text);
  letter-spacing: 1px;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border);
}

.faq-item {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.faq-item:last-child { border-bottom: none; }

.faq-question {
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.4;
}

.faq-answer {
  font-size: 15.5px;
  color: var(--text);
  line-height: 1.6;
}

.faq-answer p { margin-bottom: 10px; }
.faq-answer p:last-child { margin-bottom: 0; }

.faq-answer ul {
  margin: 4px 0 0;
  padding-left: 20px;
}

.faq-answer li {
  margin-bottom: 8px;
  line-height: 1.55;
}

.faq-answer li:last-child { margin-bottom: 0; }

.faq-cite {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
  line-height: 1.5;
}

.faq-cite a {
  color: var(--text-muted);
  text-decoration: underline;
}

.faq-cite a:hover { color: var(--text); }

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 36px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo {
  display: inline-flex;
  align-items: baseline;
  background: var(--black);
  padding: 9px 12px 6px;
  border-radius: 3px;
  line-height: 1;
}

.footer-logo .footer-rapid,
.footer-logo .footer-stamps {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  letter-spacing: 0.04em;
  line-height: 1;
}

.footer-logo .footer-rapid { color: var(--yellow); }
.footer-logo .footer-stamps { color: white; }

.footer-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-sep { color: var(--text-light); }

.footer-note {
  font-size: 13px;
  color: var(--text-muted);
}

/* ── RESPONSIVE (shared) ── */
@media (max-width: 960px) {
  nav { padding: 16px 24px; }
  .page-header { padding: 100px 24px 24px; }
  .faq-section { padding: 0 24px 32px; }
  footer { padding: 24px; flex-direction: column; gap: 16px; text-align: center; }
}
