/* ============================================================
   brand.css — ftool shared FedEx design system
   ------------------------------------------------------------
   Every tool page links this file, then adds ONLY its own
   page-specific styles (and per-tool overrides) in a <style>
   block that comes AFTER this <link>.

   Usage in public/tools/*.html:
     <link rel="stylesheet" href="../css/brand.css">

   Shared chrome classes provided here:
     .page, .page-header (+ .tag / h1 / .meta), .back-link,
     .page-footer
   Per-tool layout lives in the tool's own stylesheet.
   ============================================================ */

:root {
  --purple: #4D148C;
  --orange: #FF6200;
  --white: #FFFFFF;
  --gray-90: #333333;
  --gray-80: #565656;
  --gray-50: #8E8E8E;
  --gray-30: #E3E3E3;
  --gray-10: #FAFAFA;
  --green: #008A00;
  --red: #DE002E;
  --blue: #007AB7;
  --amber: #F7B118;
  --font: 'FedEx Sans', 'Futura', 'Century Gothic', 'Arial', sans-serif;
}

html { font-size: 16px; }
* { box-sizing: border-box; }

body {
  font-family: var(--font);
  background: #eef0f2;
  color: var(--gray-90);
  margin: 0;
  -webkit-font-smoothing: antialiased;
}

/* Page shell */
.page {
  max-width: 1100px;
  margin: 16px auto;
  background: var(--white);
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
  border-radius: 10px;
}

/* Gradient page header */
.page-header {
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(90deg, var(--purple) 0%, #671CAA 40%, #B83F6A 75%, var(--orange) 100%);
  border-radius: 10px 10px 0 0;
}
.page-header .tag {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  font-weight: 600;
  margin-bottom: 4px;
}
.page-header h1 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
  margin: 0;
  line-height: 1.2;
}

/* Back link to the tool library */
.back-link {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--blue);
  text-decoration: none;
  font-size: 0.9rem;
}
.back-link:hover { text-decoration: underline; }

/* Page footer */
.page-footer {
  background: var(--gray-10);
  border-top: 2px solid var(--gray-30);
  padding: 10px 32px;
  font-size: 0.72rem;
  color: var(--gray-50);
  display: flex;
  justify-content: space-between;
  border-radius: 0 0 10px 10px;
}
