/* heard.club in the app's colors (SPEC §4): dark only, orange as an accent. System fonts, so nothing loads but the page. */
:root {
  --bg: #0B0B0B;
  --surface: #181716;
  --line: #2B2927;
  --text: #F7F3EE;
  --muted: #A39C95;
  --orange: #FC4D01;
  --orange-text: #FF6A33;
  color-scheme: dark;
}

* { box-sizing: border-box; }

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

body {
  margin: 0 auto;
  max-width: 44rem;
  padding: 0 16px 48px;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

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

.wordmark { display: block; fill: var(--orange); height: auto; }
header { padding: 28px 0 8px; }
header .wordmark { width: 96px; }
.hero { padding: 72px 0 24px; }
.hero .wordmark { width: min(320px, 80vw); }
.tagline { margin: 16px 0 0; color: var(--muted); font-weight: 700; text-wrap: balance; }

h1 { margin: 24px 0 4px; font-size: 32px; line-height: 1.2; font-weight: 800; }
h2 { margin: 40px 0 8px; font-size: 21px; line-height: 1.3; font-weight: 800; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin: 4px 0; }
li > ul { margin: 4px 0 0; }
strong { font-weight: 700; }
.effective, .muted { color: var(--muted); }
.effective em { font-style: normal; }

table { width: 100%; margin: 8px 0 18px; border-collapse: collapse; font-size: 15px; }
th, td { padding: 10px 8px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
th { color: var(--muted); font-weight: 700; }
@media (max-width: 560px) {
  table, thead, tbody, tr, th, td { display: block; }
  thead { display: none; }
  tr { padding: 10px 0; border-top: 1px solid var(--line); }
  td { padding: 2px 0; border: 0; }
  td:first-child { font-weight: 700; }
}

footer {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
}
footer p { margin: 8px 0 0; }

/* The Get Heard page (SPEC §7.20), phone first and centered, read one step at a time (rule 2): the wordmark first, as
   the title, the footer at the screen's foot or after the page when it's taller. */
.get-heard {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding-bottom: 20px;
  text-align: center;
}
.get-heard main {
  flex: 1 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: 22rem;
  margin: 0 auto;
  /* More room under than over: the words sit a little above the middle, where the eye starts */
  padding: 32px 0 88px;
  text-wrap: balance;
}
.get-heard h1 { margin: 0 0 20px; }
.get-heard h1 .wordmark { width: 208px; margin: 0 auto; }
.get-heard main p { margin: 0; }
.get-heard .lede { font-size: 19px; line-height: 1.45; }
.get-heard .get { margin-top: 40px; font-size: 15px; line-height: 1.45; }
.get-heard .button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  margin: 12px 0;
  border-radius: 26px;
  background: var(--orange);
  color: var(--bg);
  font-size: 16px;
  font-weight: 800;
  user-select: none;
}
.get-heard .button:hover { text-decoration: none; }
.get-heard .button:active { opacity: 0.8; }
/* Quiet: it informs and never leads */
.get-heard .aside { color: var(--muted); font-size: 13px; }
.get-heard .open-it { margin-top: 40px; font-size: 15px; }
/* Quieter than the page, so it never leads: muted links in place of orange */
.get-heard footer { margin-top: 0; padding-top: 0; border-top: 0; font-size: 13px; }
.get-heard footer a { color: var(--muted); }
.get-heard footer p { margin-top: 4px; }
