/* ─── Robo Alliance — static mock. Shared styles. ─────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* { box-sizing: border-box; }

:root {
  --darkBlueMain: #00111A;
  --CTABlue: #0071BB;
  --ink: #1a2744;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font-family: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

.wrap { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ── Nav ── */
nav.ra-nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid #e5e7eb;
}
.ra-nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px; height: 64px;
  display: flex; align-items: center; justify-content: space-between;
}
.ra-logo {
  font-weight: 700; font-size: 15px; letter-spacing: 0.05em;
  color: #1a2744; text-decoration: none; flex-shrink: 0;
}
.ra-nav-right { display: flex; align-items: center; gap: 0; }
.ra-nav-links { display: flex; align-items: center; }
.ra-nav-link {
  font-size: 13.5px; color: #4b5563; text-decoration: none;
  font-weight: 500; padding: 0 14px; letter-spacing: 0.01em; transition: color 0.15s;
}
.ra-nav-link:hover { color: #1a2744; }
.ra-nav-divider { width: 1px; height: 18px; background: #d1d5db; margin: 0 20px; }
.ra-nav-auth { display: flex; align-items: center; gap: 4px; }
.ra-signin-link { font-size: 13.5px; color: #4b5563; text-decoration: none; font-weight: 500; padding: 0 14px; }
.ra-signin-link:hover { color: #1a2744; }
.ra-join-btn {
  font-size: 13px; font-weight: 600; color: #fff; background: #0071BB;
  padding: 7px 16px; text-decoration: none; letter-spacing: 0.02em;
  white-space: nowrap; margin-left: 8px; transition: background 0.15s;
}
.ra-join-btn:hover { background: #005fa3; }
.ra-hamburger { display: none; background: none; border: none; cursor: pointer; padding: 6px 0 6px 12px; color: #1a2744; line-height: 0; }
.ra-mobile-menu { border-top: 1px solid #e5e7eb; background: #fff; padding: 8px 20px 16px; }
.ra-mobile-menu a {
  display: block; padding: 12px 0; font-size: 15px; color: #1a2744;
  text-decoration: none; font-weight: 500; border-bottom: 1px solid #f3f4f6;
}
.ra-mobile-menu a:last-child { border-bottom: none; }

/* ── Shared helpers ── */
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #6b7280; margin-bottom: 8px; }
.section-title { font-size: 28px; font-weight: 700; color: #1a2744; letter-spacing: -0.01em; margin: 0; }
.section { padding: 64px 0; border-bottom: 1px solid #e5e7eb; }
.section.gray { background: #f8f9fa; }

.ruled-grid { display: grid; gap: 1px; background: #e5e7eb; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.cell { background: #fff; padding: 20px; }

.btn-outline {
  background: none; border: 1px solid #d1d5db; padding: 9px 20px;
  font-size: 13px; font-weight: 600; color: #4b5563; cursor: pointer;
  font-family: inherit; display: inline-flex; align-items: center; gap: 6px;
  text-decoration: none; margin-top: 16px;
}
.btn-outline:hover { border-color: #9ca3af; }

.link-more { font-size: 11px; font-weight: 700; color: #0071BB; text-decoration: none; letter-spacing: 0.06em; display: inline-flex; align-items: center; gap: 4px; text-transform: uppercase; }

/* ── Footer ── */
footer.ra-footer { background: #00111A; color: #fff; padding: 36px 20px; }
.ra-footer-inner { max-width: 1100px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px; }
.ra-footer-inner .brand { font-weight: 700; font-size: 14px; letter-spacing: 0.06em; }
.ra-footer-inner p { font-size: 13px; color: rgba(255,255,255,0.45); margin: 0; }
.ra-footer-links { display: flex; gap: 20px; flex-wrap: wrap; }
.ra-footer-links a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; font-weight: 500; }
.ra-footer-links a:hover { color: #fff; }

/* ── Content page ── */
.page-hero { padding: 72px 0 48px; border-bottom: 1px solid #e5e7eb; }
.page-hero h1 { font-size: clamp(30px, 4vw, 46px); font-weight: 800; letter-spacing: -0.025em; margin: 12px 0 18px; line-height: 1.1; }
.page-hero p { font-size: 17px; line-height: 1.75; color: #4b5563; max-width: 640px; margin: 0; }
.prose { max-width: 720px; }
.prose h2 { font-size: 22px; font-weight: 700; margin: 36px 0 12px; }
.prose p { font-size: 15px; line-height: 1.8; color: #374151; margin: 0 0 16px; }

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .ra-nav-links, .ra-nav-divider, .ra-nav-auth { display: none !important; }
  .ra-hamburger { display: block !important; }
  .section { padding: 48px 0; }
  .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .ra-footer-inner { flex-direction: column; align-items: flex-start; gap: 16px; }
  .section-title { font-size: 22px; }
}
