/* FREQ — mirrors AppColors / AppTypography from freq-ios */
:root {
  --bg: #242424;
  --surface: #3d3d3d;
  --surface-2: #444444;
  --surface-3: #2f2f2f;
  --text: #e3e3e3;
  --text-muted: #b5b5b5;
  --text-faint: #7c7c7c;
  --accent: #e880ff;
  --accent-text: #242424;
  --border: #585858;
  --border-chip: #686868;
  --max: 40rem;
  --radius: 8px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-underline-offset: 0.18em;
}

a:hover {
  color: #f0a8ff;
}

.site-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: color-mix(in srgb, var(--bg) 72%, transparent);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner,
.site-footer__inner,
.page {
  width: min(100% - 2.5rem, var(--max));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  text-decoration: none;
  color: #fff;
}

.brand:hover {
  color: #fff;
}

.brand-mark {
  display: block;
  width: 17.5px;
  height: 17.5px;
  background: var(--accent);
  flex-shrink: 0;
}

.brand-wordmark {
  display: block;
  width: 65px;
  height: 19px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.1rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.nav a {
  text-decoration: none;
  color: var(--text-muted);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: #fff;
}

.page {
  flex: 1;
  padding: 2.25rem 0 3.5rem;
}

.page h1 {
  font-size: clamp(1.65rem, 4vw, 1.75rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 0.4rem;
  color: #fff;
}

.lede {
  color: var(--text-muted);
  margin: 0 0 1.75rem;
  font-size: 0.9375rem;
  font-weight: 500;
  max-width: 34rem;
}

.meta {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-faint);
  margin-bottom: 1.5rem;
}

.legal h2 {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 2rem 0 0.65rem;
  color: #fff;
  letter-spacing: -0.01em;
}

.legal p,
.legal li {
  color: var(--text);
}

.legal strong {
  color: #fff;
  font-weight: 600;
}

.legal ul {
  padding-left: 1.15rem;
  margin: 0.4rem 0 0.9rem;
}

.legal li + li {
  margin-top: 0.4rem;
}

.legal p {
  margin: 0.55rem 0;
}

.card {
  background: var(--surface-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.2rem 1.25rem;
  margin: 1rem 0;
}

.card h2 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin: 0 0 0.4rem;
  color: #fff;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.875rem;
}

.card a.button {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.65rem 1.05rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.875rem;
}

.card a.button:hover {
  background: #f0a8ff;
  color: var(--accent-text);
}

.home-hero {
  padding-top: 2.5rem;
  padding-bottom: 4rem;
}

.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.35rem;
  color: #fff;
}

.home-brand .brand-mark {
  width: 28px;
  height: 28px;
}

.home-brand .brand-wordmark {
  width: 104px;
  height: 30.5px;
}

.home-hero h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.home-hero > p {
  color: var(--text-muted);
  max-width: 28rem;
  font-size: 1rem;
  line-height: 1.5;
  margin: 0;
}

.home-links {
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  display: grid;
  gap: 0.65rem;
}

.home-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.95rem 1.05rem;
  background: var(--surface-3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  text-decoration: none;
  color: #fff;
  font-weight: 600;
  font-size: 0.9375rem;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.home-links a::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 2px solid var(--accent);
  border-top: 2px solid var(--accent);
  transform: rotate(45deg);
  opacity: 0.9;
}

.home-links a:hover {
  border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: var(--surface);
  color: #fff;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.35rem 0 2rem;
  color: var(--text-faint);
  font-size: 0.8125rem;
  font-weight: 500;
}

.site-footer a {
  color: var(--text-muted);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.disclaimer {
  margin-top: 2.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: var(--text-faint);
}

@media (max-width: 560px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .home-hero {
    padding-top: 1.75rem;
  }
}
