/* kantus.it — the app's palette and type, nothing loaded from third parties. */
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/Fraunces-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Fraunces';
  src: url('/fonts/Fraunces-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #f7f4ef;
  --ink: #16150f;
  --muted: #5d5a52;
  --accent: #6b2b2b;
  --hairline: #dcd7cd;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Fraunces', Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.6;
}

main {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 20px 64px;
}

header.top { margin-bottom: 40px; }
header.top a { display: inline-block; }
header.top img { width: 56px; height: 56px; display: block; }

h1 { font-weight: 600; font-size: 34px; line-height: 1.2; margin: 0 0 8px; }
h2 { font-weight: 600; font-size: 21px; line-height: 1.3; margin: 40px 0 8px; }
p, ul { margin: 0 0 14px; }
ul { padding-left: 22px; }
li { margin-bottom: 6px; }

.updated { color: var(--muted); font-size: 15px; margin-bottom: 32px; }

a { color: var(--accent); text-underline-offset: 3px; }

footer {
  border-top: 1px solid var(--hairline);
  margin-top: 56px;
  padding-top: 20px;
  color: var(--muted);
  font-size: 14px;
}
footer nav a { margin-right: 16px; }
footer p { margin: 12px 0 0; }

/* The home page: just the mark, centred, with air. */
body.home main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding-top: 64px;
}
body.home .mark { width: 144px; height: 144px; margin-bottom: 28px; }
body.home h1 { font-size: 40px; }
body.home .soon { color: var(--muted); margin-bottom: 0; }
body.home footer { border: 0; margin-top: auto; padding-top: 64px; }
