/* sondr — the app's system, on the web.
   Greyscale only, one type, one column. The colours and the sentence case
   are the app's (see DESIGN.md); nothing here is loaded from anywhere
   else. */

@font-face {
  font-family: 'Inter';
  src: url('/fonts/Inter-Variable.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0A0A0A;
  --text: #FAFAFA;
  --secondary: #B0B0B0;
  --tertiary: #6E6E6E;
  --hairline: #242424;
  --gutter: 24px;
  --column: 640px;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI',
    Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: var(--column);
  margin: 0 auto;
  padding: 72px var(--gutter) 48px;
}

/* The landing page stands in the middle of the screen rather than at the
   top of it: one line of what this is, and nothing to do yet. */
.landing {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* The wordmark and the line under it are the page's own voice, so they
   take the text tone rather than the paragraph tone set below. */
.wordmark {
  color: var(--text);
  font-weight: 700;
  font-size: 40px;
  letter-spacing: -0.02em;
  margin: 0 0 24px;
}

.lead { color: var(--text); font-size: 18px; margin: 0 0 8px; }
.quiet { color: var(--secondary); margin: 0; }

h1 {
  font-weight: 700;
  font-size: 28px;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.updated { color: var(--tertiary); font-size: 14px; margin: 0 0 40px; }

h2 {
  font-weight: 700;
  font-size: 18px;
  margin: 40px 0 12px;
}

p, li { color: var(--secondary); }
p { margin: 0 0 16px; }

ul { margin: 0 0 16px; padding-left: 20px; }
li { margin-bottom: 8px; }

a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
a:hover { color: var(--secondary); }

footer {
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid var(--hairline);
  color: var(--tertiary);
  font-size: 14px;
}

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

.landing footer { margin-top: 48px; }

@media (max-width: 420px) {
  .page { padding: 48px var(--gutter) 40px; }
  .wordmark { font-size: 34px; }
  .lead { font-size: 17px; }
  h1 { font-size: 24px; }
}

/* The invitation page. The handle is the one bright thing in the line,
   which is how the app writes a handle too. */
.lead strong { color: var(--text); font-weight: 700; }

/* The app has no filled buttons, so neither does this: a word at full
   tone with room around it, and a hairline to say it is a target. */
.button {
  display: inline-block;
  margin-top: 24px;
  padding: 12px 24px;
  border: 1px solid var(--hairline);
  border-radius: 8px;
  color: var(--text);
  font-weight: 700;
  text-decoration: none;
}
.button:hover { border-color: var(--secondary); color: var(--text); }
