:root {
  --bg: #f7f7f5;
  --panel: #ffffff;
  --text: #111111;
  --muted: #555555;
  --line: #d7d7d2;
  --link: #005bbb;
  --maxw: 1120px;
}

* {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  color: var(--text);
  background: var(--bg);
}

body {
  font-family: sans-serif;
  font-size: 1.2rem;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  text-decoration: underline;
  text-decoration-thickness: 2px;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1rem;
}

/* Header */

.site-header {
  background: var(--panel);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
}

.site-brand img {
  height: 60px;
  width: auto;
}

/* Navigation */


/* navigation */

.site-nav a {
  display: inline-block;
  color: #111111;
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.8rem;
  border-radius: 4px;
  text-decoration: none;
}

.site-nav a:hover {
  background: #f2f2f2;
}

.site-nav .button {
  background: #fcfcfc;
}

/* Main */

main.wrap {
  padding-top: 1.4rem;
  padding-bottom: 3rem;
}

/* Headings */

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  line-height: 1.15;
}

h1 {
  color: #990000;
  font-size: 1.9rem;
}

h2 {
  color: #990000;
  font-size: 1.6rem;
}

h3, h4, h5, h6 {
  color: #003366;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

code {
  font-family: monospace;
  font-size: 1.00em;
  font-weight: 500;
  color: #990000;
  background-color: #f0f0f0;
  padding: 0.1em 0.3em;
  border-radius: 3px;
}

/* Intro */

.page-intro {
  margin-bottom: 1.2rem;
}

.page-intro p {
  font-size: 1.05rem;
  color: var(--text);
  max-width: 42rem;
}

/* Buttons */

.button-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.9rem;
  margin-bottom: 1.5rem;
}

.button {
  display: inline-block;
  padding: 0.65rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  color: #111111;
  font-weight: 600;
}

.button:hover {
  text-decoration: none;
  border-color: #bdbdb6;
}

.button.primary {
  border-color: #003366;
}


/* features */

.feature-block {
  margin-bottom: 3.5rem;
}

.feature-kicker {
  color: #990000;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.feature-row-0 {
  display: grid;
  grid-template-columns: 2.5fr 1fr;
  gap: 2rem;
  align-items: center;
}

.feature-row-1 {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: 2rem;
  align-items: center;
}

.feature-media img {
  width: 100%;
  display: block;
  border-radius: 12px;
}

.feature-copy h2 {
  margin-bottom: .8rem;
}

.feature-copy p {
  margin-bottom: 1rem;
}

.ys-table {
  border-collapse: collapse;
  font-size: 1.2rem;
  font-family: monospace;
}

.ys-table th,
.ys-table td {
  padding: 4px 10px;
  text-align: right;
}

.ys-table th:first-child,
.ys-table td:first-child {
  text-align: left;
}

.ys-table thead th {
  border-bottom: 2px solid #aaa;
}

.ys-table tbody tr {
  border-bottom: 1px solid #ddd;
}

form input,
form select {
  font: inherit;
  padding: 0.3rem 0.6rem;
}

form button.button,
form select {
  font-size: 1.2rem;
  text-decoration: underline;
}
