/* Union Steward Works Inc. — steward.trade
   Palette and type carried over from the Steward app. */

:root {
  --navy: #1B1A2E;
  --navy-deep: #13121F;
  --gold: #8F7223;
  --gold-bright: #C8A84B;
  --cream: #F5F0E8;
  --paper: #FBF8F2;
  --ink: #23212F;
  --ink-soft: #55516A;
  --rule: rgba(27, 26, 46, 0.14);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 2rem;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: 'Barlow', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: 17px;
  line-height: 1.62;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.wrap {
  width: 100%;
  max-width: 41rem;
  margin: 0 auto;
  padding: 0 1.4rem;
}

/* ── masthead ── */

.masthead {
  background: var(--navy-deep);
  padding: 1.1rem 0;
}

.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.mark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
}

.mark svg { width: 34px; height: 34px; flex-shrink: 0; }

.mark span {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: var(--cream);
  line-height: 1;
}

.masthead nav {
  display: flex;
  gap: 1.3rem;
}

.masthead nav a {
  color: rgba(245, 240, 232, 0.72);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.15rem 0;
  border-bottom: 1px solid transparent;
}

.masthead nav a:hover,
.masthead nav a[aria-current='page'] {
  color: var(--cream);
  border-bottom-color: var(--gold-bright);
}

/* ── hero ── */

.hero {
  background: var(--navy);
  color: var(--cream);
  padding: 4.2rem 0 3.6rem;
}

.hero h1 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: clamp(2.3rem, 7.2vw, 3.5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.005em;
  max-width: 16ch;
}

.hero p {
  margin-top: 1.4rem;
  max-width: 44ch;
  color: rgba(245, 240, 232, 0.84);
  font-size: 1.08rem;
}

.rule-gold {
  height: 3px;
  background: var(--gold);
}

/* ── page body ── */

main { flex: 1; padding: 3rem 0 4rem; }

main h2 {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
  margin: 2.4rem 0 0.7rem;
}

main h2:first-child { margin-top: 0; }

main h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 1.5rem 0 0.35rem;
}

main p { margin-bottom: 0.95rem; }

main ul { margin: 0 0 1.1rem 1.15rem; }
main li { margin-bottom: 0.4rem; padding-left: 0.2rem; }

main a { color: var(--gold); text-decoration-thickness: 1px; text-underline-offset: 2px; }
main a:hover { color: var(--navy); }

.lede { font-size: 1.12rem; color: var(--ink-soft); }

.stamp {
  font-size: 0.9rem;
  color: var(--ink-soft);
  padding-bottom: 1.4rem;
  margin-bottom: 1.8rem;
  border-bottom: 1px solid var(--rule);
}

.checks {
  list-style: none;
  margin: 1.2rem 0 1.6rem;
  border-top: 1px solid var(--rule);
}

.checks li {
  margin: 0;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 11.5rem 1fr;
  gap: 0.2rem 1.2rem;
}

.checks dt, .checks b {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.3;
}

.checks span { color: var(--ink-soft); font-size: 0.97rem; line-height: 1.5; }

@media (max-width: 34rem) {
  .checks li { grid-template-columns: 1fr; }
}

.callout {
  background: var(--cream);
  border-left: 3px solid var(--gold);
  padding: 1.1rem 1.3rem;
  margin: 1.8rem 0;
}

.callout p:last-child { margin-bottom: 0; }

.mailto {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
  border-bottom: 2px solid var(--gold-bright);
}

.mailto:hover { color: var(--navy); border-bottom-color: var(--navy); }

/* ── footer ── */

footer {
  background: var(--navy-deep);
  color: rgba(245, 240, 232, 0.6);
  padding: 2rem 0 2.6rem;
  font-size: 0.9rem;
}

footer .company {
  font-family: 'Barlow Condensed', 'Barlow', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 0.01em;
}

footer nav {
  margin-top: 0.7rem;
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

footer a { color: rgba(245, 240, 232, 0.72); text-decoration: none; }
footer a:hover { color: var(--gold-bright); }

footer .fine { margin-top: 1.1rem; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}
