/* Murmur's website. The fonts and colors are the app's (MurmurUI Typography and Palette). */

@font-face { font-family: "Figtree"; src: url(fonts/Figtree-Regular.ttf) format("truetype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/Figtree-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Figtree"; src: url(fonts/Figtree-SemiBold.ttf) format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url(fonts/EBGaramond-Medium.ttf) format("truetype"); font-weight: 500; font-display: swap; }

:root {
  --paper: #ffffff;
  --canvas: #f3f3f5;
  --text: #28272c;
  --secondary: #5a595c;
  --muted: #7f7b81;
  --border: #d3ced6;
  --link: #6a4b97;
  --ink: #312d38;
  --cream: #ffffeb;
  --pro: #a08aff;
  --lavender: #f0d7ff;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #151417;
    --canvas: #232126;
    --text: #f2f0f4;
    --secondary: #c4c1c8;
    --muted: #96929b;
    --border: #3a3640;
    --link: #c9b6ff;
  }
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 400 17px/1.6 "Figtree", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

header.site, main, footer.site { max-width: 680px; margin: 0 auto; padding-left: 20px; padding-right: 20px; }
header.site { padding-top: 28px; }
main { padding-bottom: 48px; }

/* The wordmark is Figtree SemiBold, as in the app (MurmurUI Wordmark); titles are EB Garamond. */
.brand { font: 600 24px/1 "Figtree", -apple-system, sans-serif; color: var(--text); text-decoration: none; }

h1 { font: 500 clamp(34px, 8vw, 46px)/1.08 "EB Garamond", Georgia, serif; margin: 36px 0 14px; }
h2 { font-size: 20px; font-weight: 600; line-height: 1.3; margin: 36px 0 8px; }
h3 { font-size: 17px; font-weight: 600; margin: 24px 0 4px; }
p, ul, ol { margin: 0 0 14px; }
ul, ol { padding-left: 22px; }
li { margin: 6px 0; }
a { color: var(--link); text-underline-offset: 2px; }
strong { font-weight: 600; }
code { font: 15px ui-monospace, SFMono-Regular, Menlo, monospace; background: var(--canvas); padding: 1px 5px; border-radius: 5px; }

footer.site { border-top: 1px solid var(--border); padding-top: 18px; padding-bottom: 40px; color: var(--muted); font-size: 14px; }
footer.site nav { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-bottom: 6px; }
footer.site a { color: var(--secondary); }

/* Home */
.lede { font-size: 19px; color: var(--secondary); }
.note { display: inline-block; background: var(--canvas); border-radius: 999px; padding: 6px 14px; font-weight: 500; font-size: 15px; }
.features { list-style: none; padding: 0; }
.features li { margin: 12px 0; }

/* Invite */
.gift { background: var(--ink); color: var(--cream); border-radius: 22px; padding: 36px 20px 30px; text-align: center; margin: 22px 0; }
.gift-mark { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 0 10px; }
.gift-word { font: 600 40px/1 "Figtree", -apple-system, sans-serif; }
.gift-pro { background: var(--pro); color: #1c1a1d; border-radius: 8px; padding: 3px 10px; font-weight: 600; font-size: 18px; }
.gift-line { margin: 0; text-transform: uppercase; letter-spacing: 0.12em; font-size: 13px; font-weight: 500; opacity: 0.85; }
.codebox { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 14px; padding: 12px 12px 12px 16px; margin: 18px 0 12px; }
.codebox-label { color: var(--muted); font-size: 14px; }
.codebox-code { flex: 1; font: 600 20px ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: 0.08em; }
.codebox-copy { font: inherit; font-weight: 500; border: 0; border-radius: 10px; padding: 8px 14px; background: var(--canvas); color: var(--text); cursor: pointer; }
.button { display: block; text-align: center; border-radius: 14px; padding: 15px 18px; margin: 10px 0; font-weight: 600; text-decoration: none; background: var(--text); color: var(--paper); }
.button.secondary { background: var(--canvas); color: var(--text); }
.fineprint { color: var(--muted); font-size: 14px; }
