/* Decoro website — the same palette and type as the app. */
:root {
  --paper: #f6f1ea;
  --card: #fffdf9;
  --sand: #ede6dc;
  --line: #e2dace;
  --ink: #1f1b16;
  --ink-soft: #7a7066;
  --forest: #2f4a3a;
  --clay: #c8643b;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 24px 96px;
}

header {
  padding: 40px 0 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

header .mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--forest);
  display: grid;
  place-items: center;
  flex: none;
}

header .mark svg {
  width: 20px;
  height: 20px;
}

header a.name {
  font-weight: 650;
  font-size: 18px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

nav {
  margin-left: auto;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 15px;
}

nav a:hover,
nav a[aria-current='page'] {
  color: var(--forest);
}

h1 {
  font-family: 'Instrument Serif', Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(34px, 7vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin: 32px 0 8px;
}

h2 {
  font-size: 20px;
  margin: 40px 0 8px;
  letter-spacing: -0.01em;
}

h3 {
  font-size: 16px;
  margin: 24px 0 4px;
}

p,
li {
  color: #322c25;
}

.lede {
  font-size: 18px;
  color: var(--ink-soft);
  margin-top: 0;
}

.updated {
  display: inline-block;
  font-size: 13px;
  color: var(--ink-soft);
  background: var(--sand);
  border-radius: 999px;
  padding: 4px 12px;
  margin-bottom: 8px;
}

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

ul {
  padding-left: 20px;
}

li {
  margin: 6px 0;
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 24px;
  margin: 24px 0;
}

.card h3 {
  margin-top: 0;
}

.card p:last-child {
  margin-bottom: 0;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0;
  font-size: 15px;
}

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

th {
  color: var(--ink-soft);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

footer {
  border-top: 1px solid var(--line);
  margin-top: 64px;
  padding-top: 24px;
  color: var(--ink-soft);
  font-size: 14px;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

footer a {
  color: var(--ink-soft);
  text-decoration: none;
}

footer a:hover {
  color: var(--forest);
}

.todo {
  background: #fdf3ee;
  border: 1px solid #f0d3c5;
  border-radius: 12px;
  padding: 12px 16px;
  font-size: 14px;
  color: #8a4527;
}

@media (max-width: 560px) {
  nav {
    width: 100%;
    margin: 8px 0 0;
  }
  header {
    flex-wrap: wrap;
  }
}
