/* deskwisp.com (deploy/vps/site): one stylesheet for every page. Wispy's ink and spark, one typeface. */
@font-face {
  font-family: "Geist";
  src: url("/fonts/geist.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Geist Mono";
  src: url("/fonts/geist-mono.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --ink: #16132b;
  --ink-2: #2a2742;
  --muted: #5e5b70;
  --faint: #8d8a9c;
  --line: #e4e3ea;
  --paper: #f7f7f6;
  --white: #ffffff;
  --spark: #7c5cff;
  --spark-soft: #efeaff;
  --sun: #ffc83d;
  --rose: #ff6fb5;
  --sea: #5b8cff;
  --radius-s: 10px;
  --radius-m: 16px;
  --radius-l: 28px;
  --wrap: 1440px;
  --mono: "Geist Mono", ui-monospace, "Cascadia Mono", Consolas, monospace;
}

* {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Geist", "Segoe UI", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 2px solid var(--spark);
  outline-offset: 3px;
  border-radius: 6px;
}
img,
svg {
  display: block;
}
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 clamp(20px, 4.3vw, 62px);
}
@media (max-width: 600px) {
  .wrap {
    padding: 0 16px;
  }
}

/* The bar at the top. */
.top {
  display: flex;
  align-items: center;
  gap: 28px;
  height: 94px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 26px;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.brand svg {
  width: 30px;
  height: 30px;
}
.top nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  align-items: center;
}
.top nav a {
  text-decoration: none;
  color: var(--ink);
  font-size: 15px;
  font-weight: 500;
}
.top nav a:hover {
  color: var(--ink);
}
@media (max-width: 600px) {
  .top nav .hide-s {
    display: none;
  }
}

/* Buttons: one solid, one quiet. */
.button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  border: 0;
  cursor: pointer;
  font-family: inherit;
}
.button:hover {
  background: var(--ink-2);
}
.button svg {
  width: 18px;
  height: 18px;
}
.button.small {
  padding: 10px 18px;
  font-size: 14px;
}
.top nav .button {
  color: var(--white);
}

/* Long text: the privacy policy and the terms. */
.doc {
  max-width: 720px;
  padding-top: 40px;
  padding-bottom: 96px;
}
.doc h1 {
  font-size: clamp(44px, 6.4vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.055em;
  font-weight: 900;
  margin: 24px 0 12px;
}
.doc .when {
  color: var(--faint);
  margin: 0 0 40px;
}
.doc h2 {
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
  font-weight: 800;
  margin: 44px 0 10px;
}
.doc p,
.doc li {
  color: var(--ink-2);
  font-size: 17px;
  line-height: 1.6;
}
.doc .when {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.06em;
}
.doc ul {
  padding-left: 22px;
}
.doc li {
  margin: 6px 0;
}
.doc table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15.5px;
  margin: 12px 0;
}
.doc th,
.doc td {
  text-align: left;
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.doc th {
  font-weight: 650;
  color: var(--ink);
}
@media (max-width: 600px) {
  .doc table,
  .doc tbody,
  .doc tr,
  .doc td,
  .doc th {
    display: block;
  }
  .doc thead {
    display: none;
  }
  .doc tr {
    padding: 8px 0;
    border-bottom: 1px solid var(--line);
  }
  .doc td {
    border: 0;
    padding: 2px 0;
  }
  .doc td:first-child {
    font-weight: 650;
  }
}

/* The bottom of every page. */
.foot {
  border-top: 1px solid var(--line);
  padding: 28px 0 40px;
  color: var(--faint);
  font-size: 13px;
  font-family: var(--mono);
  letter-spacing: 0.02em;
}
.foot .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  align-items: center;
}
.foot a {
  text-decoration: none;
  color: var(--muted);
}
.foot a:hover {
  color: var(--ink);
}
.foot .copy {
  margin-right: auto;
}
