/* ShipEase Portal theme — site chrome (header / footer / general pages)
   Colour palette intentionally matches assets/css/shipease.css so the
   marketing site and the logged-in app feel like one product. */

:root {
  --se-primary:        #4F46E5;
  --se-primary-dark:   #3F37C9;
  --se-ink:            #0B1220;
  --se-bg:             #F5F6FA;
  --se-surface:        #FFFFFF;
  --se-border:         #E5E7EB;
  --se-text:           #111827;
  --se-text-2:         #374151;
  --se-muted:          #6B7280;
  --se-r:              10px;
  --se-sh-m:           0 4px 10px rgba(15,23,42,.06), 0 1px 3px rgba(15,23,42,.04);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  background: var(--se-bg);
  color: var(--se-text);
  line-height: 1.6;
}

a { color: var(--se-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; }

/* ── Header ───────────────────────────────────────────── */
.se-site-header {
  background: var(--se-surface);
  border-bottom: 1px solid var(--se-border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.se-site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.se-site-brand {
  font-size: 20px;
  font-weight: 800;
  color: var(--se-ink);
  display: flex;
  align-items: center;
  gap: 8px;
}
.se-site-brand:hover { text-decoration: none; }

.se-site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.se-site-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}
.se-site-menu a {
  color: var(--se-text-2);
  font-weight: 500;
}
.se-site-link {
  color: var(--se-text-2);
  font-weight: 500;
}
.se-site-link-cta {
  background: var(--se-primary);
  color: #fff !important;
  padding: 9px 18px;
  border-radius: var(--se-r);
  font-weight: 600;
}
.se-site-link-cta:hover {
  background: var(--se-primary-dark);
  text-decoration: none;
}

/* ── Main content ─────────────────────────────────────── */
.se-site-main { min-height: 60vh; }

.se-content-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 48px 20px;
}

.se-page-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--se-ink);
  margin: 0 0 8px;
}
.se-page-meta {
  color: var(--se-muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.se-page-body {
  background: var(--se-surface);
  border: 1px solid var(--se-border);
  border-radius: var(--se-r);
  box-shadow: var(--se-sh-m);
  padding: 32px;
}
.se-excerpt .se-page-body { padding: 20px; }

.se-404 { text-align: center; padding-top: 90px; }

/* ── Footer ───────────────────────────────────────────── */
.se-site-footer {
  border-top: 1px solid var(--se-border);
  background: var(--se-surface);
}
.se-site-footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  color: var(--se-muted);
  font-size: 14px;
  text-align: center;
}

@media (max-width: 640px) {
  .se-site-header-inner { flex-direction: column; align-items: flex-start; }
  .se-site-nav { width: 100%; }
}

/* ── Homepage Hero ────────────────────────────────────── */
.se-hero {
  background: linear-gradient(135deg, var(--se-ink) 0%, var(--se-primary-dark, #3F37C9) 100%);
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 90px 20px;
  text-align: center;
}
.se-hero-inner { max-width: 720px; margin: 0 auto; }
.se-hero h1 {
  font-size: 42px;
  font-weight: 800;
  margin: 0 0 16px;
  line-height: 1.15;
}
.se-hero p {
  font-size: 18px;
  opacity: .9;
  margin: 0 0 32px;
}
.se-hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.se-btn {
  display: inline-block;
  padding: 13px 26px;
  border-radius: var(--se-r);
  font-weight: 600;
  font-size: 15px;
}
.se-btn-primary {
  background: #fff;
  color: var(--se-primary);
}
.se-btn-primary:hover { background: #f0f0ff; text-decoration: none; }
.se-btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1px solid rgba(255,255,255,.35);
}
.se-btn-ghost:hover { background: rgba(255,255,255,.2); text-decoration: none; }

/* ── Feature cards ────────────────────────────────────── */
.se-features { padding: 60px 20px; }
.se-features-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.se-feature-card {
  background: var(--se-surface);
  border: 1px solid var(--se-border);
  border-radius: var(--se-r);
  box-shadow: var(--se-sh-m);
  padding: 28px 22px;
  text-align: center;
}
.se-feature-icon { font-size: 32px; display: block; margin-bottom: 12px; }
.se-feature-card h3 { margin: 0 0 8px; font-size: 17px; color: var(--se-ink); }
.se-feature-card p { margin: 0; font-size: 14px; color: var(--se-muted); }

@media (max-width: 900px) {
  .se-features-inner { grid-template-columns: repeat(2, 1fr); }
  .se-hero h1 { font-size: 32px; }
}
@media (max-width: 480px) {
  .se-features-inner { grid-template-columns: 1fr; }
}

/* ── Footer extras ────────────────────────────────────── */
.se-footer-contact {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 8px;
  font-size: 14px;
}
.se-footer-contact a { color: var(--se-text-2); }
.se-footer-credit {
  font-size: 12px;
  color: var(--se-muted);
  margin-top: 4px;
}
