/* Cofounded public pages (privacy, terms, connect, disconnect, 404): the house look.
   Dark glass on the light-mode ground, one ink hue at a few alphas, panel .032 with a .08 edge inside the box,
   radius 14, blur 20. Wordmark: Fraunces 600 (SIL Open Font License 1.1, (c) The Fraunces Project Authors). */
@font-face {
  font-family: "Fraunces";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/fraunces-600-latin.woff2) format("woff2");
}
:root {
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Arial, sans-serif;
  --i95: rgba(245, 245, 247, 0.95);
  --i85: rgba(245, 245, 247, 0.85);
  --i75: rgba(245, 245, 247, 0.75);
  --i60: rgba(245, 245, 247, 0.6);
  --i42: rgba(245, 245, 247, 0.42);
  --edge: rgba(255, 255, 255, 0.08);
  --edge-f: rgba(255, 255, 255, 0.06);
  --ground: #16212c;
  --max: 760px;
}
* { box-sizing: border-box; }
html { background: var(--ground); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--i85);
  font: 16px/1.65 var(--font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overscroll-behavior: contain;
  position: relative;
  isolation: isolate;
}
/* The ground: the app's light-mode backdrop as a colour field. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(60vmax 60vmax at 4% 2%, rgba(160, 170, 186, 0.26), rgba(120, 132, 150, 0.08) 45%, transparent 70%),
    radial-gradient(55vmax 55vmax at 12% 70%, rgba(66, 88, 116, 0.32), transparent 70%),
    radial-gradient(60vmax 60vmax at 100% 100%, rgba(40, 72, 108, 0.32), transparent 70%),
    linear-gradient(180deg, #1c2732 0%, #1a2736 46%, #131f2a 100%);
}
::selection { background: rgba(0, 122, 255, 0.35); }

header, footer { width: 100%; max-width: calc(var(--max) + 48px); margin: 0 auto; padding-left: 24px; padding-right: 24px; }

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  padding-bottom: 22px;
}
header .brand {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--i85);
  text-decoration: none;
}
header nav { display: flex; gap: 22px; }
header nav a { color: var(--i60); text-decoration: none; font-size: 13px; transition: color 0.15s ease; }
header nav a:hover { color: var(--i95); }

/* The page reads on one glass panel (the house page rung: fill .032, .08 edge inside the box, radius 14, blur 20). */
main {
  flex: 0 0 auto;
  width: calc(100% - 48px);
  max-width: var(--max);
  margin: 4px auto 28px;
  padding: 44px 48px 52px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.032);
  box-shadow: inset 0 0 0 1px var(--edge), 0 24px 64px rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
}
main > :last-child { margin-bottom: 0; }

h1 { font-size: 40px; line-height: 1.08; letter-spacing: -0.035em; margin: 0 0 18px; font-weight: 700; color: var(--i95); }
h2 { font-size: 19px; line-height: 1.3; letter-spacing: -0.015em; margin: 36px 0 10px; font-weight: 600; color: var(--i95); }
h3 { font-size: 16px; margin: 24px 0 8px; font-weight: 600; color: var(--i95); }
p, ul, ol { color: var(--i60); margin: 0 0 16px; }
ul, ol { padding-left: 22px; }
li { margin-bottom: 6px; }
strong, b { color: var(--i85); font-weight: 600; }
a { color: var(--i85); text-decoration: underline; text-decoration-color: rgba(245, 245, 247, 0.3); text-underline-offset: 3px; transition: color 0.15s ease, text-decoration-color 0.15s ease; }
a:hover { color: var(--i95); text-decoration-color: rgba(245, 245, 247, 0.7); }
a:focus-visible { outline: 2px solid rgba(245, 245, 247, 0.6); outline-offset: 3px; border-radius: 4px; }
.lede { font-size: 18px; line-height: 1.6; color: var(--i75); }
.muted { color: var(--i42); }
.small { font-size: 13px; }

.panel { background: rgba(255, 255, 255, 0.04); border-radius: 14px; box-shadow: inset 0 0 0 1px var(--edge-f); padding: 24px; margin: 24px 0; }
.panel h2:first-child { margin-top: 0; }
.button { display: inline-flex; align-items: center; height: 40px; padding: 0 20px; border-radius: 999px; background: #007aff; color: #fff; font-weight: 500; text-decoration: none; margin-top: 8px; }
.button:hover { filter: brightness(1.08); color: #fff; }
.meta { font-size: 13px; color: var(--i42); box-shadow: inset 0 1px 0 var(--edge-f); padding-top: 16px; margin-top: 32px; }

footer {
  margin-top: auto;
  text-align: center;
  font-size: 12.5px;
  color: var(--i42);
  padding-top: 8px;
  padding-bottom: 32px;
}
footer a { color: var(--i60); text-decoration: none; margin: 0 8px; }
footer a:hover { color: var(--i95); }

@media (max-width: 640px) {
  header, footer { padding-left: 16px; padding-right: 16px; }
  main { width: calc(100% - 32px); padding: 30px 22px 36px; }
  h1 { font-size: 32px; }
}
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  main { background: rgba(28, 39, 50, 0.92); }
}
