/* RailRocket — shared brand styles
 * Light, cool, geometric. The third distinct brand system in the catalog.
 */

@import url("https://fonts.googleapis.com/css2?family=Geist:wght@400;500;600;700&family=Geist+Mono:wght@400;500;600&family=Inter:wght@400;450;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap");

* , *:before, *:after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body { background: #fafbfc; color: #0f172a; font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.55; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── Header / brand ── */
.header { padding: 18px 48px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #e2e8f0; background: rgba(250, 251, 252, 0.92); backdrop-filter: blur(8px); position: sticky; top: 0; z-index: 10; }
.brand { display: flex; align-items: center; gap: 9px; font-family: 'Geist', -apple-system, sans-serif; font-size: 18px; font-weight: 600; color: #0f172a; letter-spacing: -0.02em; }
.brand .mark { width: 22px; height: 22px; border-radius: 5px; background: linear-gradient(135deg, #2563eb 0%, #1e40af 70%); display: flex; align-items: center; justify-content: center; position: relative; box-shadow: 0 1px 2px rgba(30,64,175,0.18); }
.brand .mark svg { width: 14px; height: 14px; }

nav.primary { display: flex; gap: 28px; align-items: center; }
nav.primary a { font-size: 13.5px; color: #475569; font-weight: 500; }
nav.primary a:hover, nav.primary a.curr { color: #1e40af; }
nav.primary .signin { padding: 7px 16px; background: #1e40af; color: #fff; border-radius: 6px; font-weight: 500; font-size: 13px; transition: background 0.15s; }
nav.primary .signin:hover { background: #1e3a8a; color: #fff; }

/* ── Section base ── */
section { max-width: 1180px; margin: 0 auto; padding: 0 48px; }

/* ── Typography ── */
.eyebrow { font-family: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; color: #1e40af; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 22px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.eyebrow .dot { width: 6px; height: 6px; border-radius: 50%; background: #2563eb; }
.section-eyebrow { font-family: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; color: #1e40af; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 16px; font-weight: 500; text-align: center; }
.section-title { font-family: 'Geist', -apple-system, sans-serif; font-size: 38px; font-weight: 600; line-height: 1.1; letter-spacing: -0.025em; color: #0f172a; text-align: center; margin-bottom: 14px; max-width: 720px; margin-left: auto; margin-right: auto; }
.section-title em { font-style: normal; color: #1e40af; }
.section-lead { font-size: 17px; color: #475569; text-align: center; max-width: 600px; margin: 0 auto 56px; line-height: 1.55; }

/* ── Buttons ── */
.btn-fill { display: inline-block; padding: 11px 22px; background: #1e40af; color: #fff; border-radius: 7px; font-weight: 500; font-size: 14px; transition: background 0.15s; border: none; cursor: pointer; font-family: 'Inter', sans-serif; text-decoration: none; }
.btn-fill:hover { background: #1e3a8a; }
.btn-outline { display: inline-block; padding: 10px 22px; background: #fff; color: #0f172a; border: 1px solid #cbd5e1; border-radius: 7px; font-weight: 500; font-size: 14px; transition: border-color 0.15s; cursor: pointer; font-family: 'Inter', sans-serif; text-decoration: none; }
.btn-outline:hover { border-color: #1e40af; color: #1e40af; }

/* ── Footer (site-wide) ── */
footer.site { padding: 60px 48px 32px; border-top: 1px solid #e2e8f0; max-width: 1180px; margin: 0 auto; }
footer.site .foot-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 36px; }
footer.site .foot-brand { max-width: 320px; }
footer.site .foot-brand .nm { display: flex; align-items: center; gap: 9px; font-family: 'Geist', sans-serif; font-size: 18px; color: #0f172a; font-weight: 600; margin-bottom: 14px; letter-spacing: -0.02em; }
footer.site .foot-brand .nm .mark { width: 20px; height: 20px; border-radius: 5px; background: linear-gradient(135deg, #2563eb 0%, #1e40af 70%); display: flex; align-items: center; justify-content: center; }
footer.site .foot-brand .nm .mark svg { width: 12px; height: 12px; }
footer.site .foot-brand p { font-size: 13.5px; color: #64748b; line-height: 1.6; margin-bottom: 16px; }
footer.site .foot-brand .addr { font-family: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; color: #94a3b8; line-height: 1.55; }
footer.site .foot-col .h { font-family: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace; font-size: 11px; color: #1e40af; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px; font-weight: 500; }
footer.site .foot-col a { display: block; font-size: 13.5px; color: #475569; margin-bottom: 9px; }
footer.site .foot-col a:hover { color: #1e40af; }
footer.site .foot-bottom { padding-top: 24px; border-top: 1px solid #e2e8f0; display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
footer.site .foot-bottom .copy { font-family: 'Geist Mono', 'JetBrains Mono', ui-monospace, monospace; font-size: 11.5px; color: #94a3b8; }
footer.site .foot-bottom .legal { display: flex; gap: 18px; font-size: 12.5px; }
footer.site .foot-bottom .legal a { color: #64748b; }
footer.site .foot-bottom .legal a:hover { color: #1e40af; }

/* ── Mobile ── */
@media (max-width: 880px) {
  .header { padding: 14px 20px; }
  nav.primary { gap: 16px; }
  nav.primary a:not(.signin) { display: none; }
  section { padding: 0 20px; }
  .section-title { font-size: 28px; }
  footer.site { padding: 40px 20px 24px; }
  footer.site .foot-row { grid-template-columns: 1fr 1fr; gap: 24px; }
  footer.site .foot-brand { grid-column: 1 / -1; }
}
