/* ============================================================
   counsel.css — SecureUnions Research / Practice Brief Series
   Shared stylesheet for /counsel and /counsel-thanks
   ============================================================ */

:root {
  --su-red: #C8102E;
  --su-blue: #1E5FAA;
  --ink: #111111;
  --ink-2: #2a2a2a;
  --ink-3: #4b4b4b;
  --ink-4: #6b7280;
  --rule: #d1d5db;
  --rule-soft: #e5e7eb;
  --paper: #fafaf7;
  --white: #ffffff;
  --serif: "Newsreader", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --sans: "Inter Tight", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --maxw: 880px;
}

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

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: var(--su-blue); text-decoration: none; }
a:hover { text-decoration: underline; }

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 10%, rgba(0,0,0,0.012) 0, transparent 40%),
    radial-gradient(circle at 80% 90%, rgba(0,0,0,0.012) 0, transparent 40%);
  z-index: 0;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 48px);
  position: relative;
  z-index: 1;
}

/* ============================================================
   MASTHEAD (shared)
   ============================================================ */

.masthead {
  padding: 28px 0 24px;
  border-bottom: 1px solid var(--rule);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.masthead-logo { height: 52px; width: auto; }
.masthead-meta {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  text-align: right;
}
.masthead-meta .small {
  display: block;
  font-size: 11px;
  margin-top: 2px;
  color: var(--ink-4);
}

/* ============================================================
   FOOTER (shared)
   ============================================================ */

footer.page-footer {
  border-top: 1px solid var(--rule);
  padding: 24px 0 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-4);
}
footer.page-footer .left a { color: var(--ink-3); }
footer.page-footer em { font-style: italic; color: var(--ink-4); }

/* ============================================================
   /counsel — LANDING PAGE
   ============================================================ */

/* Hero */
.hero { padding: 64px 0 24px; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--su-red);
  margin-bottom: 18px;
}
h1.hero-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5.4vw, 58px);
  line-height: 1.04;
  letter-spacing: -0.018em;
  margin: 0 0 16px;
  color: var(--ink);
  max-width: 22ch;
}
h1.hero-title em {
  font-style: italic;
  color: var(--su-red);
  font-weight: 500;
}
.hero-sub {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(18px, 1.95vw, 23px);
  line-height: 1.45;
  color: var(--ink-3);
  margin: 0;
  max-width: 50ch;
}
.hero-rule {
  height: 4px;
  background: var(--su-red);
  width: 80px;
  margin-top: 28px;
  border-radius: 1px;
}

/* Intro */
.intro {
  padding: 36px 0 8px;
  font-size: 19px;
  line-height: 1.65;
  color: var(--ink-2);
}
.intro p {
  margin: 0 0 18px;
  max-width: 60ch;
}
.intro em { font-style: italic; }

/* CTA Card */
.cta-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 36px 36px 32px;
  margin: 32px 0 8px;
  box-shadow:
    0 1px 0 rgba(17,17,17,0.04),
    0 8px 24px -12px rgba(17,17,17,0.12);
  text-align: center;
}
.cta-card .eyebrow-small {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}
.cta-card .cta-title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.18;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.012em;
}
.cta-card .cta-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0 auto 24px;
  max-width: 46ch;
}
button.cta-btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  border: none;
  padding: 17px 32px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
  border-radius: 0;
}
button.cta-btn:hover { background: var(--su-red); }
button.cta-btn:active { transform: translateY(1px); }
.cta-fineprint {
  margin-top: 18px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-4);
}

/* Standalone download strip */
.standalone {
  margin: 56px 0 0;
  padding: 28px 0 0;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
}
@media (max-width: 640px) {
  .standalone { grid-template-columns: 1fr; gap: 16px; }
}
.standalone .label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 6px;
}
.standalone p {
  margin: 0;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 56ch;
}
.standalone p strong {
  color: var(--ink-2);
  font-weight: 600;
}
.download-link {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 13px 20px;
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
}
.download-link:hover {
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}

/* About band */
.about-band {
  border-top: 1px solid var(--rule);
  margin-top: 56px;
  padding: 32px 0 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  font-family: var(--serif);
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--ink-3);
}
@media (max-width: 720px) {
  .about-band { grid-template-columns: 1fr; gap: 24px; }
}
.about-band .label {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}
.about-band p { margin: 0; }

/* ============================================================
   /counsel-thanks — CONFIRMATION PAGE
   ============================================================ */

.confirm-hero { padding: 64px 0 24px; }
.confirm-eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--su-red);
  margin-bottom: 18px;
}
h1.confirm-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  margin: 0 0 14px;
  color: var(--ink);
  max-width: 24ch;
}
.confirm-lead {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 1.95vw, 22px);
  line-height: 1.5;
  color: var(--ink-3);
  max-width: 56ch;
  margin: 0;
}
.confirm-rule {
  height: 4px;
  background: var(--su-red);
  width: 80px;
  margin: 28px 0 0;
  border-radius: 1px;
}

.confirm-body {
  padding: 32px 0 16px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--ink-2);
}
.confirm-body p { margin: 0 0 16px; max-width: 64ch; }

.preference-card {
  background: var(--white);
  border: 1px solid var(--rule);
  padding: 36px 36px 32px;
  margin: 16px 0 48px;
  box-shadow:
    0 1px 0 rgba(17,17,17,0.04),
    0 8px 24px -12px rgba(17,17,17,0.10);
  text-align: center;
}
.pref-eyebrow {
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 8px;
}
.pref-title {
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1.18;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 10px;
  letter-spacing: -0.012em;
}
.pref-sub {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  line-height: 1.5;
  color: var(--ink-3);
  margin: 0 auto 20px;
  max-width: 50ch;
}
.pref-default-line {
  font-family: var(--serif);
  font-size: 15px;
  color: var(--ink-3);
  margin: 0 auto 22px;
  max-width: 50ch;
}
.pref-default-line strong {
  font-weight: 600;
  color: var(--ink-2);
}

button.pref-btn {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--ink);
  border: none;
  padding: 17px 32px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.05s ease;
  border-radius: 0;
}
button.pref-btn:hover { background: var(--su-red); }
button.pref-btn:active { transform: translateY(1px); }

.skip {
  margin-top: 16px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-4);
  line-height: 1.5;
}
