/* The Cool Table — static site styles. No build step, no dependencies. */

:root {
  --paper: #f2ece1;
  --ink: #1c1a17;
  --ink-soft: #4a453d;
  --rule: #d9d0c1;
  --link: #1c1a17;
  --measure: 680px;
  --gutter: 16px;
}

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

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header,
main,
.site-footer {
  width: 100%;
  max-width: var(--measure);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

.site-header {
  padding-top: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}

.site-name {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
}

main {
  flex: 1;
  padding-top: 24px;
  padding-bottom: 40px;
}

h1,
h2,
h3 {
  line-height: 1.25;
  margin: 1.6em 0 0.5em;
}

h1 {
  font-size: 28px;
  margin-top: 0.4em;
}

h2 {
  font-size: 21px;
  padding-top: 0.6em;
  border-top: 1px solid var(--rule);
}

h3 {
  font-size: 18px;
}

p,
ul,
ol {
  margin: 0 0 1em;
}

ul,
ol {
  padding-left: 1.4em;
}

li {
  margin-bottom: 0.35em;
}

a {
  color: var(--link);
  text-decoration: underline;
  text-underline-offset: 2px;
  overflow-wrap: anywhere;
}

a:hover,
a:focus-visible {
  color: var(--ink-soft);
}

.landing {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.landing h1 {
  font-size: 36px;
  margin-bottom: 0.3em;
}

.lede {
  font-size: 20px;
  color: var(--ink-soft);
}

.badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.landing-links {
  list-style: none;
  padding: 0;
  margin-top: 1.5em;
}

.site-footer {
  padding-top: 16px;
  padding-bottom: 32px;
  border-top: 1px solid var(--rule);
  font-size: 15px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
