/* Wyvern Freight — shared styles for satellite pages (login, client zone, legal) */

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

:root {
  --c-ink: #050505;
  --c-paper: #0A0A09;
  --c-paper-2: #14140F;
  --c-line: rgba(245, 239, 227, .10);
  --c-fg: #F5EFE3;
  --c-fg-dim: rgba(245, 239, 227, .7);
  --c-fg-faint: rgba(245, 239, 227, .42);
  --c-accent: #D40511;
  --c-accent-2: #9A020E;
  --font-heading: "Saira Condensed", "Arial Narrow", Arial, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --ff-display: var(--font-heading);
  --ff-body: var(--font-body);
  --ff-mono: var(--font-body);
  --weight-heading: 800;
  --weight-heading-md: 700;
  --weight-body: 400;
  --weight-body-md: 500;
  --weight-label: 600;
  --tracking-heading: 0.02em;
  --tracking-label: 0.14em;
  --tracking-label-wide: 0.22em;
  --line-heading: 0.95;
  --line-heading-relaxed: 1.06;
  --line-body: 1.65;
  --text-body: clamp(15px, 0.35vw + 14px, 16px);
  --text-lede: clamp(17px, 0.45vw + 15px, 20px);
}

html { min-height: 100%; }

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-body);
  line-height: var(--line-body);
  background: var(--c-paper);
  color: var(--c-fg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: var(--weight-heading);
  line-height: var(--line-heading-relaxed);
  letter-spacing: var(--tracking-heading);
}

/* —— Top strip (client zone + legal pages) —— */
.strip {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 56px;
}

.strip--legal {
  border-bottom: 1px solid var(--c-line);
}

.strip__brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--c-fg);
}

.strip__brand .brand__lockup {
  height: 56px;
  width: auto;
  display: block;
}

@media (max-width: 600px) {
  .strip__brand .brand__lockup { height: 48px; }
}

.strip__link {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-label-wide);
  text-transform: uppercase;
  color: var(--c-fg);
  text-decoration: none;
  transition: color .25s ease;
}

.strip__link:hover { color: var(--c-accent); }

.strip__back {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: var(--weight-label);
  letter-spacing: var(--tracking-label-wide);
  text-transform: uppercase;
  color: var(--c-fg);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid rgba(245, 239, 227, .22);
  transition: color .25s ease, border-color .25s ease, background .25s ease;
}

.strip__back:hover {
  color: var(--c-accent);
  border-color: var(--c-accent);
  background: rgba(212, 5, 17, .06);
}

.strip__back svg { width: 12px; height: 8px; }

/* —— Legal / simple content pages —— */
.shell-legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 56px 24px 80px;
  line-height: var(--line-body);
}

.shell-legal h1 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw + 0.5rem, 2.75rem);
  font-weight: var(--weight-heading);
  line-height: var(--line-heading);
  letter-spacing: var(--tracking-heading);
  margin-bottom: 20px;
}

.shell-legal .lede,
.shell-legal p {
  font-family: var(--font-body);
  font-size: var(--text-lede);
  line-height: var(--line-body);
  color: var(--c-fg-dim);
  margin-bottom: 1.25em;
}

.shell-legal a {
  color: var(--c-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 720px) {
  .strip { padding: 20px 24px; }
}
