/* Humans Matter. Colours, type stack and button are Nikole's Carrd page (2026-11-10), carried over exactly. */
:root {
  --ink: #ffffff;
  --sky-blue: #9dd9fc;
  --signal: #f09541;
  --signal-hover: #f4a964;
  --night: #0b1a33;
  --veil: rgba(8, 16, 32, 0.55);
  --rule: rgba(255, 255, 255, 0.22);
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --gutter: clamp(16px, 4vw, 48px);
}

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

html { font-size: 16px; -webkit-text-size-adjust: 100%; }

body {
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: var(--night);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.5;
  overflow-x: hidden;
}

.sky { position: fixed; inset: 0; z-index: 0; }
.sky img { width: 100%; height: 100%; object-fit: cover; object-position: 30% center; display: block; }
.sky::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 35%, rgba(8, 16, 32, 0.35) 100%);
}

.masthead, main, footer { position: relative; z-index: 1; padding-inline: var(--gutter); }

.masthead { padding-top: clamp(24px, 5vw, 56px); }
.mark { color: var(--ink); font-weight: 700; text-decoration: none; letter-spacing: 0.02em; }
.tagline { color: var(--sky-blue); font-weight: 700; font-size: 0.875rem; letter-spacing: 0.04em; text-transform: uppercase; margin-top: 4px; }

main {
  align-self: center;
  justify-self: end;
  width: min(100%, 48rem);
  text-align: right;
  padding-block: 48px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 14px;
}

h1 { font-size: clamp(2rem, 3.6vw, 3rem); line-height: 1.2; font-weight: 700; text-shadow: 0 1px 24px rgba(0, 0, 0, 0.35); }
@media (min-width: 737px) { h1 { white-space: nowrap; } }
.lede { font-size: 1.0625rem; }
.from { margin-top: clamp(24px, 6vh, 72px); }

.subscribe {
  display: inline-block;
  background: var(--signal);
  color: var(--ink);
  font-weight: 700;
  font-size: 1.375rem;
  line-height: 1;
  padding: 0.6em 1.1em;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.25s ease;
}
.subscribe:hover { background: var(--signal-hover); }
.subscribe:focus-visible, a:focus-visible { outline: 2px solid var(--sky-blue); outline-offset: 3px; }

footer {
  padding-block: 20px 28px;
  border-top: 1px solid var(--rule);
  background: linear-gradient(transparent, var(--veil));
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  font-size: 0.875rem;
}
.family ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; }
.family a { color: var(--ink); text-decoration: none; opacity: 0.85; }
.family a:hover { opacity: 1; text-decoration: underline; }
.family [aria-current] { color: var(--sky-blue); font-weight: 700; }
.legal { opacity: 0.7; }

@media (max-width: 736px) {
  .sky img { object-position: 22% center; }
  .sky::after { background: linear-gradient(180deg, rgba(8, 16, 32, 0.15) 0%, rgba(8, 16, 32, 0.2) 35%, rgba(8, 16, 32, 0.78) 72%); }
  main { align-self: end; justify-self: stretch; width: 100%; text-align: left; align-items: flex-start; padding-block: 32px; }
  h1 { font-size: 2rem; }
  .from { margin-top: 12px; }
  .subscribe { font-size: 1.125rem; width: 100%; text-align: center; }
  footer { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) { .subscribe { transition: none; } }
