/* Shared by /support/ and /privacy/. Mirrors the house-up coda in src/App.css: keep the two in step. */
:root {
  --ground: #f5f5f7;
  --ink: #1d1d1f;
  --surface: #fff;
  --lead: #5e5ce6;
  --blue: #007aff;
  --label-2: rgb(60 60 67 / 0.78);
  --separator: rgb(60 60 67 / 0.29);
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Helvetica Neue", "Segoe UI", Roboto, sans-serif;
  font-family: var(--font);
  color: var(--ink);
  background: var(--ground);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scrollbar-color: color-mix(in srgb, var(--ink) 30%, transparent) transparent;
  scrollbar-width: thin;
}
body {
  position: relative;
  margin: 0;
  min-width: 320px;
  background: var(--ground);
}
a {
  color: inherit;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
img,
svg {
  display: block;
}
h1,
h2,
p,
ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
::selection {
  background: var(--lead);
  color: #fff;
}
:focus-visible {
  outline: 2.5px solid var(--blue);
  outline-offset: 3px;
}

.brand {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  left: 20px;
}
.brand a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

main {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 112px 20px 40px;
}
h1 {
  font-size: clamp(48px, 9vw, 96px);
  line-height: 1.02;
  font-weight: 700;
  letter-spacing: -0.038em;
  text-wrap: balance;
}
h2 {
  margin-top: 72px;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.032em;
  text-wrap: balance;
}
.lead {
  margin-top: 12px;
  max-width: 56ch;
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: -0.012em;
  color: var(--label-2);
}

.capsule,
.discord {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background 0.2s, transform 0.14s;
}
.capsule {
  margin-top: 24px;
  min-height: 54px;
  padding: 0 clamp(18px, 6vw, 26px);
  color: #fff;
  background: var(--ink);
}
.capsule:active,
.discord:active {
  transform: scale(0.97);
}

.list {
  margin-top: 24px;
  overflow: hidden;
  border-radius: 16px;
  background: var(--surface);
}
.list li {
  position: relative;
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}
.list li + li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 16px;
  right: 0;
  height: 0.5px;
  background: var(--separator);
}
.list li > span,
.list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding: 10px 16px;
}
.list a {
  transition: background 0.2s;
}
.list a:focus-visible {
  outline-offset: -3px;
  border-radius: 16px;
}
.list a:active {
  background: rgb(60 60 67 / 0.1);
}
.list svg {
  flex: none;
  color: rgb(60 60 67 / 0.5);
}

.community {
  margin-top: 72px;
  padding: 36px 28px;
  border-radius: 34px;
  text-align: center;
  color: #fff;
  background: #5865f2;
}
.community svg {
  margin: 0 auto;
}
.community h2 {
  margin: 10px 0 0;
  font-size: clamp(30px, 4.4vw, 40px);
}
.community p {
  max-width: 46ch;
  margin: 10px auto 0;
  font-size: 17px;
  line-height: 1.42;
  letter-spacing: -0.012em;
}
.discord {
  margin-top: 20px;
  min-height: 50px;
  padding: 0 24px;
  color: #3b45c4;
  background: #fff;
}
.discord svg {
  margin: 0;
}
.community :focus-visible {
  outline-color: #fff;
}

footer {
  width: min(100%, 720px);
  margin: 40px auto 0;
  padding: 24px 20px max(40px, env(safe-area-inset-bottom));
  font-size: 13px;
  color: rgb(60 60 67 / 0.78);
}
footer div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 22px;
}
.foot-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  font-weight: 600;
  color: var(--ink);
}
footer p {
  margin-top: 16px;
  line-height: 1.45;
}
footer a:not(.foot-mark) {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Text links inside running copy. */
.text-link {
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

/* Long-form reading: the privacy policy. */
.updated {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--label-2);
}
.policy h1 {
  font-size: clamp(40px, 7vw, 72px);
  letter-spacing: -0.035em;
}
.policy section {
  margin-top: 56px;
}
.policy section h2 {
  margin-top: 0;
  font-size: clamp(26px, 3.6vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.028em;
}
.policy section p {
  max-width: 68ch;
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.012em;
}
.policy .list {
  margin-top: 16px;
}

@media (hover: hover) {
  .capsule:hover {
    background: #000;
  }
  .discord:hover {
    background: #eef0fe;
  }
  .list a:hover {
    background: rgb(60 60 67 / 0.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .capsule,
  .discord,
  .list a {
    transition: none;
  }
  .capsule:active,
  .discord:active {
    transform: none;
  }
}
