/* The Portik colors (identity kit): ink, soft white, periwinkle. */
:root {
  --background: #F5F5F8;
  --surface: #FFFFFF;
  --text: #242635;
  --secondary: #666A80;
  --accent: #B2B9F5;
  --on-accent: #242635;
}
@media (prefers-color-scheme: dark) {
  :root {
    --background: #181923;
    --surface: #2B2D3E;
    --text: #F5F5F8;
    --secondary: #BDC1D6;
  }
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font: 17px/1.4 system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}
main {
  max-width: 28rem;
  margin: 0 auto;
  padding: 32px 16px;
}
.brand {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.02em;
  margin: 0 0 24px;
}
h1 {
  font-size: 28px;
  margin: 0 0 4px;
}
.muted { color: var(--secondary); }
.small { font-size: 13px; margin-top: 32px; }

#address {
  background: var(--surface);
  border-radius: 20px;
  padding: 24px;
}
#codes {
  list-style: none;
  padding: 0;
  margin: 16px 0;
}
#codes li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 8px 0;
}
#codes strong {
  font: 600 20px ui-monospace, SFMono-Regular, Menlo, monospace;
}
.button {
  display: block;
  box-sizing: border-box;
  width: 100%;
  border: 0;
  font: inherit;
  cursor: pointer;
  margin-top: 16px;
  padding: 14px;
  border-radius: 12px;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
}
/* The second button of the page: no periwinkle, only one main action. */
.button.quiet {
  background: transparent;
  border: 1px solid var(--secondary);
  color: var(--text);
  font-weight: 600;
}
.hint {
  font-size: 15px;
  margin: 24px 0 0;
}
.link {
  word-break: break-all;
  -webkit-user-select: all;
  user-select: all;
}
/* The text pages: privacy policy, help. */
.page h2 {
  font-size: 20px;
  margin: 32px 0 8px;
}
.page h3 {
  font-size: 17px;
  margin: 24px 0 4px;
}
.page p, .page ul {
  margin: 8px 0;
}
.page ul {
  padding-left: 20px;
}
.page li {
  margin: 8px 0;
}
.page a {
  color: inherit;
}
