@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-Bold.ttf") format("truetype");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("/assets/fonts/Montserrat-ExtraBold.ttf") format("truetype");
  font-weight: 800;
  font-display: swap;
}

/* The same colours as the app: Paper by day, Night in dark mode */
:root {
  color-scheme: light dark;
  --page: #f6f2ea;
  --card: #ffffff;
  --ink: #16130f;
  --soft: #6e675d;
  --line: #e4ddd0;
  --gold: #e8b44a;
  --link-line: #b9832a;
  --shadow: 0 24px 60px rgba(70, 52, 20, 0.16);
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: #12100e;
    --card: #1f1c19;
    --ink: #f6f2ea;
    --soft: #9e988e;
    --line: #34302a;
    --link-line: #e8b44a;
    --shadow: none;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font: 500 16px/1.65 "Montserrat", -apple-system, "Helvetica Neue", Arial, sans-serif;
}
a { color: inherit; text-decoration-color: var(--link-line); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(1040px, 100%); margin: 0 auto; padding: 0 24px; }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 22px;
  letter-spacing: -0.02em;
  text-decoration: none;
}
.brand img { width: 36px; height: 36px; border-radius: 8px; }
.top { padding-top: 24px; }

.mark {
  background: var(--gold);
  color: #16130f;
  padding: 0 0.14em;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

.foot {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  padding-bottom: 24px;
  color: var(--soft);
  font-size: 14px;
}
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot nav a { color: var(--ink); }

/* Home */
.home { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }
.hero {
  flex: 1;
  display: grid;
  gap: 40px;
  justify-items: start;
  align-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
}
.hero h1 {
  margin: 0;
  max-width: 11em;
  font-size: clamp(42px, 9vw, 68px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}
.lede {
  margin: 20px 0 0;
  max-width: 27em;
  color: var(--soft);
  font-size: clamp(17px, 2.4vw, 20px);
  line-height: 1.5;
}
.soon {
  margin: 28px 0 0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.store { display: inline-block; margin-top: 28px; }
.store img { display: block; height: 56px; width: auto; }
.phone { margin: 0; width: min(330px, 78vw); justify-self: center; }
.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 13.5% / 6.2%;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
@media (min-width: 860px) {
  .hero { grid-template-columns: 1fr auto; gap: 64px; align-items: center; padding-top: 24px; padding-bottom: 24px; }
  .phone { width: min(350px, 33vh); min-width: 240px; }
}

/* Legal and support pages */
.doc { width: min(720px, 100%); margin: 0 auto; padding: 40px 24px 32px; }
.doc h1 {
  margin: 0;
  font-size: clamp(34px, 7vw, 46px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
}
.updated { margin: 12px 0 0; color: var(--soft); font-size: 14px; }
.doc h2 {
  margin: 40px 0 8px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.doc h3 { margin: 24px 0 4px; font-size: 16px; font-weight: 700; }
.doc p { margin: 0 0 12px; }
.doc ul { margin: 0 0 12px; padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc li::marker { color: var(--link-line); }
.doc strong { font-weight: 700; }
.card {
  margin-top: 28px;
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 18px;
}
.card h2 { margin-top: 0; font-size: 16px; }
.card ul, .card p:last-child { margin-bottom: 0; }
.doc .foot { padding-left: 0; padding-right: 0; margin-top: 40px; border-top: 1px solid var(--line); }
