/* The podmate.ch pages, in the app's colours: dark slate and gold. */
:root {
  --bg: #0e1013;
  --surface: #181b20;
  --text: #ececec;
  --muted: #9a9890;
  --gold: #e8b84a;
  --teal: #4fb3a9;
  --line: rgba(255, 255, 255, 0.12);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 15px;
  line-height: 1.6;
}

a {
  color: var(--teal);
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 32px 16px 48px;
}

header.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  max-width: 760px;
  margin: 0 auto;
  padding: 16px;
}

header.top a.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 1px;
  text-transform: uppercase;
}

header.top img {
  width: 32px;
  height: 32px;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

h1 {
  font-size: 26px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

h2 {
  margin-top: 36px;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
}

h3 {
  font-size: 15px;
  margin-bottom: 4px;
}

.muted {
  color: var(--muted);
  font-size: 13px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 16px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

th,
td {
  text-align: left;
  vertical-align: top;
  padding: 8px 6px;
  border-bottom: 1px solid var(--line);
}

footer {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px 16px 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
}

/* The landing page. */
.hero {
  text-align: center;
  padding: 24px 0 8px;
}

.hero img {
  width: 112px;
  height: 112px;
}

.hero p {
  font-size: 17px;
  max-width: 560px;
  margin: 12px auto 24px;
}

.button {
  display: inline-block;
  padding: 14px 22px;
  border: 1px solid rgba(232, 184, 74, 0.6);
  background: rgba(232, 184, 74, 0.15);
  color: var(--text);
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.features .card h3 {
  margin-top: 0;
  color: var(--gold);
}

.pro {
  margin-top: 32px;
  border-color: rgba(79, 179, 169, 0.6);
}

.langs {
  display: flex;
  gap: 6px;
}

.langs button {
  font: inherit;
  font-size: 12px;
  padding: 4px 8px;
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 4px;
  cursor: pointer;
}

.langs button[aria-pressed='true'] {
  color: var(--text);
  border-color: var(--teal);
}
